Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy - Version 3.2.12

Version Description

Download this release

Release Info

Developer tareq1988
Plugin Icon wp plugin Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy
Version 3.2.12
Comparing to
See all releases

Code changes from version 3.2.11 to 3.2.12

assets/js/dokan.js CHANGED
@@ -86,7 +86,7 @@ jQuery(function($) {
86
  var data = {
87
  action: 'dokan_grant_access_to_download',
88
  product_ids: product,
89
- loop: $('.order_download_permissions .panel').size(),
90
  order_id: self.data('order-id'),
91
  security: self.data('nonce')
92
  };
@@ -429,7 +429,7 @@ jQuery(function($) {
429
  '',
430
  dokan_refund.mon_decimal_point
431
  ) )
432
- .change();
433
  },
434
 
435
  amount_changed: function() {
@@ -459,7 +459,7 @@ jQuery(function($) {
459
  parseFloat( accounting.formatNumber( unit_total * refund_qty, dokan_refund.rounding_precision, '' ) )
460
  .toString()
461
  .replace( '.', dokan_refund.mon_decimal_point )
462
- ).change();
463
 
464
  // Taxes
465
  $( 'td.line_tax', $row ).each( function() {
@@ -472,9 +472,9 @@ jQuery(function($) {
472
  parseFloat( accounting.formatNumber( unit_total_tax * refund_qty, dokan_refund.rounding_precision, '' ) )
473
  .toString()
474
  .replace( '.', dokan_refund.mon_decimal_point )
475
- ).change();
476
  } else {
477
- refund_line_total_tax.val( 0 ).change();
478
  }
479
  });
480
 
@@ -1029,14 +1029,14 @@ jQuery(function($) {
1029
  selectAllAttr: function(e) {
1030
  e.preventDefault();
1031
  $( this ).closest( 'li.product-attribute-list' ).find( 'select.dokan_attribute_values option' ).attr( 'selected', 'selected' );
1032
- $( this ).closest( 'li.product-attribute-list' ).find( 'select.dokan_attribute_values' ).change();
1033
  return false;
1034
  },
1035
 
1036
  selectNoneAttr: function(e) {
1037
  e.preventDefault();
1038
  $( this ).closest( 'li.product-attribute-list' ).find( 'select.dokan_attribute_values option' ).removeAttr( 'selected' );
1039
- $( this ).closest( 'li.product-attribute-list' ).find( 'select.dokan_attribute_values' ).change();
1040
  return false;
1041
  },
1042
 
@@ -1068,7 +1068,7 @@ jQuery(function($) {
1068
  window.alert( response.error );
1069
  } else if ( response.slug ) {
1070
  $wrapper.find( 'select.dokan_attribute_values' ).append( '<option value="' + response.slug + '" selected="selected">' + response.name + '</option>' );
1071
- $wrapper.find( 'select.dokan_attribute_values' ).change();
1072
  }
1073
 
1074
  });
@@ -1432,12 +1432,12 @@ jQuery(function($) {
1432
  Dokan_Editor.init();
1433
 
1434
  // PRODUCT TYPE SPECIFIC OPTIONS.
1435
- $( 'select#product_type' ).change( function() {
1436
  // Get value.
1437
  var select_val = $( this ).val();
1438
 
1439
  if ( 'variable' === select_val ) {
1440
- $( 'input#_manage_stock' ).change();
1441
  $( 'input#_downloadable' ).prop( 'checked', false );
1442
  $( 'input#_virtual' ).removeAttr( 'checked' );
1443
  }
@@ -1446,14 +1446,14 @@ jQuery(function($) {
1446
 
1447
  $( document.body ).trigger( 'dokan-product-type-change', select_val, $( this ) );
1448
 
1449
- }).change();
1450
 
1451
  $('.product-edit-container').on('change', 'input#_downloadable, input#_virtual', function() {
1452
  show_and_hide_panels();
1453
- }).change();
1454
 
1455
- $( 'input#_downloadable' ).change();
1456
- $( 'input#_virtual' ).change();
1457
 
1458
  function show_and_hide_panels() {
1459
  var product_type = $( '#product_type' ).val();
@@ -1492,7 +1492,7 @@ jQuery(function($) {
1492
 
1493
  $( '.hide_if_' + product_type ).hide();
1494
 
1495
- $( 'input#_manage_stock' ).change();
1496
  }
1497
 
1498
  // Sale price schedule.
@@ -1613,11 +1613,11 @@ jQuery(function($) {
1613
  buttons.html( '<button type="button" class="save button button-small">' + dokan.i18n_ok_text + '</button> <button type="button" class="cancel button-link">' + dokan.i18n_cancel_text + '</button>' );
1614
 
1615
  // Save permalink changes.
1616
- buttons.children( '.save' ).click( function() {
1617
  var new_slug = $el.children( 'input' ).val();
1618
 
1619
  if ( new_slug == $('#editable-post-name-full').text() ) {
1620
- buttons.children('.cancel').click();
1621
  return;
1622
  }
1623
 
@@ -1649,7 +1649,7 @@ jQuery(function($) {
1649
  });
1650
 
1651
  // Cancel editing of permalink.
1652
- buttons.children( '.cancel' ).click( function() {
1653
  $('#view-post-btn').show();
1654
  $el.html(revert_e);
1655
  buttons.html(buttonsOrig);
@@ -1665,18 +1665,18 @@ jQuery(function($) {
1665
  }
1666
  slug_value = ( c > full.length / 4 ) ? '' : full;
1667
 
1668
- $el.html( '<input type="text" id="new-post-slug" value="' + slug_value + '" autocomplete="off" />' ).children( 'input' ).keydown( function( e ) {
1669
  var key = e.which;
1670
  // On [Enter], just save the new slug, don't save the post.
1671
  if ( 13 === key ) {
1672
  e.preventDefault();
1673
- buttons.children( '.save' ).click();
1674
  }
1675
  // On [Esc] cancel the editing.
1676
  if ( 27 === key ) {
1677
- buttons.children( '.cancel' ).click();
1678
  }
1679
- } ).keyup( function() {
1680
  real_slug.val( this.value );
1681
  }).focus();
1682
  }
@@ -1776,7 +1776,7 @@ jQuery(function($) {
1776
  var prev_data_index = null;
1777
  var prev_series_index = null;
1778
 
1779
- jQuery('.chart-placeholder').bind('plothover', function(event, pos, item) {
1780
  if (item) {
1781
  if (
1782
  prev_data_index != item.dataIndex ||
@@ -1846,8 +1846,8 @@ jQuery(function($) {
1846
  $('a.dokan-gravatar-drag').on('click', this.simpleImageUpload);
1847
  $('a.dokan-remove-gravatar-image').on('click', this.removeGravatar);
1848
 
1849
- $('.dokan-update-setting-top-button').click(function(){
1850
- $("input[name='dokan_update_store_settings']").click();
1851
  });
1852
 
1853
  this.validateForm(self);
@@ -2946,19 +2946,19 @@ jQuery(function($) {
2946
  }
2947
 
2948
  if ( $( "#dokan-store-listing-filter-form-wrap" ).length ) {
2949
- $('.store-search-input').keypress(function (e) {
2950
  var key = e.which;
2951
  if( key == 13 ) {
2952
  $( "#dokan-store-listing-filter-form-wrap" ).submit();
2953
- return false;
2954
  }
2955
  });
2956
  }
2957
 
2958
- $( 'body' ).click( function ( evt ) {
2959
- if ( ! $( evt.target ).is( 'div#dokan-store-products-search-result li' ) ) {
2960
  $("#dokan-store-products-search-result").html('');
2961
- $('#dokan-store-products-search-result').removeClass( 'dokan-store-products-search-has-results' );
2962
  }
2963
  });
2964
 
@@ -3232,7 +3232,7 @@ jQuery(function($) {
3232
  var timer = 0;
3233
 
3234
  return function() {
3235
- var context = this,
3236
  args = arguments;
3237
 
3238
  clearTimeout( timer );
86
  var data = {
87
  action: 'dokan_grant_access_to_download',
88
  product_ids: product,
89
+ loop: $('.order_download_permissions .panel').length,
90
  order_id: self.data('order-id'),
91
  security: self.data('nonce')
92
  };
429
  '',
430
  dokan_refund.mon_decimal_point
431
  ) )
432
+ .trigger( 'change' );
433
  },
434
 
435
  amount_changed: function() {
459
  parseFloat( accounting.formatNumber( unit_total * refund_qty, dokan_refund.rounding_precision, '' ) )
460
  .toString()
461
  .replace( '.', dokan_refund.mon_decimal_point )
462
+ ).trigger( 'change' );
463
 
464
  // Taxes
465
  $( 'td.line_tax', $row ).each( function() {
472
  parseFloat( accounting.formatNumber( unit_total_tax * refund_qty, dokan_refund.rounding_precision, '' ) )
473
  .toString()
474
  .replace( '.', dokan_refund.mon_decimal_point )
475
+ ).trigger( 'change' );
476
  } else {
477
+ refund_line_total_tax.val( 0 ).trigger( 'change' );
478
  }
479
  });
480
 
1029
  selectAllAttr: function(e) {
1030
  e.preventDefault();
1031
  $( this ).closest( 'li.product-attribute-list' ).find( 'select.dokan_attribute_values option' ).attr( 'selected', 'selected' );
1032
+ $( this ).closest( 'li.product-attribute-list' ).find( 'select.dokan_attribute_values' ).trigger( 'change' );
1033
  return false;
1034
  },
1035
 
1036
  selectNoneAttr: function(e) {
1037
  e.preventDefault();
1038
  $( this ).closest( 'li.product-attribute-list' ).find( 'select.dokan_attribute_values option' ).removeAttr( 'selected' );
1039
+ $( this ).closest( 'li.product-attribute-list' ).find( 'select.dokan_attribute_values' ).trigger( 'change' );
1040
  return false;
1041
  },
1042
 
1068
  window.alert( response.error );
1069
  } else if ( response.slug ) {
1070
  $wrapper.find( 'select.dokan_attribute_values' ).append( '<option value="' + response.slug + '" selected="selected">' + response.name + '</option>' );
1071
+ $wrapper.find( 'select.dokan_attribute_values' ).trigger( 'change' );
1072
  }
1073
 
1074
  });
1432
  Dokan_Editor.init();
1433
 
1434
  // PRODUCT TYPE SPECIFIC OPTIONS.
1435
+ $( 'select#product_type' ).on( 'change', function() {
1436
  // Get value.
1437
  var select_val = $( this ).val();
1438
 
1439
  if ( 'variable' === select_val ) {
1440
+ $( 'input#_manage_stock' ).trigger( 'change' );
1441
  $( 'input#_downloadable' ).prop( 'checked', false );
1442
  $( 'input#_virtual' ).removeAttr( 'checked' );
1443
  }
1446
 
1447
  $( document.body ).trigger( 'dokan-product-type-change', select_val, $( this ) );
1448
 
1449
+ }).trigger( 'change' );
1450
 
1451
  $('.product-edit-container').on('change', 'input#_downloadable, input#_virtual', function() {
1452
  show_and_hide_panels();
1453
+ }).trigger( 'change' );
1454
 
1455
+ $( 'input#_downloadable' ).trigger( 'change' );
1456
+ $( 'input#_virtual' ).trigger( 'change' );
1457
 
1458
  function show_and_hide_panels() {
1459
  var product_type = $( '#product_type' ).val();
1492
 
1493
  $( '.hide_if_' + product_type ).hide();
1494
 
1495
+ $( 'input#_manage_stock' ).trigger( 'change' );
1496
  }
1497
 
1498
  // Sale price schedule.
1613
  buttons.html( '<button type="button" class="save button button-small">' + dokan.i18n_ok_text + '</button> <button type="button" class="cancel button-link">' + dokan.i18n_cancel_text + '</button>' );
1614
 
1615
  // Save permalink changes.
1616
+ buttons.children( '.save' ).on( 'click', function() {
1617
  var new_slug = $el.children( 'input' ).val();
1618
 
1619
  if ( new_slug == $('#editable-post-name-full').text() ) {
1620
+ buttons.children('.cancel').trigger( 'click' );
1621
  return;
1622
  }
1623
 
1649
  });
1650
 
1651
  // Cancel editing of permalink.
1652
+ buttons.children( '.cancel' ).on( 'click', function() {
1653
  $('#view-post-btn').show();
1654
  $el.html(revert_e);
1655
  buttons.html(buttonsOrig);
1665
  }
1666
  slug_value = ( c > full.length / 4 ) ? '' : full;
1667
 
1668
+ $el.html( '<input type="text" id="new-post-slug" value="' + slug_value + '" autocomplete="off" />' ).children( 'input' ).on( 'keydown', function( e ) {
1669
  var key = e.which;
1670
  // On [Enter], just save the new slug, don't save the post.
1671
  if ( 13 === key ) {
1672
  e.preventDefault();
1673
+ buttons.children( '.save' ).trigger('click');
1674
  }
1675
  // On [Esc] cancel the editing.
1676
  if ( 27 === key ) {
1677
+ buttons.children( '.cancel' ).trigger('click');
1678
  }
1679
+ } ).on( 'keyup', function() {
1680
  real_slug.val( this.value );
1681
  }).focus();
1682
  }
1776
  var prev_data_index = null;
1777
  var prev_series_index = null;
1778
 
1779
+ jQuery('.chart-placeholder').on('plothover', function(event, pos, item) {
1780
  if (item) {
1781
  if (
1782
  prev_data_index != item.dataIndex ||
1846
  $('a.dokan-gravatar-drag').on('click', this.simpleImageUpload);
1847
  $('a.dokan-remove-gravatar-image').on('click', this.removeGravatar);
1848
 
1849
+ $('.dokan-update-setting-top-button').on( 'click', function(){
1850
+ $("input[name='dokan_update_store_settings']").trigger( 'click' );
1851
  });
1852
 
1853
  this.validateForm(self);
2946
  }
2947
 
2948
  if ( $( "#dokan-store-listing-filter-form-wrap" ).length ) {
2949
+ $('.store-search-input').on( 'keypress', function (e) {
2950
  var key = e.which;
2951
  if( key == 13 ) {
2952
  $( "#dokan-store-listing-filter-form-wrap" ).submit();
2953
+ return false;
2954
  }
2955
  });
2956
  }
2957
 
2958
+ $( 'body' ).on( 'click', function ( evt ) {
2959
+ if ( ! $( evt.target ).is( 'div#dokan-store-products-search-result li' ) ) {
2960
  $("#dokan-store-products-search-result").html('');
2961
+ $('#dokan-store-products-search-result').removeClass( 'dokan-store-products-search-has-results' );
2962
  }
2963
  });
2964
 
3232
  var timer = 0;
3233
 
3234
  return function() {
3235
+ var context = this,
3236
  args = arguments;
3237
 
3238
  clearTimeout( timer );
assets/js/vendor-registration.js CHANGED
@@ -8,11 +8,11 @@ var Dokan_Vendor_Registration = {
8
  // bind events
9
  $( '.user-role input[type=radio]', form ).on( 'change', this.showSellerForm );
10
  $( '.tc_check_box', form ).on( 'click', this.onTOC );
11
- $( '#shop-phone', form ).keydown( this.ensurePhoneNumber );
12
  $( '#company-name', form ).on( 'focusout', this.generateSlugFromCompany );
13
 
14
- $( '#seller-url', form ).keydown( this.constrainSlug );
15
- $( '#seller-url', form ).keyup( this.renderUrl );
16
  $( '#seller-url', form ).on( 'focusout', this.checkSlugAvailability );
17
 
18
  this.validationLocalized();
@@ -82,18 +82,18 @@ var Dokan_Vendor_Registration = {
82
  // let it happen, don't do anything
83
  return;
84
  }
85
-
86
  if ( e.shiftKey && e.key === '.' ) {
87
  return;
88
  }
89
-
90
  // Ensure that it is a number and stop the keypress
91
  if ( ( e.shiftKey && ! isNaN( Number(e.key) ) ) ) {
92
  return;
93
  }
94
 
95
  if ( isNaN( Number(e.key) ) ) {
96
- e.preventDefault();
97
  }
98
  },
99
 
8
  // bind events
9
  $( '.user-role input[type=radio]', form ).on( 'change', this.showSellerForm );
10
  $( '.tc_check_box', form ).on( 'click', this.onTOC );
11
+ $( '#shop-phone', form ).on( 'keydown', this.ensurePhoneNumber );
12
  $( '#company-name', form ).on( 'focusout', this.generateSlugFromCompany );
13
 
14
+ $( '#seller-url', form ).on( 'keydown', this.constrainSlug );
15
+ $( '#seller-url', form ).on( 'keyup', this.renderUrl );
16
  $( '#seller-url', form ).on( 'focusout', this.checkSlugAvailability );
17
 
18
  this.validationLocalized();
82
  // let it happen, don't do anything
83
  return;
84
  }
85
+
86
  if ( e.shiftKey && e.key === '.' ) {
87
  return;
88
  }
89
+
90
  // Ensure that it is a number and stop the keypress
91
  if ( ( e.shiftKey && ! isNaN( Number(e.key) ) ) ) {
92
  return;
93
  }
94
 
95
  if ( isNaN( Number(e.key) ) ) {
96
+ e.preventDefault();
97
  }
98
  },
99
 
assets/js/vue-admin.js CHANGED
@@ -8546,7 +8546,7 @@ var render = function() {
8546
  innerHTML: _vm._s(
8547
  _vm.getPaymentDetails(
8548
  data.row.method,
8549
- data.row.user.payment
8550
  )
8551
  )
8552
  }
8546
  innerHTML: _vm._s(
8547
  _vm.getPaymentDetails(
8548
  data.row.method,
8549
+ data.row.details
8550
  )
8551
  )
8552
  }
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(46),n=a(117),i=!1;var o=function(e){i||a(116)},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(54);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(17),o=a(18);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("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.vendorInfo.user_nicename=e.split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),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("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-");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){e.exports=jQuery},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,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.apply(null,arguments)}}},[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.apply(null,arguments)}}},[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.apply(null,arguments)}}},[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.apply(null,arguments)}}},[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:"first-name"}},[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",id:"first-name",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:"last-name"}},[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",id:"last-name",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",id:"store-name",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:"user-nicename"}},[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",id:"user-nicename",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",id:"store-phone",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",id:"store-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:"user-login"}},[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",id:"user-login",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:{id:"store-password",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",id:"street-1",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",id:"street-2",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",id:"city",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",id:"zip",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:{id:"country",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:{id:"state",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:{id:"state",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",id:"account-name",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",id:"account-number",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",id:"bank-name",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",id:"bank-address",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",id:"routing-number",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",id:"iban",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",id:"swift",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:"paypal-email"}},[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",id:"paypal-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",{attrs:{for:"commission-type"}},[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"commission-type",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(21),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(16),n=a.n(s),i=a(7),o=dokan_get_lib("ListTable"),r=dokan_get_lib("Modal"),l=dokan_get_lib("Currency");t.a={name:"Withdraw",components:{ListTable:o,Modal:r,Currency:l,UpgradeBanner:i.a},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,filter:{user_id: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.filter.user_id=0,this.clearSelection("#filter-vendors"),this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()},"$route.query.user_id":function(){this.fetchRequests()},"filter.user_id":function(e){0===e&&this.clearSelection("#filter-vendors"),this.goTo(this.query)}},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()},mounted:function(){var e=this;n()("#filter-vendors").selectWoo({ajax:{url:"".concat(dokan.rest.root,"dokan/v1/stores"),dataType:"json",headers:{"X-WP-Nonce":dokan.rest.nonce},data:function(e){return{search:e.term}},processResults:function(e){return{results:e.map(function(e){return{id:e.id,text:e.store_name}})}}}}),n()("#filter-vendors").on("select2:select",function(t){e.filter.user_id=t.params.data.id})},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;var t="/withdraw?per_page="+this.perPage+"&page="+this.currentPage+"&status="+this.currentStatus;parseInt(this.filter.user_id)>0&&(t+="&user_id="+this.filter.user_id),dokan.api.get(t).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,user_id:this.filter.user_id}})},goTo:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,user_id:this.filter.user_id}})},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="<p>"+this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)+"</p>"),t.bank.hasOwnProperty("ac_number")&&(a+="<p>"+this.sprintf(this.__("Account Number: %s","dokan-lite"),t.bank.ac_number)+"</p>"),t.bank.hasOwnProperty("bank_name")&&(a+="<p>"+this.sprintf(this.__("Bank Name: %s","dokan-lite"),t.bank.bank_name)+"</p>"),t.bank.hasOwnProperty("iban")&&(a+="<p>"+this.sprintf(this.__("IBAN: %s","dokan-lite"),t.bank.iban)+"</p>"),t.bank.hasOwnProperty("routing_number")&&(a+="<p>"+this.sprintf(this.__("Routing Number: %s","dokan-lite"),t.bank.routing_number)+"</p>"),t.bank.hasOwnProperty("swift")&&(a+="<p>"+this.sprintf(this.__("Swift Code: %s","dokan-lite"),t.bank.swift)+"</p>"))),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}})},clearSelection:function(e){n()(e).val(null).trigger("change")}}}},function(e,t,a){"use strict";var s=a(49),n=a(126),i=(a.n(n),a(129));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(50),n=a(125),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/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(136),n=a(166),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:[],validationErrors:[],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}}a.validationErrors=[]}).fail(function(e){a.validationErrors=e.responseJSON.data.errors}).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(138),n=a.n(s),i=a(139),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","validationErrors"],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")},hasValidationError:function(e){if(this.validationErrors.filter(function(t){return t.name===e}).length>0)return e},getValidationErrorMessage:function(e){var t="";return this.validationErrors.forEach(function(a){a.name===e&&(t=a.error)}),t}}}},,,,,,,,,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(172),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(49);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(181);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(106),n=a(109),i=a(185);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(44),n=a(108),i=!1;var o=function(e){i||a(107)},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(110),n=a.n(s),i=a(111),o=a(119),r=a(122),l=a(131),d=a(134),c=a(170),u=a(176),p=a(179),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(45),n=a(118),i=!1;var o=function(e){i||a(112)},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(47),n=a(121),i=!1;var o=function(e){i||a(120)},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",{class:{current:"pending"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[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",{class:{current:"approved"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"approved"}}}},[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",{class:{current:"cancelled"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"cancelled"}}}},[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:"vendor",fn:function(t){var s=t.row;return[a("router-link",{attrs:{to:"/vendors/"+s.vendor.id}},[e._v("\n "+e._s(s.vendor.name?s.vendor.name:e.__("(no name)","dokan-lite"))+"\n ")])]}},{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[a("div",{staticClass:"method_details_inner",domProps:{innerHTML:e._s(e.getPaymentDetails(t.row.method,t.row.user.payment))}})]}},{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"})])])]]}}])},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("select",{staticStyle:{width:"190px"},attrs:{id:"filter-vendors","data-placeholder":e.__("Filter by vendor","dokan-lite")}}),e._v(" "),e.filter.user_id?a("button",{staticClass:"button",attrs:{type:"button"},on:{click:function(t){e.filter.user_id=0}}},[e._v("×")]):e._e()])],2)],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(130),i=!1;var o=function(e){i||a(123)},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(51),n=a(133),i=!1;var o=function(e){i||a(132)},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(52),n=a(169),i=!1;var o=function(e){i||a(135)},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(53),n=a(165),i=!1;var o=function(e){i||a(137)},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:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},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:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},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:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\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",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\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._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]: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._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]: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:"",disabled:""},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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):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(" "),"warning"==e.fieldData.type?[a("th",{staticClass:"dokan-setting-warning",attrs:{scope:"row",colspan:"2"}},[a("div",{staticClass:"error"},[a("p",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("span",{staticClass:"dokan-setting-warning-label"},[a("span",{staticClass:"dashicons dashicons-warning"}),e._v(" "+e._s(e.fieldData.label))]),e._v(" "),a("span",{staticClass:"dokan-setting-warning-msg"},[e._v(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)+" "),t.must_use?e._e():a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}}),e._v(" "),a("span",{staticClass:"repeatable-item-description",domProps:{innerHTML:e._s(t.desc)}})]):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(62),n=a(168),i=!1;var o=function(e){i||a(167)},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.apply(null,arguments)}}}):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,validationErrors:e.validationErrors,"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(63),n=a(175),i=!1;var o=function(e){i||a(171)},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(64),n=a(174),i=!1;var o=function(e){i||a(173)},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(65),n=a(178),i=!1;var o=function(e){i||a(177)},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(66),n=a(184),i=!1;var o=function(e){i||a(180)},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(67),n=a(183),i=!1;var o=function(e){i||a(182)},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")})}}],[105]);
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(46),n=a(117),i=!1;var o=function(e){i||a(116)},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(54);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(17),o=a(18);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("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.vendorInfo.user_nicename=e.split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),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("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-");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){e.exports=jQuery},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,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.apply(null,arguments)}}},[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.apply(null,arguments)}}},[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.apply(null,arguments)}}},[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.apply(null,arguments)}}},[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:"first-name"}},[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",id:"first-name",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:"last-name"}},[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",id:"last-name",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",id:"store-name",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:"user-nicename"}},[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",id:"user-nicename",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",id:"store-phone",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",id:"store-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:"user-login"}},[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",id:"user-login",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:{id:"store-password",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",id:"street-1",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",id:"street-2",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",id:"city",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",id:"zip",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:{id:"country",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:{id:"state",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:{id:"state",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",id:"account-name",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",id:"account-number",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",id:"bank-name",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",id:"bank-address",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",id:"routing-number",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",id:"iban",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",id:"swift",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:"paypal-email"}},[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",id:"paypal-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",{attrs:{for:"commission-type"}},[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"commission-type",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(21),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(16),n=a.n(s),i=a(7),o=dokan_get_lib("ListTable"),r=dokan_get_lib("Modal"),l=dokan_get_lib("Currency");t.a={name:"Withdraw",components:{ListTable:o,Modal:r,Currency:l,UpgradeBanner:i.a},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,filter:{user_id: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.filter.user_id=0,this.clearSelection("#filter-vendors"),this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()},"$route.query.user_id":function(){this.fetchRequests()},"filter.user_id":function(e){0===e&&this.clearSelection("#filter-vendors"),this.goTo(this.query)}},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()},mounted:function(){var e=this;n()("#filter-vendors").selectWoo({ajax:{url:"".concat(dokan.rest.root,"dokan/v1/stores"),dataType:"json",headers:{"X-WP-Nonce":dokan.rest.nonce},data:function(e){return{search:e.term}},processResults:function(e){return{results:e.map(function(e){return{id:e.id,text:e.store_name}})}}}}),n()("#filter-vendors").on("select2:select",function(t){e.filter.user_id=t.params.data.id})},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;var t="/withdraw?per_page="+this.perPage+"&page="+this.currentPage+"&status="+this.currentStatus;parseInt(this.filter.user_id)>0&&(t+="&user_id="+this.filter.user_id),dokan.api.get(t).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,user_id:this.filter.user_id}})},goTo:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,user_id:this.filter.user_id}})},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="<p>"+this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)+"</p>"),t.bank.hasOwnProperty("ac_number")&&(a+="<p>"+this.sprintf(this.__("Account Number: %s","dokan-lite"),t.bank.ac_number)+"</p>"),t.bank.hasOwnProperty("bank_name")&&(a+="<p>"+this.sprintf(this.__("Bank Name: %s","dokan-lite"),t.bank.bank_name)+"</p>"),t.bank.hasOwnProperty("iban")&&(a+="<p>"+this.sprintf(this.__("IBAN: %s","dokan-lite"),t.bank.iban)+"</p>"),t.bank.hasOwnProperty("routing_number")&&(a+="<p>"+this.sprintf(this.__("Routing Number: %s","dokan-lite"),t.bank.routing_number)+"</p>"),t.bank.hasOwnProperty("swift")&&(a+="<p>"+this.sprintf(this.__("Swift Code: %s","dokan-lite"),t.bank.swift)+"</p>"))),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}})},clearSelection:function(e){n()(e).val(null).trigger("change")}}}},function(e,t,a){"use strict";var s=a(49),n=a(126),i=(a.n(n),a(129));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(50),n=a(125),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/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(136),n=a(166),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:[],validationErrors:[],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}}a.validationErrors=[]}).fail(function(e){a.validationErrors=e.responseJSON.data.errors}).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(138),n=a.n(s),i=a(139),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","validationErrors"],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")},hasValidationError:function(e){if(this.validationErrors.filter(function(t){return t.name===e}).length>0)return e},getValidationErrorMessage:function(e){var t="";return this.validationErrors.forEach(function(a){a.name===e&&(t=a.error)}),t}}}},,,,,,,,,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(172),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(49);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(181);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(106),n=a(109),i=a(185);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(44),n=a(108),i=!1;var o=function(e){i||a(107)},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(110),n=a.n(s),i=a(111),o=a(119),r=a(122),l=a(131),d=a(134),c=a(170),u=a(176),p=a(179),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(45),n=a(118),i=!1;var o=function(e){i||a(112)},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(47),n=a(121),i=!1;var o=function(e){i||a(120)},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",{class:{current:"pending"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[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",{class:{current:"approved"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"approved"}}}},[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",{class:{current:"cancelled"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"cancelled"}}}},[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:"vendor",fn:function(t){var s=t.row;return[a("router-link",{attrs:{to:"/vendors/"+s.vendor.id}},[e._v("\n "+e._s(s.vendor.name?s.vendor.name:e.__("(no name)","dokan-lite"))+"\n ")])]}},{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[a("div",{staticClass:"method_details_inner",domProps:{innerHTML:e._s(e.getPaymentDetails(t.row.method,t.row.details))}})]}},{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"})])])]]}}])},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("select",{staticStyle:{width:"190px"},attrs:{id:"filter-vendors","data-placeholder":e.__("Filter by vendor","dokan-lite")}}),e._v(" "),e.filter.user_id?a("button",{staticClass:"button",attrs:{type:"button"},on:{click:function(t){e.filter.user_id=0}}},[e._v("×")]):e._e()])],2)],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(130),i=!1;var o=function(e){i||a(123)},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(51),n=a(133),i=!1;var o=function(e){i||a(132)},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(52),n=a(169),i=!1;var o=function(e){i||a(135)},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(53),n=a(165),i=!1;var o=function(e){i||a(137)},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:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},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:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},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:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\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",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\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._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]: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._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]: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:"",disabled:""},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(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):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(" "),"warning"==e.fieldData.type?[a("th",{staticClass:"dokan-setting-warning",attrs:{scope:"row",colspan:"2"}},[a("div",{staticClass:"error"},[a("p",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("span",{staticClass:"dokan-setting-warning-label"},[a("span",{staticClass:"dashicons dashicons-warning"}),e._v(" "+e._s(e.fieldData.label))]),e._v(" "),a("span",{staticClass:"dokan-setting-warning-msg"},[e._v(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)+" "),t.must_use?e._e():a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}}),e._v(" "),a("span",{staticClass:"repeatable-item-description",domProps:{innerHTML:e._s(t.desc)}})]):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(62),n=a(168),i=!1;var o=function(e){i||a(167)},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.apply(null,arguments)}}}):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,validationErrors:e.validationErrors,"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(63),n=a(175),i=!1;var o=function(e){i||a(171)},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(64),n=a(174),i=!1;var o=function(e){i||a(173)},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(65),n=a(178),i=!1;var o=function(e){i||a(177)},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(66),n=a(184),i=!1;var o=function(e){i||a(180)},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(67),n=a(183),i=!1;var o=function(e){i||a(182)},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")})}}],[105]);
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.11
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.11';
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.12
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
56
  *
57
  * @var string
58
  */
59
+ public $version = '3.2.12';
60
 
61
  /**
62
  * Instance of self
includes/Admin/Settings.php CHANGED
@@ -310,7 +310,15 @@ class Settings {
310
  public function get_settings_fields() {
311
  $pages_array = $this->get_post_type( 'page' );
312
 
313
- $commission_types = dokan_commission_types();
 
 
 
 
 
 
 
 
314
 
315
  $general_site_options = apply_filters(
316
  'dokan_settings_general_site_options', [
@@ -492,11 +500,7 @@ class Settings {
492
  'default' => array(
493
  'wc-completed' => 'wc-completed',
494
  ),
495
- 'options' => array(
496
- 'wc-completed' => __( 'Completed', 'dokan-lite' ),
497
- 'wc-processing' => __( 'Processing', 'dokan-lite' ),
498
- 'wc-on-hold' => __( 'On-hold', 'dokan-lite' ),
499
- ),
500
  ],
501
  'exclude_cod_payment' => [
502
  'name' => 'exclude_cod_payment',
310
  public function get_settings_fields() {
311
  $pages_array = $this->get_post_type( 'page' );
312
 
313
+ $commission_types = dokan_commission_types();
314
+ $withdraw_order_status_options = apply_filters(
315
+ 'dokan_settings_withdraw_order_status_options',
316
+ array(
317
+ 'wc-completed' => __( 'Completed', 'dokan-lite' ),
318
+ 'wc-processing' => __( 'Processing', 'dokan-lite' ),
319
+ 'wc-on-hold' => __( 'On-hold', 'dokan-lite' ),
320
+ )
321
+ );
322
 
323
  $general_site_options = apply_filters(
324
  'dokan_settings_general_site_options', [
500
  'default' => array(
501
  'wc-completed' => 'wc-completed',
502
  ),
503
+ 'options' => $withdraw_order_status_options,
 
 
 
 
504
  ],
505
  'exclude_cod_payment' => [
506
  'name' => 'exclude_cod_payment',
includes/Admin/UserProfile.php CHANGED
@@ -475,7 +475,7 @@ class UserProfile {
475
 
476
  Dokan_Settings.init();
477
 
478
- $('#seller-url').keydown(function(e) {
479
  var text = $(this).val();
480
 
481
  // Allow: backspace, delete, tab, escape, enter and .
@@ -493,7 +493,7 @@ class UserProfile {
493
  }
494
  });
495
 
496
- $('#seller-url').keyup(function(e) {
497
  $('#url-alart').text( getSlug( $(this).val() ) );
498
  });
499
 
475
 
476
  Dokan_Settings.init();
477
 
478
+ $('#seller-url').on( 'keydown', function(e) {
479
  var text = $(this).val();
480
 
481
  // Allow: backspace, delete, tab, escape, enter and .
493
  }
494
  });
495
 
496
+ $('#seller-url').on( 'keyup', function(e) {
497
  $('#url-alart').text( getSlug( $(this).val() ) );
498
  });
499
 
includes/Assets.php CHANGED
@@ -366,7 +366,7 @@ class Assets {
366
  ],
367
  'dokan-vue-admin' => [
368
  'src' => $asset_url . '/js/vue-admin.js',
369
- 'deps' => [ 'jquery', 'jquery-ui-datepicker', 'dokan-i18n-jed', 'dokan-vue-vendor', 'dokan-vue-bootstrap' ],
370
  'version' => filemtime( $asset_path . '/js/vue-admin.js' ),
371
  ],
372
  'dokan-vue-frontend' => [
366
  ],
367
  'dokan-vue-admin' => [
368
  'src' => $asset_url . '/js/vue-admin.js',
369
+ 'deps' => [ 'jquery', 'jquery-ui-datepicker', 'dokan-i18n-jed', 'dokan-vue-vendor', 'dokan-vue-bootstrap', 'selectWoo' ],
370
  'version' => filemtime( $asset_path . '/js/vue-admin.js' ),
371
  ],
372
  'dokan-vue-frontend' => [
includes/Install/Installer.php CHANGED
@@ -267,6 +267,7 @@ class Installer {
267
  `status` int(1) NOT NULL,
268
  `method` varchar(30) NOT NULL,
269
  `note` text NOT NULL,
 
270
  `ip` varchar(50) NOT NULL,
271
  PRIMARY KEY (id)
272
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;";
267
  `status` int(1) NOT NULL,
268
  `method` varchar(30) NOT NULL,
269
  `note` text NOT NULL,
270
+ `details` longtext NOT NULL,
271
  `ip` varchar(50) NOT NULL,
272
  PRIMARY KEY (id)
273
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;";
includes/REST/StoreSettingController.php CHANGED
@@ -41,10 +41,43 @@ class StoreSettingController extends WP_REST_Controller {
41
  'callback' => [ $this, 'get_settings' ],
42
  'permission_callback' => [ $this, 'get_settings_permission_callback' ],
43
  ],
 
 
 
 
 
44
  ]
45
  );
46
  }
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  /**
49
  * @param $request
50
  *
@@ -64,10 +97,15 @@ class StoreSettingController extends WP_REST_Controller {
64
  */
65
  public function get_settings_permission_callback() {
66
  $vendor = $this->get_vendor();
 
67
  if ( is_wp_error( $vendor ) ) {
68
  return $vendor;
69
  }
70
 
 
 
 
 
71
  return true;
72
  }
73
 
@@ -83,10 +121,48 @@ class StoreSettingController extends WP_REST_Controller {
83
  }
84
 
85
  if ( ! $current_user ) {
86
- return new WP_Error( 'Unauthorized', __( 'You are not logged in' ), [ 'code' => 401 ] );
87
  }
88
 
89
  return $vendor;
90
  }
91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  }
41
  'callback' => [ $this, 'get_settings' ],
42
  'permission_callback' => [ $this, 'get_settings_permission_callback' ],
43
  ],
44
+ [
45
+ 'methods' => WP_REST_Server::EDITABLE,
46
+ 'callback' => [ $this, 'update_settings' ],
47
+ 'permission_callback' => [ $this, 'get_settings_permission_callback' ],
48
+ ],
49
  ]
50
  );
51
  }
52
 
53
+ /**
54
+ * Update Store
55
+ *
56
+ * @param \WP_REST_Request $request
57
+ *
58
+ * @since DOKAN_LITE_SINCE
59
+ *
60
+ * @return WP_Error|\WP_REST_Response
61
+ */
62
+ public function update_settings( $request ) {
63
+ $vendor = $this->get_vendor();
64
+ $params = $request->get_params();
65
+ $store_id = dokan()->vendor->update( $vendor->get_id(), $params );
66
+
67
+ if ( is_wp_error( $store_id ) ) {
68
+ return new WP_Error( $store_id->get_error_code(), $store_id->get_error_message() );
69
+ }
70
+
71
+ $store = dokan()->vendor->get( $store_id );
72
+
73
+ do_action( 'dokan_rest_store_settings_after_update', $store, $request );
74
+
75
+ $stores_data = $this->prepare_item_for_response( $store, $request );
76
+ $response = rest_ensure_response( $stores_data );
77
+
78
+ return $response;
79
+ }
80
+
81
  /**
82
  * @param $request
83
  *
97
  */
98
  public function get_settings_permission_callback() {
99
  $vendor = $this->get_vendor();
100
+
101
  if ( is_wp_error( $vendor ) ) {
102
  return $vendor;
103
  }
104
 
105
+ if ( empty( $vendor->get_id() ) ) {
106
+ return new WP_Error( 'no_store_found', __( 'No vendor found', 'dokan-lite' ), [ 'status' => 404 ] );
107
+ }
108
+
109
  return true;
110
  }
111
 
121
  }
122
 
123
  if ( ! $current_user ) {
124
+ return new WP_Error( 'Unauthorized', __( 'You are not logged in', 'dokan-lite' ), [ 'code' => 401 ] );
125
  }
126
 
127
  return $vendor;
128
  }
129
 
130
+ /**
131
+ * Prepare links for the request.
132
+ *
133
+ * @param \WC_Data $object Object data.
134
+ * @param \WP_REST_Request $request Request object.
135
+ *
136
+ * @return array Links for the given post.
137
+ */
138
+ protected function prepare_links( $object, $request ) {
139
+ $links = [
140
+ 'self' => [
141
+ 'href' => rest_url( sprintf( '/%s/%s/%d', $this->namespace, $this->rest_base, $object['id'] ) ),
142
+ ],
143
+ 'collection' => [
144
+ 'href' => rest_url( sprintf( '/%s/%s', $this->namespace, $this->rest_base ) ),
145
+ ],
146
+ ];
147
+
148
+ return $links;
149
+ }
150
+
151
+ /**
152
+ * Prepare a single item output for response
153
+ *
154
+ * @param $store
155
+ * @param \WP_REST_Request $request Request object.
156
+ * @param array $additional_fields (optional)
157
+ *
158
+ * @return \WP_REST_Response $response Response data.
159
+ */
160
+ public function prepare_item_for_response( $store, $request, $additional_fields = [] ) {
161
+ $data = $store->to_array();
162
+ $data = array_merge( $data, apply_filters( 'dokan_rest_store_settings_additional_fields', $additional_fields, $store, $request ) );
163
+ $response = rest_ensure_response( $data );
164
+ $response->add_links( $this->prepare_links( $data, $request ) );
165
+
166
+ return apply_filters( 'dokan_rest_prepare_store_settings_item_for_response', $response );
167
+ }
168
  }
includes/REST/WithdrawController.php CHANGED
@@ -579,16 +579,26 @@ class WithdrawController extends WP_REST_Controller {
579
  * @return data
580
  */
581
  public function prepare_item_for_response( $withdraw, $request ) {
582
- $methods = dokan_withdraw_get_methods();
 
 
 
 
 
 
 
 
 
583
  $data = [
584
  'id' => absint( $withdraw->get_id() ),
585
- 'user' => $this->get_user_data( $withdraw->get_user_id() ),
586
  'amount' => floatval( $withdraw->get_amount() ),
587
  'created' => mysql_to_rfc3339( $withdraw->get_date() ),
588
  'status' => dokan()->withdraw->get_status_name( $withdraw->get_status() ),
589
  'method' => $withdraw->get_method(),
590
  'method_title' => array_key_exists( $withdraw->get_method(), $methods ) ? $methods[ $withdraw->get_method() ] : $withdraw->get_method(),
591
  'note' => $withdraw->get_note(),
 
592
  'ip' => $withdraw->get_ip(),
593
  ];
594
 
579
  * @return data
580
  */
581
  public function prepare_item_for_response( $withdraw, $request ) {
582
+ $vendor = $this->get_user_data( $withdraw->get_user_id() );
583
+
584
+ if ( empty( $vendor ) ) {
585
+ return;
586
+ }
587
+
588
+ $methods = dokan_withdraw_get_methods();
589
+ $get_details = ! empty( $withdraw->get_details() ) ? maybe_unserialize( $withdraw->get_details() ) : array();
590
+ $details = [ $withdraw->get_method() => $get_details ];
591
+
592
  $data = [
593
  'id' => absint( $withdraw->get_id() ),
594
+ 'user' => $vendor,
595
  'amount' => floatval( $withdraw->get_amount() ),
596
  'created' => mysql_to_rfc3339( $withdraw->get_date() ),
597
  'status' => dokan()->withdraw->get_status_name( $withdraw->get_status() ),
598
  'method' => $withdraw->get_method(),
599
  'method_title' => array_key_exists( $withdraw->get_method(), $methods ) ? $methods[ $withdraw->get_method() ] : $withdraw->get_method(),
600
  'note' => $withdraw->get_note(),
601
+ 'details' => version_compare( DOKAN_PLUGIN_VERSION, '3.2.11', '>' ) ? $details : $vendor['payment'],
602
  'ip' => $withdraw->get_ip(),
603
  ];
604
 
includes/Upgrade/Upgrades.php CHANGED
@@ -33,6 +33,7 @@ class Upgrades {
33
  '3.0.10' => Upgrades\V_3_0_10::class,
34
  '3.1.0' => Upgrades\V_3_1_0::class,
35
  '3.1.1' => Upgrades\V_3_1_1::class,
 
36
  ];
37
 
38
  /**
33
  '3.0.10' => Upgrades\V_3_0_10::class,
34
  '3.1.0' => Upgrades\V_3_1_0::class,
35
  '3.1.1' => Upgrades\V_3_1_1::class,
36
+ '3.2.12' => Upgrades\V_3_2_12::class,
37
  ];
38
 
39
  /**
includes/Upgrade/Upgrades/BackgroundProcesses/V_2_9_23_StoreName.php CHANGED
@@ -37,7 +37,7 @@ class V_2_9_23_StoreName extends DokanBackgroundProcesses {
37
  *
38
  * @since 2.9.23
39
  *
40
- * @return void
41
  */
42
  private function update_store_name( $paged ) {
43
  $limit = 50;
37
  *
38
  * @since 2.9.23
39
  *
40
+ * @return void|array
41
  */
42
  private function update_store_name( $paged ) {
43
  $limit = 50;
includes/Upgrade/Upgrades/V_3_2_12.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WeDevs\Dokan\Upgrade\Upgrades;
4
+
5
+ use WeDevs\Dokan\Abstracts\DokanUpgrader;
6
+ use WeDevs\Dokan\Upgrade\Upgrades\BackgroundProcesses\V_2_9_23_StoreName;
7
+
8
+ class V_3_2_12 extends DokanUpgrader {
9
+
10
+ /**
11
+ * Update withdraw table for add new `details` column
12
+ *
13
+ * @since 3.2.12
14
+ *
15
+ * @return void
16
+ */
17
+ public static function update_dokan_withdraw_table() {
18
+ global $wpdb;
19
+
20
+ $map_table = $wpdb->prefix . 'dokan_withdraw';
21
+
22
+ if ( $wpdb->get_var( $wpdb->prepare( 'show tables like %s', $map_table ) ) !== $map_table ) {
23
+ return;
24
+ }
25
+
26
+ $columns = $wpdb->get_results( "describe {$map_table}" ); // phpcs:ignore
27
+
28
+ $columns = array_filter(
29
+ $columns, function ( $column ) {
30
+ return 'details' === $column->Field; // phpcs:ignore
31
+ }
32
+ );
33
+
34
+ if ( empty( $columns ) ) {
35
+ $wpdb->query(
36
+ "alter table {$map_table} add column details longtext NOT NULL AFTER note" // phpcs:ignore
37
+ );
38
+ }
39
+ }
40
+
41
+ /** Update store name meta data
42
+ *
43
+ * @since 3.2.12
44
+ *
45
+ * @return void
46
+ */
47
+ public static function dokan_update_store_name() {
48
+ $processor = new V_2_9_23_StoreName();
49
+
50
+ $args = [
51
+ 'updating' => 'store_name',
52
+ 'paged' => 0,
53
+ ];
54
+
55
+ $processor->push_to_queue( $args )->dispatch_process();
56
+ }
57
+ }
includes/Vendor/Manager.php CHANGED
@@ -328,6 +328,7 @@ class Manager {
328
  // update vendor store data
329
  if ( ! empty( $data['store_name'] ) ) {
330
  $vendor->set_store_name( $data['store_name'] );
 
331
  }
332
 
333
  if ( ! empty( $data['phone'] ) ) {
328
  // update vendor store data
329
  if ( ! empty( $data['store_name'] ) ) {
330
  $vendor->set_store_name( $data['store_name'] );
331
+ $vendor->update_meta( 'dokan_store_name', $data['store_name'] );
332
  }
333
 
334
  if ( ! empty( $data['phone'] ) ) {
includes/Vendor/SetupWizard.php CHANGED
@@ -289,7 +289,7 @@ class SetupWizard extends DokanSetupWizard {
289
  }
290
 
291
  $statebox.html( '<option value="">' + state_option_text + '</option>' + options );
292
- $statebox.val( value ).change();
293
 
294
  $( document.body ).trigger( 'country_to_state_changed', [country, $wrapper ] );
295
 
@@ -316,7 +316,7 @@ class SetupWizard extends DokanSetupWizard {
316
  $('.wc-enhanced-select').select2();
317
  });
318
 
319
- $( ':input.country_to_state' ).change();
320
 
321
  })(jQuery)
322
 
289
  }
290
 
291
  $statebox.html( '<option value="">' + state_option_text + '</option>' + options );
292
+ $statebox.val( value ).trigger( 'change' );
293
 
294
  $( document.body ).trigger( 'country_to_state_changed', [country, $wrapper ] );
295
 
316
  $('.wc-enhanced-select').select2();
317
  });
318
 
319
+ $( ':input.country_to_state' ).trigger( 'change' );
320
 
321
  })(jQuery)
322
 
includes/Vendor/UserSwitch.php CHANGED
@@ -86,7 +86,7 @@ class UserSwitch {
86
 
87
  <script type="text/javascript">
88
  (function($) {
89
- $( '#user-switching-installer-notice #user-switching-installer' ).click( function ( e ) {
90
  e.preventDefault();
91
  $( this ).addClass( 'install-now updating-message' );
92
  $( this ).text( '<?php echo esc_js( 'Installing...', 'dokan-lite' ); ?>' );
86
 
87
  <script type="text/javascript">
88
  (function($) {
89
+ $( '#user-switching-installer-notice #user-switching-installer' ).on( 'click', function ( e ) {
90
  e.preventDefault();
91
  $( this ).addClass( 'install-now updating-message' );
92
  $( this ).text( '<?php echo esc_js( 'Installing...', 'dokan-lite' ); ?>' );
includes/Widgets/StoreLocation.php CHANGED
@@ -48,7 +48,7 @@ class StoreLocation extends WP_Widget {
48
  $store_info = dokan_get_store_info( get_query_var( 'author' ) );
49
  $map_location = isset( $store_info['location'] ) ? esc_attr( $store_info['location'] ) : '';
50
 
51
- if ( empty( $map_location ) || ! dokan_has_map_api_key() ) {
52
  return;
53
  }
54
 
48
  $store_info = dokan_get_store_info( get_query_var( 'author' ) );
49
  $map_location = isset( $store_info['location'] ) ? esc_attr( $store_info['location'] ) : '';
50
 
51
+ if ( empty( $map_location ) || ! dokan_has_map_api_key() || 'on' !== dokan_get_option( 'store_map', 'dokan_appearance', 'off' ) ) {
52
  return;
53
  }
54
 
includes/Withdraw/Manager.php CHANGED
@@ -163,10 +163,11 @@ class Manager {
163
  'status' => $args['status'],
164
  'method' => $args['method'],
165
  'note' => $args['notes'],
 
166
  'ip' => $args['ip'],
167
  );
168
 
169
- $format = array( '%d', '%f', '%s', '%d', '%s', '%s', '%s' );
170
 
171
  $inserted = $wpdb->insert( $wpdb->dokan_withdraw, $data, $format );
172
 
@@ -266,6 +267,20 @@ class Manager {
266
  return null;
267
  }
268
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  /**
270
  * Get withdraw status from code
271
  *
@@ -355,6 +370,7 @@ class Manager {
355
  'status' => '%d',
356
  'method' => '%s',
357
  'note' => '%s',
 
358
  'ip' => '%s',
359
  );
360
 
163
  'status' => $args['status'],
164
  'method' => $args['method'],
165
  'note' => $args['notes'],
166
+ 'details' => $args['details'],
167
  'ip' => $args['ip'],
168
  );
169
 
170
+ $format = array( '%d', '%f', '%s', '%d', '%s', '%s', '%s', '%s' );
171
 
172
  $inserted = $wpdb->insert( $wpdb->dokan_withdraw, $data, $format );
173
 
267
  return null;
268
  }
269
 
270
+ /**
271
+ * Get withdraw details by method and user
272
+ *
273
+ * @param string $method
274
+ * @param int $user_id
275
+ *
276
+ * @return integer
277
+ */
278
+ public function get_formatted_details( $method, $user_id ) {
279
+ $vendor = dokan()->vendor->get( $user_id );
280
+
281
+ return isset( $vendor->get_payment_profiles()[ $method ] ) ? (array) $vendor->get_payment_profiles()[ $method ] : [];
282
+ }
283
+
284
  /**
285
  * Get withdraw status from code
286
  *
370
  'status' => '%d',
371
  'method' => '%s',
372
  'note' => '%s',
373
+ 'details' => '%s',
374
  'ip' => '%s',
375
  );
376
 
includes/Withdraw/Withdraw.php CHANGED
@@ -29,6 +29,7 @@ class Withdraw {
29
  'status' => dokan()->withdraw->get_status_code( 'pending' ),
30
  'method' => 'paypal',
31
  'note' => '',
 
32
  'ip' => '',
33
  ];
34
 
@@ -42,6 +43,7 @@ class Withdraw {
42
  'status' => absint( $data['status'] ),
43
  'method' => $data['method'],
44
  'note' => $data['note'],
 
45
  'ip' => $data['ip'],
46
  ];
47
  }
@@ -134,6 +136,17 @@ class Withdraw {
134
  return $this->data['note'];
135
  }
136
 
 
 
 
 
 
 
 
 
 
 
 
137
  /**
138
  * Get ip
139
  *
@@ -229,6 +242,20 @@ class Withdraw {
229
  return $this;
230
  }
231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  /**
233
  * Set ip
234
  *
@@ -268,12 +295,14 @@ class Withdraw {
268
  protected function create() {
269
  global $wpdb;
270
 
 
 
271
  unset( $this->data['id'] );
272
 
273
  $inserted = $wpdb->insert(
274
  $wpdb->dokan_withdraw,
275
  $this->data,
276
- [ '%d', '%s', '%s', '%d', '%s', '%s', '%s' ]
277
  );
278
 
279
  if ( $inserted !== 1 ) {
29
  'status' => dokan()->withdraw->get_status_code( 'pending' ),
30
  'method' => 'paypal',
31
  'note' => '',
32
+ 'details' => '',
33
  'ip' => '',
34
  ];
35
 
43
  'status' => absint( $data['status'] ),
44
  'method' => $data['method'],
45
  'note' => $data['note'],
46
+ 'details' => $data['details'],
47
  'ip' => $data['ip'],
48
  ];
49
  }
136
  return $this->data['note'];
137
  }
138
 
139
+ /**
140
+ * Get details
141
+ *
142
+ * @since DOKAN_LITE_SINCE
143
+ *
144
+ * @return string
145
+ */
146
+ public function get_details() {
147
+ return $this->data['details'];
148
+ }
149
+
150
  /**
151
  * Get ip
152
  *
242
  return $this;
243
  }
244
 
245
+ /**
246
+ * Set details
247
+ *
248
+ * @since DOKAN_LITE_SINCE
249
+ *
250
+ * @param string $details
251
+ *
252
+ * @return \WeDevs\Dokan\Withdraw\Withdraw
253
+ */
254
+ public function set_details( $details ) {
255
+ $this->data['details'] = $details;
256
+ return $this;
257
+ }
258
+
259
  /**
260
  * Set ip
261
  *
295
  protected function create() {
296
  global $wpdb;
297
 
298
+ $this->data['details'] = maybe_serialize( dokan()->withdraw->get_formatted_details( $this->data['method'], absint( $this->data['user_id'] ) ) );
299
+
300
  unset( $this->data['id'] );
301
 
302
  $inserted = $wpdb->insert(
303
  $wpdb->dokan_withdraw,
304
  $this->data,
305
+ [ '%d', '%s', '%s', '%d', '%s', '%s', '%s', '%s' ]
306
  );
307
 
308
  if ( $inserted !== 1 ) {
includes/wc-template.php CHANGED
@@ -89,8 +89,9 @@ function dokan_order_show_suborders( $parent_order ) {
89
  'sub-orders',
90
  '',
91
  [
92
- 'sub_orders' => $sub_orders,
93
- 'statuses' => $statuses,
 
94
  ]
95
  );
96
  }
@@ -191,8 +192,8 @@ function dokan_author_field_quick_edit() {
191
  var $vendor_id_inline_data = $('#dokan_vendor_id_inline_' + post_id).find('#dokan_vendor_id').text(),
192
  $wc_inline_data = $('#woocommerce_inline_' + post_id );
193
 
194
- $( 'select[name="dokan_product_author_override"] option', '.inline-edit-row' ).attr( 'selected', false ).change();
195
- $( 'select[name="dokan_product_author_override"] option[value="' + $vendor_id_inline_data + '"]' ).attr( 'selected', 'selected' ).change();
196
  });
197
  })(jQuery);
198
  </script>
89
  'sub-orders',
90
  '',
91
  [
92
+ 'parent_order' => $parent_order,
93
+ 'sub_orders' => $sub_orders,
94
+ 'statuses' => $statuses,
95
  ]
96
  );
97
  }
192
  var $vendor_id_inline_data = $('#dokan_vendor_id_inline_' + post_id).find('#dokan_vendor_id').text(),
193
  $wc_inline_data = $('#woocommerce_inline_' + post_id );
194
 
195
+ $( 'select[name="dokan_product_author_override"] option', '.inline-edit-row' ).attr( 'selected', false ).trigger( 'change' );
196
+ $( 'select[name="dokan_product_author_override"] option[value="' + $vendor_id_inline_data + '"]' ).attr( 'selected', 'selected' ).trigger( 'change' );
197
  });
198
  })(jQuery);
199
  </script>
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.11\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2021-08-31 09:18: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"
@@ -114,7 +114,7 @@ msgid "Dokan"
114
  msgstr ""
115
 
116
  #: includes/Admin/AdminBar.php:54 includes/Admin/Menu.php:43
117
- #: includes/Admin/Settings.php:512 includes/Install/Installer.php:157
118
  #: includes/template-tags.php:386 src/admin/pages/Dashboard.vue:5
119
  msgid "Dashboard"
120
  msgstr ""
@@ -136,10 +136,10 @@ msgstr ""
136
 
137
  #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
138
  #: includes/Admin/Hooks.php:357 includes/Admin/Hooks.php:379
139
- #: includes/Admin/Settings.php:409 includes/Admin/Settings.php:420
140
  #: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:93
141
- #: includes/wc-template.php:17 includes/wc-template.php:166
142
- #: includes/wc-template.php:315 src/admin/pages/Dashboard.vue:38
143
  #: src/admin/pages/Dashboard.vue:47 templates/my-orders.php:31
144
  msgid "Vendor"
145
  msgstr ""
@@ -334,7 +334,7 @@ msgstr ""
334
  msgid "You have no permission to get settings value"
335
  msgstr ""
336
 
337
- #: includes/Admin/Settings.php:94 includes/Admin/Settings.php:717
338
  msgid "You are not authorized to perform this action."
339
  msgstr ""
340
 
@@ -358,283 +358,283 @@ msgstr ""
358
  msgid "Appearance"
359
  msgstr ""
360
 
361
- #: includes/Admin/Settings.php:295 includes/Admin/Settings.php:653
362
  msgid "Privacy Policy"
363
  msgstr ""
364
 
365
- #: includes/Admin/Settings.php:319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
366
  msgid "Site Options"
367
  msgstr ""
368
 
369
- #: includes/Admin/Settings.php:324
370
  msgid "Admin area access"
371
  msgstr ""
372
 
373
- #: includes/Admin/Settings.php:325
374
  msgid "Disallow Vendors and Customers from accessing the wp-admin dashboard area"
375
  msgstr ""
376
 
377
- #: includes/Admin/Settings.php:331
378
  #: templates/admin-setup-wizard/step-store.php:7
379
  msgid "Vendor Store URL"
380
  msgstr ""
381
 
382
- #: includes/Admin/Settings.php:333
383
  #. translators: %s: store url
384
  msgid "Define the Vendor store URL (%s<strong>[this-text]</strong>/[vendor-name])"
385
  msgstr ""
386
 
387
- #: includes/Admin/Settings.php:339
388
  msgid "Vendor Setup Wizard Logo"
389
  msgstr ""
390
 
391
- #: includes/Admin/Settings.php:341
392
  msgid ""
393
  "Recommended Logo size ( 270px X 90px ). If no logo is uploaded, site title "
394
  "is shown by default."
395
  msgstr ""
396
 
397
- #: includes/Admin/Settings.php:345
398
  msgid "Disable Welcome Wizard"
399
  msgstr ""
400
 
401
- #: includes/Admin/Settings.php:346
402
  msgid "Disable welcome wizard for newly registered vendors"
403
  msgstr ""
404
 
405
- #: includes/Admin/Settings.php:357
406
  msgid "Vendor Store Options"
407
  msgstr ""
408
 
409
- #: includes/Admin/Settings.php:362
410
  msgid "Store Terms and Conditions"
411
  msgstr ""
412
 
413
- #: includes/Admin/Settings.php:363
414
  msgid "Enable Terms and Conditions for vendor stores"
415
  msgstr ""
416
 
417
- #: includes/Admin/Settings.php:369 includes/Vendor/SetupWizard.php:185
418
  #: templates/settings/store-form.php:125
419
  msgid "Store Products Per Page"
420
  msgstr ""
421
 
422
- #: includes/Admin/Settings.php:370
423
  msgid ""
424
  "Set how many products to display per page on the vendor store page. It will "
425
  "affect only if the vendor isn't set this value on their vendor setting page."
426
  msgstr ""
427
 
428
- #: includes/Admin/Settings.php:381
429
  msgid "Commission"
430
  msgstr ""
431
 
432
- #: includes/Admin/Settings.php:386
433
  msgid "Commission Type "
434
  msgstr ""
435
 
436
- #: includes/Admin/Settings.php:387
437
  msgid "Select a commission type for Vendor"
438
  msgstr ""
439
 
440
- #: includes/Admin/Settings.php:394 src/admin/pages/VendorPaymentFields.vue:69
441
  #: src/admin/pages/VendorPaymentFields.vue:78
442
  #: templates/admin-setup-wizard/step-selling.php:31
443
  msgid "Admin Commission"
444
  msgstr ""
445
 
446
- #: includes/Admin/Settings.php:395
447
  msgid "Amount you get from each sale"
448
  msgstr ""
449
 
450
- #: includes/Admin/Settings.php:405
451
  #: templates/admin-setup-wizard/step-store.php:14
452
  msgid "Shipping Fee Recipient"
453
  msgstr ""
454
 
455
- #: includes/Admin/Settings.php:406
456
  msgid "Who will be receiving the Shipping fees"
457
  msgstr ""
458
 
459
- #: includes/Admin/Settings.php:410 includes/Admin/Settings.php:421
460
  #: includes/Admin/SetupWizard.php:346
461
  msgid "Admin"
462
  msgstr ""
463
 
464
- #: includes/Admin/Settings.php:416
465
  #: templates/admin-setup-wizard/step-store.php:28
466
  msgid "Tax Fee Recipient"
467
  msgstr ""
468
 
469
- #: includes/Admin/Settings.php:417
470
  msgid "Who will be receiving the Tax fees"
471
  msgstr ""
472
 
473
- #: includes/Admin/Settings.php:432
474
  msgid "Vendor Capability"
475
  msgstr ""
476
 
477
- #: includes/Admin/Settings.php:437
478
  msgid "New Vendor Product Upload"
479
  msgstr ""
480
 
481
- #: includes/Admin/Settings.php:438
482
  msgid "Allow newly registered vendors to add products"
483
  msgstr ""
484
 
485
- #: includes/Admin/Settings.php:444
486
  msgid "Disable Product Popup"
487
  msgstr ""
488
 
489
- #: includes/Admin/Settings.php:445
490
  msgid "Disable add new product in popup view"
491
  msgstr ""
492
 
493
- #: includes/Admin/Settings.php:451 src/admin/pages/VendorCapabilities.vue:89
494
  #: templates/admin-setup-wizard/step-selling.php:39
495
  msgid "Order Status Change"
496
  msgstr ""
497
 
498
- #: includes/Admin/Settings.php:452
499
  msgid "Allow vendor to update order status"
500
  msgstr ""
501
 
502
- #: includes/Admin/Settings.php:471 includes/Admin/SetupWizard.php:474
503
  msgid "Withdraw Methods"
504
  msgstr ""
505
 
506
- #: includes/Admin/Settings.php:472
507
  msgid "Select suitable Withdraw methods for Vendors"
508
  msgstr ""
509
 
510
- #: includes/Admin/Settings.php:479 includes/Admin/SetupWizard.php:511
511
  msgid "Minimum Withdraw Limit"
512
  msgstr ""
513
 
514
- #: includes/Admin/Settings.php:480
515
  msgid ""
516
  "Minimum balance required to make a withdraw request. Leave blank to set no "
517
  "minimum limits."
518
  msgstr ""
519
 
520
- #: includes/Admin/Settings.php:489 includes/Admin/SetupWizard.php:518
521
  msgid "Order Status for Withdraw"
522
  msgstr ""
523
 
524
- #: includes/Admin/Settings.php:490 includes/Admin/SetupWizard.php:535
525
  msgid "Order status for which vendor can make a withdraw request."
526
  msgstr ""
527
 
528
- #: includes/Admin/Settings.php:496 includes/Admin/SetupWizard.php:524
529
- #: includes/Dashboard/Templates/Dashboard.php:101
530
- #: includes/Order/functions.php:556 templates/dashboard/orders-widget.php:26
531
- msgid "Completed"
532
- msgstr ""
533
-
534
- #: includes/Admin/Settings.php:497 includes/Admin/SetupWizard.php:530
535
- #: includes/Dashboard/Templates/Dashboard.php:111
536
- #: includes/Order/functions.php:571 templates/dashboard/orders-widget.php:36
537
- #: templates/orders/listing.php:151
538
- msgid "Processing"
539
- msgstr ""
540
-
541
- #: includes/Admin/Settings.php:498 includes/Order/functions.php:566
542
- msgid "On-hold"
543
- msgstr ""
544
-
545
- #: includes/Admin/Settings.php:503
546
  msgid "Exclude COD Payments"
547
  msgstr ""
548
 
549
- #: includes/Admin/Settings.php:504
550
  msgid ""
551
  "If an order is paid with Cash on Delivery (COD), then exclude that payment "
552
  "from vendor balance."
553
  msgstr ""
554
 
555
- #: includes/Admin/Settings.php:513
556
  msgid "Select a page to show Vendor Dashboard"
557
  msgstr ""
558
 
559
- #: includes/Admin/Settings.php:515 includes/Admin/Settings.php:523
560
- #: includes/Admin/Settings.php:531 includes/Admin/Settings.php:538
561
- #: includes/Admin/Settings.php:648
562
  msgid "Select page"
563
  msgstr ""
564
 
565
- #: includes/Admin/Settings.php:520 includes/Install/Installer.php:169
566
  #: templates/global/header-menu.php:46
567
  msgid "My Orders"
568
  msgstr ""
569
 
570
- #: includes/Admin/Settings.php:521
571
  msgid "Select a page to show My Orders"
572
  msgstr ""
573
 
574
- #: includes/Admin/Settings.php:528
575
  msgid "Store Listing"
576
  msgstr ""
577
 
578
- #: includes/Admin/Settings.php:529
579
  msgid "Select a page to show all Stores"
580
  msgstr ""
581
 
582
- #: includes/Admin/Settings.php:536
583
  msgid "Terms and Conditions Page"
584
  msgstr ""
585
 
586
- #: includes/Admin/Settings.php:541
587
  #. translators: %s: dokan pages
588
  msgid ""
589
  "Select where you want to add Dokan pages <a target=\"_blank\" href=\"%s\"> "
590
  "Learn More </a>"
591
  msgstr ""
592
 
593
- #: includes/Admin/Settings.php:547
594
  msgid "Show Map on Store Page"
595
  msgstr ""
596
 
597
- #: includes/Admin/Settings.php:548
598
  msgid "Enable Map of the Store Location in the store sidebar"
599
  msgstr ""
600
 
601
- #: includes/Admin/Settings.php:554
602
  #: templates/admin-setup-wizard/step-store.php:42
603
  msgid "Map API Source"
604
  msgstr ""
605
 
606
- #: includes/Admin/Settings.php:555
607
  #: templates/admin-setup-wizard/step-store.php:52
608
  msgid "Which Map API source you want to use in your site?"
609
  msgstr ""
610
 
611
- #: includes/Admin/Settings.php:560 includes/Admin/SetupWizard.php:359
612
  #: src/admin/pages/Premium.vue:388
613
  msgid "Google Maps"
614
  msgstr ""
615
 
616
- #: includes/Admin/Settings.php:561 includes/Admin/SetupWizard.php:360
617
  msgid "Mapbox"
618
  msgstr ""
619
 
620
- #: includes/Admin/Settings.php:571
621
  #: templates/admin-setup-wizard/step-store.php:56
622
  msgid "Google Map API Key"
623
  msgstr ""
624
 
625
- #: includes/Admin/Settings.php:572
626
  msgid ""
627
  "<a href=\"https://developers.google.com/maps/documentation/javascript/\" "
628
  "target=\"_blank\" rel=\"noopener noreferrer\">API Key</a> is needed to "
629
  "display map on store page"
630
  msgstr ""
631
 
632
- #: includes/Admin/Settings.php:582
633
  #: templates/admin-setup-wizard/step-store.php:71
634
  msgid "Mapbox Access Token"
635
  msgstr ""
636
 
637
- #: includes/Admin/Settings.php:583
638
  #: templates/admin-setup-wizard/step-store.php:75
639
  msgid ""
640
  "<a href=\"https://docs.mapbox.com/help/how-mapbox-works/access-tokens/\" "
@@ -642,81 +642,81 @@ msgid ""
642
  "display map on store page"
643
  msgstr ""
644
 
645
- #: includes/Admin/Settings.php:588
646
  msgid "Show Contact Form on Store Page"
647
  msgstr ""
648
 
649
- #: includes/Admin/Settings.php:589
650
  msgid "Display a vendor contact form in the store sidebar"
651
  msgstr ""
652
 
653
- #: includes/Admin/Settings.php:595
654
  msgid "Store Header Template"
655
  msgstr ""
656
 
657
- #: includes/Admin/Settings.php:607
658
  msgid "Store Opening Closing Time Widget"
659
  msgstr ""
660
 
661
- #: includes/Admin/Settings.php:608
662
  msgid "Enable store opening & closing time widget in the store sidebar"
663
  msgstr ""
664
 
665
- #: includes/Admin/Settings.php:614
666
  msgid "Enable Store Sidebar From Theme"
667
  msgstr ""
668
 
669
- #: includes/Admin/Settings.php:615
670
  msgid "Enable showing Store Sidebar From Your Theme."
671
  msgstr ""
672
 
673
- #: includes/Admin/Settings.php:621
674
  msgid "Hide Vendor Info"
675
  msgstr ""
676
 
677
- #: includes/Admin/Settings.php:629
678
  msgid "Email Address"
679
  msgstr ""
680
 
681
- #: includes/Admin/Settings.php:630 includes/Admin/UserProfile.php:212
682
  #: src/admin/pages/VendorAccountFields.vue:65
683
  #: templates/account/vendor-registration.php:33
684
  #: templates/global/seller-registration-form.php:43
685
  msgid "Phone Number"
686
  msgstr ""
687
 
688
- #: includes/Admin/Settings.php:631
689
  msgid "Store Address"
690
  msgstr ""
691
 
692
- #: includes/Admin/Settings.php:638
693
  msgid "Enable Privacy Policy"
694
  msgstr ""
695
 
696
- #: includes/Admin/Settings.php:640
697
  msgid "Enable privacy policy for Vendor store contact form"
698
  msgstr ""
699
 
700
- #: includes/Admin/Settings.php:645
701
  msgid "Privacy Page"
702
  msgstr ""
703
 
704
- #: includes/Admin/Settings.php:647
705
  msgid "Select a page to show your privacy policy"
706
  msgstr ""
707
 
708
- #: includes/Admin/Settings.php:656 includes/functions.php:3603
709
  msgid ""
710
  "Your personal data will be used to support your experience throughout this "
711
  "website, to manage access to your account, and for other purposes described "
712
  "in our [dokan_privacy_policy]"
713
  msgstr ""
714
 
715
- #: includes/Admin/Settings.php:729
716
  msgid "Both section and field params are required."
717
  msgstr ""
718
 
719
- #: includes/Admin/Settings.php:738
720
  msgid "No filter found to refresh the setting options"
721
  msgstr ""
722
 
@@ -2732,7 +2732,7 @@ msgstr ""
2732
  #: includes/Product/functions.php:187 templates/my-orders.php:29
2733
  #: templates/orders/listing.php:57 templates/orders/listing.php:92
2734
  #: templates/products/products-listing-row.php:58
2735
- #: templates/products/products-listing.php:100 templates/sub-orders.php:30
2736
  #: templates/withdraw/pending-request-listing.php:18
2737
  msgid "Status"
2738
  msgstr ""
@@ -2900,7 +2900,7 @@ msgid "Edit"
2900
  msgstr ""
2901
 
2902
  #: includes/Product/functions.php:475 templates/my-orders.php:88
2903
- #: templates/orders/listing.php:169 templates/sub-orders.php:70
2904
  msgid "View"
2905
  msgstr ""
2906
 
@@ -2961,7 +2961,7 @@ msgstr ""
2961
  #: includes/REST/AdminReportController.php:142
2962
  #: templates/dashboard/orders-widget.php:21
2963
  #: templates/dashboard/products-widget.php:26 templates/my-orders.php:30
2964
- #: templates/orders/order-fee-html.php:17 templates/sub-orders.php:34
2965
  msgid "Total"
2966
  msgstr ""
2967
 
@@ -2978,7 +2978,7 @@ msgstr ""
2978
  #: includes/REST/StoreController.php:138 includes/REST/StoreController.php:172
2979
  #: includes/REST/StoreController.php:204
2980
  #: includes/REST/WithdrawController.php:78
2981
- #: includes/REST/WithdrawController.php:682
2982
  msgid "Unique identifier for the object."
2983
  msgstr ""
2984
 
@@ -3947,7 +3947,13 @@ msgstr ""
3947
  msgid "No items found for bulk updating"
3948
  msgstr ""
3949
 
3950
- #: includes/REST/StoreSettingController.php:86
 
 
 
 
 
 
3951
  msgid "You are not logged in"
3952
  msgstr ""
3953
 
@@ -3959,58 +3965,53 @@ msgstr ""
3959
  msgid "Withdraw not found"
3960
  msgstr ""
3961
 
3962
- #: includes/REST/WithdrawController.php:256
3963
- #: includes/REST/WithdrawController.php:333
3964
- msgid "No vendor found"
3965
- msgstr ""
3966
-
3967
  #: includes/REST/WithdrawController.php:323
3968
  msgid "User does not have permission to withdraw"
3969
  msgstr ""
3970
 
3971
- #: includes/REST/WithdrawController.php:688
3972
  msgid "Requested User"
3973
  msgstr ""
3974
 
3975
- #: includes/REST/WithdrawController.php:695
3976
  msgid "Requested User ID"
3977
  msgstr ""
3978
 
3979
- #: includes/REST/WithdrawController.php:701
3980
  msgid ""
3981
  "The amount of discount. Should always be numeric, even if setting a "
3982
  "percentage."
3983
  msgstr ""
3984
 
3985
- #: includes/REST/WithdrawController.php:706
3986
  msgid "The date the withdraw request has beed created in the site's timezone."
3987
  msgstr ""
3988
 
3989
- #: includes/REST/WithdrawController.php:713
3990
  msgid "Withdraw status"
3991
  msgstr ""
3992
 
3993
- #: includes/REST/WithdrawController.php:721
3994
  msgid "Withdraw Method"
3995
  msgstr ""
3996
 
3997
- #: includes/REST/WithdrawController.php:728
3998
  msgid "Withdraw Notes"
3999
  msgstr ""
4000
 
4001
- #: includes/REST/WithdrawController.php:734
4002
  msgid "User IP"
4003
  msgstr ""
4004
 
4005
- #: includes/REST/WithdrawController.php:760
4006
  msgid "List of withdraw IDs to be approved"
4007
  msgstr ""
4008
 
4009
- #: includes/REST/WithdrawController.php:770
4010
  msgid "List of withdraw IDs to be cancelled"
4011
  msgstr ""
4012
 
4013
- #: includes/REST/WithdrawController.php:780
4014
  msgid "List of withdraw IDs to be deleted"
4015
  msgstr ""
4016
 
@@ -4366,19 +4367,19 @@ msgstr ""
4366
  msgid "Could not update withdraw status"
4367
  msgstr ""
4368
 
4369
- #: includes/Withdraw/Manager.php:174
4370
  msgid "Could not add new withdraw approval request."
4371
  msgstr ""
4372
 
4373
- #: includes/Withdraw/Withdraw.php:280
4374
  msgid "Could not create new withdraw"
4375
  msgstr ""
4376
 
4377
- #: includes/Withdraw/Withdraw.php:326
4378
  msgid "Could not update withdraw"
4379
  msgstr ""
4380
 
4381
- #: includes/Withdraw/Withdraw.php:367
4382
  msgid "Could not delete withdraw"
4383
  msgstr ""
4384
 
@@ -4736,7 +4737,7 @@ msgstr ""
4736
  #: includes/functions.php:3028 templates/dashboard/big-counter-widget.php:29
4737
  #: templates/my-orders.php:27 templates/orders/details.php:22
4738
  #: templates/orders/listing.php:54 templates/orders/listing.php:77
4739
- #: templates/sub-orders.php:28
4740
  msgid "Order"
4741
  msgstr ""
4742
 
@@ -4972,11 +4973,11 @@ msgstr ""
4972
  msgid "Order &ndash; %s"
4973
  msgstr ""
4974
 
4975
- #: includes/wc-template.php:173
4976
  msgid "— No change —"
4977
  msgstr ""
4978
 
4979
- #: includes/wc-template.php:284
4980
  msgid "Go to Vendor Dashboard"
4981
  msgstr ""
4982
 
@@ -6460,7 +6461,7 @@ msgid "Price"
6460
  msgstr ""
6461
 
6462
  #: templates/emails/vendor-completed-order.php:84
6463
- #: templates/emails/vendor-new-order.php:84 templates/sub-orders.php:19
6464
  msgid "Note:"
6465
  msgstr ""
6466
 
@@ -6596,14 +6597,14 @@ msgstr ""
6596
  #: templates/my-orders.php:28 templates/orders/listing.php:59
6597
  #: templates/orders/listing.php:117
6598
  #: templates/products/products-listing-row.php:127
6599
- #: templates/products/products-listing.php:110 templates/sub-orders.php:29
6600
  #: templates/withdraw/approved-request-listing.php:16
6601
  #: templates/withdraw/cancelled-request-listing.php:16
6602
  #: templates/withdraw/pending-request-listing.php:16
6603
  msgid "Date"
6604
  msgstr ""
6605
 
6606
- #: templates/my-orders.php:55 templates/sub-orders.php:62
6607
  msgid "%s for %s item"
6608
  msgid_plural "%s for %s items"
6609
  msgstr[0] ""
@@ -6778,7 +6779,7 @@ msgstr ""
6778
  msgid "Customer"
6779
  msgstr ""
6780
 
6781
- #: templates/orders/listing.php:61 templates/sub-orders.php:32
6782
  msgid "Shipment"
6783
  msgstr ""
6784
 
@@ -6805,7 +6806,7 @@ msgstr ""
6805
  msgid "%s ago"
6806
  msgstr ""
6807
 
6808
- #: templates/orders/listing.php:136 templates/sub-orders.php:57
6809
  msgid "Shipping Status"
6810
  msgstr ""
6811
 
@@ -7496,11 +7497,11 @@ msgstr ""
7496
  msgid "No products were found of this vendor!"
7497
  msgstr ""
7498
 
7499
- #: templates/sub-orders.php:15
7500
  msgid "Sub Orders"
7501
  msgstr ""
7502
 
7503
- #: templates/sub-orders.php:20
7504
  msgid ""
7505
  "This order has products from multiple vendors. So we divided this order "
7506
  "into multiple vendor orders.\n"
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Dokan 3.2.12\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2021-09-13 04:05:52+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
114
  msgstr ""
115
 
116
  #: includes/Admin/AdminBar.php:54 includes/Admin/Menu.php:43
117
+ #: includes/Admin/Settings.php:516 includes/Install/Installer.php:157
118
  #: includes/template-tags.php:386 src/admin/pages/Dashboard.vue:5
119
  msgid "Dashboard"
120
  msgstr ""
136
 
137
  #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
138
  #: includes/Admin/Hooks.php:357 includes/Admin/Hooks.php:379
139
+ #: includes/Admin/Settings.php:417 includes/Admin/Settings.php:428
140
  #: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:93
141
+ #: includes/wc-template.php:17 includes/wc-template.php:167
142
+ #: includes/wc-template.php:316 src/admin/pages/Dashboard.vue:38
143
  #: src/admin/pages/Dashboard.vue:47 templates/my-orders.php:31
144
  msgid "Vendor"
145
  msgstr ""
334
  msgid "You have no permission to get settings value"
335
  msgstr ""
336
 
337
+ #: includes/Admin/Settings.php:94 includes/Admin/Settings.php:721
338
  msgid "You are not authorized to perform this action."
339
  msgstr ""
340
 
358
  msgid "Appearance"
359
  msgstr ""
360
 
361
+ #: includes/Admin/Settings.php:295 includes/Admin/Settings.php:657
362
  msgid "Privacy Policy"
363
  msgstr ""
364
 
365
+ #: includes/Admin/Settings.php:317 includes/Admin/SetupWizard.php:524
366
+ #: includes/Dashboard/Templates/Dashboard.php:101
367
+ #: includes/Order/functions.php:556 templates/dashboard/orders-widget.php:26
368
+ msgid "Completed"
369
+ msgstr ""
370
+
371
+ #: includes/Admin/Settings.php:318 includes/Admin/SetupWizard.php:530
372
+ #: includes/Dashboard/Templates/Dashboard.php:111
373
+ #: includes/Order/functions.php:571 templates/dashboard/orders-widget.php:36
374
+ #: templates/orders/listing.php:151
375
+ msgid "Processing"
376
+ msgstr ""
377
+
378
+ #: includes/Admin/Settings.php:319 includes/Order/functions.php:566
379
+ msgid "On-hold"
380
+ msgstr ""
381
+
382
+ #: includes/Admin/Settings.php:327
383
  msgid "Site Options"
384
  msgstr ""
385
 
386
+ #: includes/Admin/Settings.php:332
387
  msgid "Admin area access"
388
  msgstr ""
389
 
390
+ #: includes/Admin/Settings.php:333
391
  msgid "Disallow Vendors and Customers from accessing the wp-admin dashboard area"
392
  msgstr ""
393
 
394
+ #: includes/Admin/Settings.php:339
395
  #: templates/admin-setup-wizard/step-store.php:7
396
  msgid "Vendor Store URL"
397
  msgstr ""
398
 
399
+ #: includes/Admin/Settings.php:341
400
  #. translators: %s: store url
401
  msgid "Define the Vendor store URL (%s<strong>[this-text]</strong>/[vendor-name])"
402
  msgstr ""
403
 
404
+ #: includes/Admin/Settings.php:347
405
  msgid "Vendor Setup Wizard Logo"
406
  msgstr ""
407
 
408
+ #: includes/Admin/Settings.php:349
409
  msgid ""
410
  "Recommended Logo size ( 270px X 90px ). If no logo is uploaded, site title "
411
  "is shown by default."
412
  msgstr ""
413
 
414
+ #: includes/Admin/Settings.php:353
415
  msgid "Disable Welcome Wizard"
416
  msgstr ""
417
 
418
+ #: includes/Admin/Settings.php:354
419
  msgid "Disable welcome wizard for newly registered vendors"
420
  msgstr ""
421
 
422
+ #: includes/Admin/Settings.php:365
423
  msgid "Vendor Store Options"
424
  msgstr ""
425
 
426
+ #: includes/Admin/Settings.php:370
427
  msgid "Store Terms and Conditions"
428
  msgstr ""
429
 
430
+ #: includes/Admin/Settings.php:371
431
  msgid "Enable Terms and Conditions for vendor stores"
432
  msgstr ""
433
 
434
+ #: includes/Admin/Settings.php:377 includes/Vendor/SetupWizard.php:185
435
  #: templates/settings/store-form.php:125
436
  msgid "Store Products Per Page"
437
  msgstr ""
438
 
439
+ #: includes/Admin/Settings.php:378
440
  msgid ""
441
  "Set how many products to display per page on the vendor store page. It will "
442
  "affect only if the vendor isn't set this value on their vendor setting page."
443
  msgstr ""
444
 
445
+ #: includes/Admin/Settings.php:389
446
  msgid "Commission"
447
  msgstr ""
448
 
449
+ #: includes/Admin/Settings.php:394
450
  msgid "Commission Type "
451
  msgstr ""
452
 
453
+ #: includes/Admin/Settings.php:395
454
  msgid "Select a commission type for Vendor"
455
  msgstr ""
456
 
457
+ #: includes/Admin/Settings.php:402 src/admin/pages/VendorPaymentFields.vue:69
458
  #: src/admin/pages/VendorPaymentFields.vue:78
459
  #: templates/admin-setup-wizard/step-selling.php:31
460
  msgid "Admin Commission"
461
  msgstr ""
462
 
463
+ #: includes/Admin/Settings.php:403
464
  msgid "Amount you get from each sale"
465
  msgstr ""
466
 
467
+ #: includes/Admin/Settings.php:413
468
  #: templates/admin-setup-wizard/step-store.php:14
469
  msgid "Shipping Fee Recipient"
470
  msgstr ""
471
 
472
+ #: includes/Admin/Settings.php:414
473
  msgid "Who will be receiving the Shipping fees"
474
  msgstr ""
475
 
476
+ #: includes/Admin/Settings.php:418 includes/Admin/Settings.php:429
477
  #: includes/Admin/SetupWizard.php:346
478
  msgid "Admin"
479
  msgstr ""
480
 
481
+ #: includes/Admin/Settings.php:424
482
  #: templates/admin-setup-wizard/step-store.php:28
483
  msgid "Tax Fee Recipient"
484
  msgstr ""
485
 
486
+ #: includes/Admin/Settings.php:425
487
  msgid "Who will be receiving the Tax fees"
488
  msgstr ""
489
 
490
+ #: includes/Admin/Settings.php:440
491
  msgid "Vendor Capability"
492
  msgstr ""
493
 
494
+ #: includes/Admin/Settings.php:445
495
  msgid "New Vendor Product Upload"
496
  msgstr ""
497
 
498
+ #: includes/Admin/Settings.php:446
499
  msgid "Allow newly registered vendors to add products"
500
  msgstr ""
501
 
502
+ #: includes/Admin/Settings.php:452
503
  msgid "Disable Product Popup"
504
  msgstr ""
505
 
506
+ #: includes/Admin/Settings.php:453
507
  msgid "Disable add new product in popup view"
508
  msgstr ""
509
 
510
+ #: includes/Admin/Settings.php:459 src/admin/pages/VendorCapabilities.vue:89
511
  #: templates/admin-setup-wizard/step-selling.php:39
512
  msgid "Order Status Change"
513
  msgstr ""
514
 
515
+ #: includes/Admin/Settings.php:460
516
  msgid "Allow vendor to update order status"
517
  msgstr ""
518
 
519
+ #: includes/Admin/Settings.php:479 includes/Admin/SetupWizard.php:474
520
  msgid "Withdraw Methods"
521
  msgstr ""
522
 
523
+ #: includes/Admin/Settings.php:480
524
  msgid "Select suitable Withdraw methods for Vendors"
525
  msgstr ""
526
 
527
+ #: includes/Admin/Settings.php:487 includes/Admin/SetupWizard.php:511
528
  msgid "Minimum Withdraw Limit"
529
  msgstr ""
530
 
531
+ #: includes/Admin/Settings.php:488
532
  msgid ""
533
  "Minimum balance required to make a withdraw request. Leave blank to set no "
534
  "minimum limits."
535
  msgstr ""
536
 
537
+ #: includes/Admin/Settings.php:497 includes/Admin/SetupWizard.php:518
538
  msgid "Order Status for Withdraw"
539
  msgstr ""
540
 
541
+ #: includes/Admin/Settings.php:498 includes/Admin/SetupWizard.php:535
542
  msgid "Order status for which vendor can make a withdraw request."
543
  msgstr ""
544
 
545
+ #: includes/Admin/Settings.php:507
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
546
  msgid "Exclude COD Payments"
547
  msgstr ""
548
 
549
+ #: includes/Admin/Settings.php:508
550
  msgid ""
551
  "If an order is paid with Cash on Delivery (COD), then exclude that payment "
552
  "from vendor balance."
553
  msgstr ""
554
 
555
+ #: includes/Admin/Settings.php:517
556
  msgid "Select a page to show Vendor Dashboard"
557
  msgstr ""
558
 
559
+ #: includes/Admin/Settings.php:519 includes/Admin/Settings.php:527
560
+ #: includes/Admin/Settings.php:535 includes/Admin/Settings.php:542
561
+ #: includes/Admin/Settings.php:652
562
  msgid "Select page"
563
  msgstr ""
564
 
565
+ #: includes/Admin/Settings.php:524 includes/Install/Installer.php:169
566
  #: templates/global/header-menu.php:46
567
  msgid "My Orders"
568
  msgstr ""
569
 
570
+ #: includes/Admin/Settings.php:525
571
  msgid "Select a page to show My Orders"
572
  msgstr ""
573
 
574
+ #: includes/Admin/Settings.php:532
575
  msgid "Store Listing"
576
  msgstr ""
577
 
578
+ #: includes/Admin/Settings.php:533
579
  msgid "Select a page to show all Stores"
580
  msgstr ""
581
 
582
+ #: includes/Admin/Settings.php:540
583
  msgid "Terms and Conditions Page"
584
  msgstr ""
585
 
586
+ #: includes/Admin/Settings.php:545
587
  #. translators: %s: dokan pages
588
  msgid ""
589
  "Select where you want to add Dokan pages <a target=\"_blank\" href=\"%s\"> "
590
  "Learn More </a>"
591
  msgstr ""
592
 
593
+ #: includes/Admin/Settings.php:551
594
  msgid "Show Map on Store Page"
595
  msgstr ""
596
 
597
+ #: includes/Admin/Settings.php:552
598
  msgid "Enable Map of the Store Location in the store sidebar"
599
  msgstr ""
600
 
601
+ #: includes/Admin/Settings.php:558
602
  #: templates/admin-setup-wizard/step-store.php:42
603
  msgid "Map API Source"
604
  msgstr ""
605
 
606
+ #: includes/Admin/Settings.php:559
607
  #: templates/admin-setup-wizard/step-store.php:52
608
  msgid "Which Map API source you want to use in your site?"
609
  msgstr ""
610
 
611
+ #: includes/Admin/Settings.php:564 includes/Admin/SetupWizard.php:359
612
  #: src/admin/pages/Premium.vue:388
613
  msgid "Google Maps"
614
  msgstr ""
615
 
616
+ #: includes/Admin/Settings.php:565 includes/Admin/SetupWizard.php:360
617
  msgid "Mapbox"
618
  msgstr ""
619
 
620
+ #: includes/Admin/Settings.php:575
621
  #: templates/admin-setup-wizard/step-store.php:56
622
  msgid "Google Map API Key"
623
  msgstr ""
624
 
625
+ #: includes/Admin/Settings.php:576
626
  msgid ""
627
  "<a href=\"https://developers.google.com/maps/documentation/javascript/\" "
628
  "target=\"_blank\" rel=\"noopener noreferrer\">API Key</a> is needed to "
629
  "display map on store page"
630
  msgstr ""
631
 
632
+ #: includes/Admin/Settings.php:586
633
  #: templates/admin-setup-wizard/step-store.php:71
634
  msgid "Mapbox Access Token"
635
  msgstr ""
636
 
637
+ #: includes/Admin/Settings.php:587
638
  #: templates/admin-setup-wizard/step-store.php:75
639
  msgid ""
640
  "<a href=\"https://docs.mapbox.com/help/how-mapbox-works/access-tokens/\" "
642
  "display map on store page"
643
  msgstr ""
644
 
645
+ #: includes/Admin/Settings.php:592
646
  msgid "Show Contact Form on Store Page"
647
  msgstr ""
648
 
649
+ #: includes/Admin/Settings.php:593
650
  msgid "Display a vendor contact form in the store sidebar"
651
  msgstr ""
652
 
653
+ #: includes/Admin/Settings.php:599
654
  msgid "Store Header Template"
655
  msgstr ""
656
 
657
+ #: includes/Admin/Settings.php:611
658
  msgid "Store Opening Closing Time Widget"
659
  msgstr ""
660
 
661
+ #: includes/Admin/Settings.php:612
662
  msgid "Enable store opening & closing time widget in the store sidebar"
663
  msgstr ""
664
 
665
+ #: includes/Admin/Settings.php:618
666
  msgid "Enable Store Sidebar From Theme"
667
  msgstr ""
668
 
669
+ #: includes/Admin/Settings.php:619
670
  msgid "Enable showing Store Sidebar From Your Theme."
671
  msgstr ""
672
 
673
+ #: includes/Admin/Settings.php:625
674
  msgid "Hide Vendor Info"
675
  msgstr ""
676
 
677
+ #: includes/Admin/Settings.php:633
678
  msgid "Email Address"
679
  msgstr ""
680
 
681
+ #: includes/Admin/Settings.php:634 includes/Admin/UserProfile.php:212
682
  #: src/admin/pages/VendorAccountFields.vue:65
683
  #: templates/account/vendor-registration.php:33
684
  #: templates/global/seller-registration-form.php:43
685
  msgid "Phone Number"
686
  msgstr ""
687
 
688
+ #: includes/Admin/Settings.php:635
689
  msgid "Store Address"
690
  msgstr ""
691
 
692
+ #: includes/Admin/Settings.php:642
693
  msgid "Enable Privacy Policy"
694
  msgstr ""
695
 
696
+ #: includes/Admin/Settings.php:644
697
  msgid "Enable privacy policy for Vendor store contact form"
698
  msgstr ""
699
 
700
+ #: includes/Admin/Settings.php:649
701
  msgid "Privacy Page"
702
  msgstr ""
703
 
704
+ #: includes/Admin/Settings.php:651
705
  msgid "Select a page to show your privacy policy"
706
  msgstr ""
707
 
708
+ #: includes/Admin/Settings.php:660 includes/functions.php:3603
709
  msgid ""
710
  "Your personal data will be used to support your experience throughout this "
711
  "website, to manage access to your account, and for other purposes described "
712
  "in our [dokan_privacy_policy]"
713
  msgstr ""
714
 
715
+ #: includes/Admin/Settings.php:733
716
  msgid "Both section and field params are required."
717
  msgstr ""
718
 
719
+ #: includes/Admin/Settings.php:742
720
  msgid "No filter found to refresh the setting options"
721
  msgstr ""
722
 
2732
  #: includes/Product/functions.php:187 templates/my-orders.php:29
2733
  #: templates/orders/listing.php:57 templates/orders/listing.php:92
2734
  #: templates/products/products-listing-row.php:58
2735
+ #: templates/products/products-listing.php:100 templates/sub-orders.php:42
2736
  #: templates/withdraw/pending-request-listing.php:18
2737
  msgid "Status"
2738
  msgstr ""
2900
  msgstr ""
2901
 
2902
  #: includes/Product/functions.php:475 templates/my-orders.php:88
2903
+ #: templates/orders/listing.php:169 templates/sub-orders.php:82
2904
  msgid "View"
2905
  msgstr ""
2906
 
2961
  #: includes/REST/AdminReportController.php:142
2962
  #: templates/dashboard/orders-widget.php:21
2963
  #: templates/dashboard/products-widget.php:26 templates/my-orders.php:30
2964
+ #: templates/orders/order-fee-html.php:17 templates/sub-orders.php:46
2965
  msgid "Total"
2966
  msgstr ""
2967
 
2978
  #: includes/REST/StoreController.php:138 includes/REST/StoreController.php:172
2979
  #: includes/REST/StoreController.php:204
2980
  #: includes/REST/WithdrawController.php:78
2981
+ #: includes/REST/WithdrawController.php:692
2982
  msgid "Unique identifier for the object."
2983
  msgstr ""
2984
 
3947
  msgid "No items found for bulk updating"
3948
  msgstr ""
3949
 
3950
+ #: includes/REST/StoreSettingController.php:106
3951
+ #: includes/REST/WithdrawController.php:256
3952
+ #: includes/REST/WithdrawController.php:333
3953
+ msgid "No vendor found"
3954
+ msgstr ""
3955
+
3956
+ #: includes/REST/StoreSettingController.php:124
3957
  msgid "You are not logged in"
3958
  msgstr ""
3959
 
3965
  msgid "Withdraw not found"
3966
  msgstr ""
3967
 
 
 
 
 
 
3968
  #: includes/REST/WithdrawController.php:323
3969
  msgid "User does not have permission to withdraw"
3970
  msgstr ""
3971
 
3972
+ #: includes/REST/WithdrawController.php:698
3973
  msgid "Requested User"
3974
  msgstr ""
3975
 
3976
+ #: includes/REST/WithdrawController.php:705
3977
  msgid "Requested User ID"
3978
  msgstr ""
3979
 
3980
+ #: includes/REST/WithdrawController.php:711
3981
  msgid ""
3982
  "The amount of discount. Should always be numeric, even if setting a "
3983
  "percentage."
3984
  msgstr ""
3985
 
3986
+ #: includes/REST/WithdrawController.php:716
3987
  msgid "The date the withdraw request has beed created in the site's timezone."
3988
  msgstr ""
3989
 
3990
+ #: includes/REST/WithdrawController.php:723
3991
  msgid "Withdraw status"
3992
  msgstr ""
3993
 
3994
+ #: includes/REST/WithdrawController.php:731
3995
  msgid "Withdraw Method"
3996
  msgstr ""
3997
 
3998
+ #: includes/REST/WithdrawController.php:738
3999
  msgid "Withdraw Notes"
4000
  msgstr ""
4001
 
4002
+ #: includes/REST/WithdrawController.php:744
4003
  msgid "User IP"
4004
  msgstr ""
4005
 
4006
+ #: includes/REST/WithdrawController.php:770
4007
  msgid "List of withdraw IDs to be approved"
4008
  msgstr ""
4009
 
4010
+ #: includes/REST/WithdrawController.php:780
4011
  msgid "List of withdraw IDs to be cancelled"
4012
  msgstr ""
4013
 
4014
+ #: includes/REST/WithdrawController.php:790
4015
  msgid "List of withdraw IDs to be deleted"
4016
  msgstr ""
4017
 
4367
  msgid "Could not update withdraw status"
4368
  msgstr ""
4369
 
4370
+ #: includes/Withdraw/Manager.php:175
4371
  msgid "Could not add new withdraw approval request."
4372
  msgstr ""
4373
 
4374
+ #: includes/Withdraw/Withdraw.php:309
4375
  msgid "Could not create new withdraw"
4376
  msgstr ""
4377
 
4378
+ #: includes/Withdraw/Withdraw.php:355
4379
  msgid "Could not update withdraw"
4380
  msgstr ""
4381
 
4382
+ #: includes/Withdraw/Withdraw.php:396
4383
  msgid "Could not delete withdraw"
4384
  msgstr ""
4385
 
4737
  #: includes/functions.php:3028 templates/dashboard/big-counter-widget.php:29
4738
  #: templates/my-orders.php:27 templates/orders/details.php:22
4739
  #: templates/orders/listing.php:54 templates/orders/listing.php:77
4740
+ #: templates/sub-orders.php:40
4741
  msgid "Order"
4742
  msgstr ""
4743
 
4973
  msgid "Order &ndash; %s"
4974
  msgstr ""
4975
 
4976
+ #: includes/wc-template.php:174
4977
  msgid "— No change —"
4978
  msgstr ""
4979
 
4980
+ #: includes/wc-template.php:285
4981
  msgid "Go to Vendor Dashboard"
4982
  msgstr ""
4983
 
6461
  msgstr ""
6462
 
6463
  #: templates/emails/vendor-completed-order.php:84
6464
+ #: templates/emails/vendor-new-order.php:84 templates/sub-orders.php:23
6465
  msgid "Note:"
6466
  msgstr ""
6467
 
6597
  #: templates/my-orders.php:28 templates/orders/listing.php:59
6598
  #: templates/orders/listing.php:117
6599
  #: templates/products/products-listing-row.php:127
6600
+ #: templates/products/products-listing.php:110 templates/sub-orders.php:41
6601
  #: templates/withdraw/approved-request-listing.php:16
6602
  #: templates/withdraw/cancelled-request-listing.php:16
6603
  #: templates/withdraw/pending-request-listing.php:16
6604
  msgid "Date"
6605
  msgstr ""
6606
 
6607
+ #: templates/my-orders.php:55 templates/sub-orders.php:74
6608
  msgid "%s for %s item"
6609
  msgid_plural "%s for %s items"
6610
  msgstr[0] ""
6779
  msgid "Customer"
6780
  msgstr ""
6781
 
6782
+ #: templates/orders/listing.php:61 templates/sub-orders.php:44
6783
  msgid "Shipment"
6784
  msgstr ""
6785
 
6806
  msgid "%s ago"
6807
  msgstr ""
6808
 
6809
+ #: templates/orders/listing.php:136 templates/sub-orders.php:69
6810
  msgid "Shipping Status"
6811
  msgstr ""
6812
 
7497
  msgid "No products were found of this vendor!"
7498
  msgstr ""
7499
 
7500
+ #: templates/sub-orders.php:19
7501
  msgid "Sub Orders"
7502
  msgstr ""
7503
 
7504
+ #: templates/sub-orders.php:31
7505
  msgid ""
7506
  "This order has products from multiple vendors. So we divided this order "
7507
  "into multiple vendor orders.\n"
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.8
7
  WC requires at least: 3.0
8
  WC tested up to: 5.6.0
9
  Requires PHP: 5.6
10
- Stable tag: 3.2.11
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -292,6 +292,16 @@ A. Just install and activate the PRO version without deleting the free plugin. A
292
 
293
  == Changelog ==
294
 
 
 
 
 
 
 
 
 
 
 
295
  = v3.2.11 ( Aug 31, 2021 ) =
296
 
297
  - **new:** Added new shortcode attribute named random to display store list randomly [dokan-stores orderby="random"]
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.8.1
7
  WC requires at least: 3.0
8
  WC tested up to: 5.6.0
9
  Requires PHP: 5.6
10
+ Stable tag: 3.2.12
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.12 ( Sep 13, 2021 ) =
296
+
297
+ - ***new*** Withdraw details keep save as log
298
+ - ***new*** Vendor settings update REST api support
299
+ - ***new*** New Filter hook added for Order status list allowed for withdrawal 'dokan_settings_withdraw_order_status_options'
300
+ - ***fix*** Check if pagination_base post is empty
301
+ - ***fix*** Single store page map hide based on setting
302
+ - ***fix*** added upgrader to reassign dokan_store_name meta because it was missing for some vendor
303
+ - ***fix*** JS deprecated warnings fixed
304
+
305
  = v3.2.11 ( Aug 31, 2021 ) =
306
 
307
  - **new:** Added new shortcode attribute named random to display store list randomly [dokan-stores orderby="random"]
templates/settings/store-form.php CHANGED
@@ -443,7 +443,7 @@
443
  $(function() {
444
  dokan_address_select.init();
445
 
446
- $('#setting_phone').keydown(function(e) {
447
  // Allow: backspace, delete, tab, escape, enter and .
448
  if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 91, 107, 109, 110, 187, 189, 190]) !== -1 ||
449
  // Allow: Ctrl+A
443
  $(function() {
444
  dokan_address_select.init();
445
 
446
+ $('#setting_phone').on( 'keydown', function(e) {
447
  // Allow: backspace, delete, tab, escape, enter and .
448
  if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 91, 107, 109, 110, 187, 189, 190]) !== -1 ||
449
  // Allow: Ctrl+A
templates/sub-orders.php CHANGED
@@ -5,6 +5,10 @@
5
  * @since 2.4
6
  *
7
  * @package dokan
 
 
 
 
8
  */
9
 
10
  $allow_shipment = dokan_get_option( 'enabled', 'dokan_shipping_status_setting', 'off' );
@@ -17,8 +21,16 @@ $wc_shipping_enabled = get_option( 'woocommerce_calc_shipping' ) === 'yes' ? tru
17
 
18
  <div class="dokan-info">
19
  <strong><?php esc_html_e( 'Note:', 'dokan-lite' ); ?></strong>
20
- <?php esc_html_e( 'This order has products from multiple vendors. So we divided this order into multiple vendor orders.
21
- Each order will be handled by their respective vendor independently.', 'dokan-lite' ); ?>
 
 
 
 
 
 
 
 
22
  </div>
23
 
24
  <table class="shop_table my_account_orders table table-striped">
5
  * @since 2.4
6
  *
7
  * @package dokan
8
+ *
9
+ * @var WC_Order $parent_order
10
+ * @var WC_Order[] $sub_orders
11
+ * @var array $statuses
12
  */
13
 
14
  $allow_shipment = dokan_get_option( 'enabled', 'dokan_shipping_status_setting', 'off' );
21
 
22
  <div class="dokan-info">
23
  <strong><?php esc_html_e( 'Note:', 'dokan-lite' ); ?></strong>
24
+ <?php
25
+ /**
26
+ * @since 3.2.12 added filter dokan_suborder_notice_to_customer
27
+ * @args WC_Order $parent_order
28
+ * @args WC_Order[] $sub_orders
29
+ * @args array $statuses
30
+ */
31
+ echo apply_filters( 'dokan_suborder_notice_to_customer', esc_html__( 'This order has products from multiple vendors. So we divided this order into multiple vendor orders.
32
+ Each order will be handled by their respective vendor independently.', 'dokan-lite' ), $parent_order, $sub_orders, $statuses );
33
+ ?>
34
  </div>
35
 
36
  <table class="shop_table my_account_orders table table-striped">
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInite42d5a1cd3978c0283596d76bf965652::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit34889ad9963da1c225716d894965ec77::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -127,6 +127,7 @@ return array(
127
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_0_4' => $baseDir . '/includes/Upgrade/Upgrades/V_3_0_4.php',
128
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_1_0' => $baseDir . '/includes/Upgrade/Upgrades/V_3_1_0.php',
129
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_1_1' => $baseDir . '/includes/Upgrade/Upgrades/V_3_1_1.php',
 
130
  'WeDevs\\Dokan\\Vendor\\Manager' => $baseDir . '/includes/Vendor/Manager.php',
131
  'WeDevs\\Dokan\\Vendor\\SetupWizard' => $baseDir . '/includes/Vendor/SetupWizard.php',
132
  'WeDevs\\Dokan\\Vendor\\StoreListsFilter' => $baseDir . '/includes/Vendor/StoreListsFilter.php',
127
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_0_4' => $baseDir . '/includes/Upgrade/Upgrades/V_3_0_4.php',
128
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_1_0' => $baseDir . '/includes/Upgrade/Upgrades/V_3_1_0.php',
129
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_1_1' => $baseDir . '/includes/Upgrade/Upgrades/V_3_1_1.php',
130
+ 'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_2_12' => $baseDir . '/includes/Upgrade/Upgrades/V_3_2_12.php',
131
  'WeDevs\\Dokan\\Vendor\\Manager' => $baseDir . '/includes/Vendor/Manager.php',
132
  'WeDevs\\Dokan\\Vendor\\SetupWizard' => $baseDir . '/includes/Vendor/SetupWizard.php',
133
  'WeDevs\\Dokan\\Vendor\\StoreListsFilter' => $baseDir . '/includes/Vendor/StoreListsFilter.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInite42d5a1cd3978c0283596d76bf965652
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInite42d5a1cd3978c0283596d76bf965652
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInite42d5a1cd3978c0283596d76bf965652', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInite42d5a1cd3978c0283596d76bf965652', '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\ComposerStaticInite42d5a1cd3978c0283596d76bf965652::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInite42d5a1cd3978c0283596d76bf965652
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInite42d5a1cd3978c0283596d76bf965652::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequiree42d5a1cd3978c0283596d76bf965652($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequiree42d5a1cd3978c0283596d76bf965652($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit34889ad9963da1c225716d894965ec77
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit34889ad9963da1c225716d894965ec77', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit34889ad9963da1c225716d894965ec77', '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\ComposerStaticInit34889ad9963da1c225716d894965ec77::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInit34889ad9963da1c225716d894965ec77::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire34889ad9963da1c225716d894965ec77($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire34889ad9963da1c225716d894965ec77($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInite42d5a1cd3978c0283596d76bf965652
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
@@ -154,6 +154,7 @@ class ComposerStaticInite42d5a1cd3978c0283596d76bf965652
154
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_0_4' => __DIR__ . '/../..' . '/includes/Upgrade/Upgrades/V_3_0_4.php',
155
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_1_0' => __DIR__ . '/../..' . '/includes/Upgrade/Upgrades/V_3_1_0.php',
156
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_1_1' => __DIR__ . '/../..' . '/includes/Upgrade/Upgrades/V_3_1_1.php',
 
157
  'WeDevs\\Dokan\\Vendor\\Manager' => __DIR__ . '/../..' . '/includes/Vendor/Manager.php',
158
  'WeDevs\\Dokan\\Vendor\\SetupWizard' => __DIR__ . '/../..' . '/includes/Vendor/SetupWizard.php',
159
  'WeDevs\\Dokan\\Vendor\\StoreListsFilter' => __DIR__ . '/../..' . '/includes/Vendor/StoreListsFilter.php',
@@ -182,9 +183,9 @@ class ComposerStaticInite42d5a1cd3978c0283596d76bf965652
182
  public static function getInitializer(ClassLoader $loader)
183
  {
184
  return \Closure::bind(function () use ($loader) {
185
- $loader->prefixLengthsPsr4 = ComposerStaticInite42d5a1cd3978c0283596d76bf965652::$prefixLengthsPsr4;
186
- $loader->prefixDirsPsr4 = ComposerStaticInite42d5a1cd3978c0283596d76bf965652::$prefixDirsPsr4;
187
- $loader->classMap = ComposerStaticInite42d5a1cd3978c0283596d76bf965652::$classMap;
188
 
189
  }, null, ClassLoader::class);
190
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit34889ad9963da1c225716d894965ec77
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
154
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_0_4' => __DIR__ . '/../..' . '/includes/Upgrade/Upgrades/V_3_0_4.php',
155
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_1_0' => __DIR__ . '/../..' . '/includes/Upgrade/Upgrades/V_3_1_0.php',
156
  'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_1_1' => __DIR__ . '/../..' . '/includes/Upgrade/Upgrades/V_3_1_1.php',
157
+ 'WeDevs\\Dokan\\Upgrade\\Upgrades\\V_3_2_12' => __DIR__ . '/../..' . '/includes/Upgrade/Upgrades/V_3_2_12.php',
158
  'WeDevs\\Dokan\\Vendor\\Manager' => __DIR__ . '/../..' . '/includes/Vendor/Manager.php',
159
  'WeDevs\\Dokan\\Vendor\\SetupWizard' => __DIR__ . '/../..' . '/includes/Vendor/SetupWizard.php',
160
  'WeDevs\\Dokan\\Vendor\\StoreListsFilter' => __DIR__ . '/../..' . '/includes/Vendor/StoreListsFilter.php',
183
  public static function getInitializer(ClassLoader $loader)
184
  {
185
  return \Closure::bind(function () use ($loader) {
186
+ $loader->prefixLengthsPsr4 = ComposerStaticInit34889ad9963da1c225716d894965ec77::$prefixLengthsPsr4;
187
+ $loader->prefixDirsPsr4 = ComposerStaticInit34889ad9963da1c225716d894965ec77::$prefixDirsPsr4;
188
+ $loader->classMap = ComposerStaticInit34889ad9963da1c225716d894965ec77::$classMap;
189
 
190
  }, null, ClassLoader::class);
191
  }