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

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.0
Comparing to
See all releases

Code changes from version 3.1.2 to 3.2.0

Files changed (41) hide show
  1. assets/css/style.css +70 -4
  2. assets/images/no-product-found.svg +36 -0
  3. assets/images/withdraw-request-promo.svg +1 -0
  4. assets/js/dokan.js +31 -2
  5. assets/js/vue-admin.js +1 -1
  6. assets/js/vue-admin.min.js +1 -1
  7. dokan.php +3 -3
  8. includes/Admin/LimitedTimePromotion.php +76 -47
  9. includes/Admin/Settings.php +7 -1
  10. includes/Admin/SetupWizard.php +1 -1
  11. includes/Ajax.php +1 -1
  12. includes/Assets.php +1 -0
  13. includes/Dashboard/Templates/Products.php +1 -1
  14. includes/Dashboard/Templates/Settings.php +11 -4
  15. includes/REST/OrderController.php +3 -3
  16. includes/REST/ProductController.php +1 -1
  17. includes/REST/StoreController.php +4 -2
  18. includes/Registration.php +1 -1
  19. includes/Rewrites.php +3 -2
  20. includes/Shortcodes/BestSellingProduct.php +2 -2
  21. includes/Shortcodes/TopRatedProduct.php +1 -1
  22. includes/Vendor/Manager.php +1 -0
  23. includes/Vendor/SetupWizard.php +2 -2
  24. includes/Vendor/Vendor.php +5 -1
  25. includes/Withdraw/Manager.php +16 -9
  26. includes/functions.php +3 -3
  27. includes/template-tags.php +1 -2
  28. includes/wc-functions.php +26 -5
  29. languages/dokan-lite.pot +227 -201
  30. readme.txt +27 -2
  31. templates/global/seller-registration-form.php +10 -10
  32. templates/maps/mapbox-with-search.php +20 -3
  33. templates/products/new-product-single.php +3 -2
  34. templates/products/products-listing.php +196 -161
  35. templates/products/tmpl-add-product-popup.php +1 -2
  36. templates/settings/header.php +12 -4
  37. templates/settings/store-form.php +1 -1
  38. templates/store-lists-loop.php +13 -1
  39. vendor/autoload.php +1 -1
  40. vendor/composer/autoload_real.php +4 -4
  41. vendor/composer/autoload_static.php +4 -4
assets/css/style.css CHANGED
@@ -3539,6 +3539,18 @@ div.media-sidebar a.edit-attachment {
3539
  max-width: 690px;
3540
  margin: 20px auto;
3541
  }
 
 
 
 
 
 
 
 
 
 
 
 
3542
  .dokan-add-new-product-popup h2 {
3543
  padding: 0px 20px 16px;
3544
  border-bottom: 1px solid #eee;
@@ -3727,11 +3739,32 @@ div.media-sidebar a.edit-attachment {
3727
  vertical-align: middle;
3728
  float: left;
3729
  display: block;
3730
- width: 55%;
3731
  }
3732
  .dokan-settings-content .dokan-settings-area {
3733
  position: relative;
3734
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3735
  .dokan-settings-content .dokan-settings-area h1 {
3736
  margin: 0px;
3737
  padding: 0px;
@@ -4227,7 +4260,7 @@ div.media-sidebar a.edit-attachment {
4227
  }
4228
  @media (min-width: 768px) and (max-width: 991px) {
4229
  #dokan-seller-listing-wrap ul.dokan-seller-wrap li {
4230
- width: 50%;
4231
  }
4232
  }
4233
  @media (min-width: 992px) {
@@ -4328,7 +4361,7 @@ div.media-sidebar a.edit-attachment {
4328
  position: absolute;
4329
  width: 80px;
4330
  height: 80px;
4331
- top: -40px;
4332
  right: 20px;
4333
  border-radius: 40px;
4334
  box-shadow: 0px 0px 30px -6px #afafaf;
@@ -4661,6 +4694,17 @@ div.media-sidebar a.edit-attachment {
4661
  padding: 5px 8px;
4662
  margin-bottom: 5px;
4663
  }
 
 
 
 
 
 
 
 
 
 
 
4664
  .dokan-popup-content {
4665
  padding: 18px;
4666
  }
@@ -5013,6 +5057,25 @@ div.media-sidebar a.edit-attachment {
5013
  #dokan-seller-listing-wrap .seller-listing-content .dokan-error {
5014
  margin: 15px;
5015
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5016
  #dokan-seller-listing-wrap .dokan-single-seller .store-wrapper .store-header .store-banner {
5017
  min-height: 220px;
5018
  position: relative;
@@ -5113,13 +5176,16 @@ div.media-sidebar a.edit-attachment {
5113
  #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-header {
5114
  flex-basis: 20%;
5115
  }
 
 
 
5116
  #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] {
5117
  display: flex;
5118
  flex-direction: row-reverse;
5119
  flex-basis: 33%;
5120
  border: none;
5121
  text-align: right;
5122
- background: #fff;
5123
  }
5124
  #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] a:active,
5125
  #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] a:focus {
3539
  max-width: 690px;
3540
  margin: 20px auto;
3541
  }
3542
+ .dokan-dashboard-not-product-found {
3543
+ text-align: center;
3544
+ margin-top: 50px;
3545
+ }
3546
+ .dokan-dashboard-not-product-found .no-product-found-icon {
3547
+ margin: 20px auto;
3548
+ max-width: 100%;
3549
+ }
3550
+ .dokan-dashboard-not-product-found .dokan-blank-product-message {
3551
+ font-size: 20px;
3552
+ margin-bottom: 20px;
3553
+ }
3554
  .dokan-add-new-product-popup h2 {
3555
  padding: 0px 20px 16px;
3556
  border-bottom: 1px solid #eee;
3739
  vertical-align: middle;
3740
  float: left;
3741
  display: block;
 
3742
  }
3743
  .dokan-settings-content .dokan-settings-area {
3744
  position: relative;
3745
  }
3746
+ .dokan-settings-content .dokan-settings-area .dokan-store-settign-header-wrap {
3747
+ width: 70%;
3748
+ float: left;
3749
+ }
3750
+ .dokan-settings-content .dokan-settings-area .dokan-update-setting-top {
3751
+ width: 30%;
3752
+ float: right;
3753
+ }
3754
+ .dokan-settings-content .dokan-settings-area .dokan-dashboard-header {
3755
+ margin: 0 0 10px 0;
3756
+ border-bottom: 1px solid #EDEDED;
3757
+ padding: 0 0 10px 0;
3758
+ }
3759
+ .dokan-settings-content .dokan-settings-area .dokan-dashboard-header h1 {
3760
+ margin: 0 0 0px 0;
3761
+ border-bottom: none;
3762
+ }
3763
+ .dokan-settings-content .dokan-settings-area .dokan-dashboard-header:after {
3764
+ content: "";
3765
+ display: table;
3766
+ clear: both;
3767
+ }
3768
  .dokan-settings-content .dokan-settings-area h1 {
3769
  margin: 0px;
3770
  padding: 0px;
4260
  }
4261
  @media (min-width: 768px) and (max-width: 991px) {
4262
  #dokan-seller-listing-wrap ul.dokan-seller-wrap li {
4263
+ width: 50% !important;
4264
  }
4265
  }
4266
  @media (min-width: 992px) {
4361
  position: absolute;
4362
  width: 80px;
4363
  height: 80px;
4364
+ top: -70px;
4365
  right: 20px;
4366
  border-radius: 40px;
4367
  box-shadow: 0px 0px 30px -6px #afafaf;
4694
  padding: 5px 8px;
4695
  margin-bottom: 5px;
4696
  }
4697
+ /*
4698
+ * template/global/seller-registration-form.php
4699
+ *
4700
+ */
4701
+ p.vendor-customer-registration .radio {
4702
+ display: inline-block;
4703
+ }
4704
+ p.vendor-customer-registration .radio:hover {
4705
+ cursor: pointer;
4706
+ color: #526b6f;
4707
+ }
4708
  .dokan-popup-content {
4709
  padding: 18px;
4710
  }
5057
  #dokan-seller-listing-wrap .seller-listing-content .dokan-error {
5058
  margin: 15px;
5059
  }
5060
+ #dokan-seller-listing-wrap .store_open_is_on {
5061
+ margin-top: 35px;
5062
+ }
5063
+ #dokan-seller-listing-wrap .dokan-store-is-open-close-status {
5064
+ padding: 0px 10px;
5065
+ display: block;
5066
+ border-radius: 30px;
5067
+ position: absolute;
5068
+ right: 15px;
5069
+ top: 15px;
5070
+ font-size: 14px;
5071
+ box-shadow: 0px 0px 25px -5px #afafaf;
5072
+ }
5073
+ #dokan-seller-listing-wrap .dokan-store-is-open-status {
5074
+ background-color: #1dbf73;
5075
+ }
5076
+ #dokan-seller-listing-wrap .dokan-store-is-closed-status {
5077
+ background-color: #999;
5078
+ }
5079
  #dokan-seller-listing-wrap .dokan-single-seller .store-wrapper .store-header .store-banner {
5080
  min-height: 220px;
5081
  position: relative;
5176
  #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-header {
5177
  flex-basis: 20%;
5178
  }
5179
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .dokan-store-is-open-close-status {
5180
+ color: #fff;
5181
+ }
5182
  #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] {
5183
  display: flex;
5184
  flex-direction: row-reverse;
5185
  flex-basis: 33%;
5186
  border: none;
5187
  text-align: right;
5188
+ background: transparent;
5189
  }
5190
  #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] a:active,
5191
  #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] a:focus {
assets/images/no-product-found.svg ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="120.293" height="120.293" viewBox="0 0 120.293 120.293">
2
+ <defs>
3
+ <linearGradient id="linear-gradient" x1="0.5" y1="1.295" x2="0.5" gradientUnits="objectBoundingBox">
4
+ <stop offset="0" stop-color="#00e3ae"/>
5
+ <stop offset="1" stop-color="#9be15d"/>
6
+ </linearGradient>
7
+ <linearGradient id="linear-gradient-2" x1="0.5" y1="0.24" x2="1" y2="1.755" gradientUnits="objectBoundingBox">
8
+ <stop offset="0" stop-color="#fad961"/>
9
+ <stop offset="1" stop-color="#f76b1c"/>
10
+ </linearGradient>
11
+ <filter id="Oval" x="34.295" y="18.977" width="51.704" height="51.704" filterUnits="userSpaceOnUse">
12
+ <feOffset dy="4" input="SourceAlpha"/>
13
+ <feGaussianBlur stdDeviation="3" result="blur"/>
14
+ <feFlood flood-opacity="0.118"/>
15
+ <feComposite operator="in" in2="blur"/>
16
+ <feComposite in="SourceGraphic"/>
17
+ </filter>
18
+ </defs>
19
+ <g id="No_Product_Found" data-name="No Product Found" transform="translate(-0.854)">
20
+ <circle id="Oval-2" data-name="Oval" cx="60.146" cy="60.146" r="60.146" transform="translate(0.854 0)" fill="#1abc9c" opacity="0.1"/>
21
+ <path id="Shape" d="M28.864,40.39a7.346,7.346,0,0,1-1.509-.157L6.767,35.9a.812.812,0,0,1-.647-.777L5.764,21.4a.818.818,0,0,1,.744-.833L24,19.026a.811.811,0,0,0,.682-.5l2.634-6.4a.787.787,0,0,1,.745-.506.8.8,0,0,1,.825.817V36.319l19.012-3.608V21.074a.816.816,0,0,1,.815-.815.833.833,0,0,1,.094.005l2.339.362a.815.815,0,0,1,.722.81V34.954a.818.818,0,0,1-.644.8L30.407,40.226A7.36,7.36,0,0,1,28.864,40.39ZM57.138,17.541l-.068,0L36.5,15.883a.817.817,0,0,1-.677-.474L28.8,0l23.11,4.16a.816.816,0,0,1,.6.464l5.365,11.763a.815.815,0,0,1-.739,1.154ZM.812,17.509a.815.815,0,0,1-.734-1.161L5.566,4.616a.817.817,0,0,1,.591-.456L28.8,0,22.172,14.942a.818.818,0,0,1-.663.481L.9,17.505A.852.852,0,0,1,.812,17.509Z" transform="translate(32.463 49.171)" fill="url(#linear-gradient)"/>
22
+ <g id="flaticon1547445770-svg" transform="translate(47.39 27.22)">
23
+ <g transform="matrix(1, 0, 0, 1, -46.54, -27.22)" filter="url(#Oval)">
24
+ <g id="Oval-3" data-name="Oval" transform="translate(46.54 27.22)" stroke="#fff" stroke-miterlimit="10" stroke-width="3.242" fill="url(#linear-gradient-2)">
25
+ <circle cx="13.61" cy="13.61" r="13.61" stroke="none"/>
26
+ <circle cx="13.61" cy="13.61" r="15.231" fill="none"/>
27
+ </g>
28
+ </g>
29
+ <g id="Group" transform="translate(7.024 7.902)">
30
+ <path id="Path" d="M12.054,4.157a.873.873,0,0,1-.622-.262A7.083,7.083,0,0,0,1.5,3.9a.866.866,0,0,1-1.242,0,.911.911,0,0,1,0-1.268,8.649,8.649,0,0,1,12.417,0,.911.911,0,0,1,0,1.268A.858.858,0,0,1,12.054,4.157Z" transform="translate(1 8)" fill="#fff"/>
31
+ <ellipse id="Oval-4" data-name="Oval" cx="1.756" cy="1.793" rx="1.756" ry="1.793" transform="translate(0 0)" fill="#fff"/>
32
+ <ellipse id="Oval-5" data-name="Oval" cx="1.756" cy="1.793" rx="1.756" ry="1.793" transform="translate(10.537 0)" fill="#fff"/>
33
+ </g>
34
+ </g>
35
+ </g>
36
+ </svg>
assets/images/withdraw-request-promo.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg data-name="Group 3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="247.346" height="122.871"><defs><linearGradient id="f" x1="1.553" y1="-.165" x2="-.466" y2="1.104" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#80f"/><stop offset=".01" stop-color="#8504ff"/><stop offset=".21" stop-color="#564bff"/><stop offset=".39" stop-color="#3182ff"/><stop offset=".54" stop-color="#16aaff"/><stop offset=".66" stop-color="#06c3ff"/><stop offset=".73" stop-color="#0cf"/><stop offset=".76" stop-color="#00d0ef"/><stop offset=".83" stop-color="#00dcc4"/><stop offset=".92" stop-color="#00ee81"/><stop offset="1" stop-color="#00ff40"/></linearGradient><linearGradient id="c" x1=".044" y1=".943" x2=".589" y2="-.124" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#70f"/><stop offset=".02" stop-color="#8100f7"/><stop offset=".14" stop-color="#c500c3"/><stop offset=".22" stop-color="#ef00a2"/><stop offset=".27" stop-color="#ff0095"/><stop offset=".35" stop-color="#ff098e"/><stop offset=".47" stop-color="#ff227b"/><stop offset=".63" stop-color="#ff4a5b"/><stop offset=".82" stop-color="#ff8130"/><stop offset="1" stop-color="#ffbf00"/></linearGradient><linearGradient id="g" x1=".132" y1=".294" x2=".868" y2=".72" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#70f"/><stop offset=".17" stop-color="#9e00e1"/><stop offset=".27" stop-color="#ae00d4"/></linearGradient><linearGradient id="b" x1=".503" y1=".799" x2=".491" y2=".114" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#9700c9"/><stop offset=".12" stop-color="#c500b2"/><stop offset=".25" stop-color="#ef009d"/><stop offset=".31" stop-color="#ff0095"/><stop offset=".33" stop-color="#ff0f89"/><stop offset=".38" stop-color="#ff3869"/><stop offset=".43" stop-color="#ff5d4d"/><stop offset=".49" stop-color="#ff7b35"/><stop offset=".55" stop-color="#ff9421"/><stop offset=".62" stop-color="#ffa712"/><stop offset=".7" stop-color="#ffb508"/><stop offset=".81" stop-color="#ffbd02"/><stop offset="1" stop-color="#ffbf00"/></linearGradient><linearGradient id="a" x1=".363" y1="-.075" x2=".651" y2="1.029" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ffbf00"/><stop offset=".18" stop-color="#ff8130"/><stop offset=".37" stop-color="#ff4a5b"/><stop offset=".53" stop-color="#ff227b"/><stop offset=".65" stop-color="#ff098e"/><stop offset=".73" stop-color="#ff0095"/><stop offset=".78" stop-color="#ef00a2"/><stop offset=".86" stop-color="#c500c3"/><stop offset=".98" stop-color="#8100f7"/><stop offset="1" stop-color="#70f"/></linearGradient><linearGradient id="h" x1=".436" y1="-.308" x2=".588" y2="1.424" xlink:href="#a"/><linearGradient id="e" x1=".441" y1="1.186" x2=".854" y2="-.184" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#70f"/><stop offset=".04" stop-color="#8100f7"/><stop offset=".36" stop-color="#c500c3"/><stop offset=".58" stop-color="#ef00a2"/><stop offset=".7" stop-color="#ff0095"/><stop offset=".73" stop-color="#ff098e"/><stop offset=".78" stop-color="#ff227b"/><stop offset=".85" stop-color="#ff4a5b"/><stop offset=".92" stop-color="#ff8130"/><stop offset="1" stop-color="#ffbf00"/></linearGradient><linearGradient id="i" x1=".099" y1="1.059" x2="1.128" y2=".07" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#70f"/><stop offset=".02" stop-color="#8100f7"/><stop offset=".15" stop-color="#c500c3"/><stop offset=".24" stop-color="#ef00a2"/><stop offset=".29" stop-color="#ff0095"/><stop offset=".36" stop-color="#ff098e"/><stop offset=".48" stop-color="#ff227b"/><stop offset=".64" stop-color="#ff4a5b"/><stop offset=".82" stop-color="#ff8130"/><stop offset="1" stop-color="#ffbf00"/></linearGradient><linearGradient id="j" x1="1.379" y1="1.42" x2="-1.272" y2="-1.361" gradientUnits="objectBoundingBox"><stop offset=".27" stop-color="#0cf"/><stop offset=".34" stop-color="#06c3ff"/><stop offset=".46" stop-color="#16aaff"/><stop offset=".61" stop-color="#3182ff"/><stop offset=".79" stop-color="#564bff"/><stop offset=".99" stop-color="#8504ff"/><stop offset="1" stop-color="#80f"/></linearGradient><linearGradient id="k" x1="1.01" y1=".972" x2=".025" y2=".031" gradientUnits="objectBoundingBox"><stop offset=".53" stop-color="#0cf"/><stop offset=".57" stop-color="#06c3ff"/><stop offset=".65" stop-color="#16aaff"/><stop offset=".75" stop-color="#3182ff"/><stop offset=".86" stop-color="#564bff"/><stop offset=".99" stop-color="#8504ff"/><stop offset="1" stop-color="#80f"/></linearGradient><linearGradient id="l" x1="-.431" y1="-.717" x2="1.381" y2="1.624" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#00ff40"/><stop offset=".08" stop-color="#00ee81"/><stop offset=".17" stop-color="#00dcc4"/><stop offset=".24" stop-color="#00d0ef"/><stop offset=".27" stop-color="#0cf"/><stop offset=".34" stop-color="#06c3ff"/><stop offset=".46" stop-color="#16aaff"/><stop offset=".61" stop-color="#3182ff"/><stop offset=".79" stop-color="#564bff"/><stop offset=".99" stop-color="#8504ff"/><stop offset="1" stop-color="#80f"/></linearGradient><linearGradient id="m" x1="1.24" y1=".643" x2="-.239" y2=".355" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#70f"/><stop offset=".15" stop-color="#8400ed"/><stop offset=".55" stop-color="#a402c3"/><stop offset=".76" stop-color="#b002b3"/><stop offset=".78" stop-color="#b40baa"/><stop offset=".82" stop-color="#be2493"/><stop offset=".88" stop-color="#cf4c6d"/><stop offset=".94" stop-color="#e68339"/><stop offset="1" stop-color="#ffbf00"/></linearGradient><linearGradient id="n" x1="1.247" y1=".641" x2="-.243" y2=".356" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#70f"/><stop offset=".05" stop-color="#8100f7"/><stop offset=".39" stop-color="#c500c3"/><stop offset=".63" stop-color="#ef00a2"/><stop offset=".76" stop-color="#ff0095"/><stop offset=".78" stop-color="#ff098e"/><stop offset=".82" stop-color="#ff227b"/><stop offset=".88" stop-color="#ff4a5b"/><stop offset=".94" stop-color="#ff8130"/><stop offset="1" stop-color="#ffbf00"/></linearGradient><linearGradient id="p" x1=".27" y1=".459" x2=".936" y2=".591" xlink:href="#b"/><linearGradient id="q" x1=".687" y1="1.061" x2=".329" y2="-.026" xlink:href="#a"/><linearGradient id="r" x1="-15.037" y1="-19.578" x2="-14.327" y2="-20.823" xlink:href="#a"/><linearGradient id="t" x1=".385" y1="-.217" x2=".642" y2="1.19" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ffbf00"/><stop offset=".15" stop-color="#ff8130"/><stop offset=".3" stop-color="#ff4a5b"/><stop offset=".43" stop-color="#ff227b"/><stop offset=".54" stop-color="#ff098e"/><stop offset=".6" stop-color="#ff0095"/><stop offset=".67" stop-color="#ef00a2"/><stop offset=".8" stop-color="#c500c3"/><stop offset=".98" stop-color="#8100f7"/><stop offset="1" stop-color="#70f"/></linearGradient><linearGradient id="u" x1=".288" y1=".516" x2="1.436" y2=".359" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ffbf00"/><stop offset=".05" stop-color="#ffaf0d"/><stop offset=".35" stop-color="#ff5155"/><stop offset=".55" stop-color="#ff1783"/><stop offset=".65" stop-color="#ff0095"/><stop offset=".76" stop-color="#ff0293"/><stop offset=".77" stop-color="#f80299"/><stop offset=".85" stop-color="#c101c4"/><stop offset=".92" stop-color="#9900e4"/><stop offset=".97" stop-color="#8000f8"/><stop offset="1" stop-color="#70f"/></linearGradient><linearGradient id="v" x1="1.185" y1="1.398" x2="-.883" y2="-1.317" xlink:href="#c"/><linearGradient id="d" x1="1.64" y1=".567" x2="-1.213" y2=".404" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#80f"/><stop offset="0" stop-color="#8504ff"/><stop offset=".09" stop-color="#564bff"/><stop offset=".16" stop-color="#3182ff"/><stop offset=".22" stop-color="#16aaff"/><stop offset=".27" stop-color="#06c3ff"/><stop offset=".3" stop-color="#0cf"/><stop offset=".39" stop-color="#00d0ef"/><stop offset=".56" stop-color="#00dcc4"/><stop offset=".79" stop-color="#00ee81"/><stop offset="1" stop-color="#00ff40"/></linearGradient><linearGradient id="w" x1="1.415" y1=".512" x2="-.79" y2=".481" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ffbf00"/><stop offset=".19" stop-color="#ff8130"/><stop offset=".38" stop-color="#ff4a5b"/><stop offset=".55" stop-color="#ff227b"/><stop offset=".68" stop-color="#ff098e"/><stop offset=".76" stop-color="#ff0095"/><stop offset=".8" stop-color="#ef00a2"/><stop offset=".88" stop-color="#c500c3"/><stop offset=".99" stop-color="#8100f7"/><stop offset="1" stop-color="#70f"/></linearGradient><linearGradient id="x" x1="1.203" y1=".352" x2="-1.603" y2=".95" xlink:href="#d"/><linearGradient id="y" x1="1" y1=".501" x2=".001" y2=".499" xlink:href="#e"/><linearGradient id="z" x1="4.716" y1="18.468" x2="5.715" y2="18.468" xlink:href="#e"/><radialGradient id="o" cx=".948" cy=".91" r="1.592" gradientUnits="objectBoundingBox"><stop offset=".11" stop-color="#ffbf00"/><stop offset=".25" stop-color="#ff8130"/><stop offset=".39" stop-color="#ff4a5b"/><stop offset=".51" stop-color="#ff227b"/><stop offset=".61" stop-color="#ff098e"/><stop offset=".66" stop-color="#ff0095"/><stop offset=".72" stop-color="#ef00a2"/><stop offset=".83" stop-color="#c500c3"/><stop offset=".98" stop-color="#8100f7"/><stop offset="1" stop-color="#70f"/></radialGradient><radialGradient id="s" cx=".346" cy=".82" r="1.238" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ffbf00"/><stop offset=".21" stop-color="#ff8130"/><stop offset=".42" stop-color="#ff4a5b"/><stop offset=".6" stop-color="#ff227b"/><stop offset=".75" stop-color="#ff098e"/><stop offset=".84" stop-color="#ff0095"/><stop offset=".86" stop-color="#ef00a2"/><stop offset=".92" stop-color="#c500c3"/><stop offset=".99" stop-color="#8100f7"/><stop offset="1" stop-color="#70f"/></radialGradient></defs><g data-name="Asset 1"><path d="M135.835 40.418l-1.6-1.869-4.686-1.155 1.813 1.89 4.473 1.134z" fill="#388bb1"/><path data-name="Path" d="M135.832 40.418l1.736-5.2-1.523-2.164-1.813 5.495 1.6 1.869z" fill="#052b27" opacity=".9"/><path data-name="Path" d="M4.683 6.566L6.5 1.071 1.736 0 0 5.411l4.683 1.155z" transform="translate(129.549 31.983)" fill="url(#f)"/><g data-name="Group 2" opacity=".9"><path data-name="Path" d="M239.37 28.84l1.042-.966.577-2.726-1.054 1.086-.565 2.605z" fill="#390734"/><path d="M239.893 26.218l1.193-1.223-.622 2.922-1.187 1.08z" fill="#390734"/><path data-name="Path" d="M.315 3.7l2.3-2.177L2.422 0 0 2.317.315 3.7z" transform="rotate(60 98.073 223.299)" fill="url(#c)"/><path data-name="Path" d="M2.072 4.158l2.422-2.317L2.352 0 0 2.3l2.072 1.858z" transform="rotate(60 100.704 222.425)" fill="url(#g)"/><path data-name="Path" d="M241.917 81.042l-.566 2.072-6.173 2.384.534-2.086 6.205-2.37z" fill="#911283"/><path data-name="Path" d="M235.61 88.709l-.534 2.086-1.976-6.11.515-2.091 1.994 6.115z" fill="#a34198"/><path data-name="Path" d="M237.752 89.55l-.562 2.078-6.958 2.788.514-2.091 7.006-2.775z" fill="#911283"/><path data-name="Path" d="M230.546 97.985l-.522 2.096-1.938-6.511.495-2.097 1.965 6.512z" fill="#a34198"/><path data-name="Path" d="M5.173 16.765L6.293 9.3 0 7.966 1.246.364 2.807 0l-1.05 6.559 6.335 1.3-1.1 7.455 6.671 1.526-1.127 8.47-1.736.3.994-7.294-6.621-1.551z" transform="rotate(60 52.178 247.596)" fill="url(#b)"/><path data-name="Path" d="M232.76 98.865l-.543 2.084-7.841 3.274.485-2.099 7.899-3.259z" fill="#911283"/><path data-name="Path" d="M224.861 102.124l-.485 2.099-1.12-1.35.477-2.102 1.128 1.353z" fill="#911283"/><path data-name="Path" d="M2.478 0l.686 1.4L.707 5.208 0 3.822 2.478 0z" transform="rotate(60 47.224 228.513)" fill="url(#a)"/><path data-name="Path" d="M224.323 80.716l-.548.38-1.026-5.59-4.549-.235.565-.366 4.54.248 1.018 5.563z" fill="#861078"/><path data-name="Path" d="M224.32 80.718l-.896 1.277-.548.38.896-1.276.548-.381z" fill="#720e66"/><path data-name="Path" d="M5.355 1.911l.658 1.414L.686 1.4 0 0l5.355 1.911z" transform="rotate(60 45.985 230.66)" fill="url(#h)"/><path data-name="Path" d="M3.052 0l1.3 11.3L0 11.1 3.052 0z" transform="rotate(60 82.796 195.87)" fill="url(#e)"/><path data-name="Path" d="M5.88 0L0 9.422l2.828 1.708L5.88 0z" transform="rotate(60 84.24 193.438)" fill="url(#i)"/><path data-name="Shape" d="M.455 3.992A2.681 2.681 0 011.1.283 2.681 2.681 0 014.64 1.55 2.687 2.687 0 014 5.26a2.091 2.091 0 01-1.064.283A2.987 2.987 0 01.455 3.992z" transform="rotate(60 75.335 221.371)" fill="url(#j)"/></g><g data-name="Group" opacity=".9" fill="#073933"><path data-name="Path" d="M49.704 37.317l-.665-.5-1.635-.054.735.5 1.565.054z"/><path data-name="Shape" d="M48.129 37.308l-.9-.6 1.827.056.812.609z"/></g><path data-name="Path" d="M.665 2.457L.868.609.21 0 0 1.953l.665.5z" transform="translate(49.035 34.86)" fill="url(#k)"/><path data-name="Path" d="M1.631 1.953L1.841 0H.189L0 1.9l1.631.049z" transform="translate(47.404 34.86)" fill="url(#l)"/><g data-name="Group" opacity=".9"><path data-name="Path" d="M4.634 8.617L2.191 7.7 0 0l2.457.868 2.177 7.749z" transform="translate(27.601 38.115)" fill="url(#m)"/><path data-name="Path" d="M23.681 38.29l-2.457-.882 7.588-1.708 2.457.854-7.588 1.736z" fill="#8f1181"/><path data-name="Path" d="M5.054 9.6L2.6 8.7 0 0l2.471.854L5.054 9.6z" transform="translate(17.381 31.171)" fill="url(#n)"/><path data-name="Path" d="M13.048 31.164l-2.464-.854 8.057-1.631 2.478.826-8.071 1.659z" fill="#8c117e"/><path data-name="Path" d="M12.439 6.867L15 15.652l7.588-1.736 2.5 8.988-1.533 1.19-2.177-7.749-7.623 1.792-2.583-8.75L3.059 11.1 0 1.218 1.75 0l2.618 8.526 8.071-1.659z" transform="translate(8.68 22.638)" fill="url(#o)"/><path data-name="Path" d="M11.739 33.737l-2.45-.875-3.087-9.825 2.478.819 3.059 9.881z" fill="#911283"/><path data-name="Path" d="M8.68 23.856l-2.478-.823 1.75-1.2 2.478.805-1.75 1.218z" fill="#911283"/></g><g data-name="Group" opacity=".9"><path data-name="Path" d="M14.469 102.792l-.868.7-3.311-.886.861-.714 3.318.9z" fill="#911283"/><path data-name="Path" d="M9.492 104.09l-.861.707 1.036-3.164.854-.721-1.029 3.178z" fill="#a34198"/><path data-name="Path" d="M10.136 105.091l-.868.7-3.766-.945.847-.721 3.787.966z" fill="#911283"/><path data-name="Path" d="M4.543 106.435l-.854.721 1.169-3.325.847-.728-1.162 3.332z" fill="#a34198"/><path data-name="Path" d="M4.865 2.191l3.787.987L9.681 0l3.85 1.057.1.826-3.32-.903L9.3 4.179l-3.791-.966-1.148 3.353L.063 5.53 0 4.613l3.7.91 1.165-3.332z" transform="translate(.84 100.912)" fill="url(#p)"/><path data-name="Path" d="M5.201 107.478l-.854.707-4.284-1.015.84-.728 4.3 1.036zM.9 106.442l-.84.728-.06-.903.84-.742.06.917z" fill="#911283"/></g><g data-name="Group"><path data-name="Path" d="M.735 5.264L0 3.885 2.331 0l.756 1.365L.735 5.264z" transform="translate(83.013 26.376)" fill="url(#q)"/><path data-name="Path" d="M78.407 30.569l-.077-.665 5.418 1.737 2.352-3.9.056.665-2.359 3.892-5.39-1.729z" fill="#861078"/><path data-name="Path" d="M78.407 30.569l-.7-1.386-.077-.665.7 1.386.077.665z" fill="#720e66"/><path data-name="Path" d="M.7 1.386L0 0l5.383 1.743.735 1.379L.7 1.386z" transform="translate(77.63 28.518)" fill="url(#r)"/></g><g data-name="Group"><g data-name="Group"><path data-name="Path" d="M160.581 35.122l.819-.973.2-.168.21-.14.22-.11.21-.1-.84.98a1.911 1.911 0 00-.217.1l-.21.112-.21.14z" fill="#730e68"/><path data-name="Path" d="M161.4 34.611l.847-.98h.322l-.847.98h-.322z" fill="#780f6c"/><path data-name="Path" d="M161.743 34.506l.847-.98h.253l-.841.987h-.2z" fill="#7c0f70"/><path data-name="Path" d="M162.002 34.45l.84-.987h.238l-.847.987h-.231z" fill="#811074"/><path data-name="Path" d="M162.233 34.415l.847-1.015h.231l-.847.98h-.231z" fill="#851078"/><path data-name="Path" d="M162.464 34.394l.847-.98h.224l-.84.98z" fill="#8a117c"/><path data-name="Path" d="M162.695 34.387l.84-.98h.245l-.847.98h-.238z" fill="#8e1180"/><path data-name="Path" d="M162.933 34.394l.847-.994h.259l-.84.987h-.266z" fill="#931284"/><path data-name="Path" d="M163.199 34.415l.84-.987h.308l-.847 1.022h-.308z" fill="#971288"/><path data-name="Path" d="M163.5 34.45l.84-.987h.413l-.84.987h-.413z" fill="#9b138c"/><path data-name="Path" d="M163.92 34.52l.84-.987h.16l.96.189h.147l-.826 1.078z" fill="#a01390"/><path data-name="Path" d="M165.201 34.8l.826-.994h.343l-.826.994h-.343z" fill="#9b138c"/><path data-name="Path" d="M165.544 34.8l.826-.994h.245l-.833 1h-.182z" fill="#971288"/><path data-name="Path" d="M165.782 34.855l.833-1h.189l-.822 1z" fill="#931284"/><path data-name="Path" d="M165.978 34.869l.826-1h.2l-.826.994h-.179z" fill="#8e1180"/><path data-name="Path" d="M166.153 34.869l.826-.993h.119l.042-.007-.826 1h-.161z" fill="#8a117c"/><path data-name="Path" d="M166.314 34.87l.826-1h.074l.045-.008h.042l-.826.994-.042.006h-.035l-.042.007z" fill="#851078"/><path data-name="Path" d="M166.475 34.856l.826-.994.042-.007.032-.007.045-.007.042-.007-.826 1-.035.007-.042.007-.042.007z" fill="#811074"/><path data-name="Path" d="M166.636 34.834l.826-1h.174l-.818.966h-.133z" fill="#7c0f70"/><path data-name="Path" d="M166.818 34.8l.819-.994h.168a.133.133 0 00.056 0l-.819 1h-.168z" fill="#780f6c"/><path data-name="Path" d="M167.042 34.723l.819-1 .161-.071a.889.889 0 00.161-.084 1 1 0 00.154-.1l.161-.125.084-.069.077-.077.07-.077a.364.364 0 00.07-.077l-.889 1.057-.068.077-.084.077-.084.07-.156.119-.161.1-.154.084z" fill="#730e68"/></g><g data-name="Group"><path data-name="Path" d="M170.171 29.13l.833-.987-.024.028-.025.028-.021.028-.028.035-.826.987.021-.028.028-.028.021-.035.021-.028z" fill="#730e68"/><path data-name="Path" d="M170.08 29.249l.828-.987-.037.049a.126.126 0 01-.035.051v.054a.175.175 0 000 .046l-.828 1a.21.21 0 010-.056v-.1z" fill="#780f6c"/><path data-name="Path" d="M169.954 29.459l.826-.959v.161l-.91.959v-.084z" fill="#7c0f70"/><path data-name="Path" d="M169.87 29.62l.826-.994-.014.042-.014.035-.014.035-.007.035-.826.994.007-.041.014-.035.014-.035.014-.036z" fill="#811074"/><path data-name="Path" d="M169.821 29.767l.826-.994-.014.035-.007.035-.014.03-.007.04-.826.987.007-.035.007-.028.014-.035.014-.035z" fill="#851078"/><path data-name="Path" d="M169.779 29.9l.826-.987-.007.035-.014.028-.007.037-.007.033-.826.994.007-.035.007-.035.014-.035.007-.035z" fill="#8a117c"/><path data-name="Path" d="M169.744 30.04l.826-.994-.007.035v.035l-.007.03-.007.04-.826.994.007-.034.007-.035v-.036l.007-.035z" fill="#8e1180"/><path data-name="Path" d="M169.723 30.18l.826-.994v.035l-.007.042v.035l-.007.035-.826.994.007-.035v-.042l.007-.035v-.035z" fill="#931284"/><path data-name="Path" d="M169.709 30.327l.826-.994v.042l-.007.042v.084l-.826.994v-.084l.007-.042v-.042z" fill="#971288"/><path data-name="Path" d="M169.702 30.495l.798-.994v.2l-.826.99v-.2z" fill="#9b138c"/><path data-name="Path" d="M169.702 30.691l.798-.994v.245l-.826.994v-.245z" fill="#a01390"/><path data-name="Path" d="M169.716 30.936l.826-.994v.42l-.742.994a.539.539 0 010-.105v-.209a.532.532 0 00-.084-.106z" fill="#a41494"/><path data-name="Path" d="M169.8 31.356l.819-.994s.1.805.112.84l-.819.994z" fill="#a91598"/><path data-name="Path" d="M169.877 32.196l.819-.994v.476l-.77 1.024v-.24a.777.777 0 010-.119.356.356 0 01-.049-.147z" fill="#a41494"/><path data-name="Path" d="M169.925 32.699l.82-1v.077a.315.315 0 010 .077.343.343 0 000 .084v.062l-.82 1v-.075a.259.259 0 000-.077v-.084a.378.378 0 010-.064z" fill="#a01390"/><path data-name="Path" d="M169.94 32.994l.819-.994v.252l-.812 1.008v-.2a.546.546 0 00-.007-.066z" fill="#9b138c"/><path data-name="Path" d="M169.947 33.253l.812-1.008v.224l-.812 1.008z" fill="#971288"/><path data-name="Path" d="M169.933 33.477l.812-1.008v.231l-.812 1.008v-.231z" fill="#931284"/><path data-name="Path" d="M169.912 33.687l.812-.987v.2l-.812 1v-.213z" fill="#8e1180"/><path data-name="Path" d="M169.884 33.882l.812-1v.189l-.861 1.029v-.147z" fill="#8a117c"/><path data-name="Path" d="M169.835 34.1l.812-1.008v.049a.168.168 0 010 .051v.054a.448.448 0 000 .046l-.847.983v-.049-.1z" fill="#851078"/><path data-name="Path" d="M169.8 34.274l.812-1v.2l-.812 1.011v-.211z" fill="#811074"/><path data-name="Path" d="M169.695 34.485l.805-1.008a.14.14 0 010 .056.252.252 0 010 .063.413.413 0 010 .056v.056l-.812 1.008v-.056a.392.392 0 01.035-.056v-.063a.21.21 0 00-.028-.056z" fill="#7c0f70"/><path data-name="Path" d="M169.583 34.716l.812-1.008-.042.07-.052.077-.039.07-.056.07-.805 1.008a.252.252 0 01.049-.07l.042-.077a.252.252 0 00.049-.07z" fill="#780f6c"/><path data-name="Path" d="M169.401 35.003l.812-1.008-.021.021-.014.021-.847 1.05.014-.021.021-.021.014-.021.021-.021z" fill="#730e68"/></g><g data-name="Group"><path data-name="Path" d="M168.862 27.961l.938-1.078.084-.091a1.113 1.113 0 00.091-.091l.1-.084a2.744 2.744 0 01.229-.189l.231-.154.238-.14.245-.112-.84.987-.238.113-.238.132a2.3 2.3 0 00-.231.161 2.625 2.625 0 00-.231.182.6.6 0 00-.1.091l-.1.091-.078.091z" fill="#730e68"/><path data-name="Path" d="M170.164 27.009l.84-.987h.175l.085-.035h.09l-.854.9h-.266z" fill="#780f6c"/><path data-name="Path" d="M170.5 26.883l.833-.98h.28l-.833.987h-.21z" fill="#7c0f70"/><path data-name="Path" d="M170.801 26.813l.833-.987h.267l-.827.987h-.273z" fill="#811074"/><path data-name="Path" d="M171.067 26.771l.833-.987h.252l-.833.987h-.252z" fill="#851078"/><path data-name="Path" d="M171.312 26.743l.833-.987h.252l-.826.987z" fill="#8a117c"/><path data-name="Path" d="M171.571 26.729l.826-.987h.259l-.826.987z" fill="#8e1180"/><path data-name="Path" d="M171.83 26.729l.826-.987h.287l-.826.987z" fill="#931284"/><path data-name="Path" d="M172.117 26.743l.826-.987h.357l-.826.994h-.336z" fill="#971288"/><path data-name="Path" d="M172.453 26.778l.847-.994h.448l-.819.987h-.343z" fill="#9b138c"/><path data-name="Path" d="M172.908 26.834l.819-.987h.175l1.043.182h.163l-.814 1.071h-.168l-1.043-.182z" fill="#a01390"/><path data-name="Path" d="M174.294 27.099l.812-1h.378l-.784 1h-.406z" fill="#9b138c"/><path data-name="Path" d="M174.7 27.1l.812-.994h.259l-.812 1h-.259z" fill="#971288"/><path data-name="Path" d="M174.931 27.155l.812-1h.21l-.8 1z" fill="#931284"/><path data-name="Path" d="M175.148 27.162l.805-1h.189l-.8 1z" fill="#8e1180"/><path data-name="Path" d="M175.337 27.162l.805-1h.182l-.812 1z" fill="#8a117c"/><path data-name="Path" d="M175.512 27.155l.812-1h.175l-.812 1z" fill="#851078"/><path data-name="Path" d="M175.687 27.134l.812-1h.175l-.8.966h-.187z" fill="#811074"/><path data-name="Path" d="M175.869 27.099l.805-1h.195l-.769.959h-.147z" fill="#7c0f70"/><path data-name="Path" d="M176.1 27.057l.805-1h.252l-.805 1h-.252z" fill="#780f6c"/><path data-name="Path" d="M176.317 26.974l.805-1a.994.994 0 00.175-.085 1.155 1.155 0 00.182-.1l.175-.11.175-.14.105-.091.105-.094.084-.1a.525.525 0 00.084-.1l-.8 1-.084.1a.6.6 0 01-.091.1 1.3 1.3 0 01-.1.1l-.105.091-.182.14-.175.119-.175.1z" fill="#730e68"/></g><g data-name="Group"><path data-name="Path" d="M179.95 20.786l.805-.987-.021.021-.847 1.05.014-.021.014-.021.021-.021.014-.021z" fill="#730e68"/><path data-name="Path" d="M179.88 20.87l.805-.987-.042.056-.035.056-.04.063v.056l-.8.987a.245.245 0 01.035-.056.154.154 0 010-.056l.042-.063z" fill="#780f6c"/><path data-name="Path" d="M179.733 21.1l.8-1v.042a.112.112 0 010 .049v.091l-.807.987v-.133z" fill="#7c0f70"/><path data-name="Path" d="M179.635 21.283l.805-.987v.126l-.84 1.022v-.084z" fill="#811074"/><path data-name="Path" d="M179.572 21.444l.805-.987-.014.035-.014.042-.014.035-.012.042-.8.987.007-.041.014-.035.014-.035.014-.043z" fill="#851078"/><path data-name="Path" d="M179.523 21.598l.798-.987-.007.035-.014.035-.007.042-.007.035-.805.994.007-.041.014-.035.007-.042.014-.036z" fill="#8a117c"/><path data-name="Path" d="M179.481 21.752l.805-.994-.007.035-.007.042-.014.042v.035l-.805.994.007-.042.007-.035.007-.042.007-.035z" fill="#8e1180"/><path data-name="Path" d="M179.453 21.906l.805-.994-.007.042-.007.042-.007.042-.005.035-.8.994v-.042l.007-.042.007-.035.007-.042z" fill="#931284"/><path data-name="Path" d="M179.432 22.067l.8-.987v.182l-.8.987z" fill="#971288"/><path data-name="Path" d="M179.418 22.249l.8-.987v.238l-.8.994v-.245z" fill="#9b138c"/><path data-name="Path" d="M179.411 22.466l.798-.966v.273l-.805.994v-.273z" fill="#a01390"/><path data-name="Path" d="M179.411 22.739l.805-.994v.112a.7.7 0 010 .119.6.6 0 010 .112v.119l-.8 1v-.356c.002-.042-.005-.077-.005-.112z" fill="#a41494"/><path data-name="Path" d="M179.446 23.208l.8-1.008c0 .042.082.882.082.917l-.8 1z" fill="#a91598"/><path data-name="Path" d="M179.53 24.124l.77-1v.133a.763.763 0 000 .126v.266l-.7 1v-.258a.805.805 0 000-.133 1.281 1.281 0 00-.07-.134z" fill="#a41494"/><path data-name="Path" d="M179.6 24.649l.8-1v.168a.4.4 0 010 .091.343.343 0 010 .084L179.6 25v-.351z" fill="#a01390"/><path data-name="Path" d="M179.597 24.999l.794-1v.21a.238.238 0 000 .07l-.794 1.001a.217.217 0 010-.07z" fill="#9b138c"/><path data-name="Path" d="M179.6 25.28l.756-.98v.245l-.791 1.008v-.189a.175.175 0 00.035-.084z" fill="#971288"/><path data-name="Path" d="M179.544 25.525l.791-1.008v.231l-.791 1.008v-.231z" fill="#931284"/><path data-name="Path" d="M179.509 25.756l.791-1.008v.217l-.791 1.008v-.217z" fill="#8e1180"/><path data-name="Path" d="M179.467 25.973l.791-.973v.217l-.791 1.008v-.252z" fill="#8a117c"/><path data-name="Path" d="M179.411 26.19l.791-1.008a.168.168 0 000 .056v.161l-.864 1.001v-.049a.133.133 0 010-.056v-.056s.066-.028.073-.049z" fill="#851078"/><path data-name="Path" d="M179.341 26.4l.784-1.008v.231l-.793 1.008a.21.21 0 010-.056v-.112a.252.252 0 00.009-.063z" fill="#811074"/><path data-name="Path" d="M179.243 26.638l.791-1.008-.031.063-.074.126a.217.217 0 01-.035.07l-.791 1.008.042-.067a.287.287 0 01.035-.063v-.07z" fill="#7c0f70"/><path data-name="Path" d="M179.1 26.897l.794-1.008-.049.077-.045.077-.06.084a.308.308 0 00-.056.077l-.784 1.008a.308.308 0 00.056-.077.532.532 0 00.056-.077.525.525 0 00.049-.084.287.287 0 00.039-.077z" fill="#780f6c"/><path data-name="Path" d="M178.893 27.212l.791-1.008-.812 1.036.021-.028z" fill="#730e68"/></g><path data-name="Path" d="M178.55 19.547l.812-.98.105-.119.112-.119.119-.119.126-.112-.812.973c-.042.042-.091.077-.126.119l-.126.119-.11.119a.805.805 0 00-.1.119z" fill="#730e68"/><path data-name="Path" d="M187.657 17.678l.763-.994 1.337 1.358-.749 1.008-1.351-1.372z" fill="#d81ac3"/><g data-name="Group"><path data-name="Path" d="M179.012 19.071l.812-.973c.088-.079.175-.147.259-.21a3 3 0 01.266-.182l.263-.161c.087-.042.178-.091.269-.126l-.812.973-.266.133c-.091.049-.182.094-.266.154l-.266.182z" fill="#730e68"/><path data-name="Path" d="M180.069 18.392l.812-.973.098-.042.098-.042h.2l-.808.973h-.1l-.1.035-.1.042z" fill="#780f6c"/><path data-name="Path" d="M180.468 18.245l.805-.945h.315l-.805.98h-.238z" fill="#7c0f70"/><path data-name="Path" d="M180.783 18.161l.805-.98h.287l-.805.98h-.287z" fill="#811074"/><path data-name="Path" d="M181.07 18.105l.805-.98h.273l-.798.98h-.28z" fill="#851078"/><path data-name="Path" d="M181.35 18.07l.8-.98h.28l-.8.98z" fill="#8a117c"/><path data-name="Path" d="M181.623 18.049l.805-.98h.287l-.8.98h-.292z" fill="#8e1180"/><path data-name="Path" d="M181.917 18.042l.8-.98h.315l-.8.987h-.315z" fill="#931284"/><path data-name="Path" d="M182.232 18.049l.8-.987h.364l-.793.98h-.371z" fill="#971288"/><path data-name="Path" d="M182.603 18.07l.791-.98h.49l-.781 1.036h-.374z" fill="#9b138c"/><path data-name="Path" d="M183.1 18.126l.791-.987h.2l1.13.168h.179l-.784.994h-.179l-1.137-.168z" fill="#a01390"/><path data-name="Path" d="M184.612 18.35l.784-.994h.416l-.787.987h-.313z" fill="#9b138c"/><path data-name="Path" d="M185.025 18.392l.784-.987h.287l-.777.994h-.294z" fill="#971288"/><path data-name="Path" d="M185.319 18.413l.777-.994h.231l-.777 1h-.231z" fill="#931284"/><path data-name="Path" d="M185.55 18.42l.777-.994h.21l-.777.994z" fill="#8e1180"/><path data-name="Path" d="M185.76 18.413l.777-.994h.2l-.777.994z" fill="#8a117c"/><path data-name="Path" d="M185.956 18.399l.777-.994h.2l-.777 1h-.2z" fill="#851078"/><path data-name="Path" d="M186.152 18.377l.777-1h.2l-.777.994h-.151z" fill="#811074"/><path data-name="Path" d="M186.355 18.336l.77-.994h.217l-.742.938h-.161z" fill="#7c0f70"/><path data-name="Path" d="M186.6 18.279l.77-1h.28l-.77.994h-.21z" fill="#780f6c"/><path data-name="Path" d="M186.852 18.175l.77-.991.2-.1a1.883 1.883 0 00.2-.112l.2-.133.198-.155-.763.994-.2.154a1.68 1.68 0 01-.2.133l-.205.119z" fill="#730e68"/></g><path data-name="Path" d="M18.319 1.4A4.137 4.137 0 0119.5.7a4.3 4.3 0 011.234-.28 7.308 7.308 0 011.239 0c.413.042.812.1 1.2.161s.7.112 1.043.147a4.9 4.9 0 00.959 0 3.115 3.115 0 00.9-.2A3.185 3.185 0 0026.964 0l1.344 1.4a4.361 4.361 0 01-2.548 1.029 6.8 6.8 0 01-1.253 0c-.413-.042-.819-.105-1.2-.168s-.7-.112-1.029-.147a5.348 5.348 0 00-.938 0 2.884 2.884 0 00-.875.2 2.8 2.8 0 00-.826.5A2.4 2.4 0 0018.76 4.3a4.767 4.767 0 00-.042.847 8.961 8.961 0 00.077.924c.035.329.07.7.084 1.064a5.6 5.6 0 01-.07 1.085 3.269 3.269 0 01-.371 1.043 3.5 3.5 0 01-.833.861 3.64 3.64 0 01-1.12.637 3.969 3.969 0 01-1.155.224 6.237 6.237 0 01-1.141-.056c-.371-.042-.742-.112-1.1-.175s-.644-.119-.938-.161a4.5 4.5 0 00-.854-.049 2.688 2.688 0 00-.784.154 2.387 2.387 0 00-.7.441 2 2 0 00-.749 1.33 4.018 4.018 0 000 .77 6.255 6.255 0 00.105.84c.042.294.084.644.112.973a4.641 4.641 0 010 .987 2.975 2.975 0 01-.3.945 3.024 3.024 0 01-.7.861 3.164 3.164 0 01-1 .553 3.36 3.36 0 01-1.043.175 5.761 5.761 0 01-1.043-.07c-.343-.049-.7-.126-1.015-.189s-.588-.126-.861-.168a4.382 4.382 0 00-.784-.063 2.464 2.464 0 00-.7.119 2.212 2.212 0 00-.658.385L0 17.43a2.982 2.982 0 01.945-.553 3.318 3.318 0 011.008-.177 5.649 5.649 0 011.029.063c.343.049.7.119 1.008.189s.6.119.875.161a3.948 3.948 0 00.8.063 2.38 2.38 0 00.735-.126 2.191 2.191 0 00.7-.4 1.9 1.9 0 00.5-.6 2.051 2.051 0 00.21-.665 3.346 3.346 0 000-.749 3.629 3.629 0 00-.105-.84c-.042-.315-.091-.644-.112-.98a4.8 4.8 0 010-1 3.031 3.031 0 01.3-.987 3.171 3.171 0 01.745-.929 3.549 3.549 0 011.05-.637 3.885 3.885 0 011.112-.219 6.055 6.055 0 011.127.049c.371.042.742.112 1.1.175s.644.119.952.154a4.613 4.613 0 00.868.049 2.744 2.744 0 00.819-.161 2.674 2.674 0 00.777-.462 2.408 2.408 0 00.574-.7 2.17 2.17 0 00.252-.742 3.927 3.927 0 00.035-.819 8.677 8.677 0 00-.077-.917c-.035-.322-.077-.7-.091-1.078a5.271 5.271 0 01.063-1.1 3.458 3.458 0 01.371-1.1 3.815 3.815 0 01.749-.994z" transform="translate(160.693 17.671)" fill="url(#s)"/></g><g data-name="Group"><path data-name="Path" d="M17.574 10.01L.515 2.016a1.12 1.12 0 01-.224-.147 1 1 0 01-.168-.217 1.127 1.127 0 01-.112-.266 1.1 1.1 0 010-.308A1.4 1.4 0 01.1.665 1.141 1.141 0 01.333.322a1.022 1.022 0 01.7-.322h.343l17.5 6.93H18.4a1.33 1.33 0 00-.525.175 1.659 1.659 0 00-.455.378 2 2 0 00-.336.539 2.142 2.142 0 00-.161.63 1.624 1.624 0 000 .455 1.351 1.351 0 00.119.392 1.085 1.085 0 00.21.308 1.022 1.022 0 00.322.203z" transform="translate(141.2 104.748)" fill="url(#t)"/><path data-name="Path" d="M160.118 111.762a.875.875 0 01.294.21.98.98 0 01.216.308 1.4 1.4 0 01.119.4 1.687 1.687 0 010 .462 2.1 2.1 0 01-.49 1.141 1.6 1.6 0 01-.441.378 1.274 1.274 0 01-.518.182h-.377l-.119-.044a1.064 1.064 0 01-.3-.2 1.12 1.12 0 01-.225-.31 1.4 1.4 0 01-.133-.4 1.729 1.729 0 010-.469 2.142 2.142 0 01.161-.63 2 2 0 01.336-.538 1.659 1.659 0 01.455-.378 1.33 1.33 0 01.525-.175h.378a.406.406 0 01.119.063z" fill="#941286"/></g><g data-name="Group"><path data-name="Path" d="M10.894 1.841L1.633 18.522a.833.833 0 01-.161.217 1.127 1.127 0 01-.21.147.931.931 0 01-.238.07.861.861 0 01-.266 0 1.078 1.078 0 01-.336-.168 1.036 1.036 0 01-.252-.294 1.134 1.134 0 01-.154-.378 1.4 1.4 0 010-.42v-.273a.819.819 0 01.035-.077L8.556 0a.7.7 0 00-.049.1.189.189 0 01-.035.112c-.035.035 0 .084 0 .119a.861.861 0 010 .133 1.652 1.652 0 00.07.581 1.9 1.9 0 00.658.973 1.6 1.6 0 00.518.273 1.505 1.505 0 00.385.056 1.155 1.155 0 00.35-.07.924.924 0 00.5-.441z" transform="translate(115.806 3.213)" fill="url(#u)"/><path data-name="Path" d="M124.375 3.171a1.1 1.1 0 01.225-.28.966.966 0 01.294-.175 1.2 1.2 0 01.357-.07 1.309 1.309 0 01.392.063 1.617 1.617 0 01.5.266 2 2 0 01.658.952 1.778 1.778 0 01.077.574v.145a.9.9 0 010 .133.588.588 0 01-.035.119.124.124 0 01-.049.119 1 1 0 01-.217.287.819.819 0 01-.302.184 1.015 1.015 0 01-.357.077 1.337 1.337 0 01-.4-.056 1.6 1.6 0 01-.512-.273 1.9 1.9 0 01-.658-.973 1.652 1.652 0 01-.073-.581v-.136a.742.742 0 010-.137l.045-.119a.911.911 0 00.055-.119z" fill="#941286"/></g><path data-name="Shape" d="M.17 5.515C-.516 3.45.933 1.091 3.4.279s5.026.21 5.711 2.282-.764 4.417-3.229 5.229a5.48 5.48 0 01-1.715.279A4.049 4.049 0 01.17 5.515z" transform="translate(44.042 15.772)" fill="url(#v)"/><path data-name="Path" d="M3.4 1.7A1.7 1.7 0 111.7 0a1.7 1.7 0 011.7 1.7z" transform="translate(149.744 84.784)" fill="url(#d)"/><path data-name="Path" d="M2.8 1.4A1.4 1.4 0 111.4 0a1.4 1.4 0 011.4 1.4z" transform="translate(24.731 96.964)" fill="url(#w)"/><path data-name="Path" d="M.365 2.744a1.694 1.694 0 111.135.633 1.694 1.694 0 01-1.135-.633z" transform="translate(13.558 56.217)" fill="url(#x)"/><path data-name="Path Copy" d="M.365 2.744a1.694 1.694 0 111.135.633 1.694 1.694 0 01-1.135-.633z" transform="translate(80 96)" fill="url(#x)"/><path data-name="Shape" d="M0 3.612L6.3 0l3.612 6.3-6.307 3.612z" transform="translate(13.293 72.149)" fill="url(#y)"/><path data-name="Shape" d="M0 6.3L3.647 0l6.265 3.64L6.3 9.912z" transform="translate(85.4)" fill="url(#z)"/><g><path data-name="Path" d="M16.716 122.871l-1.141-4.382-2.044-.812 1.232 4.634 1.953.56z" fill="#388bb1"/></g></g><text data-name="Congrats!" transform="translate(40 68)" fill="#fff" font-size="40.48" font-family="Helvetica" letter-spacing=".009em"><tspan x="0" y="0">Congrats!</tspan></text></svg>
assets/js/dokan.js CHANGED
@@ -1688,6 +1688,10 @@ jQuery(function($) {
1688
  $('a.dokan-gravatar-drag').on('click', this.simpleImageUpload);
1689
  $('a.dokan-remove-gravatar-image').on('click', this.removeGravatar);
1690
 
 
 
 
 
1691
  this.validateForm(self);
1692
 
1693
  return false;
@@ -1781,6 +1785,7 @@ jQuery(function($) {
1781
  },
1782
 
1783
  setImageFromURL: function(url, attachmentId, width, height) {
 
1784
  if ($(this.uploadBtn).hasClass('dokan-banner-drag')) {
1785
  var wrap = $(this.uploadBtn).closest('.dokan-banner');
1786
 
@@ -1795,12 +1800,17 @@ jQuery(function($) {
1795
  $(this.uploadBtn)
1796
  .parent('.button-area')
1797
  .addClass('dokan-hide');
 
 
 
1798
  } else if ($(this.uploadBtn).hasClass('dokan-pro-gravatar-drag')) {
1799
  var wrap = $(this.uploadBtn).closest('.dokan-gravatar');
1800
 
1801
  wrap.find('input.dokan-file-field').val(attachmentId);
1802
  wrap.find('img.dokan-gravatar-img').attr('src', url);
1803
 
 
 
1804
  $(this.uploadBtn)
1805
  .parent()
1806
  .siblings('.gravatar-wrap', wrap)
@@ -1810,6 +1820,19 @@ jQuery(function($) {
1810
  .parent('.gravatar-button-area')
1811
  .addClass('dokan-hide');
1812
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
1813
  },
1814
 
1815
  removeImage: function() {
@@ -2012,8 +2035,11 @@ jQuery(function($) {
2012
  self.serialize() + '&action=dokan_settings&form_id=' + form_id;
2013
 
2014
  self.find('.ajax_prev').append('<span class="dokan-loading"> </span>');
 
 
2015
  $.post(dokan.ajaxurl, form_data, function(resp) {
2016
  self.find('span.dokan-loading').remove();
 
2017
  $('html,body').animate({ scrollTop: 100 });
2018
 
2019
  if (resp.success) {
@@ -2851,8 +2877,11 @@ jQuery(function($) {
2851
  event.preventDefault();
2852
 
2853
  const queryString = decodeURIComponent( $.param( storeLists.query ) );
 
 
 
2854
 
2855
- window.history.pushState( null, null, `?${queryString}` );
2856
  window.location.reload();
2857
  },
2858
 
@@ -2978,4 +3007,4 @@ jQuery(function($) {
2978
  window.dokan.storeLists.init();
2979
  }
2980
 
2981
- })(jQuery);
1688
  $('a.dokan-gravatar-drag').on('click', this.simpleImageUpload);
1689
  $('a.dokan-remove-gravatar-image').on('click', this.removeGravatar);
1690
 
1691
+ $('.dokan-update-setting-top-button').click(function(){
1692
+ $("input[name='dokan_update_store_settings']").click();
1693
+ });
1694
+
1695
  this.validateForm(self);
1696
 
1697
  return false;
1785
  },
1786
 
1787
  setImageFromURL: function(url, attachmentId, width, height) {
1788
+ var banner_profile_upload_status = false;
1789
  if ($(this.uploadBtn).hasClass('dokan-banner-drag')) {
1790
  var wrap = $(this.uploadBtn).closest('.dokan-banner');
1791
 
1800
  $(this.uploadBtn)
1801
  .parent('.button-area')
1802
  .addClass('dokan-hide');
1803
+
1804
+ banner_profile_upload_status = true;
1805
+
1806
  } else if ($(this.uploadBtn).hasClass('dokan-pro-gravatar-drag')) {
1807
  var wrap = $(this.uploadBtn).closest('.dokan-gravatar');
1808
 
1809
  wrap.find('input.dokan-file-field').val(attachmentId);
1810
  wrap.find('img.dokan-gravatar-img').attr('src', url);
1811
 
1812
+ banner_profile_upload_status = true;
1813
+
1814
  $(this.uploadBtn)
1815
  .parent()
1816
  .siblings('.gravatar-wrap', wrap)
1820
  .parent('.gravatar-button-area')
1821
  .addClass('dokan-hide');
1822
  }
1823
+
1824
+ if ( banner_profile_upload_status === true ) {
1825
+ $(window).on("beforeunload", function() {
1826
+ return dokan.dokan_banner_added_alert_msg;
1827
+ });
1828
+
1829
+ $(document).ready(function() {
1830
+ $("#store-form").on("submit", function(e) {
1831
+ $(window).off("beforeunload");
1832
+ return true;
1833
+ });
1834
+ });
1835
+ }
1836
  },
1837
 
1838
  removeImage: function() {
2035
  self.serialize() + '&action=dokan_settings&form_id=' + form_id;
2036
 
2037
  self.find('.ajax_prev').append('<span class="dokan-loading"> </span>');
2038
+ $('.dokan-update-setting-top-button span.dokan-loading').remove();
2039
+ $('.dokan-update-setting-top-button').append('<span class="dokan-loading"> </span>');
2040
  $.post(dokan.ajaxurl, form_data, function(resp) {
2041
  self.find('span.dokan-loading').remove();
2042
+ $('.dokan-update-setting-top-button span.dokan-loading').remove();
2043
  $('html,body').animate({ scrollTop: 100 });
2044
 
2045
  if (resp.success) {
2877
  event.preventDefault();
2878
 
2879
  const queryString = decodeURIComponent( $.param( storeLists.query ) );
2880
+ const target = '/page';
2881
+ const pathName = window.location.pathname;
2882
+ const path = pathName.includes( target ) ? pathName.substr( 0, pathName.indexOf( target ) ) : '';
2883
 
2884
+ window.history.pushState( null, null, `${path}?${queryString}` );
2885
  window.location.reload();
2886
  },
2887
 
3007
  window.dokan.storeLists.init();
3008
  }
3009
 
3010
+ })(jQuery);
assets/js/vue-admin.js CHANGED
@@ -6436,7 +6436,7 @@ var Search = dokan_get_lib('Search');
6436
  text: message
6437
  });
6438
 
6439
- if (_this3.currentStatus !== 'all') {
6440
  _this3.fetchVendors();
6441
  }
6442
  });
6436
  text: message
6437
  });
6438
 
6439
+ if ('all' === _this3.currentStatus || 'pending' === _this3.currentStatus || 'approved' === _this3.currentStatus) {
6440
  _this3.fetchVendors();
6441
  }
6442
  });
assets/js/vue-admin.min.js CHANGED
@@ -1 +1 @@
1
- dokanWebpack([0],[,,function(e,t,a){"use strict";var s=a(10),n=a(28),i=!1;var o=function(e){i||a(27)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var s=a(15);t.a={extends:s.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{xAxes:[{type:"time",scaleLabel:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}}],yAxes:[{scaleLabel:{display:!1},ticks:{fontColor:"#aaa"}}]},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",s=t.datasets[e.datasetIndex].tooltipLabel||"",n=t.datasets[e.datasetIndex].tooltipPrefix||"",i=s?s+": ":a+": ";return i+=n+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},function(e,t,a){"use strict";var s=a(47),n=a(118),i=!1;var o=function(e){i||a(117)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UpgradeBanner.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(55);t.a={components:{Sketch:s.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:function(){return{showColorPicker:!1}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker:function(){this.showColorPicker=!this.showColorPicker},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";var s=a(1),n=(a.n(s),a(2)),i=a(16),o=a(17);t.a={name:"VendorAccountFields",components:{Switches:n.a,UploadImage:i.a,PasswordGenerator:o.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-"),this.vendorInfo.user_nicename=e.split(" ").join("-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(s.debounce)(this.checkStore,this.delay),this.checkUsername=Object(s.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(s.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},s={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,s,n,i){return(!0!==e||!0!==t)&&((!0!==e||s!==i)&&((!0!==t||a!==n)&&((a!==n||s!==i)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:s})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=n,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,s,n,i,o,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);o=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,o,i)),(s=o)/(n=i)>(a=l/d)?l=(d=n)*a:d=(l=s)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var s=a(3);a.n(s);t.a={name:"VendorAddressFields",components:{Multiselect:s.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],s=a&&a[e];return void 0!==s?s:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var s in a)if(s===e&&!(a[s]&&a[s].length<1))for(var n in a[s])t.push({name:a[s][n],code:n});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var s=a(2),n=a(3);a.n(n);t.a={name:"VendorPaymentFields",components:{Switches:s.a,Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,s=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=s}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,function(e,t,a){"use strict";var s=a(11),n=a(30),i=!1;var o=function(e){i||a(29)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(12),n=a(31),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,,function(e,t,a){"use strict";var s=a(6),n=a(0)(s.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",t.a=n.exports},,function(e,t){e.exports=jQuery},function(e,t,a){"use strict";var s=a(8),n=a(25),i=!1;var o=function(e){i||a(24)},r=a(0)(s.a,n.a,!1,o,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","dokan-lite")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(t){return e.updateColor({})}}},[e._v(e._s(e.__("Clear","dokan-lite")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","dokan-lite")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(9),n=a(32),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage(t)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword(t)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword(t)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton(t)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picutre on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-url"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-username"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(13),n=a(35),i=!1;var o=function(e){i||a(34)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(14),n=a(38),i=!1;var o=function(e){i||a(37)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("%    +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,,function(e,t,a){"use strict";t.a={name:"App"}},function(e,t,a){"use strict";var s=a(20),n=a(7),i=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading"),r=dokan_get_lib("Currency");t.a={name:"Dashboard",components:{Postbox:i,Loading:o,Chart:s.a,Currency:r,UpgradeBanner:n.a},data:function(){return{overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:""},hasPro:!!dokan.hasPro}},created:function(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview:function(){var e=this;dokan.api.get("/admin/report/summary").done(function(t){e.overview=t})},fetchFeed:function(){var e=this;dokan.api.get("/admin/dashboard/feed").done(function(t){e.feed=t})},fetchReport:function(){var e=this;dokan.api.get("/admin/report/overview").done(function(t){e.report=t})},validEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},emailSubscribe:function(){var e=this;this.validEmail(this.subscribe.email)&&(this.subscribe.loading=!0,jQuery.ajax({url:"https://wedevs.us16.list-manage.com/subscribe/post-json?u=66e606cfe0af264974258f030&id=0d176bb256&c=?",data:{EMAIL:this.subscribe.email,"group[3555][8]":"1"},type:"GET",dataType:"json",cache:!1,contentType:"application/json; charset=utf-8"}).always(function(t){e.subscribe.success=!0,e.subscribe.loading=!1}))}}}},function(e,t,a){"use strict";t.a={name:"UpgradeBanner",data:function(){return{show:!0,upgradeURL:dokan.urls.upgradeToPro}},computed:{showUpgrade:function(){return!dokan.hasPro&&"show"===dokan.proNag}},methods:{dismiss:function(){this.show=!1,wp.ajax.post("dokan-upgrade-dissmiss")}}}},function(e,t,a){"use strict";var s=a(7),n=dokan_get_lib("ListTable"),i=dokan_get_lib("Modal"),o=dokan_get_lib("Currency");t.a={name:"Withdraw",components:{ListTable:n,Modal:i,Currency:o,UpgradeBanner:s.a},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,counts:{pending:0,approved:0,cancelled:0},notFound:this.__("No requests found.","dokan-lite"),massPayment:this.__("Paypal Mass Payment File is Generated.","dokan-lite"),showCb:!0,loading:!1,columns:{seller:{label:this.__("Vendor","dokan-lite")},amount:{label:this.__("Amount","dokan-lite")},status:{label:this.__("Status","dokan-lite")},method_title:{label:this.__("Method","dokan-lite")},method_details:{label:this.__("Details","dokan-lite")},note:{label:this.__("Note","dokan-lite")},created:{label:this.__("Date","dokan-lite")},actions:{label:this.__("Actions","dokan-lite")}},requests:[],actionColumn:"seller",hasPro:!!dokan.hasPro}},watch:{"$route.query.status":function(){this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()}},computed:{currentStatus:function(){return this.$route.query.status||"pending"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},actions:function(){return"pending"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"cancel",label:this.__("Cancel","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"pending",label:this.__("Pending","dokan-lite")}]:[]},bulkActions:function(){return"pending"==this.currentStatus?[{key:"approved",label:this.__("Approve","dokan-lite")},{key:"cancelled",label:this.__("Cancel","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"pending",label:this.__("Pending","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:[{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]}},created:function(){this.fetchRequests()},methods:{updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(e.getResponseHeader("X-Status-Cancelled"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:function(e){return"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e},fetchRequests:function(){var e=this;this.loading=!0,dokan.api.get("/withdraw?per_page="+this.perPage+"&page="+this.currentPage+"&status="+this.currentStatus).done(function(t,a,s){e.requests=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},goToPage:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e}})},updateItem:function(e,t){var a=this.requests.findIndex(function(t){return t.id==e});this.$set(this.requests,a,t)},changeStatus:function(e,t){var a=this;this.loading=!0,dokan.api.put("/withdraw/"+t,{status:e}).done(function(e){a.loading=!1,a.fetchRequests()})},onActionClick:function(e,t){var a=this;"cancel"===e&&this.changeStatus("cancelled",t.id),"pending"===e&&this.changeStatus("pending",t.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+t.id).done(function(e){a.loading=!1,a.fetchRequests()}))},getPaymentDetails:function(e,t){var a="—";return void 0!==t[e]&&("paypal"===e||"skrill"===e?a=t[e].email||"":"bank"===e&&(t.bank.hasOwnProperty("ac_name")&&(a=this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)),t.bank.hasOwnProperty("ac_number")&&(a+=this.sprintf(this.__(", Account Number: %s","dokan-lite"),t.bank.ac_number)),t.bank.hasOwnProperty("bank_name")&&(a+=this.sprintf(this.__(", Bank Name: %s","dokan-lite"),t.bank.bank_name)),t.bank.hasOwnProperty("routing_number")&&(a+=this.sprintf(this.__(", Routing Number: %s","dokan-lite"),t.bank.routing_number)))),dokan.hooks.applyFilters("dokan_get_payment_details",a,e,t)},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),onBulkAction:function(e,t){var a=this,s=this;if(_.contains(["delete","approved","cancelled","pending"],e)){var n={};n[e]=t,this.loading=!0,dokan.api.put("/withdraw/batch",n).done(function(e){a.loading=!1,a.fetchRequests()})}if("paypal"===e){var i=t.join(",");jQuery.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:i,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,t,a){if("html/csv"===a.getResponseHeader("Content-type")){var n="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=o&&o[1]&&(n=o[1].replace(/['"]/g,""))}var r=a.getResponseHeader("Content-Type"),l="function"==typeof File?new File([e],n,{type:r}):new Blob([e],{type:r});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,n);else{var d=window.URL||window.webkitURL,c=d.createObjectURL(l);if(n){var u=document.createElement("a");void 0===u.download?window.location=c:(u.href=c,u.download=n,document.body.appendChild(u),u.click())}else window.location=c;setTimeout(function(){d.revokeObjectURL(c)},100)}}e&&alert(s.massPayment)})}},openNoteModal:function(e,t){this.showModal=!0,this.editing={id:t,note:e}},updateNote:function(){var e=this;this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id,{note:this.editing.note}).done(function(t){e.loading=!1,e.updateItem(e.editing.id,t),e.editing={id:null,note:null}})}}}},function(e,t,a){"use strict";var s=a(50),n=a(127),i=(a.n(n),a(130));t.a={name:"Premium",components:{Slick:i.a,ProCta:s.a},data:function(){return{asstesUrl:dokan.urls.assetsUrl,buyNowProUrl:"https://wedevs.com/account/",services:[{title:this.__("Premium modules to make everything easier & better","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-01@2x.png"},{title:this.__("Frontend dashboard for vendors with advanced controls","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-02@2x.png"},{title:this.__("Unlimited Product Variations and group product upload","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-03@2x.png"},{title:this.__("Zone wise shipping with multiple method for vendors","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-04@2x.png"},{title:this.__("Store support based on ticket system for your customers","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-05@2x.png"},{title:this.__("Vendors will be able to generate coupon codes","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-06@2x.png"},{title:this.__("Earning, Selling and Commission Reports & Statement","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-07@2x.png"},{title:this.__("24/7 super fast premium customer support for you","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-08@2x.png"},{title:this.__("Add Social profile to your vendor’s store and support for store SEO","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-09@2x.png"}],comparisons:[{title:this.__("Frontend order management","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Seller Statement Reports","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Making Announcements","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Customized Product Categories","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store SEO","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Back Ordering System","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store Contact Form","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Single Product Multiple Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Seller Verification","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Featured Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Multiple Commission Types","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Frontend Shipping Tracking","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Setup Wizard","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Google Maps","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Manage reviews","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Bookable Product","dokan-lite"),compare:{lite:"unavailable",pro:"available"}}],modules:[{title:"Domain",url:"https://wedevs.com/dokan/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"03"},business:{type:"numeric",value:"05"},enterprise:{type:"numeric",value:"20"}},{title:"Modules",url:"https://wedevs.com/dokan/modules/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"08"},business:{type:"numeric",value:"14"},enterprise:{type:"numeric",value:"14"}},{title:"Color Scheme",url:"https://wedevs.com/dokan/modules/color-scheme-customizer/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Review",url:"https://wedevs.com/dokan/modules/dokan-vendor-review/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Store Support",url:"https://wedevs.com/dokan/modules/store-support/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Auction",url:"https://wedevs.com/dokan/modules/dokan-simple-auctions/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Ajax Live Search",url:"https://wedevs.com/dokan/modules/ajax-live-search/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Stripe Connect",url:"https://wedevs.com/dokan/modules/stripe-connect/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Subscriptions",url:"https://wedevs.com/dokan/modules/subscription/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Single Product Multivendor",url:"https://wedevs.com/dokan/modules/single-product-multivendor/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Seller Verification",url:"https://wedevs.com/dokan/modules/seller-verification/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"WC Booking Integration",url:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Staff Manager",url:"https://wedevs.com/dokan/modules/vendor-staff-manager/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Export Import",url:"https://wedevs.com/dokan/modules/export-import/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Product Enquiry",url:"https://wedevs.com/dokan/modules/product-enquiry/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Vacation",url:"https://wedevs.com/dokan/modules/vendor-vacation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Return and Warranty Request",url:"https://wedevs.com/dokan/modules/rma/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Moip",url:"https://wedevs.com/dokan/modules/moip/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Follow Store",url:"https://wedevs.com/dokan/modules/follow-store/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Geolocation",url:"https://wedevs.com/dokan/modules/geolocation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Shipstation",url:"https://wedevs.com/dokan/modules/shipstation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Wholesale",url:"https://wedevs.com/dokan/modules/wholesale/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}}],payment:{thumbnail:dokan.urls.assetsUrl+"/images/premium/payment-options.png",guaranteeThumbnail:dokan.urls.assetsUrl+"/images/premium/gaurantee-thumb.png",viewIcon:dokan.urls.assetsUrl+"/images/premium/view-icon@2x.png",termsPolicyUrl:"https://wedevs.com/refund-policy/"},slickOptions:{slidesToShow:1,fade:!0,speed:500,cssEase:"linear",autoplay:!0,autoplaySpeed:2e3,infinite:!0,accessibility:!0,adaptiveHeight:!1,arrows:!1,dots:!0,draggable:!0,edgeFriction:.3,swipe:!0},testimonials:[{name:"Melissa McGovern",designation:"Director, Hawk And PeddleProjects",pic:dokan.urls.assetsUrl+"/images/premium/melissa.jpg",content:"We're still a new business and are continuing to build our platform. Dokan has halved the time it would take us to build our ecommerce platform by being feature rich and easy to install and configure."},{name:"Morten J. Christensen",designation:"Owner, Dincatering",pic:dokan.urls.assetsUrl+"/images/premium/Morten-J.-Christensen.jpg",content:"First and foremost it enables the possibility for actually creating the kind of marketplace i wanted. The plugin lets me create a local marketplace for local danish catering suppliers to showcase and sell their offers of the season."},{name:"Cédric Lefrancq",designation:"Webmaster, Unwebmaster.Be",pic:dokan.urls.assetsUrl+"/images/premium/cedric-lefrancq.jpeg",content:"The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."},{name:"David Gaz",designation:"Founder, The Bureau Of Small Projects",pic:dokan.urls.assetsUrl+"/images/premium/david-gaz.jpeg",content:"It’s hands down an amazing plugin. But their support is even more amazing. They got back to me within hours on the weekend."}],cta:{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.buynowpro}}},methods:{next:function(){this.$refs.slick.next()},prev:function(){this.$refs.slick.prev()},reInit:function(){var e=this;this.$nextTick(function(){e.$refs.slick.reSlick()})}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(51),n=a(126),i=!1;var o=function(e){i||a(125)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ProCta.vue",t.a=r.exports},function(e,t,a){"use strict";t.a={name:"ProCta",data:function(){return{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.upgradeToPro}}}},function(e,t,a){"use strict";var s=a(7),n=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading");t.a={name:"Help",components:{Postbox:n,Loading:i,UpgradeBanner:s.a},data:function(){return{docs:null,hasPro:!!dokan.hasPro}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;dokan.api.get("/admin/help").done(function(t){e.docs=t})}}}},function(e,t,a){"use strict";var s=a(137),n=a(167),i=a(7),o=dokan_get_lib("Loading");t.a={name:"Settings",components:{Fields:s.a,Loading:o,SettingsBanner:n.a,UpgradeBanner:i.a},data:function(){return{isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{},requiredFields:[],errors:[],hasPro:!!dokan.hasPro,searchText:"",awaitingSearch:!1}},computed:{refreshable_props:function(){var e,t={};for(e in this.settingFields){var a=this.settingFields[e],s=void 0;for(s in a)a[s].refresh_after_save&&(t["".concat(e,".").concat(s)]=!0)}return t}},methods:{changeTab:function(e){this.currentTab=e.id,this.requiredFields=[],"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},showSectionTitle:function(e){return!_.findWhere(e,{type:"sub_section"})},sectionTitle:function(e){return _.findWhere(this.settingSections,{id:e}).title},fetchSettingValues:function(){var e=this,t={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,s){Object.keys(e.settingFields[a]).forEach(function(s,n){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][s]?void 0===e.settingFields[a][s].default?e.settingValues[a][s]="":e.settingValues[a][s]=e.settingFields[a][s].default:e.settingValues[a][s]=t.data[a][s]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0)})},showMedia:function(e,t){var a=this,s=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","dokan-lite"),button:{text:this.__("Select","dokan-lite")},multiple:!1});s.on("select",function(){var t=s.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),s.open()},saveSettings:function(e,t){if(this.formIsValid(t)){var a=this,s={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:t};a.showLoading=!0,jQuery.post(dokan.ajaxurl,s).done(function(s){var n,i=s.data.settings;for(n in a.isSaved=!0,a.isUpdated=!0,a.message=s.data.message,a.settingValues[i.name]=i.value,e){var o="".concat(t,".").concat(n);if(a.refreshable_props[o]){window.location.reload();break}}}).fail(function(e){var t=e.responseJSON.data.map(function(e){return e.message});alert(t.join(" "))}).always(function(){a.showLoading=!1})}},formIsValid:function(e){var t=this,a=Object.keys(this.settingFields),s=this.requiredFields;return!!a&&(a.forEach(function(a,n){if(e===a){var i=t.settingFields[a];Object.values(i).forEach(function(e){var t=e.fields;t&&Object.values(t).forEach(function(e){e&&e.required&&"yes"===e.required&&!s.includes(e.name)&&s.push(e.name)}),e&&e.required&&"yes"===e.required&&(s.includes(e.name)||s.push(e.name))})}}),this.errors=[],s.forEach(function(e){Object.values(t.settingValues).forEach(function(a){e in a&&a[e].length<1&&(t.errors.includes(e)||(t.errors.push(e),"flat"!==a.commission_type&&"percentage"!==a.commission_type||(t.errors=t.arrayRemove(t.errors,"admin_percentage"),t.errors=t.arrayRemove(t.errors,"additional_fee"))))})}),this.errors.length<1)},arrayRemove:function(e,t){return e.filter(function(e){return e!==t})},toggleLoadingState:function(){this.showLoading=!this.showLoading},clearSearch:function(){this.searchText="",this.validateBlankSearch()},validateBlankSearch:function(){return""!==this.searchText.toLowerCase()||(this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,!1)},searchInSettings:function(e){var t=this;this.validateBlankSearch()&&(this.awaitingSearch||setTimeout(function(){var e=t.$refs.searchInSettings.value.toLowerCase();t.doSearch(e),t.awaitingSearch=!1},1e3),this.awaitingSearch=!0)},doSearch:function(e){var t=this,a={},s=[],n=[],i=dokan.settings_fields;Object.keys(i).forEach(function(t,n){Object.keys(i[t]).forEach(function(n,o){if("sub_section"!==i[t][n].type){var r=i[t][n].label.toLowerCase();r&&r.includes(e)&&(a[t]||(a[t]={}),a[t][n]=i[t][n],-1===s.indexOf(t)&&s.push(t))}})});var o=0;Object.keys(dokan.settings_sections).forEach(function(e,a){-1!==s.indexOf(dokan.settings_sections[e].id)&&(o||(t.changeTab(dokan.settings_sections[e]),o=1),n.push(dokan.settings_sections[e]))}),this.settingFields=a,this.settingSections=n}},created:function(){this.fetchSettingValues(),this.currentTab="dokan_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"dokan_general"),this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields}}},function(e,t,a){"use strict";var s=a(139),n=a.n(s),i=a(140),o=a.n(i),r=a(23);function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var c=dokan_get_lib("TextEditor"),u=dokan_get_lib("GoogleMaps"),p=dokan_get_lib("Mapbox"),m=dokan_get_lib("RefreshSettingOptions");t.a={name:"Fields",components:{colorPicker:r.a,TextEditor:c,GoogleMaps:u,Mapbox:p,RefreshSettingOptions:m},props:["id","fieldData","sectionId","fieldValue","allSettingsValues","errors","toggleLoadingState"],data:function(){return{repeatableItem:{},hideMap:!1}},computed:{shoudShow:function(){var e=!0;if(this.fieldData.show_if){var t=this.fieldData.show_if,a=Object.keys(t),s=0;for(s=0;s<a.length;s++){var n=a[s],i=n.split(".").reverse(),r=o()(i,2),l=r[0],d=r[1],c=void 0===d?this.sectionId:d,u=this.allSettingsValues[c][l],p=_.chain(t[n]).pairs().first().value(),m=o()(p,2),v=m[0],f=m[1];switch(v){case"greater_than":u>f||(e=!1);break;case"greater_than_equal":u>=f||(e=!1);break;case"less_than":u<f||(e=!1);break;case"less_than":u<=f||(e=!1);break;case"equal":default:u!=f&&(e=!1)}if(!e)break}}return e},mapApiSource:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.map_api_source},mapLocation:function(){var e=d(d({},{latitude:23.709921,longitude:90.40714300000002,address:"Dhaka",zoom:10}),this.fieldValue[this.fieldData.name]);return e={latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude),address:"".concat(e.address),zoom:parseInt(e.zoom)}},googleMapApiKey:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.gmap_api_key},mapboxAccessToken:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.mapbox_access_token}},beforeMount:function(){"multicheck"!==this.fieldData.type||this.fieldValue[this.fieldData.name]||(this.fieldValue[this.fieldData.name]=this.fieldData.default)},methods:{containCommonFields:function(e){return _.contains([void 0,"text","email","url","phone","time"],e)},addItem:function(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem:function(e,t){this.fieldValue[t].splice(e,1)},haveCondition:function(e){return e.hasOwnProperty("condition")},checkConditionLogic:function(e,t){var a=e.condition.logic,s=!1;return _.each(a,function(e,a){_.contains(e,t[a])&&(s=!0)}),s},onHideMap:function(e){this.hideMap=e},onUpdateMap:function(e){this.fieldValue[this.fieldData.name]=d(d({},this.mapLocation),e)},hasError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},getError:function(e){return e+" "+this.__("is required.","dokan-lite")}}}},,,,,,,,,function(e,t,a){"use strict";t.a={name:"SettingsBanner",data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},computed:{bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(173),n=a(7),i=dokan_get_lib("ListTable"),o=dokan_get_lib("Switches"),r=dokan_get_lib("Search");t.a={name:"Vendors",components:{ListTable:i,Switches:o,Search:r,AddVendor:s.a,UpgradeBanner:n.a},data:function(){return{showCb:!0,hasPro:dokan.hasPro,counts:{pending:0,approved:0,all:0},vendorId:0,totalItems:0,perPage:20,totalPages:1,loading:!1,columns:{store_name:{label:this.__("Store","dokan-lite"),sortable:!0},email:{label:this.__("E-mail","dokan-lite")},phone:{label:this.__("Phone","dokan-lite")},registered:{label:this.__("Registered","dokan-lite"),sortable:!0},enabled:{label:this.__("Status","dokan-lite")}},actionColumn:"title",actions:[{key:"edit",label:this.__("Edit","dokan-lite")},{key:"products",label:this.__("Products","dokan-lite")},{key:"orders",label:this.__("Orders","dokan-lite")}],bulkActions:[{key:"approved",label:this.__("Approve Vendors","dokan-lite")},{key:"pending",label:this.__("Disable Selling","dokan-lite")}],vendors:[],loadAddVendor:!1,dokanVendorHeaderArea:dokan.hooks.applyFilters("getDokanVendorHeaderArea",[]),isVendorSwitchingEnabled:!1}},watch:{"$route.query.status":function(){this.fetchVendors()},"$route.query.page":function(){this.fetchVendors()},"$route.query.orderby":function(){this.fetchVendors()},"$route.query.order":function(){this.fetchVendors()}},computed:{currentStatus:function(){return this.$route.query.status||"all"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},sortBy:function(){return this.$route.query.orderby||"registered"},sortOrder:function(){return this.$route.query.order||"desc"},storeCategory:function(){return this.$route.query.store_category||null}},created:function(){var e=this;this.$root.$on("modalClosed",function(){e.loadAddVendor=!1,e.vendorId=0}),this.fetchVendors(),this.$root.$on("vendorAdded",function(t){e.vendors.unshift(t)}),this.$root.$on("addAnotherVendor",function(){e.loadAddVendor=!0}),this.$root.$on("categoryFetched",function(t){e.categories=t.categories,e.isCategoryMultiple=t.isCategoryMultiple,e.columns=t.columns}),this.isVendorSwitchingEnabled=!!dokan.is_vendor_switching_enabled,this.isVendorSwitchingEnabled&&this.actions.push({key:"switch_to",label:this.__("Switch To","dokan-lite")})},methods:{addNew:function(){this.loadAddVendor=!0},doSearch:function(e){var t=this,a=this;a.loading=!0,dokan.api.get("/stores?search=".concat(e),{page:this.currentPage,orderby:this.sortBy,order:this.sortOrder}).done(function(e,s,n){a.vendors=e,a.loading=!1,t.updatedCounts(n),t.updatePagination(n)})},updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Approved")),this.counts.all=parseInt(e.getResponseHeader("X-Status-All"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},fetchVendors:function(){var e=this;e.loading=!0;var t={per_page:e.perPage,page:e.currentPage,status:e.currentStatus,orderby:e.sortBy,order:e.sortOrder,store_category:e.storeCategory};dokan.api.get("/stores",t).done(function(t,a,s){e.vendors=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},onActionClick:function(e,t){"trash"===e&&confirm("Are you sure to delete?")&&alert("deleted: "+t.title)},onSwitch:function(e,t){var a=this,s=!1===e?this.__("The vendor has been disabled.","dokan-lite"):this.__("Selling has been enabled","dokan-lite");dokan.api.put("/stores/"+t+"/status",{status:!1===e?"inactive":"active"}).done(function(e){a.$notify({title:a.__("Success!","dokan-lite"),type:"success",text:s}),"all"!==a.currentStatus&&a.fetchVendors()})},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),goToPage:function(e){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:e}})},onBulkAction:function(e,t){var a=this,s={};s[e]=t,this.loading=!0,dokan.api.put("/stores/batch",s).done(function(e){a.loading=!1,a.fetchVendors()})},sortCallback:function(e,t){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:1,orderby:e,order:t}})},productUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=product&author="+e},ordersUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=shop_order&vendor_id="+e},editUrl:function(e){return dokan.urls.adminRoot+"user-edit.php?user_id="+e},switchToUrl:function(e){return e.switch_url}}}},function(e,t,a){"use strict";var s=a(26),n=a(33),i=a(36),o=dokan_get_lib("Modal"),r=dokan_get_lib("Loading");t.a={name:"AddVendor",props:["vendorId"],components:{Modal:o,Loading:r,VendorAccountFields:s.a,VendorAddressFields:n.a,VendorPaymentFields:i.a},data:function(){return{isLoading:!1,storeId:"",nextBtn:this.__("Next","dokan-lite"),title:this.__("Add New Vendor","dokan-lite"),tabs:{VendorAccountFields:{label:this.__("Account Info","dokan-lite"),name:"VendorAccountFields",icon:"dashicons dashicons-admin-users"},VendorAddressFields:{label:this.__("Address","dokan-lite"),name:"VendorAddressFields",icon:"dashicons dashicons-admin-home"},VendorPaymentFields:{label:this.__("Payment Options","dokan-lite"),name:"VendorPaymentFields",icon:"dashicons dashicons-money"}},currentTab:"VendorAccountFields",store:{store_name:"",user_pass:"",store_url:"",user_login:"",email:"",user_nicename:"",notify_vendor:!0,phone:"",banner:"",banner_id:"",gravatar:"",gravatar_id:"",social:{fb:"",gplus:"",youtube:"",twitter:"",linkedin:"",pinterest:"",instagram:""},payment:{bank:{ac_name:"",ac_number:"",bank_name:"",bank_addr:"",routing_number:"",iban:"",swift:""},paypal:{email:""}},address:{street_1:"",street_2:"",city:"",zip:"",state:"",country:""}},requiredFields:["store_name","user_login","email"],errors:[],storeAvailable:!1,userNameAvailable:!1,emailAvailable:!1,hasPro:dokan.hasPro}},created:function(){var e=this;this.$root.$on("vendorInfoChecked",function(t){e.storeAvailable=t.storeAvailable,e.userNameAvailable=t.userNameAvailable,e.emailAvailable=t.emailAvailable})},methods:{getId:function(){return this.$route.params.id},showAlert:function(e,t,a){this.$swal(e,t,a)},createVendor:function(){var e=this;this.formIsValid()&&("VendorPaymentFields"===this.currentTab&&(this.isLoading=!0,dokan.api.post("/stores/",this.store).done(function(t){e.$root.$emit("vendorAdded",t),e.$swal({type:"success",title:e.__("Vendor Created","dokan-lite"),text:e.__("A vendor has been created successfully!","dokan-lite"),showCloseButton:!0,showCancelButton:!0,confirmButtonText:e.__("Add Another","dokan-lite"),cancelButtonText:e.__("Edit Vendor","dokan-lite"),focusConfirm:!1}).then(function(a){a.value?e.$root.$emit("addAnotherVendor"):a.dismiss===e.$swal.DismissReason.cancel&&(e.hasPro?e.$router.push({path:"vendors/"+t.id,query:{edit:"true"}}):window.location.replace("".concat(dokan.urls.adminRoot,"user-edit.php?user_id=").concat(t.id)))})}).fail(function(t){e.showAlert(e.__(t.responseJSON.message,"dokan-lite"),"","error")}).always(function(){e.$root.$emit("modalClosed")})),this.currentTab="VendorPaymentFields"===this.currentTab?"VendorPaymentFields":this.nextTab(this.tabs,this.currentTab))},nextTab:function(e,t){var a=Object.keys(e),s=a[a.indexOf(t)+1];return s},closeModal:function(){this.$root.$emit("modalClosed")},formIsValid:function(){var e=this,t=this.requiredFields,a=this.store;return this.errors=[],t.forEach(function(t){t in a&&a[t].length<1&&e.errors.push(t)}),!!(this.errors.length<1&&this.storeAvailable&&this.userNameAvailable&&this.emailAvailable)||(this.currentTab="VendorAccountFields",!1)}}}},function(e,t,a){"use strict";var s=a(50);t.a={name:"VendorCapabilities",components:{ProCta:s.a},data:function(){return{showPopup:!1,selectedCapabilityImage:"",capabilityCards:[{title:this.__("Coupons","dokan-lite"),content:this.__("Each vendor can create unlimited discount coupon codes for their products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-coupon.svg")},{title:this.__("Shipping","dokan-lite"),content:this.__("Vendors can configure their own shipping costs for each country, state & single products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-shipping.svg")},{title:this.__("Duplicate Product","dokan-lite"),content:this.__("Vendors can duplicate their own products for ease and time saving.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-duplicate-product.svg")},{title:this.__("Reporting","dokan-lite"),content:this.__("Earning, selling and commissions reports for vendors to improve sales & take major decisions.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-reports.svg")},{title:this.__("Create Tags","dokan-lite"),content:this.__("Vendors can create & attach tags to products to categorize & for better search engine optimization.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-create-tags.svg")},{title:this.__("Vendor Biography","dokan-lite"),content:this.__("Vendors can write about themselves & about their store in a text field which visitors can see from the store page","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-biography.svg")},{title:this.__("Vendor Product Upload","dokan-lite"),content:this.__("New vendors can start uploading products upon registration if admins allow.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-product-upload.svg")},{title:this.__("Order Status Change","dokan-lite"),content:this.__("Vendors will be able to mark products as draft & update the order status to inform customers about progress.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-order-status-change.svg")},{title:this.__("Social Share","dokan-lite"),content:this.__("Visitors and customers can share a store page with their friends and acquaintances on their social profiles.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-share.svg")},{title:this.__("Variable Product","dokan-lite"),content:this.__("Vendors can create variable products with predefined and custom attributes.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-variable-product.svg")},{title:this.__("Store Opening & Closing Time","dokan-lite"),content:this.__("Vendors can define the working hours of their online store for each day of the week for visitors to see.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-opening-closing-hours.svg")},{title:this.__("Woocommerce Booking Integration","dokan-lite"),content:this.__("Create hotel rooms, resorts, conference rooms, cars, bikes, etc for renting out.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-woocommerce-booking.svg")},{title:this.__("Announcement For Vendors","dokan-lite"),content:this.__("Admins can make announcements targeted to a single vendor, multiple or all vendors.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-announcement-vendors.svg")},{title:this.__("Woocommerce Simple Auctions Integration","dokan-lite"),content:this.__("Sell auction-able products in your store with Dokan’s integration.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-simple-auction.svg")},{title:this.__("Social Profiles","dokan-lite"),content:this.__("Vendors can upload & showcase their Facebook, Twitter and Linkedin profiles on their store page.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-profile.svg")},{title:this.__("Refund","dokan-lite"),content:this.__("Vendors can send refund requests for an order to the admins who can approve or deny it from the dashboard.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-refund.svg")},{title:this.__("Store Seo","dokan-lite"),content:this.__("The Yoast SEO integration lets vendors define Store Title, Description, Slug and Keyword to appear in search engine results.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-store-seo.svg")}]}},methods:{closePopup:function(){this.showPopup=!1},openPopup:function(e){this.showPopup=!0,this.selectedCapabilityImage=e}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner.svg")}}}},function(e,t,a){"use strict";var s=a(182);t.a={name:"ProModules",components:{ModuleUpgradePopup:s.a},data:function(){return{modules:[{name:this.__("WooCommerce Booking Integration","dokan-lite"),description:this.__("Integrates WooCommerce Booking with Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/booking.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-bookings/",modLink:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/"},{name:this.__("Color Scheme Customizer","dokan-lite"),description:this.__("A Dokan plugin Add-on to Customize Colors of Dokan Dashboard","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/color-scheme-customizer.png"),docLink:"https://wedevs.com/docs/dokan/modules/color-scheme/",modLink:"https://wedevs.com/dokan/modules/color-scheme-customizer/"},{name:this.__("Elementor","dokan-lite"),description:this.__("Elementor Page Builder widgets for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/elementor.png"),docLink:"https://wedevs.com/docs/dokan/modules/elementor-dokan/",modLink:"https://wedevs.com/dokan/modules/elementor/"},{name:this.__("Vendor Product Importer and Exporter","dokan-lite"),description:this.__("This is simple product import and export plugin for vendor","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/import-export.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-dokan-exportimport-add/",modLink:"https://wedevs.com/dokan/modules/export-import/"},{name:this.__("Follow Store","dokan-lite"),description:this.__("Send emails to customers when their favorite store updates.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/follow-store.png"),docLink:"https://wedevs.com/docs/dokan/modules/follow-store/",modLink:"https://wedevs.com/dokan/modules/follow-store/"},{name:this.__("Geolocation","dokan-lite"),description:this.__("Search Products and Vendors by geolocation.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/geolocation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-geolocation/",modLink:"https://wedevs.com/dokan/modules/geolocation/"},{name:this.__("Live Chat","dokan-lite"),description:this.__("Live Chat Between Vendor & Customer.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/live-chat.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-live-chat/",modLink:"https://wedevs.com/dokan/modules/live-chat/"},{name:this.__("Live Search","dokan-lite"),description:this.__("Live product search for WooCommerce store.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/ajax-live-search.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-live-search/",modLink:"https://wedevs.com/dokan/modules/ajax-live-search/"},{name:this.__("Wirecard","dokan-lite"),description:this.__("Wirecard payment gateway for Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wirecard-connect.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-moip-connect/",modLink:"https://wedevs.com/dokan/modules/moip/"},{name:this.__("PayPal Adaptive Payment","dokan-lite"),description:this.__("Allows to send split payments to vendor via PayPal Adaptive Payment gateway.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/paypal-adaptive.png"),docLink:"#",modLink:"#"},{name:this.__("Product Addon","dokan-lite"),description:this.__("WooCommerce Product Addon support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-addon.png"),docLink:"https://wedevs.com/docs/dokan/modules/product-addon/",modLink:"https://wedevs.com/dokan/modules/product-addons/"},{name:this.__("Product Enquiry","dokan-lite"),description:this.__("Enquiry for a specific product to a seller.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-enquiry.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-product-enquiry/",modLink:"https://wedevs.com/dokan/modules/product-enquiry/"},{name:this.__("Report Abuse","dokan-lite"),description:this.__("Let customers report fraudulent or fake products.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/"},{name:this.__("Return and Warranty Request","dokan-lite"),description:this.__("Manage return and warranty from vendor end.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-rma/",modLink:"https://wedevs.com/dokan/modules/rma/"},{name:this.__("Seller Vacation","dokan-lite"),description:this.__("Using this plugin seller can go to vacation by closing their stores.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/seller-vacation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-vacation/",modLink:"https://wedevs.com/dokan/modules/vendor-vacation/"},{name:this.__("ShipStation Integration","dokan-lite"),description:this.__("Adds ShipStation label printing support to Dokan. Requires server DomDocument support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/shipstation.png"),docLink:"https://wedevs.com/docs/dokan/modules/shipstation-dokan-wedevs/",modLink:"https://wedevs.com/dokan/modules/shipstation/"},{name:this.__("Auction Integration","dokan-lite"),description:this.__("A plugin that combined WooCommerce simple auction and Dokan plugin.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/auction.png"),docLink:"https://wedevs.com/docs/dokan/modules/woocommerce-auctions-frontend-multivendor-marketplace/",modLink:"https://wedevs.com/dokan/modules/dokan-simple-auctions/"},{name:this.__("Single Product Multiple Vendor","dokan-lite"),description:this.__("A module that offers multiple vendor to sell a single product.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/single-product-multivendor.png"),docLink:"https://wedevs.com/docs/dokan/modules/single-product-multiple-vendor/",modLink:"https://wedevs.com/dokan/modules/single-product-multivendor/"},{name:this.__("Store Reviews","dokan-lite"),description:this.__("A plugin that allows customers to rate the sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-review.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-review/",modLink:"https://wedevs.com/dokan/modules/dokan-vendor-review/"},{name:this.__("Store Support","dokan-lite"),description:this.__("Enable vendors to provide support to customers from store page.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/store-support.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-store-support/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Stripe Connect","dokan-lite"),description:this.__("Accept credit card payments and allow your sellers to get automatic split payment in Dokan via Stripe.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/stripe.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-configure-dokan-stripe-connect/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Vendor Subscription","dokan-lite"),description:this.__("Product subscription pack add-on for Dokan vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/subscription.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-use-dokan-subscription/",modLink:"https://wedevs.com/dokan/modules/subscription/"},{name:this.__("Vendor Analytics","dokan-lite"),description:this.__("A plugin for store and product analytics for vendor.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/analytics.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/"},{name:this.__("Vendor Staff Manager","dokan-lite"),description:this.__("A plugin for manage store via vendor staffs.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-staff.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-staff-manager/",modLink:"https://wedevs.com/dokan/modules/vendor-staff-manager/"},{name:this.__("Vendor Subscription Product","dokan-lite"),description:this.__("WooCommerce Subscription integration for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-subscription-product.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-subscription-product/",modLink:"https://wedevs.com/dokan/modules/vendor-subscription-product/"},{name:this.__("Vendor Verification","dokan-lite"),description:this.__("Dokan add-on to verify sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-verification.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-seller-verification-admin-settings/",modLink:"https://wedevs.com/dokan/modules/seller-verification/"},{name:this.__("Wholesale","dokan-lite"),description:this.__("Offer any customer to buy product as a wholesale price from any vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wholesale.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-wholesale/",modLink:"https://wedevs.com/dokan/modules/wholesale/"}],showPopup:!0}},methods:{togglePopup:function(e){this.showPopup=e}}}},function(e,t,a){"use strict";t.a={name:"ModuleUpgradePopup",props:{showPopup:{type:Boolean,required:!0,default:!0}},data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},methods:{closePopup:function(){this.$emit("toggle",!1)},openPopup:function(){this.$emit("toggle",!0)}},computed:{headerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-upgrade-popup-header.svg")},bonusImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-upgrade-popup-bonus.svg")}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(107),n=a(110),i=a(186);new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.a,render:function(e){return e(s.a)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"]),dokan.dokan_pro_i18n&&this.setLocaleData(dokan.dokan_pro_i18n.dokan)},methods:{listTableTexts:function(){return{loading:this.__("Loading","dokan-lite"),select_bulk_action:this.__("Select bulk action","dokan-lite"),bulk_actions:this.__("Bulk Actions","dokan-lite"),items:this.__("items","dokan-lite"),apply:this.__("Apply","dokan-lite")}}}}),Object(i.a)("dokan")},function(e,t,a){"use strict";var s=a(45),n=a(109),i=!1;var o=function(e){i||a(108)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/App.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"vue-backend-app"}},[t("router-view"),this._v(" "),t("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(111),n=a.n(s),i=a(112),o=a(120),r=a(123),l=a(132),d=a(135),c=a(171),u=a(177),p=a(180),m=dokan_get_lib("Vue"),v=dokan_get_lib("Router"),_=dokan_get_lib("VersionCompare");m.use(v),dokan_add_route(i.a),dokan_add_route(o.a),dokan_add_route(r.a),dokan_add_route(l.a),dokan_add_route(d.a),dokan_add_route(u.a),dokan_add_route(p.a),dokan.hasPro&&!_(dokan.proVersion,"2.9.14",">")||dokan_add_route(c.a),function e(t){for(var a=0;a<t.length;a++)"object"===n()(t[a].children)?(e(t[a].children),void 0!==t[a].component&&(t[a].component=dokan.routeComponents[t[a].component])):t[a].component=dokan.routeComponents[t[a].component]}(dokan.routes),t.a=new v({routes:dokan.routes})},,function(e,t,a){"use strict";var s=a(46),n=a(119),i=!1;var o=function(e){i||a(113)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Dashboard.vue",t.a=r.exports},function(e,t){},,,,function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&e.showUpgrade?a("div",{staticClass:"dokan-upgrade-bar"},[e._v("\n You're using "),a("span",[e._v("Dokan Lite")]),e._v(". To unlock more features, consider\n "),a("a",{attrs:{target:"_blank",rel:"noopener",href:e.upgradeURL}},[e._v("\n Upgrading to Pro")]),e._v(".\n\n "),a("div",{staticClass:"close-button",attrs:{title:"Dismiss the notice"},on:{click:function(t){return e.dismiss()}}},[e._v("\n ×\n ")])]):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-dashboard"},[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),a("div",{staticClass:"widgets-wrapper"},[a("div",{staticClass:"left-side"},[a("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?a("div",{staticClass:"dokan-status"},[a("ul",[a("li",{staticClass:"sale"},[a("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),a("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),a("li",{staticClass:"commission"},[a("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),a("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),a("li",{staticClass:"vendor"},[a("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[a("strong",[e._v(e._s(e.overview.vendors.this_month)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),a("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),a("li",{staticClass:"approval"},[a("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[a("strong",[e._v(e._s(e.overview.vendors.inactive)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),a("li",{staticClass:"product"},[a("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),a("a",{attrs:{href:"#"}},[a("strong",[e._v(e._s(e.overview.products.this_month)+" "+e._s(e.__("Products","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),a("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),a("li",{staticClass:"withdraw"},[a("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[a("strong",[e._v(e._s(e.overview.withdraw.pending)+" "+e._s(e.__("Withdrawals","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):a("div",{staticClass:"loading"},[a("loading")],1)]),e._v(" "),a("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?a("div",{staticClass:"rss-widget"},[a("ul",e._l(e.feed,function(t){return a("li",[a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(t.title))])])}),0),e._v(" "),a("div",{staticClass:"subscribe-box"},[e.subscribe.success?a("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),a("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("We're constantly developing new features, stay up-to-date by subscribing to our newsletter.","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"form-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.email,expression:"subscribe.email"}],attrs:{type:"email",required:"",placeholder:"Your Email Address"},domProps:{value:e.subscribe.email},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emailSubscribe()},input:function(t){t.target.composing||e.$set(e.subscribe,"email",t.target.value)}}}),e._v(" "),a("button",{staticClass:"button",on:{click:function(t){return e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):a("div",{staticClass:"loading"},[a("loading")],1)])],1),e._v(" "),a("div",{staticClass:"right-side"},[a("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?a("div",[a("chart",{attrs:{data:e.report}})],1):a("div",{staticClass:"loading"},[a("loading")],1)])],1)])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(48),n=a(122),i=!1;var o=function(e){i||a(121)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Withdraw.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"withdraw-requests"},[a("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),e.showModal?a("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(t){e.showModal=!1}}},[a("template",{slot:"body"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:e.editing.note},on:{input:function(t){t.target.composing||e.$set(e.editing,"note",t.target.value)}}})]),e._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"button button-primary button-large",on:{click:function(t){return e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"cancelled"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Cancelled","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.cancelled))])]),e._v(" | ")],1)]),e._v(" "),a("list-table",{attrs:{columns:e.columns,rows:e.requests,loading:e.loading,"action-column":e.actionColumn,actions:e.actions,"show-cb":e.showCb,"bulk-actions":e.bulkActions,"not-found":e.notFound,"total-pages":e.totalPages,"total-items":e.totalItems,"per-page":e.perPage,"current-page":e.currentPage,text:e.$root.listTableTexts()},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(t){return[a("img",{attrs:{src:t.row.user.gravatar,alt:t.row.user.store_name,width:"50"}}),e._v(" "),a("strong",[a("a",{attrs:{href:e.vendorUrl(t.row.user.id)}},[e._v(e._s(t.row.user.store_name?t.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"amount",fn:function(e){return[a("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(t){return[a("span",{class:t.row.status},[e._v(e._s(e._f("capitalize")(t.row.status)))])]}},{key:"created",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_details",fn:function(t){return[e._v("\n "+e._s(e.getPaymentDetails(t.row.method,t.row.user.payment))+"\n ")]}},{key:"actions",fn:function(t){return["pending"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("approved",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("pending",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])})],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(49),n=a(131),i=!1;var o=function(e){i||a(124)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Premium.vue",t.a=r.exports},function(e,t){},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cta-section",style:{"background-image":"url("+e.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("With all the advance features you get it’s hard to resist buying Dokan Pro.","dokan-lite")))]),e._v(" "),a("a",{staticClass:"btn",attrs:{href:e.url,target:"_blank"}},[e._v("\n "+e._s(e.__("Upgrade to Pro","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-pro-features"},[a("div",{staticClass:"header-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/header-feature-thumb@2x.png",alt:e.__("Upgrade to Dokan Pro!","dokan-lite"),title:e.__("Upgrade to Dokan Pro!","dokan-lite")}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")]),e._v(" "),a("router-link",{staticClass:"button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)]),e._v(" "),a("div",{staticClass:"service-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),a("div",{staticClass:"service-list"},e._l(e.services,function(t){return a("div",{staticClass:"service-box"},[a("div",{staticClass:"service-thumb"},[a("img",{attrs:{src:t.thumbnail,alt:t.title,title:t.title}})]),e._v(" "),a("div",{staticClass:"service-detail"},[a("h3",{staticClass:"title"},[e._v(e._s(t.title))])])])}),0),e._v(" "),a("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])]),e._v(" "),a("div",{staticClass:"comparison-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),a("div",{staticClass:"comparison-area"},[a("div",{staticClass:"compare-box dokan-lite"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.lite},["available"===t.compare.lite?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)]),e._v(" "),a("div",{staticClass:"compare-box dokan-pro"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.pro},["available"===t.compare.pro?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)])])]),e._v(" "),a("div",{staticClass:"pricing-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),a("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(t){return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"},[a("a",{staticClass:"module-name",attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.starter.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.starter.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.starter.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col popular"},["numeric"===t.professional.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.professional.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.professional.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.business.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.business.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.business.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.enterprise.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.enterprise.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.enterprise.value,alt:""}})])])])}),e._v(" "),a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn starter",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("a",{staticClass:"buy-btn professional",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn business",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15315&attribute_pa_license=business",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn enterprise",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])])])],2)]),e._v(" "),a("div",{staticClass:"payment-section"},[a("div",{staticClass:"guarantee-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),a("div",{staticClass:"guarantee-detail"},[a("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),a("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[a("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"payment-area"},[a("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),a("div",{staticClass:"option"},[a("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),a("div",{staticClass:"testimonial-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),a("div",{staticClass:"testimonial-wrapper"},[a("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(t){return a("div",{staticClass:"testimonial-box"},[a("div",{staticClass:"profile-pic"},[a("img",{attrs:{src:t.pic,alt:""}})]),e._v(" "),a("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[a("h4",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(t.designation))]),e._v(" "),a("p",[e._v(e._s(t.content))])])])}),0)],1),e._v(" "),a("p",{domProps:{innerHTML:e._s(e.sprintf("%s <a href='%s' target='_blank'>%s</a> %s",e.__("We are proud to say the official","dokan-lite"),"https://themes.getbootstrap.com/","Bootstrap theme marketplace",e.__("is built using Dokan","dokan-lite")))}})]),e._v(" "),a("ProCta")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("149")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("249")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("499")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("999")]),e._v(" "),a("span",[e._v("/year")])])])])}]};t.a=n},function(e,t,a){"use strict";var s=a(52),n=a(134),i=!1;var o=function(e){i||a(133)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Help.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),null!==e.docs?a("div",{staticClass:"section-wrapper"},e._l(e.docs,function(t,s){return a("postbox",{key:s,attrs:{title:t.title}},[a("ul",e._l(t.questions,function(t){return a("li",[a("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(t.title))])])}),0)])}),1):a("div",{staticClass:"loading"},[a("loading")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(53),n=a(170),i=!1;var o=function(e){i||a(136)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Settings.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(54),n=a(166),i=!1;var o=function(e){i||a(138)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Fields.vue",t.a=r.exports},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.shoudShow?a("tr",{class:[e.id,"dokan-settings-field-type-"+e.fieldData.type]},["sub_section"===e.fieldData.type?[a("th",{staticClass:"dokan-settings-sub-section-title",attrs:{colspan:"2"}},[a("label",[e._v(e._s(e.fieldData.label))])])]:e._e(),e._v(" "),e.containCommonFields(e.fieldData.type)?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",["checkbox"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:e.fieldData.type||"text"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"number"===e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"price"==e.fieldData.type&&e.allSettingsValues.dokan_selling&&"combine"!==e.allSettingsValues.dokan_selling.commission_type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:{wc_input_decimal:"percentage"==e.allSettingsValues.dokan_selling.commission_type,wc_input_price:"flat"==e.allSettingsValues.dokan_selling.commission_type},attrs:{type:"text",min:e.fieldData.min,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"combine"==e.fieldData.type&&e.haveCondition(e.fieldData)&&"show"==e.fieldData.condition.type&&e.checkConditionLogic(e.fieldData,e.fieldValue)?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{staticClass:"percent_fee"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.percent_fee.name],expression:"fieldValue[fieldData.fields.percent_fee.name]"}],staticClass:"wc_input_decimal regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][percent_fee]",name:e.sectionId+"["+e.fieldData.fields.percent_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.percent_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.percent_fee.name,t.target.value)}}}),e._v("\n "+e._s("%")+"\n ")]),e._v(" "),a("td",{staticClass:"fixed_fee"},[e._v("\n "+e._s("+")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.fixed_fee.name],expression:"fieldValue[fieldData.fields.fixed_fee.name]"}],staticClass:"wc_input_price regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][fixed_fee]",name:e.sectionId+"["+e.fieldData.fields.fixed_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.fixed_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.fixed_fee.name,t.target.value)}}})]),e._v(" "),e.hasError(e.fieldData.fields.percent_fee.name)&&e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.__("Both percentage and fixed fee is required.","dokan-lite"))+"\n ")]):e.hasError(e.fieldData.fields.percent_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.percent_fee.label))+"\n ")]):e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.fixed_fee.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})]:e._e(),e._v(" "),"textarea"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"checkbox"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]","true-value":"on","false-value":"off"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e._q(e.fieldValue[e.fieldData.name],"on")},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=s.checked?"on":"off";if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}),e._v("\n "+e._s(e.fieldData.desc)+"\n ")])])])]:e._e(),e._v(" "),"multicheck"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[e._l(e.fieldData.options,function(t,s){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name][s],expression:"fieldValue[fieldData.name][optionKey]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]["+s+"]",name:e.sectionId+"["+e.fieldData.name+"]["+s+"]","true-value":s,"false-value":""},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name][s])?e._i(e.fieldValue[e.fieldData.name][s],null)>-1:e._q(e.fieldValue[e.fieldData.name][s],s)},on:{change:function(t){var a=e.fieldValue[e.fieldData.name][s],n=t.target,i=n.checked?s:"";if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&e.$set(e.fieldValue[e.fieldData.name],s,a.concat([null])):o>-1&&e.$set(e.fieldValue[e.fieldData.name],s,a.slice(0,o).concat(a.slice(o+1)))}else e.$set(e.fieldValue[e.fieldData.name],s,i)}}}),e._v("\n "+e._s(t)+"\n ")]),e._v(" "),a("br")]})],2)])]:e._e(),e._v(" "),"select"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t){return a("optgroup",{attrs:{label:t.group_label}},e._l(t.group_values,function(t){return a("option",{domProps:{value:t.value,innerHTML:e._s(t.label)}})}),0)})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("option",{domProps:{value:s,innerHTML:e._s(t)}})})],2),e._v(" "),e.fieldData.refresh_options?a("RefreshSettingOptions",{attrs:{section:e.sectionId,field:e.fieldData,"toggle-loading-state":e.toggleLoadingState}}):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"file"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){return t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"color"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("color-picker",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"html"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"radio"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{staticClass:"dokan-settings-field-type-radio"},[a("fieldset",[e._l(e.fieldData.options,function(t,s){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",id:e.sectionId+"["+e.fieldData.name+"]["+s+"]",name:s},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "+e._s(t)+"\n ")])]})],2),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"wpeditor"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("text-editor",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"repeatable"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("ul",{staticClass:"dokan-settings-repeatable-list"},e._l(e.fieldValue[e.fieldData.name],function(t,s){return e.fieldValue[e.fieldData.name]?a("li",[e._v("\n "+e._s(t.value)+" "),a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}})]):e._e()}),0),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[e._v("+")]),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"radio_image"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("div",{staticClass:"radio-image-container"},[e._l(e.fieldData.options,function(t,s){return[a("label",{staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "+e._s(e.__("Active","dokan-lite")))]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]:e._e(),e._v(" "),"gmap"!=e.fieldData.type||e.hideMap?e._e():[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{attrs:{type:"hidden",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.mapLocation}}),e._v(" "),"mapbox"===e.mapApiSource?a("Mapbox",{attrs:{accessToken:e.mapboxAccessToken,location:e.mapLocation,width:"100%",height:"300px"},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}):a("GoogleMaps",{attrs:{apiKey:e.googleMapApiKey,location:e.mapLocation},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]],2):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(63),n=a(169),i=!1;var o=function(e){i||a(168)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/SettingsBanner.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-settings-banner"}},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Settings Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("h1",[e._v(e._s(e.__("Looking for Coupons, Variable Products, SEO or Shipping?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Unlock these awesome frontend features with Dokan PRO","dokan-lite")))]),e._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("router-link",{staticClass:"button custom-button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"dokan-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),a("div",{staticClass:"dokan-settings-wrap"},[a("div",{staticClass:"nav-tab-wrapper"},[a("div",{staticClass:"search-box"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInSettings",staticClass:"dokan-admin-search-settings",attrs:{type:"text",placeholder:"Search e.g. vendor"},domProps:{value:e.searchText},on:{input:[function(t){t.target.composing||(e.searchText=t.target.value)},e.searchInSettings]}}),e._v(" "),""!==e.searchText?a("span",{staticClass:"dashicons dashicons-no-alt",on:{click:function(t){return t.preventDefault(),e.clearSearch(t)}}}):e._e()]),e._v(" "),e._l(e.settingSections,function(t){return[a("a",{class:["nav-tab",e.currentTab===t.id?"nav-tab-active":""],attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),e.changeTab(t)}}},[a("span",{staticClass:"dashicons",class:t.icon}),e._v(" "+e._s(t.title)+"\n ")])]})],2),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingFields,function(t,s){return e.isLoaded?[e.currentTab===s?a("div",{staticClass:"group",attrs:{id:s}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("table",{staticClass:"form-table"},[e.showSectionTitle(t)?a("thead",[a("tr",{staticClass:"dokan-settings-field-type-sub_section"},[a("th",{staticClass:"dokan-settings-sub-section-title",attrs:{colspan:"2"}},[a("label",[e._v(e._s(e.sectionTitle(s)))])])])]):e._e(),e._v(" "),a("tbody",e._l(t,function(t,n){return a("Fields",{key:n,attrs:{"section-id":s,id:n,"field-data":t,"field-value":e.settingValues[s],"all-settings-values":e.settingValues,errors:e.errors,"toggle-loading-state":e.toggleLoadingState},on:{openMedia:e.showMedia}})}),1)]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(t){return t.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])]):e._e()]:e._e()})],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e()])]),e._v(" "),e.hasPro?e._e():a("SettingsBanner")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(64),n=a(176),i=!1;var o=function(e){i||a(172)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Vendors.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(65),n=a(175),i=!1;var o=function(e){i||a(174)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/AddVendor.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-vendor-edit"},[a("modal",{attrs:{title:e.title,width:"800px"},on:{close:e.closeModal}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{staticClass:"tab-header"},[a("ul",{staticClass:"tab-list"},e._l(e.tabs,function(t,s){return a("li",{key:s,class:{"tab-title":!0,active:e.currentTab===t.name,last:"VendorPaymentFields"===t.name}},[a("div",{staticClass:"tab-link"},[a("a",{class:{first:"VendorAccountFields"===t.name},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.currentTab=t.name}}},[a("span",{class:[t.icon]}),e._v("\n "+e._s(t.label)+"\n ")])])])}),0)]),e._v(" "),e.currentTab?a("div",{staticClass:"tab-contents"},[e.isLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),e.isLoading?e._e():a("transition",{attrs:{name:"component-fade",mode:"out-in"}},[a(e.currentTab,{tag:"component",attrs:{vendorInfo:e.store,errors:e.errors}})],1)],1):e._e()]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"button button-primary button-hero",on:{click:e.createVendor}},[e._v(e._s("VendorPaymentFields"===e.currentTab?e.__("Create Vendor","dokan-lite"):this.nextBtn))])])])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"vendor-list"},[a("h1",{staticClass:"wp-heading-inline"},[e._v(e._s(e.__("Vendors","dokan-lite")))]),e._v(" "),a("button",{staticClass:"page-title-action",on:{click:function(t){return e.addNew()}}},[e._v(e._s(e.__("Add New","dokan-lite")))]),e._v(" "),e._l(e.dokanVendorHeaderArea,function(e,t){return a(e,{key:t,tag:"component"})}),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("All","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.all))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1)]),e._v(" "),a("search",{attrs:{title:e.__("Search Vendors","dokan-lite")},on:{searched:e.doSearch}}),e._v(" "),a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.vendors,actions:e.actions,actionColumn:"store_name","show-cb":e.showCb,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.currentPage,"action-column":e.actionColumn,"not-found":"No vendors found.","sort-by":e.sortBy,"sort-order":e.sortOrder,text:e.$root.listTableTexts()},on:{sort:e.sortCallback,pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction,searched:e.doSearch},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("img",{attrs:{src:t.row.gravatar,alt:t.row.store_name,width:"50"}}),e._v(" "),a("strong",[e.hasPro?a("router-link",{attrs:{to:"/vendors/"+t.row.id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])],1)]}},{key:"email",fn:function(t){return[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])]}},{key:"categories",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.categories.map(function(e){return e.name}).join(", "))+"\n ")]}},{key:"registered",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.registered).format("MMM D, YYYY"))+"\n ")]}},{key:"enabled",fn:function(t){return[a("switches",{attrs:{enabled:t.row.enabled,value:t.row.id},on:{input:e.onSwitch}})]}},{key:"row-actions",fn:function(t){return e._l(e.actions,function(s,n){return a("span",{class:s.key},[e.hasPro&&"edit"==s.key?a("router-link",{attrs:{to:{path:"vendors/"+t.row.id,query:{edit:"true"}}}},[e._v(e._s(s.label))]):e.hasPro||"edit"!=s.key?"products"==s.key?a("a",{attrs:{href:e.productUrl(t.row.id)}},[e._v(e._s(s.label))]):"orders"==s.key?a("a",{attrs:{href:e.ordersUrl(t.row.id)}},[e._v(e._s(s.label))]):"switch_to"==s.key?a("a",{attrs:{href:e.switchToUrl(t.row)}},[e._v(e._s(s.label))]):a("a",{attrs:{href:"#"}},[e._v(e._s(s.label))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(s.label))]),e._v(" "),n!==e.actions.length-1?[e._v(" | ")]:e._e()],2)})}}])}),e._v(" "),e.loadAddVendor?a("add-vendor",{attrs:{"vendor-id":e.vendorId}}):e._e()],2)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(66),n=a(179),i=!1;var o=function(e){i||a(178)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorCapabilities.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-vendor-capabilities"}},[a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")])])]),e._v(" "),a("div",{staticClass:"grid"},e._l(e.capabilityCards,function(t){return a("div",{staticClass:"col-6"},[a("div",{staticClass:"capability-card"},[a("div",{staticClass:"capability-image"},[a("img",{staticClass:"image",attrs:{src:t.image,alt:e.__("Dokan Capability","dokan-lite")}}),e._v(" "),a("div",{staticClass:"middle"},[a("div",{staticClass:"zoom",on:{click:function(a){return e.openPopup(t.image)}}},[a("div",{staticClass:"dashicons dashicons-search"})])])]),e._v(" "),a("p",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"content"},[e._v(e._s(t.content))])])])}),0),e._v(" "),a("ProCta"),e._v(" "),e.showPopup?a("div",{attrs:{id:"dokan-capability-image-popup"},on:{click:e.closePopup}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("img",{attrs:{src:this.selectedCapabilityImage,alt:e.__("Dokan Capability","dokan-lite")}})])])]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(67),n=a(185),i=!1;var o=function(e){i||a(181)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ProModules.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(68),n=a(184),i=!1;var o=function(e){i||a(183)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ModuleUpgradePopup.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-upgrade-to-pro-wrapper"}},[e.showPopup?a("div",{attrs:{id:"dokan-upgrade-popup"}},[a("div",{staticClass:"modal-content"},[a("span",{staticClass:"close",on:{click:e.closePopup}}),e._v(" "),a("div",{staticClass:"header"},[a("img",{attrs:{src:e.headerImage,alt:e.__("Dokan Upgrade Popup","dokan-lite")}}),e._v(" "),a("h1",[e._v(e._s(e.__("Unlock 20+ Modules","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-brand"},[e._v(e._s(e.__("with Dokan Premium Plans","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-disabled"},[e._v("\n "+e._s(e.__("We’re sorry, Dokan Modules are not available on Dokan Lite. Please upgrade to a PRO plan to unlock the modules of your choice.","dokan-lite"))+"\n ")])]),e._v(" "),a("div",{staticClass:"body"},[a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("div",{staticClass:"promo-card"},[a("img",{attrs:{src:e.bonusImage,alt:e.__("Dokan Upgrade Promo","dokan-lite")}}),e._v(" "),a("p",[e._v(e._s(e.__("Bonus: Dokan Lite users get 30% off regular price. Click on the link above to obtain the coupon & apply it during checkout.","dokan-lite")))])]),e._v(" "),a("span",[a("a",{attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://wedevs.com/docs/dokan/getting-started/installation-2/"}},[e._v(e._s(e.__("Already upgraded?","dokan-lite")))])])])])]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"lite-modules"}},[a("div",{staticClass:"dokan-modules-wrap"},[a("h1",[e._v(e._s(e.__("Modules","dokan")))]),e._v(" "),a("div",{staticClass:"module-content"},[a("div",{staticClass:"wp-list-table widefat dokan-modules"},[e.modules.length>0?e._l(e.modules,function(t){return a("div",{staticClass:"plugin-card"},[a("div",{staticClass:"plugin-card-top"},[a("div",{staticClass:"name column-name"},[a("h3",[a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[e._v(e._s(t.name))]),e._v(" "),a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[a("img",{staticClass:"plugin-icon",attrs:{src:t.thumbnail,alt:t.name}})])])]),e._v(" "),a("div",{staticClass:"action-links"},[a("ul",{staticClass:"plugin-action-buttons"},[a("li",{on:{click:function(t){return e.togglePopup(!0)}}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20"}},[a("rect",{attrs:{width:"42",height:"20",rx:"10",fill:"#c0c3c6"}}),a("circle",{attrs:{cx:"6",cy:"6",r:"6",transform:"translate(6 4)",fill:"#fff"}})])])])]),e._v(" "),a("div",{staticClass:"desc column-description"},[a("p",{domProps:{innerHTML:e._s(t.description)}})]),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{attrs:{href:t.docLink,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan")))])])])])}):[a("div",{staticClass:"notice notice-info",attrs:{id:"message"}},[a("p",[a("strong",[e._v(e._s(e.__("No modules found.","dokan")))])])])]],2)])]),e._v(" "),a("ModuleUpgradePopup",{attrs:{"show-popup":e.showPopup},on:{toggle:e.togglePopup}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";t.a=function(e){var t=jQuery,a=t("#toplevel_page_"+e),s=window.location.href,n=s.substr(s.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==n||t(a).parent().addClass("current")})}}],[106]);
1
+ dokanWebpack([0],[,,function(e,t,a){"use strict";var s=a(10),n=a(28),i=!1;var o=function(e){i||a(27)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var s=a(15);t.a={extends:s.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{xAxes:[{type:"time",scaleLabel:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}}],yAxes:[{scaleLabel:{display:!1},ticks:{fontColor:"#aaa"}}]},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",s=t.datasets[e.datasetIndex].tooltipLabel||"",n=t.datasets[e.datasetIndex].tooltipPrefix||"",i=s?s+": ":a+": ";return i+=n+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},function(e,t,a){"use strict";var s=a(47),n=a(118),i=!1;var o=function(e){i||a(117)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UpgradeBanner.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(55);t.a={components:{Sketch:s.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:function(){return{showColorPicker:!1}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker:function(){this.showColorPicker=!this.showColorPicker},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";var s=a(1),n=(a.n(s),a(2)),i=a(16),o=a(17);t.a={name:"VendorAccountFields",components:{Switches:n.a,UploadImage:i.a,PasswordGenerator:o.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-"),this.vendorInfo.user_nicename=e.split(" ").join("-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(s.debounce)(this.checkStore,this.delay),this.checkUsername=Object(s.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(s.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},s={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,s,n,i){return(!0!==e||!0!==t)&&((!0!==e||s!==i)&&((!0!==t||a!==n)&&((a!==n||s!==i)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:s})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=n,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,s,n,i,o,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);o=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,o,i)),(s=o)/(n=i)>(a=l/d)?l=(d=n)*a:d=(l=s)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var s=a(3);a.n(s);t.a={name:"VendorAddressFields",components:{Multiselect:s.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],s=a&&a[e];return void 0!==s?s:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var s in a)if(s===e&&!(a[s]&&a[s].length<1))for(var n in a[s])t.push({name:a[s][n],code:n});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var s=a(2),n=a(3);a.n(n);t.a={name:"VendorPaymentFields",components:{Switches:s.a,Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,s=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=s}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,function(e,t,a){"use strict";var s=a(11),n=a(30),i=!1;var o=function(e){i||a(29)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(12),n=a(31),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,,function(e,t,a){"use strict";var s=a(6),n=a(0)(s.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",t.a=n.exports},,function(e,t){e.exports=jQuery},function(e,t,a){"use strict";var s=a(8),n=a(25),i=!1;var o=function(e){i||a(24)},r=a(0)(s.a,n.a,!1,o,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","dokan-lite")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(t){return e.updateColor({})}}},[e._v(e._s(e.__("Clear","dokan-lite")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","dokan-lite")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(9),n=a(32),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage(t)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword(t)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword(t)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton(t)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picutre on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-url"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-username"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(13),n=a(35),i=!1;var o=function(e){i||a(34)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(14),n=a(38),i=!1;var o=function(e){i||a(37)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("%    +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,,function(e,t,a){"use strict";t.a={name:"App"}},function(e,t,a){"use strict";var s=a(20),n=a(7),i=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading"),r=dokan_get_lib("Currency");t.a={name:"Dashboard",components:{Postbox:i,Loading:o,Chart:s.a,Currency:r,UpgradeBanner:n.a},data:function(){return{overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:""},hasPro:!!dokan.hasPro}},created:function(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview:function(){var e=this;dokan.api.get("/admin/report/summary").done(function(t){e.overview=t})},fetchFeed:function(){var e=this;dokan.api.get("/admin/dashboard/feed").done(function(t){e.feed=t})},fetchReport:function(){var e=this;dokan.api.get("/admin/report/overview").done(function(t){e.report=t})},validEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},emailSubscribe:function(){var e=this;this.validEmail(this.subscribe.email)&&(this.subscribe.loading=!0,jQuery.ajax({url:"https://wedevs.us16.list-manage.com/subscribe/post-json?u=66e606cfe0af264974258f030&id=0d176bb256&c=?",data:{EMAIL:this.subscribe.email,"group[3555][8]":"1"},type:"GET",dataType:"json",cache:!1,contentType:"application/json; charset=utf-8"}).always(function(t){e.subscribe.success=!0,e.subscribe.loading=!1}))}}}},function(e,t,a){"use strict";t.a={name:"UpgradeBanner",data:function(){return{show:!0,upgradeURL:dokan.urls.upgradeToPro}},computed:{showUpgrade:function(){return!dokan.hasPro&&"show"===dokan.proNag}},methods:{dismiss:function(){this.show=!1,wp.ajax.post("dokan-upgrade-dissmiss")}}}},function(e,t,a){"use strict";var s=a(7),n=dokan_get_lib("ListTable"),i=dokan_get_lib("Modal"),o=dokan_get_lib("Currency");t.a={name:"Withdraw",components:{ListTable:n,Modal:i,Currency:o,UpgradeBanner:s.a},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,counts:{pending:0,approved:0,cancelled:0},notFound:this.__("No requests found.","dokan-lite"),massPayment:this.__("Paypal Mass Payment File is Generated.","dokan-lite"),showCb:!0,loading:!1,columns:{seller:{label:this.__("Vendor","dokan-lite")},amount:{label:this.__("Amount","dokan-lite")},status:{label:this.__("Status","dokan-lite")},method_title:{label:this.__("Method","dokan-lite")},method_details:{label:this.__("Details","dokan-lite")},note:{label:this.__("Note","dokan-lite")},created:{label:this.__("Date","dokan-lite")},actions:{label:this.__("Actions","dokan-lite")}},requests:[],actionColumn:"seller",hasPro:!!dokan.hasPro}},watch:{"$route.query.status":function(){this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()}},computed:{currentStatus:function(){return this.$route.query.status||"pending"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},actions:function(){return"pending"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"cancel",label:this.__("Cancel","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"pending",label:this.__("Pending","dokan-lite")}]:[]},bulkActions:function(){return"pending"==this.currentStatus?[{key:"approved",label:this.__("Approve","dokan-lite")},{key:"cancelled",label:this.__("Cancel","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"pending",label:this.__("Pending","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:[{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]}},created:function(){this.fetchRequests()},methods:{updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(e.getResponseHeader("X-Status-Cancelled"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:function(e){return"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e},fetchRequests:function(){var e=this;this.loading=!0,dokan.api.get("/withdraw?per_page="+this.perPage+"&page="+this.currentPage+"&status="+this.currentStatus).done(function(t,a,s){e.requests=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},goToPage:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e}})},updateItem:function(e,t){var a=this.requests.findIndex(function(t){return t.id==e});this.$set(this.requests,a,t)},changeStatus:function(e,t){var a=this;this.loading=!0,dokan.api.put("/withdraw/"+t,{status:e}).done(function(e){a.loading=!1,a.fetchRequests()})},onActionClick:function(e,t){var a=this;"cancel"===e&&this.changeStatus("cancelled",t.id),"pending"===e&&this.changeStatus("pending",t.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+t.id).done(function(e){a.loading=!1,a.fetchRequests()}))},getPaymentDetails:function(e,t){var a="—";return void 0!==t[e]&&("paypal"===e||"skrill"===e?a=t[e].email||"":"bank"===e&&(t.bank.hasOwnProperty("ac_name")&&(a=this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)),t.bank.hasOwnProperty("ac_number")&&(a+=this.sprintf(this.__(", Account Number: %s","dokan-lite"),t.bank.ac_number)),t.bank.hasOwnProperty("bank_name")&&(a+=this.sprintf(this.__(", Bank Name: %s","dokan-lite"),t.bank.bank_name)),t.bank.hasOwnProperty("routing_number")&&(a+=this.sprintf(this.__(", Routing Number: %s","dokan-lite"),t.bank.routing_number)))),dokan.hooks.applyFilters("dokan_get_payment_details",a,e,t)},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),onBulkAction:function(e,t){var a=this,s=this;if(_.contains(["delete","approved","cancelled","pending"],e)){var n={};n[e]=t,this.loading=!0,dokan.api.put("/withdraw/batch",n).done(function(e){a.loading=!1,a.fetchRequests()})}if("paypal"===e){var i=t.join(",");jQuery.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:i,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,t,a){if("html/csv"===a.getResponseHeader("Content-type")){var n="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=o&&o[1]&&(n=o[1].replace(/['"]/g,""))}var r=a.getResponseHeader("Content-Type"),l="function"==typeof File?new File([e],n,{type:r}):new Blob([e],{type:r});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,n);else{var d=window.URL||window.webkitURL,c=d.createObjectURL(l);if(n){var u=document.createElement("a");void 0===u.download?window.location=c:(u.href=c,u.download=n,document.body.appendChild(u),u.click())}else window.location=c;setTimeout(function(){d.revokeObjectURL(c)},100)}}e&&alert(s.massPayment)})}},openNoteModal:function(e,t){this.showModal=!0,this.editing={id:t,note:e}},updateNote:function(){var e=this;this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id,{note:this.editing.note}).done(function(t){e.loading=!1,e.updateItem(e.editing.id,t),e.editing={id:null,note:null}})}}}},function(e,t,a){"use strict";var s=a(50),n=a(127),i=(a.n(n),a(130));t.a={name:"Premium",components:{Slick:i.a,ProCta:s.a},data:function(){return{asstesUrl:dokan.urls.assetsUrl,buyNowProUrl:"https://wedevs.com/account/",services:[{title:this.__("Premium modules to make everything easier & better","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-01@2x.png"},{title:this.__("Frontend dashboard for vendors with advanced controls","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-02@2x.png"},{title:this.__("Unlimited Product Variations and group product upload","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-03@2x.png"},{title:this.__("Zone wise shipping with multiple method for vendors","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-04@2x.png"},{title:this.__("Store support based on ticket system for your customers","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-05@2x.png"},{title:this.__("Vendors will be able to generate coupon codes","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-06@2x.png"},{title:this.__("Earning, Selling and Commission Reports & Statement","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-07@2x.png"},{title:this.__("24/7 super fast premium customer support for you","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-08@2x.png"},{title:this.__("Add Social profile to your vendor’s store and support for store SEO","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-09@2x.png"}],comparisons:[{title:this.__("Frontend order management","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Seller Statement Reports","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Making Announcements","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Customized Product Categories","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store SEO","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Back Ordering System","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store Contact Form","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Single Product Multiple Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Seller Verification","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Featured Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Multiple Commission Types","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Frontend Shipping Tracking","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Setup Wizard","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Google Maps","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Manage reviews","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Bookable Product","dokan-lite"),compare:{lite:"unavailable",pro:"available"}}],modules:[{title:"Domain",url:"https://wedevs.com/dokan/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"03"},business:{type:"numeric",value:"05"},enterprise:{type:"numeric",value:"20"}},{title:"Modules",url:"https://wedevs.com/dokan/modules/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"08"},business:{type:"numeric",value:"14"},enterprise:{type:"numeric",value:"14"}},{title:"Color Scheme",url:"https://wedevs.com/dokan/modules/color-scheme-customizer/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Review",url:"https://wedevs.com/dokan/modules/dokan-vendor-review/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Store Support",url:"https://wedevs.com/dokan/modules/store-support/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Auction",url:"https://wedevs.com/dokan/modules/dokan-simple-auctions/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Ajax Live Search",url:"https://wedevs.com/dokan/modules/ajax-live-search/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Stripe Connect",url:"https://wedevs.com/dokan/modules/stripe-connect/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Subscriptions",url:"https://wedevs.com/dokan/modules/subscription/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Single Product Multivendor",url:"https://wedevs.com/dokan/modules/single-product-multivendor/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Seller Verification",url:"https://wedevs.com/dokan/modules/seller-verification/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"WC Booking Integration",url:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Staff Manager",url:"https://wedevs.com/dokan/modules/vendor-staff-manager/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Export Import",url:"https://wedevs.com/dokan/modules/export-import/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Product Enquiry",url:"https://wedevs.com/dokan/modules/product-enquiry/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Vacation",url:"https://wedevs.com/dokan/modules/vendor-vacation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Return and Warranty Request",url:"https://wedevs.com/dokan/modules/rma/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Moip",url:"https://wedevs.com/dokan/modules/moip/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Follow Store",url:"https://wedevs.com/dokan/modules/follow-store/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Geolocation",url:"https://wedevs.com/dokan/modules/geolocation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Shipstation",url:"https://wedevs.com/dokan/modules/shipstation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Wholesale",url:"https://wedevs.com/dokan/modules/wholesale/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}}],payment:{thumbnail:dokan.urls.assetsUrl+"/images/premium/payment-options.png",guaranteeThumbnail:dokan.urls.assetsUrl+"/images/premium/gaurantee-thumb.png",viewIcon:dokan.urls.assetsUrl+"/images/premium/view-icon@2x.png",termsPolicyUrl:"https://wedevs.com/refund-policy/"},slickOptions:{slidesToShow:1,fade:!0,speed:500,cssEase:"linear",autoplay:!0,autoplaySpeed:2e3,infinite:!0,accessibility:!0,adaptiveHeight:!1,arrows:!1,dots:!0,draggable:!0,edgeFriction:.3,swipe:!0},testimonials:[{name:"Melissa McGovern",designation:"Director, Hawk And PeddleProjects",pic:dokan.urls.assetsUrl+"/images/premium/melissa.jpg",content:"We're still a new business and are continuing to build our platform. Dokan has halved the time it would take us to build our ecommerce platform by being feature rich and easy to install and configure."},{name:"Morten J. Christensen",designation:"Owner, Dincatering",pic:dokan.urls.assetsUrl+"/images/premium/Morten-J.-Christensen.jpg",content:"First and foremost it enables the possibility for actually creating the kind of marketplace i wanted. The plugin lets me create a local marketplace for local danish catering suppliers to showcase and sell their offers of the season."},{name:"Cédric Lefrancq",designation:"Webmaster, Unwebmaster.Be",pic:dokan.urls.assetsUrl+"/images/premium/cedric-lefrancq.jpeg",content:"The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."},{name:"David Gaz",designation:"Founder, The Bureau Of Small Projects",pic:dokan.urls.assetsUrl+"/images/premium/david-gaz.jpeg",content:"It’s hands down an amazing plugin. But their support is even more amazing. They got back to me within hours on the weekend."}],cta:{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.buynowpro}}},methods:{next:function(){this.$refs.slick.next()},prev:function(){this.$refs.slick.prev()},reInit:function(){var e=this;this.$nextTick(function(){e.$refs.slick.reSlick()})}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(51),n=a(126),i=!1;var o=function(e){i||a(125)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ProCta.vue",t.a=r.exports},function(e,t,a){"use strict";t.a={name:"ProCta",data:function(){return{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.upgradeToPro}}}},function(e,t,a){"use strict";var s=a(7),n=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading");t.a={name:"Help",components:{Postbox:n,Loading:i,UpgradeBanner:s.a},data:function(){return{docs:null,hasPro:!!dokan.hasPro}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;dokan.api.get("/admin/help").done(function(t){e.docs=t})}}}},function(e,t,a){"use strict";var s=a(137),n=a(167),i=a(7),o=dokan_get_lib("Loading");t.a={name:"Settings",components:{Fields:s.a,Loading:o,SettingsBanner:n.a,UpgradeBanner:i.a},data:function(){return{isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{},requiredFields:[],errors:[],hasPro:!!dokan.hasPro,searchText:"",awaitingSearch:!1}},computed:{refreshable_props:function(){var e,t={};for(e in this.settingFields){var a=this.settingFields[e],s=void 0;for(s in a)a[s].refresh_after_save&&(t["".concat(e,".").concat(s)]=!0)}return t}},methods:{changeTab:function(e){this.currentTab=e.id,this.requiredFields=[],"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},showSectionTitle:function(e){return!_.findWhere(e,{type:"sub_section"})},sectionTitle:function(e){return _.findWhere(this.settingSections,{id:e}).title},fetchSettingValues:function(){var e=this,t={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,s){Object.keys(e.settingFields[a]).forEach(function(s,n){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][s]?void 0===e.settingFields[a][s].default?e.settingValues[a][s]="":e.settingValues[a][s]=e.settingFields[a][s].default:e.settingValues[a][s]=t.data[a][s]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0)})},showMedia:function(e,t){var a=this,s=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","dokan-lite"),button:{text:this.__("Select","dokan-lite")},multiple:!1});s.on("select",function(){var t=s.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),s.open()},saveSettings:function(e,t){if(this.formIsValid(t)){var a=this,s={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:t};a.showLoading=!0,jQuery.post(dokan.ajaxurl,s).done(function(s){var n,i=s.data.settings;for(n in a.isSaved=!0,a.isUpdated=!0,a.message=s.data.message,a.settingValues[i.name]=i.value,e){var o="".concat(t,".").concat(n);if(a.refreshable_props[o]){window.location.reload();break}}}).fail(function(e){var t=e.responseJSON.data.map(function(e){return e.message});alert(t.join(" "))}).always(function(){a.showLoading=!1})}},formIsValid:function(e){var t=this,a=Object.keys(this.settingFields),s=this.requiredFields;return!!a&&(a.forEach(function(a,n){if(e===a){var i=t.settingFields[a];Object.values(i).forEach(function(e){var t=e.fields;t&&Object.values(t).forEach(function(e){e&&e.required&&"yes"===e.required&&!s.includes(e.name)&&s.push(e.name)}),e&&e.required&&"yes"===e.required&&(s.includes(e.name)||s.push(e.name))})}}),this.errors=[],s.forEach(function(e){Object.values(t.settingValues).forEach(function(a){e in a&&a[e].length<1&&(t.errors.includes(e)||(t.errors.push(e),"flat"!==a.commission_type&&"percentage"!==a.commission_type||(t.errors=t.arrayRemove(t.errors,"admin_percentage"),t.errors=t.arrayRemove(t.errors,"additional_fee"))))})}),this.errors.length<1)},arrayRemove:function(e,t){return e.filter(function(e){return e!==t})},toggleLoadingState:function(){this.showLoading=!this.showLoading},clearSearch:function(){this.searchText="",this.validateBlankSearch()},validateBlankSearch:function(){return""!==this.searchText.toLowerCase()||(this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,!1)},searchInSettings:function(e){var t=this;this.validateBlankSearch()&&(this.awaitingSearch||setTimeout(function(){var e=t.$refs.searchInSettings.value.toLowerCase();t.doSearch(e),t.awaitingSearch=!1},1e3),this.awaitingSearch=!0)},doSearch:function(e){var t=this,a={},s=[],n=[],i=dokan.settings_fields;Object.keys(i).forEach(function(t,n){Object.keys(i[t]).forEach(function(n,o){if("sub_section"!==i[t][n].type){var r=i[t][n].label.toLowerCase();r&&r.includes(e)&&(a[t]||(a[t]={}),a[t][n]=i[t][n],-1===s.indexOf(t)&&s.push(t))}})});var o=0;Object.keys(dokan.settings_sections).forEach(function(e,a){-1!==s.indexOf(dokan.settings_sections[e].id)&&(o||(t.changeTab(dokan.settings_sections[e]),o=1),n.push(dokan.settings_sections[e]))}),this.settingFields=a,this.settingSections=n}},created:function(){this.fetchSettingValues(),this.currentTab="dokan_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"dokan_general"),this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields}}},function(e,t,a){"use strict";var s=a(139),n=a.n(s),i=a(140),o=a.n(i),r=a(23);function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var c=dokan_get_lib("TextEditor"),u=dokan_get_lib("GoogleMaps"),p=dokan_get_lib("Mapbox"),m=dokan_get_lib("RefreshSettingOptions");t.a={name:"Fields",components:{colorPicker:r.a,TextEditor:c,GoogleMaps:u,Mapbox:p,RefreshSettingOptions:m},props:["id","fieldData","sectionId","fieldValue","allSettingsValues","errors","toggleLoadingState"],data:function(){return{repeatableItem:{},hideMap:!1}},computed:{shoudShow:function(){var e=!0;if(this.fieldData.show_if){var t=this.fieldData.show_if,a=Object.keys(t),s=0;for(s=0;s<a.length;s++){var n=a[s],i=n.split(".").reverse(),r=o()(i,2),l=r[0],d=r[1],c=void 0===d?this.sectionId:d,u=this.allSettingsValues[c][l],p=_.chain(t[n]).pairs().first().value(),m=o()(p,2),v=m[0],f=m[1];switch(v){case"greater_than":u>f||(e=!1);break;case"greater_than_equal":u>=f||(e=!1);break;case"less_than":u<f||(e=!1);break;case"less_than":u<=f||(e=!1);break;case"equal":default:u!=f&&(e=!1)}if(!e)break}}return e},mapApiSource:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.map_api_source},mapLocation:function(){var e=d(d({},{latitude:23.709921,longitude:90.40714300000002,address:"Dhaka",zoom:10}),this.fieldValue[this.fieldData.name]);return e={latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude),address:"".concat(e.address),zoom:parseInt(e.zoom)}},googleMapApiKey:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.gmap_api_key},mapboxAccessToken:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.mapbox_access_token}},beforeMount:function(){"multicheck"!==this.fieldData.type||this.fieldValue[this.fieldData.name]||(this.fieldValue[this.fieldData.name]=this.fieldData.default)},methods:{containCommonFields:function(e){return _.contains([void 0,"text","email","url","phone","time"],e)},addItem:function(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem:function(e,t){this.fieldValue[t].splice(e,1)},haveCondition:function(e){return e.hasOwnProperty("condition")},checkConditionLogic:function(e,t){var a=e.condition.logic,s=!1;return _.each(a,function(e,a){_.contains(e,t[a])&&(s=!0)}),s},onHideMap:function(e){this.hideMap=e},onUpdateMap:function(e){this.fieldValue[this.fieldData.name]=d(d({},this.mapLocation),e)},hasError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},getError:function(e){return e+" "+this.__("is required.","dokan-lite")}}}},,,,,,,,,function(e,t,a){"use strict";t.a={name:"SettingsBanner",data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},computed:{bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(173),n=a(7),i=dokan_get_lib("ListTable"),o=dokan_get_lib("Switches"),r=dokan_get_lib("Search");t.a={name:"Vendors",components:{ListTable:i,Switches:o,Search:r,AddVendor:s.a,UpgradeBanner:n.a},data:function(){return{showCb:!0,hasPro:dokan.hasPro,counts:{pending:0,approved:0,all:0},vendorId:0,totalItems:0,perPage:20,totalPages:1,loading:!1,columns:{store_name:{label:this.__("Store","dokan-lite"),sortable:!0},email:{label:this.__("E-mail","dokan-lite")},phone:{label:this.__("Phone","dokan-lite")},registered:{label:this.__("Registered","dokan-lite"),sortable:!0},enabled:{label:this.__("Status","dokan-lite")}},actionColumn:"title",actions:[{key:"edit",label:this.__("Edit","dokan-lite")},{key:"products",label:this.__("Products","dokan-lite")},{key:"orders",label:this.__("Orders","dokan-lite")}],bulkActions:[{key:"approved",label:this.__("Approve Vendors","dokan-lite")},{key:"pending",label:this.__("Disable Selling","dokan-lite")}],vendors:[],loadAddVendor:!1,dokanVendorHeaderArea:dokan.hooks.applyFilters("getDokanVendorHeaderArea",[]),isVendorSwitchingEnabled:!1}},watch:{"$route.query.status":function(){this.fetchVendors()},"$route.query.page":function(){this.fetchVendors()},"$route.query.orderby":function(){this.fetchVendors()},"$route.query.order":function(){this.fetchVendors()}},computed:{currentStatus:function(){return this.$route.query.status||"all"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},sortBy:function(){return this.$route.query.orderby||"registered"},sortOrder:function(){return this.$route.query.order||"desc"},storeCategory:function(){return this.$route.query.store_category||null}},created:function(){var e=this;this.$root.$on("modalClosed",function(){e.loadAddVendor=!1,e.vendorId=0}),this.fetchVendors(),this.$root.$on("vendorAdded",function(t){e.vendors.unshift(t)}),this.$root.$on("addAnotherVendor",function(){e.loadAddVendor=!0}),this.$root.$on("categoryFetched",function(t){e.categories=t.categories,e.isCategoryMultiple=t.isCategoryMultiple,e.columns=t.columns}),this.isVendorSwitchingEnabled=!!dokan.is_vendor_switching_enabled,this.isVendorSwitchingEnabled&&this.actions.push({key:"switch_to",label:this.__("Switch To","dokan-lite")})},methods:{addNew:function(){this.loadAddVendor=!0},doSearch:function(e){var t=this,a=this;a.loading=!0,dokan.api.get("/stores?search=".concat(e),{page:this.currentPage,orderby:this.sortBy,order:this.sortOrder}).done(function(e,s,n){a.vendors=e,a.loading=!1,t.updatedCounts(n),t.updatePagination(n)})},updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Approved")),this.counts.all=parseInt(e.getResponseHeader("X-Status-All"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},fetchVendors:function(){var e=this;e.loading=!0;var t={per_page:e.perPage,page:e.currentPage,status:e.currentStatus,orderby:e.sortBy,order:e.sortOrder,store_category:e.storeCategory};dokan.api.get("/stores",t).done(function(t,a,s){e.vendors=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},onActionClick:function(e,t){"trash"===e&&confirm("Are you sure to delete?")&&alert("deleted: "+t.title)},onSwitch:function(e,t){var a=this,s=!1===e?this.__("The vendor has been disabled.","dokan-lite"):this.__("Selling has been enabled","dokan-lite");dokan.api.put("/stores/"+t+"/status",{status:!1===e?"inactive":"active"}).done(function(e){a.$notify({title:a.__("Success!","dokan-lite"),type:"success",text:s}),"all"!==a.currentStatus&&"pending"!==a.currentStatus&&"approved"!==a.currentStatus||a.fetchVendors()})},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),goToPage:function(e){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:e}})},onBulkAction:function(e,t){var a=this,s={};s[e]=t,this.loading=!0,dokan.api.put("/stores/batch",s).done(function(e){a.loading=!1,a.fetchVendors()})},sortCallback:function(e,t){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:1,orderby:e,order:t}})},productUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=product&author="+e},ordersUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=shop_order&vendor_id="+e},editUrl:function(e){return dokan.urls.adminRoot+"user-edit.php?user_id="+e},switchToUrl:function(e){return e.switch_url}}}},function(e,t,a){"use strict";var s=a(26),n=a(33),i=a(36),o=dokan_get_lib("Modal"),r=dokan_get_lib("Loading");t.a={name:"AddVendor",props:["vendorId"],components:{Modal:o,Loading:r,VendorAccountFields:s.a,VendorAddressFields:n.a,VendorPaymentFields:i.a},data:function(){return{isLoading:!1,storeId:"",nextBtn:this.__("Next","dokan-lite"),title:this.__("Add New Vendor","dokan-lite"),tabs:{VendorAccountFields:{label:this.__("Account Info","dokan-lite"),name:"VendorAccountFields",icon:"dashicons dashicons-admin-users"},VendorAddressFields:{label:this.__("Address","dokan-lite"),name:"VendorAddressFields",icon:"dashicons dashicons-admin-home"},VendorPaymentFields:{label:this.__("Payment Options","dokan-lite"),name:"VendorPaymentFields",icon:"dashicons dashicons-money"}},currentTab:"VendorAccountFields",store:{store_name:"",user_pass:"",store_url:"",user_login:"",email:"",user_nicename:"",notify_vendor:!0,phone:"",banner:"",banner_id:"",gravatar:"",gravatar_id:"",social:{fb:"",gplus:"",youtube:"",twitter:"",linkedin:"",pinterest:"",instagram:""},payment:{bank:{ac_name:"",ac_number:"",bank_name:"",bank_addr:"",routing_number:"",iban:"",swift:""},paypal:{email:""}},address:{street_1:"",street_2:"",city:"",zip:"",state:"",country:""}},requiredFields:["store_name","user_login","email"],errors:[],storeAvailable:!1,userNameAvailable:!1,emailAvailable:!1,hasPro:dokan.hasPro}},created:function(){var e=this;this.$root.$on("vendorInfoChecked",function(t){e.storeAvailable=t.storeAvailable,e.userNameAvailable=t.userNameAvailable,e.emailAvailable=t.emailAvailable})},methods:{getId:function(){return this.$route.params.id},showAlert:function(e,t,a){this.$swal(e,t,a)},createVendor:function(){var e=this;this.formIsValid()&&("VendorPaymentFields"===this.currentTab&&(this.isLoading=!0,dokan.api.post("/stores/",this.store).done(function(t){e.$root.$emit("vendorAdded",t),e.$swal({type:"success",title:e.__("Vendor Created","dokan-lite"),text:e.__("A vendor has been created successfully!","dokan-lite"),showCloseButton:!0,showCancelButton:!0,confirmButtonText:e.__("Add Another","dokan-lite"),cancelButtonText:e.__("Edit Vendor","dokan-lite"),focusConfirm:!1}).then(function(a){a.value?e.$root.$emit("addAnotherVendor"):a.dismiss===e.$swal.DismissReason.cancel&&(e.hasPro?e.$router.push({path:"vendors/"+t.id,query:{edit:"true"}}):window.location.replace("".concat(dokan.urls.adminRoot,"user-edit.php?user_id=").concat(t.id)))})}).fail(function(t){e.showAlert(e.__(t.responseJSON.message,"dokan-lite"),"","error")}).always(function(){e.$root.$emit("modalClosed")})),this.currentTab="VendorPaymentFields"===this.currentTab?"VendorPaymentFields":this.nextTab(this.tabs,this.currentTab))},nextTab:function(e,t){var a=Object.keys(e),s=a[a.indexOf(t)+1];return s},closeModal:function(){this.$root.$emit("modalClosed")},formIsValid:function(){var e=this,t=this.requiredFields,a=this.store;return this.errors=[],t.forEach(function(t){t in a&&a[t].length<1&&e.errors.push(t)}),!!(this.errors.length<1&&this.storeAvailable&&this.userNameAvailable&&this.emailAvailable)||(this.currentTab="VendorAccountFields",!1)}}}},function(e,t,a){"use strict";var s=a(50);t.a={name:"VendorCapabilities",components:{ProCta:s.a},data:function(){return{showPopup:!1,selectedCapabilityImage:"",capabilityCards:[{title:this.__("Coupons","dokan-lite"),content:this.__("Each vendor can create unlimited discount coupon codes for their products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-coupon.svg")},{title:this.__("Shipping","dokan-lite"),content:this.__("Vendors can configure their own shipping costs for each country, state & single products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-shipping.svg")},{title:this.__("Duplicate Product","dokan-lite"),content:this.__("Vendors can duplicate their own products for ease and time saving.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-duplicate-product.svg")},{title:this.__("Reporting","dokan-lite"),content:this.__("Earning, selling and commissions reports for vendors to improve sales & take major decisions.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-reports.svg")},{title:this.__("Create Tags","dokan-lite"),content:this.__("Vendors can create & attach tags to products to categorize & for better search engine optimization.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-create-tags.svg")},{title:this.__("Vendor Biography","dokan-lite"),content:this.__("Vendors can write about themselves & about their store in a text field which visitors can see from the store page","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-biography.svg")},{title:this.__("Vendor Product Upload","dokan-lite"),content:this.__("New vendors can start uploading products upon registration if admins allow.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-product-upload.svg")},{title:this.__("Order Status Change","dokan-lite"),content:this.__("Vendors will be able to mark products as draft & update the order status to inform customers about progress.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-order-status-change.svg")},{title:this.__("Social Share","dokan-lite"),content:this.__("Visitors and customers can share a store page with their friends and acquaintances on their social profiles.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-share.svg")},{title:this.__("Variable Product","dokan-lite"),content:this.__("Vendors can create variable products with predefined and custom attributes.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-variable-product.svg")},{title:this.__("Store Opening & Closing Time","dokan-lite"),content:this.__("Vendors can define the working hours of their online store for each day of the week for visitors to see.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-opening-closing-hours.svg")},{title:this.__("Woocommerce Booking Integration","dokan-lite"),content:this.__("Create hotel rooms, resorts, conference rooms, cars, bikes, etc for renting out.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-woocommerce-booking.svg")},{title:this.__("Announcement For Vendors","dokan-lite"),content:this.__("Admins can make announcements targeted to a single vendor, multiple or all vendors.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-announcement-vendors.svg")},{title:this.__("Woocommerce Simple Auctions Integration","dokan-lite"),content:this.__("Sell auction-able products in your store with Dokan’s integration.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-simple-auction.svg")},{title:this.__("Social Profiles","dokan-lite"),content:this.__("Vendors can upload & showcase their Facebook, Twitter and Linkedin profiles on their store page.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-profile.svg")},{title:this.__("Refund","dokan-lite"),content:this.__("Vendors can send refund requests for an order to the admins who can approve or deny it from the dashboard.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-refund.svg")},{title:this.__("Store Seo","dokan-lite"),content:this.__("The Yoast SEO integration lets vendors define Store Title, Description, Slug and Keyword to appear in search engine results.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-store-seo.svg")}]}},methods:{closePopup:function(){this.showPopup=!1},openPopup:function(e){this.showPopup=!0,this.selectedCapabilityImage=e}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner.svg")}}}},function(e,t,a){"use strict";var s=a(182);t.a={name:"ProModules",components:{ModuleUpgradePopup:s.a},data:function(){return{modules:[{name:this.__("WooCommerce Booking Integration","dokan-lite"),description:this.__("Integrates WooCommerce Booking with Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/booking.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-bookings/",modLink:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/"},{name:this.__("Color Scheme Customizer","dokan-lite"),description:this.__("A Dokan plugin Add-on to Customize Colors of Dokan Dashboard","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/color-scheme-customizer.png"),docLink:"https://wedevs.com/docs/dokan/modules/color-scheme/",modLink:"https://wedevs.com/dokan/modules/color-scheme-customizer/"},{name:this.__("Elementor","dokan-lite"),description:this.__("Elementor Page Builder widgets for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/elementor.png"),docLink:"https://wedevs.com/docs/dokan/modules/elementor-dokan/",modLink:"https://wedevs.com/dokan/modules/elementor/"},{name:this.__("Vendor Product Importer and Exporter","dokan-lite"),description:this.__("This is simple product import and export plugin for vendor","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/import-export.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-dokan-exportimport-add/",modLink:"https://wedevs.com/dokan/modules/export-import/"},{name:this.__("Follow Store","dokan-lite"),description:this.__("Send emails to customers when their favorite store updates.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/follow-store.png"),docLink:"https://wedevs.com/docs/dokan/modules/follow-store/",modLink:"https://wedevs.com/dokan/modules/follow-store/"},{name:this.__("Geolocation","dokan-lite"),description:this.__("Search Products and Vendors by geolocation.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/geolocation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-geolocation/",modLink:"https://wedevs.com/dokan/modules/geolocation/"},{name:this.__("Live Chat","dokan-lite"),description:this.__("Live Chat Between Vendor & Customer.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/live-chat.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-live-chat/",modLink:"https://wedevs.com/dokan/modules/live-chat/"},{name:this.__("Live Search","dokan-lite"),description:this.__("Live product search for WooCommerce store.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/ajax-live-search.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-live-search/",modLink:"https://wedevs.com/dokan/modules/ajax-live-search/"},{name:this.__("Wirecard","dokan-lite"),description:this.__("Wirecard payment gateway for Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wirecard-connect.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-moip-connect/",modLink:"https://wedevs.com/dokan/modules/moip/"},{name:this.__("PayPal Adaptive Payment","dokan-lite"),description:this.__("Allows to send split payments to vendor via PayPal Adaptive Payment gateway.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/paypal-adaptive.png"),docLink:"#",modLink:"#"},{name:this.__("Product Addon","dokan-lite"),description:this.__("WooCommerce Product Addon support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-addon.png"),docLink:"https://wedevs.com/docs/dokan/modules/product-addon/",modLink:"https://wedevs.com/dokan/modules/product-addons/"},{name:this.__("Product Enquiry","dokan-lite"),description:this.__("Enquiry for a specific product to a seller.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-enquiry.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-product-enquiry/",modLink:"https://wedevs.com/dokan/modules/product-enquiry/"},{name:this.__("Report Abuse","dokan-lite"),description:this.__("Let customers report fraudulent or fake products.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/"},{name:this.__("Return and Warranty Request","dokan-lite"),description:this.__("Manage return and warranty from vendor end.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-rma/",modLink:"https://wedevs.com/dokan/modules/rma/"},{name:this.__("Seller Vacation","dokan-lite"),description:this.__("Using this plugin seller can go to vacation by closing their stores.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/seller-vacation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-vacation/",modLink:"https://wedevs.com/dokan/modules/vendor-vacation/"},{name:this.__("ShipStation Integration","dokan-lite"),description:this.__("Adds ShipStation label printing support to Dokan. Requires server DomDocument support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/shipstation.png"),docLink:"https://wedevs.com/docs/dokan/modules/shipstation-dokan-wedevs/",modLink:"https://wedevs.com/dokan/modules/shipstation/"},{name:this.__("Auction Integration","dokan-lite"),description:this.__("A plugin that combined WooCommerce simple auction and Dokan plugin.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/auction.png"),docLink:"https://wedevs.com/docs/dokan/modules/woocommerce-auctions-frontend-multivendor-marketplace/",modLink:"https://wedevs.com/dokan/modules/dokan-simple-auctions/"},{name:this.__("Single Product Multiple Vendor","dokan-lite"),description:this.__("A module that offers multiple vendor to sell a single product.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/single-product-multivendor.png"),docLink:"https://wedevs.com/docs/dokan/modules/single-product-multiple-vendor/",modLink:"https://wedevs.com/dokan/modules/single-product-multivendor/"},{name:this.__("Store Reviews","dokan-lite"),description:this.__("A plugin that allows customers to rate the sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-review.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-review/",modLink:"https://wedevs.com/dokan/modules/dokan-vendor-review/"},{name:this.__("Store Support","dokan-lite"),description:this.__("Enable vendors to provide support to customers from store page.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/store-support.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-store-support/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Stripe Connect","dokan-lite"),description:this.__("Accept credit card payments and allow your sellers to get automatic split payment in Dokan via Stripe.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/stripe.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-configure-dokan-stripe-connect/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Vendor Subscription","dokan-lite"),description:this.__("Product subscription pack add-on for Dokan vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/subscription.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-use-dokan-subscription/",modLink:"https://wedevs.com/dokan/modules/subscription/"},{name:this.__("Vendor Analytics","dokan-lite"),description:this.__("A plugin for store and product analytics for vendor.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/analytics.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/"},{name:this.__("Vendor Staff Manager","dokan-lite"),description:this.__("A plugin for manage store via vendor staffs.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-staff.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-staff-manager/",modLink:"https://wedevs.com/dokan/modules/vendor-staff-manager/"},{name:this.__("Vendor Subscription Product","dokan-lite"),description:this.__("WooCommerce Subscription integration for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-subscription-product.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-subscription-product/",modLink:"https://wedevs.com/dokan/modules/vendor-subscription-product/"},{name:this.__("Vendor Verification","dokan-lite"),description:this.__("Dokan add-on to verify sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-verification.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-seller-verification-admin-settings/",modLink:"https://wedevs.com/dokan/modules/seller-verification/"},{name:this.__("Wholesale","dokan-lite"),description:this.__("Offer any customer to buy product as a wholesale price from any vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wholesale.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-wholesale/",modLink:"https://wedevs.com/dokan/modules/wholesale/"}],showPopup:!0}},methods:{togglePopup:function(e){this.showPopup=e}}}},function(e,t,a){"use strict";t.a={name:"ModuleUpgradePopup",props:{showPopup:{type:Boolean,required:!0,default:!0}},data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},methods:{closePopup:function(){this.$emit("toggle",!1)},openPopup:function(){this.$emit("toggle",!0)}},computed:{headerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-upgrade-popup-header.svg")},bonusImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-upgrade-popup-bonus.svg")}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(107),n=a(110),i=a(186);new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.a,render:function(e){return e(s.a)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"]),dokan.dokan_pro_i18n&&this.setLocaleData(dokan.dokan_pro_i18n.dokan)},methods:{listTableTexts:function(){return{loading:this.__("Loading","dokan-lite"),select_bulk_action:this.__("Select bulk action","dokan-lite"),bulk_actions:this.__("Bulk Actions","dokan-lite"),items:this.__("items","dokan-lite"),apply:this.__("Apply","dokan-lite")}}}}),Object(i.a)("dokan")},function(e,t,a){"use strict";var s=a(45),n=a(109),i=!1;var o=function(e){i||a(108)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/App.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"vue-backend-app"}},[t("router-view"),this._v(" "),t("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(111),n=a.n(s),i=a(112),o=a(120),r=a(123),l=a(132),d=a(135),c=a(171),u=a(177),p=a(180),m=dokan_get_lib("Vue"),v=dokan_get_lib("Router"),_=dokan_get_lib("VersionCompare");m.use(v),dokan_add_route(i.a),dokan_add_route(o.a),dokan_add_route(r.a),dokan_add_route(l.a),dokan_add_route(d.a),dokan_add_route(u.a),dokan_add_route(p.a),dokan.hasPro&&!_(dokan.proVersion,"2.9.14",">")||dokan_add_route(c.a),function e(t){for(var a=0;a<t.length;a++)"object"===n()(t[a].children)?(e(t[a].children),void 0!==t[a].component&&(t[a].component=dokan.routeComponents[t[a].component])):t[a].component=dokan.routeComponents[t[a].component]}(dokan.routes),t.a=new v({routes:dokan.routes})},,function(e,t,a){"use strict";var s=a(46),n=a(119),i=!1;var o=function(e){i||a(113)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Dashboard.vue",t.a=r.exports},function(e,t){},,,,function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&e.showUpgrade?a("div",{staticClass:"dokan-upgrade-bar"},[e._v("\n You're using "),a("span",[e._v("Dokan Lite")]),e._v(". To unlock more features, consider\n "),a("a",{attrs:{target:"_blank",rel:"noopener",href:e.upgradeURL}},[e._v("\n Upgrading to Pro")]),e._v(".\n\n "),a("div",{staticClass:"close-button",attrs:{title:"Dismiss the notice"},on:{click:function(t){return e.dismiss()}}},[e._v("\n ×\n ")])]):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-dashboard"},[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),a("div",{staticClass:"widgets-wrapper"},[a("div",{staticClass:"left-side"},[a("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?a("div",{staticClass:"dokan-status"},[a("ul",[a("li",{staticClass:"sale"},[a("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),a("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),a("li",{staticClass:"commission"},[a("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),a("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),a("li",{staticClass:"vendor"},[a("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[a("strong",[e._v(e._s(e.overview.vendors.this_month)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),a("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),a("li",{staticClass:"approval"},[a("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[a("strong",[e._v(e._s(e.overview.vendors.inactive)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),a("li",{staticClass:"product"},[a("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),a("a",{attrs:{href:"#"}},[a("strong",[e._v(e._s(e.overview.products.this_month)+" "+e._s(e.__("Products","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),a("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),a("li",{staticClass:"withdraw"},[a("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[a("strong",[e._v(e._s(e.overview.withdraw.pending)+" "+e._s(e.__("Withdrawals","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):a("div",{staticClass:"loading"},[a("loading")],1)]),e._v(" "),a("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?a("div",{staticClass:"rss-widget"},[a("ul",e._l(e.feed,function(t){return a("li",[a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(t.title))])])}),0),e._v(" "),a("div",{staticClass:"subscribe-box"},[e.subscribe.success?a("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),a("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("We're constantly developing new features, stay up-to-date by subscribing to our newsletter.","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"form-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.email,expression:"subscribe.email"}],attrs:{type:"email",required:"",placeholder:"Your Email Address"},domProps:{value:e.subscribe.email},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emailSubscribe()},input:function(t){t.target.composing||e.$set(e.subscribe,"email",t.target.value)}}}),e._v(" "),a("button",{staticClass:"button",on:{click:function(t){return e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):a("div",{staticClass:"loading"},[a("loading")],1)])],1),e._v(" "),a("div",{staticClass:"right-side"},[a("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?a("div",[a("chart",{attrs:{data:e.report}})],1):a("div",{staticClass:"loading"},[a("loading")],1)])],1)])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(48),n=a(122),i=!1;var o=function(e){i||a(121)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Withdraw.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"withdraw-requests"},[a("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),e.showModal?a("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(t){e.showModal=!1}}},[a("template",{slot:"body"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:e.editing.note},on:{input:function(t){t.target.composing||e.$set(e.editing,"note",t.target.value)}}})]),e._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"button button-primary button-large",on:{click:function(t){return e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"cancelled"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Cancelled","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.cancelled))])]),e._v(" | ")],1)]),e._v(" "),a("list-table",{attrs:{columns:e.columns,rows:e.requests,loading:e.loading,"action-column":e.actionColumn,actions:e.actions,"show-cb":e.showCb,"bulk-actions":e.bulkActions,"not-found":e.notFound,"total-pages":e.totalPages,"total-items":e.totalItems,"per-page":e.perPage,"current-page":e.currentPage,text:e.$root.listTableTexts()},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(t){return[a("img",{attrs:{src:t.row.user.gravatar,alt:t.row.user.store_name,width:"50"}}),e._v(" "),a("strong",[a("a",{attrs:{href:e.vendorUrl(t.row.user.id)}},[e._v(e._s(t.row.user.store_name?t.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"amount",fn:function(e){return[a("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(t){return[a("span",{class:t.row.status},[e._v(e._s(e._f("capitalize")(t.row.status)))])]}},{key:"created",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_details",fn:function(t){return[e._v("\n "+e._s(e.getPaymentDetails(t.row.method,t.row.user.payment))+"\n ")]}},{key:"actions",fn:function(t){return["pending"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("approved",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("pending",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])})],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(49),n=a(131),i=!1;var o=function(e){i||a(124)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Premium.vue",t.a=r.exports},function(e,t){},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cta-section",style:{"background-image":"url("+e.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("With all the advance features you get it’s hard to resist buying Dokan Pro.","dokan-lite")))]),e._v(" "),a("a",{staticClass:"btn",attrs:{href:e.url,target:"_blank"}},[e._v("\n "+e._s(e.__("Upgrade to Pro","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-pro-features"},[a("div",{staticClass:"header-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/header-feature-thumb@2x.png",alt:e.__("Upgrade to Dokan Pro!","dokan-lite"),title:e.__("Upgrade to Dokan Pro!","dokan-lite")}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")]),e._v(" "),a("router-link",{staticClass:"button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)]),e._v(" "),a("div",{staticClass:"service-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),a("div",{staticClass:"service-list"},e._l(e.services,function(t){return a("div",{staticClass:"service-box"},[a("div",{staticClass:"service-thumb"},[a("img",{attrs:{src:t.thumbnail,alt:t.title,title:t.title}})]),e._v(" "),a("div",{staticClass:"service-detail"},[a("h3",{staticClass:"title"},[e._v(e._s(t.title))])])])}),0),e._v(" "),a("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])]),e._v(" "),a("div",{staticClass:"comparison-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),a("div",{staticClass:"comparison-area"},[a("div",{staticClass:"compare-box dokan-lite"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.lite},["available"===t.compare.lite?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)]),e._v(" "),a("div",{staticClass:"compare-box dokan-pro"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.pro},["available"===t.compare.pro?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)])])]),e._v(" "),a("div",{staticClass:"pricing-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),a("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(t){return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"},[a("a",{staticClass:"module-name",attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.starter.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.starter.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.starter.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col popular"},["numeric"===t.professional.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.professional.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.professional.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.business.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.business.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.business.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.enterprise.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.enterprise.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.enterprise.value,alt:""}})])])])}),e._v(" "),a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn starter",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("a",{staticClass:"buy-btn professional",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn business",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15315&attribute_pa_license=business",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn enterprise",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])])])],2)]),e._v(" "),a("div",{staticClass:"payment-section"},[a("div",{staticClass:"guarantee-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),a("div",{staticClass:"guarantee-detail"},[a("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),a("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[a("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"payment-area"},[a("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),a("div",{staticClass:"option"},[a("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),a("div",{staticClass:"testimonial-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),a("div",{staticClass:"testimonial-wrapper"},[a("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(t){return a("div",{staticClass:"testimonial-box"},[a("div",{staticClass:"profile-pic"},[a("img",{attrs:{src:t.pic,alt:""}})]),e._v(" "),a("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[a("h4",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(t.designation))]),e._v(" "),a("p",[e._v(e._s(t.content))])])])}),0)],1),e._v(" "),a("p",{domProps:{innerHTML:e._s(e.sprintf("%s <a href='%s' target='_blank'>%s</a> %s",e.__("We are proud to say the official","dokan-lite"),"https://themes.getbootstrap.com/","Bootstrap theme marketplace",e.__("is built using Dokan","dokan-lite")))}})]),e._v(" "),a("ProCta")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("149")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("249")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("499")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("999")]),e._v(" "),a("span",[e._v("/year")])])])])}]};t.a=n},function(e,t,a){"use strict";var s=a(52),n=a(134),i=!1;var o=function(e){i||a(133)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Help.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),null!==e.docs?a("div",{staticClass:"section-wrapper"},e._l(e.docs,function(t,s){return a("postbox",{key:s,attrs:{title:t.title}},[a("ul",e._l(t.questions,function(t){return a("li",[a("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(t.title))])])}),0)])}),1):a("div",{staticClass:"loading"},[a("loading")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(53),n=a(170),i=!1;var o=function(e){i||a(136)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Settings.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(54),n=a(166),i=!1;var o=function(e){i||a(138)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Fields.vue",t.a=r.exports},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.shoudShow?a("tr",{class:[e.id,"dokan-settings-field-type-"+e.fieldData.type]},["sub_section"===e.fieldData.type?[a("th",{staticClass:"dokan-settings-sub-section-title",attrs:{colspan:"2"}},[a("label",[e._v(e._s(e.fieldData.label))])])]:e._e(),e._v(" "),e.containCommonFields(e.fieldData.type)?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",["checkbox"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:e.fieldData.type||"text"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"number"===e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"price"==e.fieldData.type&&e.allSettingsValues.dokan_selling&&"combine"!==e.allSettingsValues.dokan_selling.commission_type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:{wc_input_decimal:"percentage"==e.allSettingsValues.dokan_selling.commission_type,wc_input_price:"flat"==e.allSettingsValues.dokan_selling.commission_type},attrs:{type:"text",min:e.fieldData.min,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"combine"==e.fieldData.type&&e.haveCondition(e.fieldData)&&"show"==e.fieldData.condition.type&&e.checkConditionLogic(e.fieldData,e.fieldValue)?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{staticClass:"percent_fee"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.percent_fee.name],expression:"fieldValue[fieldData.fields.percent_fee.name]"}],staticClass:"wc_input_decimal regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][percent_fee]",name:e.sectionId+"["+e.fieldData.fields.percent_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.percent_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.percent_fee.name,t.target.value)}}}),e._v("\n "+e._s("%")+"\n ")]),e._v(" "),a("td",{staticClass:"fixed_fee"},[e._v("\n "+e._s("+")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.fixed_fee.name],expression:"fieldValue[fieldData.fields.fixed_fee.name]"}],staticClass:"wc_input_price regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][fixed_fee]",name:e.sectionId+"["+e.fieldData.fields.fixed_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.fixed_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.fixed_fee.name,t.target.value)}}})]),e._v(" "),e.hasError(e.fieldData.fields.percent_fee.name)&&e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.__("Both percentage and fixed fee is required.","dokan-lite"))+"\n ")]):e.hasError(e.fieldData.fields.percent_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.percent_fee.label))+"\n ")]):e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.fixed_fee.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})]:e._e(),e._v(" "),"textarea"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"checkbox"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]","true-value":"on","false-value":"off"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e._q(e.fieldValue[e.fieldData.name],"on")},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=s.checked?"on":"off";if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}),e._v("\n "+e._s(e.fieldData.desc)+"\n ")])])])]:e._e(),e._v(" "),"multicheck"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[e._l(e.fieldData.options,function(t,s){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name][s],expression:"fieldValue[fieldData.name][optionKey]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]["+s+"]",name:e.sectionId+"["+e.fieldData.name+"]["+s+"]","true-value":s,"false-value":""},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name][s])?e._i(e.fieldValue[e.fieldData.name][s],null)>-1:e._q(e.fieldValue[e.fieldData.name][s],s)},on:{change:function(t){var a=e.fieldValue[e.fieldData.name][s],n=t.target,i=n.checked?s:"";if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&e.$set(e.fieldValue[e.fieldData.name],s,a.concat([null])):o>-1&&e.$set(e.fieldValue[e.fieldData.name],s,a.slice(0,o).concat(a.slice(o+1)))}else e.$set(e.fieldValue[e.fieldData.name],s,i)}}}),e._v("\n "+e._s(t)+"\n ")]),e._v(" "),a("br")]})],2)])]:e._e(),e._v(" "),"select"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t){return a("optgroup",{attrs:{label:t.group_label}},e._l(t.group_values,function(t){return a("option",{domProps:{value:t.value,innerHTML:e._s(t.label)}})}),0)})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("option",{domProps:{value:s,innerHTML:e._s(t)}})})],2),e._v(" "),e.fieldData.refresh_options?a("RefreshSettingOptions",{attrs:{section:e.sectionId,field:e.fieldData,"toggle-loading-state":e.toggleLoadingState}}):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"file"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){return t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"color"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("color-picker",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"html"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"radio"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{staticClass:"dokan-settings-field-type-radio"},[a("fieldset",[e._l(e.fieldData.options,function(t,s){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",id:e.sectionId+"["+e.fieldData.name+"]["+s+"]",name:s},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "+e._s(t)+"\n ")])]})],2),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"wpeditor"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("text-editor",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"repeatable"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("ul",{staticClass:"dokan-settings-repeatable-list"},e._l(e.fieldValue[e.fieldData.name],function(t,s){return e.fieldValue[e.fieldData.name]?a("li",[e._v("\n "+e._s(t.value)+" "),a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}})]):e._e()}),0),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[e._v("+")]),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"radio_image"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("div",{staticClass:"radio-image-container"},[e._l(e.fieldData.options,function(t,s){return[a("label",{staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "+e._s(e.__("Active","dokan-lite")))]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]:e._e(),e._v(" "),"gmap"!=e.fieldData.type||e.hideMap?e._e():[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{attrs:{type:"hidden",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.mapLocation}}),e._v(" "),"mapbox"===e.mapApiSource?a("Mapbox",{attrs:{accessToken:e.mapboxAccessToken,location:e.mapLocation,width:"100%",height:"300px"},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}):a("GoogleMaps",{attrs:{apiKey:e.googleMapApiKey,location:e.mapLocation},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]],2):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(63),n=a(169),i=!1;var o=function(e){i||a(168)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/SettingsBanner.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-settings-banner"}},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Settings Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("h1",[e._v(e._s(e.__("Looking for Coupons, Variable Products, SEO or Shipping?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Unlock these awesome frontend features with Dokan PRO","dokan-lite")))]),e._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("router-link",{staticClass:"button custom-button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"dokan-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),a("div",{staticClass:"dokan-settings-wrap"},[a("div",{staticClass:"nav-tab-wrapper"},[a("div",{staticClass:"search-box"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInSettings",staticClass:"dokan-admin-search-settings",attrs:{type:"text",placeholder:"Search e.g. vendor"},domProps:{value:e.searchText},on:{input:[function(t){t.target.composing||(e.searchText=t.target.value)},e.searchInSettings]}}),e._v(" "),""!==e.searchText?a("span",{staticClass:"dashicons dashicons-no-alt",on:{click:function(t){return t.preventDefault(),e.clearSearch(t)}}}):e._e()]),e._v(" "),e._l(e.settingSections,function(t){return[a("a",{class:["nav-tab",e.currentTab===t.id?"nav-tab-active":""],attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),e.changeTab(t)}}},[a("span",{staticClass:"dashicons",class:t.icon}),e._v(" "+e._s(t.title)+"\n ")])]})],2),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingFields,function(t,s){return e.isLoaded?[e.currentTab===s?a("div",{staticClass:"group",attrs:{id:s}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("table",{staticClass:"form-table"},[e.showSectionTitle(t)?a("thead",[a("tr",{staticClass:"dokan-settings-field-type-sub_section"},[a("th",{staticClass:"dokan-settings-sub-section-title",attrs:{colspan:"2"}},[a("label",[e._v(e._s(e.sectionTitle(s)))])])])]):e._e(),e._v(" "),a("tbody",e._l(t,function(t,n){return a("Fields",{key:n,attrs:{"section-id":s,id:n,"field-data":t,"field-value":e.settingValues[s],"all-settings-values":e.settingValues,errors:e.errors,"toggle-loading-state":e.toggleLoadingState},on:{openMedia:e.showMedia}})}),1)]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(t){return t.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])]):e._e()]:e._e()})],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e()])]),e._v(" "),e.hasPro?e._e():a("SettingsBanner")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(64),n=a(176),i=!1;var o=function(e){i||a(172)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Vendors.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(65),n=a(175),i=!1;var o=function(e){i||a(174)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/AddVendor.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-vendor-edit"},[a("modal",{attrs:{title:e.title,width:"800px"},on:{close:e.closeModal}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{staticClass:"tab-header"},[a("ul",{staticClass:"tab-list"},e._l(e.tabs,function(t,s){return a("li",{key:s,class:{"tab-title":!0,active:e.currentTab===t.name,last:"VendorPaymentFields"===t.name}},[a("div",{staticClass:"tab-link"},[a("a",{class:{first:"VendorAccountFields"===t.name},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.currentTab=t.name}}},[a("span",{class:[t.icon]}),e._v("\n "+e._s(t.label)+"\n ")])])])}),0)]),e._v(" "),e.currentTab?a("div",{staticClass:"tab-contents"},[e.isLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),e.isLoading?e._e():a("transition",{attrs:{name:"component-fade",mode:"out-in"}},[a(e.currentTab,{tag:"component",attrs:{vendorInfo:e.store,errors:e.errors}})],1)],1):e._e()]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"button button-primary button-hero",on:{click:e.createVendor}},[e._v(e._s("VendorPaymentFields"===e.currentTab?e.__("Create Vendor","dokan-lite"):this.nextBtn))])])])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"vendor-list"},[a("h1",{staticClass:"wp-heading-inline"},[e._v(e._s(e.__("Vendors","dokan-lite")))]),e._v(" "),a("button",{staticClass:"page-title-action",on:{click:function(t){return e.addNew()}}},[e._v(e._s(e.__("Add New","dokan-lite")))]),e._v(" "),e._l(e.dokanVendorHeaderArea,function(e,t){return a(e,{key:t,tag:"component"})}),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("All","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.all))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1)]),e._v(" "),a("search",{attrs:{title:e.__("Search Vendors","dokan-lite")},on:{searched:e.doSearch}}),e._v(" "),a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.vendors,actions:e.actions,actionColumn:"store_name","show-cb":e.showCb,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.currentPage,"action-column":e.actionColumn,"not-found":"No vendors found.","sort-by":e.sortBy,"sort-order":e.sortOrder,text:e.$root.listTableTexts()},on:{sort:e.sortCallback,pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction,searched:e.doSearch},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("img",{attrs:{src:t.row.gravatar,alt:t.row.store_name,width:"50"}}),e._v(" "),a("strong",[e.hasPro?a("router-link",{attrs:{to:"/vendors/"+t.row.id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])],1)]}},{key:"email",fn:function(t){return[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])]}},{key:"categories",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.categories.map(function(e){return e.name}).join(", "))+"\n ")]}},{key:"registered",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.registered).format("MMM D, YYYY"))+"\n ")]}},{key:"enabled",fn:function(t){return[a("switches",{attrs:{enabled:t.row.enabled,value:t.row.id},on:{input:e.onSwitch}})]}},{key:"row-actions",fn:function(t){return e._l(e.actions,function(s,n){return a("span",{class:s.key},[e.hasPro&&"edit"==s.key?a("router-link",{attrs:{to:{path:"vendors/"+t.row.id,query:{edit:"true"}}}},[e._v(e._s(s.label))]):e.hasPro||"edit"!=s.key?"products"==s.key?a("a",{attrs:{href:e.productUrl(t.row.id)}},[e._v(e._s(s.label))]):"orders"==s.key?a("a",{attrs:{href:e.ordersUrl(t.row.id)}},[e._v(e._s(s.label))]):"switch_to"==s.key?a("a",{attrs:{href:e.switchToUrl(t.row)}},[e._v(e._s(s.label))]):a("a",{attrs:{href:"#"}},[e._v(e._s(s.label))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(s.label))]),e._v(" "),n!==e.actions.length-1?[e._v(" | ")]:e._e()],2)})}}])}),e._v(" "),e.loadAddVendor?a("add-vendor",{attrs:{"vendor-id":e.vendorId}}):e._e()],2)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(66),n=a(179),i=!1;var o=function(e){i||a(178)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorCapabilities.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-vendor-capabilities"}},[a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")])])]),e._v(" "),a("div",{staticClass:"grid"},e._l(e.capabilityCards,function(t){return a("div",{staticClass:"col-6"},[a("div",{staticClass:"capability-card"},[a("div",{staticClass:"capability-image"},[a("img",{staticClass:"image",attrs:{src:t.image,alt:e.__("Dokan Capability","dokan-lite")}}),e._v(" "),a("div",{staticClass:"middle"},[a("div",{staticClass:"zoom",on:{click:function(a){return e.openPopup(t.image)}}},[a("div",{staticClass:"dashicons dashicons-search"})])])]),e._v(" "),a("p",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"content"},[e._v(e._s(t.content))])])])}),0),e._v(" "),a("ProCta"),e._v(" "),e.showPopup?a("div",{attrs:{id:"dokan-capability-image-popup"},on:{click:e.closePopup}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("img",{attrs:{src:this.selectedCapabilityImage,alt:e.__("Dokan Capability","dokan-lite")}})])])]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(67),n=a(185),i=!1;var o=function(e){i||a(181)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ProModules.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(68),n=a(184),i=!1;var o=function(e){i||a(183)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ModuleUpgradePopup.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-upgrade-to-pro-wrapper"}},[e.showPopup?a("div",{attrs:{id:"dokan-upgrade-popup"}},[a("div",{staticClass:"modal-content"},[a("span",{staticClass:"close",on:{click:e.closePopup}}),e._v(" "),a("div",{staticClass:"header"},[a("img",{attrs:{src:e.headerImage,alt:e.__("Dokan Upgrade Popup","dokan-lite")}}),e._v(" "),a("h1",[e._v(e._s(e.__("Unlock 20+ Modules","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-brand"},[e._v(e._s(e.__("with Dokan Premium Plans","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-disabled"},[e._v("\n "+e._s(e.__("We’re sorry, Dokan Modules are not available on Dokan Lite. Please upgrade to a PRO plan to unlock the modules of your choice.","dokan-lite"))+"\n ")])]),e._v(" "),a("div",{staticClass:"body"},[a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("div",{staticClass:"promo-card"},[a("img",{attrs:{src:e.bonusImage,alt:e.__("Dokan Upgrade Promo","dokan-lite")}}),e._v(" "),a("p",[e._v(e._s(e.__("Bonus: Dokan Lite users get 30% off regular price. Click on the link above to obtain the coupon & apply it during checkout.","dokan-lite")))])]),e._v(" "),a("span",[a("a",{attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://wedevs.com/docs/dokan/getting-started/installation-2/"}},[e._v(e._s(e.__("Already upgraded?","dokan-lite")))])])])])]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"lite-modules"}},[a("div",{staticClass:"dokan-modules-wrap"},[a("h1",[e._v(e._s(e.__("Modules","dokan")))]),e._v(" "),a("div",{staticClass:"module-content"},[a("div",{staticClass:"wp-list-table widefat dokan-modules"},[e.modules.length>0?e._l(e.modules,function(t){return a("div",{staticClass:"plugin-card"},[a("div",{staticClass:"plugin-card-top"},[a("div",{staticClass:"name column-name"},[a("h3",[a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[e._v(e._s(t.name))]),e._v(" "),a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[a("img",{staticClass:"plugin-icon",attrs:{src:t.thumbnail,alt:t.name}})])])]),e._v(" "),a("div",{staticClass:"action-links"},[a("ul",{staticClass:"plugin-action-buttons"},[a("li",{on:{click:function(t){return e.togglePopup(!0)}}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20"}},[a("rect",{attrs:{width:"42",height:"20",rx:"10",fill:"#c0c3c6"}}),a("circle",{attrs:{cx:"6",cy:"6",r:"6",transform:"translate(6 4)",fill:"#fff"}})])])])]),e._v(" "),a("div",{staticClass:"desc column-description"},[a("p",{domProps:{innerHTML:e._s(t.description)}})]),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{attrs:{href:t.docLink,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan")))])])])])}):[a("div",{staticClass:"notice notice-info",attrs:{id:"message"}},[a("p",[a("strong",[e._v(e._s(e.__("No modules found.","dokan")))])])])]],2)])]),e._v(" "),a("ModuleUpgradePopup",{attrs:{"show-popup":e.showPopup},on:{toggle:e.togglePopup}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";t.a=function(e){var t=jQuery,a=t("#toplevel_page_"+e),s=window.location.href,n=s.substr(s.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==n||t(a).parent().addClass("current")})}}],[106]);
dokan.php CHANGED
@@ -3,12 +3,12 @@
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.1.2
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
10
  * WC requires at least: 3.0
11
- * WC tested up to: 4.8.0
12
  * Domain Path: /languages/
13
  * License: GPL2
14
  */
@@ -56,7 +56,7 @@ final class WeDevs_Dokan {
56
  *
57
  * @var string
58
  */
59
- public $version = '3.1.2';
60
 
61
  /**
62
  * Instance of self
3
  * Plugin Name: Dokan
4
  * Plugin URI: https://wordpress.org/plugins/dokan-lite/
5
  * Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
6
+ * Version: 3.2.0
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
10
  * WC requires at least: 3.0
11
+ * WC tested up to: 4.9.2
12
  * Domain Path: /languages/
13
  * License: GPL2
14
  */
56
  *
57
  * @var string
58
  */
59
+ public $version = '3.2.0';
60
 
61
  /**
62
  * Instance of self
includes/Admin/LimitedTimePromotion.php CHANGED
@@ -39,13 +39,15 @@ class LimitedTimePromotion {
39
 
40
  $notices = [
41
  [
42
- 'pro' => true,
43
- 'key' => 'dokan-pro-changes',
44
- 'start_date' => '2021-01-10 09:00:00 EST',
45
- 'end_date' => '2021-02-28 23:59:00 EST',
46
- 'title' => 'Dokan Pro Upcoming Changes',
47
- 'content' => '<p><b>PayPal Adaptive Payment</b> module will be shutdown from Dokan Pro <code>v3.1.5</code></p><p><b>Vendor Subscription Product</b> module will be renamed as <b>Product Subscription</b> starting from Dokan Pro <code>v3.1.5</code></p>',
48
- 'link' => '',
 
 
49
  ],
50
  ];
51
 
@@ -54,85 +56,112 @@ class LimitedTimePromotion {
54
  }
55
 
56
  $current_time_est = $this->get_current_time_est();
57
- $notice = [];
58
 
59
  $already_displayed_promo = get_option( $this->promo_option_key, [] );
60
 
61
  foreach ( $notices as $ntc ) {
62
- if ( in_array( $ntc['key'], $already_displayed_promo, true ) ) {
63
  continue;
64
  }
65
 
66
- if ( strtotime( $ntc['start_date'] ) < strtotime( $current_time_est ) && strtotime( $current_time_est ) < strtotime( $ntc['end_date'] ) ) {
67
- $notice = $ntc;
 
 
68
  }
69
- }
70
 
71
- if ( empty( $notice ) ) {
72
- return;
 
73
  }
74
 
75
- if ( $notice['pro'] && ! dokan()->is_pro_exists() ) {
76
  return;
77
  }
78
 
79
  ?>
80
- <div class="notice notice-error dokan-limited-time-promotional-notice">
 
 
81
  <div class="content">
82
- <h2><?php echo esc_html( $notice['title'] ); ?></h2>
83
- <p><?php echo wp_kses_post( $notice['content'] ); ?></p>
84
- <?php if( ! empty( $notice['link'] ) ): ?>
85
- <a href="<?php echo esc_url( $notice['link'] ); ?>" class="button button-primary promo-btn" target="_blank"><?php echo esc_html__( 'Get Deals &rarr;', 'dokan-lite' ); ?></a>
86
- <?php endif ?>
 
 
 
 
 
87
  </div>
88
  <span class="prmotion-close-icon dashicons dashicons-no-alt" data-key="<?php echo esc_attr( $notice['key'] ); ?>"></span>
89
  <div class="clear"></div>
90
  </div>
 
91
 
92
  <style>
 
 
 
 
 
93
  .dokan-limited-time-promotional-notice {
94
- padding: 20px;
95
- box-sizing: border-box;
96
  position: relative;
 
97
  }
98
 
99
  .dokan-limited-time-promotional-notice .prmotion-close-icon {
100
  position: absolute;
101
- top: 20px;
102
- right: 20px;
 
 
103
  cursor: pointer;
 
104
  }
105
 
106
  .dokan-limited-time-promotional-notice .content {
107
- float: left;
108
- width: 75%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  }
110
 
111
- .dokan-limited-time-promotional-notice .content h2 {
112
- margin: 3px 0px 5px;
113
- font-size: 17px;
114
- font-weight: bold;
115
- color: #555;
116
- line-height: 25px;
117
  }
118
 
119
- .dokan-limited-time-promotional-notice .content p {
120
- font-size: 14px;
121
- text-align: justify;
122
- color: #666;
123
- margin-bottom: 10px;
124
  }
125
 
126
  .dokan-limited-time-promotional-notice .content a {
127
- border: none;
128
- box-shadow: none;
129
- height: 31px;
130
- line-height: 30px;
131
- border-radius: 3px;
132
- background: #ff5722;
133
- text-shadow: none;
134
- width: 140px;
135
- text-align: center;
136
  }
137
  </style>
138
 
39
 
40
  $notices = [
41
  [
42
+ 'pro' => false,
43
+ 'key' => 'dokan-withdraw-promo',
44
+ 'thumbnail' => DOKAN_PLUGIN_ASSEST . '/images/withdraw-request-promo.svg',
45
+ 'start_date' => '2021-01-10 09:00:00 EST',
46
+ 'end_date' => '2021-03-28 23:59:00 EST',
47
+ 'title' => "<p>You’ve received <span>at least 5 Vendor</span> Withdrawal Requests already!</p><p>Want to get the full breakdown of your earnings?</p><p>Upgrade to Dokan Pro at <span>30% off</span> today!</p>",
48
+ 'body' => "<p>Use this code at checkout:</p><span>dokanpro30</span>",
49
+ 'link' => 'https://wedevs.com/dokan/pricing?utm_medium=wordpress-dashboard&utm_source=upgrade-to-pro',
50
+ 'button_text' => 'Get Now'
51
  ],
52
  ];
53
 
56
  }
57
 
58
  $current_time_est = $this->get_current_time_est();
59
+ $selected_notices = [];
60
 
61
  $already_displayed_promo = get_option( $this->promo_option_key, [] );
62
 
63
  foreach ( $notices as $ntc ) {
64
+ if ( in_array( $ntc['key'], $already_displayed_promo, true ) || ( ! $ntc['pro'] && dokan()->is_pro_exists() ) ) {
65
  continue;
66
  }
67
 
68
+ // Temporary condition for withdraw request promo
69
+ $withdraw_count = dokan()->withdraw->get_total_withdraw_count();
70
+ if ( $withdraw_count <= 4 ) {
71
+ continue;
72
  }
 
73
 
74
+ if ( strtotime( $ntc['start_date'] ) < strtotime( $current_time_est ) && strtotime( $current_time_est ) < strtotime( $ntc['end_date'] ) ) {
75
+ $selected_notices[] = $ntc;
76
+ }
77
  }
78
 
79
+ if ( empty( $selected_notices ) ) {
80
  return;
81
  }
82
 
83
  ?>
84
+
85
+ <?php foreach( $selected_notices as $notice ): ?>
86
+ <div class="notice dokan-notice dokan-limited-time-promotional-notice">
87
  <div class="content">
88
+ <div class="thumbnail">
89
+ <img src="<?php echo $notice['thumbnail'] ?>" alt="thumbnail">
90
+ </div>
91
+ <div class="title">
92
+ <?php echo $notice['title'] ?>
93
+ </div>
94
+ <div class="body">
95
+ <?php echo $notice['body'] ?>
96
+ </div>
97
+ <a target="_blank" href="<?php echo $notice['link'] ?>"><?php echo esc_html( $notice['button_text'] ) ?></a>
98
  </div>
99
  <span class="prmotion-close-icon dashicons dashicons-no-alt" data-key="<?php echo esc_attr( $notice['key'] ); ?>"></span>
100
  <div class="clear"></div>
101
  </div>
102
+ <?php endforeach; ?>
103
 
104
  <style>
105
+
106
+ .dokan-notice {
107
+ border: 0px;
108
+ }
109
+
110
  .dokan-limited-time-promotional-notice {
111
+ padding: 10px;
 
112
  position: relative;
113
+ background-color: #4B0063;
114
  }
115
 
116
  .dokan-limited-time-promotional-notice .prmotion-close-icon {
117
  position: absolute;
118
+ background: white;
119
+ border-radius: 10px;
120
+ top: 10px;
121
+ right: 10px;
122
  cursor: pointer;
123
+ padding-top: 0px;
124
  }
125
 
126
  .dokan-limited-time-promotional-notice .content {
127
+ color: white;
128
+ padding: 14px;
129
+ width: 100%;
130
+ display: flex;
131
+ justify-content: center;
132
+ align-items: center;
133
+ }
134
+
135
+ .dokan-limited-time-promotional-notice .content .thumbnail img{
136
+ height: 100px;
137
+ }
138
+
139
+ .dokan-limited-time-promotional-notice .content .title {
140
+ font-size: 18px;
141
+ margin-left: 24px;
142
+ margin-right: 48px;
143
+ }
144
+
145
+ .dokan-limited-time-promotional-notice .content .title span {
146
+ font-weight: bolder;
147
  }
148
 
149
+ .dokan-limited-time-promotional-notice .content .body p {
150
+ font-size: 10px;
 
 
 
 
151
  }
152
 
153
+ .dokan-limited-time-promotional-notice .content .body span {
154
+ color: #FF6393;
155
+ font-size: 28px;
 
 
156
  }
157
 
158
  .dokan-limited-time-promotional-notice .content a {
159
+ margin-left: 48px;
160
+ text-decoration: none;
161
+ padding: 10px 20px;
162
+ background-color: white;
163
+ color: black;
164
+ border-radius: 22px;
 
 
 
165
  }
166
  </style>
167
 
includes/Admin/Settings.php CHANGED
@@ -357,6 +357,12 @@ class Settings {
357
  'type' => 'checkbox',
358
  'default' => 'off',
359
  ],
 
 
 
 
 
 
360
  ]
361
  );
362
 
@@ -435,7 +441,7 @@ class Settings {
435
  'order_status_change' => [
436
  'name' => 'order_status_change',
437
  'label' => __( 'Order Status Change', 'dokan-lite' ),
438
- 'desc' => __( 'Allow/Disallow vendor to update order status', 'dokan-lite' ),
439
  'type' => 'checkbox',
440
  'default' => 'on',
441
  ],
357
  'type' => 'checkbox',
358
  'default' => 'off',
359
  ],
360
+ 'store_products_per_page' => [
361
+ 'name' => 'store_products_per_page',
362
+ 'label' => __( 'Store Products Per Page', 'dokan-lite' ),
363
+ 'type' => 'number',
364
+ 'default' => '12',
365
+ ],
366
  ]
367
  );
368
 
441
  'order_status_change' => [
442
  'name' => 'order_status_change',
443
  'label' => __( 'Order Status Change', 'dokan-lite' ),
444
+ 'desc' => __( 'Allow vendor to update order status', 'dokan-lite' ),
445
  'type' => 'checkbox',
446
  'default' => 'on',
447
  ],
includes/Admin/SetupWizard.php CHANGED
@@ -254,7 +254,7 @@ class SetupWizard {
254
  <?php do_action( 'admin_head' ); ?>
255
  <?php do_action( 'dokan_setup_wizard_styles' ); ?>
256
  </head>
257
- <body class="wc-setup wp-core-ui<?php echo get_transient( 'dokan_setup_wizard_no_wc' ) ? ' dokan-setup-wizard-activated-wc' : ''; ?>">
258
  <?php
259
  $logo_url = ( ! empty( $this->custom_logo ) ) ? $this->custom_logo : plugins_url( 'assets/images/dokan-logo.png', DOKAN_FILE );
260
  ?>
254
  <?php do_action( 'admin_head' ); ?>
255
  <?php do_action( 'dokan_setup_wizard_styles' ); ?>
256
  </head>
257
+ <body class="wc-setup dokan-admin-setup-wizard wp-core-ui<?php echo get_transient( 'dokan_setup_wizard_no_wc' ) ? ' dokan-setup-wizard-activated-wc' : ''; ?>">
258
  <?php
259
  $logo_url = ( ! empty( $this->custom_logo ) ) ? $this->custom_logo : plugins_url( 'assets/images/dokan-logo.png', DOKAN_FILE );
260
  ?>
includes/Ajax.php CHANGED
@@ -264,7 +264,7 @@ class Ajax {
264
  $inserted_id = wc_downloadable_file_permission( $download_id, $product_id, $order );
265
 
266
  if ( $inserted_id ) {
267
- $download = new WC_Customer_Download( $inserted_id );
268
  $loop ++;
269
  $file_counter ++;
270
 
264
  $inserted_id = wc_downloadable_file_permission( $download_id, $product_id, $order );
265
 
266
  if ( $inserted_id ) {
267
+ $download = new \WC_Customer_Download( $inserted_id );
268
  $loop ++;
269
  $file_counter ++;
270
 
includes/Assets.php CHANGED
@@ -699,6 +699,7 @@ class Assets {
699
  'i18n_load_more' => __( 'Loading more results&hellip;', 'dokan-lite' ),
700
  'i18n_searching' => __( 'Searching&hellip;', 'dokan-lite' ),
701
  'i18n_date_format' => get_option( 'date_format' ),
 
702
  ];
703
 
704
  $default_args = array_merge( $default_args, $custom_args );
699
  'i18n_load_more' => __( 'Loading more results&hellip;', 'dokan-lite' ),
700
  'i18n_searching' => __( 'Searching&hellip;', 'dokan-lite' ),
701
  'i18n_date_format' => get_option( 'date_format' ),
702
+ 'dokan_banner_added_alert_msg' => __( 'Are you sure? You have uploaded banner but didn\'t click the Update Settings button!', 'dokan-lite' ),
703
  ];
704
 
705
  $default_args = array_merge( $default_args, $custom_args );
includes/Dashboard/Templates/Products.php CHANGED
@@ -90,7 +90,7 @@ class Products {
90
  'post' => $post,
91
  'is_downloadable' => $is_downloadable,
92
  'is_virtual' => $is_virtual,
93
- 'class' => 'show_if_simple',
94
  ) );
95
  }
96
 
90
  'post' => $post,
91
  'is_downloadable' => $is_downloadable,
92
  'is_virtual' => $is_virtual,
93
+ 'class' => 'show_if_subscription show_if_variable-subscription show_if_simple',
94
  ) );
95
  }
96
 
includes/Dashboard/Templates/Settings.php CHANGED
@@ -53,16 +53,18 @@ class Settings {
53
  */
54
  public function render_settings_header() {
55
  global $wp;
 
56
 
57
  if ( isset( $wp->query_vars['settings'] ) && $wp->query_vars['settings'] == 'store' ) {
58
- $heading = __( 'Settings', 'dokan-lite' );
 
59
  } elseif ( isset( $wp->query_vars['settings'] ) && $wp->query_vars['settings'] == 'payment' ) {
60
  $heading = __( 'Payment Settings', 'dokan-lite' );
61
  } else {
62
  $heading = apply_filters( 'dokan_dashboard_settings_heading_title', __( 'Settings', 'dokan-lite' ), $wp->query_vars['settings'] );
63
  }
64
 
65
- dokan_get_template_part( 'settings/header', '', array( 'heading' => $heading ) );
66
  }
67
 
68
  /**
@@ -489,13 +491,18 @@ class Settings {
489
 
490
  } elseif ( wp_verify_nonce( $post_data['_wpnonce'], 'dokan_store_settings_nonce' ) ) {
491
 
 
 
 
 
 
492
  // update store setttings info
493
  $dokan_settings = array(
494
  'store_name' => sanitize_text_field( $post_data['dokan_store_name'] ),
495
  'store_ppp' => absint( $post_data['dokan_store_ppp'] ),
496
  'address' => isset( $post_data['dokan_address'] ) ? array_map( 'sanitize_text_field', $post_data['dokan_address'] ) : $prev_dokan_settings['address'],
497
- 'location' => sanitize_text_field( $post_data['location'] ),
498
- 'find_address' => sanitize_text_field( $post_data['find_address'] ),
499
  'banner' => isset( $post_data['dokan_banner'] ) ? absint( $post_data['dokan_banner'] ) : 0,
500
  'phone' => sanitize_text_field( $post_data['setting_phone'] ),
501
  'show_email' => sanitize_text_field( $post_data['setting_show_email'] ),
53
  */
54
  public function render_settings_header() {
55
  global $wp;
56
+ $is_store_setting = false;
57
 
58
  if ( isset( $wp->query_vars['settings'] ) && $wp->query_vars['settings'] == 'store' ) {
59
+ $heading = __( 'Settings', 'dokan-lite' );
60
+ $is_store_setting = true;
61
  } elseif ( isset( $wp->query_vars['settings'] ) && $wp->query_vars['settings'] == 'payment' ) {
62
  $heading = __( 'Payment Settings', 'dokan-lite' );
63
  } else {
64
  $heading = apply_filters( 'dokan_dashboard_settings_heading_title', __( 'Settings', 'dokan-lite' ), $wp->query_vars['settings'] );
65
  }
66
 
67
+ dokan_get_template_part( 'settings/header', '', array( 'heading' => $heading, 'is_store_setting' => $is_store_setting ) );
68
  }
69
 
70
  /**
491
 
492
  } elseif ( wp_verify_nonce( $post_data['_wpnonce'], 'dokan_store_settings_nonce' ) ) {
493
 
494
+ $default_locations = dokan_get_option( 'location', 'dokan_geolocation' );
495
+ $find_address = ! empty( $post_data['find_address'] ) ? sanitize_text_field( $post_data['find_address'] ) : $default_locations['address'];
496
+ $default_location = $default_locations['latitude'] . ',' . $default_locations['longitude'];
497
+ $location = ! empty( $post_data['find_address'] ) ? sanitize_text_field( $post_data['location'] ) : $default_location;
498
+
499
  // update store setttings info
500
  $dokan_settings = array(
501
  'store_name' => sanitize_text_field( $post_data['dokan_store_name'] ),
502
  'store_ppp' => absint( $post_data['dokan_store_ppp'] ),
503
  'address' => isset( $post_data['dokan_address'] ) ? array_map( 'sanitize_text_field', $post_data['dokan_address'] ) : $prev_dokan_settings['address'],
504
+ 'location' => $location,
505
+ 'find_address' => $find_address,
506
  'banner' => isset( $post_data['dokan_banner'] ) ? absint( $post_data['dokan_banner'] ) : 0,
507
  'phone' => sanitize_text_field( $post_data['setting_phone'] ),
508
  'show_email' => sanitize_text_field( $post_data['setting_show_email'] ),
includes/REST/OrderController.php CHANGED
@@ -235,7 +235,7 @@ class OrderController extends DokanRESTController {
235
 
236
  // Format decimal values.
237
  foreach ( $format_decimal as $key ) {
238
- $data[ $key ] = wc_format_decimal( $data[ $key ], $this->request['dp'] );
239
  }
240
 
241
  // Format date values.
@@ -259,7 +259,7 @@ class OrderController extends DokanRESTController {
259
  $data['refunds'][] = array(
260
  'id' => $refund->get_id(),
261
  'refund' => $refund->get_reason() ? $refund->get_reason() : '',
262
- 'total' => '-' . wc_format_decimal( $refund->get_amount(), $this->request['dp'] ),
263
  );
264
  }
265
 
@@ -474,7 +474,7 @@ class OrderController extends DokanRESTController {
474
  // Format decimal values.
475
  foreach ( $format_decimal as $key ) {
476
  if ( isset( $data[ $key ] ) ) {
477
- $data[ $key ] = wc_format_decimal( $data[ $key ], $this->request['dp'] );
478
  }
479
  }
480
 
235
 
236
  // Format decimal values.
237
  foreach ( $format_decimal as $key ) {
238
+ $data[ $key ] = wc_format_decimal( $data[ $key ], '' );
239
  }
240
 
241
  // Format date values.
259
  $data['refunds'][] = array(
260
  'id' => $refund->get_id(),
261
  'refund' => $refund->get_reason() ? $refund->get_reason() : '',
262
+ 'total' => '-' . wc_format_decimal( $refund->get_amount(), '' ),
263
  );
264
  }
265
 
474
  // Format decimal values.
475
  foreach ( $format_decimal as $key ) {
476
  if ( isset( $data[ $key ] ) ) {
477
+ $data[ $key ] = wc_format_decimal( $data[ $key ], '' );
478
  }
479
  }
480
 
includes/REST/ProductController.php CHANGED
@@ -583,7 +583,7 @@ class ProductController extends DokanRESTController {
583
  $args = parent::prepare_objects_query( $request );
584
 
585
  // Set post_status.
586
- $args['post_status'] = isset( $request['status'] ) ? $request['status'] : $request['post_status'];
587
 
588
  // Taxonomy query to filter products by type, category,
589
  // tag, shipping class, and attribute.
583
  $args = parent::prepare_objects_query( $request );
584
 
585
  // Set post_status.
586
+ $args['post_status'] = isset( $request['status'] ) ? $request['status'] : $this->post_status;
587
 
588
  // Taxonomy query to filter products by type, category,
589
  // tag, shipping class, and attribute.
includes/REST/StoreController.php CHANGED
@@ -241,15 +241,17 @@ class StoreController extends WP_REST_Controller {
241
 
242
  $stores = dokan()->vendor->get_vendors( $args );
243
 
 
 
244
  // if no stores found in then we are searching again with meta value. here need to remove search and search_columns, because with this args meta_query is not working
245
- if ( ! count( $stores ) ) {
246
  unset( $args['search'] );
247
  unset( $args['search_columns'] );
248
 
249
  $args['meta_query'] = [
250
  [
251
  'key' => 'dokan_store_name',
252
- 'value' => sanitize_text_field( $params['search'] ),
253
  'compare' => 'LIKE',
254
  ],
255
  ];
241
 
242
  $stores = dokan()->vendor->get_vendors( $args );
243
 
244
+ $search_text = isset( $params['search'] ) ? sanitize_text_field( $params['search'] ) : '';
245
+
246
  // if no stores found in then we are searching again with meta value. here need to remove search and search_columns, because with this args meta_query is not working
247
+ if ( ! count( $stores ) && ! empty( $search_text ) ) {
248
  unset( $args['search'] );
249
  unset( $args['search_columns'] );
250
 
251
  $args['meta_query'] = [
252
  [
253
  'key' => 'dokan_store_name',
254
+ 'value' => $search_text,
255
  'compare' => 'LIKE',
256
  ],
257
  ];
includes/Registration.php CHANGED
@@ -87,7 +87,7 @@ class Registration {
87
  function set_new_vendor_names( $data ) {
88
  $post_data = wp_unslash( $_POST ); // WPCS: CSRF ok.
89
 
90
- $allowed_roles = array( 'customer', 'seller' );
91
  $role = ( isset( $post_data['role'] ) && in_array( $post_data['role'], $allowed_roles ) ) ? $post_data['role'] : 'customer';
92
 
93
  $data['role'] = $role;
87
  function set_new_vendor_names( $data ) {
88
  $post_data = wp_unslash( $_POST ); // WPCS: CSRF ok.
89
 
90
+ $allowed_roles = apply_filters( 'dokan_register_user_role', array( 'customer', 'seller' ) );
91
  $role = ( isset( $post_data['role'] ) && in_array( $post_data['role'], $allowed_roles ) ) ? $post_data['role'] : 'customer';
92
 
93
  $data['role'] = $role;
includes/Rewrites.php CHANGED
@@ -282,10 +282,11 @@ class Rewrites {
282
  }
283
 
284
  $store_info = dokan_get_store_info( $seller_info->data->ID );
285
- $post_per_page = isset( $store_info['store_ppp'] ) && ! empty( $store_info['store_ppp'] ) ? $store_info['store_ppp'] : 12;
 
286
 
287
  do_action( 'dokan_store_page_query_filter', $query, $store_info );
288
- set_query_var( 'posts_per_page', $post_per_page );
289
 
290
  $query->set( 'post_type', 'product' );
291
  $query->set( 'author_name', $author );
282
  }
283
 
284
  $store_info = dokan_get_store_info( $seller_info->data->ID );
285
+ $product_ppp = dokan_get_option( 'store_products_per_page', 'dokan_general', 12 );
286
+ $post_per_page = isset( $store_info['store_ppp'] ) && ! empty( $store_info['store_ppp'] ) ? $store_info['store_ppp'] : $product_ppp;
287
 
288
  do_action( 'dokan_store_page_query_filter', $query, $store_info );
289
+ set_query_var( 'posts_per_page', apply_filters( 'dokan_store_products_per_page', $post_per_page ) );
290
 
291
  $query->set( 'post_type', 'product' );
292
  $query->set( 'author_name', $author );
includes/Shortcodes/BestSellingProduct.php CHANGED
@@ -15,7 +15,7 @@ class BestSellingProduct extends DokanShortcode {
15
  *
16
  * @return string
17
  */
18
- function render_shortcode( $atts ) {
19
  /**
20
  * Filter return the number of best selling product per page.
21
  *
@@ -48,7 +48,7 @@ class BestSellingProduct extends DokanShortcode {
48
  <?php endwhile; ?>
49
  </ul>
50
  <?php
51
-
52
  return ob_get_clean();
53
  }
54
  }
15
  *
16
  * @return string
17
  */
18
+ public function render_shortcode( $atts ) {
19
  /**
20
  * Filter return the number of best selling product per page.
21
  *
48
  <?php endwhile; ?>
49
  </ul>
50
  <?php
51
+ wp_reset_postdata();
52
  return ob_get_clean();
53
  }
54
  }
includes/Shortcodes/TopRatedProduct.php CHANGED
@@ -47,7 +47,7 @@ class TopRatedProduct extends DokanShortcode {
47
  ?>
48
  </ul>
49
  <?php
50
-
51
  return ob_get_clean();
52
  }
53
  }
47
  ?>
48
  </ul>
49
  <?php
50
+ wp_reset_postdata();
51
  return ob_get_clean();
52
  }
53
  }
includes/Vendor/Manager.php CHANGED
@@ -81,6 +81,7 @@ class Manager {
81
 
82
  // if featured
83
  if ( 'yes' == $args['featured'] ) {
 
84
  $args['meta_query'][] = [
85
  'key' => 'dokan_feature_seller',
86
  'value' => 'yes',
81
 
82
  // if featured
83
  if ( 'yes' == $args['featured'] ) {
84
+ $args['meta_query']['relation'] = 'AND';
85
  $args['meta_query'][] = [
86
  'key' => 'dokan_feature_seller',
87
  'value' => 'yes',
includes/Vendor/SetupWizard.php CHANGED
@@ -121,7 +121,7 @@ class SetupWizard extends DokanSetupWizard {
121
  <?php do_action( 'admin_print_styles' ); ?>
122
  <?php do_action( 'dokan_setup_wizard_styles' ); ?>
123
  </head>
124
- <body class="wc-setup wp-core-ui">
125
  <?php if ( ! empty( $this->custom_logo ) ) { ?>
126
  <h1 id="wc-logo"><a href="<?php echo esc_url( home_url() ) ?>"><img src="<?php echo esc_url( $this->custom_logo ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" /></a></h1>
127
  <?php } else {
@@ -182,7 +182,7 @@ class SetupWizard extends DokanSetupWizard {
182
  <form method="post" class="dokan-seller-setup-form">
183
  <table class="form-table">
184
  <tr>
185
- <th scope="row"><label for="store_ppp"><?php esc_attr_e( 'Store Product Per Page', 'dokan-lite' ); ?></label></th>
186
  <td>
187
  <input type="text" id="store_ppp" name="store_ppp" value="<?php echo esc_attr( $store_ppp ); ?>" />
188
  </td>
121
  <?php do_action( 'admin_print_styles' ); ?>
122
  <?php do_action( 'dokan_setup_wizard_styles' ); ?>
123
  </head>
124
+ <body class="wc-setup wp-core-ui dokan-vendor-setup-wizard">
125
  <?php if ( ! empty( $this->custom_logo ) ) { ?>
126
  <h1 id="wc-logo"><a href="<?php echo esc_url( home_url() ) ?>"><img src="<?php echo esc_url( $this->custom_logo ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" /></a></h1>
127
  <?php } else {
182
  <form method="post" class="dokan-seller-setup-form">
183
  <table class="form-table">
184
  <tr>
185
+ <th scope="row"><label for="store_ppp"><?php esc_attr_e( 'Store Products Per Page', 'dokan-lite' ); ?></label></th>
186
  <td>
187
  <input type="text" id="store_ppp" name="store_ppp" value="<?php echo esc_attr( $store_ppp ); ?>" />
188
  </td>
includes/Vendor/Vendor.php CHANGED
@@ -661,7 +661,11 @@ class Vendor {
661
  }
662
 
663
  if ( $formatted ) {
664
- return apply_filters( 'dokan_get_formatted_seller_balance', wc_price( $earning ), $this->id );
 
 
 
 
665
  }
666
 
667
  return apply_filters( 'dokan_get_seller_balance', $earning, $this->id );
661
  }
662
 
663
  if ( $formatted ) {
664
+ $decimal = ( 0 === wc_get_price_decimals() ) ? 2 : wc_get_price_decimals();
665
+ return apply_filters(
666
+ 'dokan_get_formatted_seller_balance',
667
+ wc_price( $earning, [ 'decimals' => $decimal ]
668
+ ), $this->id );
669
  }
670
 
671
  return apply_filters( 'dokan_get_seller_balance', $earning, $this->id );
includes/Withdraw/Manager.php CHANGED
@@ -29,8 +29,8 @@ class Manager {
29
  public function is_valid_approval_request( $args ) {
30
  $user_id = $args['user_id'];
31
  $limit = $this->get_withdraw_limit();
32
- $balance = round( dokan_get_seller_balance( $user_id, false ), 2 );
33
- $amount = wc_format_decimal( $args['amount'] );
34
  $method = $args['method'];
35
 
36
  if ( empty( $amount ) ) {
@@ -42,10 +42,11 @@ class Manager {
42
  }
43
 
44
  if ( $amount < $limit ) {
 
45
  return new WP_Error( 'dokan_withdraw_amount', sprintf( __( 'Withdraw amount must be greater than %s', 'dokan-lite' ), wc_price( $limit ) ) );
46
  }
47
 
48
- if ( ! in_array( $method, dokan_get_seller_active_withdraw_methods( $user_id ) ) ) {
49
  return new WP_Error( 'dokan_withdraw_invalid_method', __( 'Withdraw method is not active.', 'dokan-lite' ) );
50
  }
51
 
@@ -315,6 +316,17 @@ class Manager {
315
  }
316
  }
317
 
 
 
 
 
 
 
 
 
 
 
 
318
  /**
319
  * Get a single withdraw
320
  *
@@ -359,12 +371,7 @@ class Manager {
359
  $formats[] = $id[ $field ];
360
  }
361
 
362
- $result = $wpdb->get_row(
363
- $wpdb->prepare(
364
- "select * from {$wpdb->dokan_withdraw} where 1 = 1 {$where}",
365
- ...$formats
366
- ), ARRAY_A
367
- );
368
  }
369
 
370
  return $result ? new Withdraw( $result ) : null;
29
  public function is_valid_approval_request( $args ) {
30
  $user_id = $args['user_id'];
31
  $limit = $this->get_withdraw_limit();
32
+ $balance = wc_format_decimal( dokan_get_seller_balance( $user_id, false ), 2 );
33
+ $amount = wc_format_decimal( $args['amount'], 2 );
34
  $method = $args['method'];
35
 
36
  if ( empty( $amount ) ) {
42
  }
43
 
44
  if ( $amount < $limit ) {
45
+ // translators: %s: withdraw limit amount
46
  return new WP_Error( 'dokan_withdraw_amount', sprintf( __( 'Withdraw amount must be greater than %s', 'dokan-lite' ), wc_price( $limit ) ) );
47
  }
48
 
49
+ if ( ! in_array( $method, dokan_get_seller_active_withdraw_methods( $user_id ), true ) ) {
50
  return new WP_Error( 'dokan_withdraw_invalid_method', __( 'Withdraw method is not active.', 'dokan-lite' ) );
51
  }
52
 
316
  }
317
  }
318
 
319
+ /**
320
+ * @since DOKAN_LITE_SINCE
321
+ *
322
+ * @return int|null
323
+ */
324
+ public function get_total_withdraw_count() {
325
+ $withdraws = new Withdraws();
326
+ $count = $withdraws->get_total();
327
+ return (int) $count;
328
+ }
329
+
330
  /**
331
  * Get a single withdraw
332
  *
371
  $formats[] = $id[ $field ];
372
  }
373
 
374
+ $result = $wpdb->get_row( $wpdb->prepare( "select * from {$wpdb->dokan_withdraw} where 1 = 1 {$where}", ...$formats ), ARRAY_A ); // phpcs:ignore
 
 
 
 
 
375
  }
376
 
377
  return $result ? new Withdraw( $result ) : null;
includes/functions.php CHANGED
@@ -7,7 +7,7 @@
7
  * @return void
8
  */
9
  function dokan_admin_menu_position() {
10
- return apply_filters( 'dokan_menu_position', 17 );
11
  }
12
 
13
  /**
@@ -3692,7 +3692,7 @@ if ( ! function_exists( 'dokan_get_seller_status_count' ) ) {
3692
  function dokan_get_seller_status_count() {
3693
  $active_users = new WP_User_Query(
3694
  [
3695
- 'role' => 'seller',
3696
  'meta_key' => 'dokan_enable_selling',
3697
  'meta_value' => 'yes',
3698
  'fields' => 'ID',
@@ -3982,7 +3982,7 @@ function dokan_format_date( $date = '', $format = false ) {
3982
  }
3983
 
3984
  // if date is not timestamp, convert it to timestamp
3985
- if ( ! is_numeric( $date ) ) {
3986
  $date = dokan_current_datetime()->modify( $date )->getTimestamp();
3987
  }
3988
 
7
  * @return void
8
  */
9
  function dokan_admin_menu_position() {
10
+ return apply_filters( 'dokan_menu_position', 55.4 );
11
  }
12
 
13
  /**
3692
  function dokan_get_seller_status_count() {
3693
  $active_users = new WP_User_Query(
3694
  [
3695
+ 'role__in' => [ 'seller', 'administrator' ],
3696
  'meta_key' => 'dokan_enable_selling',
3697
  'meta_value' => 'yes',
3698
  'fields' => 'ID',
3982
  }
3983
 
3984
  // if date is not timestamp, convert it to timestamp
3985
+ if ( ! is_numeric( $date ) && strtotime( $date ) ) {
3986
  $date = dokan_current_datetime()->modify( $date )->getTimestamp();
3987
  }
3988
 
includes/template-tags.php CHANGED
@@ -298,7 +298,7 @@ function dokan_order_listing_status_filter() {
298
  </span>
299
  </a>
300
  </li>
301
- <li<?php echo $status_class === 'wc-canceled' ? ' class="active"' : ''; ?>>
302
  <?php
303
  if ( $order_date ) {
304
  $date_filter = array(
@@ -592,7 +592,6 @@ if ( ! function_exists( 'dokan_store_category_menu' ) ) :
592
  }
593
  }
594
  }
595
-
596
  // hold unique categoreis
597
  $categories = [];
598
  foreach ( $all_terms as $term ) {
298
  </span>
299
  </a>
300
  </li>
301
+ <li<?php echo $status_class === 'wc-cancelled' ? ' class="active"' : ''; ?>>
302
  <?php
303
  if ( $order_date ) {
304
  $date_filter = array(
592
  }
593
  }
594
  }
 
595
  // hold unique categoreis
596
  $categories = [];
597
  foreach ( $all_terms as $term ) {
includes/wc-functions.php CHANGED
@@ -31,6 +31,8 @@ function dokan_process_product_meta( $post_id, $data = [] ) {
31
 
32
  // Gallery Images
33
  if ( isset( $data['product_image_gallery'] ) ) {
 
 
34
  $attachment_ids = array_filter( explode( ',', wc_clean( $data['product_image_gallery'] ) ) );
35
  update_post_meta( $post_id, '_product_image_gallery', implode( ',', $attachment_ids ) );
36
  }
@@ -242,12 +244,10 @@ function dokan_process_product_meta( $post_id, $data = [] ) {
242
 
243
  // Dates
244
  update_post_meta( $post_id, '_sale_price_dates_from', $date_from ? strtotime( $date_from ) : '' );
245
-
246
- // error_log( var_export( date('y-m-d H:i:s'), true ) );
247
  update_post_meta( $post_id, '_sale_price_dates_to', $date_to ? strtotime( '+ 23 hours', strtotime( $date_to ) ) : '' );
248
 
249
  if ( $date_to && ! $date_from ) {
250
- $date_from = date( 'Y-m-d' );
251
  update_post_meta( $post_id, '_sale_price_dates_from', strtotime( $date_from ) );
252
  }
253
 
@@ -500,7 +500,7 @@ function dokan_seller_displayname( $display_name ) {
500
  return $display_name;
501
  }
502
 
503
- add_filter( 'pre_user_display_name', 'dokan_seller_displayname' );
504
 
505
  /**
506
  * Get featured products
@@ -1040,7 +1040,7 @@ add_action( 'woocommerce_product_tabs', 'dokan_set_more_from_seller_tab', 10 );
1040
  function dokan_get_more_products_from_seller( $seller_id = 0, $posts_per_page = 6 ) {
1041
  global $product, $post;
1042
 
1043
- if ( $seller_id === 0 ) {
1044
  $seller_id = $post->post_author;
1045
  }
1046
 
@@ -1170,3 +1170,24 @@ function dokan_add_reply_to_vendor_email_on_wc_customer_note_mail( $headers = ''
1170
  }
1171
 
1172
  add_filter( 'woocommerce_email_headers', 'dokan_add_reply_to_vendor_email_on_wc_customer_note_mail', 10, 3 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  // Gallery Images
33
  if ( isset( $data['product_image_gallery'] ) ) {
34
+ $data = apply_filters( 'dokan_restrict_product_image_gallery_on_edit', $data );
35
+
36
  $attachment_ids = array_filter( explode( ',', wc_clean( $data['product_image_gallery'] ) ) );
37
  update_post_meta( $post_id, '_product_image_gallery', implode( ',', $attachment_ids ) );
38
  }
244
 
245
  // Dates
246
  update_post_meta( $post_id, '_sale_price_dates_from', $date_from ? strtotime( $date_from ) : '' );
 
 
247
  update_post_meta( $post_id, '_sale_price_dates_to', $date_to ? strtotime( '+ 23 hours', strtotime( $date_to ) ) : '' );
248
 
249
  if ( $date_to && ! $date_from ) {
250
+ $date_from = date( 'Y-m-d' ); // phpcs:ignore
251
  update_post_meta( $post_id, '_sale_price_dates_from', strtotime( $date_from ) );
252
  }
253
 
500
  return $display_name;
501
  }
502
 
503
+ //add_filter( 'pre_user_display_name', 'dokan_seller_displayname' );
504
 
505
  /**
506
  * Get featured products
1040
  function dokan_get_more_products_from_seller( $seller_id = 0, $posts_per_page = 6 ) {
1041
  global $product, $post;
1042
 
1043
+ if ( $seller_id === 0 || 'more_seller_product' === $seller_id ) {
1044
  $seller_id = $post->post_author;
1045
  }
1046
 
1170
  }
1171
 
1172
  add_filter( 'woocommerce_email_headers', 'dokan_add_reply_to_vendor_email_on_wc_customer_note_mail', 10, 3 );
1173
+
1174
+ /**
1175
+ * Keep old vendor after duplicate any product
1176
+ *
1177
+ * @param object $duplicate
1178
+ * @param object $product
1179
+ *
1180
+ * @return void
1181
+ */
1182
+ function dokan_keep_old_vendor_woocommerce_duplicate_product( $duplicate, $product ) {
1183
+ $old_author = get_post_field( 'post_author', $product->get_id() );
1184
+ $new_author = get_post_field( 'post_author', $duplicate->get_id() );
1185
+
1186
+ if ( absint( $old_author ) === absint( $new_author ) ) {
1187
+ return;
1188
+ }
1189
+
1190
+ dokan_override_product_author( $duplicate, absint( $old_author ) );
1191
+ }
1192
+
1193
+ add_action( 'woocommerce_product_duplicate', 'dokan_keep_old_vendor_woocommerce_duplicate_product', 35, 2 );
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.1.2\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2021-01-12 12:20:58+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -51,8 +51,8 @@ msgid "Get Pro"
51
  msgstr ""
52
 
53
  #: dokan.php:444 includes/Admin/AdminBar.php:81 includes/Admin/Menu.php:64
54
- #: includes/Dashboard/Templates/Settings.php:58
55
- #: includes/Dashboard/Templates/Settings.php:62 includes/template-tags.php:409
56
  #: src/admin/pages/Settings.vue:6
57
  msgid "Settings"
58
  msgstr ""
@@ -77,12 +77,12 @@ msgid "Learn More &rarr;"
77
  msgstr ""
78
 
79
  #: includes/Abstracts/DokanPromotion.php:186
80
- #: includes/Admin/LimitedTimePromotion.php:171
81
  msgid "You have no permission to do that"
82
  msgstr ""
83
 
84
  #: includes/Abstracts/DokanPromotion.php:190
85
- #: includes/Admin/LimitedTimePromotion.php:175 includes/Admin/Settings.php:72
86
  #: includes/Admin/Settings.php:100
87
  msgid "Invalid nonce"
88
  msgstr ""
@@ -121,7 +121,7 @@ msgid "Dokan"
121
  msgstr ""
122
 
123
  #: includes/Admin/AdminBar.php:54 includes/Admin/Menu.php:43
124
- #: includes/Admin/Settings.php:484 includes/Install/Installer.php:157
125
  #: includes/template-tags.php:378 src/admin/pages/Dashboard.vue:5
126
  msgid "Dashboard"
127
  msgstr ""
@@ -143,7 +143,7 @@ msgstr ""
143
 
144
  #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
145
  #: includes/Admin/Hooks.php:357 includes/Admin/Hooks.php:379
146
- #: includes/Admin/Settings.php:395 includes/Admin/Settings.php:406
147
  #: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:93
148
  #: includes/wc-template.php:17 includes/wc-template.php:172
149
  #: includes/wc-template.php:321 src/admin/pages/Dashboard.vue:38
@@ -179,10 +179,6 @@ msgstr ""
179
  msgid "Toggle Sub-orders"
180
  msgstr ""
181
 
182
- #: includes/Admin/LimitedTimePromotion.php:85
183
- msgid "Get Deals &rarr;"
184
- msgstr ""
185
-
186
  #: includes/Admin/Menu.php:37
187
  msgid "Withdraw %s"
188
  msgstr ""
@@ -341,7 +337,7 @@ msgstr ""
341
  msgid "You have no permission to get settings value"
342
  msgstr ""
343
 
344
- #: includes/Admin/Settings.php:94 includes/Admin/Settings.php:690
345
  msgid "You are not authorized to perform this action."
346
  msgstr ""
347
 
@@ -365,7 +361,7 @@ msgstr ""
365
  msgid "Appearance"
366
  msgstr ""
367
 
368
- #: includes/Admin/Settings.php:288 includes/Admin/Settings.php:626
369
  msgid "Privacy Policy"
370
  msgstr ""
371
 
@@ -421,191 +417,196 @@ msgstr ""
421
  msgid "Enable Terms and Conditions for vendor stores"
422
  msgstr ""
423
 
424
- #: includes/Admin/Settings.php:367
 
 
 
 
 
425
  msgid "Commission"
426
  msgstr ""
427
 
428
- #: includes/Admin/Settings.php:372
429
  msgid "Commission Type "
430
  msgstr ""
431
 
432
- #: includes/Admin/Settings.php:373
433
  msgid "Select a commission type for Vendor"
434
  msgstr ""
435
 
436
- #: includes/Admin/Settings.php:380 src/admin/pages/VendorPaymentFields.vue:69
437
  #: src/admin/pages/VendorPaymentFields.vue:78
438
  #: templates/admin-setup-wizard/step-selling.php:31
439
  msgid "Admin Commission"
440
  msgstr ""
441
 
442
- #: includes/Admin/Settings.php:381
443
  msgid "Amount you get from each sale"
444
  msgstr ""
445
 
446
- #: includes/Admin/Settings.php:391
447
  #: templates/admin-setup-wizard/step-store.php:14
448
  msgid "Shipping Fee Recipient"
449
  msgstr ""
450
 
451
- #: includes/Admin/Settings.php:392
452
  msgid "Who will be receiving the Shipping fees"
453
  msgstr ""
454
 
455
- #: includes/Admin/Settings.php:396 includes/Admin/Settings.php:407
456
  #: includes/Admin/SetupWizard.php:346
457
  msgid "Admin"
458
  msgstr ""
459
 
460
- #: includes/Admin/Settings.php:402
461
  #: templates/admin-setup-wizard/step-store.php:28
462
  msgid "Tax Fee Recipient"
463
  msgstr ""
464
 
465
- #: includes/Admin/Settings.php:403
466
  msgid "Who will be receiving the Tax fees"
467
  msgstr ""
468
 
469
- #: includes/Admin/Settings.php:418
470
  msgid "Vendor Capability"
471
  msgstr ""
472
 
473
- #: includes/Admin/Settings.php:423
474
  msgid "New Vendor Product Upload"
475
  msgstr ""
476
 
477
- #: includes/Admin/Settings.php:424
478
  msgid "Allow newly registered vendors to add products"
479
  msgstr ""
480
 
481
- #: includes/Admin/Settings.php:430
482
  msgid "Disable Product Popup"
483
  msgstr ""
484
 
485
- #: includes/Admin/Settings.php:431
486
  msgid "Disable add new product in popup view"
487
  msgstr ""
488
 
489
- #: includes/Admin/Settings.php:437 src/admin/pages/VendorCapabilities.vue:89
490
  #: templates/admin-setup-wizard/step-selling.php:39
491
  msgid "Order Status Change"
492
  msgstr ""
493
 
494
- #: includes/Admin/Settings.php:438
495
- msgid "Allow/Disallow vendor to update order status"
496
  msgstr ""
497
 
498
- #: includes/Admin/Settings.php:457 includes/Admin/SetupWizard.php:465
499
  msgid "Withdraw Methods"
500
  msgstr ""
501
 
502
- #: includes/Admin/Settings.php:458
503
  msgid "Select suitable Withdraw methods for Vendors"
504
  msgstr ""
505
 
506
- #: includes/Admin/Settings.php:465 includes/Admin/SetupWizard.php:502
507
  msgid "Minimum Withdraw Limit"
508
  msgstr ""
509
 
510
- #: includes/Admin/Settings.php:466
511
  msgid ""
512
  "Minimum balance required to make a withdraw request. Leave blank to set no "
513
  "minimum limits."
514
  msgstr ""
515
 
516
- #: includes/Admin/Settings.php:475
517
  msgid "Exclude COD Payments"
518
  msgstr ""
519
 
520
- #: includes/Admin/Settings.php:476
521
  msgid ""
522
  "If an order is paid with Cash on Delivery (COD), then exclude that payment "
523
  "from vendor balance."
524
  msgstr ""
525
 
526
- #: includes/Admin/Settings.php:485
527
  msgid "Select a page to show Vendor Dashboard"
528
  msgstr ""
529
 
530
- #: includes/Admin/Settings.php:487 includes/Admin/Settings.php:495
531
- #: includes/Admin/Settings.php:503 includes/Admin/Settings.php:511
532
- #: includes/Admin/Settings.php:621
533
  msgid "Select page"
534
  msgstr ""
535
 
536
- #: includes/Admin/Settings.php:492 includes/Install/Installer.php:169
537
  #: templates/global/header-menu.php:46
538
  msgid "My Orders"
539
  msgstr ""
540
 
541
- #: includes/Admin/Settings.php:493
542
  msgid "Select a page to show My Orders"
543
  msgstr ""
544
 
545
- #: includes/Admin/Settings.php:500
546
  msgid "Store Listing"
547
  msgstr ""
548
 
549
- #: includes/Admin/Settings.php:501
550
  msgid "Select a page to show all Stores"
551
  msgstr ""
552
 
553
- #: includes/Admin/Settings.php:508
554
  msgid "Terms and Conditions Page"
555
  msgstr ""
556
 
557
- #: includes/Admin/Settings.php:514
558
  #. translators: %s: dokan pages
559
  msgid ""
560
  "Select where you want to add Dokan pages <a target=\"_blank\" href=\"%s\"> "
561
  "Learn More </a>"
562
  msgstr ""
563
 
564
- #: includes/Admin/Settings.php:520
565
  msgid "Show Map on Store Page"
566
  msgstr ""
567
 
568
- #: includes/Admin/Settings.php:521
569
  msgid "Enable Map of the Store Location in the store sidebar"
570
  msgstr ""
571
 
572
- #: includes/Admin/Settings.php:527
573
  #: templates/admin-setup-wizard/step-store.php:42
574
  msgid "Map API Source"
575
  msgstr ""
576
 
577
- #: includes/Admin/Settings.php:528
578
  #: templates/admin-setup-wizard/step-store.php:52
579
  msgid "Which Map API source you want to use in your site?"
580
  msgstr ""
581
 
582
- #: includes/Admin/Settings.php:533 includes/Admin/SetupWizard.php:359
583
  #: src/admin/pages/Premium.vue:388
584
  msgid "Google Maps"
585
  msgstr ""
586
 
587
- #: includes/Admin/Settings.php:534 includes/Admin/SetupWizard.php:360
588
  msgid "Mapbox"
589
  msgstr ""
590
 
591
- #: includes/Admin/Settings.php:544
592
  #: templates/admin-setup-wizard/step-store.php:56
593
  msgid "Google Map API Key"
594
  msgstr ""
595
 
596
- #: includes/Admin/Settings.php:545
597
  msgid ""
598
  "<a href=\"https://developers.google.com/maps/documentation/javascript/\" "
599
  "target=\"_blank\" rel=\"noopener noreferrer\">API Key</a> is needed to "
600
  "display map on store page"
601
  msgstr ""
602
 
603
- #: includes/Admin/Settings.php:555
604
  #: templates/admin-setup-wizard/step-store.php:71
605
  msgid "Mapbox Access Token"
606
  msgstr ""
607
 
608
- #: includes/Admin/Settings.php:556
609
  #: templates/admin-setup-wizard/step-store.php:75
610
  msgid ""
611
  "<a href=\"https://docs.mapbox.com/help/how-mapbox-works/access-tokens/\" "
@@ -613,81 +614,81 @@ msgid ""
613
  "display map on store page"
614
  msgstr ""
615
 
616
- #: includes/Admin/Settings.php:561
617
  msgid "Show Contact Form on Store Page"
618
  msgstr ""
619
 
620
- #: includes/Admin/Settings.php:562
621
  msgid "Display a vendor contact form in the store sidebar"
622
  msgstr ""
623
 
624
- #: includes/Admin/Settings.php:568
625
  msgid "Store Header Template"
626
  msgstr ""
627
 
628
- #: includes/Admin/Settings.php:580
629
  msgid "Store Opening Closing Time Widget"
630
  msgstr ""
631
 
632
- #: includes/Admin/Settings.php:581
633
  msgid "Enable store opening & closing time widget in the store sidebar"
634
  msgstr ""
635
 
636
- #: includes/Admin/Settings.php:587
637
  msgid "Enable Store Sidebar From Theme"
638
  msgstr ""
639
 
640
- #: includes/Admin/Settings.php:588
641
  msgid "Enable showing Store Sidebar From Your Theme."
642
  msgstr ""
643
 
644
- #: includes/Admin/Settings.php:594
645
  msgid "Hide Vendor Info"
646
  msgstr ""
647
 
648
- #: includes/Admin/Settings.php:602
649
  msgid "Email Address"
650
  msgstr ""
651
 
652
- #: includes/Admin/Settings.php:603 includes/Admin/UserProfile.php:211
653
  #: src/admin/pages/VendorAccountFields.vue:64
654
  #: templates/account/vendor-registration.php:33
655
- #: templates/global/seller-registration-form.php:38
656
  msgid "Phone Number"
657
  msgstr ""
658
 
659
- #: includes/Admin/Settings.php:604
660
  msgid "Store Address"
661
  msgstr ""
662
 
663
- #: includes/Admin/Settings.php:611
664
  msgid "Enable Privacy Policy"
665
  msgstr ""
666
 
667
- #: includes/Admin/Settings.php:613
668
  msgid "Enable privacy policy for Vendor store contact form"
669
  msgstr ""
670
 
671
- #: includes/Admin/Settings.php:618
672
  msgid "Privacy Page"
673
  msgstr ""
674
 
675
- #: includes/Admin/Settings.php:620
676
  msgid "Select a page to show your privacy policy"
677
  msgstr ""
678
 
679
- #: includes/Admin/Settings.php:629 includes/functions.php:3530
680
  msgid ""
681
  "Your personal data will be used to support your experience throughout this "
682
  "website, to manage access to your account, and for other purposes described "
683
  "in our [dokan_privacy_policy]"
684
  msgstr ""
685
 
686
- #: includes/Admin/Settings.php:702
687
  msgid "Both section and field params are required."
688
  msgstr ""
689
 
690
- #: includes/Admin/Settings.php:711
691
  msgid "No filter found to refresh the setting options"
692
  msgstr ""
693
 
@@ -1140,14 +1141,14 @@ msgstr ""
1140
  msgid "Something wrong, please try again later"
1141
  msgstr ""
1142
 
1143
- #: includes/Ajax.php:112 includes/Dashboard/Templates/Settings.php:211
1144
- #: includes/Dashboard/Templates/Settings.php:225
1145
- #: includes/Dashboard/Templates/Settings.php:237
1146
- #: includes/Dashboard/Templates/Settings.php:249
1147
- #: includes/Dashboard/Templates/Settings.php:286
1148
- #: includes/Dashboard/Templates/Settings.php:352
1149
- #: includes/Dashboard/Templates/Settings.php:393
1150
- #: includes/Dashboard/Templates/Settings.php:443
1151
  #: includes/Dashboard/Templates/Withdraw.php:106
1152
  #: includes/Dashboard/Templates/Withdraw.php:171
1153
  msgid "Are you cheating?"
@@ -1182,7 +1183,7 @@ msgstr ""
1182
  msgid "Something went wrong!"
1183
  msgstr ""
1184
 
1185
- #: includes/Ajax.php:350 includes/REST/StoreController.php:810
1186
  msgid "Email sent successfully!"
1187
  msgstr ""
1188
 
@@ -1429,33 +1430,33 @@ msgstr ""
1429
  msgid "Please insert value less than the regular price!"
1430
  msgstr ""
1431
 
1432
- #: includes/Assets.php:666 includes/Assets.php:833
1433
  #. translators: %s: decimal
1434
  msgid "Please enter with one decimal point (%s) without thousand separators."
1435
  msgstr ""
1436
 
1437
- #: includes/Assets.php:668 includes/Assets.php:835
1438
  #. translators: %s: price decimal separator
1439
  msgid ""
1440
  "Please enter with one monetary decimal point (%s) without thousand "
1441
  "separators and currency symbols."
1442
  msgstr ""
1443
 
1444
- #: includes/Assets.php:669 includes/Assets.php:836
1445
  msgid "Please enter in country code with two capital letters."
1446
  msgstr ""
1447
 
1448
- #: includes/Assets.php:670 includes/Assets.php:837
1449
  msgid "Please enter in a value less than the regular price."
1450
  msgstr ""
1451
 
1452
- #: includes/Assets.php:671 includes/Assets.php:838
1453
  msgid ""
1454
  "This product has produced sales and may be linked to existing orders. Are "
1455
  "you sure you want to delete it?"
1456
  msgstr ""
1457
 
1458
- #: includes/Assets.php:672 includes/Assets.php:839
1459
  msgid ""
1460
  "This action cannot be reversed. Are you sure you wish to erase personal "
1461
  "data from the selected orders?"
@@ -1525,6 +1526,12 @@ msgstr ""
1525
  msgid "Searching&hellip;"
1526
  msgstr ""
1527
 
 
 
 
 
 
 
1528
  #: includes/Commission.php:97
1529
  msgid "Payment gateway processing fee %s"
1530
  msgstr ""
@@ -1643,8 +1650,8 @@ msgid "You have no permission to view this order"
1643
  msgstr ""
1644
 
1645
  #: includes/Dashboard/Templates/Products.php:184
1646
- #: includes/Dashboard/Templates/Settings.php:141
1647
- #: includes/Dashboard/Templates/Settings.php:152
1648
  #: includes/Shortcodes/Dashboard.php:29 templates/global/no-permission.php:53
1649
  msgid "You have no permission to view this page"
1650
  msgstr ""
@@ -1690,61 +1697,61 @@ msgstr ""
1690
  msgid "I swear this is not your product!"
1691
  msgstr ""
1692
 
1693
- #: includes/Dashboard/Templates/Settings.php:60
1694
  msgid "Payment Settings"
1695
  msgstr ""
1696
 
1697
- #: includes/Dashboard/Templates/Settings.php:81
1698
  msgid ""
1699
  "These are the withdraw methods available for you. Please update your "
1700
  "payment information below to submit withdraw requests and get your store "
1701
  "payments seamlessly."
1702
  msgstr ""
1703
 
1704
- #: includes/Dashboard/Templates/Settings.php:221
1705
  msgid "Pemission denied social"
1706
  msgstr ""
1707
 
1708
- #: includes/Dashboard/Templates/Settings.php:233
1709
- #: includes/Dashboard/Templates/Settings.php:245
1710
  msgid "Pemission denied"
1711
  msgstr ""
1712
 
1713
- #: includes/Dashboard/Templates/Settings.php:263
1714
  msgid "Your information has been saved successfully"
1715
  msgstr ""
1716
 
1717
- #: includes/Dashboard/Templates/Settings.php:294
1718
- #: includes/Dashboard/Templates/Settings.php:401
1719
  msgid "Store name required"
1720
  msgstr ""
1721
 
1722
- #: includes/Dashboard/Templates/Settings.php:300
1723
- #: includes/Dashboard/Templates/Settings.php:360
1724
- #: includes/Dashboard/Templates/Settings.php:407
1725
  msgid "Store type required"
1726
  msgstr ""
1727
 
1728
- #: includes/Dashboard/Templates/Settings.php:308
1729
- #: includes/Dashboard/Templates/Settings.php:368
1730
- #: includes/Dashboard/Templates/Settings.php:415
1731
- #: includes/Dashboard/Templates/Settings.php:452
1732
  msgid "Invalid email"
1733
  msgstr ""
1734
 
1735
- #: includes/Dashboard/Templates/Settings.php:327
1736
  msgid "Address field for %s is required"
1737
  msgstr ""
1738
 
1739
- #: includes/Dashboard/Templates/Settings.php:604
1740
  msgid "Book"
1741
  msgstr ""
1742
 
1743
- #: includes/Dashboard/Templates/Settings.php:605
1744
  msgid "Dress"
1745
  msgstr ""
1746
 
1747
- #: includes/Dashboard/Templates/Settings.php:606
1748
  msgid "Electronic"
1749
  msgstr ""
1750
 
@@ -2620,7 +2627,7 @@ msgstr ""
2620
  #: includes/Product/functions.php:163 templates/my-orders.php:29
2621
  #: templates/orders/listing.php:54 templates/orders/listing.php:86
2622
  #: templates/products/products-listing-row.php:55
2623
- #: templates/products/products-listing.php:89 templates/sub-orders.php:27
2624
  #: templates/withdraw/pending-request-listing.php:18
2625
  msgid "Status"
2626
  msgstr ""
@@ -2679,7 +2686,7 @@ msgstr ""
2679
 
2680
  #: includes/Product/functions.php:179
2681
  #: templates/products/products-listing-row.php:70
2682
- #: templates/products/products-listing.php:94
2683
  msgid "Stock"
2684
  msgstr ""
2685
 
@@ -2733,7 +2740,7 @@ msgstr ""
2733
  #: templates/orders/details.php:203
2734
  #: templates/products/new-product-single.php:217
2735
  #: templates/products/new-product.php:167
2736
- #: templates/products/tmpl-add-product-popup.php:68
2737
  #: templates/store-lists-filter.php:83
2738
  #: templates/withdraw/pending-request-listing.php:17
2739
  #: templates/withdraw/pending-request-listing.php:35
@@ -3784,36 +3791,36 @@ msgstr ""
3784
  msgid "Status for the store object."
3785
  msgstr ""
3786
 
3787
- #: includes/REST/StoreController.php:288 includes/REST/StoreController.php:359
3788
- #: includes/REST/StoreController.php:517
3789
  msgid "No store found"
3790
  msgstr ""
3791
 
3792
- #: includes/REST/StoreController.php:311 includes/REST/StoreController.php:835
3793
  msgid "No vendor found for updating status"
3794
  msgstr ""
3795
 
3796
- #: includes/REST/StoreController.php:316
3797
  msgid "Invalid user ID for reassignment."
3798
  msgstr ""
3799
 
3800
- #: includes/REST/StoreController.php:535 includes/REST/StoreController.php:554
3801
  msgid "No reviews found"
3802
  msgstr ""
3803
 
3804
- #: includes/REST/StoreController.php:739
3805
  msgid "This email address is not valid"
3806
  msgstr ""
3807
 
3808
- #: includes/REST/StoreController.php:782
3809
  msgid "No vendor is found to be send an email."
3810
  msgstr ""
3811
 
3812
- #: includes/REST/StoreController.php:829
3813
  msgid "Status parameter must be active or inactive"
3814
  msgstr ""
3815
 
3816
- #: includes/REST/StoreController.php:863
3817
  msgid "No items found for bulk updating"
3818
  msgstr ""
3819
 
@@ -3941,11 +3948,11 @@ msgstr ""
3941
  msgid "Upgrading db fields error: "
3942
  msgstr ""
3943
 
3944
- #: includes/Vendor/Manager.php:189
3945
  msgid "Unable to create vendor"
3946
  msgstr ""
3947
 
3948
- #: includes/Vendor/Manager.php:273
3949
  msgid "Email is not valid"
3950
  msgstr ""
3951
 
@@ -3979,10 +3986,6 @@ msgstr ""
3979
  msgid "Store Setup"
3980
  msgstr ""
3981
 
3982
- #: includes/Vendor/SetupWizard.php:185 templates/settings/store-form.php:125
3983
- msgid "Store Product Per Page"
3984
- msgstr ""
3985
-
3986
  #: includes/Vendor/SetupWizard.php:191
3987
  msgid "Street"
3988
  msgstr ""
@@ -4081,25 +4084,25 @@ msgstr ""
4081
  msgid "Switched back to %1$s (%2$s)."
4082
  msgstr ""
4083
 
4084
- #: includes/Vendor/Vendor.php:707
4085
  msgid "No ratings found yet!"
4086
  msgstr ""
4087
 
4088
- #: includes/Vendor/Vendor.php:709
4089
  msgid "%s rating from %d review"
4090
  msgid_plural "%s rating from %d reviews"
4091
  msgstr[0] ""
4092
  msgstr[1] ""
4093
 
4094
- #: includes/Vendor/Vendor.php:710
4095
  msgid "Rated %s out of %d"
4096
  msgstr ""
4097
 
4098
- #: includes/Vendor/Vendor.php:839 templates/settings/store-form.php:281
4099
  msgid "Store is open"
4100
  msgstr ""
4101
 
4102
- #: includes/Vendor/Vendor.php:853 templates/settings/store-form.php:289
4103
  msgid "Store is closed"
4104
  msgstr ""
4105
 
@@ -4148,7 +4151,7 @@ msgid "Dokan: Store Category Menu"
4148
  msgstr ""
4149
 
4150
  #: includes/Widgets/StoreCategoryMenu.php:36
4151
- #: includes/Widgets/StoreCategoryMenu.php:80 includes/template-tags.php:713
4152
  msgid "Store Product Category"
4153
  msgstr ""
4154
 
@@ -4161,7 +4164,7 @@ msgid "Dokan: Store Contact Form"
4161
  msgstr ""
4162
 
4163
  #: includes/Widgets/StoreContactForm.php:42
4164
- #: includes/Widgets/StoreContactForm.php:119 includes/template-tags.php:752
4165
  msgid "Contact Vendor"
4166
  msgstr ""
4167
 
@@ -4174,7 +4177,7 @@ msgid "Dokan: Store Location"
4174
  msgstr ""
4175
 
4176
  #: includes/Widgets/StoreLocation.php:42 includes/Widgets/StoreLocation.php:103
4177
- #: includes/template-tags.php:726
4178
  msgid "Store Location"
4179
  msgstr ""
4180
 
@@ -4187,7 +4190,7 @@ msgid "Dokan: Store Opening Closing Time Widget"
4187
  msgstr ""
4188
 
4189
  #: includes/Widgets/StoreOpenClose.php:41
4190
- #: includes/Widgets/StoreOpenClose.php:111 includes/template-tags.php:739
4191
  msgid "Store Time"
4192
  msgstr ""
4193
 
@@ -4211,35 +4214,36 @@ msgstr ""
4211
  msgid "You don't have enough balance for this request"
4212
  msgstr ""
4213
 
4214
- #: includes/Withdraw/Manager.php:45
 
4215
  msgid "Withdraw amount must be greater than %s"
4216
  msgstr ""
4217
 
4218
- #: includes/Withdraw/Manager.php:49
4219
  msgid "Withdraw method is not active."
4220
  msgstr ""
4221
 
4222
- #: includes/Withdraw/Manager.php:53
4223
  msgid "Vendor is not enabled for selling, please contact site admin"
4224
  msgstr ""
4225
 
4226
- #: includes/Withdraw/Manager.php:57
4227
  msgid "Withdraw is already approved."
4228
  msgstr ""
4229
 
4230
- #: includes/Withdraw/Manager.php:94
4231
  msgid "Invalid permission to cancel the request."
4232
  msgstr ""
4233
 
4234
- #: includes/Withdraw/Manager.php:100
4235
  msgid "Invalid cancel withdraw request"
4236
  msgstr ""
4237
 
4238
- #: includes/Withdraw/Manager.php:140
4239
  msgid "Could not update withdraw status"
4240
  msgstr ""
4241
 
4242
- #: includes/Withdraw/Manager.php:173
4243
  msgid "Could not add new withdraw approval request."
4244
  msgstr ""
4245
 
@@ -4695,11 +4699,11 @@ msgid "Sales"
4695
  msgstr ""
4696
 
4697
  #: includes/template-tags.php:115 includes/template-tags.php:119
4698
- #: templates/store-lists-loop.php:104
4699
  msgid "&larr; Previous"
4700
  msgstr ""
4701
 
4702
- #: includes/template-tags.php:131 templates/store-lists-loop.php:105
4703
  msgid "Next &rarr;"
4704
  msgstr ""
4705
 
@@ -4752,8 +4756,8 @@ msgstr ""
4752
  msgid "Back to Dashboard"
4753
  msgstr ""
4754
 
4755
- #: includes/template-tags.php:547 templates/settings/header.php:13
4756
- #: templates/store-lists-loop.php:80
4757
  msgid "Visit Store"
4758
  msgstr ""
4759
 
@@ -4765,7 +4769,7 @@ msgstr ""
4765
  msgid "Log out"
4766
  msgstr ""
4767
 
4768
- #: includes/wc-functions.php:102
4769
  msgid "Product SKU must be unique"
4770
  msgstr ""
4771
 
@@ -4780,14 +4784,14 @@ msgstr ""
4780
  #: includes/wc-functions.php:876 src/admin/pages/VendorAccountFields.vue:33
4781
  #: src/admin/pages/VendorAccountFields.vue:34
4782
  #: templates/account/vendor-registration.php:9
4783
- #: templates/global/seller-registration-form.php:15
4784
  msgid "First Name"
4785
  msgstr ""
4786
 
4787
  #: includes/wc-functions.php:877 src/admin/pages/VendorAccountFields.vue:38
4788
  #: src/admin/pages/VendorAccountFields.vue:39
4789
  #: templates/account/vendor-registration.php:14
4790
- #: templates/global/seller-registration-form.php:20
4791
  msgid "Last Name"
4792
  msgstr ""
4793
 
@@ -4992,7 +4996,7 @@ msgid "Loading"
4992
  msgstr ""
4993
 
4994
  #: src/admin/main.js:24 templates/orders/listing.php:30
4995
- #: templates/products/products-listing.php:67
4996
  msgid "Select bulk action"
4997
  msgstr ""
4998
 
@@ -5001,7 +5005,7 @@ msgid "items"
5001
  msgstr ""
5002
 
5003
  #: src/admin/main.js:27 templates/orders/listing.php:41
5004
- #: templates/products/products-listing.php:78
5005
  #: templates/store-lists-filter.php:84
5006
  msgid "Apply"
5007
  msgstr ""
@@ -5834,17 +5838,17 @@ msgid "Anti-spam"
5834
  msgstr ""
5835
 
5836
  #: templates/account/vendor-registration.php:47
5837
- #: templates/global/seller-registration-form.php:26
5838
  msgid "Shop Name"
5839
  msgstr ""
5840
 
5841
  #: templates/account/vendor-registration.php:52
5842
- #: templates/global/seller-registration-form.php:31
5843
  msgid "Shop URL"
5844
  msgstr ""
5845
 
5846
  #: templates/account/vendor-registration.php:67
5847
- #: templates/global/seller-registration-form.php:49
5848
  msgid ""
5849
  "I have read and agree to the <a target=\"_blank\" href=\"%s\">Terms &amp; "
5850
  "Conditions</a>."
@@ -6066,7 +6070,7 @@ msgstr ""
6066
  #: templates/dashboard/big-counter-widget.php:21
6067
  #: templates/orders/listing.php:53 templates/orders/listing.php:83
6068
  #: templates/products/products-listing-row.php:88
6069
- #: templates/products/products-listing.php:96
6070
  msgid "Earning"
6071
  msgstr ""
6072
 
@@ -6297,8 +6301,8 @@ msgstr ""
6297
  #: templates/products/new-product-single.php:195
6298
  #: templates/products/new-product.php:156
6299
  #: templates/products/products-listing-row.php:79
6300
- #: templates/products/products-listing.php:95
6301
- #: templates/products/tmpl-add-product-popup.php:57
6302
  msgid "Price"
6303
  msgstr ""
6304
 
@@ -6387,11 +6391,11 @@ msgstr ""
6387
  msgid "Address:"
6388
  msgstr ""
6389
 
6390
- #: templates/global/seller-registration-form.php:62
6391
  msgid "I am a customer"
6392
  msgstr ""
6393
 
6394
- #: templates/global/seller-registration-form.php:67
6395
  msgid "I am a vendor"
6396
  msgstr ""
6397
 
@@ -6430,7 +6434,7 @@ msgstr ""
6430
  #: templates/my-orders.php:28 templates/orders/listing.php:56
6431
  #: templates/orders/listing.php:111
6432
  #: templates/products/products-listing-row.php:124
6433
- #: templates/products/products-listing.php:99 templates/sub-orders.php:26
6434
  #: templates/withdraw/approved-request-listing.php:16
6435
  #: templates/withdraw/cancelled-request-listing.php:16
6436
  #: templates/withdraw/pending-request-listing.php:16
@@ -6734,7 +6738,7 @@ msgstr ""
6734
 
6735
  #: templates/products/downloadable.php:35
6736
  #: templates/products/products-listing-row.php:40
6737
- #: templates/products/products-listing.php:88
6738
  msgid "Name"
6739
  msgstr ""
6740
 
@@ -6774,7 +6778,7 @@ msgstr ""
6774
 
6775
  #: templates/products/inventory.php:14
6776
  #: templates/products/products-listing-row.php:61
6777
- #: templates/products/products-listing.php:93
6778
  msgid "SKU"
6779
  msgstr ""
6780
 
@@ -6833,7 +6837,7 @@ msgstr ""
6833
  #: templates/products/listing-filter.php:23
6834
  #: templates/products/new-product-single.php:266
6835
  #: templates/products/new-product.php:204
6836
- #: templates/products/tmpl-add-product-popup.php:102
6837
  msgid "- Select a category -"
6838
  msgstr ""
6839
 
@@ -6876,7 +6880,7 @@ msgstr ""
6876
 
6877
  #: templates/products/new-product-single.php:165
6878
  #: templates/products/new-product.php:150
6879
- #: templates/products/tmpl-add-product-popup.php:51
6880
  msgid "Product name.."
6881
  msgstr ""
6882
 
@@ -6905,13 +6909,13 @@ msgstr ""
6905
 
6906
  #: templates/products/new-product-single.php:215
6907
  #: templates/products/new-product.php:165
6908
- #: templates/products/tmpl-add-product-popup.php:66
6909
  msgid "Discounted Price"
6910
  msgstr ""
6911
 
6912
  #: templates/products/new-product-single.php:216
6913
  #: templates/products/new-product.php:166
6914
- #: templates/products/tmpl-add-product-popup.php:67
6915
  msgid "Schedule"
6916
  msgstr ""
6917
 
@@ -6921,7 +6925,7 @@ msgstr ""
6921
 
6922
  #: templates/products/new-product-single.php:236
6923
  #: templates/products/new-product.php:180
6924
- #: templates/products/tmpl-add-product-popup.php:81
6925
  msgid "From"
6926
  msgstr ""
6927
 
@@ -6929,14 +6933,14 @@ msgstr ""
6929
  #: templates/products/new-product-single.php:244
6930
  #: templates/products/new-product.php:181
6931
  #: templates/products/new-product.php:188
6932
- #: templates/products/tmpl-add-product-popup.php:82
6933
- #: templates/products/tmpl-add-product-popup.php:89
6934
  msgid "YYYY-MM-DD"
6935
  msgstr ""
6936
 
6937
  #: templates/products/new-product-single.php:243
6938
  #: templates/products/new-product.php:187
6939
- #: templates/products/tmpl-add-product-popup.php:88
6940
  msgid "To"
6941
  msgstr ""
6942
 
@@ -6951,19 +6955,19 @@ msgstr ""
6951
 
6952
  #: templates/products/new-product-single.php:307
6953
  #: templates/products/new-product.php:243
6954
- #: templates/products/tmpl-add-product-popup.php:137
6955
  msgid "Select product category"
6956
  msgstr ""
6957
 
6958
  #: templates/products/new-product-single.php:313
6959
  #: templates/products/new-product.php:249
6960
- #: templates/products/tmpl-add-product-popup.php:143
6961
  msgid "Tags"
6962
  msgstr ""
6963
 
6964
  #: templates/products/new-product-single.php:322
6965
  #: templates/products/new-product.php:250
6966
- #: templates/products/tmpl-add-product-popup.php:144
6967
  msgid "Select tags"
6968
  msgstr ""
6969
 
@@ -6972,28 +6976,28 @@ msgstr ""
6972
  msgid "Upload a product cover image"
6973
  msgstr ""
6974
 
6975
- #: templates/products/new-product-single.php:385
6976
  #: templates/products/new-product.php:131
6977
  msgid "Delete image"
6978
  msgstr ""
6979
 
6980
- #: templates/products/new-product-single.php:391
6981
  #: templates/products/new-product.php:138
6982
- #: templates/products/tmpl-add-product-popup.php:38
6983
  msgid "Add gallery image"
6984
  msgstr ""
6985
 
6986
- #: templates/products/new-product-single.php:405
6987
  msgid "Short Description"
6988
  msgstr ""
6989
 
6990
- #: templates/products/new-product-single.php:410
6991
  #: templates/products/new-product.php:258
6992
  msgid "Description"
6993
  msgstr ""
6994
 
6995
- #: templates/products/new-product-single.php:426
6996
  #: templates/products/new-product-single.php:427
 
6997
  msgid "Save Product"
6998
  msgstr ""
6999
 
@@ -7059,12 +7063,12 @@ msgid "Enable product reviews"
7059
  msgstr ""
7060
 
7061
  #: templates/products/products-listing-row.php:33
7062
- #: templates/products/products-listing.php:87
7063
  msgid "Image"
7064
  msgstr ""
7065
 
7066
  #: templates/products/products-listing-row.php:99
7067
- #: templates/products/products-listing.php:97
7068
  msgid "Type"
7069
  msgstr ""
7070
 
@@ -7085,7 +7089,7 @@ msgid "Variable"
7085
  msgstr ""
7086
 
7087
  #: templates/products/products-listing-row.php:121
7088
- #: templates/products/products-listing.php:98
7089
  msgid "Views"
7090
  msgstr ""
7091
 
@@ -7109,31 +7113,40 @@ msgstr ""
7109
  msgid "Last Modified"
7110
  msgstr ""
7111
 
7112
- #: templates/products/products-listing.php:46
 
7113
  msgid "Add new product"
7114
  msgstr ""
7115
 
7116
- #: templates/products/products-listing.php:171
7117
  msgid "No product found"
7118
  msgstr ""
7119
 
7120
- #: templates/products/products-listing.php:195
7121
  msgid "&laquo; Previous"
7122
  msgstr ""
7123
 
7124
- #: templates/products/products-listing.php:196
7125
  msgid "Next &raquo;"
7126
  msgstr ""
7127
 
7128
- #: templates/products/tmpl-add-product-popup.php:150
 
 
 
 
 
 
 
 
7129
  msgid "Enter some short description about this product..."
7130
  msgstr ""
7131
 
7132
- #: templates/products/tmpl-add-product-popup.php:157
7133
  msgid "Create product"
7134
  msgstr ""
7135
 
7136
- #: templates/products/tmpl-add-product-popup.php:158
7137
  msgid "Create & add new"
7138
  msgstr ""
7139
 
@@ -7181,7 +7194,8 @@ msgstr ""
7181
  msgid "State "
7182
  msgstr ""
7183
 
7184
- #: templates/settings/payment.php:45 templates/settings/store-form.php:299
 
7185
  msgid "Update Settings"
7186
  msgstr ""
7187
 
@@ -7241,7 +7255,7 @@ msgstr ""
7241
  msgid "Show store opening closing time widget in store page"
7242
  msgstr ""
7243
 
7244
- #: templates/settings/store-form.php:261
7245
  msgid "Open"
7246
  msgstr ""
7247
 
@@ -7271,19 +7285,31 @@ msgstr[1] ""
7271
  msgid "Sort by"
7272
  msgstr ""
7273
 
7274
- #: templates/store-lists-loop.php:33
7275
  msgid "Featured"
7276
  msgstr ""
7277
 
7278
- #: templates/store-lists-loop.php:43
 
 
 
 
 
 
 
 
 
 
 
 
7279
  msgid "Rated %s out of 5"
7280
  msgstr ""
7281
 
7282
- #: templates/store-lists-loop.php:46
7283
  msgid "%s out of 5"
7284
  msgstr ""
7285
 
7286
- #: templates/store-lists-loop.php:131
7287
  msgid "No vendor found!"
7288
  msgstr ""
7289
 
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Dokan 3.2.0\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2021-01-29 11:32:18+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
51
  msgstr ""
52
 
53
  #: dokan.php:444 includes/Admin/AdminBar.php:81 includes/Admin/Menu.php:64
54
+ #: includes/Dashboard/Templates/Settings.php:59
55
+ #: includes/Dashboard/Templates/Settings.php:64 includes/template-tags.php:409
56
  #: src/admin/pages/Settings.vue:6
57
  msgid "Settings"
58
  msgstr ""
77
  msgstr ""
78
 
79
  #: includes/Abstracts/DokanPromotion.php:186
80
+ #: includes/Admin/LimitedTimePromotion.php:200
81
  msgid "You have no permission to do that"
82
  msgstr ""
83
 
84
  #: includes/Abstracts/DokanPromotion.php:190
85
+ #: includes/Admin/LimitedTimePromotion.php:204 includes/Admin/Settings.php:72
86
  #: includes/Admin/Settings.php:100
87
  msgid "Invalid nonce"
88
  msgstr ""
121
  msgstr ""
122
 
123
  #: includes/Admin/AdminBar.php:54 includes/Admin/Menu.php:43
124
+ #: includes/Admin/Settings.php:490 includes/Install/Installer.php:157
125
  #: includes/template-tags.php:378 src/admin/pages/Dashboard.vue:5
126
  msgid "Dashboard"
127
  msgstr ""
143
 
144
  #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
145
  #: includes/Admin/Hooks.php:357 includes/Admin/Hooks.php:379
146
+ #: includes/Admin/Settings.php:401 includes/Admin/Settings.php:412
147
  #: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:93
148
  #: includes/wc-template.php:17 includes/wc-template.php:172
149
  #: includes/wc-template.php:321 src/admin/pages/Dashboard.vue:38
179
  msgid "Toggle Sub-orders"
180
  msgstr ""
181
 
 
 
 
 
182
  #: includes/Admin/Menu.php:37
183
  msgid "Withdraw %s"
184
  msgstr ""
337
  msgid "You have no permission to get settings value"
338
  msgstr ""
339
 
340
+ #: includes/Admin/Settings.php:94 includes/Admin/Settings.php:696
341
  msgid "You are not authorized to perform this action."
342
  msgstr ""
343
 
361
  msgid "Appearance"
362
  msgstr ""
363
 
364
+ #: includes/Admin/Settings.php:288 includes/Admin/Settings.php:632
365
  msgid "Privacy Policy"
366
  msgstr ""
367
 
417
  msgid "Enable Terms and Conditions for vendor stores"
418
  msgstr ""
419
 
420
+ #: includes/Admin/Settings.php:362 includes/Vendor/SetupWizard.php:185
421
+ #: templates/settings/store-form.php:125
422
+ msgid "Store Products Per Page"
423
+ msgstr ""
424
+
425
+ #: includes/Admin/Settings.php:373
426
  msgid "Commission"
427
  msgstr ""
428
 
429
+ #: includes/Admin/Settings.php:378
430
  msgid "Commission Type "
431
  msgstr ""
432
 
433
+ #: includes/Admin/Settings.php:379
434
  msgid "Select a commission type for Vendor"
435
  msgstr ""
436
 
437
+ #: includes/Admin/Settings.php:386 src/admin/pages/VendorPaymentFields.vue:69
438
  #: src/admin/pages/VendorPaymentFields.vue:78
439
  #: templates/admin-setup-wizard/step-selling.php:31
440
  msgid "Admin Commission"
441
  msgstr ""
442
 
443
+ #: includes/Admin/Settings.php:387
444
  msgid "Amount you get from each sale"
445
  msgstr ""
446
 
447
+ #: includes/Admin/Settings.php:397
448
  #: templates/admin-setup-wizard/step-store.php:14
449
  msgid "Shipping Fee Recipient"
450
  msgstr ""
451
 
452
+ #: includes/Admin/Settings.php:398
453
  msgid "Who will be receiving the Shipping fees"
454
  msgstr ""
455
 
456
+ #: includes/Admin/Settings.php:402 includes/Admin/Settings.php:413
457
  #: includes/Admin/SetupWizard.php:346
458
  msgid "Admin"
459
  msgstr ""
460
 
461
+ #: includes/Admin/Settings.php:408
462
  #: templates/admin-setup-wizard/step-store.php:28
463
  msgid "Tax Fee Recipient"
464
  msgstr ""
465
 
466
+ #: includes/Admin/Settings.php:409
467
  msgid "Who will be receiving the Tax fees"
468
  msgstr ""
469
 
470
+ #: includes/Admin/Settings.php:424
471
  msgid "Vendor Capability"
472
  msgstr ""
473
 
474
+ #: includes/Admin/Settings.php:429
475
  msgid "New Vendor Product Upload"
476
  msgstr ""
477
 
478
+ #: includes/Admin/Settings.php:430
479
  msgid "Allow newly registered vendors to add products"
480
  msgstr ""
481
 
482
+ #: includes/Admin/Settings.php:436
483
  msgid "Disable Product Popup"
484
  msgstr ""
485
 
486
+ #: includes/Admin/Settings.php:437
487
  msgid "Disable add new product in popup view"
488
  msgstr ""
489
 
490
+ #: includes/Admin/Settings.php:443 src/admin/pages/VendorCapabilities.vue:89
491
  #: templates/admin-setup-wizard/step-selling.php:39
492
  msgid "Order Status Change"
493
  msgstr ""
494
 
495
+ #: includes/Admin/Settings.php:444
496
+ msgid "Allow vendor to update order status"
497
  msgstr ""
498
 
499
+ #: includes/Admin/Settings.php:463 includes/Admin/SetupWizard.php:465
500
  msgid "Withdraw Methods"
501
  msgstr ""
502
 
503
+ #: includes/Admin/Settings.php:464
504
  msgid "Select suitable Withdraw methods for Vendors"
505
  msgstr ""
506
 
507
+ #: includes/Admin/Settings.php:471 includes/Admin/SetupWizard.php:502
508
  msgid "Minimum Withdraw Limit"
509
  msgstr ""
510
 
511
+ #: includes/Admin/Settings.php:472
512
  msgid ""
513
  "Minimum balance required to make a withdraw request. Leave blank to set no "
514
  "minimum limits."
515
  msgstr ""
516
 
517
+ #: includes/Admin/Settings.php:481
518
  msgid "Exclude COD Payments"
519
  msgstr ""
520
 
521
+ #: includes/Admin/Settings.php:482
522
  msgid ""
523
  "If an order is paid with Cash on Delivery (COD), then exclude that payment "
524
  "from vendor balance."
525
  msgstr ""
526
 
527
+ #: includes/Admin/Settings.php:491
528
  msgid "Select a page to show Vendor Dashboard"
529
  msgstr ""
530
 
531
+ #: includes/Admin/Settings.php:493 includes/Admin/Settings.php:501
532
+ #: includes/Admin/Settings.php:509 includes/Admin/Settings.php:517
533
+ #: includes/Admin/Settings.php:627
534
  msgid "Select page"
535
  msgstr ""
536
 
537
+ #: includes/Admin/Settings.php:498 includes/Install/Installer.php:169
538
  #: templates/global/header-menu.php:46
539
  msgid "My Orders"
540
  msgstr ""
541
 
542
+ #: includes/Admin/Settings.php:499
543
  msgid "Select a page to show My Orders"
544
  msgstr ""
545
 
546
+ #: includes/Admin/Settings.php:506
547
  msgid "Store Listing"
548
  msgstr ""
549
 
550
+ #: includes/Admin/Settings.php:507
551
  msgid "Select a page to show all Stores"
552
  msgstr ""
553
 
554
+ #: includes/Admin/Settings.php:514
555
  msgid "Terms and Conditions Page"
556
  msgstr ""
557
 
558
+ #: includes/Admin/Settings.php:520
559
  #. translators: %s: dokan pages
560
  msgid ""
561
  "Select where you want to add Dokan pages <a target=\"_blank\" href=\"%s\"> "
562
  "Learn More </a>"
563
  msgstr ""
564
 
565
+ #: includes/Admin/Settings.php:526
566
  msgid "Show Map on Store Page"
567
  msgstr ""
568
 
569
+ #: includes/Admin/Settings.php:527
570
  msgid "Enable Map of the Store Location in the store sidebar"
571
  msgstr ""
572
 
573
+ #: includes/Admin/Settings.php:533
574
  #: templates/admin-setup-wizard/step-store.php:42
575
  msgid "Map API Source"
576
  msgstr ""
577
 
578
+ #: includes/Admin/Settings.php:534
579
  #: templates/admin-setup-wizard/step-store.php:52
580
  msgid "Which Map API source you want to use in your site?"
581
  msgstr ""
582
 
583
+ #: includes/Admin/Settings.php:539 includes/Admin/SetupWizard.php:359
584
  #: src/admin/pages/Premium.vue:388
585
  msgid "Google Maps"
586
  msgstr ""
587
 
588
+ #: includes/Admin/Settings.php:540 includes/Admin/SetupWizard.php:360
589
  msgid "Mapbox"
590
  msgstr ""
591
 
592
+ #: includes/Admin/Settings.php:550
593
  #: templates/admin-setup-wizard/step-store.php:56
594
  msgid "Google Map API Key"
595
  msgstr ""
596
 
597
+ #: includes/Admin/Settings.php:551
598
  msgid ""
599
  "<a href=\"https://developers.google.com/maps/documentation/javascript/\" "
600
  "target=\"_blank\" rel=\"noopener noreferrer\">API Key</a> is needed to "
601
  "display map on store page"
602
  msgstr ""
603
 
604
+ #: includes/Admin/Settings.php:561
605
  #: templates/admin-setup-wizard/step-store.php:71
606
  msgid "Mapbox Access Token"
607
  msgstr ""
608
 
609
+ #: includes/Admin/Settings.php:562
610
  #: templates/admin-setup-wizard/step-store.php:75
611
  msgid ""
612
  "<a href=\"https://docs.mapbox.com/help/how-mapbox-works/access-tokens/\" "
614
  "display map on store page"
615
  msgstr ""
616
 
617
+ #: includes/Admin/Settings.php:567
618
  msgid "Show Contact Form on Store Page"
619
  msgstr ""
620
 
621
+ #: includes/Admin/Settings.php:568
622
  msgid "Display a vendor contact form in the store sidebar"
623
  msgstr ""
624
 
625
+ #: includes/Admin/Settings.php:574
626
  msgid "Store Header Template"
627
  msgstr ""
628
 
629
+ #: includes/Admin/Settings.php:586
630
  msgid "Store Opening Closing Time Widget"
631
  msgstr ""
632
 
633
+ #: includes/Admin/Settings.php:587
634
  msgid "Enable store opening & closing time widget in the store sidebar"
635
  msgstr ""
636
 
637
+ #: includes/Admin/Settings.php:593
638
  msgid "Enable Store Sidebar From Theme"
639
  msgstr ""
640
 
641
+ #: includes/Admin/Settings.php:594
642
  msgid "Enable showing Store Sidebar From Your Theme."
643
  msgstr ""
644
 
645
+ #: includes/Admin/Settings.php:600
646
  msgid "Hide Vendor Info"
647
  msgstr ""
648
 
649
+ #: includes/Admin/Settings.php:608
650
  msgid "Email Address"
651
  msgstr ""
652
 
653
+ #: includes/Admin/Settings.php:609 includes/Admin/UserProfile.php:211
654
  #: src/admin/pages/VendorAccountFields.vue:64
655
  #: templates/account/vendor-registration.php:33
656
+ #: templates/global/seller-registration-form.php:36
657
  msgid "Phone Number"
658
  msgstr ""
659
 
660
+ #: includes/Admin/Settings.php:610
661
  msgid "Store Address"
662
  msgstr ""
663
 
664
+ #: includes/Admin/Settings.php:617
665
  msgid "Enable Privacy Policy"
666
  msgstr ""
667
 
668
+ #: includes/Admin/Settings.php:619
669
  msgid "Enable privacy policy for Vendor store contact form"
670
  msgstr ""
671
 
672
+ #: includes/Admin/Settings.php:624
673
  msgid "Privacy Page"
674
  msgstr ""
675
 
676
+ #: includes/Admin/Settings.php:626
677
  msgid "Select a page to show your privacy policy"
678
  msgstr ""
679
 
680
+ #: includes/Admin/Settings.php:635 includes/functions.php:3530
681
  msgid ""
682
  "Your personal data will be used to support your experience throughout this "
683
  "website, to manage access to your account, and for other purposes described "
684
  "in our [dokan_privacy_policy]"
685
  msgstr ""
686
 
687
+ #: includes/Admin/Settings.php:708
688
  msgid "Both section and field params are required."
689
  msgstr ""
690
 
691
+ #: includes/Admin/Settings.php:717
692
  msgid "No filter found to refresh the setting options"
693
  msgstr ""
694
 
1141
  msgid "Something wrong, please try again later"
1142
  msgstr ""
1143
 
1144
+ #: includes/Ajax.php:112 includes/Dashboard/Templates/Settings.php:213
1145
+ #: includes/Dashboard/Templates/Settings.php:227
1146
+ #: includes/Dashboard/Templates/Settings.php:239
1147
+ #: includes/Dashboard/Templates/Settings.php:251
1148
+ #: includes/Dashboard/Templates/Settings.php:288
1149
+ #: includes/Dashboard/Templates/Settings.php:354
1150
+ #: includes/Dashboard/Templates/Settings.php:395
1151
+ #: includes/Dashboard/Templates/Settings.php:445
1152
  #: includes/Dashboard/Templates/Withdraw.php:106
1153
  #: includes/Dashboard/Templates/Withdraw.php:171
1154
  msgid "Are you cheating?"
1183
  msgid "Something went wrong!"
1184
  msgstr ""
1185
 
1186
+ #: includes/Ajax.php:350 includes/REST/StoreController.php:812
1187
  msgid "Email sent successfully!"
1188
  msgstr ""
1189
 
1430
  msgid "Please insert value less than the regular price!"
1431
  msgstr ""
1432
 
1433
+ #: includes/Assets.php:666 includes/Assets.php:834
1434
  #. translators: %s: decimal
1435
  msgid "Please enter with one decimal point (%s) without thousand separators."
1436
  msgstr ""
1437
 
1438
+ #: includes/Assets.php:668 includes/Assets.php:836
1439
  #. translators: %s: price decimal separator
1440
  msgid ""
1441
  "Please enter with one monetary decimal point (%s) without thousand "
1442
  "separators and currency symbols."
1443
  msgstr ""
1444
 
1445
+ #: includes/Assets.php:669 includes/Assets.php:837
1446
  msgid "Please enter in country code with two capital letters."
1447
  msgstr ""
1448
 
1449
+ #: includes/Assets.php:670 includes/Assets.php:838
1450
  msgid "Please enter in a value less than the regular price."
1451
  msgstr ""
1452
 
1453
+ #: includes/Assets.php:671 includes/Assets.php:839
1454
  msgid ""
1455
  "This product has produced sales and may be linked to existing orders. Are "
1456
  "you sure you want to delete it?"
1457
  msgstr ""
1458
 
1459
+ #: includes/Assets.php:672 includes/Assets.php:840
1460
  msgid ""
1461
  "This action cannot be reversed. Are you sure you wish to erase personal "
1462
  "data from the selected orders?"
1526
  msgid "Searching&hellip;"
1527
  msgstr ""
1528
 
1529
+ #: includes/Assets.php:702
1530
+ msgid ""
1531
+ "Are you sure? You have uploaded banner but didn't click the Update Settings "
1532
+ "button!"
1533
+ msgstr ""
1534
+
1535
  #: includes/Commission.php:97
1536
  msgid "Payment gateway processing fee %s"
1537
  msgstr ""
1650
  msgstr ""
1651
 
1652
  #: includes/Dashboard/Templates/Products.php:184
1653
+ #: includes/Dashboard/Templates/Settings.php:143
1654
+ #: includes/Dashboard/Templates/Settings.php:154
1655
  #: includes/Shortcodes/Dashboard.php:29 templates/global/no-permission.php:53
1656
  msgid "You have no permission to view this page"
1657
  msgstr ""
1697
  msgid "I swear this is not your product!"
1698
  msgstr ""
1699
 
1700
+ #: includes/Dashboard/Templates/Settings.php:62
1701
  msgid "Payment Settings"
1702
  msgstr ""
1703
 
1704
+ #: includes/Dashboard/Templates/Settings.php:83
1705
  msgid ""
1706
  "These are the withdraw methods available for you. Please update your "
1707
  "payment information below to submit withdraw requests and get your store "
1708
  "payments seamlessly."
1709
  msgstr ""
1710
 
1711
+ #: includes/Dashboard/Templates/Settings.php:223
1712
  msgid "Pemission denied social"
1713
  msgstr ""
1714
 
1715
+ #: includes/Dashboard/Templates/Settings.php:235
1716
+ #: includes/Dashboard/Templates/Settings.php:247
1717
  msgid "Pemission denied"
1718
  msgstr ""
1719
 
1720
+ #: includes/Dashboard/Templates/Settings.php:265
1721
  msgid "Your information has been saved successfully"
1722
  msgstr ""
1723
 
1724
+ #: includes/Dashboard/Templates/Settings.php:296
1725
+ #: includes/Dashboard/Templates/Settings.php:403
1726
  msgid "Store name required"
1727
  msgstr ""
1728
 
1729
+ #: includes/Dashboard/Templates/Settings.php:302
1730
+ #: includes/Dashboard/Templates/Settings.php:362
1731
+ #: includes/Dashboard/Templates/Settings.php:409
1732
  msgid "Store type required"
1733
  msgstr ""
1734
 
1735
+ #: includes/Dashboard/Templates/Settings.php:310
1736
+ #: includes/Dashboard/Templates/Settings.php:370
1737
+ #: includes/Dashboard/Templates/Settings.php:417
1738
+ #: includes/Dashboard/Templates/Settings.php:454
1739
  msgid "Invalid email"
1740
  msgstr ""
1741
 
1742
+ #: includes/Dashboard/Templates/Settings.php:329
1743
  msgid "Address field for %s is required"
1744
  msgstr ""
1745
 
1746
+ #: includes/Dashboard/Templates/Settings.php:611
1747
  msgid "Book"
1748
  msgstr ""
1749
 
1750
+ #: includes/Dashboard/Templates/Settings.php:612
1751
  msgid "Dress"
1752
  msgstr ""
1753
 
1754
+ #: includes/Dashboard/Templates/Settings.php:613
1755
  msgid "Electronic"
1756
  msgstr ""
1757
 
2627
  #: includes/Product/functions.php:163 templates/my-orders.php:29
2628
  #: templates/orders/listing.php:54 templates/orders/listing.php:86
2629
  #: templates/products/products-listing-row.php:55
2630
+ #: templates/products/products-listing.php:95 templates/sub-orders.php:27
2631
  #: templates/withdraw/pending-request-listing.php:18
2632
  msgid "Status"
2633
  msgstr ""
2686
 
2687
  #: includes/Product/functions.php:179
2688
  #: templates/products/products-listing-row.php:70
2689
+ #: templates/products/products-listing.php:100
2690
  msgid "Stock"
2691
  msgstr ""
2692
 
2740
  #: templates/orders/details.php:203
2741
  #: templates/products/new-product-single.php:217
2742
  #: templates/products/new-product.php:167
2743
+ #: templates/products/tmpl-add-product-popup.php:66
2744
  #: templates/store-lists-filter.php:83
2745
  #: templates/withdraw/pending-request-listing.php:17
2746
  #: templates/withdraw/pending-request-listing.php:35
3791
  msgid "Status for the store object."
3792
  msgstr ""
3793
 
3794
+ #: includes/REST/StoreController.php:290 includes/REST/StoreController.php:361
3795
+ #: includes/REST/StoreController.php:519
3796
  msgid "No store found"
3797
  msgstr ""
3798
 
3799
+ #: includes/REST/StoreController.php:313 includes/REST/StoreController.php:837
3800
  msgid "No vendor found for updating status"
3801
  msgstr ""
3802
 
3803
+ #: includes/REST/StoreController.php:318
3804
  msgid "Invalid user ID for reassignment."
3805
  msgstr ""
3806
 
3807
+ #: includes/REST/StoreController.php:537 includes/REST/StoreController.php:556
3808
  msgid "No reviews found"
3809
  msgstr ""
3810
 
3811
+ #: includes/REST/StoreController.php:741
3812
  msgid "This email address is not valid"
3813
  msgstr ""
3814
 
3815
+ #: includes/REST/StoreController.php:784
3816
  msgid "No vendor is found to be send an email."
3817
  msgstr ""
3818
 
3819
+ #: includes/REST/StoreController.php:831
3820
  msgid "Status parameter must be active or inactive"
3821
  msgstr ""
3822
 
3823
+ #: includes/REST/StoreController.php:865
3824
  msgid "No items found for bulk updating"
3825
  msgstr ""
3826
 
3948
  msgid "Upgrading db fields error: "
3949
  msgstr ""
3950
 
3951
+ #: includes/Vendor/Manager.php:190
3952
  msgid "Unable to create vendor"
3953
  msgstr ""
3954
 
3955
+ #: includes/Vendor/Manager.php:274
3956
  msgid "Email is not valid"
3957
  msgstr ""
3958
 
3986
  msgid "Store Setup"
3987
  msgstr ""
3988
 
 
 
 
 
3989
  #: includes/Vendor/SetupWizard.php:191
3990
  msgid "Street"
3991
  msgstr ""
4084
  msgid "Switched back to %1$s (%2$s)."
4085
  msgstr ""
4086
 
4087
+ #: includes/Vendor/Vendor.php:711
4088
  msgid "No ratings found yet!"
4089
  msgstr ""
4090
 
4091
+ #: includes/Vendor/Vendor.php:713
4092
  msgid "%s rating from %d review"
4093
  msgid_plural "%s rating from %d reviews"
4094
  msgstr[0] ""
4095
  msgstr[1] ""
4096
 
4097
+ #: includes/Vendor/Vendor.php:714
4098
  msgid "Rated %s out of %d"
4099
  msgstr ""
4100
 
4101
+ #: includes/Vendor/Vendor.php:843 templates/settings/store-form.php:281
4102
  msgid "Store is open"
4103
  msgstr ""
4104
 
4105
+ #: includes/Vendor/Vendor.php:857 templates/settings/store-form.php:289
4106
  msgid "Store is closed"
4107
  msgstr ""
4108
 
4151
  msgstr ""
4152
 
4153
  #: includes/Widgets/StoreCategoryMenu.php:36
4154
+ #: includes/Widgets/StoreCategoryMenu.php:80 includes/template-tags.php:712
4155
  msgid "Store Product Category"
4156
  msgstr ""
4157
 
4164
  msgstr ""
4165
 
4166
  #: includes/Widgets/StoreContactForm.php:42
4167
+ #: includes/Widgets/StoreContactForm.php:119 includes/template-tags.php:751
4168
  msgid "Contact Vendor"
4169
  msgstr ""
4170
 
4177
  msgstr ""
4178
 
4179
  #: includes/Widgets/StoreLocation.php:42 includes/Widgets/StoreLocation.php:103
4180
+ #: includes/template-tags.php:725
4181
  msgid "Store Location"
4182
  msgstr ""
4183
 
4190
  msgstr ""
4191
 
4192
  #: includes/Widgets/StoreOpenClose.php:41
4193
+ #: includes/Widgets/StoreOpenClose.php:111 includes/template-tags.php:738
4194
  msgid "Store Time"
4195
  msgstr ""
4196
 
4214
  msgid "You don't have enough balance for this request"
4215
  msgstr ""
4216
 
4217
+ #: includes/Withdraw/Manager.php:46
4218
+ #. translators: %s: withdraw limit amount
4219
  msgid "Withdraw amount must be greater than %s"
4220
  msgstr ""
4221
 
4222
+ #: includes/Withdraw/Manager.php:50
4223
  msgid "Withdraw method is not active."
4224
  msgstr ""
4225
 
4226
+ #: includes/Withdraw/Manager.php:54
4227
  msgid "Vendor is not enabled for selling, please contact site admin"
4228
  msgstr ""
4229
 
4230
+ #: includes/Withdraw/Manager.php:58
4231
  msgid "Withdraw is already approved."
4232
  msgstr ""
4233
 
4234
+ #: includes/Withdraw/Manager.php:95
4235
  msgid "Invalid permission to cancel the request."
4236
  msgstr ""
4237
 
4238
+ #: includes/Withdraw/Manager.php:101
4239
  msgid "Invalid cancel withdraw request"
4240
  msgstr ""
4241
 
4242
+ #: includes/Withdraw/Manager.php:141
4243
  msgid "Could not update withdraw status"
4244
  msgstr ""
4245
 
4246
+ #: includes/Withdraw/Manager.php:174
4247
  msgid "Could not add new withdraw approval request."
4248
  msgstr ""
4249
 
4699
  msgstr ""
4700
 
4701
  #: includes/template-tags.php:115 includes/template-tags.php:119
4702
+ #: templates/store-lists-loop.php:116
4703
  msgid "&larr; Previous"
4704
  msgstr ""
4705
 
4706
+ #: includes/template-tags.php:131 templates/store-lists-loop.php:117
4707
  msgid "Next &rarr;"
4708
  msgstr ""
4709
 
4756
  msgid "Back to Dashboard"
4757
  msgstr ""
4758
 
4759
+ #: includes/template-tags.php:547 templates/settings/header.php:14
4760
+ #: templates/store-lists-loop.php:92
4761
  msgid "Visit Store"
4762
  msgstr ""
4763
 
4769
  msgid "Log out"
4770
  msgstr ""
4771
 
4772
+ #: includes/wc-functions.php:104
4773
  msgid "Product SKU must be unique"
4774
  msgstr ""
4775
 
4784
  #: includes/wc-functions.php:876 src/admin/pages/VendorAccountFields.vue:33
4785
  #: src/admin/pages/VendorAccountFields.vue:34
4786
  #: templates/account/vendor-registration.php:9
4787
+ #: templates/global/seller-registration-form.php:13
4788
  msgid "First Name"
4789
  msgstr ""
4790
 
4791
  #: includes/wc-functions.php:877 src/admin/pages/VendorAccountFields.vue:38
4792
  #: src/admin/pages/VendorAccountFields.vue:39
4793
  #: templates/account/vendor-registration.php:14
4794
+ #: templates/global/seller-registration-form.php:18
4795
  msgid "Last Name"
4796
  msgstr ""
4797
 
4996
  msgstr ""
4997
 
4998
  #: src/admin/main.js:24 templates/orders/listing.php:30
4999
+ #: templates/products/products-listing.php:73
5000
  msgid "Select bulk action"
5001
  msgstr ""
5002
 
5005
  msgstr ""
5006
 
5007
  #: src/admin/main.js:27 templates/orders/listing.php:41
5008
+ #: templates/products/products-listing.php:84
5009
  #: templates/store-lists-filter.php:84
5010
  msgid "Apply"
5011
  msgstr ""
5838
  msgstr ""
5839
 
5840
  #: templates/account/vendor-registration.php:47
5841
+ #: templates/global/seller-registration-form.php:24
5842
  msgid "Shop Name"
5843
  msgstr ""
5844
 
5845
  #: templates/account/vendor-registration.php:52
5846
+ #: templates/global/seller-registration-form.php:29
5847
  msgid "Shop URL"
5848
  msgstr ""
5849
 
5850
  #: templates/account/vendor-registration.php:67
5851
+ #: templates/global/seller-registration-form.php:47
5852
  msgid ""
5853
  "I have read and agree to the <a target=\"_blank\" href=\"%s\">Terms &amp; "
5854
  "Conditions</a>."
6070
  #: templates/dashboard/big-counter-widget.php:21
6071
  #: templates/orders/listing.php:53 templates/orders/listing.php:83
6072
  #: templates/products/products-listing-row.php:88
6073
+ #: templates/products/products-listing.php:102
6074
  msgid "Earning"
6075
  msgstr ""
6076
 
6301
  #: templates/products/new-product-single.php:195
6302
  #: templates/products/new-product.php:156
6303
  #: templates/products/products-listing-row.php:79
6304
+ #: templates/products/products-listing.php:101
6305
+ #: templates/products/tmpl-add-product-popup.php:55
6306
  msgid "Price"
6307
  msgstr ""
6308
 
6391
  msgid "Address:"
6392
  msgstr ""
6393
 
6394
+ #: templates/global/seller-registration-form.php:61
6395
  msgid "I am a customer"
6396
  msgstr ""
6397
 
6398
+ #: templates/global/seller-registration-form.php:66
6399
  msgid "I am a vendor"
6400
  msgstr ""
6401
 
6434
  #: templates/my-orders.php:28 templates/orders/listing.php:56
6435
  #: templates/orders/listing.php:111
6436
  #: templates/products/products-listing-row.php:124
6437
+ #: templates/products/products-listing.php:105 templates/sub-orders.php:26
6438
  #: templates/withdraw/approved-request-listing.php:16
6439
  #: templates/withdraw/cancelled-request-listing.php:16
6440
  #: templates/withdraw/pending-request-listing.php:16
6738
 
6739
  #: templates/products/downloadable.php:35
6740
  #: templates/products/products-listing-row.php:40
6741
+ #: templates/products/products-listing.php:94
6742
  msgid "Name"
6743
  msgstr ""
6744
 
6778
 
6779
  #: templates/products/inventory.php:14
6780
  #: templates/products/products-listing-row.php:61
6781
+ #: templates/products/products-listing.php:99
6782
  msgid "SKU"
6783
  msgstr ""
6784
 
6837
  #: templates/products/listing-filter.php:23
6838
  #: templates/products/new-product-single.php:266
6839
  #: templates/products/new-product.php:204
6840
+ #: templates/products/tmpl-add-product-popup.php:100
6841
  msgid "- Select a category -"
6842
  msgstr ""
6843
 
6880
 
6881
  #: templates/products/new-product-single.php:165
6882
  #: templates/products/new-product.php:150
6883
+ #: templates/products/tmpl-add-product-popup.php:49
6884
  msgid "Product name.."
6885
  msgstr ""
6886
 
6909
 
6910
  #: templates/products/new-product-single.php:215
6911
  #: templates/products/new-product.php:165
6912
+ #: templates/products/tmpl-add-product-popup.php:64
6913
  msgid "Discounted Price"
6914
  msgstr ""
6915
 
6916
  #: templates/products/new-product-single.php:216
6917
  #: templates/products/new-product.php:166
6918
+ #: templates/products/tmpl-add-product-popup.php:65
6919
  msgid "Schedule"
6920
  msgstr ""
6921
 
6925
 
6926
  #: templates/products/new-product-single.php:236
6927
  #: templates/products/new-product.php:180
6928
+ #: templates/products/tmpl-add-product-popup.php:79
6929
  msgid "From"
6930
  msgstr ""
6931
 
6933
  #: templates/products/new-product-single.php:244
6934
  #: templates/products/new-product.php:181
6935
  #: templates/products/new-product.php:188
6936
+ #: templates/products/tmpl-add-product-popup.php:80
6937
+ #: templates/products/tmpl-add-product-popup.php:87
6938
  msgid "YYYY-MM-DD"
6939
  msgstr ""
6940
 
6941
  #: templates/products/new-product-single.php:243
6942
  #: templates/products/new-product.php:187
6943
+ #: templates/products/tmpl-add-product-popup.php:86
6944
  msgid "To"
6945
  msgstr ""
6946
 
6955
 
6956
  #: templates/products/new-product-single.php:307
6957
  #: templates/products/new-product.php:243
6958
+ #: templates/products/tmpl-add-product-popup.php:135
6959
  msgid "Select product category"
6960
  msgstr ""
6961
 
6962
  #: templates/products/new-product-single.php:313
6963
  #: templates/products/new-product.php:249
6964
+ #: templates/products/tmpl-add-product-popup.php:141
6965
  msgid "Tags"
6966
  msgstr ""
6967
 
6968
  #: templates/products/new-product-single.php:322
6969
  #: templates/products/new-product.php:250
6970
+ #: templates/products/tmpl-add-product-popup.php:142
6971
  msgid "Select tags"
6972
  msgstr ""
6973
 
6976
  msgid "Upload a product cover image"
6977
  msgstr ""
6978
 
6979
+ #: templates/products/new-product-single.php:384
6980
  #: templates/products/new-product.php:131
6981
  msgid "Delete image"
6982
  msgstr ""
6983
 
6984
+ #: templates/products/new-product-single.php:390
6985
  #: templates/products/new-product.php:138
6986
+ #: templates/products/tmpl-add-product-popup.php:37
6987
  msgid "Add gallery image"
6988
  msgstr ""
6989
 
6990
+ #: templates/products/new-product-single.php:406
6991
  msgid "Short Description"
6992
  msgstr ""
6993
 
6994
+ #: templates/products/new-product-single.php:411
6995
  #: templates/products/new-product.php:258
6996
  msgid "Description"
6997
  msgstr ""
6998
 
 
6999
  #: templates/products/new-product-single.php:427
7000
+ #: templates/products/new-product-single.php:428
7001
  msgid "Save Product"
7002
  msgstr ""
7003
 
7063
  msgstr ""
7064
 
7065
  #: templates/products/products-listing-row.php:33
7066
+ #: templates/products/products-listing.php:93
7067
  msgid "Image"
7068
  msgstr ""
7069
 
7070
  #: templates/products/products-listing-row.php:99
7071
+ #: templates/products/products-listing.php:103
7072
  msgid "Type"
7073
  msgstr ""
7074
 
7089
  msgstr ""
7090
 
7091
  #: templates/products/products-listing-row.php:121
7092
+ #: templates/products/products-listing.php:104
7093
  msgid "Views"
7094
  msgstr ""
7095
 
7113
  msgid "Last Modified"
7114
  msgstr ""
7115
 
7116
+ #: templates/products/products-listing.php:52
7117
+ #: templates/products/products-listing.php:229
7118
  msgid "Add new product"
7119
  msgstr ""
7120
 
7121
+ #: templates/products/products-listing.php:178
7122
  msgid "No product found"
7123
  msgstr ""
7124
 
7125
+ #: templates/products/products-listing.php:201
7126
  msgid "&laquo; Previous"
7127
  msgstr ""
7128
 
7129
+ #: templates/products/products-listing.php:202
7130
  msgid "Next &raquo;"
7131
  msgstr ""
7132
 
7133
+ #: templates/products/products-listing.php:217
7134
+ msgid "No Products Found!"
7135
+ msgstr ""
7136
+
7137
+ #: templates/products/products-listing.php:222
7138
+ msgid "Ready to start selling something awesome?"
7139
+ msgstr ""
7140
+
7141
+ #: templates/products/tmpl-add-product-popup.php:148
7142
  msgid "Enter some short description about this product..."
7143
  msgstr ""
7144
 
7145
+ #: templates/products/tmpl-add-product-popup.php:155
7146
  msgid "Create product"
7147
  msgstr ""
7148
 
7149
+ #: templates/products/tmpl-add-product-popup.php:156
7150
  msgid "Create & add new"
7151
  msgstr ""
7152
 
7194
  msgid "State "
7195
  msgstr ""
7196
 
7197
+ #: templates/settings/header.php:20 templates/settings/payment.php:45
7198
+ #: templates/settings/store-form.php:299
7199
  msgid "Update Settings"
7200
  msgstr ""
7201
 
7255
  msgid "Show store opening closing time widget in store page"
7256
  msgstr ""
7257
 
7258
+ #: templates/settings/store-form.php:261 templates/store-lists-loop.php:45
7259
  msgid "Open"
7260
  msgstr ""
7261
 
7285
  msgid "Sort by"
7286
  msgstr ""
7287
 
7288
+ #: templates/store-lists-loop.php:37
7289
  msgid "Featured"
7290
  msgstr ""
7291
 
7292
+ #: templates/store-lists-loop.php:45
7293
+ msgid "Store is Open"
7294
+ msgstr ""
7295
+
7296
+ #: templates/store-lists-loop.php:47
7297
+ msgid "Store is Closed"
7298
+ msgstr ""
7299
+
7300
+ #: templates/store-lists-loop.php:47
7301
+ msgid "Closed"
7302
+ msgstr ""
7303
+
7304
+ #: templates/store-lists-loop.php:55
7305
  msgid "Rated %s out of 5"
7306
  msgstr ""
7307
 
7308
+ #: templates/store-lists-loop.php:58
7309
  msgid "%s out of 5"
7310
  msgstr ""
7311
 
7312
+ #: templates/store-lists-loop.php:143
7313
  msgid "No vendor found!"
7314
  msgstr ""
7315
 
readme.txt CHANGED
@@ -5,9 +5,9 @@ Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi selle
5
  Requires at least: 4.4
6
  Tested up to: 5.6
7
  WC requires at least: 3.0
8
- WC tested up to: 4.8.0
9
  Requires PHP: 5.6
10
- Stable tag: 3.1.2
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -292,6 +292,31 @@ A. Just install and activate the PRO version without deleting the free plugin. A
292
 
293
  == Changelog ==
294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  = v3.1.2 ( January 12, 2021 ) =
296
 
297
  - **fix:** Store listing page displaying disabled vendors
5
  Requires at least: 4.4
6
  Tested up to: 5.6
7
  WC requires at least: 3.0
8
+ WC tested up to: 4.9.2
9
  Requires PHP: 5.6
10
+ Stable tag: 3.2.0
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.0 ( January 29, 2021 ) =
296
+
297
+ **new** Added blank product page new UI on vendor dashboard
298
+ **new** Added Store open and closed status on dokan store listing page
299
+ **new** Added a setting where admin can set how many products to display on vendor single store page
300
+ **new** Added a new validation message after upload a banner/profile picture, show a browser alert if user tries to leave the current page without saving the changes.
301
+ **new** Added a new update setting button on top of the vendor setting form
302
+ **new** Added downloadable and virtual product type support for subscription products
303
+ **update** Dokan withdrawal request promotion
304
+ **fix** While registering as a vendor, radio button should work only when user click mouse cursor on the top of the radio button.
305
+ **fix** Product add pop-up validation error message style
306
+ **fix** Vendor pending tab keeps loading issue fixed
307
+ **fix** Improved the mapbox address search input field and make it same as google map search box
308
+ **fix** Keep old vendor as product author while duplicating product from the admin area
309
+ **fix** Fixed rounded vendor balance can not be withdrawn
310
+ **fix** Fixed resetting geolocation address is not selecting default location address
311
+ **fix** Fixed featured attribute of the store list shortcode doesn't work
312
+ **fix** Fixed vendors count not working on autoload in admin vendor listing page
313
+ **fix** Fixed downloadable product "Grant Access" JS error
314
+ **fix** Added filter for $allowed_roles in vendor registration which was missing
315
+ **fix** If the vendor has a rounded value in their balance then vendors are unable to request a withdrawal of the full amount
316
+ **fix** When order data is retrieved via API, the "total" order value is gets rounded
317
+ **fix** Elementor conflict with Dokan best and top selling product shortcodes issue fixed
318
+ **fix** More product tab showing other vendors product issue fixed
319
+
320
  = v3.1.2 ( January 12, 2021 ) =
321
 
322
  - **fix:** Store listing page displaying disabled vendors
templates/global/seller-registration-form.php CHANGED
@@ -3,8 +3,6 @@
3
  * Dokan Seller registration form
4
  *
5
  * @since 2.4
6
- *
7
- * @package dokan
8
  */
9
  ?>
10
 
@@ -13,30 +11,30 @@
13
  <div class="split-row form-row-wide">
14
  <p class="form-row form-group">
15
  <label for="first-name"><?php esc_html_e( 'First Name', 'dokan-lite' ); ?> <span class="required">*</span></label>
16
- <input type="text" class="input-text form-control" name="fname" id="first-name" value="<?php if ( ! empty( $postdata['fname'] ) ) echo esc_attr($postdata['fname']); ?>" required="required" />
17
  </p>
18
 
19
  <p class="form-row form-group">
20
  <label for="last-name"><?php esc_html_e( 'Last Name', 'dokan-lite' ); ?> <span class="required">*</span></label>
21
- <input type="text" class="input-text form-control" name="lname" id="last-name" value="<?php if ( ! empty( $postdata['lname'] ) ) echo esc_attr($postdata['lname']); ?>" required="required" />
22
  </p>
23
  </div>
24
 
25
  <p class="form-row form-group form-row-wide">
26
  <label for="company-name"><?php esc_html_e( 'Shop Name', 'dokan-lite' ); ?> <span class="required">*</span></label>
27
- <input type="text" class="input-text form-control" name="shopname" id="company-name" value="<?php if ( ! empty( $postdata['shopname'] ) ) echo esc_attr($postdata['shopname']); ?>" required="required" />
28
  </p>
29
 
30
  <p class="form-row form-group form-row-wide">
31
  <label for="seller-url" class="pull-left"><?php esc_html_e( 'Shop URL', 'dokan-lite' ); ?> <span class="required">*</span></label>
32
  <strong id="url-alart-mgs" class="pull-right"></strong>
33
- <input type="text" class="input-text form-control" name="shopurl" id="seller-url" value="<?php if ( ! empty( $postdata['shopurl'] ) ) echo esc_attr($postdata['shopurl']); ?>" required="required" />
34
  <small><?php echo esc_url( home_url() . '/' . dokan_get_option( 'custom_store_url', 'dokan_general', 'store' ) ); ?>/<strong id="url-alart"></strong></small>
35
  </p>
36
 
37
  <p class="form-row form-group form-row-wide">
38
  <label for="shop-phone"><?php esc_html_e( 'Phone Number', 'dokan-lite' ); ?><span class="required">*</span></label>
39
- <input type="text" class="input-text form-control" name="phone" id="shop-phone" value="<?php if ( ! empty( $postdata['phone'] ) ) echo esc_attr($postdata['phone']); ?>" required="required" />
40
  </p>
41
 
42
  <?php
@@ -56,15 +54,17 @@
56
 
57
  <?php do_action( 'dokan_reg_form_field' ); ?>
58
 
59
- <p class="form-row form-group user-role">
 
60
  <label class="radio">
61
  <input type="radio" name="role" value="customer"<?php checked( $role, 'customer' ); ?>>
62
  <?php esc_html_e( 'I am a customer', 'dokan-lite' ); ?>
63
  </label>
64
-
65
  <label class="radio">
66
  <input type="radio" name="role" value="seller"<?php checked( $role, 'seller' ); ?>>
67
  <?php esc_html_e( 'I am a vendor', 'dokan-lite' ); ?>
68
  </label>
69
  <?php do_action( 'dokan_registration_form_role', $role ); ?>
70
- </p>
 
3
  * Dokan Seller registration form
4
  *
5
  * @since 2.4
 
 
6
  */
7
  ?>
8
 
11
  <div class="split-row form-row-wide">
12
  <p class="form-row form-group">
13
  <label for="first-name"><?php esc_html_e( 'First Name', 'dokan-lite' ); ?> <span class="required">*</span></label>
14
+ <input type="text" class="input-text form-control" name="fname" id="first-name" value="<?php if ( ! empty( $postdata['fname'] ) ) { echo esc_attr( $postdata['fname'] ); } ?>" required="required" />
15
  </p>
16
 
17
  <p class="form-row form-group">
18
  <label for="last-name"><?php esc_html_e( 'Last Name', 'dokan-lite' ); ?> <span class="required">*</span></label>
19
+ <input type="text" class="input-text form-control" name="lname" id="last-name" value="<?php if ( ! empty( $postdata['lname'] ) ) { echo esc_attr( $postdata['lname'] ); } ?>" required="required" />
20
  </p>
21
  </div>
22
 
23
  <p class="form-row form-group form-row-wide">
24
  <label for="company-name"><?php esc_html_e( 'Shop Name', 'dokan-lite' ); ?> <span class="required">*</span></label>
25
+ <input type="text" class="input-text form-control" name="shopname" id="company-name" value="<?php if ( ! empty( $postdata['shopname'] ) ) { echo esc_attr( $postdata['shopname'] ); } ?>" required="required" />
26
  </p>
27
 
28
  <p class="form-row form-group form-row-wide">
29
  <label for="seller-url" class="pull-left"><?php esc_html_e( 'Shop URL', 'dokan-lite' ); ?> <span class="required">*</span></label>
30
  <strong id="url-alart-mgs" class="pull-right"></strong>
31
+ <input type="text" class="input-text form-control" name="shopurl" id="seller-url" value="<?php if ( ! empty( $postdata['shopurl'] ) ) { echo esc_attr( $postdata['shopurl'] ); } ?>" required="required" />
32
  <small><?php echo esc_url( home_url() . '/' . dokan_get_option( 'custom_store_url', 'dokan_general', 'store' ) ); ?>/<strong id="url-alart"></strong></small>
33
  </p>
34
 
35
  <p class="form-row form-group form-row-wide">
36
  <label for="shop-phone"><?php esc_html_e( 'Phone Number', 'dokan-lite' ); ?><span class="required">*</span></label>
37
+ <input type="text" class="input-text form-control" name="phone" id="shop-phone" value="<?php if ( ! empty( $postdata['phone'] ) ) { echo esc_attr( $postdata['phone'] ); } ?>" required="required" />
38
  </p>
39
 
40
  <?php
54
 
55
  <?php do_action( 'dokan_reg_form_field' ); ?>
56
 
57
+ <p class="form-row form-group user-role vendor-customer-registration">
58
+
59
  <label class="radio">
60
  <input type="radio" name="role" value="customer"<?php checked( $role, 'customer' ); ?>>
61
  <?php esc_html_e( 'I am a customer', 'dokan-lite' ); ?>
62
  </label>
63
+ <br/>
64
  <label class="radio">
65
  <input type="radio" name="role" value="seller"<?php checked( $role, 'seller' ); ?>>
66
  <?php esc_html_e( 'I am a vendor', 'dokan-lite' ); ?>
67
  </label>
68
  <?php do_action( 'dokan_registration_form_role', $role ); ?>
69
+
70
+ </p>
templates/maps/mapbox-with-search.php CHANGED
@@ -2,11 +2,12 @@
2
 
3
  <div class="dokan-map-wrap">
4
  <div class="dokan-map-search-bar">
5
- <input id="dokan-map-add" type="text" class="dokan-map-search" value="<?php echo esc_attr( $map_address ); ?>" name="find_address" placeholder="<?php esc_attr_e( 'Address', 'dokan-lite' ); ?>" size="30" />
6
  <a href="#" class="dokan-map-find-btn" id="dokan-location-find-btn" type="button"><?php esc_html_e( 'Find Address', 'dokan-lite' ); ?></a>
7
  </div>
8
 
9
  <div class="dokan-maps-container">
 
10
  <div id="<?php echo esc_attr( $map_id ); ?>"></div>
11
  </div>
12
  </div>
@@ -110,7 +111,6 @@
110
  }
111
 
112
  dokanMapbox.addControl( new mapboxgl.NavigationControl() );
113
- dokanMapbox.addControl( new SearchButtonControl( mapboxId ), 'top-left' );
114
 
115
  dokanMapbox.on( 'load', function () {
116
  dokanGeocoder = new MapboxGeocoder( {
@@ -122,7 +122,8 @@
122
  reverseGeocode: true,
123
  });
124
 
125
- dokanMapbox.addControl( dokanGeocoder, 'top-left' );
 
126
  dokanGeocoder.setInput( location.address );
127
 
128
  dokanGeocoder.on( 'result', function ( resultData ) {
@@ -162,6 +163,22 @@
162
  height: 300px;
163
  }
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  .dokan-mapboxgl-ctrl.mapboxgl-ctrl-group > button {
166
  width: auto;
167
  padding: 1px 8px;
2
 
3
  <div class="dokan-map-wrap">
4
  <div class="dokan-map-search-bar">
5
+ <input id="dokan-map-add" type="hidden" class="dokan-map-search" value="<?php echo esc_attr( $map_address ); ?>" name="find_address" placeholder="<?php esc_attr_e( 'Address', 'dokan-lite' ); ?>" size="30" />
6
  <a href="#" class="dokan-map-find-btn" id="dokan-location-find-btn" type="button"><?php esc_html_e( 'Find Address', 'dokan-lite' ); ?></a>
7
  </div>
8
 
9
  <div class="dokan-maps-container">
10
+ <div id="dokan-geocoder" class="dokan-geocoder"></div>
11
  <div id="<?php echo esc_attr( $map_id ); ?>"></div>
12
  </div>
13
  </div>
111
  }
112
 
113
  dokanMapbox.addControl( new mapboxgl.NavigationControl() );
 
114
 
115
  dokanMapbox.on( 'load', function () {
116
  dokanGeocoder = new MapboxGeocoder( {
122
  reverseGeocode: true,
123
  });
124
 
125
+ document.getElementById('dokan-geocoder').appendChild(dokanGeocoder.onAdd(dokanMapbox));
126
+
127
  dokanGeocoder.setInput( location.address );
128
 
129
  dokanGeocoder.on( 'result', function ( resultData ) {
163
  height: 300px;
164
  }
165
 
166
+ .dokan-geocoder {
167
+ z-index: 1;
168
+ width: 100%;
169
+ left: 50%;
170
+ margin-left: 0%;
171
+ margin: 0px auto;
172
+ }
173
+
174
+ .mapboxgl-ctrl-geocoder {
175
+ min-width: 100%;
176
+ }
177
+
178
+ .mapboxgl-ctrl-geocoder--input{
179
+ padding-left: 30px !important;
180
+ }
181
+
182
  .dokan-mapboxgl-ctrl.mapboxgl-ctrl-group > button {
183
  width: auto;
184
  padding: 1px 8px;
templates/products/new-product-single.php CHANGED
@@ -363,7 +363,6 @@ do_action( 'dokan_dashboard_wrap_before', $post, $post_id );
363
  </div>
364
  </div><!-- .dokan-feat-image-upload -->
365
 
366
- <?php if ( apply_filters( 'dokan_product_gallery_allow_add_images', true ) ): ?>
367
  <div class="dokan-product-gallery">
368
  <div class="dokan-side-body" id="dokan-product-images">
369
  <div id="product_images_container">
@@ -397,7 +396,9 @@ do_action( 'dokan_dashboard_wrap_before', $post, $post_id );
397
  </div>
398
  </div>
399
  </div> <!-- .product-gallery -->
400
- <?php endif; ?>
 
 
401
  </div><!-- .content-half-part -->
402
  </div><!-- .dokan-form-top-area -->
403
 
363
  </div>
364
  </div><!-- .dokan-feat-image-upload -->
365
 
 
366
  <div class="dokan-product-gallery">
367
  <div class="dokan-side-body" id="dokan-product-images">
368
  <div id="product_images_container">
396
  </div>
397
  </div>
398
  </div> <!-- .product-gallery -->
399
+
400
+ <?php do_action( 'dokan_product_gallery_image_count' );?>
401
+
402
  </div><!-- .content-half-part -->
403
  </div><!-- .dokan-form-top-area -->
404
 
templates/products/products-listing.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
- global $post;
3
-
4
- do_action( 'dokan_dashboard_wrap_start' );
5
  ?>
6
 
 
 
7
  <div class="dokan-dashboard-wrap">
8
 
9
  <?php
@@ -33,175 +33,210 @@ do_action( 'dokan_dashboard_wrap_start' );
33
  do_action( 'dokan_before_listing_product' );
34
  ?>
35
 
36
- <article class="dokan-product-listing-area">
37
 
38
- <div class="product-listing-top dokan-clearfix">
39
- <?php dokan_product_listing_status_filter(); ?>
40
-
41
- <?php if ( dokan_is_seller_enabled( get_current_user_id() ) ) { ?>
42
- <span class="dokan-add-product-link">
43
- <?php if ( current_user_can( 'dokan_add_product' ) ) { ?>
44
- <a href="<?php echo esc_url( dokan_get_navigation_url( 'new-product' ) ); ?>" class="dokan-btn dokan-btn-theme <?php echo ( 'on' == dokan_get_option( 'disable_product_popup', 'dokan_selling', 'off' ) ) ? '' : 'dokan-add-new-product'; ?>">
45
- <i class="fa fa-briefcase">&nbsp;</i>
46
- <?php esc_html_e( 'Add new product', 'dokan-lite' ); ?>
47
- </a>
48
- <?php } ?>
49
 
50
- <?php
51
- do_action( 'dokan_after_add_product_btn' );
52
- ?>
53
- </span>
54
- <?php } ?>
55
- </div>
56
 
57
- <?php dokan_product_dashboard_errors(); ?>
 
58
 
59
- <div class="dokan-w12">
60
- <?php dokan_product_listing_filter(); ?>
61
- </div>
 
 
 
 
 
62
 
63
- <div class="dokan-dashboard-product-listing-wrapper">
 
 
 
 
 
64
 
65
- <form id="product-filter" method="POST" class="dokan-form-inline">
66
- <div class="dokan-form-group">
67
- <label for="bulk-product-action-selector" class="screen-reader-text"><?php esc_html_e( 'Select bulk action', 'dokan-lite' ); ?></label>
68
 
69
- <select name="status" id="bulk-product-action-selector" class="dokan-form-control chosen">
70
- <?php foreach ( $bulk_statuses as $key => $bulk_status ) { ?>
71
- <option class="bulk-product-status" value="<?php echo esc_attr( $key ); ?>"><?php echo esc_attr( $bulk_status ); ?></option>
72
- <?php } ?>
73
- </select>
74
  </div>
75
 
76
- <div class="dokan-form-group">
77
- <?php wp_nonce_field( 'bulk_product_status_change', 'security' ); ?>
78
- <input type="submit" name="bulk_product_status_change" id="bulk-product-action" class="dokan-btn" value="<?php esc_attr_e( 'Apply', 'dokan-lite' ); ?>">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  </div>
80
- <table class="dokan-table dokan-table-striped product-listing-table dokan-inline-editable-table" id="dokan-product-list-table">
81
- <thead>
82
- <tr>
83
- <th id="cb" class="manage-column column-cb check-column">
84
- <label for="cb-select-all"></label>
85
- <input id="cb-select-all" class="dokan-checkbox" type="checkbox">
86
- </th>
87
- <th><?php esc_html_e( 'Image', 'dokan-lite' ); ?></th>
88
- <th><?php esc_html_e( 'Name', 'dokan-lite' ); ?></th>
89
- <th><?php esc_html_e( 'Status', 'dokan-lite' ); ?></th>
90
-
91
- <?php do_action( 'dokan_product_list_table_after_status_table_header' ); ?>
92
-
93
- <th><?php esc_html_e( 'SKU', 'dokan-lite' ); ?></th>
94
- <th><?php esc_html_e( 'Stock', 'dokan-lite' ); ?></th>
95
- <th><?php esc_html_e( 'Price', 'dokan-lite' ); ?></th>
96
- <th><?php esc_html_e( 'Earning', 'dokan-lite' ); ?></th>
97
- <th><?php esc_html_e( 'Type', 'dokan-lite' ); ?></th>
98
- <th><?php esc_html_e( 'Views', 'dokan-lite' ); ?></th>
99
- <th><?php esc_html_e( 'Date', 'dokan-lite' ); ?></th>
100
- </tr>
101
- </thead>
102
- <tbody>
103
- <?php
104
- $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
105
- $post_statuses = apply_filters( 'dokan_product_listing_post_statuses', [ 'publish', 'draft', 'pending', 'future' ] );
106
- $get_data = wp_unslash( $_GET );
107
-
108
- $args = [
109
- 'posts_per_page' => 15,
110
- 'paged' => $pagenum,
111
- 'author' => get_current_user_id(),
112
- 'post_status' => $post_statuses,
113
- 'tax_query' => [
114
- [
115
- 'taxonomy' => 'product_type',
116
- 'field' => 'slug',
117
- 'terms' => apply_filters( 'dokan_product_listing_exclude_type', [] ),
118
- 'operator' => 'NOT IN',
119
- ],
120
- ],
121
- ];
122
-
123
- if ( isset( $get_data['post_status'] ) && in_array( $get_data['post_status'], $post_statuses ) ) {
124
- $args['post_status'] = $get_data['post_status'];
125
- }
126
-
127
- if ( isset( $get_data['date'] ) && $get_data['date'] != 0 ) {
128
- $args['m'] = $get_data['date'];
129
- }
130
-
131
- if ( isset( $get_data['product_cat'] ) && $get_data['product_cat'] != -1 ) {
132
- $args['tax_query'][] = [
133
- 'taxonomy' => 'product_cat',
134
- 'field' => 'id',
135
- 'terms' => (int) $get_data['product_cat'],
136
- 'include_children' => false,
137
- ];
138
- }
139
-
140
- if ( isset( $get_data['product_search_name'] ) && !empty( $get_data['product_search_name'] ) ) {
141
- $args['s'] = $get_data['product_search_name'];
142
- }
143
-
144
- $original_post = $post;
145
- $product_args = apply_filters( 'dokan_pre_product_listing_args', $args, $get_data );
146
- $product_query = dokan()->product->all( apply_filters( 'dokan_product_listing_arg', $product_args ) );
147
-
148
- if ( $product_query->have_posts() ) {
149
- while ( $product_query->have_posts() ) {
150
- $product_query->the_post();
151
-
152
- $row_actions = dokan_product_get_row_action( $post );
153
- $tr_class = ( $post->post_status == 'pending' ) ? 'danger' : '';
154
- $view_class = ( $post->post_status == 'pending' ) ? 'dokan-hide' : '';
155
- $product = wc_get_product( $post->ID );
156
-
157
- $row_args = [
158
- 'post' => $post,
159
- 'product' => $product,
160
- 'tr_class' => $tr_class,
161
- 'row_actions' => $row_actions,
162
- ];
163
-
164
- dokan_get_template_part( 'products/products-listing-row', '', $row_args );
165
-
166
- do_action( 'dokan_product_list_table_after_row', $product, $post );
167
- }
168
- } else {
169
- ?>
170
- <tr>
171
- <td colspan="11"><?php esc_html_e( 'No product found', 'dokan-lite' ); ?></td>
172
- </tr>
173
- <?php
174
- } ?>
175
- </tbody>
176
-
177
- </table>
178
- </form>
179
- </div>
180
- <?php
181
- wp_reset_postdata();
182
-
183
- $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
184
- $base_url = dokan_get_navigation_url( 'products' );
185
-
186
- if ( $product_query->max_num_pages > 1 ) {
187
- echo '<div class="pagination-wrap">';
188
- $page_links = paginate_links( [
189
- 'current' => $pagenum,
190
- 'total' => $product_query->max_num_pages,
191
- 'base' => $base_url . '%_%',
192
- 'format' => '?pagenum=%#%',
193
- 'add_args' => false,
194
- 'type' => 'array',
195
- 'prev_text' => __( '&laquo; Previous', 'dokan-lite' ),
196
- 'next_text' => __( 'Next &raquo;', 'dokan-lite' ),
197
- ] );
198
-
199
- echo '<ul class="pagination"><li>';
200
- echo join( "</li>\n\t<li>", $page_links ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
201
- echo "</li>\n</ul>\n";
202
- echo '</div>';
203
- }
204
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  </article>
206
 
207
  <?php
1
  <?php
2
+ global $post;
 
 
3
  ?>
4
 
5
+ <?php do_action( 'dokan_dashboard_wrap_start' ); ?>
6
+
7
  <div class="dokan-dashboard-wrap">
8
 
9
  <?php
33
  do_action( 'dokan_before_listing_product' );
34
  ?>
35
 
36
+ <article class="dokan-product-listing-area">
37
 
38
+ <?php
39
+ $product_query = dokan()->product->all( [ 'author' => dokan_get_current_user_id() ] );
 
 
 
 
 
 
 
 
 
40
 
41
+ if ( $product_query->have_posts() ) {
42
+ ?>
 
 
 
 
43
 
44
+ <div class="product-listing-top dokan-clearfix">
45
+ <?php dokan_product_listing_status_filter(); ?>
46
 
47
+ <?php if ( dokan_is_seller_enabled( dokan_get_current_user_id() ) ): ?>
48
+ <span class="dokan-add-product-link">
49
+ <?php if ( current_user_can( 'dokan_add_product' ) ): ?>
50
+ <a href="<?php echo esc_url( dokan_get_navigation_url( 'new-product' ) ); ?>" class="dokan-btn dokan-btn-theme <?php echo ( 'on' == dokan_get_option( 'disable_product_popup', 'dokan_selling', 'off' ) ) ? '' : 'dokan-add-new-product'; ?>">
51
+ <i class="fa fa-briefcase">&nbsp;</i>
52
+ <?php esc_html_e( 'Add new product', 'dokan-lite' ); ?>
53
+ </a>
54
+ <?php endif ?>
55
 
56
+ <?php
57
+ do_action( 'dokan_after_add_product_btn' );
58
+ ?>
59
+ </span>
60
+ <?php endif; ?>
61
+ </div>
62
 
63
+ <?php dokan_product_dashboard_errors(); ?>
 
 
64
 
65
+ <div class="dokan-w12">
66
+ <?php dokan_product_listing_filter(); ?>
 
 
 
67
  </div>
68
 
69
+ <div class="dokan-dashboard-product-listing-wrapper">
70
+
71
+ <form id="product-filter" method="POST" class="dokan-form-inline">
72
+ <div class="dokan-form-group">
73
+ <label for="bulk-product-action-selector" class="screen-reader-text"><?php esc_html_e( 'Select bulk action', 'dokan-lite' ); ?></label>
74
+
75
+ <select name="status" id="bulk-product-action-selector" class="dokan-form-control chosen">
76
+ <?php foreach ( $bulk_statuses as $key => $bulk_status ) : ?>
77
+ <option class="bulk-product-status" value="<?php echo esc_attr( $key ) ?>"><?php echo esc_attr( $bulk_status ); ?></option>
78
+ <?php endforeach; ?>
79
+ </select>
80
+ </div>
81
+
82
+ <div class="dokan-form-group">
83
+ <?php wp_nonce_field( 'bulk_product_status_change', 'security' ); ?>
84
+ <input type="submit" name="bulk_product_status_change" id="bulk-product-action" class="dokan-btn dokan-btn-theme" value="<?php esc_attr_e( 'Apply', 'dokan-lite' ); ?>">
85
+ </div>
86
+ <table class="dokan-table dokan-table-striped product-listing-table dokan-inline-editable-table" id="dokan-product-list-table">
87
+ <thead>
88
+ <tr>
89
+ <th id="cb" class="manage-column column-cb check-column">
90
+ <label for="cb-select-all"></label>
91
+ <input id="cb-select-all" class="dokan-checkbox" type="checkbox">
92
+ </th>
93
+ <th><?php esc_html_e( 'Image', 'dokan-lite' ); ?></th>
94
+ <th><?php esc_html_e( 'Name', 'dokan-lite' ); ?></th>
95
+ <th><?php esc_html_e( 'Status', 'dokan-lite' ); ?></th>
96
+
97
+ <?php do_action( 'dokan_product_list_table_after_status_table_header' ); ?>
98
+
99
+ <th><?php esc_html_e( 'SKU', 'dokan-lite' ); ?></th>
100
+ <th><?php esc_html_e( 'Stock', 'dokan-lite' ); ?></th>
101
+ <th><?php esc_html_e( 'Price', 'dokan-lite' ); ?></th>
102
+ <th><?php esc_html_e( 'Earning', 'dokan-lite' ); ?></th>
103
+ <th><?php esc_html_e( 'Type', 'dokan-lite' ); ?></th>
104
+ <th><?php esc_html_e( 'Views', 'dokan-lite' ); ?></th>
105
+ <th><?php esc_html_e( 'Date', 'dokan-lite' ); ?></th>
106
+ </tr>
107
+ </thead>
108
+ <tbody>
109
+ <?php
110
+ $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
111
+ $post_statuses = apply_filters( 'dokan_product_listing_post_statuses', [ 'publish', 'draft', 'pending', 'future' ] );
112
+ $get_data = wp_unslash( $_GET );
113
+
114
+ $args = array(
115
+ 'posts_per_page' => 15,
116
+ 'paged' => $pagenum,
117
+ 'author' => dokan_get_current_user_id(),
118
+ 'post_status' => $post_statuses,
119
+ 'tax_query' => array(
120
+ array(
121
+ 'taxonomy' => 'product_type',
122
+ 'field' => 'slug',
123
+ 'terms' => apply_filters( 'dokan_product_listing_exclude_type', array() ),
124
+ 'operator' => 'NOT IN',
125
+ ),
126
+ ),
127
+ );
128
+
129
+ if ( isset( $get_data['post_status']) && in_array( $get_data['post_status'], $post_statuses ) ) {
130
+ $args['post_status'] = $get_data['post_status'];
131
+ }
132
+
133
+ if( isset( $get_data['date'] ) && $get_data['date'] != 0 ) {
134
+ $args['m'] = $get_data['date'];
135
+ }
136
+
137
+ if( isset( $get_data['product_cat'] ) && $get_data['product_cat'] != -1 ) {
138
+ $args['tax_query'][] = array(
139
+ 'taxonomy' => 'product_cat',
140
+ 'field' => 'id',
141
+ 'terms' => (int) $get_data['product_cat'],
142
+ 'include_children' => false,
143
+ );
144
+ }
145
+
146
+ if ( isset( $get_data['product_search_name']) && !empty( $get_data['product_search_name'] ) ) {
147
+ $args['s'] = $get_data['product_search_name'];
148
+ }
149
+
150
+ $original_post = $post;
151
+ $product_args = apply_filters( 'dokan_pre_product_listing_args', $args, $get_data );
152
+ $product_query = dokan()->product->all( apply_filters( 'dokan_product_listing_arg', $product_args ) );
153
+
154
+ if ( $product_query->have_posts() ) {
155
+ while ($product_query->have_posts()) {
156
+ $product_query->the_post();
157
+
158
+ $row_actions = dokan_product_get_row_action( $post );
159
+ $tr_class = ( $post->post_status == 'pending' ) ? 'danger' : '';
160
+ $view_class = ($post->post_status == 'pending' ) ? 'dokan-hide' : '';
161
+ $product = wc_get_product( $post->ID );
162
+
163
+ $row_args = array(
164
+ 'post' => $post,
165
+ 'product' => $product,
166
+ 'tr_class' => $tr_class,
167
+ 'row_actions' => $row_actions,
168
+ );
169
+
170
+ dokan_get_template_part( 'products/products-listing-row', '', $row_args );
171
+
172
+ do_action( 'dokan_product_list_table_after_row', $product, $post );
173
+ }
174
+
175
+ } else {
176
+ ?>
177
+ <tr>
178
+ <td colspan="11"><?php esc_html_e( 'No product found', 'dokan-lite' ); ?></td>
179
+ </tr>
180
+ <?php } ?>
181
+ </tbody>
182
+
183
+ </table>
184
+ </form>
185
  </div>
186
+ <?php
187
+ wp_reset_postdata();
188
+
189
+ $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
190
+ $base_url = dokan_get_navigation_url('products');
191
+
192
+ if ( $product_query->max_num_pages > 1 ) {
193
+ echo '<div class="pagination-wrap">';
194
+ $page_links = paginate_links( array(
195
+ 'current' => $pagenum,
196
+ 'total' => $product_query->max_num_pages,
197
+ 'base' => $base_url. '%_%',
198
+ 'format' => '?pagenum=%#%',
199
+ 'add_args' => false,
200
+ 'type' => 'array',
201
+ 'prev_text' => __( '&laquo; Previous', 'dokan-lite' ),
202
+ 'next_text' => __( 'Next &raquo;', 'dokan-lite' )
203
+ ) );
204
+
205
+ echo '<ul class="pagination"><li>';
206
+ echo join("</li>\n\t<li>", $page_links ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
207
+ echo "</li>\n</ul>\n";
208
+ echo '</div>';
209
+ }
210
+ ?>
211
+ <?php
212
+ } else {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  ?>
214
+ <div class="dokan-dashboard-product-listing-wrapper dokan-dashboard-not-product-found">
215
+ <img src="<?php echo esc_url( plugins_url( 'assets/images/no-product-found.svg', DOKAN_FILE ) ); ?>" alt="dokan setup" class="no-product-found-icon">
216
+ <h4 class="dokan-blank-product-message">
217
+ <?php esc_html_e( 'No Products Found!', 'dokan-lite' ); ?>
218
+ </h4>
219
+
220
+ <?php if ( dokan_is_seller_enabled( dokan_get_current_user_id() ) ): ?>
221
+ <h2 class="dokan-blank-product-message">
222
+ <?php esc_html_e( 'Ready to start selling something awesome?', 'dokan-lite' ); ?>
223
+ </h2>
224
+
225
+ <span class="dokan-add-product-link">
226
+ <?php if ( current_user_can( 'dokan_add_product' ) ): ?>
227
+ <a href="<?php echo esc_url( dokan_get_navigation_url( 'new-product' ) ); ?>" class="dokan-btn dokan-btn-theme <?php echo ( 'on' == dokan_get_option( 'disable_product_popup', 'dokan_selling', 'off' ) ) ? '' : 'dokan-add-new-product'; ?>">
228
+ <i class="fa fa-briefcase">&nbsp;</i>
229
+ <?php esc_html_e( 'Add new product', 'dokan-lite' ); ?>
230
+ </a>
231
+ <?php endif ?>
232
+
233
+ <?php
234
+ do_action( 'dokan_after_add_product_btn' );
235
+ ?>
236
+ </span>
237
+ <?php endif; ?>
238
+ </div>
239
+ <?php } ?>
240
  </article>
241
 
242
  <?php
templates/products/tmpl-add-product-popup.php CHANGED
@@ -29,7 +29,6 @@ use WeDevs\Dokan\Walkers\TaxonomyDropdown;
29
  </div>
30
  </div>
31
 
32
- <?php if ( apply_filters( 'dokan_product_gallery_allow_add_images', true ) ): ?>
33
  <div class="dokan-product-gallery">
34
  <div class="dokan-side-body" id="dokan-product-images">
35
  <div id="product_images_container">
@@ -43,7 +42,6 @@ use WeDevs\Dokan\Walkers\TaxonomyDropdown;
43
  </div>
44
  </div>
45
  </div>
46
- <?php endif; ?>
47
 
48
  </div>
49
  <div class="content-half-part dokan-product-field-content">
@@ -160,3 +158,4 @@ use WeDevs\Dokan\Walkers\TaxonomyDropdown;
160
  </form>
161
  </div>
162
  </script>
 
29
  </div>
30
  </div>
31
 
 
32
  <div class="dokan-product-gallery">
33
  <div class="dokan-side-body" id="dokan-product-images">
34
  <div id="product_images_container">
42
  </div>
43
  </div>
44
  </div>
 
45
 
46
  </div>
47
  <div class="content-half-part dokan-product-field-content">
158
  </form>
159
  </div>
160
  </script>
161
+ <?php do_action( 'dokan_add_product_js_template_end' );?>
templates/settings/header.php CHANGED
@@ -8,8 +8,16 @@
8
  */
9
  ?>
10
  <header class="dokan-dashboard-header">
11
- <h1 class="entry-title">
12
- <?php echo wp_kses_post( $heading ); ?>
13
- <small>&rarr; <a href="<?php echo esc_url( dokan_get_store_url( dokan_get_current_user_id() ) ); ?>"><?php esc_html_e( 'Visit Store', 'dokan-lite' ); ?></a></small>
14
- </h1>
 
 
 
 
 
 
 
 
15
  </header><!-- .dokan-dashboard-header -->
8
  */
9
  ?>
10
  <header class="dokan-dashboard-header">
11
+ <div class="dokan-store-settign-header-wrap">
12
+ <h1 class="entry-title">
13
+ <?php echo wp_kses_post( $heading ); ?>
14
+ <small>&rarr; <a href="<?php echo esc_url( dokan_get_store_url( dokan_get_current_user_id() ) ); ?>"><?php esc_html_e( 'Visit Store', 'dokan-lite' ); ?></a></small>
15
+ </h1>
16
+ </div>
17
+
18
+ <?php if ( isset( $is_store_setting ) && $is_store_setting ) : ?>
19
+ <span class="dokan-update-setting-top">
20
+ <button class="dokan-update-setting-top-button dokan-btn dokan-btn-theme dokan-right"><?php esc_html_e( 'Update Settings', 'dokan-lite' ); ?></button>
21
+ </span>
22
+ <?php endif ?>
23
  </header><!-- .dokan-dashboard-header -->
templates/settings/store-form.php CHANGED
@@ -122,7 +122,7 @@
122
  <?php do_action( 'dokan_settings_after_store_name', $current_user, $profile_info ); ?>
123
 
124
  <div class="dokan-form-group">
125
- <label class="dokan-w3 dokan-control-label" for="dokan_store_ppp"><?php esc_html_e( 'Store Product Per Page', 'dokan-lite' ); ?></label>
126
 
127
  <div class="dokan-w5 dokan-text-left">
128
  <input id="dokan_store_ppp" value="<?php echo esc_attr( $store_ppp ); ?>" name="dokan_store_ppp" placeholder="10" class="dokan-form-control" type="number">
122
  <?php do_action( 'dokan_settings_after_store_name', $current_user, $profile_info ); ?>
123
 
124
  <div class="dokan-form-group">
125
+ <label class="dokan-w3 dokan-control-label" for="dokan_store_ppp"><?php esc_html_e( 'Store Products Per Page', 'dokan-lite' ); ?></label>
126
 
127
  <div class="dokan-w5 dokan-text-left">
128
  <input id="dokan_store_ppp" value="<?php echo esc_attr( $store_ppp ); ?>" name="dokan_store_ppp" placeholder="10" class="dokan-form-control" type="number">
templates/store-lists-loop.php CHANGED
@@ -14,6 +14,10 @@
14
  $store_info = dokan_get_store_info( $seller->ID );
15
  $store_address = dokan_get_seller_short_address( $seller->ID );
16
  $store_banner_url = $store_banner_id ? wp_get_attachment_image_src( $store_banner_id, $image_size ) : DOKAN_PLUGIN_ASSEST . '/images/default-store-banner.png';
 
 
 
 
17
  ?>
18
 
19
  <li class="dokan-single-seller woocommerce coloum-<?php echo esc_attr( $per_row ); ?> <?php echo ( ! $store_banner_id ) ? 'no-banner-img' : ''; ?>">
@@ -35,8 +39,16 @@
35
 
36
  <?php do_action( 'dokan_seller_listing_after_featured', $seller, $store_info ); ?>
37
  </div>
 
 
 
 
 
 
 
 
38
 
39
- <div class="store-data">
40
  <h2><a href="<?php echo esc_attr( $store_url ); ?>"><?php echo esc_html( $store_name ); ?></a></h2>
41
 
42
  <?php if ( !empty( $store_rating['count'] ) ): ?>
14
  $store_info = dokan_get_store_info( $seller->ID );
15
  $store_address = dokan_get_seller_short_address( $seller->ID );
16
  $store_banner_url = $store_banner_id ? wp_get_attachment_image_src( $store_banner_id, $image_size ) : DOKAN_PLUGIN_ASSEST . '/images/default-store-banner.png';
17
+
18
+ $show_store_open_close = dokan_get_option( 'store_open_close', 'dokan_appearance', 'on' );
19
+ $dokan_store_time_enabled = isset( $store_info['dokan_store_time_enabled'] ) ? $store_info['dokan_store_time_enabled'] : '';
20
+ $store_open_is_on = ( 'on' === $show_store_open_close && 'yes' === $dokan_store_time_enabled && ! $is_store_featured ) ? 'store_open_is_on' : '';
21
  ?>
22
 
23
  <li class="dokan-single-seller woocommerce coloum-<?php echo esc_attr( $per_row ); ?> <?php echo ( ! $store_banner_id ) ? 'no-banner-img' : ''; ?>">
39
 
40
  <?php do_action( 'dokan_seller_listing_after_featured', $seller, $store_info ); ?>
41
  </div>
42
+
43
+ <?php if ( 'on' === $show_store_open_close && 'yes' === $dokan_store_time_enabled ) : ?>
44
+ <?php if ( dokan_is_store_open( $seller->ID ) ) { ?>
45
+ <span class="dokan-store-is-open-close-status dokan-store-is-open-status" title="<?php esc_attr_e( 'Store is Open', 'dokan-lite' );?>"><?php esc_html_e( 'Open', 'dokan-lite' ); ?></span>
46
+ <?php } else { ?>
47
+ <span class="dokan-store-is-open-close-status dokan-store-is-closed-status" title="<?php esc_attr_e( 'Store is Closed', 'dokan-lite' );?>"><?php esc_html_e( 'Closed', 'dokan-lite' ); ?></span>
48
+ <?php } ?>
49
+ <?php endif ?>
50
 
51
+ <div class="store-data <?php echo esc_attr( $store_open_is_on ); ?>">
52
  <h2><a href="<?php echo esc_attr( $store_url ); ?>"><?php echo esc_html( $store_name ); ?></a></h2>
53
 
54
  <?php if ( !empty( $store_rating['count'] ) ): ?>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitef920bb6f2ebb0436c54ef5312c46fdd::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit97568c9d5918187a35e3e37e83adbac1::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitef920bb6f2ebb0436c54ef5312c46fdd
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitef920bb6f2ebb0436c54ef5312c46fdd
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitef920bb6f2ebb0436c54ef5312c46fdd', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitef920bb6f2ebb0436c54ef5312c46fdd', '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\ComposerStaticInitef920bb6f2ebb0436c54ef5312c46fdd::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit97568c9d5918187a35e3e37e83adbac1
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit97568c9d5918187a35e3e37e83adbac1', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit97568c9d5918187a35e3e37e83adbac1', '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\ComposerStaticInit97568c9d5918187a35e3e37e83adbac1::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitef920bb6f2ebb0436c54ef5312c46fdd
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
@@ -177,9 +177,9 @@ class ComposerStaticInitef920bb6f2ebb0436c54ef5312c46fdd
177
  public static function getInitializer(ClassLoader $loader)
178
  {
179
  return \Closure::bind(function () use ($loader) {
180
- $loader->prefixLengthsPsr4 = ComposerStaticInitef920bb6f2ebb0436c54ef5312c46fdd::$prefixLengthsPsr4;
181
- $loader->prefixDirsPsr4 = ComposerStaticInitef920bb6f2ebb0436c54ef5312c46fdd::$prefixDirsPsr4;
182
- $loader->classMap = ComposerStaticInitef920bb6f2ebb0436c54ef5312c46fdd::$classMap;
183
 
184
  }, null, ClassLoader::class);
185
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit97568c9d5918187a35e3e37e83adbac1
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
177
  public static function getInitializer(ClassLoader $loader)
178
  {
179
  return \Closure::bind(function () use ($loader) {
180
+ $loader->prefixLengthsPsr4 = ComposerStaticInit97568c9d5918187a35e3e37e83adbac1::$prefixLengthsPsr4;
181
+ $loader->prefixDirsPsr4 = ComposerStaticInit97568c9d5918187a35e3e37e83adbac1::$prefixDirsPsr4;
182
+ $loader->classMap = ComposerStaticInit97568c9d5918187a35e3e37e83adbac1::$classMap;
183
 
184
  }, null, ClassLoader::class);
185
  }