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

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

Code changes from version 2.8.6 to 2.9.31

.babelrc ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "presets": [
3
+ "@wordpress/babel-preset-default"
4
+ ],
5
+ "plugins": [
6
+ "@babel/plugin-proposal-optional-chaining",
7
+ "@babel/plugin-syntax-dynamic-import"
8
+ ]
9
+ }
assets/css/admin.css CHANGED
@@ -161,8 +161,8 @@
161
  display: block;
162
  color: #aaa;
163
  padding: 10px;
164
- -webkit-transition: all ease .5s;
165
- transition: all ease .5s;
166
  position: relative;
167
  font-size: 12px;
168
  }
161
  display: block;
162
  color: #aaa;
163
  padding: 10px;
164
+ -webkit-transition: all ease 0.5s;
165
+ transition: all ease 0.5s;
166
  position: relative;
167
  font-size: 12px;
168
  }
assets/css/setup-no-wc.css ADDED
@@ -0,0 +1,319 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ margin: 65px auto 24px;
3
+ box-shadow: none;
4
+ background: #f1f1f1;
5
+ padding: 0;
6
+ }
7
+ #wc-logo {
8
+ border: 0;
9
+ margin: 0 0 24px;
10
+ padding: 0;
11
+ text-align: center;
12
+ }
13
+ #wc-logo img {
14
+ max-width: 30%;
15
+ }
16
+ .wc-setup-content {
17
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
18
+ padding: 2em;
19
+ margin: 0 0 20px;
20
+ background: #fff;
21
+ overflow: hidden;
22
+ zoom: 1;
23
+ text-align: left;
24
+ }
25
+ .wc-setup-content h1 {
26
+ margin: 0 0 20px;
27
+ border: 0;
28
+ padding: 0;
29
+ color: #666;
30
+ clear: none;
31
+ font-weight: 500;
32
+ }
33
+ .wc-setup-content p {
34
+ margin: 20px 0;
35
+ font-size: 1em;
36
+ line-height: 1.75;
37
+ color: #666;
38
+ }
39
+ .wc-setup-content table {
40
+ font-size: 1em;
41
+ line-height: 1.75;
42
+ color: #666;
43
+ }
44
+ .wc-setup-content a {
45
+ color: #a16696;
46
+ }
47
+ .wc-setup-content a:hover,
48
+ .wc-setup-content a:focus {
49
+ color: #111;
50
+ }
51
+ .wc-setup .wc-setup-actions {
52
+ overflow: hidden;
53
+ margin: 20px 0 0;
54
+ position: relative;
55
+ }
56
+ .wc-setup .wc-setup-actions .button-primary {
57
+ background-color: #bb77ae;
58
+ border-color: #a36597;
59
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
60
+ text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
61
+ margin: 0;
62
+ opacity: 1;
63
+ }
64
+ .wc-setup .wc-setup-actions .button-primary:hover,
65
+ .wc-setup .wc-setup-actions .button-primary:focus,
66
+ .wc-setup .wc-setup-actions .button-primary:active {
67
+ background: #a36597;
68
+ border-color: #a36597;
69
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
70
+ }
71
+ .wc-setup-content p:last-child {
72
+ margin-bottom: 0;
73
+ }
74
+ .step {
75
+ text-align: center;
76
+ }
77
+ .wc-setup .wc-setup-actions .button {
78
+ font-weight: 300;
79
+ font-size: 16px;
80
+ padding: 1em 2em;
81
+ box-shadow: none;
82
+ min-width: 12em;
83
+ margin-top: 10px;
84
+ line-height: 1;
85
+ margin-right: 0.5em;
86
+ margin-bottom: 2px;
87
+ height: auto;
88
+ border-radius: 4px;
89
+ }
90
+ .wc-setup .wc-setup-actions .button:focus,
91
+ .wc-setup .wc-setup-actions .button:hover,
92
+ .wc-setup .wc-setup-actions .button:active {
93
+ box-shadow: none;
94
+ }
95
+ @media only screen and (max-width: 400px) {
96
+ #wc-logo img {
97
+ max-width: 80%;
98
+ }
99
+ }
100
+ @keyframes spin {
101
+ 100% {
102
+ transform: rotate(360deg);
103
+ }
104
+ }
105
+ .blockUI.blockOverlay::before {
106
+ height: 1em;
107
+ width: 1em;
108
+ display: block;
109
+ position: absolute;
110
+ top: 50%;
111
+ left: 50%;
112
+ margin-left: -0.5em;
113
+ margin-top: -0.5em;
114
+ content: '';
115
+ -webkit-animation: spin 1s ease-in-out infinite;
116
+ animation: spin 1s ease-in-out infinite;
117
+ background: url(../images/spinner-2x.gif) center center;
118
+ background-size: cover;
119
+ line-height: 1;
120
+ text-align: center;
121
+ font-size: 2em;
122
+ color: rgba(0, 0, 0, 0.75);
123
+ }
124
+ .dokan-spinner {
125
+ position: absolute;
126
+ width: 20px;
127
+ height: 20px;
128
+ background: url('../images/spinner-2x.gif') center center no-repeat;
129
+ z-index: 99;
130
+ background-size: 20px;
131
+ }
132
+ /* Variables */
133
+ /* Toggle switch */
134
+ .form-table .updated p {
135
+ margin-bottom: 10px;
136
+ }
137
+ .form-table .switch-input {
138
+ display: none;
139
+ }
140
+ .form-table .switch-label {
141
+ position: relative;
142
+ display: inline-block;
143
+ cursor: pointer;
144
+ font-weight: 500;
145
+ text-align: left;
146
+ margin: 2px 0;
147
+ padding: 0 0 0 44px;
148
+ }
149
+ .form-table .switch-label:before,
150
+ .form-table .switch-label:after {
151
+ content: "";
152
+ position: absolute;
153
+ margin: 0;
154
+ outline: 0;
155
+ top: 50%;
156
+ -ms-transform: translate(0, -50%);
157
+ -webkit-transform: translate(0, -50%);
158
+ transform: translate(0, -50%);
159
+ -webkit-transition: all 0.3s ease;
160
+ transition: all 0.3s ease;
161
+ }
162
+ .form-table .switch-label:before {
163
+ left: 1px;
164
+ width: 34px;
165
+ height: 14px;
166
+ background-color: #9E9E9E;
167
+ border-radius: 8px;
168
+ }
169
+ .form-table .switch-label:after {
170
+ left: 0;
171
+ width: 20px;
172
+ height: 20px;
173
+ background-color: #FAFAFA;
174
+ border-radius: 50%;
175
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
176
+ }
177
+ .form-table .switch-label .toggle--on {
178
+ display: none;
179
+ }
180
+ .form-table .switch-label .toggle--off {
181
+ display: inline-block;
182
+ }
183
+ .form-table .switch-input:checked + .switch-label:before {
184
+ background-color: #fbcbc4;
185
+ }
186
+ .form-table .switch-input:checked + .switch-label:after {
187
+ background-color: #f2624d;
188
+ -ms-transform: translate(80%, -50%);
189
+ -webkit-transform: translate(80%, -50%);
190
+ transform: translate(80%, -50%);
191
+ }
192
+ .form-table .switch-input:checked + .switch-label .toggle--on {
193
+ display: inline-block;
194
+ }
195
+ .form-table .switch-input:checked + .switch-label .toggle--off {
196
+ display: none;
197
+ }
198
+ .form-table .list-unstyled {
199
+ padding: 0;
200
+ margin-top: 0;
201
+ }
202
+ .form-table .list-unstyled li {
203
+ list-style-type: none;
204
+ margin-bottom: 5px;
205
+ }
206
+ .dokan-form-group .dokan-w8 {
207
+ margin-bottom: 10px;
208
+ }
209
+ .dokan-form-group textarea {
210
+ font-size: 15px;
211
+ }
212
+ /* WC Overrides */
213
+ .wc-setup .wc-setup-steps li.done,
214
+ .wc-setup .wc-setup-steps li.active {
215
+ color: #f2624d;
216
+ border-color: #f2624d;
217
+ }
218
+ .wc-setup .wc-setup-steps li.done:before,
219
+ .wc-setup .wc-setup-steps li.active:before {
220
+ background: #f2624d;
221
+ border-color: #f2624d;
222
+ }
223
+ .wc-setup .wc-setup-steps li.active:before {
224
+ background: #fff;
225
+ }
226
+ .wc-setup .wc-setup-actions .button {
227
+ color: #555;
228
+ -webkit-transition: background-color 0.3s ease;
229
+ transition: background-color 0.3s ease;
230
+ }
231
+ .wc-setup .wc-setup-actions .button-primary {
232
+ color: #fff;
233
+ background: #f2624d;
234
+ border-color: #f2624d;
235
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f2624d;
236
+ text-shadow: 0 -1px 1px #f2624d, 1px 0 1px #f2624d, 0 1px 1px #f2624d, -1px 0 1px #f2624d;
237
+ }
238
+ .wc-setup .wc-setup-actions .button-primary:hover,
239
+ .wc-setup .wc-setup-actions .button-primary:active,
240
+ .wc-setup .wc-setup-actions .button-primary:focus {
241
+ background-color: #ef381d;
242
+ border-color: #ef381d;
243
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #ef381d;
244
+ }
245
+ .wc-setup .wc-setup-content a {
246
+ color: #f2624d;
247
+ }
248
+ .wc-setup .wc-setup-content .checkbox input[type=checkbox]:checked + label::before {
249
+ background: #f2624d;
250
+ border-color: #f2624d;
251
+ }
252
+ .wc-setup .wc-setup-content .checkbox label {
253
+ font-weight: 400;
254
+ line-height: 1.7;
255
+ }
256
+ .wc-setup .wc-setup-content table {
257
+ font-weight: 400;
258
+ }
259
+ .wc-setup .wc-setup-content table th {
260
+ font-weight: 500;
261
+ }
262
+ .wc-wizard-service-item .wc-wizard-service-name {
263
+ padding-left: 20px;
264
+ }
265
+ .wc-wizard-service-item .dokan-wizard-service-enable {
266
+ flex-basis: 0;
267
+ min-width: 75px;
268
+ text-align: center;
269
+ cursor: pointer;
270
+ padding: 2em 0;
271
+ position: relative;
272
+ max-height: 1.5em;
273
+ align-self: flex-start;
274
+ }
275
+ .wc-wizard-service-item .dokan-wizard-service-enable .switch-label {
276
+ left: 20px;
277
+ }
278
+ .dokan-setup-done h1 {
279
+ text-align: center;
280
+ }
281
+ .dokan-setup-done img {
282
+ display: block;
283
+ margin-left: auto;
284
+ margin-right: auto;
285
+ padding-bottom: 30px;
286
+ }
287
+ .dokan-setup-done-content {
288
+ display: flex;
289
+ justify-content: center;
290
+ }
291
+ .margin-bottom-10 {
292
+ margin-bottom: 10px;
293
+ }
294
+ .wc-wizard-service-item .dokan-wc-wizard-service-enable {
295
+ -webkit-flex-basis: 0;
296
+ flex-basis: 0;
297
+ min-width: 75px;
298
+ text-align: center;
299
+ cursor: pointer;
300
+ padding: 2em 0;
301
+ position: relative;
302
+ max-height: 1.5em;
303
+ -webkit-align-self: flex-start;
304
+ align-self: flex-start;
305
+ -webkit-box-ordinal-group: 4;
306
+ -webkit-order: 3;
307
+ order: 3;
308
+ }
309
+ .wc-return-to-dashboard {
310
+ text-align: center;
311
+ display: block;
312
+ color: #bdbdbd;
313
+ font-size: 12px;
314
+ text-decoration: none;
315
+ }
316
+ .wc-return-to-dashboard:hover {
317
+ color: #bdbdbd;
318
+ text-decoration: underline;
319
+ }
assets/css/setup.css ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .dokan-spinner {
2
+ position: absolute;
3
+ width: 20px;
4
+ height: 20px;
5
+ background: url('../images/spinner-2x.gif') center center no-repeat;
6
+ z-index: 99;
7
+ background-size: 20px;
8
+ }
9
+ /* Variables */
10
+ /* Toggle switch */
11
+ .form-table .updated p {
12
+ margin-bottom: 10px;
13
+ }
14
+ .form-table .switch-input {
15
+ display: none;
16
+ }
17
+ .form-table .switch-label {
18
+ position: relative;
19
+ display: inline-block;
20
+ cursor: pointer;
21
+ font-weight: 500;
22
+ text-align: left;
23
+ margin: 2px 0;
24
+ padding: 0 0 0 44px;
25
+ }
26
+ .form-table .switch-label:before,
27
+ .form-table .switch-label:after {
28
+ content: "";
29
+ position: absolute;
30
+ margin: 0;
31
+ outline: 0;
32
+ top: 50%;
33
+ -ms-transform: translate(0, -50%);
34
+ -webkit-transform: translate(0, -50%);
35
+ transform: translate(0, -50%);
36
+ -webkit-transition: all 0.3s ease;
37
+ transition: all 0.3s ease;
38
+ }
39
+ .form-table .switch-label:before {
40
+ left: 1px;
41
+ width: 34px;
42
+ height: 14px;
43
+ background-color: #9E9E9E;
44
+ border-radius: 8px;
45
+ }
46
+ .form-table .switch-label:after {
47
+ left: 0;
48
+ width: 20px;
49
+ height: 20px;
50
+ background-color: #FAFAFA;
51
+ border-radius: 50%;
52
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
53
+ }
54
+ .form-table .switch-label .toggle--on {
55
+ display: none;
56
+ }
57
+ .form-table .switch-label .toggle--off {
58
+ display: inline-block;
59
+ }
60
+ .form-table .switch-input:checked + .switch-label:before {
61
+ background-color: #fbcbc4;
62
+ }
63
+ .form-table .switch-input:checked + .switch-label:after {
64
+ background-color: #f2624d;
65
+ -ms-transform: translate(80%, -50%);
66
+ -webkit-transform: translate(80%, -50%);
67
+ transform: translate(80%, -50%);
68
+ }
69
+ .form-table .switch-input:checked + .switch-label .toggle--on {
70
+ display: inline-block;
71
+ }
72
+ .form-table .switch-input:checked + .switch-label .toggle--off {
73
+ display: none;
74
+ }
75
+ .form-table .list-unstyled {
76
+ padding: 0;
77
+ margin-top: 0;
78
+ }
79
+ .form-table .list-unstyled li {
80
+ list-style-type: none;
81
+ margin-bottom: 5px;
82
+ }
83
+ .dokan-form-group .dokan-w8 {
84
+ margin-bottom: 10px;
85
+ }
86
+ .dokan-form-group textarea {
87
+ font-size: 15px;
88
+ }
89
+ /* WC Overrides */
90
+ .wc-setup .wc-setup-steps li.done,
91
+ .wc-setup .wc-setup-steps li.active {
92
+ color: #f2624d;
93
+ border-color: #f2624d;
94
+ }
95
+ .wc-setup .wc-setup-steps li.done:before,
96
+ .wc-setup .wc-setup-steps li.active:before {
97
+ background: #f2624d;
98
+ border-color: #f2624d;
99
+ }
100
+ .wc-setup .wc-setup-steps li.active:before {
101
+ background: #fff;
102
+ }
103
+ .wc-setup .wc-setup-actions .button {
104
+ color: #555;
105
+ -webkit-transition: background-color 0.3s ease;
106
+ transition: background-color 0.3s ease;
107
+ }
108
+ .wc-setup .wc-setup-actions .button-primary {
109
+ color: #fff;
110
+ background: #f2624d;
111
+ border-color: #f2624d;
112
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f2624d;
113
+ text-shadow: 0 -1px 1px #f2624d, 1px 0 1px #f2624d, 0 1px 1px #f2624d, -1px 0 1px #f2624d;
114
+ }
115
+ .wc-setup .wc-setup-actions .button-primary:hover,
116
+ .wc-setup .wc-setup-actions .button-primary:active,
117
+ .wc-setup .wc-setup-actions .button-primary:focus {
118
+ background-color: #ef381d;
119
+ border-color: #ef381d;
120
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #ef381d;
121
+ }
122
+ .wc-setup .wc-setup-content a {
123
+ color: #f2624d;
124
+ }
125
+ .wc-setup .wc-setup-content .checkbox input[type=checkbox]:checked + label::before {
126
+ background: #f2624d;
127
+ border-color: #f2624d;
128
+ }
129
+ .wc-setup .wc-setup-content .checkbox label {
130
+ font-weight: 400;
131
+ line-height: 1.7;
132
+ }
133
+ .wc-setup .wc-setup-content table {
134
+ font-weight: 400;
135
+ }
136
+ .wc-setup .wc-setup-content table th {
137
+ font-weight: 500;
138
+ }
139
+ .wc-wizard-service-item .wc-wizard-service-name {
140
+ padding-left: 20px;
141
+ }
142
+ .wc-wizard-service-item .dokan-wizard-service-enable {
143
+ flex-basis: 0;
144
+ min-width: 75px;
145
+ text-align: center;
146
+ cursor: pointer;
147
+ padding: 2em 0;
148
+ position: relative;
149
+ max-height: 1.5em;
150
+ align-self: flex-start;
151
+ }
152
+ .wc-wizard-service-item .dokan-wizard-service-enable .switch-label {
153
+ left: 20px;
154
+ }
155
+ .dokan-setup-done h1 {
156
+ text-align: center;
157
+ }
158
+ .dokan-setup-done img {
159
+ display: block;
160
+ margin-left: auto;
161
+ margin-right: auto;
162
+ padding-bottom: 30px;
163
+ }
164
+ .dokan-setup-done-content {
165
+ display: flex;
166
+ justify-content: center;
167
+ }
168
+ .margin-bottom-10 {
169
+ margin-bottom: 10px;
170
+ }
171
+ .wc-wizard-service-item .dokan-wc-wizard-service-enable {
172
+ -webkit-flex-basis: 0;
173
+ flex-basis: 0;
174
+ min-width: 75px;
175
+ text-align: center;
176
+ cursor: pointer;
177
+ padding: 2em 0;
178
+ position: relative;
179
+ max-height: 1.5em;
180
+ -webkit-align-self: flex-start;
181
+ align-self: flex-start;
182
+ -webkit-box-ordinal-group: 4;
183
+ -webkit-order: 3;
184
+ order: 3;
185
+ }
assets/css/style.css CHANGED
@@ -1066,6 +1066,13 @@ a.dokan-btn-sm,
1066
  line-height: 1.5;
1067
  border-radius: 3px;
1068
  }
 
 
 
 
 
 
 
1069
  .dokan-table {
1070
  width: 100%;
1071
  max-width: 100%;
@@ -1421,7 +1428,7 @@ table.my_account_orders tbody tr td.order-actions a.button {
1421
  }
1422
  .dokan-label {
1423
  display: inline;
1424
- padding: .2em .6em .3em;
1425
  font-size: 75%;
1426
  font-weight: bold;
1427
  line-height: 1;
@@ -1429,7 +1436,7 @@ table.my_account_orders tbody tr td.order-actions a.button {
1429
  text-align: center;
1430
  white-space: nowrap;
1431
  vertical-align: baseline;
1432
- border-radius: .25em;
1433
  }
1434
  a.dokan-label:hover,
1435
  a.dokan-label:focus {
@@ -1670,7 +1677,7 @@ ul.subsubsub li.active a {
1670
  float: left;
1671
  padding: 6px 12px;
1672
  margin-left: -1px;
1673
- line-height: 1.428571429;
1674
  text-decoration: none;
1675
  background-color: #ffffff;
1676
  border: 1px solid #dddddd;
@@ -1684,7 +1691,7 @@ ul.subsubsub li.active a {
1684
  float: left;
1685
  padding: 6px 12px;
1686
  margin-left: -1px;
1687
- line-height: 1.428571429;
1688
  text-decoration: none;
1689
  background-color: #ffffff;
1690
  border: 1px solid #dddddd;
@@ -2027,6 +2034,63 @@ article.dokan-notice-single-notice-area span.dokan-single-announcement-date {
2027
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.settings i.pull-right {
2028
  padding-top: 5px;
2029
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2030
  html,
2031
  body {
2032
  -webkit-backface-visibility: hidden;
@@ -2205,6 +2269,18 @@ div.media-sidebar a.edit-attachment {
2205
  .dokan-dashboard .dokan-dashboard-content .dokan-page-help p {
2206
  margin-bottom: 10px;
2207
  }
 
 
 
 
 
 
 
 
 
 
 
 
2208
  .dokan-orders-content .dokan-orders-area .dokan-order-left-content {
2209
  margin-right: 3%;
2210
  }
@@ -3548,7 +3624,7 @@ div.media-sidebar a.edit-attachment {
3548
  background: #000;
3549
  top: 0;
3550
  left: 0;
3551
- opacity: .7;
3552
  font-size: 70px;
3553
  text-align: center;
3554
  color: #f00;
@@ -3854,28 +3930,38 @@ div.media-sidebar a.edit-attachment {
3854
  .dokan-single-store .dokan-store-tabs ul li a:hover {
3855
  background: #eee;
3856
  }
3857
- .dokan-store-sidebar input[type=text],
3858
- .dokan-store-sidebar input[type=email],
3859
- .dokan-store-sidebar textarea {
3860
  width: 100%;
3861
  }
3862
- .dokan-store-sidebar form.seller-form ul {
3863
  margin: 0;
3864
  padding: 0;
3865
  list-style: none;
3866
  }
3867
- .dokan-store-sidebar form.seller-form ul li {
3868
  margin-bottom: 8px;
3869
  }
3870
- .dokan-store-sidebar #dokan-store-location {
3871
  width: 100%;
3872
  height: 200px;
3873
  }
3874
- .dokan-seller-listing .dokan-seller-search-form {
3875
  margin: 30px 0px;
3876
  }
3877
- .dokan-seller-listing .dokan-seller-search-form input#search {
3878
- width: 30%;
 
 
 
 
 
 
 
 
 
 
3879
  }
3880
  .dokan-seller-listing {
3881
  position: relative;
@@ -4018,6 +4104,9 @@ div.media-sidebar a.edit-attachment {
4018
  padding: 15px 20px;
4019
  border-top: 1px solid #eee;
4020
  }
 
 
 
4021
  #dokan-seller-listing-wrap ul.dokan-seller-wrap li .store-footer .seller-avatar {
4022
  padding: 6px;
4023
  background: #fff;
@@ -4333,6 +4422,401 @@ div.media-sidebar a.edit-attachment {
4333
  display: inline-block;
4334
  padding: 0px 5px;
4335
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4336
  /*--------------------------------------------------
4337
  :: Responsive Styles
4338
  -------------------------------------------------- */
@@ -4347,11 +4831,33 @@ div.media-sidebar a.edit-attachment {
4347
  }
4348
  }
4349
  @media (max-width: 992px) {
 
 
 
 
 
 
 
 
 
 
 
 
 
4350
  .dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
4351
  max-width: 430px;
4352
  }
4353
  }
4354
  @media (max-width: 767px) {
 
 
 
 
 
 
 
 
 
4355
  .dokan-table {
4356
  border: none;
4357
  text-align: left;
@@ -4456,6 +4962,19 @@ div.media-sidebar a.edit-attachment {
4456
  }
4457
  }
4458
  @media (max-width: 430px) {
 
 
 
 
 
 
 
 
 
 
 
 
 
4459
  .dokan-dashboard .dokan-dash-sidebar,
4460
  .dokan-dashboard .dokan-dashboard-content {
4461
  float: none;
@@ -4465,12 +4984,22 @@ div.media-sidebar a.edit-attachment {
4465
  .dokan-dashboard .dokan-dashboard-content article {
4466
  overflow: scroll;
4467
  }
 
 
 
 
 
 
 
4468
  .dokan-dashboard .dashboard-content-area .dokan-announcement-widget .dokan-right {
4469
  float: right !important;
4470
  }
4471
  .dokan-dashboard .dashboard-content-area .dokan-announcement-widget .dokan-left {
4472
  float: left !important;
4473
  }
 
 
 
4474
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu:before,
4475
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu:after {
4476
  content: " ";
@@ -4486,9 +5015,43 @@ div.media-sidebar a.edit-attachment {
4486
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
4487
  padding: 12px 18px;
4488
  }
 
 
 
 
 
 
 
 
 
4489
  .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .product-listing-top ul.dokan-listing-filter {
4490
  width: 100%;
4491
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4492
  .dokan-dashboard .dokan-right,
4493
  .dokan-dashboard .dokan-left {
4494
  float: none !important;
@@ -4534,8 +5097,25 @@ div.media-sidebar a.edit-attachment {
4534
  .dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
4535
  max-width: 280px;
4536
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4537
  }
4538
  @media (max-width: 360px) {
 
 
 
4539
  .dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
4540
  max-width: 200px;
4541
  }
1066
  line-height: 1.5;
1067
  border-radius: 3px;
1068
  }
1069
+ .dokan-btn-round[class] {
1070
+ border-radius: 50%;
1071
+ width: 35px;
1072
+ height: 34px;
1073
+ font-size: 25px;
1074
+ line-height: 34px;
1075
+ }
1076
  .dokan-table {
1077
  width: 100%;
1078
  max-width: 100%;
1428
  }
1429
  .dokan-label {
1430
  display: inline;
1431
+ padding: 0.2em 0.6em 0.3em;
1432
  font-size: 75%;
1433
  font-weight: bold;
1434
  line-height: 1;
1436
  text-align: center;
1437
  white-space: nowrap;
1438
  vertical-align: baseline;
1439
+ border-radius: 0.25em;
1440
  }
1441
  a.dokan-label:hover,
1442
  a.dokan-label:focus {
1677
  float: left;
1678
  padding: 6px 12px;
1679
  margin-left: -1px;
1680
+ line-height: 1.42857143;
1681
  text-decoration: none;
1682
  background-color: #ffffff;
1683
  border: 1px solid #dddddd;
1691
  float: left;
1692
  padding: 6px 12px;
1693
  margin-left: -1px;
1694
+ line-height: 1.42857143;
1695
  text-decoration: none;
1696
  background-color: #ffffff;
1697
  border: 1px solid #dddddd;
2034
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.settings i.pull-right {
2035
  padding-top: 5px;
2036
  }
2037
+ .dokan-dashboard .dokan-dash-sidebar #dokan-navigation #toggle-mobile-menu {
2038
+ display: none;
2039
+ }
2040
+ .dokan-dashboard .dokan-dash-sidebar #dokan-navigation #mobile-menu-icon {
2041
+ display: none;
2042
+ }
2043
+ .dokan-dashboard .dokan-dash-sidebar #dokan-navigation > #mobile-menu-icon {
2044
+ font-size: 17px;
2045
+ color: #fff;
2046
+ position: absolute;
2047
+ top: 10px;
2048
+ right: 15px;
2049
+ width: 33px;
2050
+ z-index: 99999;
2051
+ cursor: pointer;
2052
+ -webkit-touch-callout: none;
2053
+ -webkit-user-select: none;
2054
+ -khtml-user-select: none;
2055
+ -moz-user-select: none;
2056
+ -ms-user-select: none;
2057
+ user-select: none;
2058
+ border: 1px solid #f0f0f0;
2059
+ border-radius: 3px;
2060
+ padding: 3px 8px;
2061
+ }
2062
+ .dokan-dashboard .dokan-dash-sidebar #dokan-navigation > input:checked + ul.dokan-dashboard-menu {
2063
+ display: block !important;
2064
+ background: #000;
2065
+ color: #fff;
2066
+ animation: showNav 350ms ease-in-out both;
2067
+ }
2068
+ @keyframes showNav {
2069
+ from {
2070
+ opacity: 0;
2071
+ }
2072
+ to {
2073
+ opacity: 1;
2074
+ }
2075
+ }
2076
+ @media only screen and (max-width: 450px) {
2077
+ .dokan-dashboard .dokan-dash-sidebar #dokan-navigation {
2078
+ background: #000;
2079
+ height: 48px;
2080
+ position: relative;
2081
+ }
2082
+ .dokan-dashboard .dokan-dash-sidebar #dokan-navigation #mobile-menu-icon {
2083
+ display: block !important;
2084
+ }
2085
+ .dokan-dashboard .dokan-dash-sidebar #dokan-navigation #toggle-mobile-menu {
2086
+ display: none !important;
2087
+ }
2088
+ .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu {
2089
+ display: none;
2090
+ height: auto !important;
2091
+ padding-top: 48px !important;
2092
+ }
2093
+ }
2094
  html,
2095
  body {
2096
  -webkit-backface-visibility: hidden;
2269
  .dokan-dashboard .dokan-dashboard-content .dokan-page-help p {
2270
  margin-bottom: 10px;
2271
  }
2272
+ .dokan-column-name-with-avatar {
2273
+ position: relative;
2274
+ padding-left: 46px !important;
2275
+ }
2276
+ .dokan-column-name-with-avatar img {
2277
+ position: absolute;
2278
+ top: 3px;
2279
+ left: 8px;
2280
+ border-radius: 50%;
2281
+ border: 1px solid #fff;
2282
+ box-shadow: 0 1px 0 0 #e0e0e0;
2283
+ }
2284
  .dokan-orders-content .dokan-orders-area .dokan-order-left-content {
2285
  margin-right: 3%;
2286
  }
3624
  background: #000;
3625
  top: 0;
3626
  left: 0;
3627
+ opacity: 0.7;
3628
  font-size: 70px;
3629
  text-align: center;
3630
  color: #f00;
3930
  .dokan-single-store .dokan-store-tabs ul li a:hover {
3931
  background: #eee;
3932
  }
3933
+ .dokan-store-widget input[type=text],
3934
+ .dokan-store-widget input[type=email],
3935
+ .dokan-store-widget textarea {
3936
  width: 100%;
3937
  }
3938
+ .dokan-store-widget form.seller-form ul {
3939
  margin: 0;
3940
  padding: 0;
3941
  list-style: none;
3942
  }
3943
+ .dokan-store-widget form.seller-form ul li {
3944
  margin-bottom: 8px;
3945
  }
3946
+ .dokan-store-widget #dokan-store-location {
3947
  width: 100%;
3948
  height: 200px;
3949
  }
3950
+ .dokan-seller-search-form {
3951
  margin: 30px 0px;
3952
  }
3953
+ .dokan-seller-search-form .dokan-w4 {
3954
+ padding: 0 15px;
3955
+ }
3956
+ .dokan-seller-search-form .dokan-w4 input[type=search],
3957
+ .dokan-seller-search-form .dokan-w4 select.dokan-form-control {
3958
+ height: 40px !important;
3959
+ border: 1px solid #e2e2e2 !important;
3960
+ box-shadow: none !important;
3961
+ border-radius: 4px !important;
3962
+ }
3963
+ .dokan-seller-search-form .dokan-w4 input[type=search] {
3964
+ background-position-y: 11px !important;
3965
  }
3966
  .dokan-seller-listing {
3967
  position: relative;
4104
  padding: 15px 20px;
4105
  border-top: 1px solid #eee;
4106
  }
4107
+ #dokan-seller-listing-wrap ul.dokan-seller-wrap li .store-footer a {
4108
+ text-decoration: none;
4109
+ }
4110
  #dokan-seller-listing-wrap ul.dokan-seller-wrap li .store-footer .seller-avatar {
4111
  padding: 6px;
4112
  background: #fff;
4422
  display: inline-block;
4423
  padding: 0px 5px;
4424
  }
4425
+ .dokan-login-form-popup-wrapper {
4426
+ width: 430px !important;
4427
+ padding: 16px !important;
4428
+ margin: 0 auto !important;
4429
+ }
4430
+ .dokan-login-form-popup-wrapper .dokan-login-form-title {
4431
+ border-bottom: 1px solid #ddd;
4432
+ padding-bottom: 15px;
4433
+ margin-bottom: 15px;
4434
+ }
4435
+ .dokan-login-form-popup-wrapper fieldset {
4436
+ padding: 0;
4437
+ border: 0;
4438
+ margin: 0;
4439
+ }
4440
+ .dokan-login-form-popup-wrapper .dokan-login-form-error {
4441
+ color: #d9534f;
4442
+ background-color: #f2dede;
4443
+ font-size: 0.9em;
4444
+ }
4445
+ .dokan-login-form-popup-wrapper .dokan-login-form-error.has-error {
4446
+ padding: 5px 8px;
4447
+ margin-bottom: 5px;
4448
+ }
4449
+ .dokan-popup-content {
4450
+ padding: 18px;
4451
+ }
4452
+ .dokan-popup-content .dokan-popup-title {
4453
+ border-bottom: 1px solid #eeeeee;
4454
+ padding-bottom: 10px;
4455
+ margin-bottom: 15px;
4456
+ line-height: 1;
4457
+ }
4458
+ .dokan-popup-content fieldset {
4459
+ padding: 0;
4460
+ margin: 0;
4461
+ border: 0;
4462
+ background: none;
4463
+ }
4464
+ .dokan-popup-content .mfp-close {
4465
+ top: 4px;
4466
+ right: 3px;
4467
+ }
4468
+ .dokan-popup-content .dokan-popup-option-list {
4469
+ list-style-type: none;
4470
+ padding: 0;
4471
+ margin: 10px 0;
4472
+ }
4473
+ .dokan-popup-content .dokan-popup-option-list li {
4474
+ margin: 0 0 3px;
4475
+ }
4476
+ .dokan-popup-content .dokan-popup-option-list li label.dokan-popup-block-label {
4477
+ display: block;
4478
+ margin: 0;
4479
+ cursor: pointer;
4480
+ }
4481
+ .dokan-popup-content .dokan-popup-option-list li label.dokan-popup-block-label input {
4482
+ margin: 0 4px 0 0;
4483
+ }
4484
+ .dokan-popup-content .dokan-popup-error {
4485
+ display: none;
4486
+ color: #d9534f;
4487
+ }
4488
+ .dokan-popup-content .dokan-popup-error.has-error {
4489
+ display: block;
4490
+ }
4491
+ #dokan-store-listing-filter-wrap {
4492
+ background: #ffffff;
4493
+ padding: 20px;
4494
+ box-shadow: 1px 1px 20px 0px #E9E9E9;
4495
+ display: flex;
4496
+ justify-content: space-between;
4497
+ flex-wrap: wrap;
4498
+ }
4499
+ #dokan-store-listing-filter-wrap .left .store-count {
4500
+ margin-top: 10px;
4501
+ }
4502
+ #dokan-store-listing-filter-wrap .right {
4503
+ display: flex;
4504
+ }
4505
+ #dokan-store-listing-filter-wrap .right .item {
4506
+ position: relative;
4507
+ }
4508
+ #dokan-store-listing-filter-wrap .right .item .dokan-store-list-filter-button {
4509
+ border-radius: 3px;
4510
+ }
4511
+ #dokan-store-listing-filter-wrap .right .item .dokan-icons {
4512
+ position: absolute;
4513
+ left: 14%;
4514
+ top: 30%;
4515
+ cursor: pointer;
4516
+ }
4517
+ #dokan-store-listing-filter-wrap .right .item .dokan-icons .dokan-icon-div {
4518
+ background: #fff;
4519
+ height: 2px;
4520
+ margin: 2px auto;
4521
+ }
4522
+ #dokan-store-listing-filter-wrap .right .item .dokan-icons .dokan-icon-div:nth-child(1) {
4523
+ width: 15px;
4524
+ }
4525
+ #dokan-store-listing-filter-wrap .right .item .dokan-icons .dokan-icon-div:nth-child(2) {
4526
+ width: 10px;
4527
+ }
4528
+ #dokan-store-listing-filter-wrap .right .item .dokan-icons .dokan-icon-div:nth-child(3) {
4529
+ width: 4px;
4530
+ }
4531
+ #dokan-store-listing-filter-wrap .right .item:not(:first-child) {
4532
+ padding-left: 40px;
4533
+ }
4534
+ #dokan-store-listing-filter-wrap .right .item button {
4535
+ padding-top: 8px;
4536
+ padding-bottom: 8px;
4537
+ padding-left: 35px;
4538
+ padding-right: 25px;
4539
+ }
4540
+ #dokan-store-listing-filter-wrap .right .item button:focus {
4541
+ outline: none;
4542
+ }
4543
+ #dokan-store-listing-filter-wrap .right .item select {
4544
+ background: #ffffff;
4545
+ border-color: #edecec;
4546
+ -webkit-appearance: none;
4547
+ -moz-appearance: none;
4548
+ appearance: none;
4549
+ padding: 8px 20px;
4550
+ }
4551
+ #dokan-store-listing-filter-wrap .right .item select:before {
4552
+ content: "\f140";
4553
+ }
4554
+ #dokan-store-listing-filter-wrap .right .item select:focus {
4555
+ outline: none;
4556
+ }
4557
+ #dokan-store-listing-filter-wrap .right .toggle-view {
4558
+ margin-top: 8px;
4559
+ }
4560
+ #dokan-store-listing-filter-wrap .right .toggle-view .dashicons {
4561
+ font-size: 22px;
4562
+ cursor: pointer;
4563
+ }
4564
+ #dokan-store-listing-filter-wrap .right .toggle-view .active {
4565
+ color: #ee5035;
4566
+ }
4567
+ #dokan-store-listing-filter-form-wrap {
4568
+ background: #ffffff;
4569
+ margin-top: 25px;
4570
+ padding: 20px;
4571
+ box-shadow: 1px 1px 20px 0px #E9E9E9;
4572
+ }
4573
+ #dokan-store-listing-filter-form-wrap:before {
4574
+ content: "\f142";
4575
+ position: relative;
4576
+ top: -35px;
4577
+ transform: translate(45%, 0);
4578
+ left: 45%;
4579
+ display: inline-block;
4580
+ -webkit-font-smoothing: antialiased;
4581
+ font-family: 'dashicons';
4582
+ vertical-align: top;
4583
+ font-size: 60px;
4584
+ color: #ffffff;
4585
+ font-weight: bold;
4586
+ }
4587
+ #dokan-store-listing-filter-form-wrap .store-search .store-search-input {
4588
+ width: 100%;
4589
+ padding: 10px 20px;
4590
+ border-radius: 3px;
4591
+ margin-top: -11px;
4592
+ border: 1px solid #cccccc;
4593
+ }
4594
+ #dokan-store-listing-filter-form-wrap .store-search .store-search-input:placeholder {
4595
+ color: #7e7e7ec9;
4596
+ }
4597
+ #dokan-store-listing-filter-form-wrap .store-search .store-search-input:focus {
4598
+ outline: none;
4599
+ border-color: #8080809e;
4600
+ }
4601
+ #dokan-store-listing-filter-form-wrap .apply-filter {
4602
+ display: flex;
4603
+ justify-content: flex-end;
4604
+ margin-top: 20px;
4605
+ }
4606
+ #dokan-store-listing-filter-form-wrap .apply-filter #cancel-filter-btn {
4607
+ padding: 8px 25px;
4608
+ border-radius: 3px;
4609
+ background: #fff !important;
4610
+ color: #000 !important;
4611
+ border-color: #edecec !important;
4612
+ margin-right: 20px;
4613
+ display: none;
4614
+ }
4615
+ #dokan-store-listing-filter-form-wrap .apply-filter #cancel-filter-btn:focus {
4616
+ outline: none;
4617
+ }
4618
+ #dokan-store-listing-filter-form-wrap .apply-filter #apply-filter-btn {
4619
+ padding: 8px 25px;
4620
+ border-radius: 3px;
4621
+ }
4622
+ #dokan-store-listing-filter-form-wrap .apply-filter #apply-filter-btn:focus {
4623
+ outline: none;
4624
+ }
4625
+ .site-content .entry-header .entry-title[class] {
4626
+ border: none;
4627
+ }
4628
+ #dokan-seller-listing-wrap.grid-view .store-wrapper {
4629
+ position: relative;
4630
+ }
4631
+ #dokan-seller-listing-wrap.grid-view .store-content {
4632
+ position: absolute;
4633
+ top: 0;
4634
+ left: 0;
4635
+ z-index: 9;
4636
+ width: 100%;
4637
+ height: 100%;
4638
+ background: rgba(0, 0, 0, 0.45);
4639
+ color: #fff;
4640
+ }
4641
+ #dokan-seller-listing-wrap.grid-view .store-content.default-store-banner {
4642
+ background: transparent;
4643
+ }
4644
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container {
4645
+ padding: 5px 20px;
4646
+ }
4647
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .featured-favourite {
4648
+ position: relative;
4649
+ top: 10px;
4650
+ }
4651
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .featured-favourite .featured-label {
4652
+ width: 80px;
4653
+ padding: 2px 10px;
4654
+ background: #2d54a3;
4655
+ color: #fff;
4656
+ border-radius: 3px;
4657
+ box-shadow: 0px 0px 25px -5px #afafaf;
4658
+ }
4659
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .store-data h2 a {
4660
+ color: #fff;
4661
+ text-shadow: rgba(0, 0, 0, 0.8) 0 1px 0;
4662
+ }
4663
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .store-data h2 a:active,
4664
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .store-data h2 a:focus {
4665
+ text-decoration: none;
4666
+ outline: none;
4667
+ }
4668
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .store-data .star-rating {
4669
+ float: none;
4670
+ margin: 12px 0px 10px;
4671
+ }
4672
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .store-data .star-rating:before {
4673
+ font-family: star;
4674
+ }
4675
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .store-data .star-rating span:before {
4676
+ font-family: star;
4677
+ color: #fa9a00;
4678
+ }
4679
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .store-data .star-rating p.rating {
4680
+ display: none !important;
4681
+ }
4682
+ #dokan-seller-listing-wrap.grid-view .store-content .store-data-container .store-data .store-address {
4683
+ line-height: 23px;
4684
+ }
4685
+ #dokan-seller-listing-wrap.grid-view .store-footer {
4686
+ background: #fff;
4687
+ position: relative;
4688
+ z-index: 99;
4689
+ }
4690
+ #dokan-seller-listing-wrap.grid-view .store-footer a:active,
4691
+ #dokan-seller-listing-wrap.grid-view .store-footer a:focus {
4692
+ outline: none;
4693
+ text-decoration: none;
4694
+ }
4695
+ #dokan-seller-listing-wrap.grid-view .store-footer .dokan-btn-theme.dokan-btn-round {
4696
+ margin-right: 10px;
4697
+ }
4698
+ #dokan-seller-listing-wrap .seller-listing-content .dokan-error {
4699
+ margin: 15px;
4700
+ }
4701
+ #dokan-seller-listing-wrap .dokan-single-seller .store-wrapper .store-header .store-banner {
4702
+ min-height: 220px;
4703
+ position: relative;
4704
+ }
4705
+ #dokan-seller-listing-wrap .dokan-single-seller .store-wrapper .store-header .store-banner img {
4706
+ position: absolute;
4707
+ left: 0;
4708
+ top: 0;
4709
+ max-width: 100%;
4710
+ height: 100%;
4711
+ width: -moz-available;
4712
+ width: -webkit-fill-available;
4713
+ width: fill-available;
4714
+ }
4715
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller {
4716
+ width: 100%;
4717
+ }
4718
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper {
4719
+ display: flex;
4720
+ flex-wrap: wrap;
4721
+ align-items: center;
4722
+ padding: 0px 50px 0px 0px;
4723
+ background: #fff;
4724
+ border-radius: 3px;
4725
+ }
4726
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-header .store-banner {
4727
+ min-height: 140px;
4728
+ }
4729
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-header .store-banner img {
4730
+ margin-left: -15px;
4731
+ border-top-left-radius: 3px;
4732
+ border-bottom-left-radius: 3px;
4733
+ }
4734
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .featured-favourite .featured-label {
4735
+ width: 60px;
4736
+ padding: 0px 5px;
4737
+ background: #2d54a3;
4738
+ color: #fff;
4739
+ border-radius: 3px;
4740
+ box-shadow: 0px 0px 25px -5px #afafaf;
4741
+ font-size: 12px;
4742
+ }
4743
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data h2 {
4744
+ margin-top: 0;
4745
+ margin-bottom: 15px;
4746
+ }
4747
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data h2 a {
4748
+ color: #000;
4749
+ }
4750
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data h2 a:active,
4751
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data h2 a:focus {
4752
+ text-decoration: none;
4753
+ outline: none;
4754
+ }
4755
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data .dokan-seller-rating[class] {
4756
+ overflow: visible;
4757
+ left: 25%;
4758
+ z-index: 1;
4759
+ top: -10px;
4760
+ min-width: 85px;
4761
+ font-family: 'Open Sans', sans-serif;
4762
+ color: gray;
4763
+ }
4764
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data .dokan-seller-rating[class] p.rating {
4765
+ margin-top: 22px;
4766
+ }
4767
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data .dokan-seller-rating[class]:before {
4768
+ font-family: star;
4769
+ }
4770
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data .dokan-seller-rating[class] span:before {
4771
+ font-family: star;
4772
+ color: #fa9a00;
4773
+ }
4774
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data .store-address {
4775
+ margin-top: 5px;
4776
+ display: inline;
4777
+ font-size: 15px;
4778
+ }
4779
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data .store-address:before {
4780
+ content: "\f230";
4781
+ font-family: dashicons;
4782
+ color: #0bb90b;
4783
+ font-size: 22px;
4784
+ position: relative;
4785
+ top: 5px;
4786
+ left: -5px;
4787
+ }
4788
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data .store-address br {
4789
+ display: none;
4790
+ }
4791
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-content .store-data-container .store-data .store-phone {
4792
+ display: none;
4793
+ }
4794
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper > div {
4795
+ flex-basis: 37.5%;
4796
+ max-width: 37.5%;
4797
+ padding: 0 15px;
4798
+ }
4799
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-header {
4800
+ flex-basis: 25%;
4801
+ }
4802
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] {
4803
+ display: flex;
4804
+ flex-direction: row-reverse;
4805
+ border: none;
4806
+ text-align: right;
4807
+ background: #fff;
4808
+ }
4809
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] a:active,
4810
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] a:focus {
4811
+ outline: none;
4812
+ text-decoration: none;
4813
+ }
4814
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] .seller-avatar {
4815
+ display: none;
4816
+ }
4817
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer[class] button {
4818
+ margin-right: 20px;
4819
+ }
4820
  /*--------------------------------------------------
4821
  :: Responsive Styles
4822
  -------------------------------------------------- */
4831
  }
4832
  }
4833
  @media (max-width: 992px) {
4834
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper {
4835
+ padding: 0px 10px 0px 0px;
4836
+ }
4837
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-header .store-banner {
4838
+ min-height: 120px;
4839
+ }
4840
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-content .store-data-container .store-data h2 {
4841
+ font-size: 20px;
4842
+ margin-bottom: 5px;
4843
+ }
4844
+ #dokan-seller-listing-wrap.list-view .dokan-seller-wrap .dokan-single-seller .store-content .store-data-container .store-data .store-address {
4845
+ font-size: 14px !important;
4846
+ }
4847
  .dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
4848
  max-width: 430px;
4849
  }
4850
  }
4851
  @media (max-width: 767px) {
4852
+ #dokan-store-listing-filter-wrap .left .store-count {
4853
+ margin-top: -5px;
4854
+ }
4855
+ #dokan-store-listing-filter-wrap .right .item:not(:first-child) {
4856
+ padding-left: 50px;
4857
+ }
4858
+ #dokan-store-listing-filter-wrap .toggle-view {
4859
+ display: none;
4860
+ }
4861
  .dokan-table {
4862
  border: none;
4863
  text-align: left;
4962
  }
4963
  }
4964
  @media (max-width: 430px) {
4965
+ #dokan-store-listing-filter-form-wrap:before {
4966
+ left: -5%;
4967
+ }
4968
+ #dokan-store-listing-filter-form-wrap .right .item:not(:first-child) {
4969
+ padding: 0;
4970
+ margin-left: 50px;
4971
+ }
4972
+ .apply-filter {
4973
+ margin-top: 20px;
4974
+ }
4975
+ .apply-filter #cancel-filter-btn {
4976
+ display: block !important;
4977
+ }
4978
  .dokan-dashboard .dokan-dash-sidebar,
4979
  .dokan-dashboard .dokan-dashboard-content {
4980
  float: none;
4984
  .dokan-dashboard .dokan-dashboard-content article {
4985
  overflow: scroll;
4986
  }
4987
+ .dokan-dashboard .dokan-dash-sidebar .dokan-settings-area .dokan-banner,
4988
+ .dokan-dashboard .dokan-dashboard-content .dokan-settings-area .dokan-banner {
4989
+ width: auto !important;
4990
+ height: auto !important;
4991
+ margin: 0 !important;
4992
+ margin-bottom: 15px !important;
4993
+ }
4994
  .dokan-dashboard .dashboard-content-area .dokan-announcement-widget .dokan-right {
4995
  float: right !important;
4996
  }
4997
  .dokan-dashboard .dashboard-content-area .dokan-announcement-widget .dokan-left {
4998
  float: left !important;
4999
  }
5000
+ .dokan-dashboard .dashboard-content-area .dokan-dash-left {
5001
+ padding-right: 0 !important;
5002
+ }
5003
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu:before,
5004
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu:after {
5005
  content: " ";
5015
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
5016
  padding: 12px 18px;
5017
  }
5018
+ .dokan-dashboard .dokan-orders-area .dokan-order-filter-serach {
5019
+ padding: 10px 0 10px 0;
5020
+ }
5021
+ .dokan-dashboard .dokan-orders-area .dokan-order-filter-serach .dokan-btn {
5022
+ padding: 6px 13px;
5023
+ }
5024
+ .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .product-listing-top {
5025
+ border-bottom: 0;
5026
+ }
5027
  .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .product-listing-top ul.dokan-listing-filter {
5028
  width: 100%;
5029
  }
5030
+ .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .product-listing-top .dokan-add-product-link {
5031
+ display: flex;
5032
+ justify-content: space-between;
5033
+ width: auto;
5034
+ float: none;
5035
+ }
5036
+ .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-date-filter {
5037
+ display: flex;
5038
+ justify-content: space-between;
5039
+ }
5040
+ .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-date-filter .dokan-form-group {
5041
+ margin-bottom: 0;
5042
+ }
5043
+ .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-search-form {
5044
+ display: flex;
5045
+ justify-content: space-between;
5046
+ margin-top: 15px;
5047
+ }
5048
+ .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-search-form .dokan-form-group {
5049
+ margin-bottom: 0;
5050
+ margin-right: 0;
5051
+ }
5052
+ .dokan-dashboard .dokan-product-listing .dokan-product-listing-area #product-filter .dokan-form-group {
5053
+ margin-top: 15px;
5054
+ }
5055
  .dokan-dashboard .dokan-right,
5056
  .dokan-dashboard .dokan-left {
5057
  float: none !important;
5097
  .dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
5098
  max-width: 280px;
5099
  }
5100
+ .dokan-seller-wrap .dokan-single-seller .store-wrapper .store-footer {
5101
+ display: flex;
5102
+ }
5103
+ }
5104
+ @media (max-width: 375px) {
5105
+ .dokan-order-filter-serach form:first-child .dokan-form-group {
5106
+ display: flex;
5107
+ }
5108
+ #dokan-store-listing-filter-wrap .right .item:not(:first-child) {
5109
+ padding-left: 35px;
5110
+ }
5111
+ #dokan-store-listing-filter-wrap .right .item #stores_orderby {
5112
+ padding: 8px 0px 8px 16px;
5113
+ }
5114
  }
5115
  @media (max-width: 360px) {
5116
+ #dokan-store-listing-filter-wrap .right .item:not(:first-child) {
5117
+ padding-left: 20px;
5118
+ }
5119
  .dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
5120
  max-width: 200px;
5121
  }
assets/css/vue-admin.css CHANGED
@@ -1,2 +1,2 @@
1
- .dokan-dashboard .widgets-wrapper{display:block;overflow:hidden;margin-top:15px;width:100%}.dokan-dashboard .widgets-wrapper .left-side,.dokan-dashboard .widgets-wrapper .right-side{float:left;width:48%}.dokan-dashboard .widgets-wrapper .left-side{margin-right:3%}.dokan-dashboard .dokan-postbox .loading{display:block;width:100%;margin:15px auto;text-align:center}.dokan-dashboard .subscribe-box{margin:20px -12px -11px;padding:0 15px 15px;background:#fafafa;border-top:1px solid #efefef;position:relative}.dokan-dashboard .subscribe-box h3{margin:10px 0}.dokan-dashboard .subscribe-box p{margin-bottom:10px!important}.dokan-dashboard .subscribe-box .thank-you{background:#4fa72b;margin-top:10px;padding:15px;border-radius:3px;color:#fff}.dokan-dashboard .subscribe-box .form-wrap{display:flex}.dokan-dashboard .subscribe-box .form-wrap input[type=email]{width:100%;padding:3px 0 3px 6px;margin:0 -1px 0 0}.dokan-dashboard .subscribe-box .form-wrap button.button{box-shadow:none;background:#ff5722;color:#fff;border-color:#ff5722;border-top-left-radius:0;border-bottom-left-radius:0}.dokan-dashboard .subscribe-box .form-wrap button.button:hover{background:#ff6a3c}.dokan-dashboard .subscribe-box .loading{position:absolute;height:100%;margin:0 0 0 -15px;background:rgba(0,0,0,.2)}.dokan-dashboard .subscribe-box .loading .dokan-loader{margin-top:30px}.withdraw-requests .dokan-modal .modal-body{min-height:130px}.withdraw-requests .dokan-modal .modal-body textarea{width:100%}.withdraw-requests .image{width:10%}.withdraw-requests .seller{width:20%}.withdraw-requests td.seller img{float:left;margin-right:10px;margin-top:1px;width:24px;height:auto}.withdraw-requests td.seller strong{display:block;margin-bottom:.2em;font-size:14px}.withdraw-requests td.actions,.withdraw-requests th.actions{width:120px}.withdraw-requests td.status span{line-height:2.5em;padding:5px 8px;border-radius:4px}.withdraw-requests td.status .approved{background:#c6e1c6;color:#5b841b}.withdraw-requests td.status .pending{background:#f8dda7;color:#94660c}.withdraw-requests td.status .cancelled{background:#eba3a3;color:#761919}.dokan-pro-features{font-family:Open Sans,sans-serif;margin:-10px -20px 0 -22px}.dokan-pro-features a{transition:all .2s ease}.dokan-pro-features .section-title{text-align:center;color:#2e2c2c;font-size:30px;line-height:1.5em;font-weight:400;position:relative;margin:0 0 58px}.dokan-pro-features .section-title:after{content:"";position:absolute;bottom:-21px;left:50%;transform:translateX(-50%);width:38px;height:5px;border-radius:3px;background-color:#f2624d}.dokan-pro-features .header-section{background-color:#f2f2f2;color:#3f4143;font-size:16px;display:flex;align-items:center;padding:0 8%;border-bottom:1px solid #eee}@media (min-width:1281px){.dokan-pro-features .header-section{padding:0 24%}}.dokan-pro-features .header-section .feature-thumb img{width:233px;margin:-20px 0 -30px}.dokan-pro-features .header-section .content-area{padding-left:10%}.dokan-pro-features .header-section .content-area h1{font-size:27px;line-height:1.5em;color:#2e2c2c}.dokan-pro-features .header-section .content-area p{font-size:16px;line-height:1.5em;font-weight:300;margin:0;letter-spacing:.5px}.dokan-pro-features .service-section{text-align:center;padding:73px 30px 85px;background-color:#f7f8f9}@media (min-width:1281px){.dokan-pro-features .service-section{padding-left:20%;padding-right:20%}}.dokan-pro-features .service-section .service-list{display:flex;flex-wrap:wrap}.dokan-pro-features .service-section .service-list .service-box{flex:0 0 28.9%;margin:2.2%;text-align:center;border-radius:5px;background-color:#fff}.dokan-pro-features .service-section .service-list .service-box .service-thumb img{border-radius:5px 5px 0 0;max-width:100%}.dokan-pro-features .service-section .service-list .service-box .service-detail{padding:20px 25px 25px}.dokan-pro-features .service-section .service-list .service-box .service-detail h3{color:#3f4143;font-size:15px;line-height:1.5em;font-weight:300;margin:0}.dokan-pro-features .service-section .btn{font-size:16px;line-height:1.5em;font-weight:300;color:#ffff;background-color:#3984b5;border:1px solid #226b9b;border-radius:3px;text-decoration:none;padding:13px 28px;display:inline-block;margin-top:52px;transition:all .2s ease}.dokan-pro-features .service-section .btn:hover{box-shadow:2.736px 7.518px 20px 0 rgba(0,0,0,.15)}.dokan-pro-features .service-section .btn svg{width:15px;fill:#fff;margin-left:5px}.dokan-pro-features .comparison-section{background-color:#f1f1f1;padding:75px}@media (min-width:1281px){.dokan-pro-features .comparison-section{padding-left:21.2%;padding-right:21.2%}}.dokan-pro-features .comparison-section .section-title{margin-bottom:90px}.dokan-pro-features .comparison-section .comparison-area{display:flex;justify-content:space-between}.dokan-pro-features .comparison-section .comparison-area .compare-box{flex:0 0 48%;background-color:#fff;border:1px solid #e0e9ec;border-radius:5px;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);padding:50px;box-sizing:border-box}.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section{margin-bottom:58px;position:relative}.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section:after{content:"";position:absolute;bottom:-23px;left:0;width:38px;height:5px;border-radius:3px;background-color:#d7d7d7}.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section img{width:120px}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list{margin:0}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li{font-size:15px;line-height:1.5em;font-weight:300;color:#66676e;margin-bottom:28px;position:relative;display:flex;align-items:center}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li:last-child{margin-bottom:0}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li img{width:21px;margin-right:12px}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li.unavailable{color:#ccced5}.dokan-pro-features .pricing-section{background-color:#f7f8f9;padding:85px 0 62px}.dokan-pro-features .pricing-section .section-title{margin-bottom:120px}.dokan-pro-features .pricing-section .pricing-wrapper{padding:0 4.5%}@media (min-width:1281px){.dokan-pro-features .pricing-section .pricing-wrapper{padding-left:21%;padding-right:21%}}.dokan-pro-features .pricing-section .table-row{display:flex}.dokan-pro-features .pricing-section .table-row:first-child .table-col:first-child{background-color:transparent;border-color:transparent;border-radius:3px 3px 0 0}.dokan-pro-features .pricing-section .table-row:first-child .table-col:nth-child(2){border-radius:3px 0 0 0}.dokan-pro-features .pricing-section .table-row:first-child .table-col:last-child{border-radius:0 3px 0 0}.dokan-pro-features .pricing-section .table-row:first-child .table-col.popular{position:relative}.dokan-pro-features .pricing-section .table-row:first-child .table-col.popular:before{position:absolute;top:-28px;left:0;width:100%;content:"Most Popular";color:#23282d;font-size:14px;line-height:1.4em;background-color:#fc0;border-radius:3px 3px 0 0;padding:5px;box-sizing:border-box}.dokan-pro-features .pricing-section .table-row:nth-child(2) .table-col:first-child{border-radius:3px 3px 0 0}.dokan-pro-features .pricing-section .table-row:nth-last-child(2) .table-col:first-child{border-radius:0 0 5px 5px;border-bottom:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row:last-child .table-col{border-bottom:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row:last-child .table-col:first-child{border-radius:0 0 5px 5px;background-color:transparent;border-color:transparent}.dokan-pro-features .pricing-section .table-row:last-child .table-col:nth-child(2){border-radius:0 0 0 5px}.dokan-pro-features .pricing-section .table-row:last-child .table-col:last-child{border-radius:0 0 5px 0}.dokan-pro-features .pricing-section .table-row .table-col{width:18.5%;text-align:center;border:1px solid #e7eaeb;padding:18px;background-color:#fff;border-bottom:0;border-left:0;border-right:0}.dokan-pro-features .pricing-section .table-row .table-col:first-child{width:25%;margin-right:2%;text-align:left;border-left:1px solid #e7eaeb;border-right:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row .table-col:nth-child(2){border-left:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row .table-col:last-child{border-left:1px solid #e7eaeb;border-right:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row .table-col.popular{z-index:1;box-shadow:1px 10px 30px 0 rgba(215,223,254,.5)}.dokan-pro-features .pricing-section .table-row .table-col .module-name{color:#157ef5;font-size:14px;line-height:1.5em;font-weight:300;text-decoration:none}.dokan-pro-features .pricing-section .table-row .table-col .plan-data{font-size:15px;color:#3f4143}.dokan-pro-features .pricing-section .table-row .table-col .plan-data img{display:block;margin:0 auto;width:23px}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn{font-size:14px;font-weight:300;border-radius:3px;padding:13px 34px;color:#fff;text-decoration:none;margin:25px 0 14px;display:inline-block;transition:all .2s ease}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn:hover{box-shadow:1px 10px 30px 0 rgba(215,223,254,.5)}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.starter{background-color:#00bcff}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.professional{background-color:#2bc66d}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.business{background-color:#795dff}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.enterprise{background-color:#ff5956}.dokan-pro-features .pricing-section .plan-name{display:inline-block;background:#000;color:#fff;font-size:14px;font-weight:300;line-height:1.4em;border-radius:25px;padding:5px 20px;min-width:95px;box-sizing:border-box;margin:26px 0 20px}.dokan-pro-features .pricing-section .plan-name.starter{background-color:#00bcff}.dokan-pro-features .pricing-section .plan-name.professional{background-color:#2bc66d}.dokan-pro-features .pricing-section .plan-name.business{background-color:#795dff}.dokan-pro-features .pricing-section .plan-name.enterprise{background-color:#ff5956}.dokan-pro-features .pricing-section .price{margin-bottom:15px}.dokan-pro-features .pricing-section .price span{font-size:14px;line-height:1.2em;font-weight:300;color:#b8bbbe;display:block}.dokan-pro-features .pricing-section .price span:first-child{font-size:28px;line-height:1.5em;font-weight:400;color:#23282d}.dokan-pro-features .pricing-section .price span:first-child sup{font-size:14px}.dokan-pro-features .payment-section{display:flex;background:#fff;justify-content:space-between;padding:20px 65px 15px;align-items:center}@media (min-width:1281px){.dokan-pro-features .payment-section{padding-left:21%;padding-right:21%}}.dokan-pro-features .payment-section .guarantee-section{display:flex;flex:0 0 70%;align-content:center;align-items:center;position:relative}.dokan-pro-features .payment-section .guarantee-section:after{content:"";position:absolute;right:-18px;top:50%;transform:translateY(-50%);width:5px;height:38px;border-radius:3px;background-color:#f1f1f1}.dokan-pro-features .payment-section .guarantee-section .feature-thumb img{max-width:100%;width:160px}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail{padding-left:25px}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail h2{font-size:24px;line-height:1.5em;color:#2e2c2c;font-weight:400;margin:0}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail p{color:#66676e;font-size:15px;line-height:1.5em;font-weight:300;margin:5px 0 20px}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail a{color:#f2624d;font-size:15px;line-height:1.5em;text-decoration:none}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail a img{width:18px;margin-right:4px}.dokan-pro-features .payment-section .payment-area h3{font-size:15px;font-weight:300;color:#66676e;margin:0 0 17px}.dokan-pro-features .payment-section .payment-area .option img{max-width:100%}.dokan-pro-features .testimonial-section{background-color:#f1f1f1;padding:75px 0 70px;text-align:center}.dokan-pro-features .testimonial-section .section-title{margin-bottom:75px}.dokan-pro-features .testimonial-section .testimonial-wrapper{width:80%;text-align:center;margin:0 auto}@media only screen and (min-width:1281px){.dokan-pro-features .testimonial-section .testimonial-wrapper{width:55%}}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .profile-pic{width:70px;height:70px;border:5px solid #fff;border-radius:50%;background-color:#fff;box-shadow:0 1px 16px 0 rgba(0,0,0,.16);margin:0 auto -35px;z-index:1;position:relative}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .profile-pic img{border-radius:50%;max-width:100%}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail{background-color:#fff;color:#000;border-radius:5px;border:1px solid #e0e9ec;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);padding:50px 30px 30px;background-repeat:no-repeat;background-position:40px 40px}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail h4{font-size:18px;line-height:1.444;color:#f2624d;font-weight:400;margin-top:0;margin-bottom:5px}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail span{font-size:15px;line-height:1.444;font-weight:300;color:#66676e;margin-bottom:20px;display:inline-block}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail p{color:#2e2c2c;font-size:14px;line-height:1.9em;font-weight:300}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots{text-align:center;margin:40px 0 25px}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0 5px;padding:0;cursor:pointer}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li.slick-active button:before{background-color:#3f4143}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li button{position:relative;font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:none;background:transparent}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li button:before{position:absolute;top:0;left:0;width:21px;height:5px;content:"";text-align:center;background-color:#d6d6d6;border-radius:30px}.dokan-pro-features .testimonial-section p{color:#262626;font-size:16px;line-height:1.5em;font-weight:300}.dokan-pro-features .testimonial-section p a{color:#8263f7;text-decoration:none}.dokan-pro-features .cta-section{background-image:linear-gradient(15deg,#ff7d90,#ffad6f);background-repeat:no-repeat;background-position:50%;background-size:contain;text-align:center;padding:35px 75px 40px;color:#fff}.dokan-pro-features .cta-section img{width:60px;border-radius:50%;box-shadow:0 3px 70px 0 rgba(126,17,0,.35)}.dokan-pro-features .cta-section h2{font-size:30px;color:#fff;font-weight:400;line-height:1.333em;text-align:center;margin:10px 0;text-shadow:0 1px 2px hsla(0,0%,100%,.31)}.dokan-pro-features .cta-section p{font-size:16px;line-height:1.5em;font-weight:300;margin:10px 0 30px}.dokan-pro-features .cta-section .btn{background-color:#fff;color:#f2624d;font-size:16px;line-height:1.538em;font-weight:300;border:1px solid #ff9381;border-radius:3px;box-shadow:0 1px 2px 0 rgba(255,128,142,.05);display:inline-block;text-decoration:none;padding:12px 27px}.dokan-pro-features .cta-section .btn:hover{box-shadow:2.736px 7.518px 20px 0 rgba(0,0,0,.15)}.dokan-pro-features .cta-section .btn svg{width:15px;fill:#f2624d;margin-left:6px}.dokan-help-page .section-wrapper{margin-top:15px}.dokan-help-page .section-wrapper .dokan-postbox{width:calc(33% - 2em);margin:0 2% 15px 0;float:left}.dokan-help-page .section-wrapper .dokan-postbox:nth-child(3n+1){clear:both}.dokan-help-page .section-wrapper .dokan-postbox .dashicons{color:#ccc}.dokan-help-page .section-wrapper .dokan-postbox a{text-decoration:none}.dokan-help-page .section-wrapper .dokan-postbox .inside,.dokan-help-page .section-wrapper .dokan-postbox ul{margin-bottom:0}.dokan-help-page .loading{width:100%;text-align:center;margin-top:100px}.dokan-settings-wrap{position:relative;display:flex;border:1px solid #c8d7e1}.dokan-settings-wrap .loading{position:absolute;width:100%;height:100%;background:hsla(0,0%,100%,.6)}.dokan-settings-wrap .loading .dokan-loader{top:40%;left:45%}.dokan-settings-wrap .dashicons{padding-top:2px;margin-right:5px}.dokan-settings-wrap .dashicons.dashicons-admin-generic{color:#6c75ff}.dokan-settings-wrap .dashicons.dashicons-cart{color:#00aeff}.dokan-settings-wrap .dashicons.dashicons-money{color:#d35400}.dokan-settings-wrap .dashicons.dashicons-admin-page{color:#8e44ad}.dokan-settings-wrap .dashicons.dashicons-admin-appearance{color:#3498db}.dokan-settings-wrap .dashicons.dashicons-networking{color:#1abc9c}.dokan-settings-wrap h2.nav-tab-wrapper{flex:1;border-bottom:none;padding:0;background:#f1f1f1;border-right:1px solid #c8d7e1}.dokan-settings-wrap h2.nav-tab-wrapper a{float:none;display:block;margin:0;border:none;padding:13px;background:#f1f1f1;font-weight:500;border-bottom:1px solid #c8d7e1;transition-property:none;transition:none}.dokan-settings-wrap h2.nav-tab-wrapper a.nav-tab-active{background:#fff!important;border-right:1px solid #c8d7e1;width:99%;color:#2e4453;transition:none;transition-property:none}.dokan-settings-wrap .metabox-holder{flex:3;padding-left:3%;padding-right:10px;background:#fff}.dokan-settings-wrap .radio-image-container .radio-image{display:block;width:50%;background:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:0 0 15px;position:relative;line-height:0;border:1px solid #ededed;padding:4px}.dokan-settings-wrap .radio-image-container .radio-image img{max-width:100%;z-index:1}.dokan-settings-wrap .radio-image-container .radio-image .current-option-indicator{position:absolute;top:0;right:0;background-color:#4caf50;color:#fff;padding:4px;z-index:2;line-height:1.4}.dokan-settings-wrap .radio-image-container .radio-image .active-option{opacity:0;position:absolute;top:0;left:0;z-index:3;width:100%;height:100%;background-color:rgba(0,0,0,.45);transition:opacity .4s ease}.dokan-settings-wrap .radio-image-container .radio-image .active-option button{position:absolute;top:50%;left:50%;margin-top:-23px;margin-left:-58px}.dokan-settings-wrap .radio-image-container .radio-image:hover .active-option{opacity:1}.dokan-settings-wrap .radio-image-container .radio-image.active .active-option,.dokan-settings-wrap .radio-image-container .radio-image.not-active .current-option-indicator{display:none}.dokan-settings-wrap .radio-image-container label{display:block;margin-bottom:5px}.dokan-settings-wrap .radio-image-container label>input[type=radio]{visibility:hidden;position:absolute}.dokan-settings-wrap .radio-image-container label>img{max-width:100%}.color-picker-container .color-picker-button[data-v-01dc0d51]{height:24px;padding:0 0 0 30px;margin:0 0 6px;font-size:11px}.color-picker-container .color-picker-button span[data-v-01dc0d51]{display:block;padding:0 6px;line-height:22px;color:#555;text-align:center;background:#f7f7f7;border-left:1px solid #ccc;border-radius:0 2px 2px 0}.color-picker-container .hex-input[data-v-01dc0d51]{width:65px;padding:3px 5px 4px;margin:0 3 0 0;font-family:monospace;font-size:12px;line-height:1.4;vertical-align:top;box-shadow:0 1px 0 #ccc}
2
  /*# sourceMappingURL=vue-admin.css.map */
1
+ .dokan-dashboard .widgets-wrapper{display:block;overflow:hidden;margin-top:15px;width:100%}.dokan-dashboard .widgets-wrapper .left-side,.dokan-dashboard .widgets-wrapper .right-side{float:left;width:48%}.dokan-dashboard .widgets-wrapper .left-side{margin-right:3%}.dokan-dashboard .dokan-postbox .loading{display:block;width:100%;margin:15px auto;text-align:center}.dokan-dashboard .subscribe-box{margin:20px -12px -11px;padding:0 15px 15px;background:#fafafa;border-top:1px solid #efefef;position:relative}.dokan-dashboard .subscribe-box h3{margin:10px 0}.dokan-dashboard .subscribe-box p{margin-bottom:10px!important}.dokan-dashboard .subscribe-box .thank-you{background:#4fa72b;margin-top:10px;padding:15px;border-radius:3px;color:#fff}.dokan-dashboard .subscribe-box .form-wrap{display:flex}.dokan-dashboard .subscribe-box .form-wrap input[type=email]{width:100%;padding:3px 0 3px 6px;margin:0 -1px 0 0}.dokan-dashboard .subscribe-box .form-wrap button.button{box-shadow:none;background:#ff5722;color:#fff;border-color:#ff5722;border-top-left-radius:0;border-bottom-left-radius:0}.dokan-dashboard .subscribe-box .form-wrap button.button:hover{background:#ff6a3c}.dokan-dashboard .subscribe-box .loading{position:absolute;height:100%;margin:0 0 0 -15px;background:rgba(0,0,0,.2)}.dokan-dashboard .subscribe-box .loading .dokan-loader{margin-top:30px}@media only screen and (max-width:770px){.dokan-dashboard .widgets-wrapper .left-side{margin-right:0}.dokan-dashboard .widgets-wrapper .left-side,.dokan-dashboard .widgets-wrapper .right-side{width:auto}}@media only screen and (max-width:500px){.dokan-dashboard .widgets-wrapper .left-side{margin-right:0}.dokan-dashboard .widgets-wrapper .left-side,.dokan-dashboard .widgets-wrapper .right-side{width:auto}.dokan-dashboard .postbox.dokan-status ul li a .details span.down,.dokan-dashboard .postbox.dokan-status ul li a .details span.up{display:none}.dokan-dashboard .postbox.dokan-status ul li a strong{font-size:16px}}@media only screen and (max-width:360px){.dokan-dashboard .postbox.dokan-status ul li a .details{display:none}}.withdraw-requests .dokan-modal .modal-body{min-height:130px}.withdraw-requests .dokan-modal .modal-body textarea{width:100%}.withdraw-requests .image{width:10%}.withdraw-requests .seller{width:20%}.withdraw-requests td.seller img{float:left;margin-right:10px;margin-top:1px;width:24px;height:auto}.withdraw-requests td.seller strong{display:block;margin-bottom:.2em;font-size:14px}.withdraw-requests td.actions,.withdraw-requests th.actions{width:120px}.withdraw-requests td.status span{line-height:2.5em;padding:5px 8px;border-radius:4px}.withdraw-requests td.status .approved{background:#c6e1c6;color:#5b841b}.withdraw-requests td.status .pending{background:#f8dda7;color:#94660c}.withdraw-requests td.status .cancelled{background:#eba3a3;color:#761919}@media only screen and (max-width:600px){.withdraw-requests table td.seller,.withdraw-requests td.actions,.withdraw-requests td.amount{display:table-cell!important}.withdraw-requests table td:not(.check-column):not(.seller):not(.amount):not(.actions),.withdraw-requests table th:not(.check-column):not(.seller):not(.amount):not(.actions){display:none}.withdraw-requests table td.column,.withdraw-requests table th.column{width:auto}.withdraw-requests table td.column.actions .dashicons{width:14px;height:14px;font-size:18px}.withdraw-requests table td.seller .row-actions{display:inline-block}.withdraw-requests table td.seller .row-actions span{font-size:11px}}@media only screen and (max-width:376px){.withdraw-requests table td.seller .row-actions{display:inline-block}.withdraw-requests table td.seller .row-actions span{font-size:9px}}@media only screen and (max-width:320px){.withdraw-requests table td.column.actions .dashicons{width:10px;height:10px;font-size:14px}}.dokan-pro-features{font-family:Open Sans,sans-serif;margin:-10px -20px 0 -22px}.dokan-pro-features a{transition:all .2s ease}.dokan-pro-features .section-title{text-align:center;color:#2e2c2c;font-size:30px;line-height:1.5em;font-weight:400;position:relative;margin:0 0 58px}.dokan-pro-features .section-title:after{content:"";position:absolute;bottom:-21px;left:50%;transform:translateX(-50%);width:38px;height:5px;border-radius:3px;background-color:#f2624d}.dokan-pro-features .header-section{background-color:#f2f2f2;color:#3f4143;font-size:16px;display:flex;align-items:center;padding:0 8%;border-bottom:1px solid #eee}@media (min-width:1281px){.dokan-pro-features .header-section{padding:0 24%}}.dokan-pro-features .header-section .feature-thumb img{width:233px;margin:-20px 0 -30px}.dokan-pro-features .header-section .content-area{padding-left:10%}.dokan-pro-features .header-section .content-area h1{font-size:27px;line-height:1.5em;color:#2e2c2c}.dokan-pro-features .header-section .content-area p{font-size:16px;line-height:1.5em;font-weight:300;margin:0;letter-spacing:.5px}.dokan-pro-features .service-section{text-align:center;padding:73px 30px 85px;background-color:#f7f8f9}@media (min-width:1281px){.dokan-pro-features .service-section{padding-left:20%;padding-right:20%}}.dokan-pro-features .service-section .service-list{display:flex;flex-wrap:wrap}.dokan-pro-features .service-section .service-list .service-box{flex:0 0 28.9%;margin:2.2%;text-align:center;border-radius:5px;background-color:#fff}.dokan-pro-features .service-section .service-list .service-box .service-thumb img{border-radius:5px 5px 0 0;max-width:100%}.dokan-pro-features .service-section .service-list .service-box .service-detail{padding:20px 25px 25px}.dokan-pro-features .service-section .service-list .service-box .service-detail h3{color:#3f4143;font-size:15px;line-height:1.5em;font-weight:300;margin:0}.dokan-pro-features .service-section .btn{font-size:16px;line-height:1.5em;font-weight:300;color:#ffff;background-color:#3984b5;border:1px solid #226b9b;border-radius:3px;text-decoration:none;padding:13px 28px;display:inline-block;margin-top:52px;transition:all .2s ease}.dokan-pro-features .service-section .btn:hover{box-shadow:2.736px 7.518px 20px 0 rgba(0,0,0,.15)}.dokan-pro-features .service-section .btn svg{width:15px;fill:#fff;margin-left:5px}.dokan-pro-features .comparison-section{background-color:#f1f1f1;padding:75px}@media (min-width:1281px){.dokan-pro-features .comparison-section{padding-left:21.2%;padding-right:21.2%}}.dokan-pro-features .comparison-section .section-title{margin-bottom:90px}.dokan-pro-features .comparison-section .comparison-area{display:flex;justify-content:space-between}.dokan-pro-features .comparison-section .comparison-area .compare-box{flex:0 0 48%;background-color:#fff;border:1px solid #e0e9ec;border-radius:5px;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);padding:50px;box-sizing:border-box}.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section{margin-bottom:58px;position:relative}.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section:after{content:"";position:absolute;bottom:-23px;left:0;width:38px;height:5px;border-radius:3px;background-color:#d7d7d7}.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section img{width:120px}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list{margin:0}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li{font-size:15px;line-height:1.5em;font-weight:300;color:#66676e;margin-bottom:28px;position:relative;display:flex;align-items:center}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li:last-child{margin-bottom:0}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li img{width:21px;margin-right:12px}.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li.unavailable{color:#ccced5}.dokan-pro-features .pricing-section{background-color:#f7f8f9;padding:85px 0 62px}.dokan-pro-features .pricing-section .section-title{margin-bottom:120px}.dokan-pro-features .pricing-section .pricing-wrapper{padding:0 4.5%}@media (min-width:1281px){.dokan-pro-features .pricing-section .pricing-wrapper{padding-left:21%;padding-right:21%}}.dokan-pro-features .pricing-section .table-row{display:flex}.dokan-pro-features .pricing-section .table-row:first-child .table-col:first-child{background-color:transparent;border-color:transparent;border-radius:3px 3px 0 0}.dokan-pro-features .pricing-section .table-row:first-child .table-col:nth-child(2){border-radius:3px 0 0 0}.dokan-pro-features .pricing-section .table-row:first-child .table-col:last-child{border-radius:0 3px 0 0}.dokan-pro-features .pricing-section .table-row:first-child .table-col.popular{position:relative}.dokan-pro-features .pricing-section .table-row:first-child .table-col.popular:before{position:absolute;top:-28px;left:0;width:100%;content:"Most Popular";color:#23282d;font-size:14px;line-height:1.4em;background-color:#fc0;border-radius:3px 3px 0 0;padding:5px;box-sizing:border-box}.dokan-pro-features .pricing-section .table-row:nth-child(2) .table-col:first-child{border-radius:3px 3px 0 0}.dokan-pro-features .pricing-section .table-row:nth-last-child(2) .table-col:first-child{border-radius:0 0 5px 5px;border-bottom:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row:last-child .table-col{border-bottom:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row:last-child .table-col:first-child{border-radius:0 0 5px 5px;background-color:transparent;border-color:transparent}.dokan-pro-features .pricing-section .table-row:last-child .table-col:nth-child(2){border-radius:0 0 0 5px}.dokan-pro-features .pricing-section .table-row:last-child .table-col:last-child{border-radius:0 0 5px 0}.dokan-pro-features .pricing-section .table-row .table-col{width:18.5%;text-align:center;border:1px solid #e7eaeb;padding:18px;background-color:#fff;border-bottom:0;border-left:0;border-right:0}.dokan-pro-features .pricing-section .table-row .table-col:first-child{width:25%;margin-right:2%;text-align:left;border-left:1px solid #e7eaeb;border-right:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row .table-col:nth-child(2){border-left:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row .table-col:last-child{border-left:1px solid #e7eaeb;border-right:1px solid #e7eaeb}.dokan-pro-features .pricing-section .table-row .table-col.popular{z-index:1;box-shadow:1px 10px 30px 0 rgba(215,223,254,.5)}.dokan-pro-features .pricing-section .table-row .table-col .module-name{color:#157ef5;font-size:14px;line-height:1.5em;font-weight:300;text-decoration:none}.dokan-pro-features .pricing-section .table-row .table-col .plan-data{font-size:15px;color:#3f4143}.dokan-pro-features .pricing-section .table-row .table-col .plan-data img{display:block;margin:0 auto;width:23px}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn{font-size:14px;font-weight:300;border-radius:3px;padding:13px 34px;color:#fff;text-decoration:none;margin:25px 0 14px;display:inline-block;transition:all .2s ease}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn:hover{box-shadow:1px 10px 30px 0 rgba(215,223,254,.5)}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.starter{background-color:#00bcff}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.professional{background-color:#2bc66d}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.business{background-color:#795dff}.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.enterprise{background-color:#ff5956}.dokan-pro-features .pricing-section .plan-name{display:inline-block;background:#000;color:#fff;font-size:14px;font-weight:300;line-height:1.4em;border-radius:25px;padding:5px 20px;min-width:95px;box-sizing:border-box;margin:26px 0 20px}.dokan-pro-features .pricing-section .plan-name.starter{background-color:#00bcff}.dokan-pro-features .pricing-section .plan-name.professional{background-color:#2bc66d}.dokan-pro-features .pricing-section .plan-name.business{background-color:#795dff}.dokan-pro-features .pricing-section .plan-name.enterprise{background-color:#ff5956}.dokan-pro-features .pricing-section .price{margin-bottom:15px}.dokan-pro-features .pricing-section .price span{font-size:14px;line-height:1.2em;font-weight:300;color:#b8bbbe;display:block}.dokan-pro-features .pricing-section .price span:first-child{font-size:28px;line-height:1.5em;font-weight:400;color:#23282d}.dokan-pro-features .pricing-section .price span:first-child sup{font-size:14px}.dokan-pro-features .payment-section{display:flex;background:#fff;justify-content:space-between;padding:20px 65px 15px;align-items:center}@media (min-width:1281px){.dokan-pro-features .payment-section{padding-left:21%;padding-right:21%}}.dokan-pro-features .payment-section .guarantee-section{display:flex;flex:0 0 70%;align-content:center;align-items:center;position:relative}.dokan-pro-features .payment-section .guarantee-section:after{content:"";position:absolute;right:-18px;top:50%;transform:translateY(-50%);width:5px;height:38px;border-radius:3px;background-color:#f1f1f1}.dokan-pro-features .payment-section .guarantee-section .feature-thumb img{max-width:100%;width:160px}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail{padding-left:25px}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail h2{font-size:24px;line-height:1.5em;color:#2e2c2c;font-weight:400;margin:0}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail p{color:#66676e;font-size:15px;line-height:1.5em;font-weight:300;margin:5px 0 20px}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail a{color:#f2624d;font-size:15px;line-height:1.5em;text-decoration:none}.dokan-pro-features .payment-section .guarantee-section .guarantee-detail a img{width:18px;margin-right:4px}.dokan-pro-features .payment-section .payment-area h3{font-size:15px;font-weight:300;color:#66676e;margin:0 0 17px}.dokan-pro-features .payment-section .payment-area .option img{max-width:100%}.dokan-pro-features .testimonial-section{background-color:#f1f1f1;padding:75px 0 70px;text-align:center}.dokan-pro-features .testimonial-section .section-title{margin-bottom:75px}.dokan-pro-features .testimonial-section .testimonial-wrapper{width:80%;text-align:center;margin:0 auto}@media only screen and (min-width:1281px){.dokan-pro-features .testimonial-section .testimonial-wrapper{width:55%}}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .profile-pic{width:70px;height:70px;border:5px solid #fff;border-radius:50%;background-color:#fff;box-shadow:0 1px 16px 0 rgba(0,0,0,.16);margin:0 auto -35px;z-index:1;position:relative}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .profile-pic img{border-radius:50%;max-width:100%}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail{background-color:#fff;color:#000;border-radius:5px;border:1px solid #e0e9ec;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);padding:50px 30px 30px;background-repeat:no-repeat;background-position:40px 40px}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail h4{font-size:18px;line-height:1.444;color:#f2624d;font-weight:400;margin-top:0;margin-bottom:5px}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail span{font-size:15px;line-height:1.444;font-weight:300;color:#66676e;margin-bottom:20px;display:inline-block}.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail p{color:#2e2c2c;font-size:14px;line-height:1.9em;font-weight:300}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots{text-align:center;margin:40px 0 25px}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0 5px;padding:0;cursor:pointer}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li.slick-active button:before{background-color:#3f4143}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li button{position:relative;font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:none;background:transparent}.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li button:before{position:absolute;top:0;left:0;width:21px;height:5px;content:"";text-align:center;background-color:#d6d6d6;border-radius:30px}.dokan-pro-features .testimonial-section p{color:#262626;font-size:16px;line-height:1.5em;font-weight:300}.dokan-pro-features .testimonial-section p a{color:#8263f7;text-decoration:none}.dokan-pro-features .cta-section{background-image:linear-gradient(15deg,#ff7d90,#ffad6f);background-repeat:no-repeat;background-position:50%;background-size:contain;text-align:center;padding:35px 75px 40px;color:#fff}.dokan-pro-features .cta-section img{width:60px;border-radius:50%;box-shadow:0 3px 70px 0 rgba(126,17,0,.35)}.dokan-pro-features .cta-section h2{font-size:30px;color:#fff;font-weight:400;line-height:1.333em;text-align:center;margin:10px 0;text-shadow:0 1px 2px hsla(0,0%,100%,.31)}.dokan-pro-features .cta-section p{font-size:16px;line-height:1.5em;font-weight:300;margin:10px 0 30px}.dokan-pro-features .cta-section .btn{background-color:#fff;color:#f2624d;font-size:16px;line-height:1.538em;font-weight:300;border:1px solid #ff9381;border-radius:3px;box-shadow:0 1px 2px 0 rgba(255,128,142,.05);display:inline-block;text-decoration:none;padding:12px 27px}.dokan-pro-features .cta-section .btn:hover{box-shadow:2.736px 7.518px 20px 0 rgba(0,0,0,.15)}.dokan-pro-features .cta-section .btn svg{width:15px;fill:#f2624d;margin-left:6px}.dokan-help-page .section-wrapper{margin-top:15px}.dokan-help-page .section-wrapper .dokan-postbox{width:calc(33% - 2em);margin:0 2% 15px 0;float:left}.dokan-help-page .section-wrapper .dokan-postbox:nth-child(3n+1){clear:both}.dokan-help-page .section-wrapper .dokan-postbox .dashicons{color:#ccc}.dokan-help-page .section-wrapper .dokan-postbox a{text-decoration:none}.dokan-help-page .section-wrapper .dokan-postbox .inside,.dokan-help-page .section-wrapper .dokan-postbox ul{margin-bottom:0}.dokan-help-page .loading{width:100%;text-align:center;margin-top:100px}.dokan-settings-wrap{position:relative;display:flex;border:1px solid #c8d7e1}.dokan-settings-wrap .loading{position:absolute;width:100%;height:100%;background:hsla(0,0%,100%,.6)}.dokan-settings-wrap .loading .dokan-loader{top:40%;left:45%}.dokan-settings-wrap .dashicons{padding-top:2px;margin-right:5px}.dokan-settings-wrap .dashicons.dashicons-admin-generic{color:#6c75ff}.dokan-settings-wrap .dashicons.dashicons-cart{color:#00aeff}.dokan-settings-wrap .dashicons.dashicons-money{color:#d35400}.dokan-settings-wrap .dashicons.dashicons-admin-page{color:#8e44ad}.dokan-settings-wrap .dashicons.dashicons-admin-appearance{color:#3498db}.dokan-settings-wrap .dashicons.dashicons-networking{color:#1abc9c}.dokan-settings-wrap h2.nav-tab-wrapper{flex:1;border-bottom:none;padding:0;background:#f1f1f1;border-right:1px solid #c8d7e1}.dokan-settings-wrap h2.nav-tab-wrapper a{float:none;display:block;margin:0;border:none;padding:13px;background:#f1f1f1;font-weight:500;border-bottom:1px solid #c8d7e1;transition-property:none;transition:none}.dokan-settings-wrap h2.nav-tab-wrapper a:active,.dokan-settings-wrap h2.nav-tab-wrapper a:focus{box-shadow:none;outline:0}.dokan-settings-wrap h2.nav-tab-wrapper a.nav-tab-active{background:#fff!important;border-right:1px solid #c8d7e1;width:99%;color:#2e4453;transition:none;transition-property:none}.dokan-settings-wrap .metabox-holder{flex:3;padding-left:3%;padding-right:10px;background:#fff}.dokan-settings-wrap .radio-image-container .radio-image{display:block;width:50%;background:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:0 0 15px;position:relative;line-height:0;border:1px solid #ededed;padding:4px}.dokan-settings-wrap .radio-image-container .radio-image img{max-width:100%;z-index:1}.dokan-settings-wrap .radio-image-container .radio-image .current-option-indicator{position:absolute;top:0;right:0;background-color:#4caf50;color:#fff;padding:4px;z-index:2;line-height:1.4}.dokan-settings-wrap .radio-image-container .radio-image .active-option{opacity:0;position:absolute;top:0;left:0;z-index:3;width:100%;height:100%;background-color:rgba(0,0,0,.45);transition:opacity .4s ease}.dokan-settings-wrap .radio-image-container .radio-image .active-option button{position:absolute;top:50%;left:50%;margin-top:-23px;margin-left:-58px}.dokan-settings-wrap .radio-image-container .radio-image:hover .active-option{opacity:1}.dokan-settings-wrap .radio-image-container .radio-image.active .active-option,.dokan-settings-wrap .radio-image-container .radio-image.not-active .current-option-indicator{display:none}.dokan-settings-wrap .radio-image-container label{display:block;margin-bottom:5px}.dokan-settings-wrap .radio-image-container label>input[type=radio]{visibility:hidden;position:absolute}.dokan-settings-wrap .radio-image-container label>img{max-width:100%}.form-table th.dokan-settings-sub-section-title{border-bottom:1px solid #ccc;padding:0 0 10px}.form-table th.dokan-settings-sub-section-title label{display:block;margin-top:20px;color:#0073aa;font-weight:500;font-size:1.3em}.form-table .dokan-settings-field-type-sub_section:first-child th.dokan-settings-sub-section-title label{margin-top:0}ul.dokan-settings-repeatable-list{list-style-type:disc;padding-left:20px}ul.dokan-settings-repeatable-list li span.remove-item{padding-top:0;cursor:pointer}.dokan-repetable-add-item-btn{font-size:16px!important;font-weight:700!important;height:25px!important;line-height:22px!important}td.fixed_fee,td.percent_fee{display:inline-block}td.fixed_fee input,td.percent_fee input{width:60px}tr.additional_fee .description{margin-left:10px;margin-top:-10px}.dokan-error{color:red;margin-top:-10px;font-style:italic}.dokan-error.combine-commission{margin-left:10px}.dokan-settings-field-type-radio fieldset>label:not(:last-child){margin-right:12px!important}.dokan-settings-field-type-radio fieldset>label:not(:last-child)>input[type=radio]{margin-right:2px}.color-picker-container .color-picker-button[data-v-01dc0d51]{height:24px;padding:0 0 0 30px;margin:0 0 6px;font-size:11px}.color-picker-container .color-picker-button span[data-v-01dc0d51]{display:block;padding:0 6px;line-height:22px;color:#555;text-align:center;background:#f7f7f7;border-left:1px solid #ccc;border-radius:0 2px 2px 0}.color-picker-container .hex-input[data-v-01dc0d51]{width:65px;padding:3px 5px 4px;margin:0 3 0 0;font-family:monospace;font-size:12px;line-height:1.4;vertical-align:top;box-shadow:0 1px 0 #ccc}.vendor-list .dokan-btn{padding:5px 10px;font-size:15px;border-radius:3px;color:#2873aa}.vendor-list .image{width:10%}.vendor-list .store_name{width:30%}.vendor-list td.store_name img{float:left;margin-right:10px;margin-top:1px;width:24px;height:auto}.vendor-list td.store_name strong{display:block;margin-bottom:.2em;font-size:14px}@media only screen and (max-width:600px){.vendor-list table td.enabled,.vendor-list table td.store_name{display:table-cell!important}.vendor-list table td:not(.check-column):not(.store_name):not(.enabled),.vendor-list table th:not(.check-column):not(.store_name):not(.enabled){display:none}.vendor-list table table td.column,.vendor-list table th.column{width:auto}.vendor-list table td.manage-column.column-cb.check-column{padding-right:15px}.vendor-list table th.column.enabled{width:25%!important}}@media only screen and (max-width:320px){.vendor-list table .row-actions span{font-size:11px}}.swal2-container{z-index:9999999!important}.swal2-container .swal2-popup .swal2-title{line-height:35px;font-size:30px;font-weight:400}.dokan-vendor-edit h1{font-size:23px;font-weight:400}.dokan-vendor-edit .tab-header .tab-list{overflow:hidden;display:flex;justify-content:space-between}.dokan-vendor-edit .tab-header .tab-list .tab-title{height:50px;list-style-type:none;position:relative;background-color:#1a9ed4;display:flex;justify-content:center;align-items:center}.dokan-vendor-edit .tab-header .tab-list .tab-title .icon{position:relative;top:1px}.dokan-vendor-edit .tab-header .tab-list .tab-title a{color:#fff;text-decoration:none;padding:75px}.dokan-vendor-edit .tab-header .tab-list .tab-title a:active,.dokan-vendor-edit .tab-header .tab-list .tab-title a:focus{outline:none;outline-style:none;border-color:transparent;box-shadow:none}.dokan-vendor-edit .tab-header .tab-list .tab-title a span{position:relative;top:-1px;left:-3px}.dokan-vendor-edit .tab-header .tab-list .tab-title:first-child{padding-left:5px}.dokan-vendor-edit .tab-header .tab-list .tab-title:nth-child(n+2):before{left:0;border-left:25px solid #fff}.dokan-vendor-edit .tab-header .tab-list .tab-title:after,.dokan-vendor-edit .tab-header .tab-list .tab-title:nth-child(n+2):before{position:absolute;top:0;display:block;border-top:25px solid transparent;border-bottom:25px solid transparent;width:0;height:0;content:" "}.dokan-vendor-edit .tab-header .tab-list .tab-title:after{z-index:1;right:-25px;border-left:25px solid #f5f5f5;border-left-color:#1a9ed4}.dokan-vendor-edit .tab-header .tab-list .tab-title.active{background-color:#2c70a3}.dokan-vendor-edit .tab-header .tab-list .tab-title.active a{color:#fff}.dokan-vendor-edit .tab-header .tab-list .tab-title.active:after{border-left-color:#2c70a3}.dokan-vendor-edit .tab-header .tab-list .tab-title.last:after{border-left:0}.dokan-vendor-edit .tab-header .tab-list .tab-title.active~.tab-title{background-color:#f5f5f5}.dokan-vendor-edit .tab-header .tab-list .tab-title.active~.tab-title:after{border-left-color:#f5f5f5}.dokan-vendor-edit .tab-header .tab-list .tab-title.active~.tab-title a{color:#000}.dokan-vendor-edit .tab-contents{border:1px solid #e5e5e5;border-radius:3px;min-height:400px}.dokan-vendor-edit .tab-contents .loading{position:relative;left:46%;top:160px}.dokan-vendor-edit .tab-contents .content-header{background:#f9f9f9;margin:0;padding:10px}.dokan-vendor-edit .tab-contents .content-body{padding-top:20px;padding-bottom:20px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group{margin:0 10px;overflow:hidden}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group:after,.dokan-vendor-edit .tab-contents .content-body .dokan-form-group:before{display:table;content:" "}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column{float:left;width:50%;padding:0 10px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info{display:flex;justify-content:space-between}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info .store-url,.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info span{margin:0;padding:0;position:relative;bottom:10px;font-style:italic;color:#a09f9f;font-size:12px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info .is-available{color:green}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info .not-available{color:red}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .password-generator{margin-top:6px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .password-generator .regen-button{margin-right:5px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .password-generator .regen-button span{line-height:26px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .checkbox-left.notify-vendor{margin-top:6px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect{margin-top:5px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__option--highlight{background:#3c9fd4}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__tags{min-height:45px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__single{padding-top:3px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__select:before{top:70%}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__input:focus{box-shadow:none;border:none;outline:none}.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .bank-info{padding-left:10px}.dokan-vendor-edit .tab-contents .content-body .dokan-form-input{width:100%;padding:7px 12px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;margin-top:6px;margin-bottom:16px;resize:vertical;height:auto}.dokan-vendor-edit .tab-contents .content-body .dokan-form-input::placeholder{color:#bcbcbc}.dokan-vendor-edit .tab-contents .content-body .dokan-form-input.has-error::placeholder{color:red}.dokan-vendor-edit .tab-contents .content-body .vendor-image{display:flex;padding-bottom:20px}.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture{background:#fcfcfc;border-radius:3px;padding:5px 10px;border:2px dashed #d2d2d2;text-align:center;flex-grow:1;width:150px;margin-left:20px}.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture .profile-image{max-width:100px;margin:0 auto}.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture .profile-image img{border:1px solid #e5e5e5;padding:15px 10px 0;cursor:pointer;width:100%;padding:5px}.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture.banner{padding:0;flex-grow:10;margin-right:20px;height:228px;padding-top:5%}.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture.banner .banner-image img{width:100%;height:223px;padding:0}.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture.banner .banner-image button{background:#007cba;color:#fff;padding:10px 15px;border-radius:3px;margin:20px 0;cursor:pointer}.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture.banner.has-banner{padding-top:0}.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture-footer{color:gray;font-weight:300}.dokan-vendor-edit .dokan-btn{background:#1a9ed4;padding:10px 20px;color:#fff;border-radius:3px;cursor:pointer}.dokan-vendor-edit .dokan-btn:active,.dokan-vendor-edit .dokan-btn:focus{outline:none;outline-style:none;border-color:transparent;box-shadow:none}.dokan-vendor-edit .dokan-modal .dokan-modal-content{height:640px!important}.dokan-vendor-edit .dokan-modal .dokan-modal-content .modal-body{max-height:500px;min-height:200px}.dokan-vendor-edit .dokan-modal .dokan-modal-content .modal-footer{padding:15px;bottom:0;border-top:none;box-shadow:none}.dokan-vendor-edit .component-fade-enter-active,.dokan-vendor-edit .component-fade-leave-active{transition:opacity .2s ease}.dokan-vendor-edit .component-fade-enter,.dokan-vendor-edit .component-fade-leave-to{opacity:0}@media only screen and (max-width:600px){.dokan-vendor-edit .dokan-modal .dokan-modal-content{height:400px}.dokan-vendor-edit .dokan-modal .dokan-modal-content .modal-body{max-height:300px}}@media only screen and (max-width:500px){.dokan-vendor-edit .tab-list .tab-title .tab-link{display:flex}.dokan-vendor-edit .tab-list .tab-title .tab-link a{padding:12px;margin-left:17px}.dokan-vendor-edit .tab-list .tab-title .tab-link a span{display:block;margin:0 auto}.dokan-vendor-edit .tab-contents button,.dokan-vendor-edit .tab-contents input,.dokan-vendor-edit .tab-contents p{font-size:13px}.dokan-vendor-edit .tab-contents .vendor-image{display:block!important}.dokan-vendor-edit .tab-contents .vendor-image .picture{margin-right:20px!important;width:auto!important}.dokan-vendor-edit .tab-contents .vendor-image .picture.banner{margin-top:15px}}@media only screen and (max-width:375px){.dokan-vendor-edit .tab-list .tab-title .tab-link{display:flex}.dokan-vendor-edit .tab-list .tab-title .tab-link a{padding:5px;margin-left:20px;font-size:12px}.dokan-vendor-edit .tab-contents button,.dokan-vendor-edit .tab-contents input,.dokan-vendor-edit .tab-contents p{font-size:12px}}@media only screen and (max-width:320px){.dokan-vendor-edit .tab-list .tab-title .tab-link{display:flex}.dokan-vendor-edit .tab-list .tab-title .tab-link a{padding:2px;margin-left:20px;font-size:10px}}.switch{position:relative;display:inline-block;width:40px;height:18px}.switch input{display:none}.switch input:checked+.slider{background-color:#64b450}.switch input:checked+.slider:before{transform:translateX(22px)}.switch input:focus+.slider{box-shadow:0 0 1px #2196f3}.switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s}.switch .slider:before{position:absolute;content:"";height:14px;width:14px;left:2px;bottom:2px;background-color:#fff;transition:.4s}.switch .slider.round{border-radius:34px}.switch .slider.round:before{border-radius:50%}.dokan-upload-image{width:100%}.dokan-upload-image img{cursor:pointer}.checkbox-group{margin-top:20px;padding:0 10px}.checkbox-group .checkbox-left{display:inline-block}.checkbox-group .checkbox-left .switch{margin-right:10px;display:inline-block}.payment-info.edit-mode .checkbox-group{padding:0}.payment-info.edit-mode .dokan-form-select{margin-top:5px;margin-bottom:5px}.payment-info.edit-mode .combine-commission-field .dokan-form-input.fixed_fee,.payment-info.edit-mode .combine-commission-field .dokan-form-input.percent_fee{width:40%}
2
  /*# sourceMappingURL=vue-admin.css.map */
assets/css/vue-admin.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["vue-admin.css"],"names":[],"mappings":"AAgBA,kCACE,cAAe,AACf,gBAAiB,AACjB,gBAAiB,AACjB,UAAY,CACb,AACD,2FAEE,WAAY,AACZ,SAAW,CACZ,AACD,6CACE,eAAiB,CAClB,AACD,yCACE,cAAe,AACf,WAAY,AACZ,iBAAkB,AAClB,iBAAmB,CACpB,AACD,gCACE,wBAA+B,AAC/B,oBAAqB,AACrB,mBAAoB,AACpB,6BAA8B,AAC9B,iBAAmB,CACpB,AACD,mCACE,aAAe,CAChB,AACD,kCACE,4BAA+B,CAChC,AACD,2CACE,mBAAoB,AACpB,gBAAiB,AACjB,aAAc,AACd,kBAAmB,AACnB,UAAY,CACb,AACD,2CACE,YAAc,CACf,AACD,6DACE,WAAY,AACZ,sBAAuB,AACvB,iBAAqB,CACtB,AACD,yDACE,gBAAiB,AACjB,mBAAoB,AACpB,WAAY,AACZ,qBAAsB,AACtB,yBAA0B,AAC1B,2BAA6B,CAC9B,AACD,+DACE,kBAAoB,CACrB,AACD,yCACE,kBAAmB,AACnB,YAAa,AACb,mBAAoB,AACpB,yBAA+B,CAChC,AACD,uDACE,eAAiB,CAClB,AAED,4CACE,gBAAkB,CACnB,AACD,qDACE,UAAY,CACb,AACD,0BACE,SAAW,CACZ,AACD,2BACE,SAAW,CACZ,AACD,iCACE,WAAY,AACZ,kBAAmB,AACnB,eAAgB,AAChB,WAAY,AACZ,WAAa,CACd,AACD,oCACE,cAAe,AACf,mBAAoB,AACpB,cAAgB,CACjB,AACD,4DAEE,WAAa,CACd,AACD,kCACE,kBAAmB,AACnB,gBAAiB,AACjB,iBAAmB,CACpB,AACD,uCACE,mBAAoB,AACpB,aAAe,CAChB,AACD,sCACE,mBAAoB,AACpB,aAAe,CAChB,AACD,wCACE,mBAAoB,AACpB,aAAe,CAChB,AAED,oBACE,iCAAqC,AACrC,0BAA4B,CAC7B,AACD,sBACE,uBAAyB,CAC1B,AACD,mCACE,kBAAmB,AACnB,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,kBAAmB,AACnB,eAAiB,CAClB,AACD,yCACE,WAAY,AACZ,kBAAmB,AACnB,aAAc,AACd,SAAU,AACV,2BAA4B,AAC5B,WAAY,AACZ,WAAY,AACZ,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,oCACE,yBAA0B,AAC1B,cAAe,AACf,eAAgB,AAChB,aAAc,AACd,mBAAoB,AACpB,aAAc,AACd,4BAA8B,CAC/B,AACD,0BACA,oCACI,aAAe,CAClB,CACA,AACD,uDACE,YAAa,AACb,oBAAsB,CACvB,AACD,kDACE,gBAAkB,CACnB,AACD,qDACE,eAAgB,AAChB,kBAAmB,AACnB,aAAe,CAChB,AACD,oDACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,SAAU,AACV,mBAAqB,CACtB,AACD,qCACE,kBAAmB,AACnB,uBAAwB,AACxB,wBAA0B,CAC3B,AACD,0BACA,qCACI,iBAAkB,AAClB,iBAAmB,CACtB,CACA,AACD,mDACE,aAAc,AACd,cAAgB,CACjB,AACD,gEACE,eAAgB,AAChB,YAAa,AACb,kBAAmB,AACnB,kBAAmB,AACnB,qBAA0B,CAC3B,AACD,mFACE,0BAA2B,AAC3B,cAAgB,CACjB,AACD,gFACE,sBAAwB,CACzB,AACD,mFACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,QAAU,CACX,AACD,0CACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,YAAa,AACb,yBAA0B,AAC1B,yBAA0B,AAC1B,kBAAmB,AACnB,qBAAsB,AACtB,kBAAmB,AACnB,qBAAsB,AACtB,gBAAiB,AACjB,uBAAyB,CAC1B,AACD,gDACE,iDAAuD,CACxD,AACD,8CACE,WAAY,AACZ,UAAW,AACX,eAAiB,CAClB,AACD,wCACE,yBAA0B,AAC1B,YAAc,CACf,AACD,0BACA,wCACI,mBAAoB,AACpB,mBAAqB,CACxB,CACA,AACD,uDACE,kBAAoB,CACrB,AACD,yDACE,aAAc,AACd,6BAA+B,CAChC,AACD,sEACE,aAAc,AACd,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,uCAAgD,AAChD,aAAc,AACd,qBAAuB,CACxB,AACD,oFACE,mBAAoB,AACpB,iBAAmB,CACpB,AACD,0FACE,WAAY,AACZ,kBAAmB,AACnB,aAAc,AACd,OAAQ,AACR,WAAY,AACZ,WAAY,AACZ,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,wFACE,WAAa,CACd,AACD,oFACE,QAAU,CACX,AACD,uFACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,cAAe,AACf,mBAAoB,AACpB,kBAAmB,AACnB,aAAc,AACd,kBAAoB,CACrB,AACD,kGACE,eAAiB,CAClB,AACD,2FACE,WAAY,AACZ,iBAAmB,CACpB,AACD,mGACE,aAAe,CAChB,AACD,qCACE,yBAA0B,AAC1B,mBAAqB,CACtB,AACD,oDACE,mBAAqB,CACtB,AACD,sDACE,cAAgB,CACjB,AACD,0BACA,sDACI,iBAAkB,AAClB,iBAAmB,CACtB,CACA,AACD,gDACE,YAAc,CACf,AACD,mFACE,6BAA8B,AAC9B,yBAA0B,AAC1B,yBAA2B,CAC5B,AACD,oFACE,uBAAyB,CAC1B,AACD,kFACE,uBAAyB,CAC1B,AACD,+EACE,iBAAmB,CACpB,AACD,sFACE,kBAAmB,AACnB,UAAW,AACX,OAAQ,AACR,WAAY,AACZ,uBAAwB,AACxB,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,sBAA0B,AAC1B,0BAA2B,AAC3B,YAAa,AACb,qBAAuB,CACxB,AACD,oFACE,yBAA2B,CAC5B,AACD,yFACE,0BAA2B,AAC3B,+BAAiC,CAClC,AACD,sEACE,+BAAiC,CAClC,AACD,kFACE,0BAA2B,AAC3B,6BAA8B,AAC9B,wBAA0B,CAC3B,AACD,mFACE,uBAAyB,CAC1B,AACD,iFACE,uBAAyB,CAC1B,AACD,2DACE,YAAa,AACb,kBAAmB,AACnB,yBAA0B,AAC1B,aAAc,AACd,sBAAuB,AACvB,gBAAiB,AACjB,cAAe,AACf,cAAgB,CACjB,AACD,uEACE,UAAW,AACX,gBAAiB,AACjB,gBAAiB,AACjB,8BAA+B,AAC/B,8BAAgC,CACjC,AACD,wEACE,6BAA+B,CAChC,AACD,sEACE,8BAA+B,AAC/B,8BAAgC,CACjC,AACD,mEACE,UAAW,AACX,+CAAqD,CACtD,AACD,wEACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,oBAAsB,CACvB,AACD,sEACE,eAAgB,AAChB,aAAe,CAChB,AACD,0EACE,cAAe,AACf,cAAe,AACf,UAAY,CACb,AACD,oEACE,eAAgB,AAChB,gBAAiB,AACjB,kBAAmB,AACnB,kBAAmB,AACnB,WAAY,AACZ,qBAAsB,AACtB,mBAAoB,AACpB,qBAAsB,AACtB,uBAAyB,CAC1B,AACD,0EACE,+CAAqD,CACtD,AACD,4EACE,wBAA0B,CAC3B,AACD,iFACE,wBAA0B,CAC3B,AACD,6EACE,wBAA0B,CAC3B,AACD,+EACE,wBAA0B,CAC3B,AACD,gDACE,qBAAsB,AACtB,gBAAkB,AAClB,WAAY,AACZ,eAAgB,AAChB,gBAAiB,AACjB,kBAAmB,AACnB,mBAAoB,AACpB,iBAAkB,AAClB,eAAgB,AAChB,sBAAuB,AACvB,kBAAoB,CACrB,AACD,wDACE,wBAA0B,CAC3B,AACD,6DACE,wBAA0B,CAC3B,AACD,yDACE,wBAA0B,CAC3B,AACD,2DACE,wBAA0B,CAC3B,AACD,4CACE,kBAAoB,CACrB,AACD,iDACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,cAAe,AACf,aAAe,CAChB,AACD,6DACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,aAAe,CAChB,AACD,iEACE,cAAgB,CACjB,AACD,qCACE,aAAc,AACd,gBAAiB,AACjB,8BAA+B,AAC/B,uBAAwB,AACxB,kBAAoB,CACrB,AACD,0BACA,qCACI,iBAAkB,AAClB,iBAAmB,CACtB,CACA,AACD,wDACE,aAAc,AACd,aAAc,AACd,qBAAsB,AACtB,mBAAoB,AACpB,iBAAmB,CACpB,AACD,8DACE,WAAY,AACZ,kBAAmB,AACnB,YAAa,AACb,QAAS,AACT,2BAA4B,AAC5B,UAAW,AACX,YAAa,AACb,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,2EACE,eAAgB,AAChB,WAAa,CACd,AACD,0EACE,iBAAmB,CACpB,AACD,6EACE,eAAgB,AAChB,kBAAmB,AACnB,cAAe,AACf,gBAAiB,AACjB,QAAU,CACX,AACD,4EACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAmB,CACpB,AACD,4EACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,oBAAsB,CACvB,AACD,gFACE,WAAY,AACZ,gBAAkB,CACnB,AACD,sDACE,eAAgB,AAChB,gBAAiB,AACjB,cAAe,AACf,eAAmB,CACpB,AACD,+DACE,cAAgB,CACjB,AACD,yCACE,yBAA0B,AAC1B,oBAAqB,AACrB,iBAAmB,CACpB,AACD,wDACE,kBAAoB,CACrB,AACD,8DACE,UAAW,AACX,kBAAmB,AACnB,aAAe,CAChB,AACD,0CACA,8DACI,SAAW,CACd,CACA,AACD,4FACE,WAAY,AACZ,YAAa,AACb,sBAAuB,AACvB,kBAAmB,AACnB,sBAAuB,AACvB,wCAAiD,AACjD,oBAAqB,AACrB,UAAW,AACX,iBAAmB,CACpB,AACD,gGACE,kBAAmB,AACnB,cAAgB,CACjB,AACD,+FACE,sBAAuB,AACvB,WAAY,AACZ,kBAAmB,AACnB,yBAA0B,AAC1B,uCAAgD,AAChD,uBAAwB,AACxB,4BAA6B,AAC7B,6BAA+B,CAChC,AACD,kGACE,eAAgB,AAChB,kBAAmB,AACnB,cAAe,AACf,gBAAiB,AACjB,aAAc,AACd,iBAAmB,CACpB,AACD,oGACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,cAAe,AACf,mBAAoB,AACpB,oBAAsB,CACvB,AACD,iGACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,eAAiB,CAClB,AACD,0EACE,kBAAmB,AACnB,kBAAoB,CACrB,AACD,6EACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,aAAc,AACd,UAAW,AACX,cAAgB,CACjB,AACD,wGACE,wBAA0B,CAC3B,AACD,oFACE,kBAAmB,AACnB,YAAa,AACb,cAAe,AACf,cAAe,AACf,WAAY,AACZ,YAAa,AACb,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,SAAU,AACV,aAAc,AACd,sBAAwB,CACzB,AACD,2FACE,kBAAmB,AACnB,MAAO,AACP,OAAQ,AACR,WAAY,AACZ,WAAY,AACZ,WAAY,AACZ,kBAAmB,AACnB,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,2CACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,eAAiB,CAClB,AACD,6CACE,cAAe,AACf,oBAAsB,CACvB,AACD,iCAIE,wDAAmE,AACnE,4BAA6B,AAC7B,wBAAmC,AACnC,wBAAyB,AACzB,kBAAmB,AACnB,uBAAwB,AACxB,UAAY,CACb,AACD,qCACE,WAAY,AACZ,kBAAmB,AACnB,0CAAoD,CACrD,AACD,oCACE,eAAgB,AAChB,WAAY,AACZ,gBAAiB,AACjB,oBAAqB,AACrB,kBAAmB,AACnB,cAAe,AACf,yCAAmD,CACpD,AACD,mCACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,kBAAoB,CACrB,AACD,sCACE,sBAAuB,AACvB,cAAe,AACf,eAAgB,AAChB,oBAAqB,AACrB,gBAAiB,AACjB,yBAA0B,AAC1B,kBAAmB,AACnB,6CAAsD,AACtD,qBAAsB,AACtB,qBAAsB,AACtB,iBAAmB,CACpB,AACD,4CACE,iDAAuD,CACxD,AACD,0CACE,WAAY,AACZ,aAAc,AACd,eAAiB,CAClB,AAED,kCACE,eAAiB,CAClB,AACD,iDACE,sBAAuB,AACvB,mBAAoB,AACpB,UAAY,CACb,AACD,iEACE,UAAY,CACb,AACD,4DACE,UAAY,CACb,AACD,mDACE,oBAAsB,CACvB,AACD,6GAEE,eAAiB,CAClB,AACD,0BACE,WAAY,AACZ,kBAAmB,AACnB,gBAAkB,CACnB,AAED,qBACE,kBAAmB,AACnB,aAAc,AACd,wBAA0B,CAC3B,AACD,8BACE,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,6BAAqC,CACtC,AACD,4CACE,QAAS,AACT,QAAU,CACX,AACD,gCACE,gBAAiB,AACjB,gBAAkB,CACnB,AACD,wDACE,aAAe,CAChB,AACD,+CACE,aAAe,CAChB,AACD,gDACE,aAAe,CAChB,AACD,qDACE,aAAe,CAChB,AACD,2DACE,aAAe,CAChB,AACD,qDACE,aAAe,CAChB,AACD,wCACE,OAAQ,AACR,mBAAoB,AACpB,UAAW,AACX,mBAAoB,AACpB,8BAAgC,CACjC,AACD,0CACE,WAAY,AACZ,cAAe,AACf,SAAU,AACV,YAAa,AACb,aAAmB,AACnB,mBAAoB,AACpB,gBAAiB,AACjB,gCAAiC,AACjC,yBAA0B,AAC1B,eAAiB,CAClB,AACD,yDACE,0BAA4B,AAC5B,+BAAgC,AAChC,UAAW,AACX,cAAe,AACf,gBAAiB,AACjB,wBAA0B,CAC3B,AACD,qCACE,OAAQ,AACR,gBAAiB,AACjB,mBAAoB,AACpB,eAAiB,CAClB,AACD,yDACE,cAAe,AACf,UAAW,AACX,gBAAiB,AAEjB,sCAA2C,AAC3C,gBAAiB,AACjB,kBAAmB,AACnB,cAAe,AACf,yBAA0B,AAC1B,WAAa,CACd,AACD,6DACE,eAAgB,AAChB,SAAW,CACZ,AACD,mFACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,yBAA0B,AAC1B,WAAY,AACZ,YAAa,AACb,UAAW,AACX,eAAiB,CAClB,AACD,wEACE,UAAW,AACX,kBAAmB,AACnB,MAAO,AACP,OAAQ,AACR,UAAW,AACX,WAAY,AACZ,YAAa,AACb,iCAAsC,AACtC,2BAA8B,CAC/B,AACD,+EACE,kBAAmB,AACnB,QAAS,AACT,SAAU,AACV,iBAAkB,AAClB,iBAAmB,CACpB,AACD,8EACE,SAAW,CACZ,AAID,6KACE,YAAc,CACf,AACD,kDACE,cAAe,AACf,iBAAmB,CACpB,AACD,oEACE,kBAAmB,AAEnB,iBAAmB,CAEpB,AACD,sDACE,cAAgB,CACjB,AAED,8DACE,YAAa,AACb,mBAAoB,AACpB,eAAgB,AAChB,cAAgB,CACjB,AACD,mEACE,cAAe,AACf,cAAe,AACf,iBAAkB,AAClB,WAAY,AACZ,kBAAmB,AACnB,mBAAoB,AACpB,2BAA4B,AAC5B,yBAA2B,CAC5B,AACD,oDACE,WAAY,AACZ,oBAAqB,AACrB,eAAgB,AAChB,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,mBAAoB,AACpB,uBAAyB,CAC1B","file":"vue-admin.css","sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.dokan-dashboard .widgets-wrapper {\n display: block;\n overflow: hidden;\n margin-top: 15px;\n width: 100%;\n}\n.dokan-dashboard .widgets-wrapper .left-side,\n.dokan-dashboard .widgets-wrapper .right-side {\n float: left;\n width: 48%;\n}\n.dokan-dashboard .widgets-wrapper .left-side {\n margin-right: 3%;\n}\n.dokan-dashboard .dokan-postbox .loading {\n display: block;\n width: 100%;\n margin: 15px auto;\n text-align: center;\n}\n.dokan-dashboard .subscribe-box {\n margin: 20px -12px -11px -12px;\n padding: 0 15px 15px;\n background: #fafafa;\n border-top: 1px solid #efefef;\n position: relative;\n}\n.dokan-dashboard .subscribe-box h3 {\n margin: 10px 0;\n}\n.dokan-dashboard .subscribe-box p {\n margin-bottom: 10px !important;\n}\n.dokan-dashboard .subscribe-box .thank-you {\n background: #4fa72b;\n margin-top: 10px;\n padding: 15px;\n border-radius: 3px;\n color: #fff;\n}\n.dokan-dashboard .subscribe-box .form-wrap {\n display: flex;\n}\n.dokan-dashboard .subscribe-box .form-wrap input[type=\"email\"] {\n width: 100%;\n padding: 3px 0 3px 6px;\n margin: 0px -1px 0 0;\n}\n.dokan-dashboard .subscribe-box .form-wrap button.button {\n box-shadow: none;\n background: #FF5722;\n color: #fff;\n border-color: #FF5722;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.dokan-dashboard .subscribe-box .form-wrap button.button:hover {\n background: #ff6a3c;\n}\n.dokan-dashboard .subscribe-box .loading {\n position: absolute;\n height: 100%;\n margin: 0 0 0 -15px;\n background: rgba(0, 0, 0, 0.2);\n}\n.dokan-dashboard .subscribe-box .loading .dokan-loader {\n margin-top: 30px;\n}\n\n.withdraw-requests .dokan-modal .modal-body {\n min-height: 130px;\n}\n.withdraw-requests .dokan-modal .modal-body textarea {\n width: 100%;\n}\n.withdraw-requests .image {\n width: 10%;\n}\n.withdraw-requests .seller {\n width: 20%;\n}\n.withdraw-requests td.seller img {\n float: left;\n margin-right: 10px;\n margin-top: 1px;\n width: 24px;\n height: auto;\n}\n.withdraw-requests td.seller strong {\n display: block;\n margin-bottom: .2em;\n font-size: 14px;\n}\n.withdraw-requests td.actions,\n.withdraw-requests th.actions {\n width: 120px;\n}\n.withdraw-requests td.status span {\n line-height: 2.5em;\n padding: 5px 8px;\n border-radius: 4px;\n}\n.withdraw-requests td.status .approved {\n background: #c6e1c6;\n color: #5b841b;\n}\n.withdraw-requests td.status .pending {\n background: #f8dda7;\n color: #94660c;\n}\n.withdraw-requests td.status .cancelled {\n background: #eba3a3;\n color: #761919;\n}\n\n.dokan-pro-features {\n font-family: 'Open Sans', sans-serif;\n margin: -10px -20px 0 -22px;\n}\n.dokan-pro-features a {\n transition: all .2s ease;\n}\n.dokan-pro-features .section-title {\n text-align: center;\n color: #2e2c2c;\n font-size: 30px;\n line-height: 1.5em;\n font-weight: 400;\n position: relative;\n margin: 0 0 58px;\n}\n.dokan-pro-features .section-title:after {\n content: '';\n position: absolute;\n bottom: -21px;\n left: 50%;\n transform: translateX(-50%);\n width: 38px;\n height: 5px;\n border-radius: 3px;\n background-color: #f2624d;\n}\n.dokan-pro-features .header-section {\n background-color: #f2f2f2;\n color: #3f4143;\n font-size: 16px;\n display: flex;\n align-items: center;\n padding: 0 8%;\n border-bottom: 1px solid #eee;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .header-section {\n padding: 0 24%;\n}\n}\n.dokan-pro-features .header-section .feature-thumb img {\n width: 233px;\n margin: -20px 0 -30px;\n}\n.dokan-pro-features .header-section .content-area {\n padding-left: 10%;\n}\n.dokan-pro-features .header-section .content-area h1 {\n font-size: 27px;\n line-height: 1.5em;\n color: #2e2c2c;\n}\n.dokan-pro-features .header-section .content-area p {\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 300;\n margin: 0;\n letter-spacing: .5px;\n}\n.dokan-pro-features .service-section {\n text-align: center;\n padding: 73px 30px 85px;\n background-color: #f7f8f9;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .service-section {\n padding-left: 20%;\n padding-right: 20%;\n}\n}\n.dokan-pro-features .service-section .service-list {\n display: flex;\n flex-wrap: wrap;\n}\n.dokan-pro-features .service-section .service-list .service-box {\n flex: 0 0 28.9%;\n margin: 2.2%;\n text-align: center;\n border-radius: 5px;\n background-color: #ffffff;\n}\n.dokan-pro-features .service-section .service-list .service-box .service-thumb img {\n border-radius: 5px 5px 0 0;\n max-width: 100%;\n}\n.dokan-pro-features .service-section .service-list .service-box .service-detail {\n padding: 20px 25px 25px;\n}\n.dokan-pro-features .service-section .service-list .service-box .service-detail h3 {\n color: #3f4143;\n font-size: 15px;\n line-height: 1.5em;\n font-weight: 300;\n margin: 0;\n}\n.dokan-pro-features .service-section .btn {\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 300;\n color: #ffff;\n background-color: #3984b5;\n border: 1px solid #226b9b;\n border-radius: 3px;\n text-decoration: none;\n padding: 13px 28px;\n display: inline-block;\n margin-top: 52px;\n transition: all .2s ease;\n}\n.dokan-pro-features .service-section .btn:hover {\n box-shadow: 2.736px 7.518px 20px 0 rgba(0, 0, 0, 0.15);\n}\n.dokan-pro-features .service-section .btn svg {\n width: 15px;\n fill: #fff;\n margin-left: 5px;\n}\n.dokan-pro-features .comparison-section {\n background-color: #f1f1f1;\n padding: 75px;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .comparison-section {\n padding-left: 21.2%;\n padding-right: 21.2%;\n}\n}\n.dokan-pro-features .comparison-section .section-title {\n margin-bottom: 90px;\n}\n.dokan-pro-features .comparison-section .comparison-area {\n display: flex;\n justify-content: space-between;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box {\n flex: 0 0 48%;\n background-color: #fff;\n border: 1px solid #E0E9EC;\n border-radius: 5px;\n box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);\n padding: 50px;\n box-sizing: border-box;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section {\n margin-bottom: 58px;\n position: relative;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section:after {\n content: \"\";\n position: absolute;\n bottom: -23px;\n left: 0;\n width: 38px;\n height: 5px;\n border-radius: 3px;\n background-color: #d7d7d7;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section img {\n width: 120px;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list {\n margin: 0;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li {\n font-size: 15px;\n line-height: 1.5em;\n font-weight: 300;\n color: #66676E;\n margin-bottom: 28px;\n position: relative;\n display: flex;\n align-items: center;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li:last-child {\n margin-bottom: 0;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li img {\n width: 21px;\n margin-right: 12px;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li.unavailable {\n color: #ccced5;\n}\n.dokan-pro-features .pricing-section {\n background-color: #f7f8f9;\n padding: 85px 0 62px;\n}\n.dokan-pro-features .pricing-section .section-title {\n margin-bottom: 120px;\n}\n.dokan-pro-features .pricing-section .pricing-wrapper {\n padding: 0 4.5%;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .pricing-section .pricing-wrapper {\n padding-left: 21%;\n padding-right: 21%;\n}\n}\n.dokan-pro-features .pricing-section .table-row {\n display: flex;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col:first-child {\n background-color: transparent;\n border-color: transparent;\n border-radius: 3px 3px 0 0;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col:nth-child(2) {\n border-radius: 3px 0 0 0;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col:last-child {\n border-radius: 0 3px 0 0;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col.popular {\n position: relative;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col.popular:before {\n position: absolute;\n top: -28px;\n left: 0;\n width: 100%;\n content: 'Most Popular';\n color: #23282d;\n font-size: 14px;\n line-height: 1.4em;\n background-color: #ffcc00;\n border-radius: 3px 3px 0 0;\n padding: 5px;\n box-sizing: border-box;\n}\n.dokan-pro-features .pricing-section .table-row:nth-child(2) .table-col:first-child {\n border-radius: 3px 3px 0 0;\n}\n.dokan-pro-features .pricing-section .table-row:nth-last-child(2) .table-col:first-child {\n border-radius: 0 0 5px 5px;\n border-bottom: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row:last-child .table-col {\n border-bottom: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row:last-child .table-col:first-child {\n border-radius: 0 0 5px 5px;\n background-color: transparent;\n border-color: transparent;\n}\n.dokan-pro-features .pricing-section .table-row:last-child .table-col:nth-child(2) {\n border-radius: 0 0 0 5px;\n}\n.dokan-pro-features .pricing-section .table-row:last-child .table-col:last-child {\n border-radius: 0 0 5px 0;\n}\n.dokan-pro-features .pricing-section .table-row .table-col {\n width: 18.5%;\n text-align: center;\n border: 1px solid #e7eaeb;\n padding: 18px;\n background-color: #fff;\n border-bottom: 0;\n border-left: 0;\n border-right: 0;\n}\n.dokan-pro-features .pricing-section .table-row .table-col:first-child {\n width: 25%;\n margin-right: 2%;\n text-align: left;\n border-left: 1px solid #e7eaeb;\n border-right: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row .table-col:nth-child(2) {\n border-left: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row .table-col:last-child {\n border-left: 1px solid #e7eaeb;\n border-right: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row .table-col.popular {\n z-index: 1;\n box-shadow: 1px 10px 30px 0 rgba(215, 223, 254, 0.5);\n}\n.dokan-pro-features .pricing-section .table-row .table-col .module-name {\n color: #157ef5;\n font-size: 14px;\n line-height: 1.5em;\n font-weight: 300;\n text-decoration: none;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .plan-data {\n font-size: 15px;\n color: #3f4143;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .plan-data img {\n display: block;\n margin: 0 auto;\n width: 23px;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn {\n font-size: 14px;\n font-weight: 300;\n border-radius: 3px;\n padding: 13px 34px;\n color: #fff;\n text-decoration: none;\n margin: 25px 0 14px;\n display: inline-block;\n transition: all .2s ease;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn:hover {\n box-shadow: 1px 10px 30px 0 rgba(215, 223, 254, 0.5);\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.starter {\n background-color: #00bcff;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.professional {\n background-color: #2bc66d;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.business {\n background-color: #795dff;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.enterprise {\n background-color: #ff5956;\n}\n.dokan-pro-features .pricing-section .plan-name {\n display: inline-block;\n background: black;\n color: #fff;\n font-size: 14px;\n font-weight: 300;\n line-height: 1.4em;\n border-radius: 25px;\n padding: 5px 20px;\n min-width: 95px;\n box-sizing: border-box;\n margin: 26px 0 20px;\n}\n.dokan-pro-features .pricing-section .plan-name.starter {\n background-color: #00bcff;\n}\n.dokan-pro-features .pricing-section .plan-name.professional {\n background-color: #2bc66d;\n}\n.dokan-pro-features .pricing-section .plan-name.business {\n background-color: #795dff;\n}\n.dokan-pro-features .pricing-section .plan-name.enterprise {\n background-color: #ff5956;\n}\n.dokan-pro-features .pricing-section .price {\n margin-bottom: 15px;\n}\n.dokan-pro-features .pricing-section .price span {\n font-size: 14px;\n line-height: 1.2em;\n font-weight: 300;\n color: #b8bbbe;\n display: block;\n}\n.dokan-pro-features .pricing-section .price span:first-child {\n font-size: 28px;\n line-height: 1.5em;\n font-weight: 400;\n color: #23282d;\n}\n.dokan-pro-features .pricing-section .price span:first-child sup {\n font-size: 14px;\n}\n.dokan-pro-features .payment-section {\n display: flex;\n background: #fff;\n justify-content: space-between;\n padding: 20px 65px 15px;\n align-items: center;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .payment-section {\n padding-left: 21%;\n padding-right: 21%;\n}\n}\n.dokan-pro-features .payment-section .guarantee-section {\n display: flex;\n flex: 0 0 70%;\n align-content: center;\n align-items: center;\n position: relative;\n}\n.dokan-pro-features .payment-section .guarantee-section:after {\n content: \"\";\n position: absolute;\n right: -18px;\n top: 50%;\n transform: translateY(-50%);\n width: 5px;\n height: 38px;\n border-radius: 3px;\n background-color: #f1f1f1;\n}\n.dokan-pro-features .payment-section .guarantee-section .feature-thumb img {\n max-width: 100%;\n width: 160px;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail {\n padding-left: 25px;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail h2 {\n font-size: 24px;\n line-height: 1.5em;\n color: #2e2c2c;\n font-weight: 400;\n margin: 0;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail p {\n color: #66676e;\n font-size: 15px;\n line-height: 1.5em;\n font-weight: 300;\n margin: 5px 0 20px;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail a {\n color: #f2624d;\n font-size: 15px;\n line-height: 1.5em;\n text-decoration: none;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail a img {\n width: 18px;\n margin-right: 4px;\n}\n.dokan-pro-features .payment-section .payment-area h3 {\n font-size: 15px;\n font-weight: 300;\n color: #66676e;\n margin: 0px 0 17px;\n}\n.dokan-pro-features .payment-section .payment-area .option img {\n max-width: 100%;\n}\n.dokan-pro-features .testimonial-section {\n background-color: #f1f1f1;\n padding: 75px 0 70px;\n text-align: center;\n}\n.dokan-pro-features .testimonial-section .section-title {\n margin-bottom: 75px;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper {\n width: 80%;\n text-align: center;\n margin: 0 auto;\n}\n@media only screen and (min-width: 1281px) {\n.dokan-pro-features .testimonial-section .testimonial-wrapper {\n width: 55%;\n}\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .profile-pic {\n width: 70px;\n height: 70px;\n border: 5px solid #fff;\n border-radius: 50%;\n background-color: #fff;\n box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.16);\n margin: 0 auto -35px;\n z-index: 1;\n position: relative;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .profile-pic img {\n border-radius: 50%;\n max-width: 100%;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail {\n background-color: #fff;\n color: #000;\n border-radius: 5px;\n border: 1px solid #E0E9EC;\n box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);\n padding: 50px 30px 30px;\n background-repeat: no-repeat;\n background-position: 40px 40px;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail h4 {\n font-size: 18px;\n line-height: 1.444;\n color: #F2624D;\n font-weight: 400;\n margin-top: 0;\n margin-bottom: 5px;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail span {\n font-size: 15px;\n line-height: 1.444;\n font-weight: 300;\n color: #66676e;\n margin-bottom: 20px;\n display: inline-block;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail p {\n color: #2e2c2c;\n font-size: 14px;\n line-height: 1.9em;\n font-weight: 300;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots {\n text-align: center;\n margin: 40px 0 25px;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li {\n position: relative;\n display: inline-block;\n width: 20px;\n height: 20px;\n margin: 0 5px;\n padding: 0;\n cursor: pointer;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li.slick-active button:before {\n background-color: #3f4143;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li button {\n position: relative;\n font-size: 0;\n line-height: 0;\n display: block;\n width: 20px;\n height: 20px;\n padding: 5px;\n cursor: pointer;\n color: transparent;\n border: 0;\n outline: none;\n background: transparent;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li button:before {\n position: absolute;\n top: 0;\n left: 0;\n width: 21px;\n height: 5px;\n content: '';\n text-align: center;\n background-color: #d6d6d6;\n border-radius: 30px;\n}\n.dokan-pro-features .testimonial-section p {\n color: #262626;\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 300;\n}\n.dokan-pro-features .testimonial-section p a {\n color: #8263f7;\n text-decoration: none;\n}\n.dokan-pro-features .cta-section {\n background-image: -moz-linear-gradient(15deg, #ff7d90 0%, #ffad6f 100%);\n background-image: -webkit-linear-gradient(15deg, #ff7d90 0%, #ffad6f 100%);\n background-image: -ms-linear-gradient(15deg, #ff7d90 0%, #ffad6f 100%);\n background-image: linear-gradient(15deg, #ff7d90 0%, #ffad6f 100%);\n background-repeat: no-repeat;\n background-position: center center;\n background-size: contain;\n text-align: center;\n padding: 35px 75px 40px;\n color: #fff;\n}\n.dokan-pro-features .cta-section img {\n width: 60px;\n border-radius: 50%;\n box-shadow: 0px 3px 70px 0px rgba(126, 17, 0, 0.35);\n}\n.dokan-pro-features .cta-section h2 {\n font-size: 30px;\n color: #fff;\n font-weight: 400;\n line-height: 1.333em;\n text-align: center;\n margin: 10px 0;\n text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.31);\n}\n.dokan-pro-features .cta-section p {\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 300;\n margin: 10px 0 30px;\n}\n.dokan-pro-features .cta-section .btn {\n background-color: #fff;\n color: #f2624d;\n font-size: 16px;\n line-height: 1.538em;\n font-weight: 300;\n border: 1px solid #FF9381;\n border-radius: 3px;\n box-shadow: 0px 1px 2px 0px rgba(255, 128, 142, 0.05);\n display: inline-block;\n text-decoration: none;\n padding: 12px 27px;\n}\n.dokan-pro-features .cta-section .btn:hover {\n box-shadow: 2.736px 7.518px 20px 0 rgba(0, 0, 0, 0.15);\n}\n.dokan-pro-features .cta-section .btn svg {\n width: 15px;\n fill: #f2624d;\n margin-left: 6px;\n}\n\n.dokan-help-page .section-wrapper {\n margin-top: 15px;\n}\n.dokan-help-page .section-wrapper .dokan-postbox {\n width: calc(33% - 2em);\n margin: 0 2% 15px 0;\n float: left;\n}\n.dokan-help-page .section-wrapper .dokan-postbox:nth-child(3n+1) {\n clear: both;\n}\n.dokan-help-page .section-wrapper .dokan-postbox .dashicons {\n color: #ccc;\n}\n.dokan-help-page .section-wrapper .dokan-postbox a {\n text-decoration: none;\n}\n.dokan-help-page .section-wrapper .dokan-postbox .inside,\n.dokan-help-page .section-wrapper .dokan-postbox ul {\n margin-bottom: 0;\n}\n.dokan-help-page .loading {\n width: 100%;\n text-align: center;\n margin-top: 100px;\n}\n\n.dokan-settings-wrap {\n position: relative;\n display: flex;\n border: 1px solid #c8d7e1;\n}\n.dokan-settings-wrap .loading {\n position: absolute;\n width: 100%;\n height: 100%;\n background: rgba(255, 255, 255, 0.6);\n}\n.dokan-settings-wrap .loading .dokan-loader {\n top: 40%;\n left: 45%;\n}\n.dokan-settings-wrap .dashicons {\n padding-top: 2px;\n margin-right: 5px;\n}\n.dokan-settings-wrap .dashicons.dashicons-admin-generic {\n color: #6c75ff;\n}\n.dokan-settings-wrap .dashicons.dashicons-cart {\n color: #00aeff;\n}\n.dokan-settings-wrap .dashicons.dashicons-money {\n color: #d35400;\n}\n.dokan-settings-wrap .dashicons.dashicons-admin-page {\n color: #8e44ad;\n}\n.dokan-settings-wrap .dashicons.dashicons-admin-appearance {\n color: #3498db;\n}\n.dokan-settings-wrap .dashicons.dashicons-networking {\n color: #1abc9c;\n}\n.dokan-settings-wrap h2.nav-tab-wrapper {\n flex: 1;\n border-bottom: none;\n padding: 0;\n background: #f1f1f1;\n border-right: 1px solid #c8d7e1;\n}\n.dokan-settings-wrap h2.nav-tab-wrapper a {\n float: none;\n display: block;\n margin: 0;\n border: none;\n padding: 13px 13px;\n background: #f1f1f1;\n font-weight: 500;\n border-bottom: 1px solid #c8d7e1;\n transition-property: none;\n transition: none;\n}\n.dokan-settings-wrap h2.nav-tab-wrapper a.nav-tab-active {\n background: #fff !important;\n border-right: 1px solid #c8d7e1;\n width: 99%;\n color: #2e4453;\n transition: none;\n transition-property: none;\n}\n.dokan-settings-wrap .metabox-holder {\n flex: 3;\n padding-left: 3%;\n padding-right: 10px;\n background: #fff;\n}\n.dokan-settings-wrap .radio-image-container .radio-image {\n display: block;\n width: 50%;\n background: #fff;\n -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);\n box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);\n margin: 0 0 15px;\n position: relative;\n line-height: 0;\n border: 1px solid #ededed;\n padding: 4px;\n}\n.dokan-settings-wrap .radio-image-container .radio-image img {\n max-width: 100%;\n z-index: 1;\n}\n.dokan-settings-wrap .radio-image-container .radio-image .current-option-indicator {\n position: absolute;\n top: 0;\n right: 0;\n background-color: #4CAF50;\n color: #fff;\n padding: 4px;\n z-index: 2;\n line-height: 1.4;\n}\n.dokan-settings-wrap .radio-image-container .radio-image .active-option {\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.45);\n transition: opacity 0.4s ease;\n}\n.dokan-settings-wrap .radio-image-container .radio-image .active-option button {\n position: absolute;\n top: 50%;\n left: 50%;\n margin-top: -23px;\n margin-left: -58px;\n}\n.dokan-settings-wrap .radio-image-container .radio-image:hover .active-option {\n opacity: 1;\n}\n.dokan-settings-wrap .radio-image-container .radio-image.active .active-option {\n display: none;\n}\n.dokan-settings-wrap .radio-image-container .radio-image.not-active .current-option-indicator {\n display: none;\n}\n.dokan-settings-wrap .radio-image-container label {\n display: block;\n margin-bottom: 5px;\n}\n.dokan-settings-wrap .radio-image-container label > input[type='radio'] {\n visibility: hidden;\n /* Makes input not-clickable */\n position: absolute;\n /* Remove input from document flow */\n}\n.dokan-settings-wrap .radio-image-container label > img {\n max-width: 100%;\n}\n\n.color-picker-container .color-picker-button[data-v-01dc0d51] {\n height: 24px;\n padding: 0 0 0 30px;\n margin: 0 0 6px;\n font-size: 11px;\n}\n.color-picker-container .color-picker-button span[data-v-01dc0d51] {\n display: block;\n padding: 0 6px;\n line-height: 22px;\n color: #555;\n text-align: center;\n background: #f7f7f7;\n border-left: 1px solid #ccc;\n border-radius: 0 2px 2px 0;\n}\n.color-picker-container .hex-input[data-v-01dc0d51] {\n width: 65px;\n padding: 3px 5px 4px;\n margin: 0 3 0 0;\n font-family: monospace;\n font-size: 12px;\n line-height: 1.4;\n vertical-align: top;\n box-shadow: 0 1px 0 #ccc;\n}\n"]}
1
+ {"version":3,"sources":["vue-admin.css"],"names":[],"mappings":"AAgBA,kCACE,cAAe,AACf,gBAAiB,AACjB,gBAAiB,AACjB,UAAY,CACb,AACD,2FAEE,WAAY,AACZ,SAAW,CACZ,AACD,6CACE,eAAiB,CAClB,AACD,yCACE,cAAe,AACf,WAAY,AACZ,iBAAkB,AAClB,iBAAmB,CACpB,AACD,gCACE,wBAA+B,AAC/B,oBAAqB,AACrB,mBAAoB,AACpB,6BAA8B,AAC9B,iBAAmB,CACpB,AACD,mCACE,aAAe,CAChB,AACD,kCACE,4BAA+B,CAChC,AACD,2CACE,mBAAoB,AACpB,gBAAiB,AACjB,aAAc,AACd,kBAAmB,AACnB,UAAY,CACb,AACD,2CACE,YAAc,CACf,AACD,6DACE,WAAY,AACZ,sBAAuB,AACvB,iBAAqB,CACtB,AACD,yDACE,gBAAiB,AACjB,mBAAoB,AACpB,WAAY,AACZ,qBAAsB,AACtB,yBAA0B,AAC1B,2BAA6B,CAC9B,AACD,+DACE,kBAAoB,CACrB,AACD,yCACE,kBAAmB,AACnB,YAAa,AACb,mBAAoB,AACpB,yBAA+B,CAChC,AACD,uDACE,eAAiB,CAClB,AACD,yCACA,6CACI,cAAgB,CACnB,AACD,2FAEI,UAAY,CACf,CACA,AACD,yCACA,6CACI,cAAgB,CACnB,AACD,2FAEI,UAAY,CACf,AACD,kIAEI,YAAc,CACjB,AACD,sDACI,cAAgB,CACnB,CACA,AACD,yCACA,wDACI,YAAc,CACjB,CACA,AAED,4CACE,gBAAkB,CACnB,AACD,qDACE,UAAY,CACb,AACD,0BACE,SAAW,CACZ,AACD,2BACE,SAAW,CACZ,AACD,iCACE,WAAY,AACZ,kBAAmB,AACnB,eAAgB,AAChB,WAAY,AACZ,WAAa,CACd,AACD,oCACE,cAAe,AACf,mBAAqB,AACrB,cAAgB,CACjB,AACD,4DAEE,WAAa,CACd,AACD,kCACE,kBAAmB,AACnB,gBAAiB,AACjB,iBAAmB,CACpB,AACD,uCACE,mBAAoB,AACpB,aAAe,CAChB,AACD,sCACE,mBAAoB,AACpB,aAAe,CAChB,AACD,wCACE,mBAAoB,AACpB,aAAe,CAChB,AACD,yCACA,8FAGI,4BAA+B,CAClC,AAID,8KACI,YAAc,CACjB,AACD,sEAEI,UAAY,CACf,AACD,sDACI,WAAY,AACZ,YAAa,AACb,cAAgB,CACnB,AACD,gDACI,oBAAsB,CACzB,AACD,qDACI,cAAgB,CACnB,CACA,AACD,yCACA,gDACI,oBAAsB,CACzB,AACD,qDACI,aAAe,CAClB,CACA,AACD,yCACA,sDACI,WAAY,AACZ,YAAa,AACb,cAAgB,CACnB,CACA,AAED,oBACE,iCAAqC,AACrC,0BAA4B,CAC7B,AACD,sBACE,uBAA0B,CAC3B,AACD,mCACE,kBAAmB,AACnB,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,kBAAmB,AACnB,eAAiB,CAClB,AACD,yCACE,WAAY,AACZ,kBAAmB,AACnB,aAAc,AACd,SAAU,AACV,2BAA4B,AAC5B,WAAY,AACZ,WAAY,AACZ,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,oCACE,yBAA0B,AAC1B,cAAe,AACf,eAAgB,AAChB,aAAc,AACd,mBAAoB,AACpB,aAAc,AACd,4BAA8B,CAC/B,AACD,0BACA,oCACI,aAAe,CAClB,CACA,AACD,uDACE,YAAa,AACb,oBAAsB,CACvB,AACD,kDACE,gBAAkB,CACnB,AACD,qDACE,eAAgB,AAChB,kBAAmB,AACnB,aAAe,CAChB,AACD,oDACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,SAAU,AACV,mBAAsB,CACvB,AACD,qCACE,kBAAmB,AACnB,uBAAwB,AACxB,wBAA0B,CAC3B,AACD,0BACA,qCACI,iBAAkB,AAClB,iBAAmB,CACtB,CACA,AACD,mDACE,aAAc,AACd,cAAgB,CACjB,AACD,gEACE,eAAgB,AAChB,YAAa,AACb,kBAAmB,AACnB,kBAAmB,AACnB,qBAA0B,CAC3B,AACD,mFACE,0BAA2B,AAC3B,cAAgB,CACjB,AACD,gFACE,sBAAwB,CACzB,AACD,mFACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,QAAU,CACX,AACD,0CACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,YAAa,AACb,yBAA0B,AAC1B,yBAA0B,AAC1B,kBAAmB,AACnB,qBAAsB,AACtB,kBAAmB,AACnB,qBAAsB,AACtB,gBAAiB,AACjB,uBAA0B,CAC3B,AACD,gDACE,iDAAuD,CACxD,AACD,8CACE,WAAY,AACZ,UAAW,AACX,eAAiB,CAClB,AACD,wCACE,yBAA0B,AAC1B,YAAc,CACf,AACD,0BACA,wCACI,mBAAoB,AACpB,mBAAqB,CACxB,CACA,AACD,uDACE,kBAAoB,CACrB,AACD,yDACE,aAAc,AACd,6BAA+B,CAChC,AACD,sEACE,aAAc,AACd,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,uCAAgD,AAChD,aAAc,AACd,qBAAuB,CACxB,AACD,oFACE,mBAAoB,AACpB,iBAAmB,CACpB,AACD,0FACE,WAAY,AACZ,kBAAmB,AACnB,aAAc,AACd,OAAQ,AACR,WAAY,AACZ,WAAY,AACZ,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,wFACE,WAAa,CACd,AACD,oFACE,QAAU,CACX,AACD,uFACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,cAAe,AACf,mBAAoB,AACpB,kBAAmB,AACnB,aAAc,AACd,kBAAoB,CACrB,AACD,kGACE,eAAiB,CAClB,AACD,2FACE,WAAY,AACZ,iBAAmB,CACpB,AACD,mGACE,aAAe,CAChB,AACD,qCACE,yBAA0B,AAC1B,mBAAqB,CACtB,AACD,oDACE,mBAAqB,CACtB,AACD,sDACE,cAAgB,CACjB,AACD,0BACA,sDACI,iBAAkB,AAClB,iBAAmB,CACtB,CACA,AACD,gDACE,YAAc,CACf,AACD,mFACE,6BAA8B,AAC9B,yBAA0B,AAC1B,yBAA2B,CAC5B,AACD,oFACE,uBAAyB,CAC1B,AACD,kFACE,uBAAyB,CAC1B,AACD,+EACE,iBAAmB,CACpB,AACD,sFACE,kBAAmB,AACnB,UAAW,AACX,OAAQ,AACR,WAAY,AACZ,uBAAwB,AACxB,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,sBAA0B,AAC1B,0BAA2B,AAC3B,YAAa,AACb,qBAAuB,CACxB,AACD,oFACE,yBAA2B,CAC5B,AACD,yFACE,0BAA2B,AAC3B,+BAAiC,CAClC,AACD,sEACE,+BAAiC,CAClC,AACD,kFACE,0BAA2B,AAC3B,6BAA8B,AAC9B,wBAA0B,CAC3B,AACD,mFACE,uBAAyB,CAC1B,AACD,iFACE,uBAAyB,CAC1B,AACD,2DACE,YAAa,AACb,kBAAmB,AACnB,yBAA0B,AAC1B,aAAc,AACd,sBAAuB,AACvB,gBAAiB,AACjB,cAAe,AACf,cAAgB,CACjB,AACD,uEACE,UAAW,AACX,gBAAiB,AACjB,gBAAiB,AACjB,8BAA+B,AAC/B,8BAAgC,CACjC,AACD,wEACE,6BAA+B,CAChC,AACD,sEACE,8BAA+B,AAC/B,8BAAgC,CACjC,AACD,mEACE,UAAW,AACX,+CAAqD,CACtD,AACD,wEACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,oBAAsB,CACvB,AACD,sEACE,eAAgB,AAChB,aAAe,CAChB,AACD,0EACE,cAAe,AACf,cAAe,AACf,UAAY,CACb,AACD,oEACE,eAAgB,AAChB,gBAAiB,AACjB,kBAAmB,AACnB,kBAAmB,AACnB,WAAY,AACZ,qBAAsB,AACtB,mBAAoB,AACpB,qBAAsB,AACtB,uBAA0B,CAC3B,AACD,0EACE,+CAAqD,CACtD,AACD,4EACE,wBAA0B,CAC3B,AACD,iFACE,wBAA0B,CAC3B,AACD,6EACE,wBAA0B,CAC3B,AACD,+EACE,wBAA0B,CAC3B,AACD,gDACE,qBAAsB,AACtB,gBAAkB,AAClB,WAAY,AACZ,eAAgB,AAChB,gBAAiB,AACjB,kBAAmB,AACnB,mBAAoB,AACpB,iBAAkB,AAClB,eAAgB,AAChB,sBAAuB,AACvB,kBAAoB,CACrB,AACD,wDACE,wBAA0B,CAC3B,AACD,6DACE,wBAA0B,CAC3B,AACD,yDACE,wBAA0B,CAC3B,AACD,2DACE,wBAA0B,CAC3B,AACD,4CACE,kBAAoB,CACrB,AACD,iDACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,cAAe,AACf,aAAe,CAChB,AACD,6DACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,aAAe,CAChB,AACD,iEACE,cAAgB,CACjB,AACD,qCACE,aAAc,AACd,gBAAiB,AACjB,8BAA+B,AAC/B,uBAAwB,AACxB,kBAAoB,CACrB,AACD,0BACA,qCACI,iBAAkB,AAClB,iBAAmB,CACtB,CACA,AACD,wDACE,aAAc,AACd,aAAc,AACd,qBAAsB,AACtB,mBAAoB,AACpB,iBAAmB,CACpB,AACD,8DACE,WAAY,AACZ,kBAAmB,AACnB,YAAa,AACb,QAAS,AACT,2BAA4B,AAC5B,UAAW,AACX,YAAa,AACb,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,2EACE,eAAgB,AAChB,WAAa,CACd,AACD,0EACE,iBAAmB,CACpB,AACD,6EACE,eAAgB,AAChB,kBAAmB,AACnB,cAAe,AACf,gBAAiB,AACjB,QAAU,CACX,AACD,4EACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAmB,CACpB,AACD,4EACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,oBAAsB,CACvB,AACD,gFACE,WAAY,AACZ,gBAAkB,CACnB,AACD,sDACE,eAAgB,AAChB,gBAAiB,AACjB,cAAe,AACf,eAAmB,CACpB,AACD,+DACE,cAAgB,CACjB,AACD,yCACE,yBAA0B,AAC1B,oBAAqB,AACrB,iBAAmB,CACpB,AACD,wDACE,kBAAoB,CACrB,AACD,8DACE,UAAW,AACX,kBAAmB,AACnB,aAAe,CAChB,AACD,0CACA,8DACI,SAAW,CACd,CACA,AACD,4FACE,WAAY,AACZ,YAAa,AACb,sBAAuB,AACvB,kBAAmB,AACnB,sBAAuB,AACvB,wCAAiD,AACjD,oBAAqB,AACrB,UAAW,AACX,iBAAmB,CACpB,AACD,gGACE,kBAAmB,AACnB,cAAgB,CACjB,AACD,+FACE,sBAAuB,AACvB,WAAY,AACZ,kBAAmB,AACnB,yBAA0B,AAC1B,uCAAgD,AAChD,uBAAwB,AACxB,4BAA6B,AAC7B,6BAA+B,CAChC,AACD,kGACE,eAAgB,AAChB,kBAAmB,AACnB,cAAe,AACf,gBAAiB,AACjB,aAAc,AACd,iBAAmB,CACpB,AACD,oGACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,cAAe,AACf,mBAAoB,AACpB,oBAAsB,CACvB,AACD,iGACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,eAAiB,CAClB,AACD,0EACE,kBAAmB,AACnB,kBAAoB,CACrB,AACD,6EACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,aAAc,AACd,UAAW,AACX,cAAgB,CACjB,AACD,wGACE,wBAA0B,CAC3B,AACD,oFACE,kBAAmB,AACnB,YAAa,AACb,cAAe,AACf,cAAe,AACf,WAAY,AACZ,YAAa,AACb,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,SAAU,AACV,aAAc,AACd,sBAAwB,CACzB,AACD,2FACE,kBAAmB,AACnB,MAAO,AACP,OAAQ,AACR,WAAY,AACZ,WAAY,AACZ,WAAY,AACZ,kBAAmB,AACnB,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,2CACE,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,eAAiB,CAClB,AACD,6CACE,cAAe,AACf,oBAAsB,CACvB,AACD,iCAIE,wDAAmE,AACnE,4BAA6B,AAC7B,wBAAmC,AACnC,wBAAyB,AACzB,kBAAmB,AACnB,uBAAwB,AACxB,UAAY,CACb,AACD,qCACE,WAAY,AACZ,kBAAmB,AACnB,0CAAoD,CACrD,AACD,oCACE,eAAgB,AAChB,WAAY,AACZ,gBAAiB,AACjB,oBAAqB,AACrB,kBAAmB,AACnB,cAAe,AACf,yCAAmD,CACpD,AACD,mCACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,kBAAoB,CACrB,AACD,sCACE,sBAAuB,AACvB,cAAe,AACf,eAAgB,AAChB,oBAAqB,AACrB,gBAAiB,AACjB,yBAA0B,AAC1B,kBAAmB,AACnB,6CAAsD,AACtD,qBAAsB,AACtB,qBAAsB,AACtB,iBAAmB,CACpB,AACD,4CACE,iDAAuD,CACxD,AACD,0CACE,WAAY,AACZ,aAAc,AACd,eAAiB,CAClB,AAED,kCACE,eAAiB,CAClB,AACD,iDACE,sBAAuB,AACvB,mBAAoB,AACpB,UAAY,CACb,AACD,iEACE,UAAY,CACb,AACD,4DACE,UAAY,CACb,AACD,mDACE,oBAAsB,CACvB,AACD,6GAEE,eAAiB,CAClB,AACD,0BACE,WAAY,AACZ,kBAAmB,AACnB,gBAAkB,CACnB,AAED,qBACE,kBAAmB,AACnB,aAAc,AACd,wBAA0B,CAC3B,AACD,8BACE,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,6BAAqC,CACtC,AACD,4CACE,QAAS,AACT,QAAU,CACX,AACD,gCACE,gBAAiB,AACjB,gBAAkB,CACnB,AACD,wDACE,aAAe,CAChB,AACD,+CACE,aAAe,CAChB,AACD,gDACE,aAAe,CAChB,AACD,qDACE,aAAe,CAChB,AACD,2DACE,aAAe,CAChB,AACD,qDACE,aAAe,CAChB,AACD,wCACE,OAAQ,AACR,mBAAoB,AACpB,UAAW,AACX,mBAAoB,AACpB,8BAAgC,CACjC,AACD,0CACE,WAAY,AACZ,cAAe,AACf,SAAU,AACV,YAAa,AACb,aAAmB,AACnB,mBAAoB,AACpB,gBAAiB,AACjB,gCAAiC,AACjC,yBAA0B,AAC1B,eAAiB,CAClB,AACD,iGAEE,gBAAiB,AACjB,SAAW,CACZ,AACD,yDACE,0BAA4B,AAC5B,+BAAgC,AAChC,UAAW,AACX,cAAe,AACf,gBAAiB,AACjB,wBAA0B,CAC3B,AACD,qCACE,OAAQ,AACR,gBAAiB,AACjB,mBAAoB,AACpB,eAAiB,CAClB,AACD,yDACE,cAAe,AACf,UAAW,AACX,gBAAiB,AAEjB,sCAA2C,AAC3C,gBAAiB,AACjB,kBAAmB,AACnB,cAAe,AACf,yBAA0B,AAC1B,WAAa,CACd,AACD,6DACE,eAAgB,AAChB,SAAW,CACZ,AACD,mFACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,yBAA0B,AAC1B,WAAY,AACZ,YAAa,AACb,UAAW,AACX,eAAiB,CAClB,AACD,wEACE,UAAW,AACX,kBAAmB,AACnB,MAAO,AACP,OAAQ,AACR,UAAW,AACX,WAAY,AACZ,YAAa,AACb,iCAAsC,AACtC,2BAA8B,CAC/B,AACD,+EACE,kBAAmB,AACnB,QAAS,AACT,SAAU,AACV,iBAAkB,AAClB,iBAAmB,CACpB,AACD,8EACE,SAAW,CACZ,AAID,6KACE,YAAc,CACf,AACD,kDACE,cAAe,AACf,iBAAmB,CACpB,AACD,oEACE,kBAAmB,AAEnB,iBAAmB,CAEpB,AACD,sDACE,cAAgB,CACjB,AACD,gDACE,6BAAiC,AACjC,gBAAkB,CACnB,AACD,sDACE,cAAe,AACf,gBAAiB,AACjB,cAAe,AACf,gBAAiB,AACjB,eAAiB,CAClB,AACD,yGACE,YAAc,CACf,AAED,kCACE,qBAAsB,AACtB,iBAAmB,CACpB,AACD,sDACE,cAAiB,AACjB,cAAgB,CACjB,AACD,8BACE,yBAA2B,AAC3B,0BAA6B,AAC7B,sBAAwB,AACxB,0BAA6B,CAC9B,AACD,4BAEE,oBAAsB,CACvB,AACD,wCAEE,UAAY,CACb,AACD,+BACE,iBAAkB,AAClB,gBAAkB,CACnB,AACD,aACE,UAAW,AACX,iBAAkB,AAClB,iBAAmB,CACpB,AACD,gCACE,gBAAkB,CACnB,AACD,iEACE,2BAA8B,CAC/B,AACD,mFACE,gBAAkB,CACnB,AAED,8DACE,YAAa,AACb,mBAAoB,AACpB,eAAgB,AAChB,cAAgB,CACjB,AACD,mEACE,cAAe,AACf,cAAe,AACf,iBAAkB,AAClB,WAAY,AACZ,kBAAmB,AACnB,mBAAoB,AACpB,2BAA4B,AAC5B,yBAA2B,CAC5B,AACD,oDACE,WAAY,AACZ,oBAAqB,AACrB,eAAgB,AAChB,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,mBAAoB,AACpB,uBAAyB,CAC1B,AAED,wBACE,iBAAkB,AAClB,eAAgB,AAChB,kBAAmB,AACnB,aAAe,CAChB,AACD,oBACE,SAAW,CACZ,AACD,yBACE,SAAW,CACZ,AACD,+BACE,WAAY,AACZ,kBAAmB,AACnB,eAAgB,AAChB,WAAY,AACZ,WAAa,CACd,AACD,kCACE,cAAe,AACf,mBAAqB,AACrB,cAAgB,CACjB,AACD,yCACA,+DAEI,4BAA+B,CAClC,AAID,gJACI,YAAc,CACjB,AACD,gEAEI,UAAY,CACf,AACD,2DACI,kBAAoB,CACvB,AACD,qCACI,mBAAsB,CACzB,CACA,AACD,yCACA,qCACI,cAAgB,CACnB,CACA,AAED,iBACE,yBAA4B,CAC7B,AACD,2CACE,iBAAkB,AAClB,eAAgB,AAChB,eAAiB,CAClB,AACD,sBACE,eAAgB,AAChB,eAAiB,CAClB,AACD,yCACE,gBAAiB,AACjB,aAAc,AACd,6BAA+B,CAChC,AACD,oDACE,YAAa,AACb,qBAAsB,AACtB,kBAAmB,AACnB,yBAA0B,AAC1B,aAAc,AACd,uBAAwB,AACxB,kBAAoB,CACrB,AACD,0DACE,kBAAmB,AACnB,OAAS,CACV,AACD,sDACE,WAAY,AACZ,qBAAsB,AACtB,YAAc,CACf,AACD,yHAEE,aAAc,AACd,mBAAoB,AACpB,yBAA0B,AAC1B,eAAiB,CAClB,AACD,2DACE,kBAAmB,AACnB,SAAU,AACV,SAAW,CACZ,AACD,gEACE,gBAAkB,CACnB,AACD,0EAGE,OAAQ,AAER,2BAA8B,CAS/B,AACD,oIAdE,kBAAmB,AACnB,MAAO,AAEP,cAAe,AAGf,kCAAmC,AAEnC,qCAAsC,AAEtC,QAAS,AACT,SAAU,AACV,WAAa,CAoBd,AAlBD,0DACE,UAAW,AAIX,YAAa,AAGb,+BAAgC,AAShC,yBAA2B,CAC5B,AACD,2DACE,wBAA0B,CAC3B,AACD,6DACE,UAAY,CACb,AACD,iEACE,yBAA2B,CAC5B,AACD,+DACE,aAAe,CAChB,AACD,sEACE,wBAA0B,CAC3B,AACD,4EACE,yBAA2B,CAC5B,AACD,wEACE,UAAY,CACb,AACD,iCACE,yBAA0B,AAC1B,kBAAmB,AACnB,gBAAkB,CACnB,AACD,0CACE,kBAAmB,AACnB,SAAU,AACV,SAAW,CACZ,AACD,iDACE,mBAAoB,AACpB,SAAU,AACV,YAAc,CACf,AACD,+CACE,iBAAkB,AAClB,mBAAqB,CACtB,AACD,iEACE,cAAe,AACf,eAAiB,CAClB,AACD,+IAEE,cAAe,AACf,WAAa,CACd,AACD,yEACE,WAAY,AACZ,UAAW,AACX,cAAgB,CACjB,AACD,gGACE,aAAc,AACd,6BAA+B,CAChC,AACD,gNAEE,SAAU,AACV,UAAW,AACX,kBAAmB,AACnB,YAAa,AACb,kBAAmB,AACnB,cAAe,AACf,cAAgB,CACjB,AACD,8GACE,WAAa,CACd,AACD,+GACE,SAAW,CACZ,AACD,6FACE,cAAgB,CACjB,AACD,2GACE,gBAAkB,CACnB,AACD,gHACE,gBAAkB,CACnB,AACD,sGACE,cAAgB,CACjB,AACD,sFACE,cAAgB,CACjB,AACD,yGACE,kBAAoB,CACrB,AACD,4FACE,eAAiB,CAClB,AACD,8FACE,eAAiB,CAClB,AACD,qGACE,OAAS,CACV,AACD,mGACE,gBAAiB,AACjB,YAAa,AACb,YAAc,CACf,AACD,4EACE,iBAAmB,CACpB,AACD,iEACE,WAAY,AAEZ,iBAAkB,AAElB,sBAAuB,AAEvB,kBAAmB,AAEnB,sBAAuB,AAEvB,eAAgB,AAEhB,mBAAoB,AAEpB,gBAAiB,AAEjB,WAAa,CACd,AACD,8EACE,aAAe,CAChB,AACD,wFACE,SAAW,CACZ,AACD,6DACE,aAAc,AACd,mBAAqB,CACtB,AACD,sEACE,mBAAoB,AACpB,kBAAmB,AACnB,iBAAkB,AAClB,0BAA2B,AAC3B,kBAAmB,AACnB,YAAa,AACb,YAAa,AACb,gBAAkB,CACnB,AACD,qFACE,gBAAiB,AACjB,aAAe,CAChB,AACD,yFACE,yBAA0B,AAC1B,oBAAqB,AACrB,eAAgB,AAChB,WAAY,AACZ,WAAa,CACd,AACD,6EACE,UAAW,AACX,aAAc,AACd,kBAAmB,AACnB,aAAc,AACd,cAAgB,CACjB,AACD,+FACE,WAAY,AACZ,aAAc,AACd,SAAW,CACZ,AACD,kGACE,mBAAoB,AACpB,WAAa,AACb,kBAAmB,AACnB,kBAAmB,AACnB,cAAe,AACf,cAAgB,CACjB,AACD,wFACE,aAAe,CAChB,AACD,6EACE,WAAe,AACf,eAAiB,CAClB,AACD,8BACE,mBAAoB,AACpB,kBAAmB,AACnB,WAAa,AACb,kBAAmB,AACnB,cAAgB,CACjB,AACD,yEAEE,aAAc,AACd,mBAAoB,AACpB,yBAA0B,AAC1B,eAAiB,CAClB,AACD,qDACE,sBAAyB,CAC1B,AACD,iEACE,iBAAkB,AAClB,gBAAkB,CACnB,AACD,mEACE,aAAc,AACd,SAAU,AACV,gBAAiB,AACjB,eAAiB,CAClB,AACD,gGAEE,2BAA8B,CAC/B,AACD,qFAEE,SAAW,CACZ,AACD,yCACA,qDACI,YAAc,CACjB,AACD,iEACI,gBAAkB,CACrB,CACA,AACD,yCACA,kDACI,YAAc,CACjB,AACD,oDACI,aAAc,AACd,gBAAkB,CACrB,AACD,yDACI,cAAe,AACf,aAAe,CAClB,AACD,kHAGI,cAAgB,CACnB,AACD,+CACI,uBAA0B,CAC7B,AACD,wDACI,4BAA8B,AAC9B,oBAAuB,CAC1B,AACD,+DACI,eAAiB,CACpB,CACA,AACD,yCACA,kDACI,YAAc,CACjB,AACD,oDACI,YAAa,AACb,iBAAkB,AAClB,cAAgB,CACnB,AACD,kHAGI,cAAgB,CACnB,CACA,AACD,yCACA,kDACI,YAAc,CACjB,AACD,oDACI,YAAa,AACb,iBAAkB,AAClB,cAAgB,CACnB,CACA,AAED,QACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,WAAa,CACd,AACD,cACE,YAAc,CACf,AACD,8BACE,wBAA0B,CAC3B,AACD,qCAGE,0BAA4B,CAC7B,AACD,4BACE,0BAA4B,CAC7B,AACD,gBACE,kBAAmB,AACnB,eAAgB,AAChB,MAAO,AACP,OAAQ,AACR,QAAS,AACT,SAAU,AACV,sBAAuB,AAEvB,cAAiB,CAClB,AACD,uBACE,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,SAAU,AACV,WAAY,AACZ,sBAAwB,AAExB,cAAiB,CAClB,AACD,sBACE,kBAAoB,CACrB,AACD,6BACE,iBAAmB,CACpB,AAED,oBACE,UAAY,CACb,AACD,wBACE,cAAgB,CACjB,AAED,gBACE,gBAAiB,AACjB,cAAgB,CACjB,AACD,+BACE,oBAAsB,CACvB,AACD,uCACE,kBAAmB,AACnB,oBAAsB,CACvB,AACD,wCACE,SAAW,CACZ,AACD,2CACE,eAAgB,AAChB,iBAAmB,CACpB,AACD,8JAEE,SAAW,CACZ","file":"vue-admin.css","sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.dokan-dashboard .widgets-wrapper {\n display: block;\n overflow: hidden;\n margin-top: 15px;\n width: 100%;\n}\n.dokan-dashboard .widgets-wrapper .left-side,\n.dokan-dashboard .widgets-wrapper .right-side {\n float: left;\n width: 48%;\n}\n.dokan-dashboard .widgets-wrapper .left-side {\n margin-right: 3%;\n}\n.dokan-dashboard .dokan-postbox .loading {\n display: block;\n width: 100%;\n margin: 15px auto;\n text-align: center;\n}\n.dokan-dashboard .subscribe-box {\n margin: 20px -12px -11px -12px;\n padding: 0 15px 15px;\n background: #fafafa;\n border-top: 1px solid #efefef;\n position: relative;\n}\n.dokan-dashboard .subscribe-box h3 {\n margin: 10px 0;\n}\n.dokan-dashboard .subscribe-box p {\n margin-bottom: 10px !important;\n}\n.dokan-dashboard .subscribe-box .thank-you {\n background: #4fa72b;\n margin-top: 10px;\n padding: 15px;\n border-radius: 3px;\n color: #fff;\n}\n.dokan-dashboard .subscribe-box .form-wrap {\n display: flex;\n}\n.dokan-dashboard .subscribe-box .form-wrap input[type=\"email\"] {\n width: 100%;\n padding: 3px 0 3px 6px;\n margin: 0px -1px 0 0;\n}\n.dokan-dashboard .subscribe-box .form-wrap button.button {\n box-shadow: none;\n background: #FF5722;\n color: #fff;\n border-color: #FF5722;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.dokan-dashboard .subscribe-box .form-wrap button.button:hover {\n background: #ff6a3c;\n}\n.dokan-dashboard .subscribe-box .loading {\n position: absolute;\n height: 100%;\n margin: 0 0 0 -15px;\n background: rgba(0, 0, 0, 0.2);\n}\n.dokan-dashboard .subscribe-box .loading .dokan-loader {\n margin-top: 30px;\n}\n@media only screen and (max-width: 770px) {\n.dokan-dashboard .widgets-wrapper .left-side {\n margin-right: 0;\n}\n.dokan-dashboard .widgets-wrapper .left-side,\n .dokan-dashboard .widgets-wrapper .right-side {\n width: auto;\n}\n}\n@media only screen and (max-width: 500px) {\n.dokan-dashboard .widgets-wrapper .left-side {\n margin-right: 0;\n}\n.dokan-dashboard .widgets-wrapper .left-side,\n .dokan-dashboard .widgets-wrapper .right-side {\n width: auto;\n}\n.dokan-dashboard .postbox.dokan-status ul li a .details span.up,\n .dokan-dashboard .postbox.dokan-status ul li a .details span.down {\n display: none;\n}\n.dokan-dashboard .postbox.dokan-status ul li a strong {\n font-size: 16px;\n}\n}\n@media only screen and (max-width: 360px) {\n.dokan-dashboard .postbox.dokan-status ul li a .details {\n display: none;\n}\n}\n\n.withdraw-requests .dokan-modal .modal-body {\n min-height: 130px;\n}\n.withdraw-requests .dokan-modal .modal-body textarea {\n width: 100%;\n}\n.withdraw-requests .image {\n width: 10%;\n}\n.withdraw-requests .seller {\n width: 20%;\n}\n.withdraw-requests td.seller img {\n float: left;\n margin-right: 10px;\n margin-top: 1px;\n width: 24px;\n height: auto;\n}\n.withdraw-requests td.seller strong {\n display: block;\n margin-bottom: 0.2em;\n font-size: 14px;\n}\n.withdraw-requests td.actions,\n.withdraw-requests th.actions {\n width: 120px;\n}\n.withdraw-requests td.status span {\n line-height: 2.5em;\n padding: 5px 8px;\n border-radius: 4px;\n}\n.withdraw-requests td.status .approved {\n background: #c6e1c6;\n color: #5b841b;\n}\n.withdraw-requests td.status .pending {\n background: #f8dda7;\n color: #94660c;\n}\n.withdraw-requests td.status .cancelled {\n background: #eba3a3;\n color: #761919;\n}\n@media only screen and (max-width: 600px) {\n.withdraw-requests table td.seller,\n .withdraw-requests td.amount,\n .withdraw-requests td.actions {\n display: table-cell !important;\n}\n.withdraw-requests table th:not(.check-column):not(.seller):not(.amount):not(.actions) {\n display: none;\n}\n.withdraw-requests table td:not(.check-column):not(.seller):not(.amount):not(.actions) {\n display: none;\n}\n.withdraw-requests table th.column,\n .withdraw-requests table td.column {\n width: auto;\n}\n.withdraw-requests table td.column.actions .dashicons {\n width: 14px;\n height: 14px;\n font-size: 18px;\n}\n.withdraw-requests table td.seller .row-actions {\n display: inline-block;\n}\n.withdraw-requests table td.seller .row-actions span {\n font-size: 11px;\n}\n}\n@media only screen and (max-width: 376px) {\n.withdraw-requests table td.seller .row-actions {\n display: inline-block;\n}\n.withdraw-requests table td.seller .row-actions span {\n font-size: 9px;\n}\n}\n@media only screen and (max-width: 320px) {\n.withdraw-requests table td.column.actions .dashicons {\n width: 10px;\n height: 10px;\n font-size: 14px;\n}\n}\n\n.dokan-pro-features {\n font-family: 'Open Sans', sans-serif;\n margin: -10px -20px 0 -22px;\n}\n.dokan-pro-features a {\n transition: all 0.2s ease;\n}\n.dokan-pro-features .section-title {\n text-align: center;\n color: #2e2c2c;\n font-size: 30px;\n line-height: 1.5em;\n font-weight: 400;\n position: relative;\n margin: 0 0 58px;\n}\n.dokan-pro-features .section-title:after {\n content: '';\n position: absolute;\n bottom: -21px;\n left: 50%;\n transform: translateX(-50%);\n width: 38px;\n height: 5px;\n border-radius: 3px;\n background-color: #f2624d;\n}\n.dokan-pro-features .header-section {\n background-color: #f2f2f2;\n color: #3f4143;\n font-size: 16px;\n display: flex;\n align-items: center;\n padding: 0 8%;\n border-bottom: 1px solid #eee;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .header-section {\n padding: 0 24%;\n}\n}\n.dokan-pro-features .header-section .feature-thumb img {\n width: 233px;\n margin: -20px 0 -30px;\n}\n.dokan-pro-features .header-section .content-area {\n padding-left: 10%;\n}\n.dokan-pro-features .header-section .content-area h1 {\n font-size: 27px;\n line-height: 1.5em;\n color: #2e2c2c;\n}\n.dokan-pro-features .header-section .content-area p {\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 300;\n margin: 0;\n letter-spacing: 0.5px;\n}\n.dokan-pro-features .service-section {\n text-align: center;\n padding: 73px 30px 85px;\n background-color: #f7f8f9;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .service-section {\n padding-left: 20%;\n padding-right: 20%;\n}\n}\n.dokan-pro-features .service-section .service-list {\n display: flex;\n flex-wrap: wrap;\n}\n.dokan-pro-features .service-section .service-list .service-box {\n flex: 0 0 28.9%;\n margin: 2.2%;\n text-align: center;\n border-radius: 5px;\n background-color: #ffffff;\n}\n.dokan-pro-features .service-section .service-list .service-box .service-thumb img {\n border-radius: 5px 5px 0 0;\n max-width: 100%;\n}\n.dokan-pro-features .service-section .service-list .service-box .service-detail {\n padding: 20px 25px 25px;\n}\n.dokan-pro-features .service-section .service-list .service-box .service-detail h3 {\n color: #3f4143;\n font-size: 15px;\n line-height: 1.5em;\n font-weight: 300;\n margin: 0;\n}\n.dokan-pro-features .service-section .btn {\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 300;\n color: #ffff;\n background-color: #3984b5;\n border: 1px solid #226b9b;\n border-radius: 3px;\n text-decoration: none;\n padding: 13px 28px;\n display: inline-block;\n margin-top: 52px;\n transition: all 0.2s ease;\n}\n.dokan-pro-features .service-section .btn:hover {\n box-shadow: 2.736px 7.518px 20px 0 rgba(0, 0, 0, 0.15);\n}\n.dokan-pro-features .service-section .btn svg {\n width: 15px;\n fill: #fff;\n margin-left: 5px;\n}\n.dokan-pro-features .comparison-section {\n background-color: #f1f1f1;\n padding: 75px;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .comparison-section {\n padding-left: 21.2%;\n padding-right: 21.2%;\n}\n}\n.dokan-pro-features .comparison-section .section-title {\n margin-bottom: 90px;\n}\n.dokan-pro-features .comparison-section .comparison-area {\n display: flex;\n justify-content: space-between;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box {\n flex: 0 0 48%;\n background-color: #fff;\n border: 1px solid #E0E9EC;\n border-radius: 5px;\n box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);\n padding: 50px;\n box-sizing: border-box;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section {\n margin-bottom: 58px;\n position: relative;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section:after {\n content: \"\";\n position: absolute;\n bottom: -23px;\n left: 0;\n width: 38px;\n height: 5px;\n border-radius: 3px;\n background-color: #d7d7d7;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .logo-section img {\n width: 120px;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list {\n margin: 0;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li {\n font-size: 15px;\n line-height: 1.5em;\n font-weight: 300;\n color: #66676E;\n margin-bottom: 28px;\n position: relative;\n display: flex;\n align-items: center;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li:last-child {\n margin-bottom: 0;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li img {\n width: 21px;\n margin-right: 12px;\n}\n.dokan-pro-features .comparison-section .comparison-area .compare-box .compare-list li.unavailable {\n color: #ccced5;\n}\n.dokan-pro-features .pricing-section {\n background-color: #f7f8f9;\n padding: 85px 0 62px;\n}\n.dokan-pro-features .pricing-section .section-title {\n margin-bottom: 120px;\n}\n.dokan-pro-features .pricing-section .pricing-wrapper {\n padding: 0 4.5%;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .pricing-section .pricing-wrapper {\n padding-left: 21%;\n padding-right: 21%;\n}\n}\n.dokan-pro-features .pricing-section .table-row {\n display: flex;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col:first-child {\n background-color: transparent;\n border-color: transparent;\n border-radius: 3px 3px 0 0;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col:nth-child(2) {\n border-radius: 3px 0 0 0;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col:last-child {\n border-radius: 0 3px 0 0;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col.popular {\n position: relative;\n}\n.dokan-pro-features .pricing-section .table-row:first-child .table-col.popular:before {\n position: absolute;\n top: -28px;\n left: 0;\n width: 100%;\n content: 'Most Popular';\n color: #23282d;\n font-size: 14px;\n line-height: 1.4em;\n background-color: #ffcc00;\n border-radius: 3px 3px 0 0;\n padding: 5px;\n box-sizing: border-box;\n}\n.dokan-pro-features .pricing-section .table-row:nth-child(2) .table-col:first-child {\n border-radius: 3px 3px 0 0;\n}\n.dokan-pro-features .pricing-section .table-row:nth-last-child(2) .table-col:first-child {\n border-radius: 0 0 5px 5px;\n border-bottom: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row:last-child .table-col {\n border-bottom: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row:last-child .table-col:first-child {\n border-radius: 0 0 5px 5px;\n background-color: transparent;\n border-color: transparent;\n}\n.dokan-pro-features .pricing-section .table-row:last-child .table-col:nth-child(2) {\n border-radius: 0 0 0 5px;\n}\n.dokan-pro-features .pricing-section .table-row:last-child .table-col:last-child {\n border-radius: 0 0 5px 0;\n}\n.dokan-pro-features .pricing-section .table-row .table-col {\n width: 18.5%;\n text-align: center;\n border: 1px solid #e7eaeb;\n padding: 18px;\n background-color: #fff;\n border-bottom: 0;\n border-left: 0;\n border-right: 0;\n}\n.dokan-pro-features .pricing-section .table-row .table-col:first-child {\n width: 25%;\n margin-right: 2%;\n text-align: left;\n border-left: 1px solid #e7eaeb;\n border-right: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row .table-col:nth-child(2) {\n border-left: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row .table-col:last-child {\n border-left: 1px solid #e7eaeb;\n border-right: 1px solid #e7eaeb;\n}\n.dokan-pro-features .pricing-section .table-row .table-col.popular {\n z-index: 1;\n box-shadow: 1px 10px 30px 0 rgba(215, 223, 254, 0.5);\n}\n.dokan-pro-features .pricing-section .table-row .table-col .module-name {\n color: #157ef5;\n font-size: 14px;\n line-height: 1.5em;\n font-weight: 300;\n text-decoration: none;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .plan-data {\n font-size: 15px;\n color: #3f4143;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .plan-data img {\n display: block;\n margin: 0 auto;\n width: 23px;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn {\n font-size: 14px;\n font-weight: 300;\n border-radius: 3px;\n padding: 13px 34px;\n color: #fff;\n text-decoration: none;\n margin: 25px 0 14px;\n display: inline-block;\n transition: all 0.2s ease;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn:hover {\n box-shadow: 1px 10px 30px 0 rgba(215, 223, 254, 0.5);\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.starter {\n background-color: #00bcff;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.professional {\n background-color: #2bc66d;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.business {\n background-color: #795dff;\n}\n.dokan-pro-features .pricing-section .table-row .table-col .buy-btn.enterprise {\n background-color: #ff5956;\n}\n.dokan-pro-features .pricing-section .plan-name {\n display: inline-block;\n background: black;\n color: #fff;\n font-size: 14px;\n font-weight: 300;\n line-height: 1.4em;\n border-radius: 25px;\n padding: 5px 20px;\n min-width: 95px;\n box-sizing: border-box;\n margin: 26px 0 20px;\n}\n.dokan-pro-features .pricing-section .plan-name.starter {\n background-color: #00bcff;\n}\n.dokan-pro-features .pricing-section .plan-name.professional {\n background-color: #2bc66d;\n}\n.dokan-pro-features .pricing-section .plan-name.business {\n background-color: #795dff;\n}\n.dokan-pro-features .pricing-section .plan-name.enterprise {\n background-color: #ff5956;\n}\n.dokan-pro-features .pricing-section .price {\n margin-bottom: 15px;\n}\n.dokan-pro-features .pricing-section .price span {\n font-size: 14px;\n line-height: 1.2em;\n font-weight: 300;\n color: #b8bbbe;\n display: block;\n}\n.dokan-pro-features .pricing-section .price span:first-child {\n font-size: 28px;\n line-height: 1.5em;\n font-weight: 400;\n color: #23282d;\n}\n.dokan-pro-features .pricing-section .price span:first-child sup {\n font-size: 14px;\n}\n.dokan-pro-features .payment-section {\n display: flex;\n background: #fff;\n justify-content: space-between;\n padding: 20px 65px 15px;\n align-items: center;\n}\n@media (min-width: 1281px) {\n.dokan-pro-features .payment-section {\n padding-left: 21%;\n padding-right: 21%;\n}\n}\n.dokan-pro-features .payment-section .guarantee-section {\n display: flex;\n flex: 0 0 70%;\n align-content: center;\n align-items: center;\n position: relative;\n}\n.dokan-pro-features .payment-section .guarantee-section:after {\n content: \"\";\n position: absolute;\n right: -18px;\n top: 50%;\n transform: translateY(-50%);\n width: 5px;\n height: 38px;\n border-radius: 3px;\n background-color: #f1f1f1;\n}\n.dokan-pro-features .payment-section .guarantee-section .feature-thumb img {\n max-width: 100%;\n width: 160px;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail {\n padding-left: 25px;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail h2 {\n font-size: 24px;\n line-height: 1.5em;\n color: #2e2c2c;\n font-weight: 400;\n margin: 0;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail p {\n color: #66676e;\n font-size: 15px;\n line-height: 1.5em;\n font-weight: 300;\n margin: 5px 0 20px;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail a {\n color: #f2624d;\n font-size: 15px;\n line-height: 1.5em;\n text-decoration: none;\n}\n.dokan-pro-features .payment-section .guarantee-section .guarantee-detail a img {\n width: 18px;\n margin-right: 4px;\n}\n.dokan-pro-features .payment-section .payment-area h3 {\n font-size: 15px;\n font-weight: 300;\n color: #66676e;\n margin: 0px 0 17px;\n}\n.dokan-pro-features .payment-section .payment-area .option img {\n max-width: 100%;\n}\n.dokan-pro-features .testimonial-section {\n background-color: #f1f1f1;\n padding: 75px 0 70px;\n text-align: center;\n}\n.dokan-pro-features .testimonial-section .section-title {\n margin-bottom: 75px;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper {\n width: 80%;\n text-align: center;\n margin: 0 auto;\n}\n@media only screen and (min-width: 1281px) {\n.dokan-pro-features .testimonial-section .testimonial-wrapper {\n width: 55%;\n}\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .profile-pic {\n width: 70px;\n height: 70px;\n border: 5px solid #fff;\n border-radius: 50%;\n background-color: #fff;\n box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.16);\n margin: 0 auto -35px;\n z-index: 1;\n position: relative;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .profile-pic img {\n border-radius: 50%;\n max-width: 100%;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail {\n background-color: #fff;\n color: #000;\n border-radius: 5px;\n border: 1px solid #E0E9EC;\n box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);\n padding: 50px 30px 30px;\n background-repeat: no-repeat;\n background-position: 40px 40px;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail h4 {\n font-size: 18px;\n line-height: 1.444;\n color: #F2624D;\n font-weight: 400;\n margin-top: 0;\n margin-bottom: 5px;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail span {\n font-size: 15px;\n line-height: 1.444;\n font-weight: 300;\n color: #66676e;\n margin-bottom: 20px;\n display: inline-block;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .testimonial-box .content-detail p {\n color: #2e2c2c;\n font-size: 14px;\n line-height: 1.9em;\n font-weight: 300;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots {\n text-align: center;\n margin: 40px 0 25px;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li {\n position: relative;\n display: inline-block;\n width: 20px;\n height: 20px;\n margin: 0 5px;\n padding: 0;\n cursor: pointer;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li.slick-active button:before {\n background-color: #3f4143;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li button {\n position: relative;\n font-size: 0;\n line-height: 0;\n display: block;\n width: 20px;\n height: 20px;\n padding: 5px;\n cursor: pointer;\n color: transparent;\n border: 0;\n outline: none;\n background: transparent;\n}\n.dokan-pro-features .testimonial-section .testimonial-wrapper .slick-dots li button:before {\n position: absolute;\n top: 0;\n left: 0;\n width: 21px;\n height: 5px;\n content: '';\n text-align: center;\n background-color: #d6d6d6;\n border-radius: 30px;\n}\n.dokan-pro-features .testimonial-section p {\n color: #262626;\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 300;\n}\n.dokan-pro-features .testimonial-section p a {\n color: #8263f7;\n text-decoration: none;\n}\n.dokan-pro-features .cta-section {\n background-image: -moz-linear-gradient(15deg, #ff7d90 0%, #ffad6f 100%);\n background-image: -webkit-linear-gradient(15deg, #ff7d90 0%, #ffad6f 100%);\n background-image: -ms-linear-gradient(15deg, #ff7d90 0%, #ffad6f 100%);\n background-image: linear-gradient(15deg, #ff7d90 0%, #ffad6f 100%);\n background-repeat: no-repeat;\n background-position: center center;\n background-size: contain;\n text-align: center;\n padding: 35px 75px 40px;\n color: #fff;\n}\n.dokan-pro-features .cta-section img {\n width: 60px;\n border-radius: 50%;\n box-shadow: 0px 3px 70px 0px rgba(126, 17, 0, 0.35);\n}\n.dokan-pro-features .cta-section h2 {\n font-size: 30px;\n color: #fff;\n font-weight: 400;\n line-height: 1.333em;\n text-align: center;\n margin: 10px 0;\n text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.31);\n}\n.dokan-pro-features .cta-section p {\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 300;\n margin: 10px 0 30px;\n}\n.dokan-pro-features .cta-section .btn {\n background-color: #fff;\n color: #f2624d;\n font-size: 16px;\n line-height: 1.538em;\n font-weight: 300;\n border: 1px solid #FF9381;\n border-radius: 3px;\n box-shadow: 0px 1px 2px 0px rgba(255, 128, 142, 0.05);\n display: inline-block;\n text-decoration: none;\n padding: 12px 27px;\n}\n.dokan-pro-features .cta-section .btn:hover {\n box-shadow: 2.736px 7.518px 20px 0 rgba(0, 0, 0, 0.15);\n}\n.dokan-pro-features .cta-section .btn svg {\n width: 15px;\n fill: #f2624d;\n margin-left: 6px;\n}\n\n.dokan-help-page .section-wrapper {\n margin-top: 15px;\n}\n.dokan-help-page .section-wrapper .dokan-postbox {\n width: calc(33% - 2em);\n margin: 0 2% 15px 0;\n float: left;\n}\n.dokan-help-page .section-wrapper .dokan-postbox:nth-child(3n+1) {\n clear: both;\n}\n.dokan-help-page .section-wrapper .dokan-postbox .dashicons {\n color: #ccc;\n}\n.dokan-help-page .section-wrapper .dokan-postbox a {\n text-decoration: none;\n}\n.dokan-help-page .section-wrapper .dokan-postbox .inside,\n.dokan-help-page .section-wrapper .dokan-postbox ul {\n margin-bottom: 0;\n}\n.dokan-help-page .loading {\n width: 100%;\n text-align: center;\n margin-top: 100px;\n}\n\n.dokan-settings-wrap {\n position: relative;\n display: flex;\n border: 1px solid #c8d7e1;\n}\n.dokan-settings-wrap .loading {\n position: absolute;\n width: 100%;\n height: 100%;\n background: rgba(255, 255, 255, 0.6);\n}\n.dokan-settings-wrap .loading .dokan-loader {\n top: 40%;\n left: 45%;\n}\n.dokan-settings-wrap .dashicons {\n padding-top: 2px;\n margin-right: 5px;\n}\n.dokan-settings-wrap .dashicons.dashicons-admin-generic {\n color: #6c75ff;\n}\n.dokan-settings-wrap .dashicons.dashicons-cart {\n color: #00aeff;\n}\n.dokan-settings-wrap .dashicons.dashicons-money {\n color: #d35400;\n}\n.dokan-settings-wrap .dashicons.dashicons-admin-page {\n color: #8e44ad;\n}\n.dokan-settings-wrap .dashicons.dashicons-admin-appearance {\n color: #3498db;\n}\n.dokan-settings-wrap .dashicons.dashicons-networking {\n color: #1abc9c;\n}\n.dokan-settings-wrap h2.nav-tab-wrapper {\n flex: 1;\n border-bottom: none;\n padding: 0;\n background: #f1f1f1;\n border-right: 1px solid #c8d7e1;\n}\n.dokan-settings-wrap h2.nav-tab-wrapper a {\n float: none;\n display: block;\n margin: 0;\n border: none;\n padding: 13px 13px;\n background: #f1f1f1;\n font-weight: 500;\n border-bottom: 1px solid #c8d7e1;\n transition-property: none;\n transition: none;\n}\n.dokan-settings-wrap h2.nav-tab-wrapper a:focus,\n.dokan-settings-wrap h2.nav-tab-wrapper a:active {\n box-shadow: none;\n outline: 0;\n}\n.dokan-settings-wrap h2.nav-tab-wrapper a.nav-tab-active {\n background: #fff !important;\n border-right: 1px solid #c8d7e1;\n width: 99%;\n color: #2e4453;\n transition: none;\n transition-property: none;\n}\n.dokan-settings-wrap .metabox-holder {\n flex: 3;\n padding-left: 3%;\n padding-right: 10px;\n background: #fff;\n}\n.dokan-settings-wrap .radio-image-container .radio-image {\n display: block;\n width: 50%;\n background: #fff;\n -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);\n box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);\n margin: 0 0 15px;\n position: relative;\n line-height: 0;\n border: 1px solid #ededed;\n padding: 4px;\n}\n.dokan-settings-wrap .radio-image-container .radio-image img {\n max-width: 100%;\n z-index: 1;\n}\n.dokan-settings-wrap .radio-image-container .radio-image .current-option-indicator {\n position: absolute;\n top: 0;\n right: 0;\n background-color: #4CAF50;\n color: #fff;\n padding: 4px;\n z-index: 2;\n line-height: 1.4;\n}\n.dokan-settings-wrap .radio-image-container .radio-image .active-option {\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.45);\n transition: opacity 0.4s ease;\n}\n.dokan-settings-wrap .radio-image-container .radio-image .active-option button {\n position: absolute;\n top: 50%;\n left: 50%;\n margin-top: -23px;\n margin-left: -58px;\n}\n.dokan-settings-wrap .radio-image-container .radio-image:hover .active-option {\n opacity: 1;\n}\n.dokan-settings-wrap .radio-image-container .radio-image.active .active-option {\n display: none;\n}\n.dokan-settings-wrap .radio-image-container .radio-image.not-active .current-option-indicator {\n display: none;\n}\n.dokan-settings-wrap .radio-image-container label {\n display: block;\n margin-bottom: 5px;\n}\n.dokan-settings-wrap .radio-image-container label > input[type='radio'] {\n visibility: hidden;\n /* Makes input not-clickable */\n position: absolute;\n /* Remove input from document flow */\n}\n.dokan-settings-wrap .radio-image-container label > img {\n max-width: 100%;\n}\n.form-table th.dokan-settings-sub-section-title {\n border-bottom: 1px solid #cccccc;\n padding: 0 0 10px;\n}\n.form-table th.dokan-settings-sub-section-title label {\n display: block;\n margin-top: 20px;\n color: #0073aa;\n font-weight: 500;\n font-size: 1.3em;\n}\n.form-table .dokan-settings-field-type-sub_section:first-child th.dokan-settings-sub-section-title label {\n margin-top: 0;\n}\n\nul.dokan-settings-repeatable-list {\n list-style-type: disc;\n padding-left: 20px;\n}\nul.dokan-settings-repeatable-list li span.remove-item {\n padding-top: 0px;\n cursor: pointer;\n}\n.dokan-repetable-add-item-btn {\n font-size: 16px !important;\n font-weight: bold !important;\n height: 25px !important;\n line-height: 22px !important;\n}\ntd.percent_fee,\ntd.fixed_fee {\n display: inline-block;\n}\ntd.percent_fee input,\ntd.fixed_fee input {\n width: 60px;\n}\ntr.additional_fee .description {\n margin-left: 10px;\n margin-top: -10px;\n}\n.dokan-error {\n color: red;\n margin-top: -10px;\n font-style: italic;\n}\n.dokan-error.combine-commission {\n margin-left: 10px;\n}\n.dokan-settings-field-type-radio fieldset > label:not(:last-child) {\n margin-right: 12px !important;\n}\n.dokan-settings-field-type-radio fieldset > label:not(:last-child) > input[type=\"radio\"] {\n margin-right: 2px;\n}\n\n.color-picker-container .color-picker-button[data-v-01dc0d51] {\n height: 24px;\n padding: 0 0 0 30px;\n margin: 0 0 6px;\n font-size: 11px;\n}\n.color-picker-container .color-picker-button span[data-v-01dc0d51] {\n display: block;\n padding: 0 6px;\n line-height: 22px;\n color: #555;\n text-align: center;\n background: #f7f7f7;\n border-left: 1px solid #ccc;\n border-radius: 0 2px 2px 0;\n}\n.color-picker-container .hex-input[data-v-01dc0d51] {\n width: 65px;\n padding: 3px 5px 4px;\n margin: 0 3 0 0;\n font-family: monospace;\n font-size: 12px;\n line-height: 1.4;\n vertical-align: top;\n box-shadow: 0 1px 0 #ccc;\n}\n\n.vendor-list .dokan-btn {\n padding: 5px 10px;\n font-size: 15px;\n border-radius: 3px;\n color: #2873aa;\n}\n.vendor-list .image {\n width: 10%;\n}\n.vendor-list .store_name {\n width: 30%;\n}\n.vendor-list td.store_name img {\n float: left;\n margin-right: 10px;\n margin-top: 1px;\n width: 24px;\n height: auto;\n}\n.vendor-list td.store_name strong {\n display: block;\n margin-bottom: 0.2em;\n font-size: 14px;\n}\n@media only screen and (max-width: 600px) {\n.vendor-list table td.store_name,\n .vendor-list table td.enabled {\n display: table-cell !important;\n}\n.vendor-list table th:not(.check-column):not(.store_name):not(.enabled) {\n display: none;\n}\n.vendor-list table td:not(.check-column):not(.store_name):not(.enabled) {\n display: none;\n}\n.vendor-list table th.column,\n .vendor-list table table td.column {\n width: auto;\n}\n.vendor-list table td.manage-column.column-cb.check-column {\n padding-right: 15px;\n}\n.vendor-list table th.column.enabled {\n width: 25% !important;\n}\n}\n@media only screen and (max-width: 320px) {\n.vendor-list table .row-actions span {\n font-size: 11px;\n}\n}\n\n.swal2-container {\n z-index: 9999999 !important;\n}\n.swal2-container .swal2-popup .swal2-title {\n line-height: 35px;\n font-size: 30px;\n font-weight: 400;\n}\n.dokan-vendor-edit h1 {\n font-size: 23px;\n font-weight: 400;\n}\n.dokan-vendor-edit .tab-header .tab-list {\n overflow: hidden;\n display: flex;\n justify-content: space-between;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title {\n height: 50px;\n list-style-type: none;\n position: relative;\n background-color: #1a9ed4;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title .icon {\n position: relative;\n top: 1px;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title a {\n color: #fff;\n text-decoration: none;\n padding: 75px;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title a:active,\n.dokan-vendor-edit .tab-header .tab-list .tab-title a:focus {\n outline: none;\n outline-style: none;\n border-color: transparent;\n box-shadow: none;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title a span {\n position: relative;\n top: -1px;\n left: -3px;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title:first-child {\n padding-left: 5px;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title:nth-child(n+2)::before {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n border-left: 25px solid white;\n /* width: arrow width, color: background of document */\n border-top: 25px solid transparent;\n /* width: half height */\n border-bottom: 25px solid transparent;\n /* width: half height */\n width: 0;\n height: 0;\n content: \" \";\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title:after {\n z-index: 1;\n /* need to bring this above the next item */\n position: absolute;\n top: 0;\n right: -25px;\n /* arrow width (negated) */\n display: block;\n border-left: 25px solid #f5f5f5;\n /* width: arrow width */\n border-top: 25px solid transparent;\n /* width: half height */\n border-bottom: 25px solid transparent;\n /* width: half height */\n width: 0;\n height: 0;\n content: \" \";\n border-left-color: #1a9ed4;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title.active {\n background-color: #2C70A3;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title.active a {\n color: #fff;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title.active:after {\n border-left-color: #2C70A3;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title.last:after {\n border-left: 0;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title.active ~ .tab-title {\n background-color: #f5f5f5;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title.active ~ .tab-title:after {\n border-left-color: #f5f5f5;\n}\n.dokan-vendor-edit .tab-header .tab-list .tab-title.active ~ .tab-title a {\n color: #000;\n}\n.dokan-vendor-edit .tab-contents {\n border: 1px solid #e5e5e5;\n border-radius: 3px;\n min-height: 400px;\n}\n.dokan-vendor-edit .tab-contents .loading {\n position: relative;\n left: 46%;\n top: 160px;\n}\n.dokan-vendor-edit .tab-contents .content-header {\n background: #F9F9F9;\n margin: 0;\n padding: 10px;\n}\n.dokan-vendor-edit .tab-contents .content-body {\n padding-top: 20px;\n padding-bottom: 20px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group {\n margin: 0 10px;\n overflow: hidden;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group:after,\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group:before {\n display: table;\n content: \" \";\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column {\n float: left;\n width: 50%;\n padding: 0 10px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info {\n display: flex;\n justify-content: space-between;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info .store-url,\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info span {\n margin: 0;\n padding: 0;\n position: relative;\n bottom: 10px;\n font-style: italic;\n color: #a09f9f;\n font-size: 12px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info .is-available {\n color: green;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .store-avaibility-info .not-available {\n color: red;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .password-generator {\n margin-top: 6px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .password-generator .regen-button {\n margin-right: 5px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .password-generator .regen-button span {\n line-height: 26px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .checkbox-left.notify-vendor {\n margin-top: 6px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect {\n margin-top: 5px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__option--highlight {\n background: #3c9fd4;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__tags {\n min-height: 45px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__single {\n padding-top: 3px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__select:before {\n top: 70%;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .column .multiselect__input:focus {\n box-shadow: none;\n border: none;\n outline: none;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-group .bank-info {\n padding-left: 10px;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-input {\n width: 100%;\n /* Full width */\n padding: 7px 12px;\n /* Some padding */\n border: 1px solid #ccc;\n /* Gray border */\n border-radius: 4px;\n /* Rounded borders */\n box-sizing: border-box;\n /* Make sure that padding and width stays in place */\n margin-top: 6px;\n /* Add a top margin */\n margin-bottom: 16px;\n /* Bottom margin */\n resize: vertical;\n /* Allow the user to vertically resize the textarea (not horizontally) */\n height: auto;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-input::placeholder {\n color: #bcbcbc;\n}\n.dokan-vendor-edit .tab-contents .content-body .dokan-form-input.has-error::placeholder {\n color: red;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image {\n display: flex;\n padding-bottom: 20px;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture {\n background: #fcfcfc;\n border-radius: 3px;\n padding: 5px 10px;\n border: 2px dashed #d2d2d2;\n text-align: center;\n flex-grow: 1;\n width: 150px;\n margin-left: 20px;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture .profile-image {\n max-width: 100px;\n margin: 0 auto;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture .profile-image img {\n border: 1px solid #E5E5E5;\n padding: 15px 10px 0;\n cursor: pointer;\n width: 100%;\n padding: 5px;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture.banner {\n padding: 0;\n flex-grow: 10;\n margin-right: 20px;\n height: 228px;\n padding-top: 5%;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture.banner .banner-image img {\n width: 100%;\n height: 223px;\n padding: 0;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture.banner .banner-image button {\n background: #007cba;\n color: white;\n padding: 10px 15px;\n border-radius: 3px;\n margin: 20px 0;\n cursor: pointer;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture.banner.has-banner {\n padding-top: 0;\n}\n.dokan-vendor-edit .tab-contents .content-body .vendor-image .picture-footer {\n color: #808080;\n font-weight: 300;\n}\n.dokan-vendor-edit .dokan-btn {\n background: #1a9ed4;\n padding: 10px 20px;\n color: white;\n border-radius: 3px;\n cursor: pointer;\n}\n.dokan-vendor-edit .dokan-btn:active,\n.dokan-vendor-edit .dokan-btn:focus {\n outline: none;\n outline-style: none;\n border-color: transparent;\n box-shadow: none;\n}\n.dokan-vendor-edit .dokan-modal .dokan-modal-content {\n height: 640px !important;\n}\n.dokan-vendor-edit .dokan-modal .dokan-modal-content .modal-body {\n max-height: 500px;\n min-height: 200px;\n}\n.dokan-vendor-edit .dokan-modal .dokan-modal-content .modal-footer {\n padding: 15px;\n bottom: 0;\n border-top: none;\n box-shadow: none;\n}\n.dokan-vendor-edit .component-fade-enter-active,\n.dokan-vendor-edit .component-fade-leave-active {\n transition: opacity 0.2s ease;\n}\n.dokan-vendor-edit .component-fade-enter,\n.dokan-vendor-edit .component-fade-leave-to {\n opacity: 0;\n}\n@media only screen and (max-width: 600px) {\n.dokan-vendor-edit .dokan-modal .dokan-modal-content {\n height: 400px;\n}\n.dokan-vendor-edit .dokan-modal .dokan-modal-content .modal-body {\n max-height: 300px;\n}\n}\n@media only screen and (max-width: 500px) {\n.dokan-vendor-edit .tab-list .tab-title .tab-link {\n display: flex;\n}\n.dokan-vendor-edit .tab-list .tab-title .tab-link a {\n padding: 12px;\n margin-left: 17px;\n}\n.dokan-vendor-edit .tab-list .tab-title .tab-link a span {\n display: block;\n margin: 0 auto;\n}\n.dokan-vendor-edit .tab-contents p,\n .dokan-vendor-edit .tab-contents input,\n .dokan-vendor-edit .tab-contents button {\n font-size: 13px;\n}\n.dokan-vendor-edit .tab-contents .vendor-image {\n display: block !important;\n}\n.dokan-vendor-edit .tab-contents .vendor-image .picture {\n margin-right: 20px !important;\n width: auto !important;\n}\n.dokan-vendor-edit .tab-contents .vendor-image .picture.banner {\n margin-top: 15px;\n}\n}\n@media only screen and (max-width: 375px) {\n.dokan-vendor-edit .tab-list .tab-title .tab-link {\n display: flex;\n}\n.dokan-vendor-edit .tab-list .tab-title .tab-link a {\n padding: 5px;\n margin-left: 20px;\n font-size: 12px;\n}\n.dokan-vendor-edit .tab-contents p,\n .dokan-vendor-edit .tab-contents input,\n .dokan-vendor-edit .tab-contents button {\n font-size: 12px;\n}\n}\n@media only screen and (max-width: 320px) {\n.dokan-vendor-edit .tab-list .tab-title .tab-link {\n display: flex;\n}\n.dokan-vendor-edit .tab-list .tab-title .tab-link a {\n padding: 2px;\n margin-left: 20px;\n font-size: 10px;\n}\n}\n\n.switch {\n position: relative;\n display: inline-block;\n width: 40px;\n height: 18px;\n}\n.switch input {\n display: none;\n}\n.switch input:checked + .slider {\n background-color: #64b450;\n}\n.switch input:checked + .slider:before {\n -webkit-transform: translateX(22px);\n -ms-transform: translateX(22px);\n transform: translateX(22px);\n}\n.switch input:focus + .slider {\n box-shadow: 0 0 1px #2196F3;\n}\n.switch .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n.switch .slider:before {\n position: absolute;\n content: \"\";\n height: 14px;\n width: 14px;\n left: 2px;\n bottom: 2px;\n background-color: white;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n.switch .slider.round {\n border-radius: 34px;\n}\n.switch .slider.round:before {\n border-radius: 50%;\n}\n\n.dokan-upload-image {\n width: 100%;\n}\n.dokan-upload-image img {\n cursor: pointer;\n}\n\n.checkbox-group {\n margin-top: 20px;\n padding: 0 10px;\n}\n.checkbox-group .checkbox-left {\n display: inline-block;\n}\n.checkbox-group .checkbox-left .switch {\n margin-right: 10px;\n display: inline-block;\n}\n.payment-info.edit-mode .checkbox-group {\n padding: 0;\n}\n.payment-info.edit-mode .dokan-form-select {\n margin-top: 5px;\n margin-bottom: 5px;\n}\n.payment-info.edit-mode .combine-commission-field .dokan-form-input.percent_fee,\n.payment-info.edit-mode .combine-commission-field .dokan-form-input.fixed_fee {\n width: 40%;\n}\n"]}
assets/css/vue-bootstrap.css CHANGED
@@ -1,2 +1,2 @@
1
- .dokan-postbox .toggle-indicator:before{content:"\F142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.dokan-postbox.closed .toggle-indicator:before{content:"\F140"}.dokan-postbox{position:relative}.dokan-postbox h2.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.dokan-loader{display:inline-block;position:relative;width:64px;height:64px}.dokan-loader div{position:absolute;border:4px solid #ff5722;opacity:1;border-radius:50%;animation:dokan-loader 1s cubic-bezier(0,.2,.8,1) infinite}.dokan-loader div:nth-child(2){animation-delay:-.5s}@keyframes dokan-loader{0%{top:28px;left:28px;width:0;height:0;opacity:1}to{top:-1px;left:-1px;width:58px;height:58px;opacity:0}}.dokan-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.dokan-modal *{box-sizing:border-box}.dokan-modal .dokan-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%);width:500px}.dokan-modal .dokan-modal-main.has-footer{padding-bottom:55px}.dokan-modal header.modal-header{height:auto;background:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.dokan-modal header.modal-header h1{margin:0;padding:0;font-size:18px;font-weight:700;line-height:1.5em}.dokan-modal header.modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.dokan-modal header.modal-header .modal-close-link:before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:"\F335";font-weight:300}.dokan-modal header.modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.dokan-modal .modal-body{min-height:100px;padding:15px;max-height:150px;overflow-y:scroll}.dokan-modal footer{position:absolute;left:0;right:0;bottom:-30px;z-index:100;padding:1em 1.5em;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.dokan-modal footer .inner{text-align:right;line-height:23px}.switch{position:relative;display:inline-block;width:40px;height:18px}.switch input{display:none}.switch input:checked+.slider{background-color:#64b450}.switch input:checked+.slider:before{transform:translateX(22px)}.switch input:focus+.slider{box-shadow:0 0 1px #2196f3}.switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s}.switch .slider:before{position:absolute;content:"";height:14px;width:14px;left:2px;bottom:2px;background-color:#fff;transition:.4s}.switch .slider.round{border-radius:34px}.switch .slider.round:before{border-radius:50%}
2
  /*# sourceMappingURL=vue-bootstrap.css.map */
1
+ .color-picker-container .color-picker-button[data-v-01dc0d51]{height:24px;padding:0 0 0 30px;margin:0 0 6px;font-size:11px}.color-picker-container .color-picker-button span[data-v-01dc0d51]{display:block;padding:0 6px;line-height:22px;color:#555;text-align:center;background:#f7f7f7;border-left:1px solid #ccc;border-radius:0 2px 2px 0}.color-picker-container .hex-input[data-v-01dc0d51]{width:65px;padding:3px 5px 4px;margin:0 3 0 0;font-family:monospace;font-size:12px;line-height:1.4;vertical-align:top;box-shadow:0 1px 0 #ccc}.switch{position:relative;display:inline-block;width:40px;height:18px}.switch input{display:none}.switch input:checked+.slider{background-color:#64b450}.switch input:checked+.slider:before{transform:translateX(22px)}.switch input:focus+.slider{box-shadow:0 0 1px #2196f3}.switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s}.switch .slider:before{position:absolute;content:"";height:14px;width:14px;left:2px;bottom:2px;background-color:#fff;transition:.4s}.switch .slider.round{border-radius:34px}.switch .slider.round:before{border-radius:50%}.dokan-upload-image{width:100%}.dokan-upload-image img{cursor:pointer}.checkbox-group{margin-top:20px;padding:0 10px}.checkbox-group .checkbox-left{display:inline-block}.checkbox-group .checkbox-left .switch{margin-right:10px;display:inline-block}.payment-info.edit-mode .checkbox-group{padding:0}.payment-info.edit-mode .dokan-form-select{margin-top:5px;margin-bottom:5px}.payment-info.edit-mode .combine-commission-field .dokan-form-input.fixed_fee,.payment-info.edit-mode .combine-commission-field .dokan-form-input.percent_fee{width:40%}.dokan-postbox .toggle-indicator:before{content:"\F142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.dokan-postbox.closed .toggle-indicator:before{content:"\F140"}.dokan-postbox{position:relative}.dokan-postbox h2.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.dokan-loader{display:inline-block;position:relative;width:64px;height:64px}.dokan-loader div{position:absolute;border:4px solid #ff5722;opacity:1;border-radius:50%;animation:dokan-loader 1s cubic-bezier(0,.2,.8,1) infinite}.dokan-loader div:nth-child(2){animation-delay:-.5s}@keyframes dokan-loader{0%{top:28px;left:28px;width:0;height:0;opacity:1}to{top:-1px;left:-1px;width:58px;height:58px;opacity:0}}.dokan-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.dokan-modal *{box-sizing:border-box}.dokan-modal .dokan-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%)}.dokan-modal .dokan-modal-main.has-footer{padding-bottom:55px}.dokan-modal header.modal-header{height:auto;background:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.dokan-modal header.modal-header h1{margin:0;padding:0;font-size:18px;font-weight:700;line-height:1.5em}.dokan-modal header.modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.dokan-modal header.modal-header .modal-close-link:before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:"\F335";font-weight:300}.dokan-modal header.modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.dokan-modal .modal-body{min-height:100px;padding:15px;overflow-y:scroll}.dokan-modal footer{position:absolute;left:0;right:0;bottom:-30px;z-index:100;padding:1em 1.5em;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.dokan-modal footer .inner{text-align:right;line-height:23px}@media only screen and (max-width:500px){.dokan-modal-content{width:400px!important;top:300px!important}}@media only screen and (max-width:376px){.dokan-modal-content{width:350px!important;top:300px!important}}@media only screen and (max-width:320px){.dokan-modal-content{width:300px!important;top:300px!important}}#progressbar[data-v-356fabc6]{border-radius:13px;padding:3px;margin-bottom:20px}.defaultFg[data-v-356fabc6]{background-color:#00a0d2}.defaultBg[data-v-356fabc6]{background-color:#eee}.blue[data-v-356fabc6]{background-color:blue}.red[data-v-356fabc6]{background-color:red}.green[data-v-356fabc6]{background-color:green}.yellow[data-v-356fabc6]{background-color:#ff0}.orange[data-v-356fabc6]{background-color:orange}#value[data-v-356fabc6]{height:20px;border-radius:10px;text-align:center;color:#fff}.gmap-wrap #gmap[data-v-4f45e4a0]{width:100%;height:300px}.search-address[data-v-4f45e4a0]{padding:5px}.mapbox-wrapper .mapboxgl-ctrl-geocoder--input{padding:6px 35px;line-height:1}.mapbox-wrapper .mapboxgl-ctrl-top-left .mapboxgl-ctrl-geocoder{display:none}.mapbox-wrapper .mapboxgl-ctrl-top-left.show-geocoder .mapboxgl-ctrl-geocoder{display:block}.mapbox-wrapper .mapboxgl-ctrl-top-left.show-geocoder .dokan-mapboxgl-ctrl{display:none}.mapbox-wrapper .address-input{margin-top:5px}.mapbox-wrapper .address-input label{font-weight:600}.mapbox-wrapper .address-input input{width:100%;margin:1px 0 3px;font-weight:400}
2
  /*# sourceMappingURL=vue-bootstrap.css.map */
assets/css/vue-bootstrap.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["vue-bootstrap.css"],"names":[],"mappings":"AACA,wCACI,gBAAiB,AACjB,qBAAsB,AACtB,0BAA2B,AAC3B,WAAY,AACZ,mCAAoC,AACpC,kCAAmC,AACnC,8BAA+B,CAClC,AACD,+CACI,eAAiB,CACpB,AACD,eACI,iBAAmB,CACtB,AACD,wBACI,eAAgB,AAChB,iBAAkB,AAClB,SAAU,AACV,eAAiB,CACpB,AAED,cACI,qBAAsB,AACtB,kBAAmB,AACnB,WAAY,AACZ,WAAa,CAChB,AACD,kBACI,kBAAmB,AACnB,yBAA0B,AAC1B,UAAW,AACX,kBAAmB,AACnB,0DAAiE,CACpE,AACD,+BACI,oBAAuB,CAC1B,AACD,wBACA,GACQ,SAAU,AACV,UAAW,AACX,QAAS,AACT,SAAU,AACV,SAAW,CAClB,AACD,GACQ,SAAU,AACV,UAAW,AACX,WAAY,AACZ,YAAa,AACb,SAAW,CAClB,CACA,AAED,sBACE,eAAgB,AAChB,MAAO,AACP,OAAQ,AACR,QAAS,AACT,SAAU,AACV,iBAAkB,AAClB,gBAAiB,AACjB,WAAY,AACZ,aAAe,CAChB,AACD,eACE,qBAAuB,CACxB,AACD,kCACE,eAAgB,AAChB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,QAAS,AAGT,+BAAiC,AACjC,WAAa,CACd,AACD,0CACE,mBAAqB,CACtB,AACD,iCACE,YAAa,AACb,mBAAoB,AACpB,kBAAmB,AACnB,4BAA8B,CAC/B,AACD,oCACE,SAAU,AACV,UAAW,AACX,eAAgB,AAChB,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mDACE,eAAgB,AAChB,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,UAAW,AACX,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,kBAAmB,AACnB,SAAU,AACV,2BAA4B,AAC5B,6BAA8B,AAE9B,2DAAgE,CACjE,AACD,0DACE,0CAA4C,AAC5C,WAAY,AACZ,cAAe,AACf,gBAAiB,AACjB,eAAiB,CAClB,AACD,yDACE,gBAAiB,AACjB,kBAAmB,AACnB,UAAY,CACb,AACD,yBACE,iBAAkB,AAClB,aAAc,AACd,iBAAkB,AAClB,iBAAmB,CACpB,AACD,oBACE,kBAAmB,AACnB,OAAQ,AACR,QAAS,AACT,aAAc,AACd,YAAa,AACb,kBAAmB,AACnB,mBAAoB,AACpB,6BAA8B,AAE9B,yCAA+C,CAChD,AACD,2BACE,iBAAkB,AAClB,gBAAkB,CACnB,AAED,QACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,WAAa,CACd,AACD,cACE,YAAc,CACf,AACD,8BACE,wBAA0B,CAC3B,AACD,qCAGE,0BAA4B,CAC7B,AACD,4BACE,0BAA4B,CAC7B,AACD,gBACE,kBAAmB,AACnB,eAAgB,AAChB,MAAO,AACP,OAAQ,AACR,QAAS,AACT,SAAU,AACV,sBAAuB,AAEvB,cAAgB,CACjB,AACD,uBACE,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,SAAU,AACV,WAAY,AACZ,sBAAwB,AAExB,cAAgB,CACjB,AACD,sBACE,kBAAoB,CACrB,AACD,6BACE,iBAAmB,CACpB","file":"vue-bootstrap.css","sourcesContent":["\n.dokan-postbox .toggle-indicator:before {\n content: \"\\F142\";\n display: inline-block;\n font: 400 20px/1 dashicons;\n speak: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-decoration: none!important\n}\n.dokan-postbox.closed .toggle-indicator:before {\n content: \"\\F140\";\n}\n.dokan-postbox {\n position: relative;\n}\n.dokan-postbox h2.hndle {\n font-size: 14px;\n padding: 8px 12px;\n margin: 0;\n line-height: 1.4;\n}\n\n.dokan-loader {\n display: inline-block;\n position: relative;\n width: 64px;\n height: 64px;\n}\n.dokan-loader div {\n position: absolute;\n border: 4px solid #FF5722;\n opacity: 1;\n border-radius: 50%;\n animation: dokan-loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;\n}\n.dokan-loader div:nth-child(2) {\n animation-delay: -0.5s;\n}\n@keyframes dokan-loader {\n0% {\n top: 28px;\n left: 28px;\n width: 0;\n height: 0;\n opacity: 1;\n}\n100% {\n top: -1px;\n left: -1px;\n width: 58px;\n height: 58px;\n opacity: 0;\n}\n}\n\n.dokan-modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n min-height: 360px;\n background: #000;\n opacity: .7;\n z-index: 99900;\n}\n.dokan-modal * {\n box-sizing: border-box;\n}\n.dokan-modal .dokan-modal-content {\n position: fixed;\n background: #fff;\n z-index: 100000;\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n width: 500px;\n}\n.dokan-modal .dokan-modal-main.has-footer {\n padding-bottom: 55px;\n}\n.dokan-modal header.modal-header {\n height: auto;\n background: #fcfcfc;\n padding: 1em 1.5em;\n border-bottom: 1px solid #ddd;\n}\n.dokan-modal header.modal-header h1 {\n margin: 0;\n padding: 0;\n font-size: 18px;\n font-weight: 700;\n line-height: 1.5em;\n}\n.dokan-modal header.modal-header .modal-close-link {\n cursor: pointer;\n color: #777;\n height: 54px;\n width: 54px;\n padding: 0;\n position: absolute;\n top: 0;\n right: 0;\n text-align: center;\n border: 0;\n border-left: 1px solid #ddd;\n background-color: transparent;\n -webkit-transition: color 0.1s ease-in-out, background 0.1s ease-in-out;\n transition: color 0.1s ease-in-out, background 0.1s ease-in-out;\n}\n.dokan-modal header.modal-header .modal-close-link::before {\n font: normal 22px/50px dashicons !important;\n color: #666;\n display: block;\n content: '\\F335';\n font-weight: 300;\n}\n.dokan-modal header.modal-header .modal-close-link:hover {\n background: #ddd;\n border-color: #ccc;\n color: #000;\n}\n.dokan-modal .modal-body {\n min-height: 100px;\n padding: 15px;\n max-height: 150px;\n overflow-y: scroll;\n}\n.dokan-modal footer {\n position: absolute;\n left: 0;\n right: 0;\n bottom: -30px;\n z-index: 100;\n padding: 1em 1.5em;\n background: #fcfcfc;\n border-top: 1px solid #dfdfdf;\n -webkit-box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.1);\n box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.1);\n}\n.dokan-modal footer .inner {\n text-align: right;\n line-height: 23px;\n}\n\n.switch {\n position: relative;\n display: inline-block;\n width: 40px;\n height: 18px;\n}\n.switch input {\n display: none;\n}\n.switch input:checked + .slider {\n background-color: #64b450;\n}\n.switch input:checked + .slider:before {\n -webkit-transform: translateX(22px);\n -ms-transform: translateX(22px);\n transform: translateX(22px);\n}\n.switch input:focus + .slider {\n box-shadow: 0 0 1px #2196F3;\n}\n.switch .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: .4s;\n transition: .4s;\n}\n.switch .slider:before {\n position: absolute;\n content: \"\";\n height: 14px;\n width: 14px;\n left: 2px;\n bottom: 2px;\n background-color: white;\n -webkit-transition: .4s;\n transition: .4s;\n}\n.switch .slider.round {\n border-radius: 34px;\n}\n.switch .slider.round:before {\n border-radius: 50%;\n}\n"]}
1
+ {"version":3,"sources":["vue-bootstrap.css"],"names":[],"mappings":"AACA,8DACE,YAAa,AACb,mBAAoB,AACpB,eAAgB,AAChB,cAAgB,CACjB,AACD,mEACE,cAAe,AACf,cAAe,AACf,iBAAkB,AAClB,WAAY,AACZ,kBAAmB,AACnB,mBAAoB,AACpB,2BAA4B,AAC5B,yBAA2B,CAC5B,AACD,oDACE,WAAY,AACZ,oBAAqB,AACrB,eAAgB,AAChB,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,mBAAoB,AACpB,uBAAyB,CAC1B,AAED,QACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,WAAa,CACd,AACD,cACE,YAAc,CACf,AACD,8BACE,wBAA0B,CAC3B,AACD,qCAGE,0BAA4B,CAC7B,AACD,4BACE,0BAA4B,CAC7B,AACD,gBACE,kBAAmB,AACnB,eAAgB,AAChB,MAAO,AACP,OAAQ,AACR,QAAS,AACT,SAAU,AACV,sBAAuB,AAEvB,cAAiB,CAClB,AACD,uBACE,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,SAAU,AACV,WAAY,AACZ,sBAAwB,AAExB,cAAiB,CAClB,AACD,sBACE,kBAAoB,CACrB,AACD,6BACE,iBAAmB,CACpB,AAED,oBACE,UAAY,CACb,AACD,wBACE,cAAgB,CACjB,AAED,gBACE,gBAAiB,AACjB,cAAgB,CACjB,AACD,+BACE,oBAAsB,CACvB,AACD,uCACE,kBAAmB,AACnB,oBAAsB,CACvB,AACD,wCACE,SAAW,CACZ,AACD,2CACE,eAAgB,AAChB,iBAAmB,CACpB,AACD,8JAEE,SAAW,CACZ,AAED,wCACI,gBAAiB,AACjB,qBAAsB,AACtB,0BAA2B,AAC3B,WAAY,AACZ,mCAAoC,AACpC,kCAAmC,AACnC,8BAA+B,CAClC,AACD,+CACI,eAAiB,CACpB,AACD,eACI,iBAAmB,CACtB,AACD,wBACI,eAAgB,AAChB,iBAAkB,AAClB,SAAU,AACV,eAAiB,CACpB,AAED,cACI,qBAAsB,AACtB,kBAAmB,AACnB,WAAY,AACZ,WAAa,CAChB,AACD,kBACI,kBAAmB,AACnB,yBAA0B,AAC1B,UAAW,AACX,kBAAmB,AACnB,0DAAiE,CACpE,AACD,+BACI,oBAAuB,CAC1B,AACD,wBACA,GACQ,SAAU,AACV,UAAW,AACX,QAAS,AACT,SAAU,AACV,SAAW,CAClB,AACD,GACQ,SAAU,AACV,UAAW,AACX,WAAY,AACZ,YAAa,AACb,SAAW,CAClB,CACA,AAED,sBACE,eAAgB,AAChB,MAAO,AACP,OAAQ,AACR,QAAS,AACT,SAAU,AACV,iBAAkB,AAClB,gBAAiB,AACjB,WAAa,AACb,aAAe,CAChB,AACD,eACE,qBAAuB,CACxB,AACD,kCACE,eAAgB,AAChB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,QAAS,AAGT,8BAAiC,CAClC,AACD,0CACE,mBAAqB,CACtB,AACD,iCACE,YAAa,AACb,mBAAoB,AACpB,kBAAmB,AACnB,4BAA8B,CAC/B,AACD,oCACE,SAAU,AACV,UAAW,AACX,eAAgB,AAChB,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mDACE,eAAgB,AAChB,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,UAAW,AACX,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,kBAAmB,AACnB,SAAU,AACV,2BAA4B,AAC5B,6BAA8B,AAE9B,2DAAgE,CACjE,AACD,0DACE,0CAA4C,AAC5C,WAAY,AACZ,cAAe,AACf,gBAAiB,AACjB,eAAiB,CAClB,AACD,yDACE,gBAAiB,AACjB,kBAAmB,AACnB,UAAY,CACb,AACD,yBACE,iBAAkB,AAClB,aAAc,AACd,iBAAmB,CACpB,AACD,oBACE,kBAAmB,AACnB,OAAQ,AACR,QAAS,AACT,aAAc,AACd,YAAa,AACb,kBAAmB,AACnB,mBAAoB,AACpB,6BAA8B,AAE9B,yCAA+C,CAChD,AACD,2BACE,iBAAkB,AAClB,gBAAkB,CACnB,AACD,yCACA,qBACI,sBAAwB,AACxB,mBAAsB,CACzB,CACA,AACD,yCACA,qBACI,sBAAwB,AACxB,mBAAsB,CACzB,CACA,AACD,yCACA,qBACI,sBAAwB,AACxB,mBAAsB,CACzB,CACA,AAED,8BACI,mBAAoB,AACpB,YAAa,AACb,kBAAqB,CACxB,AACD,4BACI,wBAA0B,CAC7B,AACD,4BACI,qBAAuB,CAC1B,AACD,uBACI,qBAAuB,CAC1B,AACD,sBACI,oBAAsB,CACzB,AACD,wBACI,sBAAwB,CAC3B,AACD,yBACI,qBAAyB,CAC5B,AACD,yBACI,uBAAyB,CAC5B,AACD,wBACI,YAAa,AACb,mBAAoB,AACpB,kBAAmB,AACnB,UAAW,CACd,AAED,kCACI,WAAY,AACZ,YAAc,CACjB,AACD,iCACI,WAAa,CAChB,AAED,+CACE,iBAAkB,AAClB,aAAe,CAChB,AACD,gEACE,YAAc,CACf,AACD,8EACE,aAAe,CAChB,AACD,2EACE,YAAc,CACf,AACD,+BACE,cAAgB,CACjB,AACD,qCACE,eAAiB,CAClB,AACD,qCACE,WAAY,AACZ,iBAAkB,AAClB,eAAiB,CAClB","file":"vue-bootstrap.css","sourcesContent":["\n.color-picker-container .color-picker-button[data-v-01dc0d51] {\n height: 24px;\n padding: 0 0 0 30px;\n margin: 0 0 6px;\n font-size: 11px;\n}\n.color-picker-container .color-picker-button span[data-v-01dc0d51] {\n display: block;\n padding: 0 6px;\n line-height: 22px;\n color: #555;\n text-align: center;\n background: #f7f7f7;\n border-left: 1px solid #ccc;\n border-radius: 0 2px 2px 0;\n}\n.color-picker-container .hex-input[data-v-01dc0d51] {\n width: 65px;\n padding: 3px 5px 4px;\n margin: 0 3 0 0;\n font-family: monospace;\n font-size: 12px;\n line-height: 1.4;\n vertical-align: top;\n box-shadow: 0 1px 0 #ccc;\n}\n\n.switch {\n position: relative;\n display: inline-block;\n width: 40px;\n height: 18px;\n}\n.switch input {\n display: none;\n}\n.switch input:checked + .slider {\n background-color: #64b450;\n}\n.switch input:checked + .slider:before {\n -webkit-transform: translateX(22px);\n -ms-transform: translateX(22px);\n transform: translateX(22px);\n}\n.switch input:focus + .slider {\n box-shadow: 0 0 1px #2196F3;\n}\n.switch .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n.switch .slider:before {\n position: absolute;\n content: \"\";\n height: 14px;\n width: 14px;\n left: 2px;\n bottom: 2px;\n background-color: white;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n.switch .slider.round {\n border-radius: 34px;\n}\n.switch .slider.round:before {\n border-radius: 50%;\n}\n\n.dokan-upload-image {\n width: 100%;\n}\n.dokan-upload-image img {\n cursor: pointer;\n}\n\n.checkbox-group {\n margin-top: 20px;\n padding: 0 10px;\n}\n.checkbox-group .checkbox-left {\n display: inline-block;\n}\n.checkbox-group .checkbox-left .switch {\n margin-right: 10px;\n display: inline-block;\n}\n.payment-info.edit-mode .checkbox-group {\n padding: 0;\n}\n.payment-info.edit-mode .dokan-form-select {\n margin-top: 5px;\n margin-bottom: 5px;\n}\n.payment-info.edit-mode .combine-commission-field .dokan-form-input.percent_fee,\n.payment-info.edit-mode .combine-commission-field .dokan-form-input.fixed_fee {\n width: 40%;\n}\n\n.dokan-postbox .toggle-indicator:before {\n content: \"\\F142\";\n display: inline-block;\n font: 400 20px/1 dashicons;\n speak: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-decoration: none!important\n}\n.dokan-postbox.closed .toggle-indicator:before {\n content: \"\\F140\";\n}\n.dokan-postbox {\n position: relative;\n}\n.dokan-postbox h2.hndle {\n font-size: 14px;\n padding: 8px 12px;\n margin: 0;\n line-height: 1.4;\n}\n\n.dokan-loader {\n display: inline-block;\n position: relative;\n width: 64px;\n height: 64px;\n}\n.dokan-loader div {\n position: absolute;\n border: 4px solid #FF5722;\n opacity: 1;\n border-radius: 50%;\n animation: dokan-loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;\n}\n.dokan-loader div:nth-child(2) {\n animation-delay: -0.5s;\n}\n@keyframes dokan-loader {\n0% {\n top: 28px;\n left: 28px;\n width: 0;\n height: 0;\n opacity: 1;\n}\n100% {\n top: -1px;\n left: -1px;\n width: 58px;\n height: 58px;\n opacity: 0;\n}\n}\n\n.dokan-modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n min-height: 360px;\n background: #000;\n opacity: 0.7;\n z-index: 99900;\n}\n.dokan-modal * {\n box-sizing: border-box;\n}\n.dokan-modal .dokan-modal-content {\n position: fixed;\n background: #fff;\n z-index: 100000;\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n.dokan-modal .dokan-modal-main.has-footer {\n padding-bottom: 55px;\n}\n.dokan-modal header.modal-header {\n height: auto;\n background: #fcfcfc;\n padding: 1em 1.5em;\n border-bottom: 1px solid #ddd;\n}\n.dokan-modal header.modal-header h1 {\n margin: 0;\n padding: 0;\n font-size: 18px;\n font-weight: 700;\n line-height: 1.5em;\n}\n.dokan-modal header.modal-header .modal-close-link {\n cursor: pointer;\n color: #777;\n height: 54px;\n width: 54px;\n padding: 0;\n position: absolute;\n top: 0;\n right: 0;\n text-align: center;\n border: 0;\n border-left: 1px solid #ddd;\n background-color: transparent;\n -webkit-transition: color 0.1s ease-in-out, background 0.1s ease-in-out;\n transition: color 0.1s ease-in-out, background 0.1s ease-in-out;\n}\n.dokan-modal header.modal-header .modal-close-link::before {\n font: normal 22px/50px dashicons !important;\n color: #666;\n display: block;\n content: '\\F335';\n font-weight: 300;\n}\n.dokan-modal header.modal-header .modal-close-link:hover {\n background: #ddd;\n border-color: #ccc;\n color: #000;\n}\n.dokan-modal .modal-body {\n min-height: 100px;\n padding: 15px;\n overflow-y: scroll;\n}\n.dokan-modal footer {\n position: absolute;\n left: 0;\n right: 0;\n bottom: -30px;\n z-index: 100;\n padding: 1em 1.5em;\n background: #fcfcfc;\n border-top: 1px solid #dfdfdf;\n -webkit-box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.1);\n box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.1);\n}\n.dokan-modal footer .inner {\n text-align: right;\n line-height: 23px;\n}\n@media only screen and (max-width: 500px) {\n.dokan-modal-content {\n width: 400px !important;\n top: 300px !important;\n}\n}\n@media only screen and (max-width: 376px) {\n.dokan-modal-content {\n width: 350px !important;\n top: 300px !important;\n}\n}\n@media only screen and (max-width: 320px) {\n.dokan-modal-content {\n width: 300px !important;\n top: 300px !important;\n}\n}\n\n#progressbar[data-v-356fabc6] {\n border-radius: 13px;\n padding: 3px;\n margin-bottom : 20px;\n}\n.defaultFg[data-v-356fabc6] {\n background-color: #00a0d2;\n}\n.defaultBg[data-v-356fabc6] {\n background-color: #eee;\n}\n.blue[data-v-356fabc6] {\n background-color: blue;\n}\n.red[data-v-356fabc6] {\n background-color: red;\n}\n.green[data-v-356fabc6] {\n background-color: green;\n}\n.yellow[data-v-356fabc6] {\n background-color: yellow;\n}\n.orange[data-v-356fabc6] {\n background-color: orange;\n}\n#value[data-v-356fabc6] {\n height: 20px;\n border-radius: 10px;\n text-align: center;\n color:#fff;\n}\n\n.gmap-wrap #gmap[data-v-4f45e4a0] {\n width: 100%;\n height: 300px;\n}\n.search-address[data-v-4f45e4a0] {\n padding: 5px;\n}\n\n.mapbox-wrapper .mapboxgl-ctrl-geocoder--input {\n padding: 6px 35px;\n line-height: 1;\n}\n.mapbox-wrapper .mapboxgl-ctrl-top-left .mapboxgl-ctrl-geocoder {\n display: none;\n}\n.mapbox-wrapper .mapboxgl-ctrl-top-left.show-geocoder .mapboxgl-ctrl-geocoder {\n display: block;\n}\n.mapbox-wrapper .mapboxgl-ctrl-top-left.show-geocoder .dokan-mapboxgl-ctrl {\n display: none;\n}\n.mapbox-wrapper .address-input {\n margin-top: 5px;\n}\n.mapbox-wrapper .address-input label {\n font-weight: 600;\n}\n.mapbox-wrapper .address-input input {\n width: 100%;\n margin: 1px 0 3px;\n font-weight: 400;\n}\n"]}
assets/css/wp-version-before-5-3.css ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Dokan backend vendor listing page
3
+ */
4
+ .dokan-vendor-edit .tab-contents .content-body .dokan-form-input {
5
+ padding: 12px;
6
+ }
7
+
8
+ .search-box #post-search-input {
9
+ padding: 15px 18px;
10
+ }
assets/images/premium/cedric-lefrancq.jpeg ADDED
Binary file
assets/images/promo-logo.png ADDED
Binary file
assets/images/store-pic.png ADDED
Binary file
assets/images/wc-conversion-tracking-logo.png ADDED
Binary file
assets/images/weforms-logo.png ADDED
Binary file
assets/js/dokan-maps-compat.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ /**
2
+ * Backward compatibility script.
3
+ * Attached to `google-maps` handle
4
+ */
assets/js/dokan-setup-no-wc.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery( document ).ready( function ( $ ) {
2
+ 'use strict';
3
+
4
+ $( '#dokan-admin-setup-wizard' ).on( 'submit', function ( e ) {
5
+ $( '.wc-setup-content' ).block( {
6
+ message: null,
7
+ overlayCSS: {
8
+ background: '#fff',
9
+ opacity: 0.6
10
+ },
11
+ } );
12
+ } )
13
+ } );
assets/js/dokan-wp.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dokanWebpack([3],{
2
+
3
+ /***/ 203:
4
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
+
6
+ "use strict";
7
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__wordpress_hooks__ = __webpack_require__(37);
9
+
10
+ dokan.wpPackages = {
11
+ hooks: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_hooks__["a" /* createHooks */])()
12
+ };
13
+
14
+ /***/ })
15
+
16
+ },[203]);
assets/js/dokan-wp.min.js ADDED
@@ -0,0 +1 @@
 
1
+ dokanWebpack([3],{159:function(a,o,k){"use strict";var c=k(14);dokan.wpPackages={hooks:(0,c.createHooks)()}}},[159]);
assets/js/dokan.js CHANGED
@@ -1,7 +1,6 @@
1
  jQuery(function($) {
2
 
3
  $('.tips').tooltip();
4
- //$('select.grant_access_id').chosen();
5
 
6
  $('ul.order-status').on('click', 'a.dokan-edit-status', function(e) {
7
  $(this).addClass('dokan-hide').closest('li').next('li').removeClass('dokan-hide');
@@ -133,6 +132,7 @@ jQuery(function($) {
133
  product_id: product,
134
  download_id: file,
135
  order_id: self.data('order-id'),
 
136
  security: self.data('nonce')
137
  };
138
 
@@ -164,8 +164,41 @@ jQuery(function($) {
164
  var dokan_seller_meta_boxes_order_items = {
165
  init: function() {
166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  $( "#shipped-date" ).datepicker({
168
- dateFormat: "yy-mm-dd"
169
  });
170
 
171
  //saving note
@@ -541,7 +574,6 @@ jQuery(function($) {
541
  // gallery
542
  $('body, #dokan-product-images').on('click', 'a.add-product-images', this.gallery.addImages );
543
  $('body, #dokan-product-images').on( 'click', 'a.action-delete', this.gallery.deleteImage );
544
- $('body, #dokan-product-images').on( 'click', 'a.delete', this.gallery.deleteImage );
545
  this.gallery.sortable();
546
 
547
  // featured image
@@ -562,7 +594,7 @@ jQuery(function($) {
562
  return false;
563
  });
564
 
565
- $('body').on('click', 'a.delete', function(){
566
  $(this).closest('tr').remove();
567
  return false;
568
  });
@@ -951,9 +983,10 @@ jQuery(function($) {
951
 
952
  $parent.fadeOut( 300, function() {
953
  if ( $parent.is( '.taxonomy' ) ) {
 
954
  $( 'select.dokan_attribute_taxonomy' ).find( 'option[value="' + $parent.data( 'taxonomy' ) + '"]' ).removeAttr( 'disabled' );
955
  }
956
- $(this).remove();
957
  Dokan_Editor.attribute.reArrangeAttribute();
958
  });
959
  }
@@ -1285,7 +1318,7 @@ jQuery(function($) {
1285
  var hide_classes = '.hide_if_downloadable, .hide_if_virtual';
1286
  var show_classes = '.show_if_downloadable, .show_if_virtual';
1287
 
1288
- $.each( [ 'simple', 'variable', 'grouped' ], function( index, value ) {
1289
  hide_classes = hide_classes + ', .hide_if_' + value;
1290
  show_classes = show_classes + ', .show_if_' + value;
1291
  });
@@ -1357,96 +1390,48 @@ jQuery(function($) {
1357
  return false;
1358
  });
1359
 
1360
- function dokan_show_earning_suggestion() {
1361
- var selectedCategoryWrapper = $('select#product_cat').find('option:selected');
1362
-
1363
- if ( selectedCategoryWrapper.data( 'commission' ) != '' ) {
1364
- var vendor_percentage = selectedCategoryWrapper.data( 'commission' );
1365
- var commission_type = selectedCategoryWrapper.data( 'commission_type' );
1366
- } else {
1367
- var commission_type = $('span.vendor-earning').attr( 'data-commission_type' );
1368
- var vendor_percentage = $('span.vendor-earning').attr( 'data-commission' );
1369
- }
1370
-
1371
- if ( commission_type == 'percentage' ) {
1372
- if ( $('input.dokan-product-sales-price' ).val() == '' ) {
1373
- $( 'span.vendor-price' ).html(
1374
- parseFloat( accounting.formatNumber( ( ( $( 'input.dokan-product-regular-price' ).val() * vendor_percentage ) / 100 ), dokan.rounding_precision, '' ) )
1375
- .toString()
1376
- .replace( '.', dokan.mon_decimal_point )
1377
- );
1378
- } else {
1379
- $( 'span.vendor-price' ).html(
1380
- parseFloat( accounting.formatNumber( ( ( $( 'input.dokan-product-sales-price' ).val() * vendor_percentage ) / 100 ), dokan.rounding_precision, '' ) )
1381
- .toString()
1382
- .replace( '.', dokan.mon_decimal_point )
1383
- );
1384
- }
1385
- } else {
1386
- if ( $('input.dokan-product-sales-price' ).val() == '' ) {
1387
- $( 'span.vendor-price' ).html(
1388
- parseFloat( accounting.formatNumber( ( $( 'input.dokan-product-regular-price' ).val() - vendor_percentage ), dokan.rounding_precision, '' ) )
1389
- .toString()
1390
- .replace( '.', dokan.mon_decimal_point )
1391
- );
1392
- } else {
1393
- $( 'span.vendor-price' ).html(
1394
- parseFloat( accounting.formatNumber( ( $( 'input.dokan-product-sales-price' ).val() - vendor_percentage ), dokan.rounding_precision, '' ) )
1395
- .toString()
1396
- .replace( '.', dokan.mon_decimal_point )
1397
- );
1398
  }
1399
- }
1400
  }
1401
 
1402
- $('select#product_cat').on('change', function() {
1403
- dokan_show_earning_suggestion();
1404
-
1405
- if ( $( '#product_type' ).val() == 'variable' || $( '#product_type' ).val() == undefined ) {
1406
- return;
1407
- }
1408
-
1409
- if ( Number( $('span.vendor-price').text() ) <= 0 ) {
1410
- $( 'input[type=submit]' ).attr( 'disabled', 'disabled' );
1411
- $( '.dokan-product-less-price-alert' ).removeClass( 'dokan-hide' );
1412
- } else {
1413
- $( 'input[type=submit]' ).removeAttr( 'disabled');
1414
- $( '.dokan-product-less-price-alert' ).addClass( 'dokan-hide' );
1415
- }
1416
- });
1417
-
1418
- $( "input.dokan-product-regular-price, input.dokan-product-sales-price" ).on( 'keyup', function () {
1419
- dokan_show_earning_suggestion();
1420
-
1421
- if ( $( '#product_type' ).val() == 'simple' || $( '#product_type' ).text() == '' ) {
1422
- if ( Number( $('span.vendor-price').text() ) < 0 ) {
1423
- $( $('.dokan-product-less-price-alert').removeClass('dokan-hide') );
1424
- $( 'input[type=submit]' ).attr( 'disabled', 'disabled' );
1425
- $( 'button[type=submit]' ).attr( 'disabled', 'disabled' );
1426
- } else {
1427
- $( $('.dokan-product-less-price-alert').addClass('dokan-hide') );
1428
- $( 'input[type=submit]' ).removeAttr( 'disabled');
1429
- $( 'button[type=submit]' ).removeAttr( 'disabled');
1430
- }
1431
- }
1432
-
1433
- $( '#product_type' ).on( 'change', function() {
1434
- var self = $(this);
1435
 
1436
- if ( self.val() == 'variable' || self.val() == 'grouped' ) {
1437
- $( 'input[type=submit]' ).removeAttr( 'disabled' );
1438
- } else {
1439
- if ( Number( $('span.vendor-price').text() ) > 0 ) {
1440
- $( 'input[type=submit]' ).removeAttr( 'disabled');
1441
- $( '.dokan-product-less-price-alert' ).addClass( 'dokan-hide' );
1442
- } else {
1443
- $( '.dokan-product-less-price-alert' ).removeClass( 'dokan-hide ');
1444
  $( 'input[type=submit]' ).attr( 'disabled', 'disabled' );
 
 
 
 
 
1445
  }
1446
  }
1447
  } );
1448
 
1449
- } ).trigger('keyup');
1450
 
1451
  });
1452
 
@@ -1522,12 +1507,12 @@ jQuery(function($) {
1522
  $.validator.setDefaults({ ignore: ":hidden" });
1523
 
1524
  var validatorError = function(error, element) {
1525
- var form_group = $(element).closest('.form-group');
1526
  form_group.addClass('has-error').append(error);
1527
  };
1528
 
1529
  var validatorSuccess = function(label, element) {
1530
- $(element).closest('.form-group').removeClass('has-error');
1531
  };
1532
 
1533
  var api = wp.customize;
@@ -1867,7 +1852,8 @@ jQuery(function($) {
1867
  errorElement: 'span',
1868
  errorClass: 'error',
1869
  errorPlacement: validatorError,
1870
- success: validatorSuccess
 
1871
  });
1872
 
1873
  },
@@ -2145,3 +2131,300 @@ jQuery(function($) {
2145
 
2146
 
2147
  })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  jQuery(function($) {
2
 
3
  $('.tips').tooltip();
 
4
 
5
  $('ul.order-status').on('click', 'a.dokan-edit-status', function(e) {
6
  $(this).addClass('dokan-hide').closest('li').next('li').removeClass('dokan-hide');
132
  product_id: product,
133
  download_id: file,
134
  order_id: self.data('order-id'),
135
+ permission_id: self.data('permission-id'),
136
  security: self.data('nonce')
137
  };
138
 
164
  var dokan_seller_meta_boxes_order_items = {
165
  init: function() {
166
 
167
+ let formatMap = {
168
+ // Day
169
+ d: 'dd',
170
+ D: 'D',
171
+ j: 'd',
172
+ l: 'DD',
173
+
174
+ // Month
175
+ F: 'MM',
176
+ m: 'mm',
177
+ M: 'M',
178
+ n: 'm',
179
+
180
+ // Year
181
+ o: 'yy', // not exactly same. see php date doc for details
182
+ Y: 'yy',
183
+ y: 'y'
184
+ }
185
+
186
+ let i = 0;
187
+ let char = '';
188
+ let datepickerFormat = '';
189
+
190
+ for (i = 0; i < dokan.i18n_date_format.length; i++) {
191
+ char = dokan.i18n_date_format[i];
192
+
193
+ if (char in formatMap) {
194
+ datepickerFormat += formatMap[char];
195
+ } else {
196
+ datepickerFormat += char;
197
+ }
198
+ }
199
+
200
  $( "#shipped-date" ).datepicker({
201
+ dateFormat: datepickerFormat
202
  });
203
 
204
  //saving note
574
  // gallery
575
  $('body, #dokan-product-images').on('click', 'a.add-product-images', this.gallery.addImages );
576
  $('body, #dokan-product-images').on( 'click', 'a.action-delete', this.gallery.deleteImage );
 
577
  this.gallery.sortable();
578
 
579
  // featured image
594
  return false;
595
  });
596
 
597
+ $('body').on('click', 'a.dokan-product-delete', function() {
598
  $(this).closest('tr').remove();
599
  return false;
600
  });
983
 
984
  $parent.fadeOut( 300, function() {
985
  if ( $parent.is( '.taxonomy' ) ) {
986
+ $parent.find( 'select, input[type=text]' ).val( '' );
987
  $( 'select.dokan_attribute_taxonomy' ).find( 'option[value="' + $parent.data( 'taxonomy' ) + '"]' ).removeAttr( 'disabled' );
988
  }
989
+
990
  Dokan_Editor.attribute.reArrangeAttribute();
991
  });
992
  }
1318
  var hide_classes = '.hide_if_downloadable, .hide_if_virtual';
1319
  var show_classes = '.show_if_downloadable, .show_if_virtual';
1320
 
1321
+ $.each( Object.keys( dokan.product_types ), function( index, value ) {
1322
  hide_classes = hide_classes + ', .hide_if_' + value;
1323
  show_classes = show_classes + ', .show_if_' + value;
1324
  });
1390
  return false;
1391
  });
1392
 
1393
+ function dokan_show_earning_suggestion( callback ) {
1394
+ let commission = $('span.vendor-earning').attr( 'data-commission' );
1395
+ let product_id = $( 'span.vendor-earning' ).attr( 'data-product-id' );
1396
+ let product_price = $( 'input.dokan-product-regular-price' ).val();
1397
+ let sale_price = $( 'input.dokan-product-sales-price' ).val();
1398
+ let earning_suggestion = $('.simple-product span.vendor-price');
1399
+
1400
+ earning_suggestion.html( 'Calculating' );
1401
+
1402
+ $.get( dokan.ajaxurl, {
1403
+ action: 'get_vendor_earning',
1404
+ product_id: product_id,
1405
+ product_price: product_price,
1406
+ product_price: sale_price ? sale_price : product_price,
1407
+ _wpnonce: dokan.nonce
1408
+ } )
1409
+ .done( ( response ) => {
1410
+ earning_suggestion.html( response );
1411
+
1412
+ if ( typeof callback === 'function' ) {
1413
+ callback();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1414
  }
1415
+ } );
1416
  }
1417
 
1418
+ $( "input.dokan-product-regular-price, input.dokan-product-sales-price" ).on( 'keyup', _.debounce( () => {
1419
+ dokan_show_earning_suggestion( function() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1420
 
1421
+ if ( $( '#product_type' ).val() == 'simple' || $( '#product_type' ).text() == '' ) {
1422
+ if ( Number( $('.simple-product span.vendor-price').text() ) < 0 ) {
1423
+ $( $('.dokan-product-less-price-alert').removeClass('dokan-hide') );
 
 
 
 
 
1424
  $( 'input[type=submit]' ).attr( 'disabled', 'disabled' );
1425
+ $( 'button[type=submit]' ).attr( 'disabled', 'disabled' );
1426
+ } else {
1427
+ $( $('.dokan-product-less-price-alert').addClass('dokan-hide') );
1428
+ $( 'input[type=submit]' ).removeAttr( 'disabled');
1429
+ $( 'button[type=submit]' ).removeAttr( 'disabled');
1430
  }
1431
  }
1432
  } );
1433
 
1434
+ }, 750 ) );
1435
 
1436
  });
1437
 
1507
  $.validator.setDefaults({ ignore: ":hidden" });
1508
 
1509
  var validatorError = function(error, element) {
1510
+ var form_group = $(element).closest('.dokan-form-group');
1511
  form_group.addClass('has-error').append(error);
1512
  };
1513
 
1514
  var validatorSuccess = function(label, element) {
1515
+ $(element).closest('.dokan-form-group').removeClass('has-error');
1516
  };
1517
 
1518
  var api = wp.customize;
1852
  errorElement: 'span',
1853
  errorClass: 'error',
1854
  errorPlacement: validatorError,
1855
+ success: validatorSuccess,
1856
+ ignore: '.select2-search__field, :hidden, .mapboxgl-ctrl-geocoder--input'
1857
  });
1858
 
1859
  },
2131
 
2132
 
2133
  })(jQuery);
2134
+
2135
+ ;(function($) {
2136
+ var storeLists = {
2137
+ /**
2138
+ * Query holder
2139
+ *
2140
+ * @type object
2141
+ */
2142
+ query: {},
2143
+
2144
+ /**
2145
+ * Form holder
2146
+ *
2147
+ * @type object
2148
+ */
2149
+ form: null,
2150
+
2151
+ /**
2152
+ * Category item string holder
2153
+ *
2154
+ * @type array
2155
+ */
2156
+ cateItemStringArray: [],
2157
+
2158
+ /**
2159
+ * Init all the methods
2160
+ *
2161
+ * @return void
2162
+ */
2163
+ init: function() {
2164
+ $( '#dokan-store-listing-filter-wrap .sort-by #stores_orderby' ).on( 'change', this.buildSortByQuery );
2165
+ $( '#dokan-store-listing-filter-wrap .toggle-view span' ).on( 'click', this.toggleView );
2166
+ $( '#dokan-store-listing-filter-wrap .dokan-store-list-filter-button, #dokan-store-listing-filter-wrap .dokan-icons, #dokan-store-listing-filter-form-wrap .apply-filter #cancel-filter-btn ' ).on( 'click', this.toggleForm );
2167
+
2168
+ // Build query string
2169
+ $( '#dokan-store-listing-filter-form-wrap .store-search-input' ).on( 'change', this.buildSearchQuery );
2170
+
2171
+ // Submit the form
2172
+ $( '#dokan-store-listing-filter-form-wrap .apply-filter #apply-filter-btn' ).on( 'click', this.submitForm );
2173
+
2174
+ this.maybeHideListView();
2175
+
2176
+ const self = storeLists;
2177
+
2178
+ self.form = document.forms.dokan_store_lists_filter_form;
2179
+
2180
+ const view = self.getLocal( 'dokan-layout' );
2181
+
2182
+ if ( view ) {
2183
+ const toggleBtns = $( '.toggle-view span' );
2184
+ self.setView( view, toggleBtns );
2185
+ }
2186
+
2187
+ const params = self.getParams();
2188
+
2189
+ if ( params.length ) {
2190
+ let openTheForm = false;
2191
+
2192
+ params.forEach( function( param ) {
2193
+ const keys = Object.keys( param );
2194
+ const values = Object.values( param );
2195
+
2196
+ if ( ! keys.includes( 'stores_orderby' ) || params.length > 1 ) {
2197
+ openTheForm = true;
2198
+ }
2199
+
2200
+ self.setParams( keys, values );
2201
+ });
2202
+
2203
+ if ( openTheForm ) {
2204
+ $( '#dokan-store-listing-filter-form-wrap' ).slideToggle();
2205
+ }
2206
+ }
2207
+ },
2208
+
2209
+ buildSortByQuery: function( event ) {
2210
+ const self = storeLists;
2211
+
2212
+ self.query.stores_orderby = event.target.value;
2213
+ self.submitForm( event );
2214
+ },
2215
+
2216
+ /**
2217
+ * Toggle store layout view
2218
+ *
2219
+ * @param string event
2220
+ *
2221
+ * @return void
2222
+ */
2223
+ toggleView: function( event ) {
2224
+ const self = storeLists;
2225
+ const currentElement = $( event.target );
2226
+ const elements = currentElement.parent().find( 'span' );
2227
+ const view = currentElement.data( 'view' );
2228
+
2229
+ self.setView( view, elements );
2230
+ self.setLocal( 'dokan-layout', view );
2231
+ },
2232
+
2233
+ /**
2234
+ * Set grid or list view
2235
+ *
2236
+ * @param string view
2237
+ * @param array elements
2238
+ *
2239
+ * @return void
2240
+ */
2241
+ setView: function( view, elements ) {
2242
+ if ( typeof view === 'undefined'
2243
+ || view.length < 1
2244
+ || typeof elements === 'undefined'
2245
+ || elements.length < 1
2246
+ ) {
2247
+ return;
2248
+ }
2249
+
2250
+ const listingWrap = $( '#dokan-seller-listing-wrap' );
2251
+
2252
+ [...elements].forEach( function( value ) {
2253
+ const element = $( value );
2254
+
2255
+ if ( view === element.data( 'view' ) ) {
2256
+ element.addClass( 'active' );
2257
+ listingWrap.addClass( view );
2258
+ } else {
2259
+ element.removeClass( 'active' );
2260
+ listingWrap.removeClass( element.data( 'view' ) );
2261
+ }
2262
+ });
2263
+ },
2264
+
2265
+ /**
2266
+ * Toggle form
2267
+ *
2268
+ * @param string event
2269
+ *
2270
+ * @return void
2271
+ */
2272
+ toggleForm: function( event ) {
2273
+ event.preventDefault();
2274
+
2275
+ $( '#dokan-store-listing-filter-form-wrap' ).slideToggle();
2276
+ },
2277
+
2278
+ /**
2279
+ * Build Search Query
2280
+ *
2281
+ * @param string event
2282
+ *
2283
+ * @return void
2284
+ */
2285
+ buildSearchQuery: function( event ) {
2286
+ if ( event.target.value ) {
2287
+ storeLists.query.dokan_seller_search = event.target.value;
2288
+ } else {
2289
+ delete storeLists.query.dokan_seller_search;
2290
+ }
2291
+ },
2292
+
2293
+ /**
2294
+ * Submit the form
2295
+ *
2296
+ * @param string event
2297
+ *
2298
+ * @return void
2299
+ */
2300
+ submitForm: function( event ) {
2301
+ event.preventDefault();
2302
+
2303
+ const queryString = decodeURIComponent( $.param( storeLists.query ) );
2304
+
2305
+ window.history.pushState( null, null, `?${queryString}` );
2306
+ window.location.reload();
2307
+ },
2308
+
2309
+ /**
2310
+ * Add data into local storage
2311
+ *
2312
+ * @param string key
2313
+ * @param mix value
2314
+ *
2315
+ * @return void
2316
+ */
2317
+ setLocal: function( key, value ) {
2318
+ window.localStorage.setItem( key, value );
2319
+ },
2320
+
2321
+ /**
2322
+ * Get data from local storage
2323
+ *
2324
+ * @param string key
2325
+ *
2326
+ * @return mix
2327
+ */
2328
+ getLocal: function( key ) {
2329
+ return window.localStorage.getItem( key );
2330
+ },
2331
+
2332
+ setParams: function( key, value ) {
2333
+ const self = storeLists;
2334
+ const elements = self.form ? self.form.elements : '';
2335
+ const sortingForm = document.forms.stores_sorting;
2336
+ const sortingFormElements = sortingForm ? sortingForm.elements : '';
2337
+
2338
+ Object.values( sortingFormElements ).forEach( function( element ) {
2339
+ if ( element.name === key[0] ) {
2340
+ $( element ).val( value[0] );
2341
+ }
2342
+ });
2343
+
2344
+ // on reload, if query string exists, set the form input elment value
2345
+ Object.values( elements ).forEach( function( element ) {
2346
+ if ( key.includes( element.name ) ) {
2347
+ if ( element.type === 'checkbox' ) {
2348
+ element.checked = ['yes', 'true', '1'].includes( value[0] ) ? true : false;
2349
+ } else if ( [ 'text', 'search' ].includes( element.type ) ) {
2350
+ element.value = value[0];
2351
+ }
2352
+ }
2353
+
2354
+ if ( key[0] === 'store_category[]' && key[0].includes( '[' ) ) {
2355
+ const trimedValue = value[0].split( ' ' ).join( '-' );
2356
+ const cateItem = $( `[data-slug=${trimedValue}]` );
2357
+
2358
+ if ( ! self.cateItemStringArray.includes( cateItem.text().trim() ) ) {
2359
+ self.cateItemStringArray.push( cateItem.text().trim() );
2360
+ }
2361
+
2362
+ cateItem.addClass( 'dokan-btn-theme' );
2363
+
2364
+ } else if ( key[0] === 'rating' ) {
2365
+ const trimedValue = value[0].split( ' ' ).join( '-' );
2366
+
2367
+ $( `[data-${key[0]}=${trimedValue}]` ).addClass( 'active' );
2368
+ $( `[data-rating=${trimedValue}]` ).parent().addClass( 'selected' );
2369
+ }
2370
+ });
2371
+
2372
+ key.forEach( function( param, index ) {
2373
+ if ( ! param.includes( '[' ) ) {
2374
+ self.query[ param ] = value[ index ];
2375
+ }
2376
+ });
2377
+ },
2378
+
2379
+ /**
2380
+ * Get params from
2381
+ *
2382
+ * @return array
2383
+ */
2384
+ getParams: function() {
2385
+ const params = new URLSearchParams( location.search );
2386
+ const allParams = [];
2387
+
2388
+ params.forEach( function( value, key ) {
2389
+ allParams.push( {
2390
+ [key]: value
2391
+ } );
2392
+ });
2393
+
2394
+ return allParams;
2395
+ },
2396
+
2397
+ /**
2398
+ * On mobile screen hide the grid, list view button
2399
+ *
2400
+ * @return void
2401
+ */
2402
+ maybeHideListView: function() {
2403
+ const self = storeLists;
2404
+
2405
+ if ( window.matchMedia( '(max-width: 767px)' ).matches ) {
2406
+ if ( 'list-view' === self.getLocal( 'dokan-layout' ) ) {
2407
+ self.setLocal( 'dokan-layout', 'grid-view' );
2408
+ }
2409
+ }
2410
+
2411
+ $( window ).on( 'resize', function() {
2412
+ const container = $(this);
2413
+
2414
+ if ( container.width() < 767 ) {
2415
+ $( '#dokan-seller-listing-wrap' ).removeClass( 'list-view' );
2416
+ $( '#dokan-seller-listing-wrap' ).addClass( 'grid-view' );
2417
+ } else {
2418
+ $( '.toggle-view.item span' ).last().removeClass( 'active' );
2419
+ $( '.toggle-view.item span' ).first().addClass( 'active' );
2420
+ }
2421
+ });
2422
+ }
2423
+ };
2424
+
2425
+ if ( window.dokan ) {
2426
+ window.dokan.storeLists = storeLists;
2427
+ window.dokan.storeLists.init();
2428
+ }
2429
+
2430
+ })(jQuery);
assets/js/login-form-popup.js ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Dokan Login Form Popup
2
+ (function($) {
3
+ dokan.login_form_popup = {
4
+ form_html: '',
5
+
6
+ init: function () {
7
+ $( 'body' ).on( 'dokan:login_form_popup:show', this.get_form );
8
+ $( 'body' ).on( 'submit', '#dokan-login-form-popup-form', this.submit_form );
9
+ $( 'body' ).on( 'dokan:login_form_popup:working', this.working );
10
+ $( 'body' ).on( 'dokan:login_form_popup:done_working', this.done_working );
11
+ },
12
+
13
+ get_form: function (e, options) {
14
+ if ( dokan.login_form_popup.form_html ) {
15
+ dokan.login_form_popup.show_popup();
16
+ return;
17
+ }
18
+
19
+ options = $.extend(true, {
20
+ nonce: dokan.nonce,
21
+ action: 'dokan_get_login_form'
22
+ }, options );
23
+
24
+ $( 'body' ).trigger( 'dokan:login_form_popup:fetching_form' );
25
+
26
+ $.ajax( {
27
+ url: dokan.ajaxurl,
28
+ method: 'get',
29
+ dataType: 'json',
30
+ data: {
31
+ _wpnonce: options.nonce,
32
+ action: options.action
33
+ }
34
+ } ).done( function ( response ) {
35
+ dokan.login_form_popup.form_html = response.data;
36
+ dokan.login_form_popup.show_popup();
37
+ $( 'body' ).trigger( 'dokan:login_form_popup:fetched_form' );
38
+ } );
39
+ },
40
+
41
+ show_popup: function () {
42
+ $.magnificPopup.open({
43
+ items: {
44
+ src: dokan.login_form_popup.form_html,
45
+ type: 'inline'
46
+ },
47
+
48
+ callbacks: {
49
+ open: function () {
50
+ $( 'body' ).trigger( 'dokan:login_form_popup:opened' );
51
+ }
52
+ }
53
+ });
54
+ },
55
+
56
+ submit_form: function ( e ) {
57
+ e.preventDefault();
58
+
59
+ var form_data = $( this ).serialize();
60
+ var error_section = $( '.dokan-login-form-error', '#dokan-login-form-popup-form' );
61
+
62
+ error_section.removeClass( 'has-error' ).text('');
63
+
64
+ $( 'body' ).trigger( 'dokan:login_form_popup:working' );
65
+
66
+ $.ajax( {
67
+ url: dokan.ajaxurl,
68
+ method: 'post',
69
+ dataType: 'json',
70
+ data: {
71
+ _wpnonce: dokan.nonce,
72
+ action: 'dokan_login_user',
73
+ form_data: form_data
74
+ }
75
+ } ).done( function ( response ) {
76
+ $( 'body' ).trigger( 'dokan:login_form_popup:logged_in', response );
77
+ $.magnificPopup.close();
78
+ } ).always( function () {
79
+ $( 'body' ).trigger( 'dokan:login_form_popup:done_working' );
80
+ } ).fail( function ( jqXHR ) {
81
+ if ( jqXHR.responseJSON && jqXHR.responseJSON.data && jqXHR.responseJSON.data.message ) {
82
+ error_section.addClass( 'has-error' ).text( jqXHR.responseJSON.data.message );
83
+ }
84
+ } );
85
+ },
86
+
87
+ working: function () {
88
+ $( 'fieldset', '#dokan-login-form-popup-form' ).prop( 'disabled', true );
89
+ $( '#dokan-login-form-submit-btn' ).addClass( 'dokan-hide' );
90
+ $( '#dokan-login-form-working-btn' ).removeClass( 'dokan-hide' );
91
+ },
92
+
93
+ done_working: function () {
94
+ $( 'fieldset', '#dokan-login-form-popup-form' ).prop( 'disabled', false );
95
+ $( '#dokan-login-form-submit-btn' ).removeClass( 'dokan-hide' );
96
+ $( '#dokan-login-form-working-btn' ).addClass( 'dokan-hide' );
97
+ }
98
+ };
99
+
100
+ dokan.login_form_popup.init();
101
+ })(jQuery);
assets/js/vendor-registration.js CHANGED
@@ -169,6 +169,15 @@ $(function() {
169
 
170
  $('.show_if_seller').find( 'input, select' ).attr( 'disabled', 'disabled' );
171
 
 
 
 
 
 
 
 
 
 
172
  // disable migration button if checkbox isn't checked
173
  if ( $( '.tc_check_box' ).length > 0 ){
174
  $( 'input[name=dokan_migration]' ).attr( 'disabled', 'disabled' );
169
 
170
  $('.show_if_seller').find( 'input, select' ).attr( 'disabled', 'disabled' );
171
 
172
+ // trigger change if there is an error while registering
173
+ var shouldTrigger = $( '.woocommerce ul' ).hasClass( 'woocommerce-error' ) && ! $( '.show_if_seller' ).is( ':hidden' );
174
+
175
+ if ( shouldTrigger ) {
176
+ var form = $('form.register');
177
+
178
+ $( '.user-role input[type=radio]', form ).trigger('change');
179
+ }
180
+
181
  // disable migration button if checkbox isn't checked
182
  if ( $( '.tc_check_box' ).length > 0 ){
183
  $( 'input[name=dokan_migration]' ).attr( 'disabled', 'disabled' );
assets/js/vue-admin.js CHANGED
@@ -1,4 +1,4 @@
1
- dokanWebpack([0],[
2
  /* 0 */,
3
  /* 1 */,
4
  /* 2 */,
@@ -6,116 +6,37 @@ dokanWebpack([0],[
6
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7
 
8
  "use strict";
9
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_chartjs__ = __webpack_require__(4);
10
-
11
-
12
-
13
- /* harmony default export */ __webpack_exports__["a"] = ({
14
- extends: __WEBPACK_IMPORTED_MODULE_0_vue_chartjs__["Line"],
15
- props: ['data'],
16
- data() {
17
- return {
18
- options: {
19
- responsive: true,
20
- maintainAspectRatio: false,
21
- scales: {
22
- xAxes: [{
23
- type: 'time',
24
- scaleLabel: {
25
- display: false
26
- },
27
- gridLines: {
28
- display: false
29
- },
30
- ticks: {
31
- fontColor: '#aaa',
32
- fontSize: 11
33
- }
34
- }],
35
- yAxes: [{
36
- scaleLabel: {
37
- display: false
38
- },
39
- ticks: {
40
- fontColor: '#aaa'
41
- }
42
- }]
43
- },
44
- legend: {
45
- position: 'top',
46
- onClick: false
47
- },
48
- elements: {
49
- line: {
50
- tension: 0,
51
- borderWidth: 4
52
- },
53
- point: {
54
- radius: 5,
55
- borderWidth: 3,
56
- backgroundColor: '#fff',
57
- borderColor: '#fff'
58
- }
59
- },
60
- tooltips: {
61
- displayColors: false,
62
- callbacks: {
63
- label: function (tooltipItems, data) {
64
- let label = data.datasets[tooltipItems.datasetIndex].label || '';
65
- let customLabel = data.datasets[tooltipItems.datasetIndex].tooltipLabel || '';
66
- let prefix = data.datasets[tooltipItems.datasetIndex].tooltipPrefix || '';
67
-
68
- let tooltipLabel = customLabel ? customLabel + ': ' : label + ': ';
69
-
70
- tooltipLabel += prefix + tooltipItems.yLabel;
71
-
72
- return tooltipLabel;
73
- }
74
- }
75
- }
76
- }
77
- };
78
- },
79
- mounted() {
80
- this.renderChart(this.data, this.options);
81
- }
82
- });
83
-
84
- /***/ }),
85
- /* 4 */,
86
- /* 5 */,
87
- /* 6 */,
88
- /* 7 */
89
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
90
-
91
- "use strict";
92
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
93
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Chart_vue__ = __webpack_require__(3);
94
- /* empty harmony namespace reexport */
95
  var disposed = false
 
 
 
 
96
  var normalizeComponent = __webpack_require__(0)
97
  /* script */
98
 
99
 
100
  /* template */
101
- var __vue_template__ = null
102
  /* template functional */
103
  var __vue_template_functional__ = false
104
  /* styles */
105
- var __vue_styles__ = null
106
  /* scopeId */
107
  var __vue_scopeId__ = null
108
  /* moduleIdentifier (server only) */
109
  var __vue_module_identifier__ = null
110
  var Component = normalizeComponent(
111
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Chart_vue__["a" /* default */],
112
- __vue_template__,
113
  __vue_template_functional__,
114
  __vue_styles__,
115
  __vue_scopeId__,
116
  __vue_module_identifier__
117
  )
118
- Component.options.__file = "src/admin/components/Chart.vue"
119
 
120
  /* hot reload */
121
  if (false) {(function () {
@@ -124,27 +45,138 @@ if (false) {(function () {
124
  if (!hotAPI.compatible) return
125
  module.hot.accept()
126
  if (!module.hot.data) {
127
- hotAPI.createRecord("data-v-28c376de", Component.options)
128
  } else {
129
- hotAPI.reload("data-v-28c376de", Component.options)
130
  }
131
  module.hot.dispose(function (data) {
132
  disposed = true
133
  })
134
  })()}
135
 
136
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
137
 
138
 
139
  /***/ }),
140
- /* 8 */,
141
- /* 9 */,
142
- /* 10 */,
143
- /* 11 */,
144
- /* 12 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
146
 
147
  "use strict";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  //
149
  //
150
  //
@@ -154,15 +186,99 @@ if (false) {(function () {
154
  //
155
 
156
  /* harmony default export */ __webpack_exports__["a"] = ({
157
- name: 'App'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  });
159
 
160
  /***/ }),
161
- /* 13 */
162
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
163
 
164
  "use strict";
165
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_admin_components_Chart_vue__ = __webpack_require__(7);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  //
167
  //
168
  //
@@ -274,94 +390,243 @@ if (false) {(function () {
274
  //
275
  //
276
 
277
- let Postbox = dokan_get_lib('Postbox');
278
- let Loading = dokan_get_lib('Loading');
279
 
280
 
281
 
282
  /* harmony default export */ __webpack_exports__["a"] = ({
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
 
284
- name: 'Dashboard',
285
-
286
- components: {
287
- Postbox,
288
- Loading,
289
- Chart: __WEBPACK_IMPORTED_MODULE_0_admin_components_Chart_vue__["default"]
290
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
291
 
292
- data() {
293
- return {
294
- overview: null,
295
- feed: null,
296
- report: null,
297
- subscribe: {
298
- success: false,
299
- loading: false,
300
- email: ''
301
- }
302
- };
303
  },
 
 
 
 
304
 
305
- created() {
306
- this.fetchOverview();
307
- this.fetchFeed();
308
- this.fetchReport();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  },
 
 
310
 
311
- methods: {
312
 
313
- fetchOverview() {
314
- dokan.api.get('/admin/report/summary').done(response => {
315
- this.overview = response;
316
- });
317
- },
318
 
319
- fetchFeed() {
320
- dokan.api.get('/admin/dashboard/feed').done(response => {
321
- this.feed = response;
322
- });
323
- },
 
324
 
325
- fetchReport() {
326
- dokan.api.get('/admin/report/overview').done(response => {
327
- this.report = response;
328
- });
329
- },
330
 
331
- validEmail(email) {
332
- var re = /^(([^<>()\[\]\\.,;:\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,}))$/;
333
- return re.test(email);
334
- },
335
 
336
- emailSubscribe() {
337
- let action = 'https://wedevs.us16.list-manage.com/subscribe/post-json?u=66e606cfe0af264974258f030&id=0d176bb256&c=?';
 
 
 
338
 
339
- if (!this.validEmail(this.subscribe.email)) {
340
- return;
341
- }
 
 
 
342
 
343
- this.subscribe.loading = true;
344
 
345
- $.ajax({
346
- url: action,
347
- data: {
348
- EMAIL: this.subscribe.email,
349
- 'group[3555][8]': '1'
350
- },
351
- type: 'GET',
352
- dataType: 'json',
353
- cache: false,
354
- contentType: "application/json; charset=utf-8"
355
- }).always(response => {
356
- this.subscribe.success = true;
357
- this.subscribe.loading = false;
358
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  }
 
361
  });
362
 
363
  /***/ }),
364
- /* 14 */
365
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
366
 
367
  "use strict";
@@ -372,6 +637,34 @@ let Loading = dokan_get_lib('Loading');
372
  //
373
  //
374
  //
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
  //
376
  //
377
  //
@@ -382,6 +675,223 @@ let Loading = dokan_get_lib('Loading');
382
  //
383
  //
384
  //
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  //
386
  //
387
  //
@@ -400,6 +910,78 @@ let Loading = dokan_get_lib('Loading');
400
  //
401
  //
402
  //
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
  //
404
  //
405
  //
@@ -451,477 +1033,132 @@ let Loading = dokan_get_lib('Loading');
451
  //
452
  //
453
 
454
- let ListTable = dokan_get_lib('ListTable');
455
- let Modal = dokan_get_lib('Modal');
456
-
457
- /* harmony default export */ __webpack_exports__["a"] = ({
458
-
459
- name: 'Withdraw',
460
-
461
- components: {
462
- ListTable,
463
- Modal
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
464
  },
 
 
 
 
465
 
466
- data() {
467
- return {
468
- showModal: false,
469
- editing: {
470
- id: null,
471
- note: null
472
- },
473
-
474
- totalPages: 1,
475
- perPage: 10,
476
- totalItems: 0,
477
-
478
- counts: {
479
- pending: 0,
480
- approved: 0,
481
- cancelled: 0
482
- },
483
- notFound: this.__('No requests found.', 'dokan-lite'),
484
- showCb: true,
485
- loading: false,
486
- columns: {
487
- 'seller': { label: this.__('Vendor', 'dokan-lite') },
488
- 'amount': { label: this.__('Amount', 'dokan-lite') },
489
- 'status': { label: this.__('Status', 'dokan-lite') },
490
- 'method_title': { label: this.__('Method', 'dokan-lite') },
491
- 'method_details': { label: this.__('Details', 'dokan-lite') },
492
- 'note': { label: this.__('Note', 'dokan-lite') },
493
- 'created': { label: this.__('Date', 'dokan-lite') },
494
- 'actions': { label: this.__('Actions', 'dokan-lite') }
495
- },
496
- requests: [],
497
- actionColumn: 'seller'
498
- };
499
  },
500
-
501
- watch: {
502
- '$route.query.status'() {
503
- this.fetchRequests();
504
- },
505
-
506
- '$route.query.page'() {
507
- this.fetchRequests();
508
- }
509
  },
 
 
 
 
510
 
511
- computed: {
512
-
513
- currentStatus() {
514
- return this.$route.query.status || 'pending';
515
- },
516
-
517
- currentPage() {
518
- let page = this.$route.query.page || 1;
519
 
520
- return parseInt(page);
521
- },
 
 
522
 
523
- actions() {
524
- if ('pending' == this.currentStatus) {
525
- return [{
526
- key: 'trash',
527
- label: this.__('Delete', 'dokan-lite')
528
- }, {
529
- key: 'cancel',
530
- label: this.__('Cancel', 'dokan-lite')
531
- }];
532
- } else if ('cancelled' == this.currentStatus) {
533
- return [{
534
- key: 'trash',
535
- label: this.__('Delete', 'dokan-lite')
536
- }, {
537
- key: 'pending',
538
- label: this.__('Pending', 'dokan-lite')
539
- }];
540
- } else {
541
- return [];
542
- }
543
- },
544
 
545
- bulkActions() {
546
- if ('pending' == this.currentStatus) {
547
- return [{
548
- key: 'approved',
549
- label: this.__('Approve', 'dokan-lite')
550
- }, {
551
- key: 'cancelled',
552
- label: this.__('Cancel', 'dokan-lite')
553
- }, {
554
- key: 'delete',
555
- label: this.__('Delete', 'dokan-lite')
556
- }, {
557
- key: 'paypal',
558
- label: this.__('Download PayPal mass payment file', 'dokan-lite')
559
- }];
560
- } else if ('cancelled' == this.currentStatus) {
561
- return [{
562
- key: 'pending',
563
- label: this.__('Pending', 'dokan-lite')
564
- }, {
565
- key: 'delete',
566
- label: this.__('Delete', 'dokan-lite')
567
- }, {
568
- key: 'paypal',
569
- label: this.__('Download PayPal mass payment file', 'dokan-lite')
570
- }];
571
- } else {
572
- return [{
573
- key: 'paypal',
574
- label: this.__('Download PayPal mass payment file', 'dokan-lite')
575
- }];
576
- }
577
  }
578
- },
579
 
580
- created() {
581
- this.fetchRequests();
582
  },
 
 
583
 
584
- methods: {
585
-
586
- updatedCounts(xhr) {
587
- this.counts.pending = parseInt(xhr.getResponseHeader('X-Status-Pending'));
588
- this.counts.approved = parseInt(xhr.getResponseHeader('X-Status-Completed'));
589
- this.counts.cancelled = parseInt(xhr.getResponseHeader('X-Status-Cancelled'));
590
- },
591
-
592
- updatePagination(xhr) {
593
- this.totalPages = parseInt(xhr.getResponseHeader('X-WP-TotalPages'));
594
- this.totalItems = parseInt(xhr.getResponseHeader('X-WP-Total'));
595
- },
596
-
597
- vendorUrl(id) {
598
- if (window.dokan.hasPro === '1') {
599
- return dokan.urls.adminRoot + 'admin.php?page=dokan#/vendors/' + id;
600
- }
601
-
602
- return dokan.urls.adminRoot + 'user-edit.php?user_id=' + id;
603
- },
604
-
605
- fetchRequests() {
606
- this.loading = true;
607
-
608
- dokan.api.get('/withdraw?per_page=' + this.perPage + '&page=' + this.currentPage + '&status=' + this.currentStatus).done((response, status, xhr) => {
609
- this.requests = response;
610
- this.loading = false;
611
-
612
- this.updatedCounts(xhr);
613
- this.updatePagination(xhr);
614
- });
615
- },
616
-
617
- goToPage(page) {
618
- this.$router.push({
619
- name: 'Withdraw',
620
- query: {
621
- status: this.currentStatus,
622
- page: page
623
- }
624
- });
625
- },
626
-
627
- updateItem(id, value) {
628
- let index = this.requests.findIndex(x => x.id == id);
629
-
630
- this.$set(this.requests, index, value);
631
- },
632
-
633
- changeStatus(status, id) {
634
- this.loading = true;
635
-
636
- dokan.api.put('/withdraw/' + id, { status: status }).done(response => {
637
- // this.requests = response;
638
- this.loading = false;
639
- // this.updateItem(id, response);
640
- this.fetchRequests();
641
- });
642
- },
643
-
644
- onActionClick(action, row) {
645
- if ('cancel' === action) {
646
- this.changeStatus('cancelled', row.id);
647
- }
648
-
649
- if ('pending' === action) {
650
- this.changeStatus('pending', row.id);
651
- }
652
-
653
- if ('trash' === action) {
654
- if (confirm(this.__('Are you sure?', 'dokan-lite'))) {
655
- this.loading = true;
656
-
657
- dokan.api.delete('/withdraw/' + row.id).done(response => {
658
- this.loading = false;
659
- this.fetchRequests();
660
- });
661
- }
662
- }
663
- },
664
-
665
- getPaymentDetails(method, data) {
666
- let details = '—';
667
-
668
- if (data[method] !== undefined) {
669
- if ('paypal' === method || 'skrill' === method) {
670
- details = data[method].email || '';
671
- } else if ('bank' === method) {
672
- if (data.bank.hasOwnProperty('ac_name')) {
673
- details = this.sprintf(this.__('Account Name: %s', 'dokan-lite'), data.bank.ac_name);
674
- }
675
-
676
- if (data.bank.hasOwnProperty('ac_number')) {
677
- details += this.sprintf(this.__(', Account Number: %s', 'dokan-lite'), data.bank.ac_number);
678
- }
679
-
680
- if (data.bank.hasOwnProperty('bank_name')) {
681
- details += this.sprintf(this.__(', Bank Name: %s', 'dokan-lite'), data.bank.bank_name);
682
- }
683
-
684
- if (data.bank.hasOwnProperty('routing_number')) {
685
- details += this.sprintf(this.__(', Routing Number: %s', 'dokan-lite'), data.bank.routing_number);
686
- }
687
- }
688
- }
689
-
690
- return details;
691
- },
692
-
693
- moment(date) {
694
- return moment(date);
695
- },
696
-
697
- onBulkAction(action, items) {
698
- if (_.contains(['delete', 'approved', 'cancelled', 'pending'], action)) {
699
-
700
- let jsonData = {};
701
- jsonData[action] = items;
702
-
703
- this.loading = true;
704
-
705
- dokan.api.put('/withdraw/batch', jsonData).done(response => {
706
- this.loading = false;
707
- this.fetchRequests();
708
- });
709
- }
710
-
711
- if ('paypal' === action) {
712
- let ids = items.join(",");
713
-
714
- $.post(ajaxurl, {
715
- 'dokan_withdraw_bulk': 'paypal',
716
- 'id': ids,
717
- 'action': 'withdraw_ajax_submission'
718
- }, function (response, status, xhr) {
719
- var filename = "";
720
- var disposition = xhr.getResponseHeader('Content-Disposition');
721
-
722
- if (disposition && disposition.indexOf('attachment') !== -1) {
723
- var filenameRegex = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/;
724
- var matches = filenameRegex.exec(disposition);
725
-
726
- if (matches != null && matches[1]) {
727
- filename = matches[1].replace(/['"]/g, '');
728
- }
729
- }
730
-
731
- var type = xhr.getResponseHeader('Content-Type');
732
-
733
- var blob = typeof File === 'function' ? new File([response], filename, { type: type }) : new Blob([response], { type: type });
734
- if (typeof window.navigator.msSaveBlob !== 'undefined') {
735
- // IE workaround for "HTML7007: One or more blob URLs were revoked by closing the blob for which they were created. These URLs will no longer resolve as the data backing the URL has been freed."
736
- window.navigator.msSaveBlob(blob, filename);
737
- } else {
738
- var URL = window.URL || window.webkitURL;
739
- var downloadUrl = URL.createObjectURL(blob);
740
-
741
- if (filename) {
742
- // use HTML5 a[download] attribute to specify filename
743
- var a = document.createElement("a");
744
- // safari doesn't support this yet
745
- if (typeof a.download === 'undefined') {
746
- window.location = downloadUrl;
747
- } else {
748
- a.href = downloadUrl;
749
- a.download = filename;
750
- document.body.appendChild(a);
751
- a.click();
752
- }
753
- } else {
754
- window.location = downloadUrl;
755
- }
756
-
757
- setTimeout(function () {
758
- URL.revokeObjectURL(downloadUrl);
759
- }, 100); // cleanup
760
- }
761
- });
762
- }
763
- },
764
-
765
- openNoteModal(note, id) {
766
- this.showModal = true;
767
- this.editing = {
768
- id: id,
769
- note: note
770
- };
771
- },
772
-
773
- updateNote() {
774
- this.showModal = false;
775
- this.loading = true;
776
-
777
- dokan.api.put('/withdraw/' + this.editing.id + '/note', {
778
- note: this.editing.note
779
- }).done(response => {
780
- this.loading = false;
781
-
782
- this.updateItem(this.editing.id, response);
783
- this.editing = {
784
- id: null,
785
- note: null
786
- };
787
- });
788
- }
789
  }
 
790
  });
791
 
792
  /***/ }),
793
- /* 15 */
794
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
795
 
796
  "use strict";
797
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_slick_carousel_slick_slick_css__ = __webpack_require__(69);
798
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_slick_carousel_slick_slick_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_slick_carousel_slick_slick_css__);
799
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_slick__ = __webpack_require__(72);
800
- //
801
- //
802
- //
803
- //
804
- //
805
- //
806
- //
807
- //
808
- //
809
- //
810
- //
811
- //
812
- //
813
- //
814
- //
815
- //
816
- //
817
- //
818
- //
819
- //
820
- //
821
- //
822
- //
823
- //
824
- //
825
- //
826
- //
827
- //
828
- //
829
- //
830
- //
831
- //
832
- //
833
- //
834
- //
835
- //
836
- //
837
- //
838
- //
839
- //
840
- //
841
- //
842
- //
843
- //
844
- //
845
- //
846
- //
847
- //
848
- //
849
- //
850
- //
851
- //
852
- //
853
- //
854
- //
855
- //
856
- //
857
- //
858
- //
859
- //
860
- //
861
- //
862
- //
863
- //
864
- //
865
- //
866
- //
867
- //
868
- //
869
- //
870
- //
871
- //
872
- //
873
- //
874
- //
875
- //
876
- //
877
- //
878
- //
879
- //
880
- //
881
- //
882
- //
883
- //
884
- //
885
- //
886
- //
887
- //
888
- //
889
- //
890
- //
891
- //
892
- //
893
- //
894
- //
895
- //
896
- //
897
- //
898
- //
899
- //
900
- //
901
- //
902
- //
903
- //
904
- //
905
- //
906
- //
907
- //
908
- //
909
- //
910
- //
911
- //
912
- //
913
- //
914
- //
915
- //
916
- //
917
- //
918
- //
919
- //
920
- //
921
- //
922
- //
923
- //
924
- //
925
  //
926
  //
927
  //
@@ -1039,1223 +1276,607 @@ let Modal = dokan_get_lib('Modal');
1039
  //
1040
 
1041
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1042
 
 
 
 
 
1043
 
 
 
 
 
1044
 
1045
- /* harmony default export */ __webpack_exports__["a"] = ({
1046
 
1047
- name: 'Premium',
1048
-
1049
- components: { Slick: __WEBPACK_IMPORTED_MODULE_1_vue_slick__["a" /* default */] },
1050
-
1051
- data() {
1052
- return {
1053
- asstesUrl: dokan.urls.assetsUrl,
1054
- services: [{
1055
- "title": this.__("Premium modules to make everything easier & better", "dokan-lite"),
1056
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-01@2x.png'
1057
- }, {
1058
- "title": this.__("Frontend dashboard for vendors with advanced controls", "dokan-lite"),
1059
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-02@2x.png'
1060
- }, {
1061
- "title": this.__("Unlimited Product Variations and group product upload", "dokan-lite"),
1062
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-03@2x.png'
1063
- }, {
1064
- "title": this.__("Zone wise shipping with multiple method for vendors", "dokan-lite"),
1065
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-04@2x.png'
1066
- }, {
1067
- "title": this.__("Store support based on ticket system for your customers", "dokan-lite"),
1068
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-05@2x.png'
1069
- }, {
1070
- "title": this.__("Vendors will be able to generate coupon codes", "dokan-lite"),
1071
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-06@2x.png'
1072
- }, {
1073
- "title": this.__("Earning, Selling and Commission Reports & Statement", "dokan-lite"),
1074
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-07@2x.png'
1075
- }, {
1076
- "title": this.__("24/7 super fast premium customer support for you", "dokan-lite"),
1077
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-08@2x.png'
1078
- }, {
1079
- "title": this.__("Add Social profile to your vendor’s store and support for store SEO", "dokan-lite"),
1080
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-09@2x.png'
1081
- }],
1082
-
1083
- comparisons: [{
1084
- "title": this.__("Frontend order management", "dokan-lite"),
1085
- "compare": {
1086
- "lite": "available",
1087
- "pro": 'available'
1088
- }
1089
- }, {
1090
- "title": this.__("Seller Statement Reports", "dokan-lite"),
1091
- "compare": {
1092
- "lite": "available",
1093
- "pro": 'available'
1094
- }
1095
- }, {
1096
- "title": this.__("Making Announcements", "dokan-lite"),
1097
- "compare": {
1098
- "lite": "available",
1099
- "pro": 'available'
1100
- }
1101
- }, {
1102
- "title": this.__("Customized Product Categories", "dokan-lite"),
1103
- "compare": {
1104
- "lite": "unavailable",
1105
- "pro": 'available'
1106
- }
1107
- }, {
1108
- "title": this.__("Store SEO", "dokan-lite"),
1109
- "compare": {
1110
- "lite": "unavailable",
1111
- "pro": 'available'
1112
- }
1113
- }, {
1114
- "title": this.__("Back Ordering System", "dokan-lite"),
1115
- "compare": {
1116
- "lite": "unavailable",
1117
- "pro": 'available'
1118
- }
1119
- }, {
1120
- "title": this.__("Store Contact Form", "dokan-lite"),
1121
- "compare": {
1122
- "lite": "unavailable",
1123
- "pro": 'available'
1124
- }
1125
- }, {
1126
- "title": this.__("Single Product Multiple Seller", "dokan-lite"),
1127
- "compare": {
1128
- "lite": "unavailable",
1129
- "pro": 'available'
1130
- }
1131
- }, {
1132
- "title": this.__("Seller Verification", "dokan-lite"),
1133
- "compare": {
1134
- "lite": "unavailable",
1135
- "pro": 'available'
1136
- }
1137
- }, {
1138
- "title": this.__("Featured Seller", "dokan-lite"),
1139
- "compare": {
1140
- "lite": "unavailable",
1141
- "pro": 'available'
1142
- }
1143
- }, {
1144
- "title": this.__("Multiple Commission Types", "dokan-lite"),
1145
- "compare": {
1146
- "lite": "unavailable",
1147
- "pro": 'available'
1148
- }
1149
- }, {
1150
- "title": this.__("Frontend Shipping Tracking", "dokan-lite"),
1151
- "compare": {
1152
- "lite": "unavailable",
1153
- "pro": 'available'
1154
- }
1155
- }, {
1156
- "title": this.__("Setup Wizard", "dokan-lite"),
1157
- "compare": {
1158
- "lite": "unavailable",
1159
- "pro": 'available'
1160
- }
1161
- }, {
1162
- "title": this.__("Google Maps", "dokan-lite"),
1163
- "compare": {
1164
- "lite": "unavailable",
1165
- "pro": 'available'
1166
- }
1167
- }, {
1168
- "title": this.__("Manage reviews", "dokan-lite"),
1169
- "compare": {
1170
- "lite": "unavailable",
1171
- "pro": 'available'
1172
- }
1173
- }, {
1174
- "title": this.__("Bookable Product", "dokan-lite"),
1175
- "compare": {
1176
- "lite": "unavailable",
1177
- "pro": 'available'
1178
- }
1179
- }],
1180
-
1181
- modules: [{
1182
- "title": "Domain",
1183
- "url": "https:\/\/wedevs.com\/dokan\/",
1184
- "starter": {
1185
- "type": "numeric",
1186
- "value": '01'
1187
- },
1188
- "professional": {
1189
- "type": "numeric",
1190
- "value": '03'
1191
- },
1192
- "business": {
1193
- "type": "numeric",
1194
- "value": '05'
1195
- },
1196
- "enterprise": {
1197
- "type": "numeric",
1198
- "value": '20'
1199
- }
1200
- }, {
1201
- "title": "Modules",
1202
- "url": "https:\/\/wedevs.com\/dokan\/modules\/",
1203
- "starter": {
1204
- "type": "numeric",
1205
- "value": '01'
1206
- },
1207
- "professional": {
1208
- "type": "numeric",
1209
- "value": '08'
1210
- },
1211
- "business": {
1212
- "type": "numeric",
1213
- "value": '14'
1214
- },
1215
- "enterprise": {
1216
- "type": "numeric",
1217
- "value": '14'
1218
- }
1219
- }, {
1220
- "title": "Color Scheme",
1221
- "url": "https:\/\/wedevs.com\/dokan\/modules\/color-scheme-customizer\/",
1222
- "starter": {
1223
- "type": "icon",
1224
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1225
- },
1226
- "professional": {
1227
- "type": "icon",
1228
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1229
- },
1230
- "business": {
1231
- "type": "icon",
1232
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1233
- },
1234
- "enterprise": {
1235
- "type": "icon",
1236
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1237
- }
1238
- }, {
1239
- "title": "Vendor Review",
1240
- "url": "https:\/\/wedevs.com\/dokan\/modules\/dokan-vendor-review\/",
1241
- "starter": {
1242
- "type": "icon",
1243
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1244
- },
1245
- "professional": {
1246
- "type": "icon",
1247
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1248
- },
1249
- "business": {
1250
- "type": "icon",
1251
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1252
- },
1253
- "enterprise": {
1254
- "type": "icon",
1255
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1256
- }
1257
- }, {
1258
- "title": "Store Support",
1259
- "url": "https:\/\/wedevs.com\/dokan\/modules\/store-support\/",
1260
- "starter": {
1261
- "type": "icon",
1262
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1263
- },
1264
- "professional": {
1265
- "type": "icon",
1266
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1267
- },
1268
- "business": {
1269
- "type": "icon",
1270
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1271
- },
1272
- "enterprise": {
1273
- "type": "icon",
1274
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1275
- }
1276
- }, {
1277
- "title": "Auction",
1278
- "url": "https:\/\/wedevs.com\/dokan\/modules\/dokan-simple-auctions\/",
1279
- "starter": {
1280
- "type": "icon",
1281
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1282
- },
1283
- "professional": {
1284
- "type": "icon",
1285
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1286
- },
1287
- "business": {
1288
- "type": "icon",
1289
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1290
- },
1291
- "enterprise": {
1292
- "type": "icon",
1293
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1294
- }
1295
- }, {
1296
- "title": "Ajax Live Search",
1297
- "url": "https:\/\/wedevs.com\/dokan\/modules\/ajax-live-search\/",
1298
- "starter": {
1299
- "type": "icon",
1300
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1301
- },
1302
- "professional": {
1303
- "type": "icon",
1304
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1305
- },
1306
- "business": {
1307
- "type": "icon",
1308
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1309
- },
1310
- "enterprise": {
1311
- "type": "icon",
1312
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1313
- }
1314
- }, {
1315
- "title": "Stripe Connect",
1316
- "url": "https:\/\/wedevs.com\/dokan\/modules\/stripe-connect\/",
1317
- "starter": {
1318
- "type": "icon",
1319
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1320
- },
1321
- "professional": {
1322
- "type": "icon",
1323
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1324
- },
1325
- "business": {
1326
- "type": "icon",
1327
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1328
- },
1329
- "enterprise": {
1330
- "type": "icon",
1331
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1332
- }
1333
- }, {
1334
- "title": "Subscriptions",
1335
- "url": "https:\/\/wedevs.com\/dokan\/modules\/subscription\/",
1336
- "starter": {
1337
- "type": "icon",
1338
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1339
- },
1340
- "professional": {
1341
- "type": "icon",
1342
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1343
- },
1344
- "business": {
1345
- "type": "icon",
1346
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1347
- },
1348
- "enterprise": {
1349
- "type": "icon",
1350
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1351
- }
1352
- }, {
1353
- "title": "Single Product Multivendor",
1354
- "url": "https:\/\/wedevs.com\/dokan\/modules\/single-product-multivendor\/",
1355
- "starter": {
1356
- "type": "icon",
1357
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1358
- },
1359
- "professional": {
1360
- "type": "icon",
1361
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1362
- },
1363
- "business": {
1364
- "type": "icon",
1365
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1366
- },
1367
- "enterprise": {
1368
- "type": "icon",
1369
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1370
- }
1371
- }, {
1372
- "title": "Seller Verification",
1373
- "url": "https:\/\/wedevs.com\/dokan\/modules\/seller-verification\/",
1374
- "starter": {
1375
- "type": "icon",
1376
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1377
- },
1378
- "professional": {
1379
- "type": "icon",
1380
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1381
- },
1382
- "business": {
1383
- "type": "icon",
1384
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1385
- },
1386
- "enterprise": {
1387
- "type": "icon",
1388
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1389
- }
1390
- }, {
1391
- "title": "WC Booking Integration",
1392
- "url": "https:\/\/wedevs.com\/dokan\/modules\/woocommerce-booking-integration\/",
1393
- "starter": {
1394
- "type": "icon",
1395
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1396
- },
1397
- "professional": {
1398
- "type": "icon",
1399
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1400
- },
1401
- "business": {
1402
- "type": "icon",
1403
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1404
- },
1405
- "enterprise": {
1406
- "type": "icon",
1407
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1408
- }
1409
- }, {
1410
- "title": "Vendor Staff Manager",
1411
- "url": "https:\/\/wedevs.com\/dokan\/modules\/vendor-staff-manager\/",
1412
- "starter": {
1413
- "type": "icon",
1414
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1415
- },
1416
- "professional": {
1417
- "type": "icon",
1418
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1419
- },
1420
- "business": {
1421
- "type": "icon",
1422
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1423
- },
1424
- "enterprise": {
1425
- "type": "icon",
1426
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1427
- }
1428
- }, {
1429
- "title": "Export Import",
1430
- "url": "https:\/\/wedevs.com\/dokan\/modules\/export-import\/",
1431
- "starter": {
1432
- "type": "icon",
1433
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1434
- },
1435
- "professional": {
1436
- "type": "icon",
1437
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1438
- },
1439
- "business": {
1440
- "type": "icon",
1441
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1442
- },
1443
- "enterprise": {
1444
- "type": "icon",
1445
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1446
- }
1447
- }, {
1448
- "title": "Product Enquiry",
1449
- "url": "https:\/\/wedevs.com\/dokan\/modules\/product-enquiry\/",
1450
- "starter": {
1451
- "type": "icon",
1452
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1453
- },
1454
- "professional": {
1455
- "type": "icon",
1456
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1457
- },
1458
- "business": {
1459
- "type": "icon",
1460
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1461
- },
1462
- "enterprise": {
1463
- "type": "icon",
1464
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1465
- }
1466
- }, {
1467
- "title": "Vendor Vacation",
1468
- "url": "https:\/\/wedevs.com\/dokan\/modules\/vendor-vacation\/",
1469
- "starter": {
1470
- "type": "icon",
1471
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1472
- },
1473
- "professional": {
1474
- "type": "icon",
1475
- "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
1476
- },
1477
- "business": {
1478
- "type": "icon",
1479
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1480
- },
1481
- "enterprise": {
1482
- "type": "icon",
1483
- "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
1484
- }
1485
- }],
1486
-
1487
- payment: {
1488
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/payment-options.png',
1489
- "guaranteeThumbnail": dokan.urls.assetsUrl + '/images/premium/gaurantee-thumb.png',
1490
- "viewIcon": dokan.urls.assetsUrl + '/images/premium/view-icon@2x.png',
1491
- "termsPolicyUrl": "https:\/\/wedevs.com\/refund-policy\/"
1492
- },
1493
-
1494
- slickOptions: {
1495
- //options can be used from the plugin documentation
1496
- slidesToShow: 1,
1497
- fade: true,
1498
- speed: 500,
1499
- cssEase: 'linear',
1500
- autoplay: true,
1501
- autoplaySpeed: 2000,
1502
- infinite: true,
1503
- accessibility: true,
1504
- adaptiveHeight: false,
1505
- arrows: false,
1506
- dots: true,
1507
- draggable: true,
1508
- edgeFriction: 0.30,
1509
- swipe: true
1510
- },
1511
-
1512
- testimonials: [{
1513
- "name": "Melissa McGovern",
1514
- "designation": "Director, Hawk And PeddleProjects",
1515
- "pic": dokan.urls.assetsUrl + '/images/premium/melissa.jpg',
1516
- "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."
1517
- }, {
1518
- "name": "Morten J. Christensen",
1519
- "designation": "Owner, Dincatering",
1520
- "pic": dokan.urls.assetsUrl + '/images/premium/Morten-J.-Christensen.jpg',
1521
- "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."
1522
- }, {
1523
- "name": "Cédric Lefrancq",
1524
- "designation": "Webmaster, Unwebmaster.Be",
1525
- "pic": dokan.urls.assetsUrl + '/images/premium/Cédric-Lefrancq.jpeg',
1526
- "content": "The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."
1527
- }, {
1528
- "name": "David Gaz",
1529
- "designation": "Founder, The Bureau Of Small Projects",
1530
- "pic": dokan.urls.assetsUrl + '/images/premium/david-gaz.jpeg',
1531
- "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."
1532
- }],
1533
-
1534
- cta: {
1535
- "styles": {
1536
- "bgPattern": dokan.urls.assetsUrl + '/images/premium/cta-pattern@2x.png'
1537
- },
1538
- "thumbnail": dokan.urls.assetsUrl + '/images/premium/cta-dokan-logo.png',
1539
- "url": dokan.urls.buynowpro
1540
- }
1541
-
1542
- };
1543
- },
1544
-
1545
- methods: {
1546
- next() {
1547
- this.$refs.slick.next();
1548
- },
1549
 
1550
- prev() {
1551
- this.$refs.slick.prev();
1552
- },
 
 
 
 
1553
 
1554
- reInit() {
1555
- // Helpful if you have to deal with v-for to update dynamic lists
1556
- this.$nextTick(() => {
1557
- this.$refs.slick.reSlick();
1558
- });
1559
  }
 
1560
  },
 
 
 
 
 
 
 
1561
 
1562
- computed: {
1563
- buyNowProUrl() {
1564
- return dokan.urls.buynowpro.substr(-1) === '/' ? dokan.urls.buynowpro + '?' : dokan.urls.buynowpro + '&';
1565
- }
1566
  }
 
1567
  });
1568
 
1569
  /***/ }),
1570
- /* 16 */,
1571
- /* 17 */,
1572
- /* 18 */
1573
- /***/ (function(module, exports) {
1574
-
1575
- module.exports = jQuery;
1576
-
1577
- /***/ }),
1578
- /* 19 */
1579
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1580
 
1581
  "use strict";
1582
- //
1583
- //
1584
- //
1585
- //
1586
- //
1587
- //
1588
- //
1589
- //
1590
- //
1591
- //
1592
- //
1593
- //
1594
- //
1595
- //
1596
- //
1597
- //
1598
- //
1599
- //
1600
- //
1601
- //
1602
-
1603
- let Postbox = dokan_get_lib('Postbox');
1604
- let Loading = dokan_get_lib('Loading');
1605
-
1606
- /* harmony default export */ __webpack_exports__["a"] = ({
1607
 
1608
- name: 'Help',
1609
 
1610
- components: {
1611
- Postbox,
1612
- Loading
1613
- },
1614
 
1615
- data() {
1616
- return {
1617
- docs: null
1618
- };
1619
- },
 
 
 
 
 
 
 
 
 
 
 
 
1620
 
1621
- created() {
1622
- this.fetch();
1623
- },
 
 
 
 
 
 
 
 
 
 
 
 
1624
 
1625
- methods: {
1626
 
1627
- fetch() {
1628
- dokan.api.get('/admin/help').done(response => {
1629
- this.docs = response;
1630
- });
1631
- }
1632
- }
1633
- });
1634
 
1635
  /***/ }),
1636
- /* 20 */
1637
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1638
 
1639
  "use strict";
1640
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_admin_components_Fields_vue__ = __webpack_require__(81);
1641
- //
1642
- //
1643
- //
1644
- //
1645
- //
1646
- //
1647
- //
1648
- //
1649
- //
1650
- //
1651
- //
1652
- //
1653
- //
1654
- //
1655
- //
1656
- //
1657
- //
1658
- //
1659
- //
1660
- //
1661
- //
1662
- //
1663
- //
1664
- //
1665
- //
1666
- //
1667
- //
1668
- //
1669
- //
1670
- //
1671
- //
1672
- //
1673
- //
1674
- //
1675
- //
1676
- //
1677
- //
1678
- //
1679
- //
1680
- //
1681
- //
1682
- //
1683
- //
1684
- //
1685
- //
1686
- //
1687
- //
1688
- //
1689
- //
1690
- //
1691
- //
1692
 
1693
- let Loading = dokan_get_lib('Loading');
1694
 
 
1695
 
1696
- /* harmony default export */ __webpack_exports__["a"] = ({
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1697
 
1698
- name: 'Settings',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1699
 
1700
- components: {
1701
- Fields: __WEBPACK_IMPORTED_MODULE_0_admin_components_Fields_vue__["a" /* default */],
1702
- Loading
1703
- },
1704
 
1705
- data() {
1706
- return {
1707
- isSaved: false,
1708
- showLoading: false,
1709
- isUpdated: false,
1710
- isLoaded: false,
1711
- message: '',
1712
- currentTab: null,
1713
- settingSections: [],
1714
- settingFields: {},
1715
- settingValues: {}
1716
- };
1717
- },
1718
 
1719
- methods: {
1720
- changeTab(section) {
1721
- var activetab = '';
1722
- this.currentTab = section.id;
 
 
1723
 
1724
- if (typeof localStorage != 'undefined') {
1725
- localStorage.setItem("activetab", this.currentTab);
1726
- }
1727
- },
 
 
1728
 
1729
- showSectionTitle(index) {
1730
- return _.findWhere(this.settingSections, { id: index }).title;
1731
- },
1732
 
1733
- fetchSettingValues() {
1734
- var self = this,
1735
- data = {
1736
- action: 'dokan_get_setting_values',
1737
- nonce: dokan.nonce
1738
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1739
 
1740
- self.showLoading = true;
1741
 
1742
- jQuery.post(dokan.ajaxurl, data, function (resp) {
1743
- if (resp.success) {
1744
 
1745
- Object.keys(self.settingFields).forEach(function (section, index) {
1746
- Object.keys(self.settingFields[section]).forEach(function (field, i) {
 
 
1747
 
1748
- if (!self.settingValues[section]) {
1749
- self.settingValues[section] = {};
1750
- }
 
 
 
 
 
 
 
 
1751
 
1752
- if (typeof resp.data[section][field] === 'undefined') {
1753
- if (typeof self.settingFields[section][field].default === 'undefined') {
1754
- self.settingValues[section][field] = '';
1755
- } else {
1756
- self.settingValues[section][field] = self.settingFields[section][field].default;
1757
- }
1758
- } else {
1759
- self.settingValues[section][field] = resp.data[section][field];
1760
- }
1761
- });
1762
- });
1763
 
1764
- self.settingValues = jQuery.extend({}, self.settingValues);
1765
 
1766
- self.showLoading = false;
1767
- self.isLoaded = true;
1768
- }
1769
- });
1770
- },
 
 
 
 
 
 
 
 
 
 
 
 
1771
 
1772
- showMedia(data, $event) {
1773
- var self = this;
 
 
 
 
 
 
 
 
 
 
 
 
 
1774
 
1775
- var file_frame = wp.media.frames.file_frame = wp.media({
1776
- title: this.__('Choose your file', 'dokan-lite'),
1777
- button: {
1778
- text: this.__('Select', 'dokan-lite')
1779
- },
1780
- multiple: false
1781
- });
1782
 
1783
- file_frame.on('select', function () {
1784
- var attachment = file_frame.state().get('selection').first().toJSON();
1785
- self.settingValues[data.sectionId][data.name] = attachment.url;
1786
- });
1787
 
1788
- file_frame.open();
1789
- },
 
1790
 
1791
- saveSettings(fieldData, section) {
1792
- var self = this,
1793
- data = {
1794
- action: 'dokan_save_settings',
1795
- nonce: dokan.nonce,
1796
- settingsData: fieldData,
1797
- section: section
1798
- };
1799
- self.showLoading = true;
1800
- jQuery.post(dokan.ajaxurl, data, function (resp) {
1801
- if (resp.success) {
1802
- self.isSaved = true;
1803
- self.isUpdated = true;
1804
- self.message = resp.data;
1805
- } else {
1806
- self.isSaved = true;
1807
- self.isUpdated = false;
1808
- self.message = resp.data;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1809
  }
1810
- self.showLoading = false;
1811
- });
1812
- }
1813
- },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1814
 
1815
- created() {
1816
- this.fetchSettingValues();
 
1817
 
1818
- this.currentTab = 'dokan_general';
1819
- if (typeof localStorage != 'undefined') {
1820
- this.currentTab = localStorage.getItem("activetab") ? localStorage.getItem("activetab") : 'dokan_general';
1821
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1822
 
1823
- this.settingSections = dokan.settings_sections;
1824
- this.settingFields = dokan.settings_fields;
1825
- }
1826
- });
1827
 
1828
  /***/ }),
1829
- /* 21 */
 
 
 
 
 
 
1830
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1831
 
1832
  "use strict";
1833
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_admin_components_ColorPicker_vue__ = __webpack_require__(82);
1834
- //
1835
- //
1836
- //
1837
- //
1838
- //
1839
- //
1840
- //
1841
- //
1842
- //
1843
- //
1844
- //
1845
- //
1846
- //
1847
- //
1848
- //
1849
- //
1850
- //
1851
- //
1852
- //
1853
- //
1854
- //
1855
- //
1856
- //
1857
- //
1858
- //
1859
- //
1860
- //
1861
- //
1862
- //
1863
- //
1864
- //
1865
- //
1866
- //
1867
- //
1868
- //
1869
- //
1870
- //
1871
- //
1872
- //
1873
- //
1874
- //
1875
- //
1876
- //
1877
- //
1878
- //
1879
- //
1880
- //
1881
- //
1882
- //
1883
- //
1884
- //
1885
- //
1886
- //
1887
- //
1888
- //
1889
- //
1890
- //
1891
- //
1892
- //
1893
- //
1894
- //
1895
- //
1896
- //
1897
- //
1898
- //
1899
- //
1900
- //
1901
- //
1902
- //
1903
- //
1904
- //
1905
- //
1906
- //
1907
- //
1908
- //
1909
- //
1910
- //
1911
- //
1912
- //
1913
- //
1914
- //
1915
- //
1916
- //
1917
- //
1918
- //
1919
- //
1920
- //
1921
- //
1922
- //
1923
- //
1924
- //
1925
- //
1926
- //
1927
- //
1928
- //
1929
- //
1930
- //
1931
- //
1932
- //
1933
- //
1934
- //
1935
- //
1936
- //
1937
- //
1938
- //
1939
- //
1940
- //
1941
- //
1942
- //
1943
- //
1944
- //
1945
- //
1946
- //
1947
- //
1948
- //
1949
- //
1950
- //
1951
- //
1952
- //
1953
- //
1954
- //
1955
- //
1956
- //
1957
- //
1958
- //
1959
- //
1960
- //
1961
- //
1962
- //
1963
- //
1964
-
1965
-
1966
-
1967
- /* harmony default export */ __webpack_exports__["a"] = ({
1968
- name: 'Fields',
1969
-
1970
- components: {
1971
- colorPicker: __WEBPACK_IMPORTED_MODULE_0_admin_components_ColorPicker_vue__["a" /* default */]
1972
- },
1973
-
1974
- props: ['id', 'fieldData', 'sectionId', 'fieldValue'],
1975
 
1976
- methods: {
1977
- containCommonFields(type) {
1978
- return _.contains([undefined, 'text', 'email', 'url', 'phone'], type);
1979
- }
1980
- }
1981
 
1982
- });
1983
 
1984
  /***/ }),
1985
- /* 22 */
1986
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1987
 
1988
  "use strict";
1989
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_color_src_components_Sketch_vue__ = __webpack_require__(84);
1990
- //
1991
- //
1992
- //
1993
- //
1994
- //
1995
- //
1996
- //
1997
- //
1998
- //
1999
- //
2000
- //
2001
- //
2002
- //
2003
- //
2004
- //
2005
- //
2006
- //
2007
- //
2008
- //
2009
- //
2010
- //
2011
- //
2012
- //
2013
- //
2014
- //
2015
- //
2016
- //
2017
- //
2018
- //
2019
- //
2020
- //
2021
- //
2022
- //
2023
- //
2024
- //
2025
- //
2026
- //
2027
- //
2028
- //
2029
- //
2030
- //
2031
- //
2032
- //
2033
- //
2034
-
2035
-
2036
-
2037
- /* harmony default export */ __webpack_exports__["a"] = ({
2038
- components: {
2039
- Sketch: __WEBPACK_IMPORTED_MODULE_0_vue_color_src_components_Sketch_vue__["a" /* default */]
2040
- },
2041
 
2042
- props: {
2043
- value: {
2044
- type: String,
2045
- required: true,
2046
- default: ''
2047
- },
2048
 
2049
- format: {
2050
- type: String,
2051
- required: false,
2052
- default: 'hex',
2053
- validator(type) {
2054
- return ['hsl', 'hex', 'rgba', 'hsv'].indexOf(type) !== -1;
 
 
 
 
 
 
 
 
 
 
2055
  }
2056
- },
2057
-
2058
- presetColors: {
2059
- type: Array,
2060
- required: false,
2061
- default() {
2062
- return ['#000', '#fff', '#d33', '#d93', '#ee2', '#81d742', '#1e73be', '#8224e3'];
 
 
 
 
 
 
 
 
2063
  }
2064
- },
2065
-
2066
- disableAlpha: {
2067
- type: Boolean,
2068
- required: false,
2069
- default: true
2070
- },
2071
-
2072
- disableFields: {
2073
- type: Boolean,
2074
- required: false,
2075
- default: true
2076
- }
2077
- },
2078
-
2079
- data() {
2080
- return {
2081
- showColorPicker: false
2082
- };
2083
- },
2084
-
2085
- methods: {
2086
- updateColor(colors) {
2087
- let color = '';
2088
-
2089
- if (colors[this.format]) {
2090
- color = colors[this.format];
2091
  }
2092
-
2093
- this.$emit('input', color);
2094
- },
2095
-
2096
- toggleColorPicker() {
2097
- this.showColorPicker = !this.showColorPicker;
2098
- },
2099
-
2100
- setHexColor(color) {
2101
- this.updateColor({
2102
- hex: color
2103
- });
2104
- }
2105
- }
2106
- });
2107
-
2108
- /***/ }),
2109
- /* 23 */,
2110
- /* 24 */,
2111
- /* 25 */,
2112
- /* 26 */,
2113
- /* 27 */,
2114
- /* 28 */,
2115
- /* 29 */,
2116
- /* 30 */,
2117
- /* 31 */,
2118
- /* 32 */,
2119
- /* 33 */,
2120
- /* 34 */,
2121
- /* 35 */,
2122
- /* 36 */,
2123
- /* 37 */,
2124
- /* 38 */,
2125
- /* 39 */,
2126
- /* 40 */,
2127
- /* 41 */,
2128
- /* 42 */,
2129
- /* 43 */,
2130
- /* 44 */,
2131
- /* 45 */,
2132
- /* 46 */,
2133
- /* 47 */,
2134
- /* 48 */,
2135
- /* 49 */,
2136
- /* 50 */,
2137
- /* 51 */,
2138
- /* 52 */,
2139
- /* 53 */
2140
- /***/ (function(module, exports, __webpack_require__) {
2141
-
2142
- "use strict";
2143
-
2144
-
2145
- var _App = __webpack_require__(54);
2146
-
2147
- var _App2 = _interopRequireDefault(_App);
2148
-
2149
- var _router = __webpack_require__(57);
2150
-
2151
- var _router2 = _interopRequireDefault(_router);
2152
-
2153
- var _adminMenuFix = __webpack_require__(107);
2154
-
2155
- var _adminMenuFix2 = _interopRequireDefault(_adminMenuFix);
2156
-
2157
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2158
-
2159
- /* eslint-disable no-new */
2160
- var Vue = dokan_get_lib('Vue');
2161
-
2162
- new Vue({
2163
- el: '#dokan-vue-admin',
2164
- router: _router2.default,
2165
- render: function render(h) {
2166
- return h(_App2.default);
2167
- },
2168
-
2169
- created: function created() {
2170
- this.setLocaleData(dokan.i18n['dokan-lite']);
2171
- }
2172
- });
2173
-
2174
- // fix the admin menu for the slug "vue-app"
2175
- (0, _adminMenuFix2.default)('dokan');
2176
-
2177
- /***/ }),
2178
- /* 54 */
2179
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2180
-
2181
- "use strict";
2182
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
2183
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_App_vue__ = __webpack_require__(12);
2184
- /* empty harmony namespace reexport */
2185
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3a030f38_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_App_vue__ = __webpack_require__(56);
2186
- var disposed = false
2187
- function injectStyle (ssrContext) {
2188
- if (disposed) return
2189
- __webpack_require__(55)
2190
- }
2191
- var normalizeComponent = __webpack_require__(0)
2192
- /* script */
2193
-
2194
-
2195
- /* template */
2196
-
2197
- /* template functional */
2198
- var __vue_template_functional__ = false
2199
- /* styles */
2200
- var __vue_styles__ = injectStyle
2201
- /* scopeId */
2202
- var __vue_scopeId__ = null
2203
- /* moduleIdentifier (server only) */
2204
- var __vue_module_identifier__ = null
2205
- var Component = normalizeComponent(
2206
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_App_vue__["a" /* default */],
2207
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3a030f38_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_App_vue__["a" /* default */],
2208
- __vue_template_functional__,
2209
- __vue_styles__,
2210
- __vue_scopeId__,
2211
- __vue_module_identifier__
2212
- )
2213
- Component.options.__file = "src/admin/App.vue"
2214
-
2215
- /* hot reload */
2216
- if (false) {(function () {
2217
- var hotAPI = require("vue-hot-reload-api")
2218
- hotAPI.install(require("vue"), false)
2219
- if (!hotAPI.compatible) return
2220
- module.hot.accept()
2221
- if (!module.hot.data) {
2222
- hotAPI.createRecord("data-v-3a030f38", Component.options)
2223
- } else {
2224
- hotAPI.reload("data-v-3a030f38", Component.options)
2225
- }
2226
- module.hot.dispose(function (data) {
2227
- disposed = true
2228
- })
2229
- })()}
2230
-
2231
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
2232
-
2233
-
2234
- /***/ }),
2235
- /* 55 */
2236
- /***/ (function(module, exports) {
2237
-
2238
- // removed by extract-text-webpack-plugin
2239
-
2240
- /***/ }),
2241
- /* 56 */
2242
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2243
-
2244
- "use strict";
2245
- var render = function() {
2246
- var _vm = this
2247
- var _h = _vm.$createElement
2248
- var _c = _vm._self._c || _h
2249
- return _c(
2250
- "div",
2251
- { attrs: { id: "vue-backend-app" } },
2252
- [
2253
- _c("router-view"),
2254
- _vm._v(" "),
2255
- _c("notifications", { attrs: { position: "bottom right" } })
2256
- ],
2257
- 1
2258
- )
2259
  }
2260
  var staticRenderFns = []
2261
  render._withStripped = true
@@ -2264,157 +1885,12 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
2264
  if (false) {
2265
  module.hot.accept()
2266
  if (module.hot.data) {
2267
- require("vue-hot-reload-api") .rerender("data-v-3a030f38", esExports)
2268
  }
2269
  }
2270
 
2271
  /***/ }),
2272
- /* 57 */
2273
- /***/ (function(module, exports, __webpack_require__) {
2274
-
2275
- "use strict";
2276
-
2277
-
2278
- Object.defineProperty(exports, "__esModule", {
2279
- value: true
2280
- });
2281
-
2282
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
2283
-
2284
- var _Dashboard = __webpack_require__(58);
2285
-
2286
- var _Dashboard2 = _interopRequireDefault(_Dashboard);
2287
-
2288
- var _Withdraw = __webpack_require__(64);
2289
-
2290
- var _Withdraw2 = _interopRequireDefault(_Withdraw);
2291
-
2292
- var _Premium = __webpack_require__(67);
2293
-
2294
- var _Premium2 = _interopRequireDefault(_Premium);
2295
-
2296
- var _Help = __webpack_require__(76);
2297
-
2298
- var _Help2 = _interopRequireDefault(_Help);
2299
-
2300
- var _Settings = __webpack_require__(79);
2301
-
2302
- var _Settings2 = _interopRequireDefault(_Settings);
2303
-
2304
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2305
-
2306
- var Vue = dokan_get_lib('Vue');
2307
- var Router = dokan_get_lib('Router');
2308
-
2309
- Vue.use(Router);
2310
-
2311
- dokan_add_route(_Dashboard2.default);
2312
- dokan_add_route(_Withdraw2.default);
2313
- dokan_add_route(_Premium2.default);
2314
- dokan_add_route(_Help2.default);
2315
- dokan_add_route(_Settings2.default);
2316
-
2317
- /**
2318
- * Parse the route array and bind required components
2319
- *
2320
- * This changes the dokan.routes array and changes the components
2321
- * so we can use dokan.routeComponents.{compontent} component.
2322
- *
2323
- * @param {array} routes
2324
- *
2325
- * @return {void}
2326
- */
2327
- function parseRouteComponent(routes) {
2328
-
2329
- for (var i = 0; i < routes.length; i++) {
2330
- if (_typeof(routes[i].children) === 'object') {
2331
-
2332
- parseRouteComponent(routes[i].children);
2333
-
2334
- if (typeof routes[i].component !== 'undefined') {
2335
- routes[i].component = dokan.routeComponents[routes[i].component];
2336
- }
2337
- } else {
2338
- routes[i].component = dokan.routeComponents[routes[i].component];
2339
- }
2340
- }
2341
- }
2342
-
2343
- // mutate the localized array
2344
- parseRouteComponent(dokan.routes);
2345
-
2346
- exports.default = new Router({
2347
- routes: dokan.routes
2348
- });
2349
-
2350
- /***/ }),
2351
- /* 58 */
2352
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2353
-
2354
- "use strict";
2355
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
2356
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Dashboard_vue__ = __webpack_require__(13);
2357
- /* empty harmony namespace reexport */
2358
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_219ffca0_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Dashboard_vue__ = __webpack_require__(63);
2359
- var disposed = false
2360
- function injectStyle (ssrContext) {
2361
- if (disposed) return
2362
- __webpack_require__(59)
2363
- }
2364
- var normalizeComponent = __webpack_require__(0)
2365
- /* script */
2366
-
2367
-
2368
- /* template */
2369
-
2370
- /* template functional */
2371
- var __vue_template_functional__ = false
2372
- /* styles */
2373
- var __vue_styles__ = injectStyle
2374
- /* scopeId */
2375
- var __vue_scopeId__ = null
2376
- /* moduleIdentifier (server only) */
2377
- var __vue_module_identifier__ = null
2378
- var Component = normalizeComponent(
2379
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Dashboard_vue__["a" /* default */],
2380
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_219ffca0_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Dashboard_vue__["a" /* default */],
2381
- __vue_template_functional__,
2382
- __vue_styles__,
2383
- __vue_scopeId__,
2384
- __vue_module_identifier__
2385
- )
2386
- Component.options.__file = "src/admin/pages/Dashboard.vue"
2387
-
2388
- /* hot reload */
2389
- if (false) {(function () {
2390
- var hotAPI = require("vue-hot-reload-api")
2391
- hotAPI.install(require("vue"), false)
2392
- if (!hotAPI.compatible) return
2393
- module.hot.accept()
2394
- if (!module.hot.data) {
2395
- hotAPI.createRecord("data-v-219ffca0", Component.options)
2396
- } else {
2397
- hotAPI.reload("data-v-219ffca0", Component.options)
2398
- }
2399
- module.hot.dispose(function (data) {
2400
- disposed = true
2401
- })
2402
- })()}
2403
-
2404
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
2405
-
2406
-
2407
- /***/ }),
2408
- /* 59 */
2409
- /***/ (function(module, exports) {
2410
-
2411
- // removed by extract-text-webpack-plugin
2412
-
2413
- /***/ }),
2414
- /* 60 */,
2415
- /* 61 */,
2416
- /* 62 */,
2417
- /* 63 */
2418
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2419
 
2420
  "use strict";
@@ -2422,393 +1898,6275 @@ var render = function() {
2422
  var _vm = this
2423
  var _h = _vm.$createElement
2424
  var _c = _vm._self._c || _h
2425
- return _c("div", { staticClass: "dokan-dashboard" }, [
2426
- _c("h1", [_vm._v(_vm._s(_vm.__("Dashboard", "dokan-lite")))]),
 
 
 
 
2427
  _vm._v(" "),
2428
- _c("div", { staticClass: "widgets-wrapper" }, [
2429
- _c(
2430
- "div",
2431
- { staticClass: "left-side" },
2432
- [
2433
- _c(
2434
- "postbox",
2435
- {
2436
- attrs: {
2437
- title: _vm.__("At a Glance", "dokan-lite"),
2438
- extraClass: "dokan-status"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2439
  }
2440
- },
2441
- [
2442
- _vm.overview !== null
2443
- ? _c("div", { staticClass: "dokan-status" }, [
2444
- _c("ul", [
2445
- _c("li", { staticClass: "sale" }, [
2446
- _c("div", {
2447
- staticClass: "dashicons dashicons-chart-bar"
2448
- }),
2449
- _vm._v(" "),
2450
- _c("a", { attrs: { href: "#" } }, [
2451
- _c("strong", [
2452
- _vm._v(
2453
- _vm._s(
2454
- _vm._f("currency")(
2455
- _vm.overview.orders.this_month
2456
- )
2457
- )
2458
- )
2459
- ]),
2460
- _vm._v(" "),
2461
- _c("div", { staticClass: "details" }, [
2462
- _vm._v(
2463
- "\n " +
2464
- _vm._s(
2465
- _vm.__("net sales this month", "dokan-lite")
2466
- ) +
2467
- " "
2468
- ),
2469
- _c("span", { class: _vm.overview.orders.class }, [
2470
- _vm._v(_vm._s(_vm.overview.orders.parcent))
2471
- ])
2472
- ])
2473
- ])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2474
  ]),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2475
  _vm._v(" "),
2476
- _c("li", { staticClass: "commission" }, [
2477
- _c("div", {
2478
- staticClass: "dashicons dashicons-chart-pie"
2479
- }),
2480
- _vm._v(" "),
2481
- _c("a", { attrs: { href: "#" } }, [
2482
- _c("strong", [
2483
- _vm._v(
2484
- _vm._s(
2485
- _vm._f("currency")(
2486
- _vm.overview.earning.this_month
2487
- )
2488
- )
2489
  )
2490
- ]),
2491
- _vm._v(" "),
2492
- _c("div", { staticClass: "details" }, [
2493
- _vm._v(
2494
- "\n " +
2495
- _vm._s(
2496
- _vm.__("commission earned", "dokan-lite")
2497
- ) +
2498
- " "
2499
- ),
2500
- _c("span", { class: _vm.overview.earning.class }, [
2501
- _vm._v(_vm._s(_vm.overview.earning.parcent))
2502
- ])
2503
- ])
2504
- ])
2505
- ]),
2506
- _vm._v(" "),
2507
- _c("li", { staticClass: "vendor" }, [
2508
- _c("div", { staticClass: "dashicons dashicons-id" }),
2509
- _vm._v(" "),
2510
- _c("a", { attrs: { href: "#" } }, [
2511
- _c("strong", [
2512
- _vm._v(
2513
- _vm._s(
2514
- _vm.sprintf(
2515
- _vm.__("%s Vendor", "dokan-lite"),
2516
- _vm.overview.vendors.this_month
2517
- )
2518
- )
2519
- )
2520
- ]),
2521
- _vm._v(" "),
2522
- _c("div", { staticClass: "details" }, [
2523
- _vm._v(
2524
- "\n " +
2525
- _vm._s(
2526
- _vm.__("signup this month", "dokan-lite")
2527
- ) +
2528
- " "
2529
- ),
2530
- _c("span", { class: _vm.overview.vendors.class }, [
2531
- _vm._v(_vm._s(_vm.overview.vendors.parcent))
2532
- ])
2533
- ])
2534
- ])
2535
- ]),
2536
- _vm._v(" "),
2537
- _c("li", { staticClass: "approval" }, [
2538
- _c("div", {
2539
- staticClass: "dashicons dashicons-businessman"
2540
- }),
2541
- _vm._v(" "),
2542
- _c("a", { attrs: { href: "#" } }, [
2543
- _c("strong", [
2544
- _vm._v(
2545
- _vm._s(
2546
- _vm.sprintf(
2547
- _vm.__("%s Vendor", "dokan-lite"),
2548
- _vm.overview.vendors.inactive
2549
- )
2550
- )
2551
- )
2552
- ]),
2553
- _vm._v(" "),
2554
- _c("div", { staticClass: "details" }, [
2555
- _vm._v(
2556
- _vm._s(_vm.__("awaiting approval", "dokan-lite"))
2557
- )
2558
- ])
2559
- ])
2560
- ]),
2561
- _vm._v(" "),
2562
- _c("li", { staticClass: "product" }, [
2563
- _c("div", { staticClass: "dashicons dashicons-cart" }),
2564
- _vm._v(" "),
2565
- _c("a", { attrs: { href: "#" } }, [
2566
- _c("strong", [
2567
- _vm._v(
2568
- _vm._s(
2569
- _vm.sprintf(
2570
- _vm.__("%s Products", "dokan-lite"),
2571
- _vm.overview.products.this_month
2572
- )
2573
- )
2574
- )
2575
- ]),
2576
- _vm._v(" "),
2577
- _c("div", { staticClass: "details" }, [
2578
- _vm._v(
2579
- "\n " +
2580
- _vm._s(
2581
- _vm.__("created this month", "dokan-lite")
2582
- ) +
2583
- " "
2584
- ),
2585
- _c("span", { class: _vm.overview.products.class }, [
2586
- _vm._v(_vm._s(_vm.overview.products.parcent))
2587
- ])
2588
- ])
2589
- ])
2590
- ]),
2591
- _vm._v(" "),
2592
- _c("li", { staticClass: "withdraw" }, [
2593
- _c("div", { staticClass: "dashicons dashicons-money" }),
2594
- _vm._v(" "),
2595
- _c("a", { attrs: { href: "#" } }, [
2596
- _c("strong", [
2597
- _vm._v(
2598
- _vm._s(
2599
- _vm.sprintf(
2600
- _vm.__("%s Withdrawals", "dokan-lite"),
2601
- _vm.overview.withdraw.pending
2602
- )
2603
- )
2604
- )
2605
- ]),
2606
- _vm._v(" "),
2607
- _c("div", { staticClass: "details" }, [
2608
- _vm._v(
2609
- _vm._s(_vm.__("awaiting approval", "dokan-lite"))
2610
- )
2611
- ])
2612
- ])
2613
  ])
2614
- ])
2615
- ])
2616
- : _c("div", { staticClass: "loading" }, [_c("loading")], 1)
2617
- ]
2618
- ),
2619
- _vm._v(" "),
2620
- _c(
2621
- "postbox",
2622
- { attrs: { title: _vm.__("Dokan News Updates", "dokan-lite") } },
2623
- [
2624
- _vm.feed !== null
2625
- ? _c("div", { staticClass: "rss-widget" }, [
2626
- _c(
2627
- "ul",
2628
- _vm._l(_vm.feed, function(news) {
2629
- return _c("li", [
2630
- _c(
2631
- "a",
2632
  {
2633
- attrs: {
2634
- href:
2635
- news.link +
2636
- "?utm_source=wp-admin&utm_campaign=dokan-news",
2637
- target: "_blank"
 
 
 
 
 
 
 
 
2638
  }
2639
- },
2640
- [_vm._v(_vm._s(news.title))]
2641
- )
2642
- ])
2643
- })
2644
- ),
2645
- _vm._v(" "),
2646
- _c(
2647
- "div",
2648
- { staticClass: "subscribe-box" },
2649
- [
2650
- !_vm.subscribe.success
2651
- ? [
2652
- _vm.subscribe.loading
2653
- ? _c(
2654
- "div",
2655
- { staticClass: "loading" },
2656
- [_c("loading")],
2657
- 1
2658
- )
2659
- : _vm._e(),
2660
- _vm._v(" "),
2661
- _c("h3", [
2662
- _vm._v(
2663
- _vm._s(
2664
- _vm.__("Stay up-to-date", "dokan-lite")
2665
- )
2666
- )
2667
- ]),
2668
- _vm._v(" "),
2669
- _c("p", [
2670
- _vm._v(
2671
- "\n " +
2672
- _vm._s(
2673
- _vm.__(
2674
- "We're constantly developing new features, stay up-to-date by subscribing to our newsletter.",
2675
- "dokan-lite"
2676
- )
2677
- ) +
2678
- "\n "
2679
- )
2680
- ]),
2681
- _vm._v(" "),
2682
- _c("div", { staticClass: "form-wrap" }, [
2683
- _c("input", {
2684
- directives: [
2685
- {
2686
- name: "model",
2687
- rawName: "v-model",
2688
- value: _vm.subscribe.email,
2689
- expression: "subscribe.email"
2690
- }
2691
- ],
2692
- attrs: {
2693
- type: "email",
2694
- required: "",
2695
- placeholder: "Your Email Address"
2696
- },
2697
- domProps: { value: _vm.subscribe.email },
2698
- on: {
2699
- keyup: function($event) {
2700
- if (
2701
- !("button" in $event) &&
2702
- _vm._k(
2703
- $event.keyCode,
2704
- "enter",
2705
- 13,
2706
- $event.key
2707
- )
2708
- ) {
2709
- return null
2710
- }
2711
- _vm.emailSubscribe()
2712
- },
2713
- input: function($event) {
2714
- if ($event.target.composing) {
2715
- return
2716
- }
2717
- _vm.$set(
2718
- _vm.subscribe,
2719
- "email",
2720
- $event.target.value
2721
- )
2722
- }
2723
- }
2724
- }),
2725
- _vm._v(" "),
2726
- _c(
2727
- "button",
2728
- {
2729
- staticClass: "button",
2730
- on: {
2731
- click: function($event) {
2732
- _vm.emailSubscribe()
2733
- }
2734
- }
2735
- },
2736
- [
2737
- _vm._v(
2738
- _vm._s(_vm.__("Subscribe", "dokan-lite"))
2739
- )
2740
- ]
2741
- )
2742
- ])
2743
- ]
2744
- : _c("div", { staticClass: "thank-you" }, [
2745
- _vm._v(
2746
- _vm._s(
2747
- _vm.__(
2748
- "Thank you for subscribing!",
2749
- "dokan-lite"
2750
- )
2751
- )
2752
  )
2753
- ])
2754
- ],
2755
- 2
2756
- )
2757
- ])
2758
- : _c("div", { staticClass: "loading" }, [_c("loading")], 1)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2759
  ]
2760
  )
2761
- ],
2762
- 1
2763
- ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2764
  _vm._v(" "),
2765
  _c(
2766
  "div",
2767
- { staticClass: "right-side" },
2768
  [
2769
  _c(
2770
- "postbox",
2771
- {
2772
- staticClass: "overview-chart",
2773
- attrs: { title: _vm.__("Overview", "dokan-lite") }
2774
- },
2775
- [
2776
- _vm.report !== null
2777
- ? _c("chart", { attrs: { data: _vm.report } })
2778
- : _c("div", { staticClass: "loading" }, [_c("loading")], 1)
2779
- ],
2780
- 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2781
  )
2782
  ],
2783
  1
2784
- )
2785
- ])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2786
  ])
2787
  }
2788
- var staticRenderFns = []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2789
  render._withStripped = true
2790
  var esExports = { render: render, staticRenderFns: staticRenderFns }
2791
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
2792
  if (false) {
2793
  module.hot.accept()
2794
  if (module.hot.data) {
2795
- require("vue-hot-reload-api") .rerender("data-v-219ffca0", esExports)
2796
  }
2797
  }
2798
 
2799
  /***/ }),
2800
- /* 64 */
2801
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2802
 
2803
  "use strict";
2804
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
2805
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Withdraw_vue__ = __webpack_require__(14);
2806
- /* empty harmony namespace reexport */
2807
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_62373ea4_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Withdraw_vue__ = __webpack_require__(66);
2808
  var disposed = false
2809
  function injectStyle (ssrContext) {
2810
  if (disposed) return
2811
- __webpack_require__(65)
2812
  }
2813
  var normalizeComponent = __webpack_require__(0)
2814
  /* script */
@@ -2825,14 +8183,14 @@ var __vue_scopeId__ = null
2825
  /* moduleIdentifier (server only) */
2826
  var __vue_module_identifier__ = null
2827
  var Component = normalizeComponent(
2828
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Withdraw_vue__["a" /* default */],
2829
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_62373ea4_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Withdraw_vue__["a" /* default */],
2830
  __vue_template_functional__,
2831
  __vue_styles__,
2832
  __vue_scopeId__,
2833
  __vue_module_identifier__
2834
  )
2835
- Component.options.__file = "src/admin/pages/Withdraw.vue"
2836
 
2837
  /* hot reload */
2838
  if (false) {(function () {
@@ -2841,400 +8199,74 @@ if (false) {(function () {
2841
  if (!hotAPI.compatible) return
2842
  module.hot.accept()
2843
  if (!module.hot.data) {
2844
- hotAPI.createRecord("data-v-62373ea4", Component.options)
2845
  } else {
2846
- hotAPI.reload("data-v-62373ea4", Component.options)
2847
  }
2848
  module.hot.dispose(function (data) {
2849
  disposed = true
2850
  })
2851
  })()}
2852
 
2853
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
2854
-
2855
-
2856
- /***/ }),
2857
- /* 65 */
2858
- /***/ (function(module, exports) {
2859
-
2860
- // removed by extract-text-webpack-plugin
2861
-
2862
- /***/ }),
2863
- /* 66 */
2864
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2865
-
2866
- "use strict";
2867
- var render = function() {
2868
- var _vm = this
2869
- var _h = _vm.$createElement
2870
- var _c = _vm._self._c || _h
2871
- return _c(
2872
- "div",
2873
- { staticClass: "withdraw-requests" },
2874
- [
2875
- _c("h1", [_vm._v(_vm._s(_vm.__("Withdraw Requests", "dokan-lite")))]),
2876
- _vm._v(" "),
2877
- _vm.showModal
2878
- ? _c(
2879
- "modal",
2880
- {
2881
- attrs: { title: _vm.__("Update Note", "dokan-lite") },
2882
- on: {
2883
- close: function($event) {
2884
- _vm.showModal = false
2885
- }
2886
- }
2887
- },
2888
- [
2889
- _c("template", { slot: "body" }, [
2890
- _c("textarea", {
2891
- directives: [
2892
- {
2893
- name: "model",
2894
- rawName: "v-model",
2895
- value: _vm.editing.note,
2896
- expression: "editing.note"
2897
- }
2898
- ],
2899
- attrs: { rows: "3" },
2900
- domProps: { value: _vm.editing.note },
2901
- on: {
2902
- input: function($event) {
2903
- if ($event.target.composing) {
2904
- return
2905
- }
2906
- _vm.$set(_vm.editing, "note", $event.target.value)
2907
- }
2908
- }
2909
- })
2910
- ]),
2911
- _vm._v(" "),
2912
- _c("template", { slot: "footer" }, [
2913
- _c(
2914
- "button",
2915
- {
2916
- staticClass: "button button-primary button-large",
2917
- on: {
2918
- click: function($event) {
2919
- _vm.updateNote()
2920
- }
2921
- }
2922
- },
2923
- [_vm._v(_vm._s(_vm.__("Update Note", "dokan-lite")))]
2924
- )
2925
- ])
2926
- ],
2927
- 2
2928
- )
2929
- : _vm._e(),
2930
- _vm._v(" "),
2931
- _c("ul", { staticClass: "subsubsub" }, [
2932
- _c(
2933
- "li",
2934
- [
2935
- _c("router-link", {
2936
- attrs: {
2937
- to: { name: "Withdraw", query: { status: "pending" } },
2938
- "active-class": "current",
2939
- exact: ""
2940
- },
2941
- domProps: {
2942
- innerHTML: _vm._s(
2943
- _vm.sprintf(
2944
- _vm.__(
2945
- "Pending <span class='count'>(%s)</span>",
2946
- "dokan-lite"
2947
- ),
2948
- _vm.counts.pending
2949
- )
2950
- )
2951
- }
2952
- }),
2953
- _vm._v(" | ")
2954
- ],
2955
- 1
2956
- ),
2957
- _vm._v(" "),
2958
- _c(
2959
- "li",
2960
- [
2961
- _c("router-link", {
2962
- attrs: {
2963
- to: { name: "Withdraw", query: { status: "approved" } },
2964
- "active-class": "current",
2965
- exact: ""
2966
- },
2967
- domProps: {
2968
- innerHTML: _vm._s(
2969
- _vm.sprintf(
2970
- _vm.__(
2971
- "Approved <span class='count'>(%s)</span>",
2972
- "dokan-lite"
2973
- ),
2974
- _vm.counts.approved
2975
- )
2976
- )
2977
- }
2978
- }),
2979
- _vm._v(" | ")
2980
- ],
2981
- 1
2982
- ),
2983
- _vm._v(" "),
2984
- _c(
2985
- "li",
2986
- [
2987
- _c("router-link", {
2988
- attrs: {
2989
- to: { name: "Withdraw", query: { status: "cancelled" } },
2990
- "active-class": "current",
2991
- exact: ""
2992
- },
2993
- domProps: {
2994
- innerHTML: _vm._s(
2995
- _vm.sprintf(
2996
- _vm.__(
2997
- "Cancelled <span class='count'>(%s)</span>",
2998
- "dokan-lite"
2999
- ),
3000
- _vm.counts.cancelled
3001
- )
3002
- )
3003
- }
3004
- })
3005
- ],
3006
- 1
3007
- )
3008
- ]),
3009
- _vm._v(" "),
3010
- _c("list-table", {
3011
- attrs: {
3012
- columns: _vm.columns,
3013
- rows: _vm.requests,
3014
- loading: _vm.loading,
3015
- "action-column": _vm.actionColumn,
3016
- actions: _vm.actions,
3017
- "show-cb": _vm.showCb,
3018
- "bulk-actions": _vm.bulkActions,
3019
- "not-found": _vm.notFound,
3020
- "total-pages": _vm.totalPages,
3021
- "total-items": _vm.totalItems,
3022
- "per-page": _vm.perPage,
3023
- "current-page": _vm.currentPage
3024
- },
3025
- on: {
3026
- pagination: _vm.goToPage,
3027
- "action:click": _vm.onActionClick,
3028
- "bulk:click": _vm.onBulkAction
3029
- },
3030
- scopedSlots: _vm._u([
3031
- {
3032
- key: "seller",
3033
- fn: function(data) {
3034
- return [
3035
- _c("img", {
3036
- attrs: {
3037
- src: data.row.user.gravatar,
3038
- alt: data.row.user.store_name,
3039
- width: "50"
3040
- }
3041
- }),
3042
- _vm._v(" "),
3043
- _c("strong", [
3044
- _c(
3045
- "a",
3046
- { attrs: { href: _vm.vendorUrl(data.row.user.id) } },
3047
- [
3048
- _vm._v(
3049
- _vm._s(
3050
- data.row.user.store_name
3051
- ? data.row.user.store_name
3052
- : _vm.__("(no name)", "dokan-lite")
3053
- )
3054
- )
3055
- ]
3056
- )
3057
- ])
3058
- ]
3059
- }
3060
- },
3061
- {
3062
- key: "amount",
3063
- fn: function(data) {
3064
- return [
3065
- _vm._v(
3066
- "\n " +
3067
- _vm._s(_vm._f("currency")(data.row.amount)) +
3068
- "\n "
3069
- )
3070
- ]
3071
- }
3072
- },
3073
- {
3074
- key: "status",
3075
- fn: function(data) {
3076
- return [
3077
- _c("span", { class: data.row.status }, [
3078
- _vm._v(_vm._s(_vm._f("capitalize")(data.row.status)))
3079
- ])
3080
- ]
3081
- }
3082
- },
3083
- {
3084
- key: "created",
3085
- fn: function(data) {
3086
- return [
3087
- _vm._v(
3088
- "\n " +
3089
- _vm._s(_vm.moment(data.row.created).format("MMM D, YYYY")) +
3090
- "\n "
3091
- )
3092
- ]
3093
- }
3094
- },
3095
- {
3096
- key: "method_details",
3097
- fn: function(data) {
3098
- return [
3099
- _vm._v(
3100
- "\n " +
3101
- _vm._s(
3102
- _vm.getPaymentDetails(
3103
- data.row.method,
3104
- data.row.user.payment
3105
  )
3106
- ) +
3107
- "\n "
3108
  )
3109
  ]
3110
- }
3111
- },
3112
- {
3113
- key: "actions",
3114
- fn: function(data) {
3115
- return [
3116
- data.row.status === "pending"
3117
- ? [
3118
- _c("div", { staticClass: "button-group" }, [
3119
- _c(
3120
- "button",
3121
- {
3122
- staticClass: "button button-small",
3123
- attrs: {
3124
- title: _vm.__("Approve Request", "dokan-lite")
3125
- },
3126
- on: {
3127
- click: function($event) {
3128
- $event.preventDefault()
3129
- _vm.changeStatus("approved", data.row.id)
3130
- }
3131
- }
3132
- },
3133
- [
3134
- _c("span", {
3135
- staticClass: "dashicons dashicons-yes"
3136
- })
3137
- ]
3138
- ),
3139
- _vm._v(" "),
3140
- _c(
3141
- "button",
3142
- {
3143
- staticClass: "button button-small",
3144
- attrs: { title: _vm.__("Add Note", "dokan-lite") },
3145
- on: {
3146
- click: function($event) {
3147
- $event.preventDefault()
3148
- _vm.openNoteModal(data.row.note, data.row.id)
3149
- }
3150
- }
3151
- },
3152
- [
3153
- _c("span", {
3154
- staticClass: "dashicons dashicons-testimonial"
3155
- })
3156
- ]
3157
- )
3158
- ])
3159
- ]
3160
- : data.row.status === "approved"
3161
- ? [
3162
- _c("div", { staticClass: "button-group" }, [
3163
- _c(
3164
- "button",
3165
- {
3166
- staticClass: "button button-small",
3167
- attrs: {
3168
- title: _vm.__("Add Note", "dokan-lite")
3169
- },
3170
- on: {
3171
- click: function($event) {
3172
- $event.preventDefault()
3173
- _vm.openNoteModal(data.row.note, data.row.id)
3174
- }
3175
- }
3176
- },
3177
- [
3178
- _c("span", {
3179
- staticClass: "dashicons dashicons-testimonial"
3180
- })
3181
- ]
3182
- )
3183
- ])
3184
- ]
3185
- : [
3186
- _c("div", { staticClass: "button-group" }, [
3187
- _c(
3188
- "button",
3189
- {
3190
- staticClass: "button button-small",
3191
- attrs: {
3192
- title: _vm.__("Mark as Pending", "dokan-lite")
3193
- },
3194
- on: {
3195
- click: function($event) {
3196
- $event.preventDefault()
3197
- _vm.changeStatus("pending", data.row.id)
3198
- }
3199
- }
3200
- },
3201
- [
3202
- _c("span", {
3203
- staticClass: "dashicons dashicons-backup"
3204
- })
3205
- ]
3206
- ),
3207
- _vm._v(" "),
3208
- _c(
3209
- "button",
3210
- {
3211
- staticClass: "button button-small",
3212
- attrs: {
3213
- title: _vm.__("Add Note", "dokan-lite")
3214
- },
3215
- on: {
3216
- click: function($event) {
3217
- $event.preventDefault()
3218
- _vm.openNoteModal(data.row.note, data.row.id)
3219
- }
3220
- }
3221
- },
3222
- [
3223
- _c("span", {
3224
- staticClass: "dashicons dashicons-testimonial"
3225
- })
3226
- ]
3227
- )
3228
- ])
3229
- ]
3230
- ]
3231
- }
3232
- }
3233
- ])
3234
- })
3235
- ],
3236
- 1
3237
- )
3238
  }
3239
  var staticRenderFns = []
3240
  render._withStripped = true
@@ -3243,23 +8275,22 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
3243
  if (false) {
3244
  module.hot.accept()
3245
  if (module.hot.data) {
3246
- require("vue-hot-reload-api") .rerender("data-v-62373ea4", esExports)
3247
  }
3248
  }
3249
 
3250
  /***/ }),
3251
- /* 67 */
3252
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3253
 
3254
  "use strict";
3255
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
3256
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Premium_vue__ = __webpack_require__(15);
3257
- /* empty harmony namespace reexport */
3258
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_b38fd83a_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Premium_vue__ = __webpack_require__(75);
3259
  var disposed = false
3260
  function injectStyle (ssrContext) {
3261
  if (disposed) return
3262
- __webpack_require__(68)
3263
  }
3264
  var normalizeComponent = __webpack_require__(0)
3265
  /* script */
@@ -3276,14 +8307,14 @@ var __vue_scopeId__ = null
3276
  /* moduleIdentifier (server only) */
3277
  var __vue_module_identifier__ = null
3278
  var Component = normalizeComponent(
3279
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Premium_vue__["a" /* default */],
3280
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_b38fd83a_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Premium_vue__["a" /* default */],
3281
  __vue_template_functional__,
3282
  __vue_styles__,
3283
  __vue_scopeId__,
3284
  __vue_module_identifier__
3285
  )
3286
- Component.options.__file = "src/admin/pages/Premium.vue"
3287
 
3288
  /* hot reload */
3289
  if (false) {(function () {
@@ -3292,32 +8323,112 @@ if (false) {(function () {
3292
  if (!hotAPI.compatible) return
3293
  module.hot.accept()
3294
  if (!module.hot.data) {
3295
- hotAPI.createRecord("data-v-b38fd83a", Component.options)
3296
  } else {
3297
- hotAPI.reload("data-v-b38fd83a", Component.options)
3298
  }
3299
  module.hot.dispose(function (data) {
3300
  disposed = true
3301
  })
3302
  })()}
3303
 
3304
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
3305
 
3306
 
3307
  /***/ }),
3308
- /* 68 */
3309
  /***/ (function(module, exports) {
3310
 
3311
  // removed by extract-text-webpack-plugin
3312
 
3313
  /***/ }),
3314
- /* 69 */,
3315
- /* 70 */,
3316
- /* 71 */,
3317
- /* 72 */,
3318
- /* 73 */,
3319
- /* 74 */,
3320
- /* 75 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3321
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3322
 
3323
  "use strict";
@@ -3325,639 +8436,1443 @@ var render = function() {
3325
  var _vm = this
3326
  var _h = _vm.$createElement
3327
  var _c = _vm._self._c || _h
3328
- return _c("div", { staticClass: "dokan-pro-features" }, [
3329
- _c("div", { staticClass: "header-section" }, [
3330
- _c("div", { staticClass: "feature-thumb" }, [
3331
- _c("img", {
3332
- attrs: {
3333
- src: _vm.asstesUrl + "/images/premium/header-feature-thumb@2x.png",
3334
- alt: _vm.__("Upgrade to Dokan Pro!", "dokan-lite"),
3335
- title: _vm.__("Upgrade to Dokan Pro!", "dokan-lite")
3336
- }
3337
- })
3338
- ]),
3339
- _vm._v(" "),
3340
- _c("div", { staticClass: "content-area" }, [
3341
- _c("h1", [
3342
- _vm._v(_vm._s(_vm.__("Upgrade to Dokan Pro!", "dokan-lite")))
3343
- ]),
3344
- _vm._v(" "),
3345
- _c("p", [
3346
- _vm._v(
3347
- _vm._s(
3348
- _vm.__(
3349
- "Seems To Be Convinced, You Need More Out Of Your Marketplace",
3350
- "dokan-lite"
3351
- )
3352
- )
3353
- )
3354
- ])
3355
- ])
3356
- ]),
3357
- _vm._v(" "),
3358
- _c("div", { staticClass: "service-section" }, [
3359
- _c("h2", { staticClass: "section-title" }, [
3360
- _vm._v(_vm._s(_vm.__("Why Upgrade", "dokan-lite")))
3361
- ]),
3362
- _vm._v(" "),
3363
- _c(
3364
- "div",
3365
- { staticClass: "service-list" },
3366
- _vm._l(_vm.services, function(service) {
3367
- return _c("div", { staticClass: "service-box" }, [
3368
- _c("div", { staticClass: "service-thumb" }, [
3369
- _c("img", {
3370
- attrs: {
3371
- src: service.thumbnail,
3372
- alt: service.title,
3373
- title: service.title
3374
- }
3375
- })
3376
- ]),
3377
- _vm._v(" "),
3378
- _c("div", { staticClass: "service-detail" }, [
3379
- _c("h3", { staticClass: "title" }, [
3380
- _vm._v(_vm._s(service.title))
3381
- ])
3382
- ])
3383
- ])
3384
- })
3385
- ),
3386
- _vm._v(" "),
3387
- _c(
3388
- "a",
3389
- {
3390
- staticClass: "btn",
3391
- attrs: {
3392
- href: "https://wedevs.com/dokan/features/",
3393
- target: "_blank"
3394
- }
3395
- },
3396
  [
3397
- _vm._v(
3398
- "\n " +
3399
- _vm._s(_vm.__("And Many More", "dokan-lite")) +
3400
- "\n "
3401
- ),
3402
- _c(
3403
- "svg",
3404
- {
3405
- staticStyle: { "enable-background": "new 0 0 17.5 12.5" },
3406
- attrs: {
3407
- version: "1.1",
3408
- id: "Layer_1",
3409
- xmlns: "http://www.w3.org/2000/svg",
3410
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
3411
- x: "0px",
3412
- y: "0px",
3413
- viewBox: "0 0 17.5 12.5",
3414
- "xml:space": "preserve"
3415
- }
3416
- },
3417
- [
3418
- _c("path", {
3419
- staticClass: "st0",
3420
- attrs: {
3421
- d:
3422
- "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"
3423
- }
3424
- })
3425
- ]
3426
- )
3427
- ]
3428
- )
3429
- ]),
3430
- _vm._v(" "),
3431
- _c("div", { staticClass: "comparison-section" }, [
3432
- _c("h2", { staticClass: "section-title" }, [
3433
- _vm._v(_vm._s(_vm.__("Comparison With Dokan PRO", "dokan-lite")))
3434
- ]),
3435
- _vm._v(" "),
3436
- _c("div", { staticClass: "comparison-area" }, [
3437
- _c("div", { staticClass: "compare-box dokan-lite" }, [
3438
- _c("div", { staticClass: "logo-section" }, [
3439
- _c("img", {
3440
- attrs: {
3441
- src: _vm.asstesUrl + "/images/premium/dokan-lite-logo@2x.png",
3442
- alt: "Dokan Lite"
3443
- }
3444
- })
3445
- ]),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3446
  _vm._v(" "),
3447
- _c(
3448
- "ul",
3449
- { staticClass: "compare-list" },
3450
- _vm._l(_vm.comparisons, function(comparison) {
3451
- return _c("li", { class: comparison.compare.lite }, [
3452
- comparison.compare.lite === "available"
3453
- ? _c("img", {
3454
  attrs: {
3455
- src: _vm.asstesUrl + "/images/premium/available@2x.png",
3456
- alt: ""
3457
  }
3458
- })
3459
- : _c("img", {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3460
  attrs: {
3461
- src:
3462
- _vm.asstesUrl + "/images/premium/unavailable@2x.png",
3463
- alt: ""
3464
  }
3465
- }),
 
 
 
3466
  _vm._v(" "),
3467
- _c("span", [_vm._v(_vm._s(comparison.title))])
3468
- ])
3469
- })
3470
- )
3471
- ]),
3472
- _vm._v(" "),
3473
- _c("div", { staticClass: "compare-box dokan-pro" }, [
3474
- _c("div", { staticClass: "logo-section" }, [
3475
- _c("img", {
3476
- attrs: {
3477
- src: _vm.asstesUrl + "/images/premium/dokan-pro-logo@2x.png",
3478
- alt: "Dokan Pro"
3479
- }
3480
- })
3481
- ]),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3482
  _vm._v(" "),
3483
- _c(
3484
- "ul",
3485
- { staticClass: "compare-list" },
3486
- _vm._l(_vm.comparisons, function(comparison) {
3487
- return _c("li", { class: comparison.compare.pro }, [
3488
- comparison.compare.pro === "available"
3489
- ? _c("img", {
3490
  attrs: {
3491
- src: _vm.asstesUrl + "/images/premium/available@2x.png",
3492
- alt: ""
3493
  }
3494
- })
3495
- : _c("img", {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3496
  attrs: {
3497
- src:
3498
- _vm.asstesUrl + "/images/premium/unavailable@2x.png",
3499
- alt: ""
3500
  }
3501
- }),
 
 
 
3502
  _vm._v(" "),
3503
- _c("span", [_vm._v(_vm._s(comparison.title))])
3504
- ])
3505
- })
3506
- )
3507
- ])
3508
- ])
3509
- ]),
3510
- _vm._v(" "),
3511
- _c("div", { staticClass: "pricing-section" }, [
3512
- _c("h2", { staticClass: "section-title" }, [
3513
- _vm._v(_vm._s(_vm.__("The Packages We Provide", "dokan-lite")))
3514
- ]),
3515
- _vm._v(" "),
3516
- _c(
3517
- "div",
3518
- { staticClass: "pricing-wrapper" },
3519
- [
3520
- _vm._m(0),
3521
- _vm._v(" "),
3522
- _vm._l(_vm.modules, function(module) {
3523
- return _c("div", { staticClass: "table-row" }, [
3524
- _c("div", { staticClass: "table-col" }, [
3525
  _c(
3526
- "a",
3527
- {
3528
- staticClass: "module-name",
3529
- attrs: { href: module.url, target: "_blank" }
3530
- },
3531
- [_vm._v(_vm._s(module.title))]
3532
- )
3533
- ]),
3534
- _vm._v(" "),
3535
- _c("div", { staticClass: "table-col" }, [
3536
- module.starter.type === "numeric"
3537
- ? _c("div", { staticClass: "plan-data" }, [
3538
- _vm._v(_vm._s(module.starter.value))
3539
- ])
3540
- : _c("div", { staticClass: "plan-data" }, [
3541
- _c("img", {
3542
- attrs: { src: module.starter.value, alt: "" }
3543
- })
3544
- ])
3545
- ]),
3546
- _vm._v(" "),
3547
- _c("div", { staticClass: "table-col popular" }, [
3548
- module.professional.type === "numeric"
3549
- ? _c("div", { staticClass: "plan-data" }, [
3550
- _vm._v(_vm._s(module.professional.value))
3551
- ])
3552
- : _c("div", { staticClass: "plan-data" }, [
3553
- _c("img", {
3554
- attrs: { src: module.professional.value, alt: "" }
3555
- })
3556
- ])
3557
- ]),
3558
- _vm._v(" "),
3559
- _c("div", { staticClass: "table-col" }, [
3560
- module.business.type === "numeric"
3561
- ? _c("div", { staticClass: "plan-data" }, [
3562
- _vm._v(_vm._s(module.business.value))
3563
- ])
3564
- : _c("div", { staticClass: "plan-data" }, [
3565
- _c("img", {
3566
- attrs: { src: module.business.value, alt: "" }
3567
- })
3568
- ])
3569
- ]),
3570
- _vm._v(" "),
3571
- _c("div", { staticClass: "table-col" }, [
3572
- module.enterprise.type === "numeric"
3573
- ? _c("div", { staticClass: "plan-data" }, [
3574
- _vm._v(_vm._s(module.enterprise.value))
3575
- ])
3576
- : _c("div", { staticClass: "plan-data" }, [
3577
- _c("img", {
3578
- attrs: { src: module.enterprise.value, alt: "" }
3579
- })
3580
- ])
3581
- ])
3582
- ])
3583
- }),
3584
- _vm._v(" "),
3585
- _c("div", { staticClass: "table-row" }, [
3586
- _c("div", { staticClass: "table-col" }),
3587
- _vm._v(" "),
3588
- _c("div", { staticClass: "table-col" }, [
3589
- _c(
3590
- "a",
3591
- {
3592
- staticClass: "buy-btn starter",
3593
- attrs: {
3594
- href:
3595
- _vm.buyNowProUrl +
3596
- "add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",
3597
- target: "_blank"
3598
- }
3599
- },
3600
- [_vm._v(_vm._s(_vm.__("Buy Now", "dokan-lite")))]
3601
- )
3602
- ]),
3603
- _vm._v(" "),
3604
- _c("div", { staticClass: "table-col popular" }, [
3605
- _c(
3606
- "a",
3607
- {
3608
- staticClass: "buy-btn professional",
3609
- attrs: {
3610
- href:
3611
- _vm.buyNowProUrl +
3612
- "add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",
3613
- target: "_blank"
3614
- }
3615
- },
3616
- [_vm._v(_vm._s(_vm.__("Buy Now", "dokan-lite")))]
3617
- )
3618
- ]),
3619
- _vm._v(" "),
3620
- _c("div", { staticClass: "table-col" }, [
3621
- _c(
3622
- "a",
3623
- {
3624
- staticClass: "buy-btn business",
3625
- attrs: {
3626
- href:
3627
- _vm.buyNowProUrl +
3628
- "add-to-cart=15310&variation_id=15315&attribute_pa_license=business",
3629
- target: "_blank"
3630
- }
3631
- },
3632
- [_vm._v(_vm._s(_vm.__("Buy Now", "dokan-lite")))]
3633
- )
3634
- ]),
3635
- _vm._v(" "),
3636
- _c("div", { staticClass: "table-col" }, [
3637
- _c(
3638
- "a",
3639
- {
3640
- staticClass: "buy-btn enterprise",
3641
- attrs: {
3642
- href:
3643
- _vm.buyNowProUrl +
3644
- "add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",
3645
- target: "_blank"
3646
- }
3647
- },
3648
- [_vm._v(_vm._s(_vm.__("Buy Now", "dokan-lite")))]
3649
- )
3650
- ])
3651
- ])
3652
- ],
3653
- 2
3654
- )
3655
- ]),
3656
- _vm._v(" "),
3657
- _c("div", { staticClass: "payment-section" }, [
3658
- _c("div", { staticClass: "guarantee-section" }, [
3659
- _c("div", { staticClass: "feature-thumb" }, [
3660
- _c("img", {
3661
- attrs: { src: _vm.payment.guaranteeThumbnail, alt: "Dokan" }
3662
- })
3663
- ]),
3664
- _vm._v(" "),
3665
- _c("div", { staticClass: "guarantee-detail" }, [
3666
- _c("h2", [
3667
- _vm._v(_vm._s(_vm.__("14 Days Money Back Guarantee", "dokan-lite")))
3668
- ]),
3669
- _vm._v(" "),
3670
- _c("p", [
3671
- _vm._v(
3672
- _vm._s(
3673
- _vm.__(
3674
- "After successful purchase, you will be eligible for conditional refund",
3675
- "dokan-lite"
3676
  )
3677
- )
3678
- )
3679
- ]),
3680
  _vm._v(" "),
3681
- _c(
3682
- "a",
3683
- { attrs: { href: _vm.payment.termsPolicyUrl, target: "_blank" } },
3684
- [
3685
- _c("img", { attrs: { src: _vm.payment.viewIcon, alt: "Dokan" } }),
3686
- _vm._v(
3687
- " " + _vm._s(_vm.__("Terms & Condition Applied", "dokan-lite"))
3688
- )
3689
- ]
3690
- )
3691
- ])
3692
- ]),
3693
- _vm._v(" "),
3694
- _c("div", { staticClass: "payment-area" }, [
3695
- _c("h3", [_vm._v(_vm._s(_vm.__("Payment Options:", "dokan-lite")))]),
3696
- _vm._v(" "),
3697
- _c("div", { staticClass: "option" }, [
3698
- _c("img", {
3699
- attrs: { src: _vm.payment.thumbnail, alt: "Credit Card" }
3700
- })
3701
- ])
3702
- ])
3703
- ]),
3704
- _vm._v(" "),
3705
- _c("div", { staticClass: "testimonial-section" }, [
3706
- _c("h2", { staticClass: "section-title" }, [
3707
- _vm._v(_vm._s(_vm.__("People We Have Helped", "dokan-lite")))
3708
- ]),
3709
- _vm._v(" "),
3710
- _c(
3711
- "div",
3712
- { staticClass: "testimonial-wrapper" },
3713
- [
3714
- _c(
3715
- "slick",
3716
- { ref: "slick", attrs: { options: _vm.slickOptions } },
3717
- _vm._l(_vm.testimonials, function(testimonial) {
3718
- return _c("div", { staticClass: "testimonial-box" }, [
3719
- _c("div", { staticClass: "profile-pic" }, [
3720
- _c("img", { attrs: { src: testimonial.pic, alt: "" } })
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3721
  ]),
3722
  _vm._v(" "),
3723
  _c(
3724
- "div",
3725
- {
3726
- staticClass: "content-detail",
3727
- style: {
3728
- "background-image":
3729
- "url(" +
3730
- _vm.asstesUrl +
3731
- "/images/premium/quote-icon.png" +
3732
- ")"
3733
- }
3734
- },
3735
  [
3736
- _c("h4", [_vm._v(_vm._s(testimonial.name))]),
3737
- _vm._v(" "),
3738
- _c("span", [_vm._v(_vm._s(testimonial.designation))]),
 
 
 
 
 
 
3739
  _vm._v(" "),
3740
- _c("p", [_vm._v(_vm._s(testimonial.content))])
3741
- ]
 
 
 
 
3742
  )
3743
- ])
3744
- })
3745
- )
3746
- ],
3747
- 1
3748
- ),
3749
- _vm._v(" "),
3750
- _c("p", {
3751
- domProps: {
3752
- innerHTML: _vm._s(
3753
- _vm.sprintf(
3754
- "%s <a href='%s' target='_blank'>%s</a> %s",
3755
- _vm.__("We are proud to say the official", "dokan-lite"),
3756
- "https://themes.getbootstrap.com/",
3757
- "Bootstrap theme marketplace",
3758
- _vm.__("is built using Dokan", "dokan-lite")
3759
- )
3760
- )
3761
- }
3762
- })
3763
- ]),
3764
- _vm._v(" "),
3765
- _c(
3766
- "div",
3767
- {
3768
- staticClass: "cta-section",
3769
- style: {
3770
- "background-image":
3771
- "url(" +
3772
- _vm.cta.styles.bgPattern +
3773
- "), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"
3774
- }
3775
- },
3776
- [
3777
- _c("div", { staticClass: "feature-thumb" }, [
3778
- _c("img", { attrs: { src: _vm.cta.thumbnail, alt: "Dokan Lite" } })
3779
- ]),
3780
- _vm._v(" "),
3781
- _c("div", { staticClass: "content-area" }, [
3782
- _c("h2", [_vm._v(_vm._s(_vm.__("Convinced?", "dokan-lite")))]),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3783
  _vm._v(" "),
3784
- _c("p", [
3785
- _vm._v(
3786
- _vm._s(
3787
- _vm.__(
3788
- "With all the advance features you get it’s hard to resist buying Dokan Pro.",
3789
- "dokan-lite"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3790
  )
3791
- )
3792
- )
3793
- ]),
3794
- _vm._v(" "),
3795
- _c("a", { staticClass: "btn", attrs: { href: _vm.cta.url } }, [
3796
- _vm._v(
3797
- "\n " +
3798
- _vm._s(_vm.__("I Want To Buy Now", "dokan-lite")) +
3799
- "\n "
3800
- ),
3801
- _c(
3802
- "svg",
3803
- {
3804
- staticStyle: { "enable-background": "new 0 0 17.5 12.5" },
3805
- attrs: {
3806
- version: "1.1",
3807
- id: "Layer_1",
3808
- xmlns: "http://www.w3.org/2000/svg",
3809
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
3810
- x: "0px",
3811
- y: "0px",
3812
- viewBox: "0 0 17.5 12.5",
3813
- "xml:space": "preserve"
3814
- }
3815
- },
3816
- [
3817
- _c("path", {
3818
- staticClass: "st0",
3819
- attrs: {
3820
- d:
3821
- "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"
3822
- }
3823
- })
3824
  ]
3825
- )
3826
- ])
3827
- ])
3828
- ]
3829
- )
3830
- ])
3831
  }
3832
- var staticRenderFns = [
3833
- function() {
3834
- var _vm = this
3835
- var _h = _vm.$createElement
3836
- var _c = _vm._self._c || _h
3837
- return _c("div", { staticClass: "table-row" }, [
3838
- _c("div", { staticClass: "table-col" }),
3839
- _vm._v(" "),
3840
- _c("div", { staticClass: "table-col" }, [
3841
- _c("div", { staticClass: "plan-name starter" }, [_vm._v("Starter")]),
3842
- _vm._v(" "),
3843
- _c("div", { staticClass: "price" }, [
3844
- _c("span", [_c("sup", [_vm._v("$")]), _vm._v("149")]),
3845
- _vm._v(" "),
3846
- _c("span", [_vm._v("/year")])
3847
- ])
3848
- ]),
3849
- _vm._v(" "),
3850
- _c("div", { staticClass: "table-col popular" }, [
3851
- _c("div", { staticClass: "plan-name professional" }, [
3852
- _vm._v("Professional")
3853
- ]),
3854
- _vm._v(" "),
3855
- _c("div", { staticClass: "price" }, [
3856
- _c("span", [_c("sup", [_vm._v("$")]), _vm._v("249")]),
3857
- _vm._v(" "),
3858
- _c("span", [_vm._v("/year")])
3859
- ])
3860
- ]),
3861
- _vm._v(" "),
3862
- _c("div", { staticClass: "table-col" }, [
3863
- _c("div", { staticClass: "plan-name business" }, [_vm._v("Business")]),
3864
- _vm._v(" "),
3865
- _c("div", { staticClass: "price" }, [
3866
- _c("span", [_c("sup", [_vm._v("$")]), _vm._v("499")]),
3867
- _vm._v(" "),
3868
- _c("span", [_vm._v("/year")])
3869
- ])
3870
- ]),
3871
- _vm._v(" "),
3872
- _c("div", { staticClass: "table-col" }, [
3873
- _c("div", { staticClass: "plan-name enterprise" }, [
3874
- _vm._v("Enterprise")
3875
- ]),
3876
- _vm._v(" "),
3877
- _c("div", { staticClass: "price" }, [
3878
- _c("span", [_c("sup", [_vm._v("$")]), _vm._v("999")]),
3879
- _vm._v(" "),
3880
- _c("span", [_vm._v("/year")])
3881
- ])
3882
- ])
3883
- ])
3884
- }
3885
- ]
3886
  render._withStripped = true
3887
  var esExports = { render: render, staticRenderFns: staticRenderFns }
3888
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
3889
  if (false) {
3890
  module.hot.accept()
3891
  if (module.hot.data) {
3892
- require("vue-hot-reload-api") .rerender("data-v-b38fd83a", esExports)
3893
  }
3894
  }
3895
 
3896
  /***/ }),
3897
- /* 76 */
3898
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3899
-
3900
- "use strict";
3901
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
3902
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Help_vue__ = __webpack_require__(19);
3903
- /* empty harmony namespace reexport */
3904
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c289d136_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Help_vue__ = __webpack_require__(78);
3905
- var disposed = false
3906
- function injectStyle (ssrContext) {
3907
- if (disposed) return
3908
- __webpack_require__(77)
3909
- }
3910
- var normalizeComponent = __webpack_require__(0)
3911
- /* script */
3912
-
3913
-
3914
- /* template */
3915
-
3916
- /* template functional */
3917
- var __vue_template_functional__ = false
3918
- /* styles */
3919
- var __vue_styles__ = injectStyle
3920
- /* scopeId */
3921
- var __vue_scopeId__ = null
3922
- /* moduleIdentifier (server only) */
3923
- var __vue_module_identifier__ = null
3924
- var Component = normalizeComponent(
3925
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Help_vue__["a" /* default */],
3926
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c289d136_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Help_vue__["a" /* default */],
3927
- __vue_template_functional__,
3928
- __vue_styles__,
3929
- __vue_scopeId__,
3930
- __vue_module_identifier__
3931
- )
3932
- Component.options.__file = "src/admin/pages/Help.vue"
3933
-
3934
- /* hot reload */
3935
- if (false) {(function () {
3936
- var hotAPI = require("vue-hot-reload-api")
3937
- hotAPI.install(require("vue"), false)
3938
- if (!hotAPI.compatible) return
3939
- module.hot.accept()
3940
- if (!module.hot.data) {
3941
- hotAPI.createRecord("data-v-c289d136", Component.options)
3942
- } else {
3943
- hotAPI.reload("data-v-c289d136", Component.options)
3944
- }
3945
- module.hot.dispose(function (data) {
3946
- disposed = true
3947
- })
3948
- })()}
3949
-
3950
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
3951
-
3952
-
3953
- /***/ }),
3954
- /* 77 */
3955
- /***/ (function(module, exports) {
3956
-
3957
- // removed by extract-text-webpack-plugin
3958
-
3959
- /***/ }),
3960
- /* 78 */
3961
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3962
 
3963
  "use strict";
@@ -3965,46 +9880,198 @@ var render = function() {
3965
  var _vm = this
3966
  var _h = _vm.$createElement
3967
  var _c = _vm._self._c || _h
3968
- return _c("div", { staticClass: "dokan-help-page" }, [
3969
- _c("h1", [_vm._v(_vm._s(_vm.__("Help", "dokan-lite")))]),
 
 
3970
  _vm._v(" "),
3971
- _vm.docs !== null
3972
  ? _c(
3973
  "div",
3974
- { staticClass: "section-wrapper" },
3975
- _vm._l(_vm.docs, function(section, index) {
3976
- return _c(
3977
- "postbox",
3978
- { key: index, attrs: { title: section.title } },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3979
  [
3980
- _c(
3981
- "ul",
3982
- _vm._l(section.questions, function(item) {
3983
- return _c("li", [
3984
- _c("span", {
3985
- staticClass: "dashicons dashicons-media-text"
3986
- }),
3987
- _vm._v(" "),
3988
- _c(
3989
- "a",
3990
- {
3991
- attrs: {
3992
- href:
3993
- item.link +
3994
- "?utm_source=wp-admin&utm_medium=dokan-help-page",
3995
- target: "_blank"
3996
- }
3997
- },
3998
- [_vm._v(_vm._s(item.title))]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3999
  )
4000
- ])
4001
- })
4002
- )
4003
- ]
4004
- )
4005
  })
4006
- )
4007
- : _c("div", { staticClass: "loading" }, [_c("loading")], 1)
 
 
 
 
 
 
4008
  ])
4009
  }
4010
  var staticRenderFns = []
@@ -4014,23 +10081,22 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
4014
  if (false) {
4015
  module.hot.accept()
4016
  if (module.hot.data) {
4017
- require("vue-hot-reload-api") .rerender("data-v-c289d136", esExports)
4018
  }
4019
  }
4020
 
4021
  /***/ }),
4022
- /* 79 */
4023
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4024
 
4025
  "use strict";
4026
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
4027
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Settings_vue__ = __webpack_require__(20);
4028
- /* empty harmony namespace reexport */
4029
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e4dc4572_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Settings_vue__ = __webpack_require__(106);
4030
  var disposed = false
4031
  function injectStyle (ssrContext) {
4032
  if (disposed) return
4033
- __webpack_require__(80)
4034
  }
4035
  var normalizeComponent = __webpack_require__(0)
4036
  /* script */
@@ -4047,14 +10113,14 @@ var __vue_scopeId__ = null
4047
  /* moduleIdentifier (server only) */
4048
  var __vue_module_identifier__ = null
4049
  var Component = normalizeComponent(
4050
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Settings_vue__["a" /* default */],
4051
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e4dc4572_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Settings_vue__["a" /* default */],
4052
  __vue_template_functional__,
4053
  __vue_styles__,
4054
  __vue_scopeId__,
4055
  __vue_module_identifier__
4056
  )
4057
- Component.options.__file = "src/admin/pages/Settings.vue"
4058
 
4059
  /* hot reload */
4060
  if (false) {(function () {
@@ -4063,88 +10129,36 @@ if (false) {(function () {
4063
  if (!hotAPI.compatible) return
4064
  module.hot.accept()
4065
  if (!module.hot.data) {
4066
- hotAPI.createRecord("data-v-e4dc4572", Component.options)
4067
  } else {
4068
- hotAPI.reload("data-v-e4dc4572", Component.options)
4069
  }
4070
  module.hot.dispose(function (data) {
4071
  disposed = true
4072
  })
4073
  })()}
4074
 
4075
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
4076
 
4077
 
4078
  /***/ }),
4079
- /* 80 */
4080
  /***/ (function(module, exports) {
4081
 
4082
  // removed by extract-text-webpack-plugin
4083
 
4084
  /***/ }),
4085
- /* 81 */
4086
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4087
-
4088
- "use strict";
4089
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Fields_vue__ = __webpack_require__(21);
4090
- /* unused harmony namespace reexport */
4091
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a96ce32e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Fields_vue__ = __webpack_require__(105);
4092
- var disposed = false
4093
- var normalizeComponent = __webpack_require__(0)
4094
- /* script */
4095
-
4096
-
4097
- /* template */
4098
-
4099
- /* template functional */
4100
- var __vue_template_functional__ = false
4101
- /* styles */
4102
- var __vue_styles__ = null
4103
- /* scopeId */
4104
- var __vue_scopeId__ = null
4105
- /* moduleIdentifier (server only) */
4106
- var __vue_module_identifier__ = null
4107
- var Component = normalizeComponent(
4108
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Fields_vue__["a" /* default */],
4109
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a96ce32e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Fields_vue__["a" /* default */],
4110
- __vue_template_functional__,
4111
- __vue_styles__,
4112
- __vue_scopeId__,
4113
- __vue_module_identifier__
4114
- )
4115
- Component.options.__file = "src/admin/components/Fields.vue"
4116
-
4117
- /* hot reload */
4118
- if (false) {(function () {
4119
- var hotAPI = require("vue-hot-reload-api")
4120
- hotAPI.install(require("vue"), false)
4121
- if (!hotAPI.compatible) return
4122
- module.hot.accept()
4123
- if (!module.hot.data) {
4124
- hotAPI.createRecord("data-v-a96ce32e", Component.options)
4125
- } else {
4126
- hotAPI.reload("data-v-a96ce32e", Component.options)
4127
- }
4128
- module.hot.dispose(function (data) {
4129
- disposed = true
4130
- })
4131
- })()}
4132
-
4133
- /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
4134
-
4135
-
4136
- /***/ }),
4137
- /* 82 */
4138
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4139
 
4140
  "use strict";
4141
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_ColorPicker_vue__ = __webpack_require__(22);
4142
  /* unused harmony namespace reexport */
4143
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_01dc0d51_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_ColorPicker_vue__ = __webpack_require__(104);
4144
  var disposed = false
4145
  function injectStyle (ssrContext) {
4146
  if (disposed) return
4147
- __webpack_require__(83)
4148
  }
4149
  var normalizeComponent = __webpack_require__(0)
4150
  /* script */
@@ -4157,18 +10171,18 @@ var __vue_template_functional__ = false
4157
  /* styles */
4158
  var __vue_styles__ = injectStyle
4159
  /* scopeId */
4160
- var __vue_scopeId__ = "data-v-01dc0d51"
4161
  /* moduleIdentifier (server only) */
4162
  var __vue_module_identifier__ = null
4163
  var Component = normalizeComponent(
4164
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_ColorPicker_vue__["a" /* default */],
4165
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_01dc0d51_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_ColorPicker_vue__["a" /* default */],
4166
  __vue_template_functional__,
4167
  __vue_styles__,
4168
  __vue_scopeId__,
4169
  __vue_module_identifier__
4170
  )
4171
- Component.options.__file = "src/admin/components/ColorPicker.vue"
4172
 
4173
  /* hot reload */
4174
  if (false) {(function () {
@@ -4177,137 +10191,26 @@ if (false) {(function () {
4177
  if (!hotAPI.compatible) return
4178
  module.hot.accept()
4179
  if (!module.hot.data) {
4180
- hotAPI.createRecord("data-v-01dc0d51", Component.options)
4181
  } else {
4182
- hotAPI.reload("data-v-01dc0d51", Component.options)
4183
- }
4184
- module.hot.dispose(function (data) {
4185
- disposed = true
4186
- })
4187
- })()}
4188
-
4189
- /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
4190
-
4191
-
4192
- /***/ }),
4193
- /* 83 */
4194
- /***/ (function(module, exports) {
4195
-
4196
- // removed by extract-text-webpack-plugin
4197
-
4198
- /***/ }),
4199
- /* 84 */,
4200
- /* 85 */,
4201
- /* 86 */,
4202
- /* 87 */,
4203
- /* 88 */,
4204
- /* 89 */,
4205
- /* 90 */,
4206
- /* 91 */,
4207
- /* 92 */,
4208
- /* 93 */,
4209
- /* 94 */,
4210
- /* 95 */,
4211
- /* 96 */,
4212
- /* 97 */,
4213
- /* 98 */,
4214
- /* 99 */,
4215
- /* 100 */,
4216
- /* 101 */,
4217
- /* 102 */,
4218
- /* 103 */,
4219
- /* 104 */
4220
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4221
-
4222
- "use strict";
4223
- var render = function() {
4224
- var _vm = this
4225
- var _h = _vm.$createElement
4226
- var _c = _vm._self._c || _h
4227
- return _c(
4228
- "div",
4229
- { staticClass: "color-picker-container" },
4230
- [
4231
- _c(
4232
- "button",
4233
- {
4234
- staticClass: "button color-picker-button",
4235
- style: { backgroundColor: _vm.value },
4236
- attrs: { type: "button" },
4237
- on: { click: _vm.toggleColorPicker }
4238
- },
4239
- [_c("span", [_vm._v(_vm._s(_vm.__("Select Color", "dokan-lite")))])]
4240
- ),
4241
- _vm._v(" "),
4242
- _vm.showColorPicker && _vm.format === "hex"
4243
- ? _c("input", {
4244
- staticClass: "hex-input",
4245
- attrs: { type: "text" },
4246
- domProps: { value: _vm.value },
4247
- on: {
4248
- input: function($event) {
4249
- _vm.setHexColor($event.target.value)
4250
- }
4251
- }
4252
- })
4253
- : _vm._e(),
4254
- _vm._v(" "),
4255
- _vm.showColorPicker
4256
- ? _c("div", { staticClass: "button-group" }, [
4257
- _c(
4258
- "button",
4259
- {
4260
- staticClass: "button button-small",
4261
- attrs: { type: "button" },
4262
- on: {
4263
- click: function($event) {
4264
- _vm.updateColor({})
4265
- }
4266
- }
4267
- },
4268
- [_vm._v(_vm._s(_vm.__("Clear", "dokan-lite")))]
4269
- ),
4270
- _vm._v(" "),
4271
- _c(
4272
- "button",
4273
- {
4274
- staticClass: "button button-small",
4275
- attrs: { type: "button" },
4276
- on: { click: _vm.toggleColorPicker }
4277
- },
4278
- [_vm._v(_vm._s(_vm.__("Close", "dokan-lite")))]
4279
- )
4280
- ])
4281
- : _vm._e(),
4282
- _vm._v(" "),
4283
- _vm.showColorPicker
4284
- ? _c("sketch", {
4285
- attrs: {
4286
- value: _vm.value,
4287
- "preset-colors": _vm.presetColors,
4288
- "disable-alpha": _vm.disableAlpha,
4289
- "disable-fields": _vm.disableFields
4290
- },
4291
- on: { input: _vm.updateColor }
4292
- })
4293
- : _vm._e()
4294
- ],
4295
- 1
4296
- )
4297
- }
4298
- var staticRenderFns = []
4299
- render._withStripped = true
4300
- var esExports = { render: render, staticRenderFns: staticRenderFns }
4301
- /* harmony default export */ __webpack_exports__["a"] = (esExports);
4302
- if (false) {
4303
- module.hot.accept()
4304
- if (module.hot.data) {
4305
- require("vue-hot-reload-api") .rerender("data-v-01dc0d51", esExports)
4306
  }
4307
- }
 
 
 
 
 
 
4308
 
4309
  /***/ }),
4310
- /* 105 */
 
 
 
 
 
 
4311
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4312
 
4313
  "use strict";
@@ -4315,844 +10218,438 @@ var render = function() {
4315
  var _vm = this
4316
  var _h = _vm.$createElement
4317
  var _c = _vm._self._c || _h
4318
- return _c("div", [
4319
- _vm.containCommonFields(_vm.fieldData.type)
4320
- ? _c("tr", { class: _vm.id }, [
4321
- _c("th", { attrs: { scope: "row" } }, [
4322
- _c(
4323
- "label",
4324
- {
4325
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4326
- },
4327
- [_vm._v(_vm._s(_vm.fieldData.label))]
4328
- )
4329
- ]),
4330
- _vm._v(" "),
4331
- _c("td", [
4332
- _c("input", {
4333
- directives: [
4334
- {
4335
- name: "model",
4336
- rawName: "v-model",
4337
- value: _vm.fieldValue[_vm.fieldData.name],
4338
- expression: "fieldValue[fieldData.name]"
4339
- }
4340
- ],
4341
- staticClass: "regular-text",
4342
- attrs: {
4343
- type: "text",
4344
- id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
4345
- name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
4346
- },
4347
- domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
4348
- on: {
4349
- input: function($event) {
4350
- if ($event.target.composing) {
4351
- return
4352
- }
4353
- _vm.$set(
4354
- _vm.fieldValue,
4355
- _vm.fieldData.name,
4356
- $event.target.value
4357
- )
4358
- }
4359
- }
4360
- }),
4361
- _vm._v(" "),
4362
- _c("p", {
4363
- staticClass: "description",
4364
- domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
4365
- })
4366
- ])
4367
- ])
4368
- : _vm._e(),
4369
- _vm._v(" "),
4370
- "number" == _vm.fieldData.type
4371
- ? _c("tr", { class: _vm.id }, [
4372
- _c("th", { attrs: { scope: "row" } }, [
4373
- _c(
4374
- "label",
4375
- {
4376
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4377
- },
4378
- [_vm._v(_vm._s(_vm.fieldData.label))]
4379
- )
4380
- ]),
4381
- _vm._v(" "),
4382
- _c("td", [
4383
- _c("input", {
4384
- directives: [
4385
- {
4386
- name: "model",
4387
- rawName: "v-model",
4388
- value: _vm.fieldValue[_vm.fieldData.name],
4389
- expression: "fieldValue[fieldData.name]"
4390
- }
4391
- ],
4392
- staticClass: "regular-text",
4393
- attrs: {
4394
- type: "number",
4395
- min: _vm.fieldData.min,
4396
- max: _vm.fieldData.max,
4397
- step: _vm.fieldData.step,
4398
- id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
4399
- name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
4400
- },
4401
- domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
4402
- on: {
4403
- input: function($event) {
4404
- if ($event.target.composing) {
4405
- return
4406
- }
4407
- _vm.$set(
4408
- _vm.fieldValue,
4409
- _vm.fieldData.name,
4410
- $event.target.value
4411
- )
4412
- }
4413
- }
4414
- }),
4415
- _vm._v(" "),
4416
- _c("p", {
4417
- staticClass: "description",
4418
- domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
4419
- })
4420
- ])
4421
- ])
4422
- : _vm._e(),
4423
- _vm._v(" "),
4424
- "textarea" == _vm.fieldData.type
4425
- ? _c("tr", { class: _vm.id }, [
4426
- _c("th", { attrs: { scope: "row" } }, [
4427
- _c(
4428
- "label",
4429
- {
4430
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4431
- },
4432
- [_vm._v(_vm._s(_vm.fieldData.label))]
4433
- )
4434
- ]),
4435
- _vm._v(" "),
4436
- _c("td", [
4437
- _c("textarea", {
4438
- directives: [
4439
- {
4440
- name: "model",
4441
- rawName: "v-model",
4442
- value: _vm.fieldValue[_vm.fieldData.name],
4443
- expression: "fieldValue[fieldData.name]"
4444
- }
4445
- ],
4446
- staticClass: "regular-text",
4447
- attrs: {
4448
- type: "textarea",
4449
- rows: _vm.fieldData.rows,
4450
- cols: _vm.fieldData.cols,
4451
- id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
4452
- name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
4453
- },
4454
- domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
4455
- on: {
4456
- input: function($event) {
4457
- if ($event.target.composing) {
4458
- return
4459
- }
4460
- _vm.$set(
4461
- _vm.fieldValue,
4462
- _vm.fieldData.name,
4463
- $event.target.value
4464
- )
4465
- }
4466
- }
4467
- }),
4468
- _vm._v(" "),
4469
- _c("p", {
4470
- staticClass: "description",
4471
- domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
4472
- })
4473
- ])
4474
- ])
4475
- : _vm._e(),
4476
- _vm._v(" "),
4477
- "checkbox" == _vm.fieldData.type
4478
- ? _c("tr", { class: _vm.id }, [
4479
- _c("th", { attrs: { scope: "row" } }, [
4480
- _c(
4481
- "label",
4482
- {
4483
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4484
- },
4485
- [_vm._v(_vm._s(_vm.fieldData.label))]
4486
- )
4487
- ]),
4488
- _vm._v(" "),
4489
- _c("td", [
4490
- _c("fieldset", [
4491
  _c(
4492
- "label",
4493
- {
4494
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4495
- },
4496
- [
4497
- _c("input", {
4498
- directives: [
4499
- {
4500
- name: "model",
4501
- rawName: "v-model",
4502
- value: _vm.fieldValue[_vm.fieldData.name],
4503
- expression: "fieldValue[fieldData.name]"
4504
  }
4505
- ],
4506
- staticClass: "checkbox",
4507
- attrs: {
4508
- type: "checkbox",
4509
- id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
4510
- name: _vm.sectionId + "[" + _vm.fieldData.name + "]",
4511
- "true-value": "on",
4512
- "false-value": "off"
4513
- },
4514
- domProps: {
4515
- checked: Array.isArray(_vm.fieldValue[_vm.fieldData.name])
4516
- ? _vm._i(_vm.fieldValue[_vm.fieldData.name], null) > -1
4517
- : _vm._q(_vm.fieldValue[_vm.fieldData.name], "on")
4518
  },
4519
- on: {
4520
- change: function($event) {
4521
- var $$a = _vm.fieldValue[_vm.fieldData.name],
4522
- $$el = $event.target,
4523
- $$c = $$el.checked ? "on" : "off"
4524
- if (Array.isArray($$a)) {
4525
- var $$v = null,
4526
- $$i = _vm._i($$a, $$v)
4527
- if ($$el.checked) {
4528
- $$i < 0 &&
4529
- (_vm.fieldValue[_vm.fieldData.name] = $$a.concat([
4530
- $$v
4531
- ]))
4532
- } else {
4533
- $$i > -1 &&
4534
- (_vm.fieldValue[_vm.fieldData.name] = $$a
4535
- .slice(0, $$i)
4536
- .concat($$a.slice($$i + 1)))
4537
- }
4538
- } else {
4539
- _vm.$set(_vm.fieldValue, _vm.fieldData.name, $$c)
4540
- }
4541
- }
4542
- }
4543
- }),
4544
- _vm._v(
4545
- "\n " +
4546
- _vm._s(_vm.fieldData.desc) +
4547
- "\n "
4548
- )
4549
- ]
4550
- )
4551
- ])
4552
- ])
4553
- ])
4554
- : _vm._e(),
4555
- _vm._v(" "),
4556
- "multicheck" == _vm.fieldData.type
4557
- ? _c("tr", { class: _vm.id }, [
4558
- _c("th", { attrs: { scope: "row" } }, [
4559
- _c(
4560
- "label",
4561
- {
4562
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4563
- },
4564
- [_vm._v(_vm._s(_vm.fieldData.label))]
4565
- )
4566
- ]),
4567
- _vm._v(" "),
4568
- _c("td", [
4569
- _c(
4570
- "fieldset",
4571
- [
4572
- _vm._l(_vm.fieldData.options, function(optionVal, optionKey) {
4573
- return [
4574
- _c(
4575
- "label",
4576
- {
4577
- attrs: {
4578
- for:
4579
- _vm.sectionId +
4580
- "[" +
4581
- _vm.fieldData.name +
4582
- "][" +
4583
- optionKey +
4584
- "]"
4585
- }
4586
- },
4587
- [
4588
- _c("input", {
4589
- directives: [
4590
- {
4591
- name: "model",
4592
- rawName: "v-model",
4593
- value:
4594
- _vm.fieldValue[_vm.fieldData.name][optionKey],
4595
- expression:
4596
- "fieldValue[fieldData.name][optionKey]"
4597
  }
4598
- ],
4599
- staticClass: "checkbox",
4600
- attrs: {
4601
- type: "checkbox",
4602
- id:
4603
- _vm.sectionId +
4604
- "[" +
4605
- _vm.fieldData.name +
4606
- "][" +
4607
- optionKey +
4608
- "]",
4609
- name:
4610
- _vm.sectionId +
4611
- "[" +
4612
- _vm.fieldData.name +
4613
- "][" +
4614
- optionKey +
4615
- "]",
4616
- "true-value": optionKey,
4617
- "false-value": ""
4618
  },
4619
- domProps: {
4620
- checked: Array.isArray(
4621
- _vm.fieldValue[_vm.fieldData.name][optionKey]
 
 
 
4622
  )
4623
- ? _vm._i(
4624
- _vm.fieldValue[_vm.fieldData.name][optionKey],
4625
- null
4626
- ) > -1
4627
- : _vm._q(
4628
- _vm.fieldValue[_vm.fieldData.name][optionKey],
4629
- optionKey
4630
- )
4631
- },
4632
- on: {
4633
- change: function($event) {
4634
- var $$a =
4635
- _vm.fieldValue[_vm.fieldData.name][optionKey],
4636
- $$el = $event.target,
4637
- $$c = $$el.checked ? optionKey : ""
4638
- if (Array.isArray($$a)) {
4639
- var $$v = null,
4640
- $$i = _vm._i($$a, $$v)
4641
- if ($$el.checked) {
4642
- $$i < 0 &&
4643
- (_vm.fieldValue[_vm.fieldData.name][
4644
- optionKey
4645
- ] = $$a.concat([$$v]))
4646
- } else {
4647
- $$i > -1 &&
4648
- (_vm.fieldValue[_vm.fieldData.name][
4649
- optionKey
4650
- ] = $$a
4651
- .slice(0, $$i)
4652
- .concat($$a.slice($$i + 1)))
4653
- }
4654
- } else {
4655
- _vm.$set(
4656
- _vm.fieldValue[_vm.fieldData.name],
4657
- optionKey,
4658
- $$c
4659
- )
4660
- }
4661
- }
4662
- }
4663
- }),
4664
- _vm._v(
4665
- "\n " +
4666
- _vm._s(optionVal) +
4667
- "\n "
4668
  )
4669
- ]
4670
- ),
4671
- _vm._v(" "),
4672
- _c("br")
4673
- ]
4674
- })
4675
- ],
4676
- 2
4677
- )
4678
- ])
4679
- ])
4680
- : _vm._e(),
4681
- _vm._v(" "),
4682
- "select" == _vm.fieldData.type
4683
- ? _c("tr", { class: _vm.id }, [
4684
- _c("th", { attrs: { scope: "row" } }, [
4685
- _c(
4686
- "label",
4687
- {
4688
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4689
- },
4690
- [_vm._v(_vm._s(_vm.fieldData.label))]
4691
- )
4692
- ]),
4693
- _vm._v(" "),
4694
- _c("td", [
4695
- _c(
4696
- "select",
4697
- {
4698
- directives: [
4699
- {
4700
- name: "model",
4701
- rawName: "v-model",
4702
- value: _vm.fieldValue[_vm.fieldData.name],
4703
- expression: "fieldValue[fieldData.name]"
4704
- }
4705
- ],
4706
- staticClass: "regular",
4707
- attrs: {
4708
- name: _vm.sectionId + "[" + _vm.fieldData.name + "]",
4709
- id: _vm.sectionId + "[" + _vm.fieldData.name + "]"
4710
- },
4711
- on: {
4712
- change: function($event) {
4713
- var $$selectedVal = Array.prototype.filter
4714
- .call($event.target.options, function(o) {
4715
- return o.selected
4716
- })
4717
- .map(function(o) {
4718
- var val = "_value" in o ? o._value : o.value
4719
- return val
4720
- })
4721
- _vm.$set(
4722
- _vm.fieldValue,
4723
- _vm.fieldData.name,
4724
- $event.target.multiple ? $$selectedVal : $$selectedVal[0]
4725
- )
4726
- }
4727
- }
4728
- },
4729
- _vm._l(_vm.fieldData.options, function(optionVal, optionKey) {
4730
- return _c("option", {
4731
- domProps: { value: optionKey, innerHTML: _vm._s(optionVal) }
4732
  })
4733
- })
4734
- ),
4735
  _vm._v(" "),
4736
- _c("p", {
4737
- staticClass: "description",
4738
- domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
4739
- })
4740
- ])
4741
- ])
4742
- : _vm._e(),
4743
- _vm._v(" "),
4744
- "file" == _vm.fieldData.type
4745
- ? _c("tr", { class: _vm.id }, [
4746
- _c("th", { attrs: { scope: "row" } }, [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4747
  _c(
4748
- "label",
4749
  {
4750
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
 
4751
  },
4752
- [_vm._v(_vm._s(_vm.fieldData.label))]
 
 
 
 
 
 
 
 
4753
  )
4754
- ]),
4755
- _vm._v(" "),
4756
- _c("td", [
4757
- _c("input", {
4758
- directives: [
4759
- {
4760
- name: "model",
4761
- rawName: "v-model",
4762
- value: _vm.fieldValue[_vm.fieldData.name],
4763
- expression: "fieldValue[fieldData.name]"
4764
- }
4765
- ],
4766
- staticClass: "regular-text wpsa-url",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4767
  attrs: {
4768
- type: "text",
4769
- id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
4770
- name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
4771
  },
4772
- domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
4773
- on: {
4774
- input: function($event) {
4775
- if ($event.target.composing) {
4776
- return
4777
- }
4778
- _vm.$set(
4779
- _vm.fieldValue,
4780
- _vm.fieldData.name,
4781
- $event.target.value
4782
  )
4783
- }
4784
  }
4785
  }),
4786
- _vm._v(" "),
4787
- _c("input", {
4788
- staticClass: "button wpsa-browse",
4789
- attrs: { type: "button", value: "Choose File" },
4790
- on: {
4791
- click: function($event) {
4792
- $event.preventDefault()
4793
- _vm.$emit(
4794
- "openMedia",
4795
- { sectionId: _vm.sectionId, name: _vm.fieldData.name },
4796
- $event
 
 
 
 
 
 
 
 
 
 
 
4797
  )
4798
- }
4799
  }
4800
  }),
4801
- _vm._v(" "),
4802
- _c("p", {
4803
- staticClass: "description",
4804
- domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
4805
- })
4806
- ])
4807
- ])
4808
- : _vm._e(),
4809
- _vm._v(" "),
4810
- "color" == _vm.fieldData.type
4811
- ? _c("tr", { class: _vm.id }, [
4812
- _c("th", { attrs: { scope: "row" } }, [
4813
- _c(
4814
- "label",
4815
- {
4816
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4817
- },
4818
- [_vm._v(_vm._s(_vm.fieldData.label))]
4819
- )
4820
- ]),
4821
- _vm._v(" "),
4822
- _c(
4823
- "td",
4824
- [
4825
- _c("color-picker", {
4826
- model: {
4827
- value: _vm.fieldValue[_vm.fieldData.name],
4828
- callback: function($$v) {
4829
- _vm.$set(_vm.fieldValue, _vm.fieldData.name, $$v)
4830
- },
4831
- expression: "fieldValue[fieldData.name]"
4832
- }
4833
- }),
4834
- _vm._v(" "),
4835
- _c("p", {
4836
- staticClass: "description",
4837
- domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
4838
- })
4839
- ],
4840
- 1
4841
- )
4842
- ])
4843
- : _vm._e(),
4844
- _vm._v(" "),
4845
- "html" == _vm.fieldData.type
4846
- ? _c("tr", { class: _vm.id }, [
4847
- _c("th", { attrs: { scope: "row" } }, [
4848
- _c(
4849
- "label",
4850
- {
4851
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4852
  },
4853
- [_vm._v(_vm._s(_vm.fieldData.label))]
4854
- )
4855
- ]),
4856
- _vm._v(" "),
4857
- _c("td", [
4858
- _c("p", {
4859
- staticClass: "description",
4860
- domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
 
 
 
4861
  })
4862
- ])
4863
- ])
4864
- : _vm._e(),
4865
- _vm._v(" "),
4866
- "radio_image" == _vm.fieldData.type
4867
- ? _c("tr", { class: _vm.id }, [
4868
- _c("th", { attrs: { scope: "row" } }, [
4869
- _c(
4870
- "label",
4871
- {
4872
- attrs: { for: _vm.sectionId + "[" + _vm.fieldData.name + "]" }
4873
- },
4874
- [_vm._v(_vm._s(_vm.fieldData.label))]
4875
- )
4876
- ]),
4877
- _vm._v(" "),
4878
- _c("td", [
4879
- _c(
4880
- "div",
4881
- { staticClass: "radio-image-container" },
4882
- [
4883
- _vm._l(_vm.fieldData.options, function(image, name) {
4884
- return [
4885
- _c(
4886
- "label",
4887
- {
4888
- staticClass: "radio-image",
4889
- class: {
4890
- active: _vm.fieldValue[_vm.fieldData.name] === name,
4891
- "not-active":
4892
- _vm.fieldValue[_vm.fieldData.name] !== name
4893
- }
4894
- },
4895
- [
4896
- _c("input", {
4897
- directives: [
4898
- {
4899
- name: "model",
4900
- rawName: "v-model",
4901
- value: _vm.fieldValue[_vm.fieldData.name],
4902
- expression: "fieldValue[fieldData.name]"
4903
- }
4904
- ],
4905
- staticClass: "radio",
4906
- attrs: { type: "radio", name: _vm.fieldData.name },
4907
- domProps: {
4908
- value: name,
4909
- checked: _vm._q(
4910
- _vm.fieldValue[_vm.fieldData.name],
4911
- name
4912
- )
4913
- },
4914
- on: {
4915
- change: function($event) {
4916
- _vm.$set(_vm.fieldValue, _vm.fieldData.name, name)
4917
- }
4918
- }
4919
- }),
4920
- _vm._v(" "),
4921
- _c(
4922
- "span",
4923
- { staticClass: "current-option-indicator" },
4924
  [
4925
- _c("span", {
4926
- staticClass: "dashicons dashicons-yes"
4927
- }),
4928
- _vm._v(" " + _vm._s(_vm.__("Active", "dokan-lite")))
4929
- ]
4930
- ),
4931
- _vm._v(" "),
4932
- _c("img", { attrs: { src: image } }),
4933
- _vm._v(" "),
4934
- _c("span", { staticClass: "active-option" }, [
4935
- _c(
4936
- "button",
4937
- {
4938
- staticClass: "button button-primary button-hero",
4939
- attrs: { type: "button" },
4940
- on: {
4941
- click: function($event) {
4942
- $event.preventDefault()
4943
- _vm.fieldValue[_vm.fieldData.name] = name
4944
- }
4945
- }
4946
- },
4947
- [
4948
- _vm._v(
4949
- "\n " +
4950
- _vm._s(_vm.__("Select", "dokan-lite")) +
4951
- "\n "
4952
  )
4953
- ]
 
 
 
 
 
 
 
 
 
4954
  )
4955
  ])
4956
- ]
4957
- )
4958
- ]
4959
- })
4960
- ],
4961
- 2
4962
- )
4963
- ])
4964
- ])
4965
- : _vm._e()
4966
- ])
4967
- }
4968
- var staticRenderFns = []
4969
- render._withStripped = true
4970
- var esExports = { render: render, staticRenderFns: staticRenderFns }
4971
- /* harmony default export */ __webpack_exports__["a"] = (esExports);
4972
- if (false) {
4973
- module.hot.accept()
4974
- if (module.hot.data) {
4975
- require("vue-hot-reload-api") .rerender("data-v-a96ce32e", esExports)
4976
- }
4977
- }
4978
-
4979
- /***/ }),
4980
- /* 106 */
4981
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4982
-
4983
- "use strict";
4984
- var render = function() {
4985
- var _vm = this
4986
- var _h = _vm.$createElement
4987
- var _c = _vm._self._c || _h
4988
- return _c("div", { staticClass: "dokan-settings" }, [
4989
- _c("h2", { staticStyle: { "margin-bottom": "15px" } }, [
4990
- _vm._v(_vm._s(_vm.__("Settings", "dokan-lite")))
4991
- ]),
4992
- _vm._v(" "),
4993
- _vm.isSaved
4994
- ? _c(
4995
- "div",
4996
- {
4997
- staticClass: "settings-error notice is-dismissible",
4998
- class: { updated: _vm.isUpdated, error: !_vm.isUpdated },
4999
- attrs: { id: "setting-message_updated" }
5000
  },
5001
- [
5002
- _c("p", [
5003
- _c("strong", { domProps: { innerHTML: _vm._s(_vm.message) } })
5004
- ]),
5005
- _vm._v(" "),
5006
- _c(
5007
- "button",
5008
- {
5009
- staticClass: "notice-dismiss",
5010
- attrs: { type: "button" },
5011
- on: {
5012
- click: function($event) {
5013
- $event.preventDefault()
5014
- _vm.isSaved = false
5015
- }
5016
- }
5017
- },
5018
- [
5019
- _c("span", { staticClass: "screen-reader-text" }, [
5020
- _vm._v(_vm._s(_vm.__("Dismiss this notice.", "dokan-lite")))
5021
  ])
5022
  ]
5023
- )
5024
- ]
5025
- )
5026
- : _vm._e(),
5027
- _vm._v(" "),
5028
- _c("div", { staticClass: "dokan-settings-wrap" }, [
5029
- _c(
5030
- "h2",
5031
- { staticClass: "nav-tab-wrapper" },
5032
- [
5033
- _vm._l(_vm.settingSections, function(section) {
5034
- return [
5035
- _c(
5036
- "a",
5037
- {
5038
- staticClass: "nav-tab",
5039
- class: { "nav-tab-active": _vm.currentTab === section.id },
5040
- attrs: { href: "#", id: "dokan_general-tab" },
5041
- on: {
5042
- click: function($event) {
5043
- $event.preventDefault()
5044
- _vm.changeTab(section)
5045
- }
5046
- }
5047
- },
5048
- [
5049
- _c("span", { staticClass: "dashicons", class: section.icon }),
5050
- _vm._v(" " + _vm._s(section.title))
5051
- ]
5052
- )
5053
- ]
5054
- })
5055
- ],
5056
- 2
5057
- ),
5058
- _vm._v(" "),
5059
- _c(
5060
- "div",
5061
- { staticClass: "metabox-holder" },
5062
- [
5063
- _vm._l(_vm.settingFields, function(fields, index) {
5064
- return _vm.isLoaded
5065
- ? [
5066
- _c(
5067
- "div",
5068
- {
5069
- directives: [
5070
- {
5071
- name: "show",
5072
- rawName: "v-show",
5073
- value: _vm.currentTab === index,
5074
- expression: "currentTab===index"
5075
- }
5076
- ],
5077
- staticClass: "group",
5078
- attrs: { id: index }
5079
- },
5080
- [
5081
- _c(
5082
- "form",
5083
- { attrs: { method: "post", action: "options.php" } },
5084
- [
5085
- _c("input", {
5086
- attrs: { type: "hidden", name: "option_page" },
5087
- domProps: { value: index }
5088
- }),
5089
- _vm._v(" "),
5090
- _c("input", {
5091
  attrs: {
5092
- type: "hidden",
5093
- name: "action",
5094
- value: "update"
 
5095
  }
5096
- }),
5097
- _vm._v(" "),
5098
- _c("h2", [
5099
- _vm._v(_vm._s(_vm.showSectionTitle(index)))
5100
- ]),
5101
- _vm._v(" "),
5102
- _c("table", { staticClass: "form-table" }, [
5103
- _c(
5104
- "tbody",
5105
- _vm._l(fields, function(field, fieldId) {
5106
- return _c("fields", {
5107
- key: fieldId,
5108
- attrs: {
5109
- "section-id": index,
5110
- id: fieldId,
5111
- "field-data": field,
5112
- "field-value": _vm.settingValues[index]
5113
- },
5114
- on: { openMedia: _vm.showMedia }
5115
- })
5116
- })
5117
  )
5118
- ]),
5119
- _vm._v(" "),
5120
- _c("p", { staticClass: "submit" }, [
5121
- _c("input", {
5122
- staticClass: "button button-primary",
5123
- attrs: {
5124
- type: "submit",
5125
- name: "submit",
5126
- id: "submit",
5127
- value: "Save Changes"
5128
- },
5129
- on: {
5130
- click: function($event) {
5131
- $event.preventDefault()
5132
- _vm.saveSettings(
5133
- _vm.settingValues[index],
5134
- index
5135
- )
5136
- }
5137
- }
5138
- })
5139
- ])
5140
- ]
5141
- )
5142
- ]
5143
- )
5144
- ]
5145
- : _vm._e()
5146
- })
5147
- ],
5148
- 2
5149
- ),
5150
  _vm._v(" "),
5151
- _vm.showLoading
5152
- ? _c("div", { staticClass: "loading" }, [_c("loading")], 1)
5153
  : _vm._e()
5154
- ])
5155
- ])
 
5156
  }
5157
  var staticRenderFns = []
5158
  render._withStripped = true
@@ -5161,20 +10658,15 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
5161
  if (false) {
5162
  module.hot.accept()
5163
  if (module.hot.data) {
5164
- require("vue-hot-reload-api") .rerender("data-v-e4dc4572", esExports)
5165
  }
5166
  }
5167
 
5168
  /***/ }),
5169
- /* 107 */
5170
- /***/ (function(module, exports, __webpack_require__) {
5171
 
5172
  "use strict";
5173
-
5174
-
5175
- Object.defineProperty(exports, "__esModule", {
5176
- value: true
5177
- });
5178
  /**
5179
  * As we are using hash based navigation, hack fix
5180
  * to highlight the current selected menu
@@ -5182,33 +10674,29 @@ Object.defineProperty(exports, "__esModule", {
5182
  * Requires jQuery
5183
  */
5184
  function menuFix(slug) {
5185
- var $ = jQuery;
5186
-
5187
- var menuRoot = $('#toplevel_page_' + slug);
5188
- var currentUrl = window.location.href;
5189
- var currentPath = currentUrl.substr(currentUrl.indexOf('admin.php'));
5190
-
5191
- menuRoot.on('click', 'a', function () {
5192
- var self = $(this);
5193
-
5194
- $('ul.wp-submenu li', menuRoot).removeClass('current');
5195
-
5196
- if (self.hasClass('wp-has-submenu')) {
5197
- $('li.wp-first-item', menuRoot).addClass('current');
5198
- } else {
5199
- self.parents('li').addClass('current');
5200
- }
5201
- });
5202
-
5203
- $('ul.wp-submenu a', menuRoot).each(function (index, el) {
5204
- if ($(el).attr('href') === currentPath) {
5205
- $(el).parent().addClass('current');
5206
- return;
5207
- }
5208
- });
5209
  }
5210
 
5211
- exports.default = menuFix;
5212
 
5213
  /***/ })
5214
- ],[53]);
1
+ dokanWebpack([1],[
2
  /* 0 */,
3
  /* 1 */,
4
  /* 2 */,
6
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7
 
8
  "use strict";
9
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Switches_vue__ = __webpack_require__(9);
10
+ /* unused harmony namespace reexport */
11
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_aa8ad7dc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Switches_vue__ = __webpack_require__(27);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  var disposed = false
13
+ function injectStyle (ssrContext) {
14
+ if (disposed) return
15
+ __webpack_require__(26)
16
+ }
17
  var normalizeComponent = __webpack_require__(0)
18
  /* script */
19
 
20
 
21
  /* template */
22
+
23
  /* template functional */
24
  var __vue_template_functional__ = false
25
  /* styles */
26
+ var __vue_styles__ = injectStyle
27
  /* scopeId */
28
  var __vue_scopeId__ = null
29
  /* moduleIdentifier (server only) */
30
  var __vue_module_identifier__ = null
31
  var Component = normalizeComponent(
32
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Switches_vue__["a" /* default */],
33
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_aa8ad7dc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Switches_vue__["a" /* default */],
34
  __vue_template_functional__,
35
  __vue_styles__,
36
  __vue_scopeId__,
37
  __vue_module_identifier__
38
  )
39
+ Component.options.__file = "src/admin/components/Switches.vue"
40
 
41
  /* hot reload */
42
  if (false) {(function () {
45
  if (!hotAPI.compatible) return
46
  module.hot.accept()
47
  if (!module.hot.data) {
48
+ hotAPI.createRecord("data-v-aa8ad7dc", Component.options)
49
  } else {
50
+ hotAPI.reload("data-v-aa8ad7dc", Component.options)
51
  }
52
  module.hot.dispose(function (data) {
53
  disposed = true
54
  })
55
  })()}
56
 
57
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
58
 
59
 
60
  /***/ }),
61
+ /* 4 */,
62
+ /* 5 */,
63
+ /* 6 */
64
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
65
+
66
+ "use strict";
67
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_chartjs__ = __webpack_require__(14);
68
+
69
+ /* harmony default export */ __webpack_exports__["a"] = ({
70
+ extends: __WEBPACK_IMPORTED_MODULE_0_vue_chartjs__["Line"],
71
+ props: ['data'],
72
+ data: function data() {
73
+ return {
74
+ options: {
75
+ responsive: true,
76
+ maintainAspectRatio: false,
77
+ scales: {
78
+ xAxes: [{
79
+ type: 'time',
80
+ scaleLabel: {
81
+ display: false
82
+ },
83
+ gridLines: {
84
+ display: false
85
+ },
86
+ ticks: {
87
+ fontColor: '#aaa',
88
+ fontSize: 11
89
+ }
90
+ }],
91
+ yAxes: [{
92
+ scaleLabel: {
93
+ display: false
94
+ },
95
+ ticks: {
96
+ fontColor: '#aaa'
97
+ }
98
+ }]
99
+ },
100
+ legend: {
101
+ position: 'top',
102
+ onClick: false
103
+ },
104
+ elements: {
105
+ line: {
106
+ tension: 0,
107
+ borderWidth: 4
108
+ },
109
+ point: {
110
+ radius: 5,
111
+ borderWidth: 3,
112
+ backgroundColor: '#fff',
113
+ borderColor: '#fff'
114
+ }
115
+ },
116
+ tooltips: {
117
+ displayColors: false,
118
+ callbacks: {
119
+ label: function label(tooltipItems, data) {
120
+ var label = data.datasets[tooltipItems.datasetIndex].label || '';
121
+ var customLabel = data.datasets[tooltipItems.datasetIndex].tooltipLabel || '';
122
+ var prefix = data.datasets[tooltipItems.datasetIndex].tooltipPrefix || '';
123
+ var tooltipLabel = customLabel ? customLabel + ': ' : label + ': ';
124
+ tooltipLabel += prefix + tooltipItems.yLabel;
125
+ return tooltipLabel;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ };
131
+ },
132
+ mounted: function mounted() {
133
+ this.renderChart(this.data, this.options);
134
+ }
135
+ });
136
+
137
+ /***/ }),
138
+ /* 7 */
139
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
140
 
141
  "use strict";
142
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_color_src_components_Sketch_vue__ = __webpack_require__(51);
143
+ //
144
+ //
145
+ //
146
+ //
147
+ //
148
+ //
149
+ //
150
+ //
151
+ //
152
+ //
153
+ //
154
+ //
155
+ //
156
+ //
157
+ //
158
+ //
159
+ //
160
+ //
161
+ //
162
+ //
163
+ //
164
+ //
165
+ //
166
+ //
167
+ //
168
+ //
169
+ //
170
+ //
171
+ //
172
+ //
173
+ //
174
+ //
175
+ //
176
+ //
177
+ //
178
+ //
179
+ //
180
  //
181
  //
182
  //
186
  //
187
 
188
  /* harmony default export */ __webpack_exports__["a"] = ({
189
+ components: {
190
+ Sketch: __WEBPACK_IMPORTED_MODULE_0_vue_color_src_components_Sketch_vue__["a" /* default */]
191
+ },
192
+ props: {
193
+ value: {
194
+ type: String,
195
+ required: true,
196
+ default: ''
197
+ },
198
+ format: {
199
+ type: String,
200
+ required: false,
201
+ default: 'hex',
202
+ validator: function validator(type) {
203
+ return ['hsl', 'hex', 'rgba', 'hsv'].indexOf(type) !== -1;
204
+ }
205
+ },
206
+ presetColors: {
207
+ type: Array,
208
+ required: false,
209
+ default: function _default() {
210
+ return ['#000', '#fff', '#d33', '#d93', '#ee2', '#81d742', '#1e73be', '#8224e3'];
211
+ }
212
+ },
213
+ disableAlpha: {
214
+ type: Boolean,
215
+ required: false,
216
+ default: true
217
+ },
218
+ disableFields: {
219
+ type: Boolean,
220
+ required: false,
221
+ default: true
222
+ }
223
+ },
224
+ data: function data() {
225
+ return {
226
+ showColorPicker: false
227
+ };
228
+ },
229
+ methods: {
230
+ updateColor: function updateColor(colors) {
231
+ var color = '';
232
+
233
+ if (colors[this.format]) {
234
+ color = colors[this.format];
235
+ }
236
+
237
+ this.$emit('input', color);
238
+ },
239
+ toggleColorPicker: function toggleColorPicker() {
240
+ this.showColorPicker = !this.showColorPicker;
241
+ },
242
+ setHexColor: function setHexColor(color) {
243
+ this.updateColor({
244
+ hex: color
245
+ });
246
+ }
247
+ }
248
  });
249
 
250
  /***/ }),
251
+ /* 8 */
252
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
253
 
254
  "use strict";
255
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_debounce__ = __webpack_require__(2);
256
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_debounce___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_debounce__);
257
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_admin_components_Switches_vue__ = __webpack_require__(3);
258
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_admin_components_UploadImage_vue__ = __webpack_require__(15);
259
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_admin_components_PasswordGenerator_vue__ = __webpack_require__(16);
260
+ //
261
+ //
262
+ //
263
+ //
264
+ //
265
+ //
266
+ //
267
+ //
268
+ //
269
+ //
270
+ //
271
+ //
272
+ //
273
+ //
274
+ //
275
+ //
276
+ //
277
+ //
278
+ //
279
+ //
280
+ //
281
+ //
282
  //
283
  //
284
  //
390
  //
391
  //
392
 
 
 
393
 
394
 
395
 
396
  /* harmony default export */ __webpack_exports__["a"] = ({
397
+ name: 'VendorAccountFields',
398
+ components: {
399
+ Switches: __WEBPACK_IMPORTED_MODULE_1_admin_components_Switches_vue__["a" /* default */],
400
+ UploadImage: __WEBPACK_IMPORTED_MODULE_2_admin_components_UploadImage_vue__["a" /* default */],
401
+ PasswordGenerator: __WEBPACK_IMPORTED_MODULE_3_admin_components_PasswordGenerator_vue__["a" /* default */]
402
+ },
403
+ props: {
404
+ vendorInfo: {
405
+ type: Object
406
+ },
407
+ errors: {
408
+ type: Array,
409
+ required: false
410
+ }
411
+ },
412
+ data: function data() {
413
+ return {
414
+ showStoreUrl: true,
415
+ showPassword: false,
416
+ otherStoreUrl: null,
417
+ banner: '',
418
+ defaultUrl: dokan.urls.siteUrl + dokan.urls.storePrefix + '/',
419
+ showButton: true,
420
+ placeholderData: '',
421
+ delay: 500,
422
+ storeAvailable: null,
423
+ userNameAvailable: null,
424
+ emailAvailable: null,
425
+ storeAvailabilityText: '',
426
+ userNameAvailabilityText: '',
427
+ emailAvailabilityText: '',
428
+ getAccountFields: dokan.hooks.applyFilters('getVendorAccountFields', [])
429
+ };
430
+ },
431
+ watch: {
432
+ 'vendorInfo.store_name': function vendorInfoStore_name(value) {
433
+ this.showStoreUrl = true;
434
+ },
435
+ 'vendorInfo.user_nicename': function vendorInfoUser_nicename(newValue) {
436
+ if (typeof newValue !== 'undefined') {
437
+ this.showStoreUrl = false;
438
+ this.otherStoreUrl = this.defaultUrl + newValue.trim().split(' ').join('-');
439
+ this.vendorInfo.user_nicename = newValue.split(' ').join('-'); // check if the typed url is available
440
+
441
+ this.checkStoreName();
442
+ }
443
+ },
444
+ 'vendorInfo.user_login': function vendorInfoUser_login(value) {
445
+ this.checkUsername();
446
+ },
447
+ 'vendorInfo.user_email': function vendorInfoUser_email(value) {
448
+ this.checkEmail();
449
+ }
450
+ },
451
+ computed: {
452
+ storeUrl: function storeUrl() {
453
+ var storeUrl = this.vendorInfo.store_name.trim().split(' ').join('-');
454
+ this.vendorInfo.user_nicename = storeUrl;
455
+ this.otherStoreUrl = this.defaultUrl + storeUrl;
456
+ return this.defaultUrl + storeUrl;
457
+ }
458
+ },
459
+ created: function created() {
460
+ var _this = this;
461
+
462
+ this.checkStoreName = Object(__WEBPACK_IMPORTED_MODULE_0_debounce__["debounce"])(this.checkStore, this.delay);
463
+ this.checkUsername = Object(__WEBPACK_IMPORTED_MODULE_0_debounce__["debounce"])(this.searchUsername, this.delay);
464
+ this.checkEmail = Object(__WEBPACK_IMPORTED_MODULE_0_debounce__["debounce"])(this.searchEmail, this.delay);
465
+ this.$root.$on('passwordCancelled', function () {
466
+ _this.showPassword = false;
467
+ });
468
+ },
469
+ methods: {
470
+ uploadBanner: function uploadBanner(image) {
471
+ this.vendorInfo.banner_id = image.id; // hide button and footer text after uploading banner
472
 
473
+ this.showButton = false;
 
 
 
 
 
474
  },
475
+ uploadGravatar: function uploadGravatar(image) {
476
+ this.vendorInfo.gravatar_id = image.id;
477
+ },
478
+ // getId function has been used to identify whether is it vendor edit page or not
479
+ getId: function getId() {
480
+ return this.$route.params.id;
481
+ },
482
+ onSelectBanner: function onSelectBanner(image) {
483
+ this.banner = image.url;
484
+ this.vendorInfo.banner_id = image.id;
485
+ },
486
+ getError: function getError(key) {
487
+ var errors = this.errors;
488
 
489
+ if (!errors || typeof errors === 'undefined') {
490
+ return false;
491
+ }
492
+
493
+ if (errors.length < 1) {
494
+ return false;
495
+ }
496
+
497
+ if (errors.includes(key)) {
498
+ return key;
499
+ }
500
  },
501
+ checkStore: function checkStore() {
502
+ var _this2 = this;
503
+
504
+ var storeName = this.vendorInfo.user_nicename;
505
 
506
+ if (!storeName) {
507
+ return;
508
+ }
509
+
510
+ this.storeAvailabilityText = this.__('Searching...', 'dokan-lite');
511
+ dokan.api.get("/stores/check", {
512
+ store_slug: storeName
513
+ }).then(function (response) {
514
+ if (response.available) {
515
+ _this2.storeAvailable = true;
516
+
517
+ _this2.$root.$emit('vendorInfoChecked', {
518
+ userNameAvailable: _this2.userNameAvailable,
519
+ storeAvailable: _this2.storeAvailable,
520
+ emailAvailable: _this2.emailAvailable
521
+ });
522
+
523
+ _this2.storeAvailabilityText = _this2.__('Available', 'dokan-lite');
524
+ } else {
525
+ _this2.storeAvailable = false;
526
+
527
+ _this2.$root.$emit('vendorInfoChecked', {
528
+ userNameAvailable: _this2.userNameAvailable,
529
+ storeAvailable: _this2.storeAvailable,
530
+ emailAvailable: _this2.emailAvailable
531
+ });
532
+
533
+ _this2.storeAvailabilityText = _this2.__('Not Available', 'dokan-lite');
534
+ }
535
+ });
536
  },
537
+ searchUsername: function searchUsername() {
538
+ var _this3 = this;
539
 
540
+ var userName = this.vendorInfo.user_login;
541
 
542
+ if (!userName) {
543
+ return;
544
+ }
 
 
545
 
546
+ this.userNameAvailabilityText = this.__('Searching...', 'dokan-lite');
547
+ dokan.api.get("/stores/check", {
548
+ username: userName
549
+ }).then(function (response) {
550
+ if (response.available) {
551
+ _this3.userNameAvailable = true;
552
 
553
+ _this3.$root.$emit('vendorInfoChecked', {
554
+ userNameAvailable: _this3.userNameAvailable,
555
+ storeAvailable: _this3.storeAvailable,
556
+ emailAvailable: _this3.emailAvailable
557
+ });
558
 
559
+ _this3.userNameAvailabilityText = _this3.__('Available', 'dokan-lite');
560
+ } else {
561
+ _this3.userNameAvailable = false;
 
562
 
563
+ _this3.$root.$emit('vendorInfoChecked', {
564
+ userNameAvailable: _this3.userNameAvailable,
565
+ storeAvailable: _this3.storeAvailable,
566
+ emailAvailable: _this3.emailAvailable
567
+ });
568
 
569
+ _this3.userNameAvailabilityText = _this3.__('Not Available', 'dokan-lite');
570
+ }
571
+ });
572
+ },
573
+ searchEmail: function searchEmail() {
574
+ var _this4 = this;
575
 
576
+ var userEmail = this.vendorInfo.user_email;
577
 
578
+ if (!userEmail) {
579
+ return;
580
+ }
581
+
582
+ this.emailAvailabilityText = this.__('Searching...', 'dokan-lite');
583
+ dokan.api.get("/stores/check", {
584
+ user_email: userEmail
585
+ }).then(function (response) {
586
+ if (response.available) {
587
+ _this4.emailAvailable = true;
588
+
589
+ _this4.$root.$emit('vendorInfoChecked', {
590
+ userNameAvailable: _this4.userNameAvailable,
591
+ storeAvailable: _this4.storeAvailable,
592
+ emailAvailable: _this4.emailAvailable
593
+ });
594
+
595
+ _this4.emailAvailabilityText = _this4.__('Available', 'dokan-lite');
596
+ } else {
597
+ _this4.emailAvailable = false;
598
+
599
+ _this4.$root.$emit('vendorInfoChecked', {
600
+ userNameAvailable: _this4.userNameAvailable,
601
+ storeAvailable: _this4.storeAvailable,
602
+ emailAvailable: _this4.emailAvailable
603
+ });
604
+
605
+ _this4.emailAvailabilityText = response.message ? response.message : _this4.__('This email is already registered, please choose another one.', 'dokan-lite');
606
  }
607
+ });
608
+ },
609
+ setPassword: function setPassword(password) {
610
+ this.showPassword = true;
611
+ this.vendorInfo.user_pass = password;
612
+ },
613
+ sendEmail: function sendEmail(status, key) {
614
+ if ('notify_vendor' !== key) {
615
+ return;
616
+ }
617
+
618
+ this.vendorInfo.notify_vendor = status;
619
+ },
620
+ getUploadBannerText: function getUploadBannerText() {
621
+ var width = dokan.store_banner_dimension.width;
622
+ var height = dokan.store_banner_dimension.height;
623
+ return this.__("Upload banner for your store. Banner size is (".concat(width, "x").concat(height, ") pixels."), 'dokan-lite');
624
  }
625
+ }
626
  });
627
 
628
  /***/ }),
629
+ /* 9 */
630
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
631
 
632
  "use strict";
637
  //
638
  //
639
  //
640
+ /* harmony default export */ __webpack_exports__["a"] = ({
641
+ name: 'Switches',
642
+ props: {
643
+ enabled: {
644
+ type: Boolean,
645
+ // String, Number, Boolean, Function, Object, Array
646
+ required: true,
647
+ default: false
648
+ },
649
+ value: {
650
+ type: [String, Number]
651
+ }
652
+ },
653
+ data: function data() {
654
+ return {};
655
+ },
656
+ methods: {
657
+ trigger: function trigger(e) {
658
+ this.$emit('input', e.target.checked, e.target.value);
659
+ }
660
+ }
661
+ });
662
+
663
+ /***/ }),
664
+ /* 10 */
665
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
666
+
667
+ "use strict";
668
  //
669
  //
670
  //
675
  //
676
  //
677
  //
678
+ /* harmony default export */ __webpack_exports__["a"] = ({
679
+ name: 'UploadImage',
680
+ inheritAttrs: false,
681
+ props: {
682
+ src: {
683
+ default: dokan.urls.assetsUrl + '/images/store-pic.png'
684
+ },
685
+ showButton: {
686
+ type: Boolean,
687
+ default: false
688
+ },
689
+ buttonLabel: {
690
+ type: String,
691
+ default: 'Upload Image'
692
+ },
693
+ croppingWidth: {
694
+ type: Number
695
+ },
696
+ croppingHeight: {
697
+ type: Number
698
+ }
699
+ },
700
+ data: function data() {
701
+ return {
702
+ image: {
703
+ src: '',
704
+ id: ''
705
+ }
706
+ };
707
+ },
708
+ methods: {
709
+ uploadImage: function uploadImage() {
710
+ this.openMediaManager(this.onSelectImage);
711
+ },
712
+ onSelectImage: function onSelectImage(image) {
713
+ this.image.src = image.url;
714
+ this.image.id = image.id;
715
+ this.$emit('uploadedImage', this.image);
716
+ },
717
+
718
+ /**
719
+ * Open Image Media Uploader
720
+ *
721
+ * @param function callback
722
+ *
723
+ * @return callback
724
+ */
725
+ openMediaManager: function openMediaManager(callback) {
726
+ var self = this;
727
+
728
+ if (self.fileFrame) {
729
+ self.fileFrame.open();
730
+ return;
731
+ }
732
+
733
+ var fileStatesOptions = {
734
+ library: wp.media.query(),
735
+ multiple: false,
736
+ // set it true for multiple image
737
+ title: this.__('Select & Crop Image', 'dokan-lite'),
738
+ priority: 20,
739
+ filterable: 'uploaded',
740
+ autoSelect: true,
741
+ suggestedWidth: 500,
742
+ suggestedHeight: 300
743
+ };
744
+ var cropControl = {
745
+ id: "control-id",
746
+ params: {
747
+ width: this.croppingWidth ? parseInt(this.croppingWidth, 10) : parseInt(dokan.store_banner_dimension.width, 10),
748
+ height: this.croppingHeight ? parseInt(this.croppingHeight, 10) : parseInt(dokan.store_banner_dimension.height, 10),
749
+ flex_width: !!parseInt(dokan.store_banner_dimension['flex-width'], 10),
750
+ flex_height: !!parseInt(dokan.store_banner_dimension['flex-height'], 10)
751
+ }
752
+ };
753
+
754
+ cropControl.mustBeCropped = function (flexW, flexH, dstW, dstH, imgW, imgH) {
755
+ // If the width and height are both flexible
756
+ // then the user does not need to crop the image.
757
+ if (true === flexW && true === flexH) {
758
+ return false;
759
+ } // If the width is flexible and the cropped image height matches the current image height,
760
+ // then the user does not need to crop the image.
761
+
762
+
763
+ if (true === flexW && dstH === imgH) {
764
+ return false;
765
+ } // If the height is flexible and the cropped image width matches the current image width,
766
+ // then the user does not need to crop the image.
767
+
768
+
769
+ if (true === flexH && dstW === imgW) {
770
+ return false;
771
+ } // If the cropped image width matches the current image width,
772
+ // and the cropped image height matches the current image height
773
+ // then the user does not need to crop the image.
774
+
775
+
776
+ if (dstW === imgW && dstH === imgH) {
777
+ return false;
778
+ } // If the destination width is equal to or greater than the cropped image width
779
+ // then the user does not need to crop the image...
780
+
781
+
782
+ if (imgW <= dstW) {
783
+ return false;
784
+ }
785
+
786
+ return true;
787
+ };
788
+
789
+ var fileStates = [new wp.media.controller.Library(fileStatesOptions), new wp.media.controller.CustomizeImageCropper({
790
+ imgSelectOptions: self.calculateImageSelectOptions,
791
+ control: cropControl
792
+ })];
793
+ var mediaOptions = {
794
+ title: this.__('Select Image', 'dokan-lite'),
795
+ button: {
796
+ text: this.__('Select Image', 'dokan-lite'),
797
+ close: false
798
+ },
799
+ multiple: false
800
+ };
801
+ mediaOptions.states = fileStates;
802
+ self.fileFrame = wp.media(mediaOptions);
803
+ self.fileFrame.on('select', function () {
804
+ self.fileFrame.setState('cropper');
805
+ });
806
+ self.fileFrame.on('cropped', function (croppedImage) {
807
+ callback(croppedImage);
808
+ self.fileFrame = null;
809
+ });
810
+ self.fileFrame.on('skippedcrop', function () {
811
+ var selection = self.fileFrame.state().get('selection');
812
+ var files = selection.map(function (attachment) {
813
+ return attachment.toJSON();
814
+ });
815
+ var file = files.pop();
816
+ callback(file);
817
+ self.fileFrame = null;
818
+ });
819
+ self.fileFrame.on('close', function () {
820
+ self.fileFrame = null;
821
+ });
822
+ self.fileFrame.on('ready', function () {
823
+ self.fileFrame.uploader.options.uploader.params = {
824
+ type: 'dokan-vendor-option-media'
825
+ };
826
+ });
827
+ self.fileFrame.open();
828
+ },
829
+
830
+ /**
831
+ * Calculate image section options
832
+ *
833
+ * @param object attachment
834
+ * @param object controller
835
+ *
836
+ * @return object
837
+ */
838
+ calculateImageSelectOptions: function calculateImageSelectOptions(attachment, controller) {
839
+ var xInit = this.croppingWidth ? parseInt(this.croppingWidth, 10) : parseInt(dokan.store_banner_dimension.width, 10);
840
+ var yInit = this.croppingHeight ? parseInt(this.croppingHeight, 10) : parseInt(dokan.store_banner_dimension.height, 10);
841
+ var flexWidth = !!parseInt(dokan.store_banner_dimension['flex-width'], 10);
842
+ var flexHeight = !!parseInt(dokan.store_banner_dimension['flex-height'], 10);
843
+ var ratio, xImg, yImg, realHeight, realWidth, imgSelectOptions;
844
+ realWidth = attachment.get('width');
845
+ realHeight = attachment.get('height');
846
+ var control = controller.get('control');
847
+ controller.set('canSkipCrop', !control.mustBeCropped(flexWidth, flexHeight, xInit, yInit, realWidth, realHeight));
848
+ ratio = xInit / yInit;
849
+ xImg = realWidth;
850
+ yImg = realHeight;
851
+
852
+ if (xImg / yImg > ratio) {
853
+ yInit = yImg;
854
+ xInit = yInit * ratio;
855
+ } else {
856
+ xInit = xImg;
857
+ yInit = xInit / ratio;
858
+ }
859
+
860
+ imgSelectOptions = {
861
+ handles: true,
862
+ keys: true,
863
+ instance: true,
864
+ persistent: true,
865
+ imageWidth: realWidth,
866
+ imageHeight: realHeight,
867
+ x1: 0,
868
+ y1: 0,
869
+ x2: xInit,
870
+ y2: yInit
871
+ };
872
+
873
+ if (flexHeight === false && flexWidth === false) {
874
+ imgSelectOptions.aspectRatio = xInit + ':' + yInit;
875
+ }
876
+
877
+ if (flexHeight === false) {
878
+ imgSelectOptions.maxHeight = yInit;
879
+ }
880
+
881
+ if (flexWidth === false) {
882
+ imgSelectOptions.maxWidth = xInit;
883
+ }
884
+
885
+ return imgSelectOptions;
886
+ }
887
+ }
888
+ });
889
+
890
+ /***/ }),
891
+ /* 11 */
892
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
893
+
894
+ "use strict";
895
  //
896
  //
897
  //
910
  //
911
  //
912
  //
913
+ /* harmony default export */ __webpack_exports__["a"] = ({
914
+ name: 'PasswordGenerator',
915
+ props: {
916
+ title: {
917
+ type: String,
918
+ default: 'Generate Password'
919
+ },
920
+ cancelTitle: {
921
+ type: String,
922
+ default: 'Cancel'
923
+ },
924
+ regenrateTitle: {
925
+ type: String,
926
+ default: 'Regenrate'
927
+ },
928
+ length: {
929
+ type: Number,
930
+ default: 25
931
+ }
932
+ },
933
+ data: function data() {
934
+ return {
935
+ password: '',
936
+ hideGenerateButton: false,
937
+ showCancelButton: false
938
+ };
939
+ },
940
+ methods: {
941
+ generatePassword: function generatePassword() {
942
+ this.password = this.makePassword(this.length);
943
+ this.$emit('passwordGenerated', this.password);
944
+ this.hideGenerateButton = true;
945
+ this.showCancelButton = true;
946
+ },
947
+ makePassword: function makePassword() {
948
+ var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 25;
949
+ var lowerCaseChars = 'abcdefghijklmnopqurstuvwxyz';
950
+ var upperCaseChars = 'ABCDEFGHIJKLMNOPQURSTUVWXYZ';
951
+ var specialChars = '!@#$%^&*()';
952
+ var randomChars = '';
953
+
954
+ for (var i = 0; i <= len; i++) {
955
+ var mixUp = lowerCaseChars[Math.floor(Math.random() * len)] + upperCaseChars[Math.floor(Math.random() * 10)] + specialChars[Math.floor(Math.random() * specialChars.length)];
956
+ randomChars += mixUp;
957
+ }
958
+
959
+ return randomChars.slice(-len);
960
+ },
961
+ cancelButton: function cancelButton() {
962
+ this.hideGenerateButton = false;
963
+ this.showCancelButton = false;
964
+ this.$root.$emit('passwordCancelled');
965
+ },
966
+ regenratePassword: function regenratePassword() {
967
+ this.password = this.makePassword(this.length);
968
+ this.$emit('passwordGenerated', this.password);
969
+ }
970
+ }
971
+ });
972
+
973
+ /***/ }),
974
+ /* 12 */
975
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
976
+
977
+ "use strict";
978
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_multiselect__ = __webpack_require__(4);
979
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_multiselect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue_multiselect__);
980
+ //
981
+ //
982
+ //
983
+ //
984
+ //
985
  //
986
  //
987
  //
1033
  //
1034
  //
1035
 
1036
+ /* harmony default export */ __webpack_exports__["a"] = ({
1037
+ name: 'VendorAddressFields',
1038
+ components: {
1039
+ Multiselect: __WEBPACK_IMPORTED_MODULE_0_vue_multiselect__["Multiselect"]
1040
+ },
1041
+ props: {
1042
+ vendorInfo: {
1043
+ type: Object
1044
+ }
1045
+ },
1046
+ data: function data() {
1047
+ return {
1048
+ countries: [],
1049
+ states: [],
1050
+ selectedCountry: {},
1051
+ selectedState: {},
1052
+ getAddressFields: dokan.hooks.applyFilters('getVendorAddressFields', [])
1053
+ };
1054
+ },
1055
+ computed: {
1056
+ selectedCode: function selectedCode() {
1057
+ // let selected = this.selectedCountry;
1058
+ var selected = this.vendorInfo.address.country;
1059
+
1060
+ if ('' !== selected) {
1061
+ return selected;
1062
+ }
1063
+
1064
+ return [];
1065
+ }
1066
+ },
1067
+ created: function created() {
1068
+ this.countries = this.transformCountries(dokan.countries);
1069
+ this.states = dokan.states;
1070
+ var savedCountry = this.vendorInfo.address.country;
1071
+ var savedState = this.vendorInfo.address.state;
1072
+
1073
+ if ('' !== savedCountry) {
1074
+ this.selectedCountry = {
1075
+ name: this.getCountryFromCountryCode(savedCountry),
1076
+ code: savedCountry
1077
+ };
1078
+ this.selectedState = {
1079
+ name: this.getStateFromStateCode(savedState, savedCountry),
1080
+ code: savedState
1081
+ };
1082
+ }
1083
+ },
1084
+ methods: {
1085
+ transformCountries: function transformCountries(countryObject) {
1086
+ var countries = [];
1087
+
1088
+ for (var key in countryObject) {
1089
+ countries.push({
1090
+ name: countryObject[key],
1091
+ code: key
1092
+ });
1093
+ }
1094
+
1095
+ return countries;
1096
  },
1097
+ getCountryFromCountryCode: function getCountryFromCountryCode(countryCode) {
1098
+ if ('' === countryCode) {
1099
+ return;
1100
+ }
1101
 
1102
+ return dokan.countries[countryCode];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1103
  },
1104
+ getStateFromStateCode: function getStateFromStateCode(stateCode, countryCode) {
1105
+ if ('' === stateCode) {
1106
+ return;
1107
+ }
1108
+
1109
+ var states = dokan.states[countryCode];
1110
+ var state = states && states[stateCode];
1111
+ return typeof state !== 'undefined' ? state : [];
 
1112
  },
1113
+ getStatesFromCountryCode: function getStatesFromCountryCode(countryCode) {
1114
+ if ('' === countryCode) {
1115
+ return;
1116
+ }
1117
 
1118
+ var states = [];
1119
+ var statesObject = this.states;
 
 
 
 
 
 
1120
 
1121
+ for (var state in statesObject) {
1122
+ if (state !== countryCode) {
1123
+ continue;
1124
+ }
1125
 
1126
+ if (statesObject[state] && statesObject[state].length < 1) {
1127
+ continue;
1128
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1129
 
1130
+ for (var name in statesObject[state]) {
1131
+ states.push({
1132
+ name: statesObject[state][name],
1133
+ code: name
1134
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1135
  }
1136
+ }
1137
 
1138
+ return states;
 
1139
  },
1140
+ saveCountry: function saveCountry(value) {
1141
+ if (!value) return; // if reset default state values
1142
 
1143
+ this.vendorInfo.address.state = null;
1144
+ this.selectedState = {};
1145
+ this.vendorInfo.address.country = value.code;
1146
+ },
1147
+ saveState: function saveState(value) {
1148
+ if (!value) return;
1149
+ this.vendorInfo.address.state = value.code;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1150
  }
1151
+ }
1152
  });
1153
 
1154
  /***/ }),
1155
+ /* 13 */
1156
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1157
 
1158
  "use strict";
1159
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_admin_components_Switches_vue__ = __webpack_require__(3);
1160
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_multiselect__ = __webpack_require__(4);
1161
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_multiselect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue_multiselect__);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1162
  //
1163
  //
1164
  //
1276
  //
1277
 
1278
 
1279
+ /* harmony default export */ __webpack_exports__["a"] = ({
1280
+ name: 'VendorPaymentFields',
1281
+ components: {
1282
+ Switches: __WEBPACK_IMPORTED_MODULE_0_admin_components_Switches_vue__["a" /* default */],
1283
+ Multiselect: __WEBPACK_IMPORTED_MODULE_1_vue_multiselect__["Multiselect"]
1284
+ },
1285
+ props: {
1286
+ vendorInfo: {
1287
+ type: Object
1288
+ }
1289
+ },
1290
+ data: function data() {
1291
+ return {
1292
+ enabled: false,
1293
+ trusted: false,
1294
+ featured: false,
1295
+ commissionTypes: [this.__('Flat', 'dokan-lite'), this.__('Percentage', 'dokan-lite'), this.__('Combine', 'dokan-lite')],
1296
+ selectedCommissionType: this.__('Flat', 'dokan-lite'),
1297
+ getBankFields: dokan.hooks.applyFilters('getVendorBankFields', []),
1298
+ getPyamentFields: dokan.hooks.applyFilters('AfterPyamentFields', [])
1299
+ };
1300
+ },
1301
+ created: function created() {
1302
+ if (this.vendorInfo.enabled) {
1303
+ this.enabled = true;
1304
+ this.vendorInfo.enabled = true;
1305
+ }
1306
 
1307
+ if (this.vendorInfo.trusted) {
1308
+ this.trusted = true;
1309
+ this.vendorInfo.trusted = true;
1310
+ }
1311
 
1312
+ if (this.vendorInfo.featured) {
1313
+ this.featured = true;
1314
+ this.vendorInfo.featured = true;
1315
+ }
1316
 
1317
+ var commissionType = this.vendorInfo.admin_commission_type;
1318
 
1319
+ if (commissionType) {
1320
+ this.selectedCommissionType = commissionType.charAt(0).toUpperCase() + commissionType.slice(1);
1321
+ }
1322
+ },
1323
+ methods: {
1324
+ setValue: function setValue(status, key) {
1325
+ if ('enabled' === key) {
1326
+ if (status) {
1327
+ this.vendorInfo.enabled = true;
1328
+ } else {
1329
+ this.vendorInfo.enabled = false;
1330
+ }
1331
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1332
 
1333
+ if ('trusted' === key) {
1334
+ if (status) {
1335
+ this.vendorInfo.trusted = true;
1336
+ } else {
1337
+ this.vendorInfo.trusted = false;
1338
+ }
1339
+ }
1340
 
1341
+ if ('featured' === key) {
1342
+ if (status) {
1343
+ this.vendorInfo.featured = true;
1344
+ } else {
1345
+ this.vendorInfo.featured = false;
1346
  }
1347
+ }
1348
  },
1349
+ getId: function getId() {
1350
+ return this.$route.params.id;
1351
+ },
1352
+ saveCommissionType: function saveCommissionType(value) {
1353
+ if (!value) {
1354
+ this.vendorInfo.admin_commission_type = 'flat';
1355
+ }
1356
 
1357
+ this.vendorInfo.admin_commission_type = value.toLowerCase();
 
 
 
1358
  }
1359
+ }
1360
  });
1361
 
1362
  /***/ }),
1363
+ /* 14 */,
1364
+ /* 15 */
 
 
 
 
 
 
 
1365
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1366
 
1367
  "use strict";
1368
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_UploadImage_vue__ = __webpack_require__(10);
1369
+ /* unused harmony namespace reexport */
1370
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_40b3524c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_UploadImage_vue__ = __webpack_require__(29);
1371
+ var disposed = false
1372
+ function injectStyle (ssrContext) {
1373
+ if (disposed) return
1374
+ __webpack_require__(28)
1375
+ }
1376
+ var normalizeComponent = __webpack_require__(0)
1377
+ /* script */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1378
 
 
1379
 
1380
+ /* template */
 
 
 
1381
 
1382
+ /* template functional */
1383
+ var __vue_template_functional__ = false
1384
+ /* styles */
1385
+ var __vue_styles__ = injectStyle
1386
+ /* scopeId */
1387
+ var __vue_scopeId__ = null
1388
+ /* moduleIdentifier (server only) */
1389
+ var __vue_module_identifier__ = null
1390
+ var Component = normalizeComponent(
1391
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_UploadImage_vue__["a" /* default */],
1392
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_40b3524c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_UploadImage_vue__["a" /* default */],
1393
+ __vue_template_functional__,
1394
+ __vue_styles__,
1395
+ __vue_scopeId__,
1396
+ __vue_module_identifier__
1397
+ )
1398
+ Component.options.__file = "src/admin/components/UploadImage.vue"
1399
 
1400
+ /* hot reload */
1401
+ if (false) {(function () {
1402
+ var hotAPI = require("vue-hot-reload-api")
1403
+ hotAPI.install(require("vue"), false)
1404
+ if (!hotAPI.compatible) return
1405
+ module.hot.accept()
1406
+ if (!module.hot.data) {
1407
+ hotAPI.createRecord("data-v-40b3524c", Component.options)
1408
+ } else {
1409
+ hotAPI.reload("data-v-40b3524c", Component.options)
1410
+ }
1411
+ module.hot.dispose(function (data) {
1412
+ disposed = true
1413
+ })
1414
+ })()}
1415
 
1416
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
1417
 
 
 
 
 
 
 
 
1418
 
1419
  /***/ }),
1420
+ /* 16 */
1421
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1422
 
1423
  "use strict";
1424
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_PasswordGenerator_vue__ = __webpack_require__(11);
1425
+ /* unused harmony namespace reexport */
1426
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4084a478_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_PasswordGenerator_vue__ = __webpack_require__(30);
1427
+ var disposed = false
1428
+ var normalizeComponent = __webpack_require__(0)
1429
+ /* script */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1430
 
 
1431
 
1432
+ /* template */
1433
 
1434
+ /* template functional */
1435
+ var __vue_template_functional__ = false
1436
+ /* styles */
1437
+ var __vue_styles__ = null
1438
+ /* scopeId */
1439
+ var __vue_scopeId__ = null
1440
+ /* moduleIdentifier (server only) */
1441
+ var __vue_module_identifier__ = null
1442
+ var Component = normalizeComponent(
1443
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_PasswordGenerator_vue__["a" /* default */],
1444
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4084a478_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_PasswordGenerator_vue__["a" /* default */],
1445
+ __vue_template_functional__,
1446
+ __vue_styles__,
1447
+ __vue_scopeId__,
1448
+ __vue_module_identifier__
1449
+ )
1450
+ Component.options.__file = "src/admin/components/PasswordGenerator.vue"
1451
 
1452
+ /* hot reload */
1453
+ if (false) {(function () {
1454
+ var hotAPI = require("vue-hot-reload-api")
1455
+ hotAPI.install(require("vue"), false)
1456
+ if (!hotAPI.compatible) return
1457
+ module.hot.accept()
1458
+ if (!module.hot.data) {
1459
+ hotAPI.createRecord("data-v-4084a478", Component.options)
1460
+ } else {
1461
+ hotAPI.reload("data-v-4084a478", Component.options)
1462
+ }
1463
+ module.hot.dispose(function (data) {
1464
+ disposed = true
1465
+ })
1466
+ })()}
1467
 
1468
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
 
 
 
1469
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1470
 
1471
+ /***/ }),
1472
+ /* 17 */,
1473
+ /* 18 */,
1474
+ /* 19 */,
1475
+ /* 20 */
1476
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1477
 
1478
+ "use strict";
1479
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Chart_vue__ = __webpack_require__(6);
1480
+ /* unused harmony namespace reexport */
1481
+ var disposed = false
1482
+ var normalizeComponent = __webpack_require__(0)
1483
+ /* script */
1484
 
 
 
 
1485
 
1486
+ /* template */
1487
+ var __vue_template__ = null
1488
+ /* template functional */
1489
+ var __vue_template_functional__ = false
1490
+ /* styles */
1491
+ var __vue_styles__ = null
1492
+ /* scopeId */
1493
+ var __vue_scopeId__ = null
1494
+ /* moduleIdentifier (server only) */
1495
+ var __vue_module_identifier__ = null
1496
+ var Component = normalizeComponent(
1497
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Chart_vue__["a" /* default */],
1498
+ __vue_template__,
1499
+ __vue_template_functional__,
1500
+ __vue_styles__,
1501
+ __vue_scopeId__,
1502
+ __vue_module_identifier__
1503
+ )
1504
+ Component.options.__file = "src/admin/components/Chart.vue"
1505
+
1506
+ /* hot reload */
1507
+ if (false) {(function () {
1508
+ var hotAPI = require("vue-hot-reload-api")
1509
+ hotAPI.install(require("vue"), false)
1510
+ if (!hotAPI.compatible) return
1511
+ module.hot.accept()
1512
+ if (!module.hot.data) {
1513
+ hotAPI.createRecord("data-v-28c376de", Component.options)
1514
+ } else {
1515
+ hotAPI.reload("data-v-28c376de", Component.options)
1516
+ }
1517
+ module.hot.dispose(function (data) {
1518
+ disposed = true
1519
+ })
1520
+ })()}
1521
 
1522
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
1523
 
 
 
1524
 
1525
+ /***/ }),
1526
+ /* 21 */,
1527
+ /* 22 */
1528
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1529
 
1530
+ "use strict";
1531
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_ColorPicker_vue__ = __webpack_require__(7);
1532
+ /* unused harmony namespace reexport */
1533
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_01dc0d51_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_ColorPicker_vue__ = __webpack_require__(24);
1534
+ var disposed = false
1535
+ function injectStyle (ssrContext) {
1536
+ if (disposed) return
1537
+ __webpack_require__(23)
1538
+ }
1539
+ var normalizeComponent = __webpack_require__(0)
1540
+ /* script */
1541
 
 
 
 
 
 
 
 
 
 
 
 
1542
 
1543
+ /* template */
1544
 
1545
+ /* template functional */
1546
+ var __vue_template_functional__ = false
1547
+ /* styles */
1548
+ var __vue_styles__ = injectStyle
1549
+ /* scopeId */
1550
+ var __vue_scopeId__ = "data-v-01dc0d51"
1551
+ /* moduleIdentifier (server only) */
1552
+ var __vue_module_identifier__ = null
1553
+ var Component = normalizeComponent(
1554
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_ColorPicker_vue__["a" /* default */],
1555
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_01dc0d51_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_ColorPicker_vue__["a" /* default */],
1556
+ __vue_template_functional__,
1557
+ __vue_styles__,
1558
+ __vue_scopeId__,
1559
+ __vue_module_identifier__
1560
+ )
1561
+ Component.options.__file = "src/admin/components/ColorPicker.vue"
1562
 
1563
+ /* hot reload */
1564
+ if (false) {(function () {
1565
+ var hotAPI = require("vue-hot-reload-api")
1566
+ hotAPI.install(require("vue"), false)
1567
+ if (!hotAPI.compatible) return
1568
+ module.hot.accept()
1569
+ if (!module.hot.data) {
1570
+ hotAPI.createRecord("data-v-01dc0d51", Component.options)
1571
+ } else {
1572
+ hotAPI.reload("data-v-01dc0d51", Component.options)
1573
+ }
1574
+ module.hot.dispose(function (data) {
1575
+ disposed = true
1576
+ })
1577
+ })()}
1578
 
1579
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
 
 
 
 
 
 
1580
 
 
 
 
 
1581
 
1582
+ /***/ }),
1583
+ /* 23 */
1584
+ /***/ (function(module, exports) {
1585
 
1586
+ // removed by extract-text-webpack-plugin
1587
+
1588
+ /***/ }),
1589
+ /* 24 */
1590
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1591
+
1592
+ "use strict";
1593
+ var render = function() {
1594
+ var _vm = this
1595
+ var _h = _vm.$createElement
1596
+ var _c = _vm._self._c || _h
1597
+ return _c(
1598
+ "div",
1599
+ { staticClass: "color-picker-container" },
1600
+ [
1601
+ _c(
1602
+ "button",
1603
+ {
1604
+ staticClass: "button color-picker-button",
1605
+ style: { backgroundColor: _vm.value },
1606
+ attrs: { type: "button" },
1607
+ on: { click: _vm.toggleColorPicker }
1608
+ },
1609
+ [_c("span", [_vm._v(_vm._s(_vm.__("Select Color", "dokan-lite")))])]
1610
+ ),
1611
+ _vm._v(" "),
1612
+ _vm.showColorPicker && _vm.format === "hex"
1613
+ ? _c("input", {
1614
+ staticClass: "hex-input",
1615
+ attrs: { type: "text" },
1616
+ domProps: { value: _vm.value },
1617
+ on: {
1618
+ input: function($event) {
1619
+ _vm.setHexColor($event.target.value)
1620
+ }
1621
+ }
1622
+ })
1623
+ : _vm._e(),
1624
+ _vm._v(" "),
1625
+ _vm.showColorPicker
1626
+ ? _c("div", { staticClass: "button-group" }, [
1627
+ _c(
1628
+ "button",
1629
+ {
1630
+ staticClass: "button button-small",
1631
+ attrs: { type: "button" },
1632
+ on: {
1633
+ click: function($event) {
1634
+ _vm.updateColor({})
1635
+ }
1636
  }
1637
+ },
1638
+ [_vm._v(_vm._s(_vm.__("Clear", "dokan-lite")))]
1639
+ ),
1640
+ _vm._v(" "),
1641
+ _c(
1642
+ "button",
1643
+ {
1644
+ staticClass: "button button-small",
1645
+ attrs: { type: "button" },
1646
+ on: { click: _vm.toggleColorPicker }
1647
+ },
1648
+ [_vm._v(_vm._s(_vm.__("Close", "dokan-lite")))]
1649
+ )
1650
+ ])
1651
+ : _vm._e(),
1652
+ _vm._v(" "),
1653
+ _vm.showColorPicker
1654
+ ? _c("sketch", {
1655
+ attrs: {
1656
+ value: _vm.value,
1657
+ "preset-colors": _vm.presetColors,
1658
+ "disable-alpha": _vm.disableAlpha,
1659
+ "disable-fields": _vm.disableFields
1660
+ },
1661
+ on: { input: _vm.updateColor }
1662
+ })
1663
+ : _vm._e()
1664
+ ],
1665
+ 1
1666
+ )
1667
+ }
1668
+ var staticRenderFns = []
1669
+ render._withStripped = true
1670
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
1671
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
1672
+ if (false) {
1673
+ module.hot.accept()
1674
+ if (module.hot.data) {
1675
+ require("vue-hot-reload-api") .rerender("data-v-01dc0d51", esExports)
1676
+ }
1677
+ }
1678
 
1679
+ /***/ }),
1680
+ /* 25 */
1681
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1682
 
1683
+ "use strict";
1684
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorAccountFields_vue__ = __webpack_require__(8);
1685
+ /* unused harmony namespace reexport */
1686
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2b13daea_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorAccountFields_vue__ = __webpack_require__(31);
1687
+ var disposed = false
1688
+ var normalizeComponent = __webpack_require__(0)
1689
+ /* script */
1690
+
1691
+
1692
+ /* template */
1693
+
1694
+ /* template functional */
1695
+ var __vue_template_functional__ = false
1696
+ /* styles */
1697
+ var __vue_styles__ = null
1698
+ /* scopeId */
1699
+ var __vue_scopeId__ = null
1700
+ /* moduleIdentifier (server only) */
1701
+ var __vue_module_identifier__ = null
1702
+ var Component = normalizeComponent(
1703
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorAccountFields_vue__["a" /* default */],
1704
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2b13daea_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorAccountFields_vue__["a" /* default */],
1705
+ __vue_template_functional__,
1706
+ __vue_styles__,
1707
+ __vue_scopeId__,
1708
+ __vue_module_identifier__
1709
+ )
1710
+ Component.options.__file = "src/admin/pages/VendorAccountFields.vue"
1711
+
1712
+ /* hot reload */
1713
+ if (false) {(function () {
1714
+ var hotAPI = require("vue-hot-reload-api")
1715
+ hotAPI.install(require("vue"), false)
1716
+ if (!hotAPI.compatible) return
1717
+ module.hot.accept()
1718
+ if (!module.hot.data) {
1719
+ hotAPI.createRecord("data-v-2b13daea", Component.options)
1720
+ } else {
1721
+ hotAPI.reload("data-v-2b13daea", Component.options)
1722
+ }
1723
+ module.hot.dispose(function (data) {
1724
+ disposed = true
1725
+ })
1726
+ })()}
1727
+
1728
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
1729
 
 
 
 
 
1730
 
1731
  /***/ }),
1732
+ /* 26 */
1733
+ /***/ (function(module, exports) {
1734
+
1735
+ // removed by extract-text-webpack-plugin
1736
+
1737
+ /***/ }),
1738
+ /* 27 */
1739
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1740
 
1741
  "use strict";
1742
+ var render = function() {
1743
+ var _vm = this
1744
+ var _h = _vm.$createElement
1745
+ var _c = _vm._self._c || _h
1746
+ return _c("label", { staticClass: "switch tips" }, [
1747
+ _c("input", {
1748
+ staticClass: "toogle-checkbox",
1749
+ attrs: { type: "checkbox" },
1750
+ domProps: { checked: _vm.enabled, value: _vm.value },
1751
+ on: { change: _vm.trigger }
1752
+ }),
1753
+ _vm._v(" "),
1754
+ _c("span", { staticClass: "slider round" })
1755
+ ])
1756
+ }
1757
+ var staticRenderFns = []
1758
+ render._withStripped = true
1759
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
1760
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
1761
+ if (false) {
1762
+ module.hot.accept()
1763
+ if (module.hot.data) {
1764
+ require("vue-hot-reload-api") .rerender("data-v-aa8ad7dc", esExports)
1765
+ }
1766
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1767
 
1768
+ /***/ }),
1769
+ /* 28 */
1770
+ /***/ (function(module, exports) {
 
 
1771
 
1772
+ // removed by extract-text-webpack-plugin
1773
 
1774
  /***/ }),
1775
+ /* 29 */
1776
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1777
 
1778
  "use strict";
1779
+ var render = function() {
1780
+ var _vm = this
1781
+ var _h = _vm.$createElement
1782
+ var _c = _vm._self._c || _h
1783
+ return _c(
1784
+ "div",
1785
+ { staticClass: "dokan-upload-image", on: { click: _vm.uploadImage } },
1786
+ [
1787
+ !_vm.showButton
1788
+ ? _c("img", { attrs: { src: _vm.image.src ? _vm.image.src : _vm.src } })
1789
+ : _vm._e(),
1790
+ _vm._v(" "),
1791
+ _vm.showButton
1792
+ ? _c(
1793
+ "button",
1794
+ {
1795
+ on: {
1796
+ click: function($event) {
1797
+ $event.preventDefault()
1798
+ _vm.uploadImage($event)
1799
+ }
1800
+ }
1801
+ },
1802
+ [_vm._v("\n " + _vm._s(_vm.buttonLabel) + "\n ")]
1803
+ )
1804
+ : _vm._e()
1805
+ ]
1806
+ )
1807
+ }
1808
+ var staticRenderFns = []
1809
+ render._withStripped = true
1810
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
1811
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
1812
+ if (false) {
1813
+ module.hot.accept()
1814
+ if (module.hot.data) {
1815
+ require("vue-hot-reload-api") .rerender("data-v-40b3524c", esExports)
1816
+ }
1817
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
1818
 
1819
+ /***/ }),
1820
+ /* 30 */
1821
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
 
 
1822
 
1823
+ "use strict";
1824
+ var render = function() {
1825
+ var _vm = this
1826
+ var _h = _vm.$createElement
1827
+ var _c = _vm._self._c || _h
1828
+ return _c("div", { staticClass: "password-generator" }, [
1829
+ !_vm.hideGenerateButton
1830
+ ? _c(
1831
+ "button",
1832
+ {
1833
+ staticClass: "button button-secondary",
1834
+ on: {
1835
+ click: function($event) {
1836
+ $event.preventDefault()
1837
+ _vm.generatePassword($event)
1838
+ }
1839
  }
1840
+ },
1841
+ [_vm._v("\n " + _vm._s(_vm.title) + "\n ")]
1842
+ )
1843
+ : _vm._e(),
1844
+ _vm._v(" "),
1845
+ _vm.showCancelButton
1846
+ ? _c(
1847
+ "button",
1848
+ {
1849
+ staticClass: "button regen-button",
1850
+ on: {
1851
+ click: function($event) {
1852
+ $event.preventDefault()
1853
+ _vm.regenratePassword($event)
1854
+ }
1855
  }
1856
+ },
1857
+ [
1858
+ _c("span", { staticClass: "dashicons dashicons-controls-repeat" }),
1859
+ _vm._v("\n " + _vm._s(_vm.regenrateTitle) + "\n ")
1860
+ ]
1861
+ )
1862
+ : _vm._e(),
1863
+ _vm._v(" "),
1864
+ _vm.showCancelButton
1865
+ ? _c(
1866
+ "button",
1867
+ {
1868
+ staticClass: "button cancel-button",
1869
+ on: {
1870
+ click: function($event) {
1871
+ $event.preventDefault()
1872
+ _vm.cancelButton($event)
1873
+ }
 
 
 
 
 
 
 
 
 
1874
  }
1875
+ },
1876
+ [_vm._v("\n " + _vm._s(_vm.cancelTitle) + "\n ")]
1877
+ )
1878
+ : _vm._e()
1879
+ ])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1880
  }
1881
  var staticRenderFns = []
1882
  render._withStripped = true
1885
  if (false) {
1886
  module.hot.accept()
1887
  if (module.hot.data) {
1888
+ require("vue-hot-reload-api") .rerender("data-v-4084a478", esExports)
1889
  }
1890
  }
1891
 
1892
  /***/ }),
1893
+ /* 31 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1894
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1895
 
1896
  "use strict";
1898
  var _vm = this
1899
  var _h = _vm.$createElement
1900
  var _c = _vm._self._c || _h
1901
+ return _c("form", { staticClass: "account-info" }, [
1902
+ _c("div", { staticClass: "content-header" }, [
1903
+ _vm._v(
1904
+ "\n " + _vm._s(_vm.__("Account Info", "dokan-lite")) + "\n "
1905
+ )
1906
+ ]),
1907
  _vm._v(" "),
1908
+ _c("div", { staticClass: "content-body" }, [
1909
+ !_vm.getId()
1910
+ ? _c("div", { staticClass: "vendor-image" }, [
1911
+ _c("div", { staticClass: "picture" }, [
1912
+ _c("p", { staticClass: "picture-header" }, [
1913
+ _vm._v(_vm._s(_vm.__("Vendor Picture", "dokan-lite")))
1914
+ ]),
1915
+ _vm._v(" "),
1916
+ _c(
1917
+ "div",
1918
+ { staticClass: "profile-image" },
1919
+ [
1920
+ _c("upload-image", {
1921
+ attrs: { croppingWidth: 150, croppingHeight: 150 },
1922
+ on: { uploadedImage: _vm.uploadGravatar }
1923
+ })
1924
+ ],
1925
+ 1
1926
+ ),
1927
+ _vm._v(" "),
1928
+ _c("p", {
1929
+ staticClass: "picture-footer",
1930
+ domProps: {
1931
+ innerHTML: _vm._s(
1932
+ _vm.sprintf(
1933
+ _vm.__(
1934
+ "You can change your profile picutre on %s",
1935
+ "dokan-lite"
1936
+ ),
1937
+ "<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"
1938
+ )
1939
+ )
1940
+ }
1941
+ })
1942
+ ]),
1943
+ _vm._v(" "),
1944
+ _c(
1945
+ "div",
1946
+ {
1947
+ class: [
1948
+ "picture banner",
1949
+ { "has-banner": _vm.vendorInfo.banner_id }
1950
+ ]
1951
+ },
1952
+ [
1953
+ _c(
1954
+ "div",
1955
+ { staticClass: "banner-image" },
1956
+ [
1957
+ _c("upload-image", {
1958
+ attrs: {
1959
+ showButton: _vm.showButton,
1960
+ buttonLabel: _vm.__("Upload Banner", "dokan-lite")
1961
+ },
1962
+ on: { uploadedImage: _vm.uploadBanner }
1963
+ })
1964
+ ],
1965
+ 1
1966
+ ),
1967
+ _vm._v(" "),
1968
+ _vm.showButton
1969
+ ? _c("p", { staticClass: "picture-footer" }, [
1970
+ _vm._v(_vm._s(_vm.getUploadBannerText()))
1971
+ ])
1972
+ : _vm._e()
1973
+ ]
1974
+ )
1975
+ ])
1976
+ : _vm._e(),
1977
+ _vm._v(" "),
1978
+ _c(
1979
+ "div",
1980
+ { staticClass: "dokan-form-group" },
1981
+ [
1982
+ _c("div", { staticClass: "column" }, [
1983
+ _c("label", { attrs: { for: "store-email" } }, [
1984
+ _vm._v(_vm._s(_vm.__("First Name", "dokan-lite")))
1985
+ ]),
1986
+ _vm._v(" "),
1987
+ _c("input", {
1988
+ directives: [
1989
+ {
1990
+ name: "model",
1991
+ rawName: "v-model",
1992
+ value: _vm.vendorInfo.first_name,
1993
+ expression: "vendorInfo.first_name"
1994
+ }
1995
+ ],
1996
+ staticClass: "dokan-form-input",
1997
+ attrs: {
1998
+ type: "email",
1999
+ placeholder: _vm.__("First Name", "dokan-lite")
2000
+ },
2001
+ domProps: { value: _vm.vendorInfo.first_name },
2002
+ on: {
2003
+ input: function($event) {
2004
+ if ($event.target.composing) {
2005
+ return
2006
+ }
2007
+ _vm.$set(_vm.vendorInfo, "first_name", $event.target.value)
2008
+ }
2009
  }
2010
+ })
2011
+ ]),
2012
+ _vm._v(" "),
2013
+ _c("div", { staticClass: "column" }, [
2014
+ _c("label", { attrs: { for: "store-email" } }, [
2015
+ _vm._v(_vm._s(_vm.__("Last Name", "dokan-lite")))
2016
+ ]),
2017
+ _vm._v(" "),
2018
+ _c("input", {
2019
+ directives: [
2020
+ {
2021
+ name: "model",
2022
+ rawName: "v-model",
2023
+ value: _vm.vendorInfo.last_name,
2024
+ expression: "vendorInfo.last_name"
2025
+ }
2026
+ ],
2027
+ staticClass: "dokan-form-input",
2028
+ attrs: {
2029
+ type: "email",
2030
+ placeholder: _vm.__("Last Name", "dokan-lite")
2031
+ },
2032
+ domProps: { value: _vm.vendorInfo.last_name },
2033
+ on: {
2034
+ input: function($event) {
2035
+ if ($event.target.composing) {
2036
+ return
2037
+ }
2038
+ _vm.$set(_vm.vendorInfo, "last_name", $event.target.value)
2039
+ }
2040
+ }
2041
+ })
2042
+ ]),
2043
+ _vm._v(" "),
2044
+ _c("div", { staticClass: "column" }, [
2045
+ _c("label", { attrs: { for: "store-name" } }, [
2046
+ _vm._v(_vm._s(_vm.__("Store Name", "dokan-lite")))
2047
+ ]),
2048
+ _vm._v(" "),
2049
+ !_vm.getId()
2050
+ ? _c("span", { staticClass: "required-field" }, [_vm._v("*")])
2051
+ : _vm._e(),
2052
+ _vm._v(" "),
2053
+ _c("input", {
2054
+ directives: [
2055
+ {
2056
+ name: "model",
2057
+ rawName: "v-model",
2058
+ value: _vm.vendorInfo.store_name,
2059
+ expression: "vendorInfo.store_name"
2060
+ }
2061
+ ],
2062
+ class: {
2063
+ "dokan-form-input": true,
2064
+ "has-error": _vm.getError("store_name")
2065
+ },
2066
+ attrs: {
2067
+ type: "text",
2068
+ placeholder: _vm.getError("store_name")
2069
+ ? _vm.__("Store Name is required", "dokan-lite")
2070
+ : _vm.__("Store Name", "dokan-lite")
2071
+ },
2072
+ domProps: { value: _vm.vendorInfo.store_name },
2073
+ on: {
2074
+ input: function($event) {
2075
+ if ($event.target.composing) {
2076
+ return
2077
+ }
2078
+ _vm.$set(_vm.vendorInfo, "store_name", $event.target.value)
2079
+ }
2080
+ }
2081
+ })
2082
+ ]),
2083
+ _vm._v(" "),
2084
+ !_vm.getId()
2085
+ ? _c("div", { staticClass: "column" }, [
2086
+ _c("label", { attrs: { for: "store-url" } }, [
2087
+ _vm._v(_vm._s(_vm.__("Store URL", "dokan-lite")))
2088
+ ]),
2089
+ _vm._v(" "),
2090
+ _c("input", {
2091
+ directives: [
2092
+ {
2093
+ name: "model",
2094
+ rawName: "v-model",
2095
+ value: _vm.vendorInfo.user_nicename,
2096
+ expression: "vendorInfo.user_nicename"
2097
+ }
2098
+ ],
2099
+ staticClass: "dokan-form-input",
2100
+ attrs: {
2101
+ type: "text",
2102
+ placeholder: _vm.__("Store Url", "dokan-lite")
2103
+ },
2104
+ domProps: { value: _vm.vendorInfo.user_nicename },
2105
+ on: {
2106
+ input: function($event) {
2107
+ if ($event.target.composing) {
2108
+ return
2109
+ }
2110
+ _vm.$set(
2111
+ _vm.vendorInfo,
2112
+ "user_nicename",
2113
+ $event.target.value
2114
+ )
2115
+ }
2116
+ }
2117
+ }),
2118
+ _vm._v(" "),
2119
+ _c("div", { staticClass: "store-avaibility-info" }, [
2120
+ _vm.showStoreUrl
2121
+ ? _c("p", { staticClass: "store-url" }, [
2122
+ _vm._v(_vm._s(_vm.storeUrl))
2123
+ ])
2124
+ : _c("p", { staticClass: "store-url" }, [
2125
+ _vm._v(_vm._s(_vm.otherStoreUrl))
2126
  ]),
2127
+ _vm._v(" "),
2128
+ _c(
2129
+ "span",
2130
+ {
2131
+ class: {
2132
+ "is-available": _vm.storeAvailable,
2133
+ "not-available": !_vm.storeAvailable
2134
+ }
2135
+ },
2136
+ [_vm._v(_vm._s(_vm.storeAvailabilityText))]
2137
+ )
2138
+ ])
2139
+ ])
2140
+ : _vm._e(),
2141
+ _vm._v(" "),
2142
+ _c("div", { staticClass: "column" }, [
2143
+ _c("label", { attrs: { for: "store-phone" } }, [
2144
+ _vm._v(_vm._s(_vm.__("Phone Number", "dokan-lite")))
2145
+ ]),
2146
+ _vm._v(" "),
2147
+ _c("input", {
2148
+ directives: [
2149
+ {
2150
+ name: "model",
2151
+ rawName: "v-model",
2152
+ value: _vm.vendorInfo.phone,
2153
+ expression: "vendorInfo.phone"
2154
+ }
2155
+ ],
2156
+ staticClass: "dokan-form-input",
2157
+ attrs: {
2158
+ type: "number",
2159
+ placeholder: _vm.__("123456789", "dokan-lite")
2160
+ },
2161
+ domProps: { value: _vm.vendorInfo.phone },
2162
+ on: {
2163
+ input: function($event) {
2164
+ if ($event.target.composing) {
2165
+ return
2166
+ }
2167
+ _vm.$set(_vm.vendorInfo, "phone", $event.target.value)
2168
+ }
2169
+ }
2170
+ })
2171
+ ]),
2172
+ _vm._v(" "),
2173
+ _c("div", { staticClass: "column" }, [
2174
+ _c("label", { attrs: { for: "store-email" } }, [
2175
+ _vm._v(_vm._s(_vm.__("Email", "dokan-lite")))
2176
+ ]),
2177
+ _vm._v(" "),
2178
+ !_vm.getId()
2179
+ ? _c("span", { staticClass: "required-field" }, [_vm._v("*")])
2180
+ : _vm._e(),
2181
+ _vm._v(" "),
2182
+ _c("input", {
2183
+ directives: [
2184
+ {
2185
+ name: "model",
2186
+ rawName: "v-model",
2187
+ value: _vm.vendorInfo.user_email,
2188
+ expression: "vendorInfo.user_email"
2189
+ }
2190
+ ],
2191
+ class: {
2192
+ "dokan-form-input": true,
2193
+ "has-error": _vm.getError("user_email")
2194
+ },
2195
+ attrs: {
2196
+ type: "email",
2197
+ placeholder: _vm.getError("user_email")
2198
+ ? _vm.__("Email is required", "dokan-lite")
2199
+ : _vm.__("store@email.com", "dokan-lite")
2200
+ },
2201
+ domProps: { value: _vm.vendorInfo.user_email },
2202
+ on: {
2203
+ input: function($event) {
2204
+ if ($event.target.composing) {
2205
+ return
2206
+ }
2207
+ _vm.$set(_vm.vendorInfo, "user_email", $event.target.value)
2208
+ }
2209
+ }
2210
+ }),
2211
+ _vm._v(" "),
2212
+ _c("div", { staticClass: "store-avaibility-info" }, [
2213
+ _c(
2214
+ "span",
2215
+ {
2216
+ class: {
2217
+ "is-available": _vm.emailAvailable,
2218
+ "not-available": !_vm.emailAvailable
2219
+ }
2220
+ },
2221
+ [_vm._v(_vm._s(_vm.emailAvailabilityText))]
2222
+ )
2223
+ ])
2224
+ ]),
2225
+ _vm._v(" "),
2226
+ !_vm.getId()
2227
+ ? [
2228
+ _c("div", { staticClass: "column" }, [
2229
+ _c("label", { attrs: { for: "store-username" } }, [
2230
+ _vm._v(_vm._s(_vm.__("Username", "dokan-lite")))
2231
+ ]),
2232
+ _c("span", { staticClass: "required-field" }, [_vm._v("*")]),
2233
+ _vm._v(" "),
2234
+ _c("input", {
2235
+ directives: [
2236
+ {
2237
+ name: "model",
2238
+ rawName: "v-model",
2239
+ value: _vm.vendorInfo.user_login,
2240
+ expression: "vendorInfo.user_login"
2241
+ }
2242
+ ],
2243
+ staticClass: "dokan-form-input",
2244
+ class: {
2245
+ "dokan-form-input": true,
2246
+ "has-error": _vm.getError("user_login")
2247
+ },
2248
+ attrs: {
2249
+ type: "text",
2250
+ placeholder: _vm.getError("user_login")
2251
+ ? _vm.__("Username is required", "dokan-lite")
2252
+ : _vm.__("Username", "dokan-lite")
2253
+ },
2254
+ domProps: { value: _vm.vendorInfo.user_login },
2255
+ on: {
2256
+ input: function($event) {
2257
+ if ($event.target.composing) {
2258
+ return
2259
+ }
2260
+ _vm.$set(
2261
+ _vm.vendorInfo,
2262
+ "user_login",
2263
+ $event.target.value
2264
+ )
2265
+ }
2266
+ }
2267
+ }),
2268
+ _vm._v(" "),
2269
+ _c("div", { staticClass: "store-avaibility-info" }, [
2270
+ _c(
2271
+ "span",
2272
+ {
2273
+ class: {
2274
+ "is-available": _vm.userNameAvailable,
2275
+ "not-available": !_vm.userNameAvailable
2276
+ }
2277
+ },
2278
+ [_vm._v(_vm._s(_vm.userNameAvailabilityText))]
2279
+ )
2280
+ ]),
2281
+ _vm._v(" "),
2282
+ _c(
2283
+ "div",
2284
+ { staticClass: "checkbox-left notify-vendor" },
2285
+ [
2286
+ _c("switches", {
2287
+ attrs: { enabled: true, value: "notify_vendor" },
2288
+ on: { input: _vm.sendEmail }
2289
+ }),
2290
  _vm._v(" "),
2291
+ _c("span", { staticClass: "desc" }, [
2292
+ _vm._v(
2293
+ _vm._s(
2294
+ _vm.__(
2295
+ "Send the vendor an email about their account.",
2296
+ "dokan-lite"
 
 
 
 
 
 
 
2297
  )
2298
+ )
2299
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2300
  ])
2301
+ ],
2302
+ 1
2303
+ )
2304
+ ]),
2305
+ _vm._v(" "),
2306
+ _c(
2307
+ "div",
2308
+ { staticClass: "column" },
2309
+ [
2310
+ _c("label", { attrs: { for: "store-password" } }, [
2311
+ _vm._v(_vm._s(_vm.__("Passwrod", "dokan-lite")))
2312
+ ]),
2313
+ _vm._v(" "),
2314
+ _vm.showPassword
2315
+ ? _c("input", {
2316
+ directives: [
 
 
2317
  {
2318
+ name: "model",
2319
+ rawName: "v-model",
2320
+ value: _vm.vendorInfo.user_pass,
2321
+ expression: "vendorInfo.user_pass"
2322
+ }
2323
+ ],
2324
+ staticClass: "dokan-form-input",
2325
+ attrs: { type: "text", placeholder: "********" },
2326
+ domProps: { value: _vm.vendorInfo.user_pass },
2327
+ on: {
2328
+ input: function($event) {
2329
+ if ($event.target.composing) {
2330
+ return
2331
  }
2332
+ _vm.$set(
2333
+ _vm.vendorInfo,
2334
+ "user_pass",
2335
+ $event.target.value
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2336
  )
2337
+ }
2338
+ }
2339
+ })
2340
+ : _vm._e(),
2341
+ _vm._v(" "),
2342
+ _c("password-generator", {
2343
+ attrs: {
2344
+ title: _vm.__("Generate Password", "dokan-lite")
2345
+ },
2346
+ on: { passwordGenerated: _vm.setPassword }
2347
+ })
2348
+ ],
2349
+ 1
2350
+ )
2351
+ ]
2352
+ : _vm._e(),
2353
+ _vm._v(" "),
2354
+ _vm._l(_vm.getAccountFields, function(component, index) {
2355
+ return _c(component, {
2356
+ key: index,
2357
+ tag: "component",
2358
+ attrs: { vendorInfo: _vm.vendorInfo }
2359
+ })
2360
+ })
2361
+ ],
2362
+ 2
2363
+ )
2364
+ ])
2365
+ ])
2366
+ }
2367
+ var staticRenderFns = []
2368
+ render._withStripped = true
2369
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
2370
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
2371
+ if (false) {
2372
+ module.hot.accept()
2373
+ if (module.hot.data) {
2374
+ require("vue-hot-reload-api") .rerender("data-v-2b13daea", esExports)
2375
+ }
2376
+ }
2377
+
2378
+ /***/ }),
2379
+ /* 32 */
2380
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2381
+
2382
+ "use strict";
2383
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorAddressFields_vue__ = __webpack_require__(12);
2384
+ /* unused harmony namespace reexport */
2385
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9504c01e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorAddressFields_vue__ = __webpack_require__(33);
2386
+ var disposed = false
2387
+ var normalizeComponent = __webpack_require__(0)
2388
+ /* script */
2389
+
2390
+
2391
+ /* template */
2392
+
2393
+ /* template functional */
2394
+ var __vue_template_functional__ = false
2395
+ /* styles */
2396
+ var __vue_styles__ = null
2397
+ /* scopeId */
2398
+ var __vue_scopeId__ = null
2399
+ /* moduleIdentifier (server only) */
2400
+ var __vue_module_identifier__ = null
2401
+ var Component = normalizeComponent(
2402
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorAddressFields_vue__["a" /* default */],
2403
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9504c01e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorAddressFields_vue__["a" /* default */],
2404
+ __vue_template_functional__,
2405
+ __vue_styles__,
2406
+ __vue_scopeId__,
2407
+ __vue_module_identifier__
2408
+ )
2409
+ Component.options.__file = "src/admin/pages/VendorAddressFields.vue"
2410
+
2411
+ /* hot reload */
2412
+ if (false) {(function () {
2413
+ var hotAPI = require("vue-hot-reload-api")
2414
+ hotAPI.install(require("vue"), false)
2415
+ if (!hotAPI.compatible) return
2416
+ module.hot.accept()
2417
+ if (!module.hot.data) {
2418
+ hotAPI.createRecord("data-v-9504c01e", Component.options)
2419
+ } else {
2420
+ hotAPI.reload("data-v-9504c01e", Component.options)
2421
+ }
2422
+ module.hot.dispose(function (data) {
2423
+ disposed = true
2424
+ })
2425
+ })()}
2426
+
2427
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
2428
+
2429
+
2430
+ /***/ }),
2431
+ /* 33 */
2432
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2433
+
2434
+ "use strict";
2435
+ var render = function() {
2436
+ var _vm = this
2437
+ var _h = _vm.$createElement
2438
+ var _c = _vm._self._c || _h
2439
+ return _c("div", { staticClass: "account-info" }, [
2440
+ _c("div", { staticClass: "content-header" }, [
2441
+ _vm._v("\n " + _vm._s(_vm.__("Address", "dokan-lite")) + "\n ")
2442
+ ]),
2443
+ _vm._v(" "),
2444
+ _c("div", { staticClass: "content-body" }, [
2445
+ _c(
2446
+ "div",
2447
+ { staticClass: "dokan-form-group" },
2448
+ [
2449
+ _c("div", { staticClass: "column" }, [
2450
+ _c("label", { attrs: { for: "street-1" } }, [
2451
+ _vm._v(_vm._s(_vm.__("Street 1", "dokan-lite")))
2452
+ ]),
2453
+ _vm._v(" "),
2454
+ _c("input", {
2455
+ directives: [
2456
+ {
2457
+ name: "model",
2458
+ rawName: "v-model",
2459
+ value: _vm.vendorInfo.address.street_1,
2460
+ expression: "vendorInfo.address.street_1"
2461
+ }
2462
+ ],
2463
+ staticClass: "dokan-form-input",
2464
+ attrs: {
2465
+ type: "text",
2466
+ placeholder: _vm.__("Street 1", "dokan-lite")
2467
+ },
2468
+ domProps: { value: _vm.vendorInfo.address.street_1 },
2469
+ on: {
2470
+ input: function($event) {
2471
+ if ($event.target.composing) {
2472
+ return
2473
+ }
2474
+ _vm.$set(
2475
+ _vm.vendorInfo.address,
2476
+ "street_1",
2477
+ $event.target.value
2478
+ )
2479
+ }
2480
+ }
2481
+ })
2482
+ ]),
2483
+ _vm._v(" "),
2484
+ _c("div", { staticClass: "column" }, [
2485
+ _c("label", { attrs: { for: "street-2" } }, [
2486
+ _vm._v(_vm._s(_vm.__("Street 2", "dokan-lite")))
2487
+ ]),
2488
+ _vm._v(" "),
2489
+ _c("input", {
2490
+ directives: [
2491
+ {
2492
+ name: "model",
2493
+ rawName: "v-model",
2494
+ value: _vm.vendorInfo.address.street_2,
2495
+ expression: "vendorInfo.address.street_2"
2496
+ }
2497
+ ],
2498
+ staticClass: "dokan-form-input",
2499
+ attrs: {
2500
+ type: "text",
2501
+ placeholder: _vm.__("Street 2", "dokan-lite")
2502
+ },
2503
+ domProps: { value: _vm.vendorInfo.address.street_2 },
2504
+ on: {
2505
+ input: function($event) {
2506
+ if ($event.target.composing) {
2507
+ return
2508
+ }
2509
+ _vm.$set(
2510
+ _vm.vendorInfo.address,
2511
+ "street_2",
2512
+ $event.target.value
2513
+ )
2514
+ }
2515
+ }
2516
+ })
2517
+ ]),
2518
+ _vm._v(" "),
2519
+ _c("div", { staticClass: "column" }, [
2520
+ _c("label", { attrs: { for: "city" } }, [
2521
+ _vm._v(_vm._s(_vm.__("City", "dokan-lite")))
2522
+ ]),
2523
+ _vm._v(" "),
2524
+ _c("input", {
2525
+ directives: [
2526
+ {
2527
+ name: "model",
2528
+ rawName: "v-model",
2529
+ value: _vm.vendorInfo.address.city,
2530
+ expression: "vendorInfo.address.city"
2531
+ }
2532
+ ],
2533
+ staticClass: "dokan-form-input",
2534
+ attrs: {
2535
+ type: "text",
2536
+ placeholder: _vm.__("City", "dokan-lite")
2537
+ },
2538
+ domProps: { value: _vm.vendorInfo.address.city },
2539
+ on: {
2540
+ input: function($event) {
2541
+ if ($event.target.composing) {
2542
+ return
2543
+ }
2544
+ _vm.$set(_vm.vendorInfo.address, "city", $event.target.value)
2545
+ }
2546
+ }
2547
+ })
2548
+ ]),
2549
+ _vm._v(" "),
2550
+ _c("div", { staticClass: "column" }, [
2551
+ _c("label", { attrs: { for: "zip" } }, [
2552
+ _vm._v(_vm._s(_vm.__("Zip", "dokan-lite")))
2553
+ ]),
2554
+ _vm._v(" "),
2555
+ _c("input", {
2556
+ directives: [
2557
+ {
2558
+ name: "model",
2559
+ rawName: "v-model",
2560
+ value: _vm.vendorInfo.address.zip,
2561
+ expression: "vendorInfo.address.zip"
2562
+ }
2563
+ ],
2564
+ staticClass: "dokan-form-input",
2565
+ attrs: { type: "text", placeholder: _vm.__("Zip", "dokan-lite") },
2566
+ domProps: { value: _vm.vendorInfo.address.zip },
2567
+ on: {
2568
+ input: function($event) {
2569
+ if ($event.target.composing) {
2570
+ return
2571
+ }
2572
+ _vm.$set(_vm.vendorInfo.address, "zip", $event.target.value)
2573
+ }
2574
+ }
2575
+ })
2576
+ ]),
2577
+ _vm._v(" "),
2578
+ _c(
2579
+ "div",
2580
+ { staticClass: "column" },
2581
+ [
2582
+ _c("label", { attrs: { for: "country" } }, [
2583
+ _vm._v(_vm._s(_vm.__("Country", "dokan-lite")))
2584
+ ]),
2585
+ _vm._v(" "),
2586
+ _c("Multiselect", {
2587
+ attrs: {
2588
+ options: _vm.countries,
2589
+ multiselect: false,
2590
+ label: "name",
2591
+ "track-by": "name",
2592
+ showLabels: false,
2593
+ placeholder: _vm.__("Select Country", "dokan-lite")
2594
+ },
2595
+ on: { input: _vm.saveCountry },
2596
+ model: {
2597
+ value: _vm.selectedCountry,
2598
+ callback: function($$v) {
2599
+ _vm.selectedCountry = $$v
2600
+ },
2601
+ expression: "selectedCountry"
2602
+ }
2603
+ })
2604
+ ],
2605
+ 1
2606
+ ),
2607
+ _vm._v(" "),
2608
+ _c(
2609
+ "div",
2610
+ { staticClass: "column" },
2611
+ [
2612
+ _c("label", { attrs: { for: "state" } }, [
2613
+ _vm._v(_vm._s(_vm.__("State", "dokan-lite")))
2614
+ ]),
2615
+ _vm._v(" "),
2616
+ _vm.getStatesFromCountryCode(_vm.selectedCode).length < 1
2617
+ ? [
2618
+ _c("input", {
2619
+ directives: [
2620
+ {
2621
+ name: "model",
2622
+ rawName: "v-model",
2623
+ value: _vm.vendorInfo.address.state,
2624
+ expression: "vendorInfo.address.state"
2625
+ }
2626
+ ],
2627
+ staticClass: "dokan-form-input",
2628
+ attrs: {
2629
+ type: "text",
2630
+ placeholder: _vm.__("State", "dokan-lite")
2631
+ },
2632
+ domProps: { value: _vm.vendorInfo.address.state },
2633
+ on: {
2634
+ input: function($event) {
2635
+ if ($event.target.composing) {
2636
+ return
2637
+ }
2638
+ _vm.$set(
2639
+ _vm.vendorInfo.address,
2640
+ "state",
2641
+ $event.target.value
2642
+ )
2643
+ }
2644
+ }
2645
+ })
2646
+ ]
2647
+ : [
2648
+ _c("Multiselect", {
2649
+ attrs: {
2650
+ options: _vm.getStatesFromCountryCode(_vm.selectedCode),
2651
+ multiselect: false,
2652
+ showLabels: false,
2653
+ label: "name",
2654
+ "track-by": "name",
2655
+ placeholder: _vm.__("Select State", "dokan-lite")
2656
+ },
2657
+ on: { input: _vm.saveState },
2658
+ model: {
2659
+ value: _vm.selectedState,
2660
+ callback: function($$v) {
2661
+ _vm.selectedState = $$v
2662
+ },
2663
+ expression: "selectedState"
2664
+ }
2665
+ })
2666
+ ]
2667
+ ],
2668
+ 2
2669
+ ),
2670
+ _vm._v(" "),
2671
+ _vm._l(_vm.getAddressFields, function(component, index) {
2672
+ return _c(component, {
2673
+ key: index,
2674
+ tag: "component",
2675
+ attrs: { vendorInfo: _vm.vendorInfo }
2676
+ })
2677
+ })
2678
+ ],
2679
+ 2
2680
+ )
2681
+ ])
2682
+ ])
2683
+ }
2684
+ var staticRenderFns = []
2685
+ render._withStripped = true
2686
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
2687
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
2688
+ if (false) {
2689
+ module.hot.accept()
2690
+ if (module.hot.data) {
2691
+ require("vue-hot-reload-api") .rerender("data-v-9504c01e", esExports)
2692
+ }
2693
+ }
2694
+
2695
+ /***/ }),
2696
+ /* 34 */
2697
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2698
+
2699
+ "use strict";
2700
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorPaymentFields_vue__ = __webpack_require__(13);
2701
+ /* unused harmony namespace reexport */
2702
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2ed34783_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorPaymentFields_vue__ = __webpack_require__(36);
2703
+ var disposed = false
2704
+ function injectStyle (ssrContext) {
2705
+ if (disposed) return
2706
+ __webpack_require__(35)
2707
+ }
2708
+ var normalizeComponent = __webpack_require__(0)
2709
+ /* script */
2710
+
2711
+
2712
+ /* template */
2713
+
2714
+ /* template functional */
2715
+ var __vue_template_functional__ = false
2716
+ /* styles */
2717
+ var __vue_styles__ = injectStyle
2718
+ /* scopeId */
2719
+ var __vue_scopeId__ = null
2720
+ /* moduleIdentifier (server only) */
2721
+ var __vue_module_identifier__ = null
2722
+ var Component = normalizeComponent(
2723
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorPaymentFields_vue__["a" /* default */],
2724
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2ed34783_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorPaymentFields_vue__["a" /* default */],
2725
+ __vue_template_functional__,
2726
+ __vue_styles__,
2727
+ __vue_scopeId__,
2728
+ __vue_module_identifier__
2729
+ )
2730
+ Component.options.__file = "src/admin/pages/VendorPaymentFields.vue"
2731
+
2732
+ /* hot reload */
2733
+ if (false) {(function () {
2734
+ var hotAPI = require("vue-hot-reload-api")
2735
+ hotAPI.install(require("vue"), false)
2736
+ if (!hotAPI.compatible) return
2737
+ module.hot.accept()
2738
+ if (!module.hot.data) {
2739
+ hotAPI.createRecord("data-v-2ed34783", Component.options)
2740
+ } else {
2741
+ hotAPI.reload("data-v-2ed34783", Component.options)
2742
+ }
2743
+ module.hot.dispose(function (data) {
2744
+ disposed = true
2745
+ })
2746
+ })()}
2747
+
2748
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
2749
+
2750
+
2751
+ /***/ }),
2752
+ /* 35 */
2753
+ /***/ (function(module, exports) {
2754
+
2755
+ // removed by extract-text-webpack-plugin
2756
+
2757
+ /***/ }),
2758
+ /* 36 */
2759
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2760
+
2761
+ "use strict";
2762
+ var render = function() {
2763
+ var _vm = this
2764
+ var _h = _vm.$createElement
2765
+ var _c = _vm._self._c || _h
2766
+ return _c(
2767
+ "div",
2768
+ { class: { "payment-info": true, "edit-mode": _vm.getId() } },
2769
+ [
2770
+ _c("div", { staticClass: "content-header" }, [
2771
+ _vm._v(
2772
+ "\n " +
2773
+ _vm._s(_vm.__("Payment Options", "dokan-lite")) +
2774
+ "\n "
2775
+ )
2776
+ ]),
2777
+ _vm._v(" "),
2778
+ _c(
2779
+ "div",
2780
+ { staticClass: "content-body" },
2781
+ [
2782
+ _c(
2783
+ "div",
2784
+ { staticClass: "dokan-form-group" },
2785
+ [
2786
+ _c("div", { staticClass: "column" }, [
2787
+ _c("label", { attrs: { for: "account-name" } }, [
2788
+ _vm._v(_vm._s(_vm.__("Account Name", "dokan-lite")))
2789
+ ]),
2790
+ _vm._v(" "),
2791
+ _c("input", {
2792
+ directives: [
2793
+ {
2794
+ name: "model",
2795
+ rawName: "v-model",
2796
+ value: _vm.vendorInfo.payment.bank.ac_name,
2797
+ expression: "vendorInfo.payment.bank.ac_name"
2798
+ }
2799
+ ],
2800
+ staticClass: "dokan-form-input",
2801
+ attrs: {
2802
+ type: "text",
2803
+ placeholder: _vm.__("Account Name", "dokan-lite")
2804
+ },
2805
+ domProps: { value: _vm.vendorInfo.payment.bank.ac_name },
2806
+ on: {
2807
+ input: function($event) {
2808
+ if ($event.target.composing) {
2809
+ return
2810
+ }
2811
+ _vm.$set(
2812
+ _vm.vendorInfo.payment.bank,
2813
+ "ac_name",
2814
+ $event.target.value
2815
+ )
2816
+ }
2817
+ }
2818
+ })
2819
+ ]),
2820
+ _vm._v(" "),
2821
+ _c("div", { staticClass: "column" }, [
2822
+ _c("label", { attrs: { for: "account-number" } }, [
2823
+ _vm._v(_vm._s(_vm.__("Account Number", "dokan-lite")))
2824
+ ]),
2825
+ _vm._v(" "),
2826
+ _c("input", {
2827
+ directives: [
2828
+ {
2829
+ name: "model",
2830
+ rawName: "v-model",
2831
+ value: _vm.vendorInfo.payment.bank.ac_number,
2832
+ expression: "vendorInfo.payment.bank.ac_number"
2833
+ }
2834
+ ],
2835
+ staticClass: "dokan-form-input",
2836
+ attrs: {
2837
+ type: "text",
2838
+ placeholder: _vm.__("1233456789", "dokan-lite")
2839
+ },
2840
+ domProps: { value: _vm.vendorInfo.payment.bank.ac_number },
2841
+ on: {
2842
+ input: function($event) {
2843
+ if ($event.target.composing) {
2844
+ return
2845
+ }
2846
+ _vm.$set(
2847
+ _vm.vendorInfo.payment.bank,
2848
+ "ac_number",
2849
+ $event.target.value
2850
+ )
2851
+ }
2852
+ }
2853
+ })
2854
+ ]),
2855
+ _vm._v(" "),
2856
+ _c("div", { staticClass: "column" }, [
2857
+ _c("label", { attrs: { for: "bank-name" } }, [
2858
+ _vm._v(_vm._s(_vm.__("Bank Name", "dokan-lite")))
2859
+ ]),
2860
+ _vm._v(" "),
2861
+ _c("input", {
2862
+ directives: [
2863
+ {
2864
+ name: "model",
2865
+ rawName: "v-model",
2866
+ value: _vm.vendorInfo.payment.bank.bank_name,
2867
+ expression: "vendorInfo.payment.bank.bank_name"
2868
+ }
2869
+ ],
2870
+ staticClass: "dokan-form-input",
2871
+ attrs: {
2872
+ type: "text",
2873
+ placeholder: _vm.__("Bank Name", "dokan-lite")
2874
+ },
2875
+ domProps: { value: _vm.vendorInfo.payment.bank.bank_name },
2876
+ on: {
2877
+ input: function($event) {
2878
+ if ($event.target.composing) {
2879
+ return
2880
+ }
2881
+ _vm.$set(
2882
+ _vm.vendorInfo.payment.bank,
2883
+ "bank_name",
2884
+ $event.target.value
2885
+ )
2886
+ }
2887
+ }
2888
+ })
2889
+ ]),
2890
+ _vm._v(" "),
2891
+ _c("div", { staticClass: "column" }, [
2892
+ _c("label", { attrs: { for: "bank-address" } }, [
2893
+ _vm._v(_vm._s(_vm.__("Bank Address", "dokan-lite")))
2894
+ ]),
2895
+ _vm._v(" "),
2896
+ _c("input", {
2897
+ directives: [
2898
+ {
2899
+ name: "model",
2900
+ rawName: "v-model",
2901
+ value: _vm.vendorInfo.payment.bank.bank_addr,
2902
+ expression: "vendorInfo.payment.bank.bank_addr"
2903
+ }
2904
+ ],
2905
+ staticClass: "dokan-form-input",
2906
+ attrs: {
2907
+ type: "text",
2908
+ placeholder: _vm.__("Bank Address", "dokan-lite")
2909
+ },
2910
+ domProps: { value: _vm.vendorInfo.payment.bank.bank_addr },
2911
+ on: {
2912
+ input: function($event) {
2913
+ if ($event.target.composing) {
2914
+ return
2915
+ }
2916
+ _vm.$set(
2917
+ _vm.vendorInfo.payment.bank,
2918
+ "bank_addr",
2919
+ $event.target.value
2920
+ )
2921
+ }
2922
+ }
2923
+ })
2924
+ ]),
2925
+ _vm._v(" "),
2926
+ _c("div", { staticClass: "column" }, [
2927
+ _c("label", { attrs: { for: "routing-number" } }, [
2928
+ _vm._v(_vm._s(_vm.__("Routing Number", "dokan-lite")))
2929
+ ]),
2930
+ _vm._v(" "),
2931
+ _c("input", {
2932
+ directives: [
2933
+ {
2934
+ name: "model",
2935
+ rawName: "v-model",
2936
+ value: _vm.vendorInfo.payment.bank.routing_number,
2937
+ expression: "vendorInfo.payment.bank.routing_number"
2938
+ }
2939
+ ],
2940
+ staticClass: "dokan-form-input",
2941
+ attrs: {
2942
+ type: "text",
2943
+ placeholder: _vm.__("123456789", "dokan-lite")
2944
+ },
2945
+ domProps: {
2946
+ value: _vm.vendorInfo.payment.bank.routing_number
2947
+ },
2948
+ on: {
2949
+ input: function($event) {
2950
+ if ($event.target.composing) {
2951
+ return
2952
+ }
2953
+ _vm.$set(
2954
+ _vm.vendorInfo.payment.bank,
2955
+ "routing_number",
2956
+ $event.target.value
2957
+ )
2958
+ }
2959
+ }
2960
+ })
2961
+ ]),
2962
+ _vm._v(" "),
2963
+ _c("div", { staticClass: "column" }, [
2964
+ _c("label", { attrs: { for: "iban" } }, [
2965
+ _vm._v(_vm._s(_vm.__("IBAN", "dokan-lite")))
2966
+ ]),
2967
+ _vm._v(" "),
2968
+ _c("input", {
2969
+ directives: [
2970
+ {
2971
+ name: "model",
2972
+ rawName: "v-model",
2973
+ value: _vm.vendorInfo.payment.bank.iban,
2974
+ expression: "vendorInfo.payment.bank.iban"
2975
+ }
2976
+ ],
2977
+ staticClass: "dokan-form-input",
2978
+ attrs: {
2979
+ type: "text",
2980
+ placeholder: _vm.__("123456789", "dokan-lite")
2981
+ },
2982
+ domProps: { value: _vm.vendorInfo.payment.bank.iban },
2983
+ on: {
2984
+ input: function($event) {
2985
+ if ($event.target.composing) {
2986
+ return
2987
+ }
2988
+ _vm.$set(
2989
+ _vm.vendorInfo.payment.bank,
2990
+ "iban",
2991
+ $event.target.value
2992
+ )
2993
+ }
2994
+ }
2995
+ })
2996
+ ]),
2997
+ _vm._v(" "),
2998
+ _c("div", { staticClass: "column" }, [
2999
+ _c("label", { attrs: { for: "swift" } }, [
3000
+ _vm._v(_vm._s(_vm.__("Swift", "dokan-lite")))
3001
+ ]),
3002
+ _vm._v(" "),
3003
+ _c("input", {
3004
+ directives: [
3005
+ {
3006
+ name: "model",
3007
+ rawName: "v-model",
3008
+ value: _vm.vendorInfo.payment.bank.swift,
3009
+ expression: "vendorInfo.payment.bank.swift"
3010
+ }
3011
+ ],
3012
+ staticClass: "dokan-form-input",
3013
+ attrs: {
3014
+ type: "text",
3015
+ placeholder: _vm.__("123456789", "dokan-lite")
3016
+ },
3017
+ domProps: { value: _vm.vendorInfo.payment.bank.swift },
3018
+ on: {
3019
+ input: function($event) {
3020
+ if ($event.target.composing) {
3021
+ return
3022
+ }
3023
+ _vm.$set(
3024
+ _vm.vendorInfo.payment.bank,
3025
+ "swift",
3026
+ $event.target.value
3027
+ )
3028
+ }
3029
+ }
3030
+ })
3031
+ ]),
3032
+ _vm._v(" "),
3033
+ _vm._l(_vm.getBankFields, function(component, index) {
3034
+ return _c(component, {
3035
+ key: index,
3036
+ tag: "component",
3037
+ attrs: { vendorInfo: _vm.vendorInfo }
3038
+ })
3039
+ })
3040
+ ],
3041
+ 2
3042
+ ),
3043
+ _vm._v(" "),
3044
+ _c(
3045
+ "div",
3046
+ { staticClass: "dokan-form-group" },
3047
+ [
3048
+ _c(
3049
+ "div",
3050
+ {
3051
+ class: { column: _vm.getId(), "checkbox-group": !_vm.getId() }
3052
+ },
3053
+ [
3054
+ _c("label", { attrs: { for: "account-name" } }, [
3055
+ _vm._v(_vm._s(_vm.__("PayPal Email", "dokan-lite")))
3056
+ ]),
3057
+ _vm._v(" "),
3058
+ _c("input", {
3059
+ directives: [
3060
+ {
3061
+ name: "model",
3062
+ rawName: "v-model",
3063
+ value: _vm.vendorInfo.payment.paypal.email,
3064
+ expression: "vendorInfo.payment.paypal.email"
3065
+ }
3066
+ ],
3067
+ staticClass: "dokan-form-input",
3068
+ attrs: {
3069
+ type: "email",
3070
+ placeholder: _vm.__("store@email.com", "dokan-lite")
3071
+ },
3072
+ domProps: { value: _vm.vendorInfo.payment.paypal.email },
3073
+ on: {
3074
+ input: function($event) {
3075
+ if ($event.target.composing) {
3076
+ return
3077
+ }
3078
+ _vm.$set(
3079
+ _vm.vendorInfo.payment.paypal,
3080
+ "email",
3081
+ $event.target.value
3082
+ )
3083
+ }
3084
+ }
3085
+ })
3086
+ ]
3087
+ ),
3088
+ _vm._v(" "),
3089
+ _vm.getId()
3090
+ ? [
3091
+ _c("div", { staticClass: "column" }, [
3092
+ _c(
3093
+ "div",
3094
+ { staticClass: "column" },
3095
+ [
3096
+ _c("label", [
3097
+ _vm._v(
3098
+ _vm._s(
3099
+ _vm.__("Admin Commission Type", "dokan-lite")
3100
+ )
3101
+ )
3102
+ ]),
3103
+ _vm._v(" "),
3104
+ _c("Multiselect", {
3105
+ attrs: {
3106
+ options: _vm.commissionTypes,
3107
+ multiselect: false,
3108
+ searchable: false,
3109
+ showLabels: false
3110
+ },
3111
+ on: { input: _vm.saveCommissionType },
3112
+ model: {
3113
+ value: _vm.selectedCommissionType,
3114
+ callback: function($$v) {
3115
+ _vm.selectedCommissionType = $$v
3116
+ },
3117
+ expression: "selectedCommissionType"
3118
+ }
3119
+ })
3120
+ ],
3121
+ 1
3122
+ )
3123
+ ]),
3124
+ _vm._v(" "),
3125
+ "Combine" === _vm.selectedCommissionType
3126
+ ? _c(
3127
+ "div",
3128
+ { staticClass: "column combine-commission" },
3129
+ [
3130
+ _c("label", [
3131
+ _vm._v(
3132
+ _vm._s(_vm.__("Admin Commission", "dokan-lite"))
3133
+ )
3134
+ ]),
3135
+ _vm._v(" "),
3136
+ _c(
3137
+ "div",
3138
+ { staticClass: "combine-commission-field" },
3139
+ [
3140
+ _c("input", {
3141
+ directives: [
3142
+ {
3143
+ name: "model",
3144
+ rawName: "v-model",
3145
+ value: _vm.vendorInfo.admin_commission,
3146
+ expression: "vendorInfo.admin_commission"
3147
+ }
3148
+ ],
3149
+ staticClass: "dokan-form-input percent_fee",
3150
+ attrs: { type: "number" },
3151
+ domProps: {
3152
+ value: _vm.vendorInfo.admin_commission
3153
+ },
3154
+ on: {
3155
+ input: function($event) {
3156
+ if ($event.target.composing) {
3157
+ return
3158
+ }
3159
+ _vm.$set(
3160
+ _vm.vendorInfo,
3161
+ "admin_commission",
3162
+ $event.target.value
3163
+ )
3164
+ }
3165
+ }
3166
+ }),
3167
+ _vm._v(
3168
+ "\n " +
3169
+ _vm._s("%    +") +
3170
+ "\n "
3171
+ ),
3172
+ _c("input", {
3173
+ directives: [
3174
+ {
3175
+ name: "model",
3176
+ rawName: "v-model",
3177
+ value:
3178
+ _vm.vendorInfo.admin_additional_fee,
3179
+ expression:
3180
+ "vendorInfo.admin_additional_fee"
3181
+ }
3182
+ ],
3183
+ staticClass: "dokan-form-input fixed_fee",
3184
+ attrs: { type: "number" },
3185
+ domProps: {
3186
+ value: _vm.vendorInfo.admin_additional_fee
3187
+ },
3188
+ on: {
3189
+ input: function($event) {
3190
+ if ($event.target.composing) {
3191
+ return
3192
+ }
3193
+ _vm.$set(
3194
+ _vm.vendorInfo,
3195
+ "admin_additional_fee",
3196
+ $event.target.value
3197
+ )
3198
+ }
3199
+ }
3200
+ })
3201
+ ]
3202
+ )
3203
+ ]
3204
+ )
3205
+ : _c("div", { staticClass: "column" }, [
3206
+ _c("label", [
3207
+ _vm._v(
3208
+ _vm._s(_vm.__("Admin Commission", "dokan-lite"))
3209
+ )
3210
+ ]),
3211
+ _vm._v(" "),
3212
+ _c("input", {
3213
+ directives: [
3214
+ {
3215
+ name: "model",
3216
+ rawName: "v-model",
3217
+ value: _vm.vendorInfo.admin_commission,
3218
+ expression: "vendorInfo.admin_commission"
3219
+ }
3220
+ ],
3221
+ staticClass: "dokan-form-input",
3222
+ attrs: { type: "number" },
3223
+ domProps: {
3224
+ value: _vm.vendorInfo.admin_commission
3225
+ },
3226
+ on: {
3227
+ input: function($event) {
3228
+ if ($event.target.composing) {
3229
+ return
3230
+ }
3231
+ _vm.$set(
3232
+ _vm.vendorInfo,
3233
+ "admin_commission",
3234
+ $event.target.value
3235
+ )
3236
+ }
3237
+ }
3238
+ })
3239
+ ])
3240
+ ]
3241
+ : _vm._e(),
3242
+ _vm._v(" "),
3243
+ _c("div", { staticClass: "checkbox-group" }, [
3244
+ _c(
3245
+ "div",
3246
+ { staticClass: "checkbox-left" },
3247
+ [
3248
+ _c("switches", {
3249
+ attrs: { enabled: _vm.enabled, value: "enabled" },
3250
+ on: { input: _vm.setValue }
3251
+ }),
3252
+ _vm._v(" "),
3253
+ _c("span", { staticClass: "desc" }, [
3254
+ _vm._v(_vm._s(_vm.__("Enable Selling", "dokan-lite")))
3255
+ ])
3256
+ ],
3257
+ 1
3258
+ )
3259
+ ]),
3260
+ _vm._v(" "),
3261
+ _c("div", { staticClass: "checkbox-group" }, [
3262
+ _c(
3263
+ "div",
3264
+ { staticClass: "checkbox-left" },
3265
+ [
3266
+ _c("switches", {
3267
+ attrs: { enabled: _vm.trusted, value: "trusted" },
3268
+ on: { input: _vm.setValue }
3269
+ }),
3270
+ _vm._v(" "),
3271
+ _c("span", { staticClass: "desc" }, [
3272
+ _vm._v(
3273
+ _vm._s(_vm.__("Publish Product Directly", "dokan-lite"))
3274
+ )
3275
+ ])
3276
+ ],
3277
+ 1
3278
+ )
3279
+ ]),
3280
+ _vm._v(" "),
3281
+ _c("div", { staticClass: "checkbox-group" }, [
3282
+ _c(
3283
+ "div",
3284
+ { staticClass: "checkbox-left" },
3285
+ [
3286
+ _c("switches", {
3287
+ attrs: { enabled: _vm.featured, value: "featured" },
3288
+ on: { input: _vm.setValue }
3289
+ }),
3290
+ _vm._v(" "),
3291
+ _c("span", { staticClass: "desc" }, [
3292
+ _vm._v(
3293
+ _vm._s(_vm.__("Make Vendor Featured", "dokan-lite"))
3294
+ )
3295
+ ])
3296
+ ],
3297
+ 1
3298
+ )
3299
+ ])
3300
+ ],
3301
+ 2
3302
+ ),
3303
+ _vm._v(" "),
3304
+ _vm._l(_vm.getPyamentFields, function(component, index) {
3305
+ return _c(component, {
3306
+ key: index,
3307
+ tag: "component",
3308
+ attrs: { vendorInfo: _vm.vendorInfo }
3309
+ })
3310
+ })
3311
+ ],
3312
+ 2
3313
+ )
3314
+ ]
3315
+ )
3316
+ }
3317
+ var staticRenderFns = []
3318
+ render._withStripped = true
3319
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
3320
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
3321
+ if (false) {
3322
+ module.hot.accept()
3323
+ if (module.hot.data) {
3324
+ require("vue-hot-reload-api") .rerender("data-v-2ed34783", esExports)
3325
+ }
3326
+ }
3327
+
3328
+ /***/ }),
3329
+ /* 37 */,
3330
+ /* 38 */,
3331
+ /* 39 */,
3332
+ /* 40 */,
3333
+ /* 41 */,
3334
+ /* 42 */
3335
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3336
+
3337
+ "use strict";
3338
+ //
3339
+ //
3340
+ //
3341
+ //
3342
+ //
3343
+ //
3344
+ //
3345
+ /* harmony default export */ __webpack_exports__["a"] = ({
3346
+ name: 'App'
3347
+ });
3348
+
3349
+ /***/ }),
3350
+ /* 43 */
3351
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3352
+
3353
+ "use strict";
3354
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_admin_components_Chart_vue__ = __webpack_require__(20);
3355
+ //
3356
+ //
3357
+ //
3358
+ //
3359
+ //
3360
+ //
3361
+ //
3362
+ //
3363
+ //
3364
+ //
3365
+ //
3366
+ //
3367
+ //
3368
+ //
3369
+ //
3370
+ //
3371
+ //
3372
+ //
3373
+ //
3374
+ //
3375
+ //
3376
+ //
3377
+ //
3378
+ //
3379
+ //
3380
+ //
3381
+ //
3382
+ //
3383
+ //
3384
+ //
3385
+ //
3386
+ //
3387
+ //
3388
+ //
3389
+ //
3390
+ //
3391
+ //
3392
+ //
3393
+ //
3394
+ //
3395
+ //
3396
+ //
3397
+ //
3398
+ //
3399
+ //
3400
+ //
3401
+ //
3402
+ //
3403
+ //
3404
+ //
3405
+ //
3406
+ //
3407
+ //
3408
+ //
3409
+ //
3410
+ //
3411
+ //
3412
+ //
3413
+ //
3414
+ //
3415
+ //
3416
+ //
3417
+ //
3418
+ //
3419
+ //
3420
+ //
3421
+ //
3422
+ //
3423
+ //
3424
+ //
3425
+ //
3426
+ //
3427
+ //
3428
+ //
3429
+ //
3430
+ //
3431
+ //
3432
+ //
3433
+ //
3434
+ //
3435
+ //
3436
+ //
3437
+ //
3438
+ //
3439
+ //
3440
+ //
3441
+ //
3442
+ //
3443
+ //
3444
+ //
3445
+ //
3446
+ //
3447
+ //
3448
+ //
3449
+ //
3450
+ //
3451
+ //
3452
+ //
3453
+ //
3454
+ //
3455
+ //
3456
+ //
3457
+ //
3458
+ //
3459
+ //
3460
+ //
3461
+ //
3462
+ //
3463
+ //
3464
+ //
3465
+ //
3466
+ //
3467
+ //
3468
+ //
3469
+ var Postbox = dokan_get_lib('Postbox');
3470
+ var Loading = dokan_get_lib('Loading');
3471
+ var Currency = dokan_get_lib('Currency');
3472
+
3473
+ /* harmony default export */ __webpack_exports__["a"] = ({
3474
+ name: 'Dashboard',
3475
+ components: {
3476
+ Postbox: Postbox,
3477
+ Loading: Loading,
3478
+ Chart: __WEBPACK_IMPORTED_MODULE_0_admin_components_Chart_vue__["a" /* default */],
3479
+ Currency: Currency
3480
+ },
3481
+ data: function data() {
3482
+ return {
3483
+ overview: null,
3484
+ feed: null,
3485
+ report: null,
3486
+ subscribe: {
3487
+ success: false,
3488
+ loading: false,
3489
+ email: ''
3490
+ },
3491
+ hasPro: dokan.hasPro ? true : false
3492
+ };
3493
+ },
3494
+ created: function created() {
3495
+ this.fetchOverview();
3496
+ this.fetchFeed();
3497
+ this.fetchReport();
3498
+ },
3499
+ methods: {
3500
+ fetchOverview: function fetchOverview() {
3501
+ var _this = this;
3502
+
3503
+ dokan.api.get('/admin/report/summary').done(function (response) {
3504
+ _this.overview = response;
3505
+ });
3506
+ },
3507
+ fetchFeed: function fetchFeed() {
3508
+ var _this2 = this;
3509
+
3510
+ dokan.api.get('/admin/dashboard/feed').done(function (response) {
3511
+ _this2.feed = response;
3512
+ });
3513
+ },
3514
+ fetchReport: function fetchReport() {
3515
+ var _this3 = this;
3516
+
3517
+ dokan.api.get('/admin/report/overview').done(function (response) {
3518
+ _this3.report = response;
3519
+ });
3520
+ },
3521
+ validEmail: function validEmail(email) {
3522
+ var re = /^(([^<>()\[\]\\.,;:\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,}))$/;
3523
+ return re.test(email);
3524
+ },
3525
+ emailSubscribe: function emailSubscribe() {
3526
+ var _this4 = this;
3527
+
3528
+ var action = 'https://wedevs.us16.list-manage.com/subscribe/post-json?u=66e606cfe0af264974258f030&id=0d176bb256&c=?';
3529
+
3530
+ if (!this.validEmail(this.subscribe.email)) {
3531
+ return;
3532
+ }
3533
+
3534
+ this.subscribe.loading = true;
3535
+ jQuery.ajax({
3536
+ url: action,
3537
+ data: {
3538
+ EMAIL: this.subscribe.email,
3539
+ 'group[3555][8]': '1'
3540
+ },
3541
+ type: 'GET',
3542
+ dataType: 'json',
3543
+ cache: false,
3544
+ contentType: "application/json; charset=utf-8"
3545
+ }).always(function (response) {
3546
+ _this4.subscribe.success = true;
3547
+ _this4.subscribe.loading = false;
3548
+ });
3549
+ }
3550
+ }
3551
+ });
3552
+
3553
+ /***/ }),
3554
+ /* 44 */
3555
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3556
+
3557
+ "use strict";
3558
+ //
3559
+ //
3560
+ //
3561
+ //
3562
+ //
3563
+ //
3564
+ //
3565
+ //
3566
+ //
3567
+ //
3568
+ //
3569
+ //
3570
+ //
3571
+ //
3572
+ //
3573
+ //
3574
+ //
3575
+ //
3576
+ //
3577
+ //
3578
+ //
3579
+ //
3580
+ //
3581
+ //
3582
+ //
3583
+ //
3584
+ //
3585
+ //
3586
+ //
3587
+ //
3588
+ //
3589
+ //
3590
+ //
3591
+ //
3592
+ //
3593
+ //
3594
+ //
3595
+ //
3596
+ //
3597
+ //
3598
+ //
3599
+ //
3600
+ //
3601
+ //
3602
+ //
3603
+ //
3604
+ //
3605
+ //
3606
+ //
3607
+ //
3608
+ //
3609
+ //
3610
+ //
3611
+ //
3612
+ //
3613
+ //
3614
+ //
3615
+ //
3616
+ //
3617
+ //
3618
+ //
3619
+ //
3620
+ //
3621
+ //
3622
+ //
3623
+ //
3624
+ //
3625
+ //
3626
+ //
3627
+ //
3628
+ //
3629
+ //
3630
+ //
3631
+ //
3632
+ //
3633
+ //
3634
+ //
3635
+ //
3636
+ //
3637
+ //
3638
+ //
3639
+ //
3640
+ //
3641
+ //
3642
+ //
3643
+ var ListTable = dokan_get_lib('ListTable');
3644
+ var Modal = dokan_get_lib('Modal');
3645
+ var Currency = dokan_get_lib('Currency');
3646
+ /* harmony default export */ __webpack_exports__["a"] = ({
3647
+ name: 'Withdraw',
3648
+ components: {
3649
+ ListTable: ListTable,
3650
+ Modal: Modal,
3651
+ Currency: Currency
3652
+ },
3653
+ data: function data() {
3654
+ return {
3655
+ showModal: false,
3656
+ editing: {
3657
+ id: null,
3658
+ note: null
3659
+ },
3660
+ totalPages: 1,
3661
+ perPage: 10,
3662
+ totalItems: 0,
3663
+ counts: {
3664
+ pending: 0,
3665
+ approved: 0,
3666
+ cancelled: 0
3667
+ },
3668
+ notFound: this.__('No requests found.', 'dokan-lite'),
3669
+ massPayment: this.__('Paypal Mass Payment File is Generated.', 'dokan-lite'),
3670
+ showCb: true,
3671
+ loading: false,
3672
+ columns: {
3673
+ 'seller': {
3674
+ label: this.__('Vendor', 'dokan-lite')
3675
+ },
3676
+ 'amount': {
3677
+ label: this.__('Amount', 'dokan-lite')
3678
+ },
3679
+ 'status': {
3680
+ label: this.__('Status', 'dokan-lite')
3681
+ },
3682
+ 'method_title': {
3683
+ label: this.__('Method', 'dokan-lite')
3684
+ },
3685
+ 'method_details': {
3686
+ label: this.__('Details', 'dokan-lite')
3687
+ },
3688
+ 'note': {
3689
+ label: this.__('Note', 'dokan-lite')
3690
+ },
3691
+ 'created': {
3692
+ label: this.__('Date', 'dokan-lite')
3693
+ },
3694
+ 'actions': {
3695
+ label: this.__('Actions', 'dokan-lite')
3696
+ }
3697
+ },
3698
+ requests: [],
3699
+ actionColumn: 'seller'
3700
+ };
3701
+ },
3702
+ watch: {
3703
+ '$route.query.status': function $routeQueryStatus() {
3704
+ this.fetchRequests();
3705
+ },
3706
+ '$route.query.page': function $routeQueryPage() {
3707
+ this.fetchRequests();
3708
+ }
3709
+ },
3710
+ computed: {
3711
+ currentStatus: function currentStatus() {
3712
+ return this.$route.query.status || 'pending';
3713
+ },
3714
+ currentPage: function currentPage() {
3715
+ var page = this.$route.query.page || 1;
3716
+ return parseInt(page);
3717
+ },
3718
+ actions: function actions() {
3719
+ if ('pending' == this.currentStatus) {
3720
+ return [{
3721
+ key: 'trash',
3722
+ label: this.__('Delete', 'dokan-lite')
3723
+ }, {
3724
+ key: 'cancel',
3725
+ label: this.__('Cancel', 'dokan-lite')
3726
+ }];
3727
+ } else if ('cancelled' == this.currentStatus) {
3728
+ return [{
3729
+ key: 'trash',
3730
+ label: this.__('Delete', 'dokan-lite')
3731
+ }, {
3732
+ key: 'pending',
3733
+ label: this.__('Pending', 'dokan-lite')
3734
+ }];
3735
+ } else {
3736
+ return [];
3737
+ }
3738
+ },
3739
+ bulkActions: function bulkActions() {
3740
+ if ('pending' == this.currentStatus) {
3741
+ return [{
3742
+ key: 'approved',
3743
+ label: this.__('Approve', 'dokan-lite')
3744
+ }, {
3745
+ key: 'cancelled',
3746
+ label: this.__('Cancel', 'dokan-lite')
3747
+ }, {
3748
+ key: 'delete',
3749
+ label: this.__('Delete', 'dokan-lite')
3750
+ }, {
3751
+ key: 'paypal',
3752
+ label: this.__('Download PayPal mass payment file', 'dokan-lite')
3753
+ }];
3754
+ } else if ('cancelled' == this.currentStatus) {
3755
+ return [{
3756
+ key: 'pending',
3757
+ label: this.__('Pending', 'dokan-lite')
3758
+ }, {
3759
+ key: 'delete',
3760
+ label: this.__('Delete', 'dokan-lite')
3761
+ }, {
3762
+ key: 'paypal',
3763
+ label: this.__('Download PayPal mass payment file', 'dokan-lite')
3764
+ }];
3765
+ } else {
3766
+ return [{
3767
+ key: 'paypal',
3768
+ label: this.__('Download PayPal mass payment file', 'dokan-lite')
3769
+ }];
3770
+ }
3771
+ }
3772
+ },
3773
+ created: function created() {
3774
+ this.fetchRequests();
3775
+ },
3776
+ methods: {
3777
+ updatedCounts: function updatedCounts(xhr) {
3778
+ this.counts.pending = parseInt(xhr.getResponseHeader('X-Status-Pending'));
3779
+ this.counts.approved = parseInt(xhr.getResponseHeader('X-Status-Completed'));
3780
+ this.counts.cancelled = parseInt(xhr.getResponseHeader('X-Status-Cancelled'));
3781
+ },
3782
+ updatePagination: function updatePagination(xhr) {
3783
+ this.totalPages = parseInt(xhr.getResponseHeader('X-WP-TotalPages'));
3784
+ this.totalItems = parseInt(xhr.getResponseHeader('X-WP-Total'));
3785
+ },
3786
+ vendorUrl: function vendorUrl(id) {
3787
+ if (window.dokan.hasPro === '1') {
3788
+ return dokan.urls.adminRoot + 'admin.php?page=dokan#/vendors/' + id;
3789
+ }
3790
+
3791
+ return dokan.urls.adminRoot + 'user-edit.php?user_id=' + id;
3792
+ },
3793
+ fetchRequests: function fetchRequests() {
3794
+ var _this = this;
3795
+
3796
+ this.loading = true;
3797
+ dokan.api.get('/withdraw?per_page=' + this.perPage + '&page=' + this.currentPage + '&status=' + this.currentStatus).done(function (response, status, xhr) {
3798
+ _this.requests = response;
3799
+ _this.loading = false;
3800
+
3801
+ _this.updatedCounts(xhr);
3802
+
3803
+ _this.updatePagination(xhr);
3804
+ });
3805
+ },
3806
+ goToPage: function goToPage(page) {
3807
+ this.$router.push({
3808
+ name: 'Withdraw',
3809
+ query: {
3810
+ status: this.currentStatus,
3811
+ page: page
3812
+ }
3813
+ });
3814
+ },
3815
+ updateItem: function updateItem(id, value) {
3816
+ var index = this.requests.findIndex(function (x) {
3817
+ return x.id == id;
3818
+ });
3819
+ this.$set(this.requests, index, value);
3820
+ },
3821
+ changeStatus: function changeStatus(status, id) {
3822
+ var _this2 = this;
3823
+
3824
+ this.loading = true;
3825
+ dokan.api.put('/withdraw/' + id, {
3826
+ status: status
3827
+ }).done(function (response) {
3828
+ // this.requests = response;
3829
+ _this2.loading = false; // this.updateItem(id, response);
3830
+
3831
+ _this2.fetchRequests();
3832
+ });
3833
+ },
3834
+ onActionClick: function onActionClick(action, row) {
3835
+ var _this3 = this;
3836
+
3837
+ if ('cancel' === action) {
3838
+ this.changeStatus('cancelled', row.id);
3839
+ }
3840
+
3841
+ if ('pending' === action) {
3842
+ this.changeStatus('pending', row.id);
3843
+ }
3844
+
3845
+ if ('trash' === action) {
3846
+ if (confirm(this.__('Are you sure?', 'dokan-lite'))) {
3847
+ this.loading = true;
3848
+ dokan.api.delete('/withdraw/' + row.id).done(function (response) {
3849
+ _this3.loading = false;
3850
+
3851
+ _this3.fetchRequests();
3852
+ });
3853
+ }
3854
+ }
3855
+ },
3856
+ getPaymentDetails: function getPaymentDetails(method, data) {
3857
+ var details = '—';
3858
+
3859
+ if (data[method] !== undefined) {
3860
+ if ('paypal' === method || 'skrill' === method) {
3861
+ details = data[method].email || '';
3862
+ } else if ('bank' === method) {
3863
+ if (data.bank.hasOwnProperty('ac_name')) {
3864
+ details = this.sprintf(this.__('Account Name: %s', 'dokan-lite'), data.bank.ac_name);
3865
+ }
3866
+
3867
+ if (data.bank.hasOwnProperty('ac_number')) {
3868
+ details += this.sprintf(this.__(', Account Number: %s', 'dokan-lite'), data.bank.ac_number);
3869
+ }
3870
+
3871
+ if (data.bank.hasOwnProperty('bank_name')) {
3872
+ details += this.sprintf(this.__(', Bank Name: %s', 'dokan-lite'), data.bank.bank_name);
3873
+ }
3874
+
3875
+ if (data.bank.hasOwnProperty('routing_number')) {
3876
+ details += this.sprintf(this.__(', Routing Number: %s', 'dokan-lite'), data.bank.routing_number);
3877
+ }
3878
+ }
3879
+ }
3880
+
3881
+ return dokan.hooks.applyFilters('dokan_get_payment_details', details, method, data);
3882
+ },
3883
+ moment: function (_moment) {
3884
+ function moment(_x) {
3885
+ return _moment.apply(this, arguments);
3886
+ }
3887
+
3888
+ moment.toString = function () {
3889
+ return _moment.toString();
3890
+ };
3891
+
3892
+ return moment;
3893
+ }(function (date) {
3894
+ return moment(date);
3895
+ }),
3896
+ onBulkAction: function onBulkAction(action, items) {
3897
+ var _this4 = this;
3898
+
3899
+ var self = this;
3900
+
3901
+ if (_.contains(['delete', 'approved', 'cancelled', 'pending'], action)) {
3902
+ var jsonData = {};
3903
+ jsonData[action] = items;
3904
+ this.loading = true;
3905
+ dokan.api.put('/withdraw/batch', jsonData).done(function (response) {
3906
+ _this4.loading = false;
3907
+
3908
+ _this4.fetchRequests();
3909
+ });
3910
+ }
3911
+
3912
+ if ('paypal' === action) {
3913
+ var ids = items.join(",");
3914
+ jQuery.post(ajaxurl, {
3915
+ 'dokan_withdraw_bulk': 'paypal',
3916
+ 'id': ids,
3917
+ 'action': 'withdraw_ajax_submission',
3918
+ 'nonce': dokan.nonce
3919
+ }, function (response, status, xhr) {
3920
+ if ('html/csv' === xhr.getResponseHeader('Content-type')) {
3921
+ var filename = "";
3922
+ var disposition = xhr.getResponseHeader('Content-Disposition');
3923
+
3924
+ if (disposition && disposition.indexOf('attachment') !== -1) {
3925
+ var filenameRegex = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/;
3926
+ var matches = filenameRegex.exec(disposition);
3927
+
3928
+ if (matches != null && matches[1]) {
3929
+ filename = matches[1].replace(/['"]/g, '');
3930
+ }
3931
+ }
3932
+
3933
+ var type = xhr.getResponseHeader('Content-Type');
3934
+ var blob = typeof File === 'function' ? new File([response], filename, {
3935
+ type: type
3936
+ }) : new Blob([response], {
3937
+ type: type
3938
+ });
3939
+
3940
+ if (typeof window.navigator.msSaveBlob !== 'undefined') {
3941
+ // IE workaround for "HTML7007: One or more blob URLs were revoked by closing the blob for which they were created. These URLs will no longer resolve as the data backing the URL has been freed."
3942
+ window.navigator.msSaveBlob(blob, filename);
3943
+ } else {
3944
+ var URL = window.URL || window.webkitURL;
3945
+ var downloadUrl = URL.createObjectURL(blob);
3946
+
3947
+ if (filename) {
3948
+ // use HTML5 a[download] attribute to specify filename
3949
+ var a = document.createElement("a"); // safari doesn't support this yet
3950
+
3951
+ if (typeof a.download === 'undefined') {
3952
+ window.location = downloadUrl;
3953
+ } else {
3954
+ a.href = downloadUrl;
3955
+ a.download = filename;
3956
+ document.body.appendChild(a);
3957
+ a.click();
3958
+ }
3959
+ } else {
3960
+ window.location = downloadUrl;
3961
+ }
3962
+
3963
+ setTimeout(function () {
3964
+ URL.revokeObjectURL(downloadUrl);
3965
+ }, 100); // cleanup
3966
+ }
3967
+ }
3968
+
3969
+ if (response) {
3970
+ alert(self.massPayment);
3971
+ return;
3972
+ }
3973
+ });
3974
+ }
3975
+ },
3976
+ openNoteModal: function openNoteModal(note, id) {
3977
+ this.showModal = true;
3978
+ this.editing = {
3979
+ id: id,
3980
+ note: note
3981
+ };
3982
+ },
3983
+ updateNote: function updateNote() {
3984
+ var _this5 = this;
3985
+
3986
+ this.showModal = false;
3987
+ this.loading = true;
3988
+ dokan.api.put('/withdraw/' + this.editing.id + '/note', {
3989
+ note: this.editing.note
3990
+ }).done(function (response) {
3991
+ _this5.loading = false;
3992
+
3993
+ _this5.updateItem(_this5.editing.id, response);
3994
+
3995
+ _this5.editing = {
3996
+ id: null,
3997
+ note: null
3998
+ };
3999
+ });
4000
+ }
4001
+ }
4002
+ });
4003
+
4004
+ /***/ }),
4005
+ /* 45 */
4006
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4007
+
4008
+ "use strict";
4009
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_slick_carousel_slick_slick_css__ = __webpack_require__(111);
4010
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_slick_carousel_slick_slick_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_slick_carousel_slick_slick_css__);
4011
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_slick__ = __webpack_require__(114);
4012
+ //
4013
+ //
4014
+ //
4015
+ //
4016
+ //
4017
+ //
4018
+ //
4019
+ //
4020
+ //
4021
+ //
4022
+ //
4023
+ //
4024
+ //
4025
+ //
4026
+ //
4027
+ //
4028
+ //
4029
+ //
4030
+ //
4031
+ //
4032
+ //
4033
+ //
4034
+ //
4035
+ //
4036
+ //
4037
+ //
4038
+ //
4039
+ //
4040
+ //
4041
+ //
4042
+ //
4043
+ //
4044
+ //
4045
+ //
4046
+ //
4047
+ //
4048
+ //
4049
+ //
4050
+ //
4051
+ //
4052
+ //
4053
+ //
4054
+ //
4055
+ //
4056
+ //
4057
+ //
4058
+ //
4059
+ //
4060
+ //
4061
+ //
4062
+ //
4063
+ //
4064
+ //
4065
+ //
4066
+ //
4067
+ //
4068
+ //
4069
+ //
4070
+ //
4071
+ //
4072
+ //
4073
+ //
4074
+ //
4075
+ //
4076
+ //
4077
+ //
4078
+ //
4079
+ //
4080
+ //
4081
+ //
4082
+ //
4083
+ //
4084
+ //
4085
+ //
4086
+ //
4087
+ //
4088
+ //
4089
+ //
4090
+ //
4091
+ //
4092
+ //
4093
+ //
4094
+ //
4095
+ //
4096
+ //
4097
+ //
4098
+ //
4099
+ //
4100
+ //
4101
+ //
4102
+ //
4103
+ //
4104
+ //
4105
+ //
4106
+ //
4107
+ //
4108
+ //
4109
+ //
4110
+ //
4111
+ //
4112
+ //
4113
+ //
4114
+ //
4115
+ //
4116
+ //
4117
+ //
4118
+ //
4119
+ //
4120
+ //
4121
+ //
4122
+ //
4123
+ //
4124
+ //
4125
+ //
4126
+ //
4127
+ //
4128
+ //
4129
+ //
4130
+ //
4131
+ //
4132
+ //
4133
+ //
4134
+ //
4135
+ //
4136
+ //
4137
+ //
4138
+ //
4139
+ //
4140
+ //
4141
+ //
4142
+ //
4143
+ //
4144
+ //
4145
+ //
4146
+ //
4147
+ //
4148
+ //
4149
+ //
4150
+ //
4151
+ //
4152
+ //
4153
+ //
4154
+ //
4155
+ //
4156
+ //
4157
+ //
4158
+ //
4159
+ //
4160
+ //
4161
+ //
4162
+ //
4163
+ //
4164
+ //
4165
+ //
4166
+ //
4167
+ //
4168
+ //
4169
+ //
4170
+ //
4171
+ //
4172
+ //
4173
+ //
4174
+ //
4175
+ //
4176
+ //
4177
+ //
4178
+ //
4179
+ //
4180
+ //
4181
+ //
4182
+ //
4183
+ //
4184
+ //
4185
+ //
4186
+ //
4187
+ //
4188
+ //
4189
+ //
4190
+ //
4191
+ //
4192
+ //
4193
+ //
4194
+ //
4195
+ //
4196
+ //
4197
+ //
4198
+ //
4199
+ //
4200
+ //
4201
+ //
4202
+ //
4203
+ //
4204
+ //
4205
+ //
4206
+ //
4207
+ //
4208
+ //
4209
+ //
4210
+ //
4211
+ //
4212
+ //
4213
+ //
4214
+ //
4215
+ //
4216
+ //
4217
+ //
4218
+ //
4219
+ //
4220
+ //
4221
+ //
4222
+ //
4223
+ //
4224
+ //
4225
+ //
4226
+ //
4227
+ //
4228
+ //
4229
+ //
4230
+ //
4231
+ //
4232
+ //
4233
+ //
4234
+ //
4235
+ //
4236
+ //
4237
+ //
4238
+ //
4239
+ //
4240
+ //
4241
+ //
4242
+ //
4243
+ //
4244
+ //
4245
+ //
4246
+ //
4247
+ //
4248
+ //
4249
+ //
4250
+ //
4251
+ //
4252
+
4253
+
4254
+ /* harmony default export */ __webpack_exports__["a"] = ({
4255
+ name: 'Premium',
4256
+ components: {
4257
+ Slick: __WEBPACK_IMPORTED_MODULE_1_vue_slick__["a" /* default */]
4258
+ },
4259
+ data: function data() {
4260
+ return {
4261
+ asstesUrl: dokan.urls.assetsUrl,
4262
+ services: [{
4263
+ "title": this.__("Premium modules to make everything easier & better", "dokan-lite"),
4264
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-01@2x.png'
4265
+ }, {
4266
+ "title": this.__("Frontend dashboard for vendors with advanced controls", "dokan-lite"),
4267
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-02@2x.png'
4268
+ }, {
4269
+ "title": this.__("Unlimited Product Variations and group product upload", "dokan-lite"),
4270
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-03@2x.png'
4271
+ }, {
4272
+ "title": this.__("Zone wise shipping with multiple method for vendors", "dokan-lite"),
4273
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-04@2x.png'
4274
+ }, {
4275
+ "title": this.__("Store support based on ticket system for your customers", "dokan-lite"),
4276
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-05@2x.png'
4277
+ }, {
4278
+ "title": this.__("Vendors will be able to generate coupon codes", "dokan-lite"),
4279
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-06@2x.png'
4280
+ }, {
4281
+ "title": this.__("Earning, Selling and Commission Reports & Statement", "dokan-lite"),
4282
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-07@2x.png'
4283
+ }, {
4284
+ "title": this.__("24/7 super fast premium customer support for you", "dokan-lite"),
4285
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-08@2x.png'
4286
+ }, {
4287
+ "title": this.__("Add Social profile to your vendor’s store and support for store SEO", "dokan-lite"),
4288
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/service-09@2x.png'
4289
+ }],
4290
+ comparisons: [{
4291
+ "title": this.__("Frontend order management", "dokan-lite"),
4292
+ "compare": {
4293
+ "lite": "available",
4294
+ "pro": 'available'
4295
+ }
4296
+ }, {
4297
+ "title": this.__("Seller Statement Reports", "dokan-lite"),
4298
+ "compare": {
4299
+ "lite": "available",
4300
+ "pro": 'available'
4301
+ }
4302
+ }, {
4303
+ "title": this.__("Making Announcements", "dokan-lite"),
4304
+ "compare": {
4305
+ "lite": "available",
4306
+ "pro": 'available'
4307
+ }
4308
+ }, {
4309
+ "title": this.__("Customized Product Categories", "dokan-lite"),
4310
+ "compare": {
4311
+ "lite": "unavailable",
4312
+ "pro": 'available'
4313
+ }
4314
+ }, {
4315
+ "title": this.__("Store SEO", "dokan-lite"),
4316
+ "compare": {
4317
+ "lite": "unavailable",
4318
+ "pro": 'available'
4319
+ }
4320
+ }, {
4321
+ "title": this.__("Back Ordering System", "dokan-lite"),
4322
+ "compare": {
4323
+ "lite": "unavailable",
4324
+ "pro": 'available'
4325
+ }
4326
+ }, {
4327
+ "title": this.__("Store Contact Form", "dokan-lite"),
4328
+ "compare": {
4329
+ "lite": "unavailable",
4330
+ "pro": 'available'
4331
+ }
4332
+ }, {
4333
+ "title": this.__("Single Product Multiple Seller", "dokan-lite"),
4334
+ "compare": {
4335
+ "lite": "unavailable",
4336
+ "pro": 'available'
4337
+ }
4338
+ }, {
4339
+ "title": this.__("Seller Verification", "dokan-lite"),
4340
+ "compare": {
4341
+ "lite": "unavailable",
4342
+ "pro": 'available'
4343
+ }
4344
+ }, {
4345
+ "title": this.__("Featured Seller", "dokan-lite"),
4346
+ "compare": {
4347
+ "lite": "unavailable",
4348
+ "pro": 'available'
4349
+ }
4350
+ }, {
4351
+ "title": this.__("Multiple Commission Types", "dokan-lite"),
4352
+ "compare": {
4353
+ "lite": "unavailable",
4354
+ "pro": 'available'
4355
+ }
4356
+ }, {
4357
+ "title": this.__("Frontend Shipping Tracking", "dokan-lite"),
4358
+ "compare": {
4359
+ "lite": "unavailable",
4360
+ "pro": 'available'
4361
+ }
4362
+ }, {
4363
+ "title": this.__("Setup Wizard", "dokan-lite"),
4364
+ "compare": {
4365
+ "lite": "unavailable",
4366
+ "pro": 'available'
4367
+ }
4368
+ }, {
4369
+ "title": this.__("Google Maps", "dokan-lite"),
4370
+ "compare": {
4371
+ "lite": "unavailable",
4372
+ "pro": 'available'
4373
+ }
4374
+ }, {
4375
+ "title": this.__("Manage reviews", "dokan-lite"),
4376
+ "compare": {
4377
+ "lite": "unavailable",
4378
+ "pro": 'available'
4379
+ }
4380
+ }, {
4381
+ "title": this.__("Bookable Product", "dokan-lite"),
4382
+ "compare": {
4383
+ "lite": "unavailable",
4384
+ "pro": 'available'
4385
+ }
4386
+ }],
4387
+ modules: [{
4388
+ "title": "Domain",
4389
+ "url": "https:\/\/wedevs.com\/dokan\/",
4390
+ "starter": {
4391
+ "type": "numeric",
4392
+ "value": '01'
4393
+ },
4394
+ "professional": {
4395
+ "type": "numeric",
4396
+ "value": '03'
4397
+ },
4398
+ "business": {
4399
+ "type": "numeric",
4400
+ "value": '05'
4401
+ },
4402
+ "enterprise": {
4403
+ "type": "numeric",
4404
+ "value": '20'
4405
+ }
4406
+ }, {
4407
+ "title": "Modules",
4408
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/",
4409
+ "starter": {
4410
+ "type": "numeric",
4411
+ "value": '01'
4412
+ },
4413
+ "professional": {
4414
+ "type": "numeric",
4415
+ "value": '08'
4416
+ },
4417
+ "business": {
4418
+ "type": "numeric",
4419
+ "value": '14'
4420
+ },
4421
+ "enterprise": {
4422
+ "type": "numeric",
4423
+ "value": '14'
4424
+ }
4425
+ }, {
4426
+ "title": "Color Scheme",
4427
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/color-scheme-customizer\/",
4428
+ "starter": {
4429
+ "type": "icon",
4430
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4431
+ },
4432
+ "professional": {
4433
+ "type": "icon",
4434
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4435
+ },
4436
+ "business": {
4437
+ "type": "icon",
4438
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4439
+ },
4440
+ "enterprise": {
4441
+ "type": "icon",
4442
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4443
+ }
4444
+ }, {
4445
+ "title": "Vendor Review",
4446
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/dokan-vendor-review\/",
4447
+ "starter": {
4448
+ "type": "icon",
4449
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4450
+ },
4451
+ "professional": {
4452
+ "type": "icon",
4453
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4454
+ },
4455
+ "business": {
4456
+ "type": "icon",
4457
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4458
+ },
4459
+ "enterprise": {
4460
+ "type": "icon",
4461
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4462
+ }
4463
+ }, {
4464
+ "title": "Store Support",
4465
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/store-support\/",
4466
+ "starter": {
4467
+ "type": "icon",
4468
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4469
+ },
4470
+ "professional": {
4471
+ "type": "icon",
4472
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4473
+ },
4474
+ "business": {
4475
+ "type": "icon",
4476
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4477
+ },
4478
+ "enterprise": {
4479
+ "type": "icon",
4480
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4481
+ }
4482
+ }, {
4483
+ "title": "Auction",
4484
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/dokan-simple-auctions\/",
4485
+ "starter": {
4486
+ "type": "icon",
4487
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4488
+ },
4489
+ "professional": {
4490
+ "type": "icon",
4491
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4492
+ },
4493
+ "business": {
4494
+ "type": "icon",
4495
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4496
+ },
4497
+ "enterprise": {
4498
+ "type": "icon",
4499
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4500
+ }
4501
+ }, {
4502
+ "title": "Ajax Live Search",
4503
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/ajax-live-search\/",
4504
+ "starter": {
4505
+ "type": "icon",
4506
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4507
+ },
4508
+ "professional": {
4509
+ "type": "icon",
4510
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4511
+ },
4512
+ "business": {
4513
+ "type": "icon",
4514
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4515
+ },
4516
+ "enterprise": {
4517
+ "type": "icon",
4518
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4519
+ }
4520
+ }, {
4521
+ "title": "Stripe Connect",
4522
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/stripe-connect\/",
4523
+ "starter": {
4524
+ "type": "icon",
4525
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4526
+ },
4527
+ "professional": {
4528
+ "type": "icon",
4529
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4530
+ },
4531
+ "business": {
4532
+ "type": "icon",
4533
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4534
+ },
4535
+ "enterprise": {
4536
+ "type": "icon",
4537
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4538
+ }
4539
+ }, {
4540
+ "title": "Subscriptions",
4541
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/subscription\/",
4542
+ "starter": {
4543
+ "type": "icon",
4544
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4545
+ },
4546
+ "professional": {
4547
+ "type": "icon",
4548
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4549
+ },
4550
+ "business": {
4551
+ "type": "icon",
4552
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4553
+ },
4554
+ "enterprise": {
4555
+ "type": "icon",
4556
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4557
+ }
4558
+ }, {
4559
+ "title": "Single Product Multivendor",
4560
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/single-product-multivendor\/",
4561
+ "starter": {
4562
+ "type": "icon",
4563
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4564
+ },
4565
+ "professional": {
4566
+ "type": "icon",
4567
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4568
+ },
4569
+ "business": {
4570
+ "type": "icon",
4571
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4572
+ },
4573
+ "enterprise": {
4574
+ "type": "icon",
4575
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4576
+ }
4577
+ }, {
4578
+ "title": "Seller Verification",
4579
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/seller-verification\/",
4580
+ "starter": {
4581
+ "type": "icon",
4582
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4583
+ },
4584
+ "professional": {
4585
+ "type": "icon",
4586
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4587
+ },
4588
+ "business": {
4589
+ "type": "icon",
4590
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4591
+ },
4592
+ "enterprise": {
4593
+ "type": "icon",
4594
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4595
+ }
4596
+ }, {
4597
+ "title": "WC Booking Integration",
4598
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/woocommerce-booking-integration\/",
4599
+ "starter": {
4600
+ "type": "icon",
4601
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4602
+ },
4603
+ "professional": {
4604
+ "type": "icon",
4605
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4606
+ },
4607
+ "business": {
4608
+ "type": "icon",
4609
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4610
+ },
4611
+ "enterprise": {
4612
+ "type": "icon",
4613
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4614
+ }
4615
+ }, {
4616
+ "title": "Vendor Staff Manager",
4617
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/vendor-staff-manager\/",
4618
+ "starter": {
4619
+ "type": "icon",
4620
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4621
+ },
4622
+ "professional": {
4623
+ "type": "icon",
4624
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4625
+ },
4626
+ "business": {
4627
+ "type": "icon",
4628
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4629
+ },
4630
+ "enterprise": {
4631
+ "type": "icon",
4632
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4633
+ }
4634
+ }, {
4635
+ "title": "Export Import",
4636
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/export-import\/",
4637
+ "starter": {
4638
+ "type": "icon",
4639
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4640
+ },
4641
+ "professional": {
4642
+ "type": "icon",
4643
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4644
+ },
4645
+ "business": {
4646
+ "type": "icon",
4647
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4648
+ },
4649
+ "enterprise": {
4650
+ "type": "icon",
4651
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4652
+ }
4653
+ }, {
4654
+ "title": "Product Enquiry",
4655
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/product-enquiry\/",
4656
+ "starter": {
4657
+ "type": "icon",
4658
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4659
+ },
4660
+ "professional": {
4661
+ "type": "icon",
4662
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4663
+ },
4664
+ "business": {
4665
+ "type": "icon",
4666
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4667
+ },
4668
+ "enterprise": {
4669
+ "type": "icon",
4670
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4671
+ }
4672
+ }, {
4673
+ "title": "Vendor Vacation",
4674
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/vendor-vacation\/",
4675
+ "starter": {
4676
+ "type": "icon",
4677
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4678
+ },
4679
+ "professional": {
4680
+ "type": "icon",
4681
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4682
+ },
4683
+ "business": {
4684
+ "type": "icon",
4685
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4686
+ },
4687
+ "enterprise": {
4688
+ "type": "icon",
4689
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4690
+ }
4691
+ }, {
4692
+ "title": "Return and Warranty Request",
4693
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/rma\/",
4694
+ "starter": {
4695
+ "type": "icon",
4696
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4697
+ },
4698
+ "professional": {
4699
+ "type": "icon",
4700
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4701
+ },
4702
+ "business": {
4703
+ "type": "icon",
4704
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4705
+ },
4706
+ "enterprise": {
4707
+ "type": "icon",
4708
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4709
+ }
4710
+ }, {
4711
+ "title": "Moip",
4712
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/moip\/",
4713
+ "starter": {
4714
+ "type": "icon",
4715
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4716
+ },
4717
+ "professional": {
4718
+ "type": "icon",
4719
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4720
+ },
4721
+ "business": {
4722
+ "type": "icon",
4723
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4724
+ },
4725
+ "enterprise": {
4726
+ "type": "icon",
4727
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4728
+ }
4729
+ }, {
4730
+ "title": "Follow Store",
4731
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/follow-store\/",
4732
+ "starter": {
4733
+ "type": "icon",
4734
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4735
+ },
4736
+ "professional": {
4737
+ "type": "icon",
4738
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4739
+ },
4740
+ "business": {
4741
+ "type": "icon",
4742
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4743
+ },
4744
+ "enterprise": {
4745
+ "type": "icon",
4746
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4747
+ }
4748
+ }, {
4749
+ "title": "Geolocation",
4750
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/geolocation\/",
4751
+ "starter": {
4752
+ "type": "icon",
4753
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4754
+ },
4755
+ "professional": {
4756
+ "type": "icon",
4757
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4758
+ },
4759
+ "business": {
4760
+ "type": "icon",
4761
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4762
+ },
4763
+ "enterprise": {
4764
+ "type": "icon",
4765
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4766
+ }
4767
+ }, {
4768
+ "title": "Shipstation",
4769
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/shipstation\/",
4770
+ "starter": {
4771
+ "type": "icon",
4772
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4773
+ },
4774
+ "professional": {
4775
+ "type": "icon",
4776
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4777
+ },
4778
+ "business": {
4779
+ "type": "icon",
4780
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4781
+ },
4782
+ "enterprise": {
4783
+ "type": "icon",
4784
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4785
+ }
4786
+ }, {
4787
+ "title": "Wholesale",
4788
+ "url": "https:\/\/wedevs.com\/dokan\/modules\/wholesale\/",
4789
+ "starter": {
4790
+ "type": "icon",
4791
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4792
+ },
4793
+ "professional": {
4794
+ "type": "icon",
4795
+ "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
4796
+ },
4797
+ "business": {
4798
+ "type": "icon",
4799
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4800
+ },
4801
+ "enterprise": {
4802
+ "type": "icon",
4803
+ "value": dokan.urls.assetsUrl + '/images/premium/available@2x.png'
4804
+ }
4805
+ }],
4806
+ payment: {
4807
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/payment-options.png',
4808
+ "guaranteeThumbnail": dokan.urls.assetsUrl + '/images/premium/gaurantee-thumb.png',
4809
+ "viewIcon": dokan.urls.assetsUrl + '/images/premium/view-icon@2x.png',
4810
+ "termsPolicyUrl": "https:\/\/wedevs.com\/refund-policy\/"
4811
+ },
4812
+ slickOptions: {
4813
+ //options can be used from the plugin documentation
4814
+ slidesToShow: 1,
4815
+ fade: true,
4816
+ speed: 500,
4817
+ cssEase: 'linear',
4818
+ autoplay: true,
4819
+ autoplaySpeed: 2000,
4820
+ infinite: true,
4821
+ accessibility: true,
4822
+ adaptiveHeight: false,
4823
+ arrows: false,
4824
+ dots: true,
4825
+ draggable: true,
4826
+ edgeFriction: 0.30,
4827
+ swipe: true
4828
+ },
4829
+ testimonials: [{
4830
+ "name": "Melissa McGovern",
4831
+ "designation": "Director, Hawk And PeddleProjects",
4832
+ "pic": dokan.urls.assetsUrl + '/images/premium/melissa.jpg',
4833
+ "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."
4834
+ }, {
4835
+ "name": "Morten J. Christensen",
4836
+ "designation": "Owner, Dincatering",
4837
+ "pic": dokan.urls.assetsUrl + '/images/premium/Morten-J.-Christensen.jpg',
4838
+ "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."
4839
+ }, {
4840
+ "name": "Cédric Lefrancq",
4841
+ "designation": "Webmaster, Unwebmaster.Be",
4842
+ "pic": dokan.urls.assetsUrl + '/images/premium/cedric-lefrancq.jpeg',
4843
+ "content": "The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."
4844
+ }, {
4845
+ "name": "David Gaz",
4846
+ "designation": "Founder, The Bureau Of Small Projects",
4847
+ "pic": dokan.urls.assetsUrl + '/images/premium/david-gaz.jpeg',
4848
+ "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."
4849
+ }],
4850
+ cta: {
4851
+ "styles": {
4852
+ "bgPattern": dokan.urls.assetsUrl + '/images/premium/cta-pattern@2x.png'
4853
+ },
4854
+ "thumbnail": dokan.urls.assetsUrl + '/images/premium/cta-dokan-logo.png',
4855
+ "url": dokan.urls.buynowpro
4856
+ }
4857
+ };
4858
+ },
4859
+ methods: {
4860
+ next: function next() {
4861
+ this.$refs.slick.next();
4862
+ },
4863
+ prev: function prev() {
4864
+ this.$refs.slick.prev();
4865
+ },
4866
+ reInit: function reInit() {
4867
+ var _this = this;
4868
+
4869
+ // Helpful if you have to deal with v-for to update dynamic lists
4870
+ this.$nextTick(function () {
4871
+ _this.$refs.slick.reSlick();
4872
+ });
4873
+ }
4874
+ },
4875
+ computed: {
4876
+ buyNowProUrl: function buyNowProUrl() {
4877
+ return dokan.urls.buynowpro.substr(-1) === '/' ? dokan.urls.buynowpro + '?' : dokan.urls.buynowpro + '&';
4878
+ }
4879
+ }
4880
+ });
4881
+
4882
+ /***/ }),
4883
+ /* 46 */,
4884
+ /* 47 */
4885
+ /***/ (function(module, exports) {
4886
+
4887
+ module.exports = jQuery;
4888
+
4889
+ /***/ }),
4890
+ /* 48 */
4891
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4892
+
4893
+ "use strict";
4894
+ //
4895
+ //
4896
+ //
4897
+ //
4898
+ //
4899
+ //
4900
+ //
4901
+ //
4902
+ //
4903
+ //
4904
+ //
4905
+ //
4906
+ //
4907
+ //
4908
+ //
4909
+ //
4910
+ //
4911
+ //
4912
+ //
4913
+ //
4914
+ var Postbox = dokan_get_lib('Postbox');
4915
+ var Loading = dokan_get_lib('Loading');
4916
+ /* harmony default export */ __webpack_exports__["a"] = ({
4917
+ name: 'Help',
4918
+ components: {
4919
+ Postbox: Postbox,
4920
+ Loading: Loading
4921
+ },
4922
+ data: function data() {
4923
+ return {
4924
+ docs: null
4925
+ };
4926
+ },
4927
+ created: function created() {
4928
+ this.fetch();
4929
+ },
4930
+ methods: {
4931
+ fetch: function fetch() {
4932
+ var _this = this;
4933
+
4934
+ dokan.api.get('/admin/help').done(function (response) {
4935
+ _this.docs = response;
4936
+ });
4937
+ }
4938
+ }
4939
+ });
4940
+
4941
+ /***/ }),
4942
+ /* 49 */
4943
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4944
+
4945
+ "use strict";
4946
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_admin_components_Fields_vue__ = __webpack_require__(123);
4947
+ //
4948
+ //
4949
+ //
4950
+ //
4951
+ //
4952
+ //
4953
+ //
4954
+ //
4955
+ //
4956
+ //
4957
+ //
4958
+ //
4959
+ //
4960
+ //
4961
+ //
4962
+ //
4963
+ //
4964
+ //
4965
+ //
4966
+ //
4967
+ //
4968
+ //
4969
+ //
4970
+ //
4971
+ //
4972
+ //
4973
+ //
4974
+ //
4975
+ //
4976
+ //
4977
+ //
4978
+ //
4979
+ //
4980
+ //
4981
+ //
4982
+ //
4983
+ //
4984
+ //
4985
+ //
4986
+ //
4987
+ //
4988
+ //
4989
+ //
4990
+ //
4991
+ //
4992
+ //
4993
+ //
4994
+ //
4995
+ //
4996
+ //
4997
+ //
4998
+ //
4999
+ //
5000
+ //
5001
+ //
5002
+ //
5003
+ //
5004
+ //
5005
+ //
5006
+ //
5007
+ //
5008
+ //
5009
+ //
5010
+ //
5011
+ //
5012
+ //
5013
+ var Loading = dokan_get_lib('Loading');
5014
+
5015
+ /* harmony default export */ __webpack_exports__["a"] = ({
5016
+ name: 'Settings',
5017
+ components: {
5018
+ Fields: __WEBPACK_IMPORTED_MODULE_0_admin_components_Fields_vue__["a" /* default */],
5019
+ Loading: Loading
5020
+ },
5021
+ data: function data() {
5022
+ return {
5023
+ isSaved: false,
5024
+ showLoading: false,
5025
+ isUpdated: false,
5026
+ isLoaded: false,
5027
+ message: '',
5028
+ currentTab: null,
5029
+ settingSections: [],
5030
+ settingFields: {},
5031
+ settingValues: {},
5032
+ requiredFields: [],
5033
+ errors: []
5034
+ };
5035
+ },
5036
+ computed: {
5037
+ refreshable_props: function refreshable_props() {
5038
+ var props = {};
5039
+ var sectionId;
5040
+
5041
+ for (sectionId in this.settingFields) {
5042
+ var sectionFields = this.settingFields[sectionId];
5043
+ var optionId = void 0;
5044
+
5045
+ for (optionId in sectionFields) {
5046
+ if (sectionFields[optionId].refresh_after_save) {
5047
+ props["".concat(sectionId, ".").concat(optionId)] = true;
5048
+ }
5049
+ }
5050
+ }
5051
+
5052
+ return props;
5053
+ }
5054
+ },
5055
+ methods: {
5056
+ changeTab: function changeTab(section) {
5057
+ var activetab = '';
5058
+ this.currentTab = section.id;
5059
+ this.requiredFields = [];
5060
+
5061
+ if (typeof localStorage != 'undefined') {
5062
+ localStorage.setItem("activetab", this.currentTab);
5063
+ }
5064
+ },
5065
+ showSectionTitle: function showSectionTitle(fields) {
5066
+ return !_.findWhere(fields, {
5067
+ type: 'sub_section'
5068
+ });
5069
+ },
5070
+ sectionTitle: function sectionTitle(index) {
5071
+ return _.findWhere(this.settingSections, {
5072
+ id: index
5073
+ }).title;
5074
+ },
5075
+ fetchSettingValues: function fetchSettingValues() {
5076
+ var self = this,
5077
+ data = {
5078
+ action: 'dokan_get_setting_values',
5079
+ nonce: dokan.nonce
5080
+ };
5081
+ self.showLoading = true;
5082
+ jQuery.post(dokan.ajaxurl, data, function (resp) {
5083
+ if (resp.success) {
5084
+ Object.keys(self.settingFields).forEach(function (section, index) {
5085
+ Object.keys(self.settingFields[section]).forEach(function (field, i) {
5086
+ if (!self.settingValues[section]) {
5087
+ self.settingValues[section] = {};
5088
+ }
5089
+
5090
+ if (typeof resp.data[section][field] === 'undefined') {
5091
+ if (typeof self.settingFields[section][field].default === 'undefined') {
5092
+ self.settingValues[section][field] = '';
5093
+ } else {
5094
+ self.settingValues[section][field] = self.settingFields[section][field].default;
5095
+ }
5096
+ } else {
5097
+ self.settingValues[section][field] = resp.data[section][field];
5098
+ }
5099
+ });
5100
+ });
5101
+ self.settingValues = jQuery.extend({}, self.settingValues);
5102
+ self.showLoading = false;
5103
+ self.isLoaded = true;
5104
+ }
5105
+ });
5106
+ },
5107
+ showMedia: function showMedia(data, $event) {
5108
+ var self = this;
5109
+ var file_frame = wp.media.frames.file_frame = wp.media({
5110
+ title: this.__('Choose your file', 'dokan-lite'),
5111
+ button: {
5112
+ text: this.__('Select', 'dokan-lite')
5113
+ },
5114
+ multiple: false
5115
+ });
5116
+ file_frame.on('select', function () {
5117
+ var attachment = file_frame.state().get('selection').first().toJSON();
5118
+ self.settingValues[data.sectionId][data.name] = attachment.url;
5119
+ });
5120
+ file_frame.open();
5121
+ },
5122
+ saveSettings: function saveSettings(fieldData, section) {
5123
+ if (!this.formIsValid(section)) {
5124
+ return;
5125
+ }
5126
+
5127
+ var self = this,
5128
+ data = {
5129
+ action: 'dokan_save_settings',
5130
+ nonce: dokan.nonce,
5131
+ settingsData: fieldData,
5132
+ section: section
5133
+ };
5134
+ self.showLoading = true;
5135
+ jQuery.post(dokan.ajaxurl, data).done(function (response) {
5136
+ var settings = response.data.settings;
5137
+ self.isSaved = true;
5138
+ self.isUpdated = true;
5139
+ self.message = response.data.message;
5140
+ self.settingValues[settings.name] = settings.value;
5141
+ var option;
5142
+
5143
+ for (option in fieldData) {
5144
+ var fieldName = "".concat(section, ".").concat(option);
5145
+
5146
+ if (self.refreshable_props[fieldName]) {
5147
+ window.location.reload();
5148
+ break;
5149
+ }
5150
+ }
5151
+ }).fail(function (jqXHR) {
5152
+ var messages = jqXHR.responseJSON.data.map(function (error) {
5153
+ return error.message;
5154
+ });
5155
+ alert(messages.join(' '));
5156
+ }).always(function () {
5157
+ self.showLoading = false;
5158
+ });
5159
+ },
5160
+ formIsValid: function formIsValid(section) {
5161
+ var _this = this;
5162
+
5163
+ var allFields = Object.keys(this.settingFields);
5164
+ var requiredFields = this.requiredFields;
5165
+
5166
+ if (!allFields) {
5167
+ return false;
5168
+ }
5169
+
5170
+ allFields.forEach(function (fields, index) {
5171
+ if (section === fields) {
5172
+ var sectionFields = _this.settingFields[fields];
5173
+ Object.values(sectionFields).forEach(function (field) {
5174
+ var subFields = field.fields;
5175
+
5176
+ if (subFields) {
5177
+ Object.values(subFields).forEach(function (subField) {
5178
+ if (subField && subField.required && subField.required === 'yes' && !requiredFields.includes(subField.name)) {
5179
+ requiredFields.push(subField.name);
5180
+ }
5181
+ });
5182
+ }
5183
+
5184
+ if (field && field.required && field.required === 'yes') {
5185
+ if (!requiredFields.includes(field.name)) {
5186
+ requiredFields.push(field.name);
5187
+ }
5188
+ }
5189
+ });
5190
+ }
5191
+ }); // empty the errors array on new form submit
5192
+
5193
+ this.errors = [];
5194
+ requiredFields.forEach(function (field) {
5195
+ Object.values(_this.settingValues).forEach(function (value) {
5196
+ if (field in value && value[field].length < 1) {
5197
+ if (!_this.errors.includes(field)) {
5198
+ _this.errors.push(field); // If flat or percentage commission is set. Remove the required field.
5199
+
5200
+
5201
+ if ('flat' === value['commission_type'] || 'percentage' === value['commission_type']) {
5202
+ _this.errors = _this.arrayRemove(_this.errors, 'admin_percentage');
5203
+ _this.errors = _this.arrayRemove(_this.errors, 'additional_fee');
5204
+ }
5205
+ }
5206
+ }
5207
+ });
5208
+ });
5209
+
5210
+ if (this.errors.length < 1) {
5211
+ return true;
5212
+ }
5213
+
5214
+ return false;
5215
+ },
5216
+ arrayRemove: function arrayRemove(array, value) {
5217
+ return array.filter(function (element) {
5218
+ return element !== value;
5219
+ });
5220
+ }
5221
+ },
5222
+ created: function created() {
5223
+ this.fetchSettingValues();
5224
+ this.currentTab = 'dokan_general';
5225
+
5226
+ if (typeof localStorage != 'undefined') {
5227
+ this.currentTab = localStorage.getItem("activetab") ? localStorage.getItem("activetab") : 'dokan_general';
5228
+ }
5229
+
5230
+ this.settingSections = dokan.settings_sections;
5231
+ this.settingFields = dokan.settings_fields;
5232
+ }
5233
+ });
5234
+
5235
+ /***/ }),
5236
+ /* 50 */
5237
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5238
+
5239
+ "use strict";
5240
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_defineProperty__ = __webpack_require__(125);
5241
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_defineProperty__);
5242
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_slicedToArray__ = __webpack_require__(126);
5243
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_slicedToArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_slicedToArray__);
5244
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_admin_components_ColorPicker_vue__ = __webpack_require__(22);
5245
+
5246
+
5247
+
5248
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
5249
+
5250
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_defineProperty___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5251
+
5252
+ //
5253
+ //
5254
+ //
5255
+ //
5256
+ //
5257
+ //
5258
+ //
5259
+ //
5260
+ //
5261
+ //
5262
+ //
5263
+ //
5264
+ //
5265
+ //
5266
+ //
5267
+ //
5268
+ //
5269
+ //
5270
+ //
5271
+ //
5272
+ //
5273
+ //
5274
+ //
5275
+ //
5276
+ //
5277
+ //
5278
+ //
5279
+ //
5280
+ //
5281
+ //
5282
+ //
5283
+ //
5284
+ //
5285
+ //
5286
+ //
5287
+ //
5288
+ //
5289
+ //
5290
+ //
5291
+ //
5292
+ //
5293
+ //
5294
+ //
5295
+ //
5296
+ //
5297
+ //
5298
+ //
5299
+ //
5300
+ //
5301
+ //
5302
+ //
5303
+ //
5304
+ //
5305
+ //
5306
+ //
5307
+ //
5308
+ //
5309
+ //
5310
+ //
5311
+ //
5312
+ //
5313
+ //
5314
+ //
5315
+ //
5316
+ //
5317
+ //
5318
+ //
5319
+ //
5320
+ //
5321
+ //
5322
+ //
5323
+ //
5324
+ //
5325
+ //
5326
+ //
5327
+ //
5328
+ //
5329
+ //
5330
+ //
5331
+ //
5332
+ //
5333
+ //
5334
+ //
5335
+ //
5336
+ //
5337
+ //
5338
+ //
5339
+ //
5340
+ //
5341
+ //
5342
+ //
5343
+ //
5344
+ //
5345
+ //
5346
+ //
5347
+ //
5348
+ //
5349
+ //
5350
+ //
5351
+ //
5352
+ //
5353
+ //
5354
+ //
5355
+ //
5356
+ //
5357
+ //
5358
+ //
5359
+ //
5360
+ //
5361
+ //
5362
+ //
5363
+ //
5364
+ //
5365
+ //
5366
+ //
5367
+ //
5368
+ //
5369
+ //
5370
+ //
5371
+ //
5372
+ //
5373
+ //
5374
+ //
5375
+ //
5376
+ //
5377
+ //
5378
+ //
5379
+ //
5380
+ //
5381
+ //
5382
+ //
5383
+ //
5384
+ //
5385
+ //
5386
+ //
5387
+ //
5388
+ //
5389
+ //
5390
+ //
5391
+ //
5392
+ //
5393
+ //
5394
+ //
5395
+ //
5396
+ //
5397
+ //
5398
+ //
5399
+ //
5400
+ //
5401
+ //
5402
+ //
5403
+ //
5404
+ //
5405
+ //
5406
+ //
5407
+ //
5408
+ //
5409
+ //
5410
+ //
5411
+ //
5412
+ //
5413
+ //
5414
+ //
5415
+ //
5416
+ //
5417
+ //
5418
+ //
5419
+ //
5420
+ //
5421
+ //
5422
+ //
5423
+ //
5424
+ //
5425
+ //
5426
+ //
5427
+ //
5428
+ //
5429
+ //
5430
+ //
5431
+ //
5432
+ //
5433
+ //
5434
+ //
5435
+ //
5436
+ //
5437
+ //
5438
+ //
5439
+ //
5440
+ //
5441
+ //
5442
+ //
5443
+ //
5444
+ //
5445
+ //
5446
+ //
5447
+ //
5448
+ //
5449
+ //
5450
+ //
5451
+ //
5452
+ //
5453
+ //
5454
+ //
5455
+ //
5456
+ //
5457
+ //
5458
+ //
5459
+ //
5460
+ //
5461
+ //
5462
+ //
5463
+ //
5464
+ //
5465
+ //
5466
+ //
5467
+ //
5468
+ //
5469
+ //
5470
+ //
5471
+ //
5472
+ //
5473
+ //
5474
+ //
5475
+ //
5476
+ //
5477
+ //
5478
+ //
5479
+ //
5480
+ //
5481
+ //
5482
+ //
5483
+ //
5484
+ //
5485
+ //
5486
+ //
5487
+ //
5488
+ //
5489
+ //
5490
+ //
5491
+ //
5492
+ //
5493
+ //
5494
+ //
5495
+ //
5496
+ //
5497
+ //
5498
+ //
5499
+ //
5500
+ //
5501
+ //
5502
+ //
5503
+ //
5504
+ //
5505
+ //
5506
+ //
5507
+ //
5508
+ //
5509
+ //
5510
+ //
5511
+ //
5512
+ //
5513
+ //
5514
+ //
5515
+ //
5516
+ //
5517
+ //
5518
+ //
5519
+ //
5520
+ //
5521
+ //
5522
+ //
5523
+ //
5524
+ //
5525
+ //
5526
+ //
5527
+ //
5528
+ //
5529
+ //
5530
+ //
5531
+ //
5532
+ //
5533
+ //
5534
+ //
5535
+
5536
+ var TextEditor = dokan_get_lib('TextEditor');
5537
+ var GoogleMaps = dokan_get_lib('GoogleMaps');
5538
+ var Mapbox = dokan_get_lib('Mapbox');
5539
+ /* harmony default export */ __webpack_exports__["a"] = ({
5540
+ name: 'Fields',
5541
+ components: {
5542
+ colorPicker: __WEBPACK_IMPORTED_MODULE_2_admin_components_ColorPicker_vue__["a" /* default */],
5543
+ TextEditor: TextEditor,
5544
+ GoogleMaps: GoogleMaps,
5545
+ Mapbox: Mapbox
5546
+ },
5547
+ props: ['id', 'fieldData', 'sectionId', 'fieldValue', 'allSettingsValues', 'errors'],
5548
+ data: function data() {
5549
+ return {
5550
+ repeatableItem: {},
5551
+ hideMap: false
5552
+ };
5553
+ },
5554
+ computed: {
5555
+ shoudShow: function shoudShow() {
5556
+ var shoudShow = true;
5557
+
5558
+ if (this.fieldData.show_if) {
5559
+ var conditions = this.fieldData.show_if;
5560
+ var dependencies = Object.keys(conditions);
5561
+ var i = 0;
5562
+
5563
+ for (i = 0; i < dependencies.length; i++) {
5564
+ var dependency = dependencies[i];
5565
+
5566
+ var _dependency$split$rev = dependency.split('.').reverse(),
5567
+ _dependency$split$rev2 = __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_slicedToArray___default()(_dependency$split$rev, 2),
5568
+ optionId = _dependency$split$rev2[0],
5569
+ _dependency$split$rev3 = _dependency$split$rev2[1],
5570
+ sectionId = _dependency$split$rev3 === void 0 ? this.sectionId : _dependency$split$rev3;
5571
+
5572
+ var dependencyValue = this.allSettingsValues[sectionId][optionId];
5573
+
5574
+ var _$chain$pairs$first$v = _.chain(conditions[dependency]).pairs().first().value(),
5575
+ _$chain$pairs$first$v2 = __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_slicedToArray___default()(_$chain$pairs$first$v, 2),
5576
+ operator = _$chain$pairs$first$v2[0],
5577
+ value = _$chain$pairs$first$v2[1];
5578
+
5579
+ switch (operator) {
5580
+ case 'greater_than':
5581
+ if (!(dependencyValue > value)) {
5582
+ shoudShow = false;
5583
+ }
5584
+
5585
+ break;
5586
+
5587
+ case 'greater_than_equal':
5588
+ if (!(dependencyValue >= value)) {
5589
+ shoudShow = false;
5590
+ }
5591
+
5592
+ break;
5593
+
5594
+ case 'less_than':
5595
+ if (!(dependencyValue < value)) {
5596
+ shoudShow = false;
5597
+ }
5598
+
5599
+ break;
5600
+
5601
+ case 'less_than':
5602
+ if (!(dependencyValue <= value)) {
5603
+ shoudShow = false;
5604
+ }
5605
+
5606
+ break;
5607
+
5608
+ case 'equal':
5609
+ default:
5610
+ if (dependencyValue != value) {
5611
+ shoudShow = false;
5612
+ }
5613
+
5614
+ break;
5615
+ }
5616
+
5617
+ if (!shoudShow) {
5618
+ break;
5619
+ }
5620
+ }
5621
+ }
5622
+
5623
+ return shoudShow;
5624
+ },
5625
+ mapApiSource: function mapApiSource() {
5626
+ var _this$allSettingsValu, _this$allSettingsValu2;
5627
+
5628
+ return (_this$allSettingsValu = this.allSettingsValues) === null || _this$allSettingsValu === void 0 ? void 0 : (_this$allSettingsValu2 = _this$allSettingsValu.dokan_appearance) === null || _this$allSettingsValu2 === void 0 ? void 0 : _this$allSettingsValu2.map_api_source;
5629
+ },
5630
+ mapLocation: function mapLocation() {
5631
+ var location = _objectSpread({}, {
5632
+ latitude: 23.709921,
5633
+ longitude: 90.40714300000002,
5634
+ address: 'Dhaka',
5635
+ zoom: 10
5636
+ }, {}, this.fieldValue[this.fieldData.name]);
5637
+
5638
+ location = {
5639
+ latitude: parseFloat(location.latitude),
5640
+ longitude: parseFloat(location.longitude),
5641
+ address: "".concat(location.address),
5642
+ zoom: parseInt(location.zoom)
5643
+ };
5644
+ return location;
5645
+ },
5646
+ googleMapApiKey: function googleMapApiKey() {
5647
+ var _this$allSettingsValu3, _this$allSettingsValu4;
5648
+
5649
+ return (_this$allSettingsValu3 = this.allSettingsValues) === null || _this$allSettingsValu3 === void 0 ? void 0 : (_this$allSettingsValu4 = _this$allSettingsValu3.dokan_appearance) === null || _this$allSettingsValu4 === void 0 ? void 0 : _this$allSettingsValu4.gmap_api_key;
5650
+ },
5651
+ mapboxAccessToken: function mapboxAccessToken() {
5652
+ var _this$allSettingsValu5, _this$allSettingsValu6;
5653
+
5654
+ return (_this$allSettingsValu5 = this.allSettingsValues) === null || _this$allSettingsValu5 === void 0 ? void 0 : (_this$allSettingsValu6 = _this$allSettingsValu5.dokan_appearance) === null || _this$allSettingsValu6 === void 0 ? void 0 : _this$allSettingsValu6.mapbox_access_token;
5655
+ }
5656
+ },
5657
+ beforeMount: function beforeMount() {
5658
+ if ('multicheck' === this.fieldData.type && !this.fieldValue[this.fieldData.name]) {
5659
+ this.fieldValue[this.fieldData.name] = this.fieldData.default;
5660
+ }
5661
+ },
5662
+ methods: {
5663
+ containCommonFields: function containCommonFields(type) {
5664
+ return _.contains([undefined, 'text', 'email', 'url', 'phone'], type);
5665
+ },
5666
+ addItem: function addItem(type, name) {
5667
+ this.fieldValue[name] = this.fieldValue[name] || [];
5668
+
5669
+ if (typeof this.repeatableItem[name] == 'undefined' || !this.repeatableItem[name]) {
5670
+ return;
5671
+ }
5672
+
5673
+ this.fieldValue[name].push({
5674
+ id: this.repeatableItem[name].trim().replace(/\s+/g, '_').toLowerCase(),
5675
+ value: this.repeatableItem[name]
5676
+ });
5677
+ this.repeatableItem[name] = '';
5678
+ },
5679
+ removeItem: function removeItem(optionVal, name) {
5680
+ this.fieldValue[name].splice(optionVal, 1);
5681
+ },
5682
+ haveCondition: function haveCondition(fieldData) {
5683
+ return fieldData.hasOwnProperty('condition');
5684
+ },
5685
+ checkConditionLogic: function checkConditionLogic(fieldData, fieldValue) {
5686
+ var logic = fieldData.condition.logic;
5687
+ var isValid = false;
5688
+
5689
+ _.each(logic, function (value, key) {
5690
+ if (_.contains(value, fieldValue[key])) {
5691
+ isValid = true;
5692
+ }
5693
+ });
5694
+
5695
+ return isValid;
5696
+ },
5697
+ onHideMap: function onHideMap(hideMap) {
5698
+ this.hideMap = hideMap;
5699
+ },
5700
+ onUpdateMap: function onUpdateMap(payload) {
5701
+ this.fieldValue[this.fieldData.name] = _objectSpread({}, this.mapLocation, {}, payload);
5702
+ },
5703
+ hasError: function hasError(key) {
5704
+ var errors = this.errors;
5705
+
5706
+ if (!errors || typeof errors === 'undefined') {
5707
+ return false;
5708
+ }
5709
+
5710
+ if (errors.length < 1) {
5711
+ return false;
5712
+ }
5713
+
5714
+ if (errors.includes(key)) {
5715
+ return key;
5716
+ }
5717
+ },
5718
+ getError: function getError(label) {
5719
+ return label + ' ' + this.__('is required.', 'dokan-lite');
5720
+ }
5721
+ }
5722
+ });
5723
+
5724
+ /***/ }),
5725
+ /* 51 */,
5726
+ /* 52 */,
5727
+ /* 53 */,
5728
+ /* 54 */,
5729
+ /* 55 */,
5730
+ /* 56 */,
5731
+ /* 57 */,
5732
+ /* 58 */,
5733
+ /* 59 */
5734
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5735
+
5736
+ "use strict";
5737
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AddVendor_vue__ = __webpack_require__(153);
5738
+ //
5739
+ //
5740
+ //
5741
+ //
5742
+ //
5743
+ //
5744
+ //
5745
+ //
5746
+ //
5747
+ //
5748
+ //
5749
+ //
5750
+ //
5751
+ //
5752
+ //
5753
+ //
5754
+ //
5755
+ //
5756
+ //
5757
+ //
5758
+ //
5759
+ //
5760
+ //
5761
+ //
5762
+ //
5763
+ //
5764
+ //
5765
+ //
5766
+ //
5767
+ //
5768
+ //
5769
+ //
5770
+ //
5771
+ //
5772
+ //
5773
+ //
5774
+ //
5775
+ //
5776
+ //
5777
+ //
5778
+ //
5779
+ //
5780
+ //
5781
+ //
5782
+ //
5783
+ //
5784
+ //
5785
+ //
5786
+ //
5787
+ //
5788
+ //
5789
+ //
5790
+ //
5791
+ //
5792
+ //
5793
+ //
5794
+ //
5795
+ //
5796
+ //
5797
+ //
5798
+ //
5799
+ //
5800
+ //
5801
+ //
5802
+ //
5803
+ //
5804
+ //
5805
+ //
5806
+ //
5807
+ //
5808
+ //
5809
+ //
5810
+ //
5811
+ //
5812
+ //
5813
+ //
5814
+ //
5815
+ //
5816
+ //
5817
+ //
5818
+ //
5819
+ //
5820
+ //
5821
+ //
5822
+ //
5823
+ //
5824
+ //
5825
+ //
5826
+
5827
+ var ListTable = dokan_get_lib('ListTable');
5828
+ var Switches = dokan_get_lib('Switches');
5829
+ var Search = dokan_get_lib('Search');
5830
+ /* harmony default export */ __webpack_exports__["a"] = ({
5831
+ name: 'Vendors',
5832
+ components: {
5833
+ ListTable: ListTable,
5834
+ Switches: Switches,
5835
+ Search: Search,
5836
+ AddVendor: __WEBPACK_IMPORTED_MODULE_0__AddVendor_vue__["a" /* default */]
5837
+ },
5838
+ data: function data() {
5839
+ return {
5840
+ showCb: true,
5841
+ hasPro: dokan.hasPro,
5842
+ counts: {
5843
+ pending: 0,
5844
+ approved: 0,
5845
+ all: 0
5846
+ },
5847
+ vendorId: 0,
5848
+ totalItems: 0,
5849
+ perPage: 20,
5850
+ totalPages: 1,
5851
+ loading: false,
5852
+ columns: {
5853
+ 'store_name': {
5854
+ label: this.__('Store', 'dokan-lite'),
5855
+ sortable: true
5856
+ },
5857
+ 'email': {
5858
+ label: this.__('E-mail', 'dokan-lite')
5859
+ },
5860
+ 'phone': {
5861
+ label: this.__('Phone', 'dokan-lite')
5862
+ },
5863
+ 'registered': {
5864
+ label: this.__('Registered', 'dokan-lite'),
5865
+ sortable: true
5866
+ },
5867
+ 'enabled': {
5868
+ label: this.__('Status', 'dokan-lite')
5869
+ }
5870
+ },
5871
+ actionColumn: 'title',
5872
+ actions: [{
5873
+ key: 'edit',
5874
+ label: this.__('Edit', 'dokan-lite')
5875
+ }, {
5876
+ key: 'products',
5877
+ label: this.__('Products', 'dokan-lite')
5878
+ }, {
5879
+ key: 'orders',
5880
+ label: this.__('Orders', 'dokan-lite')
5881
+ }],
5882
+ bulkActions: [{
5883
+ key: 'approved',
5884
+ label: this.__('Approve Vendors', 'dokan-lite')
5885
+ }, {
5886
+ key: 'pending',
5887
+ label: this.__('Disable Selling', 'dokan-lite')
5888
+ }],
5889
+ vendors: [],
5890
+ loadAddVendor: false,
5891
+ dokanVendorHeaderArea: dokan.hooks.applyFilters('getDokanVendorHeaderArea', [])
5892
+ };
5893
+ },
5894
+ watch: {
5895
+ '$route.query.status': function $routeQueryStatus() {
5896
+ this.fetchVendors();
5897
+ },
5898
+ '$route.query.page': function $routeQueryPage() {
5899
+ this.fetchVendors();
5900
+ },
5901
+ '$route.query.orderby': function $routeQueryOrderby() {
5902
+ this.fetchVendors();
5903
+ },
5904
+ '$route.query.order': function $routeQueryOrder() {
5905
+ this.fetchVendors();
5906
+ }
5907
+ },
5908
+ computed: {
5909
+ currentStatus: function currentStatus() {
5910
+ return this.$route.query.status || 'all';
5911
+ },
5912
+ currentPage: function currentPage() {
5913
+ var page = this.$route.query.page || 1;
5914
+ return parseInt(page);
5915
+ },
5916
+ sortBy: function sortBy() {
5917
+ return this.$route.query.orderby || 'registered';
5918
+ },
5919
+ sortOrder: function sortOrder() {
5920
+ return this.$route.query.order || 'desc';
5921
+ },
5922
+ storeCategory: function storeCategory() {
5923
+ return this.$route.query.store_category || null;
5924
+ }
5925
+ },
5926
+ created: function created() {
5927
+ var _this = this;
5928
+
5929
+ this.$root.$on('modalClosed', function () {
5930
+ _this.loadAddVendor = false;
5931
+ _this.vendorId = 0;
5932
+ });
5933
+ this.fetchVendors();
5934
+ this.$root.$on('vendorAdded', function (payload) {
5935
+ _this.vendors.unshift(payload);
5936
+ });
5937
+ this.$root.$on('addAnotherVendor', function () {
5938
+ _this.loadAddVendor = true;
5939
+ });
5940
+ this.$root.$on('categoryFetched', function (payload) {
5941
+ _this.categories = payload.categories;
5942
+ _this.isCategoryMultiple = payload.isCategoryMultiple;
5943
+ _this.columns = payload.columns;
5944
+ });
5945
+ },
5946
+ methods: {
5947
+ addNew: function addNew() {
5948
+ this.loadAddVendor = true;
5949
+ },
5950
+ doSearch: function doSearch(payload) {
5951
+ var _this2 = this;
5952
+
5953
+ var self = this;
5954
+ self.loading = true;
5955
+ dokan.api.get("/stores?search=".concat(payload), {
5956
+ page: this.currentPage,
5957
+ orderby: this.sortBy,
5958
+ order: this.sortOrder
5959
+ }).done(function (response, status, xhr) {
5960
+ self.vendors = response;
5961
+ self.loading = false;
5962
+
5963
+ _this2.updatedCounts(xhr);
5964
+
5965
+ _this2.updatePagination(xhr);
5966
+ });
5967
+ },
5968
+ updatedCounts: function updatedCounts(xhr) {
5969
+ this.counts.pending = parseInt(xhr.getResponseHeader('X-Status-Pending'));
5970
+ this.counts.approved = parseInt(xhr.getResponseHeader('X-Status-Approved'));
5971
+ this.counts.all = parseInt(xhr.getResponseHeader('X-Status-All'));
5972
+ },
5973
+ updatePagination: function updatePagination(xhr) {
5974
+ this.totalPages = parseInt(xhr.getResponseHeader('X-WP-TotalPages'));
5975
+ this.totalItems = parseInt(xhr.getResponseHeader('X-WP-Total'));
5976
+ },
5977
+ fetchVendors: function fetchVendors() {
5978
+ var self = this;
5979
+ self.loading = true;
5980
+ var data = {
5981
+ per_page: self.perPage,
5982
+ page: self.currentPage,
5983
+ status: self.currentStatus,
5984
+ orderby: self.sortBy,
5985
+ order: self.sortOrder,
5986
+ store_category: self.storeCategory
5987
+ };
5988
+ dokan.api.get('/stores', data).done(function (response, status, xhr) {
5989
+ self.vendors = response;
5990
+ self.loading = false;
5991
+ self.updatedCounts(xhr);
5992
+ self.updatePagination(xhr);
5993
+ });
5994
+ },
5995
+ onActionClick: function onActionClick(action, row) {
5996
+ if ('trash' === action) {
5997
+ if (confirm('Are you sure to delete?')) {
5998
+ alert('deleted: ' + row.title);
5999
+ }
6000
+ }
6001
+ },
6002
+ onSwitch: function onSwitch(status, vendor_id) {
6003
+ var _this3 = this;
6004
+
6005
+ var message = status === false ? this.__('The vendor has been disabled.', 'dokan-lite') : this.__('Selling has been enabled', 'dokan-lite');
6006
+ dokan.api.put('/stores/' + vendor_id + '/status', {
6007
+ status: status === false ? 'inactive' : 'active'
6008
+ }).done(function (response) {
6009
+ _this3.$notify({
6010
+ title: _this3.__('Success!', 'dokan-lite'),
6011
+ type: 'success',
6012
+ text: message
6013
+ });
6014
+
6015
+ if (_this3.currentStatus !== 'all') {
6016
+ _this3.fetchVendors();
6017
+ }
6018
+ });
6019
+ },
6020
+ moment: function (_moment) {
6021
+ function moment(_x) {
6022
+ return _moment.apply(this, arguments);
6023
+ }
6024
+
6025
+ moment.toString = function () {
6026
+ return _moment.toString();
6027
+ };
6028
+
6029
+ return moment;
6030
+ }(function (date) {
6031
+ return moment(date);
6032
+ }),
6033
+ goToPage: function goToPage(page) {
6034
+ this.$router.push({
6035
+ name: 'Vendors',
6036
+ query: {
6037
+ status: this.currentStatus,
6038
+ page: page
6039
+ }
6040
+ });
6041
+ },
6042
+ onBulkAction: function onBulkAction(action, items) {
6043
+ var _this4 = this;
6044
+
6045
+ var jsonData = {};
6046
+ jsonData[action] = items;
6047
+ this.loading = true;
6048
+ dokan.api.put('/stores/batch', jsonData).done(function (response) {
6049
+ _this4.loading = false;
6050
+
6051
+ _this4.fetchVendors();
6052
+ });
6053
+ },
6054
+ sortCallback: function sortCallback(column, order) {
6055
+ this.$router.push({
6056
+ name: 'Vendors',
6057
+ query: {
6058
+ status: this.currentStatus,
6059
+ page: 1,
6060
+ orderby: column,
6061
+ order: order
6062
+ }
6063
+ });
6064
+ },
6065
+ productUrl: function productUrl(id) {
6066
+ return dokan.urls.adminRoot + 'edit.php?post_type=product&author=' + id;
6067
+ },
6068
+ ordersUrl: function ordersUrl(id) {
6069
+ return dokan.urls.adminRoot + 'edit.php?post_type=shop_order&vendor_id=' + id;
6070
+ },
6071
+ editUrl: function editUrl(id) {
6072
+ return dokan.urls.adminRoot + 'user-edit.php?user_id=' + id;
6073
+ }
6074
+ }
6075
+ });
6076
+
6077
+ /***/ }),
6078
+ /* 60 */
6079
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6080
+
6081
+ "use strict";
6082
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__VendorAccountFields_vue__ = __webpack_require__(25);
6083
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__VendorAddressFields_vue__ = __webpack_require__(32);
6084
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__VendorPaymentFields_vue__ = __webpack_require__(34);
6085
+ //
6086
+ //
6087
+ //
6088
+ //
6089
+ //
6090
+ //
6091
+ //
6092
+ //
6093
+ //
6094
+ //
6095
+ //
6096
+ //
6097
+ //
6098
+ //
6099
+ //
6100
+ //
6101
+ //
6102
+ //
6103
+ //
6104
+ //
6105
+ //
6106
+ //
6107
+ //
6108
+ //
6109
+ //
6110
+ //
6111
+ //
6112
+ //
6113
+ //
6114
+ //
6115
+ //
6116
+ //
6117
+ //
6118
+ //
6119
+ //
6120
+ //
6121
+ var Modal = dokan_get_lib('Modal');
6122
+ var Loading = dokan_get_lib('Loading');
6123
+
6124
+
6125
+
6126
+ /* harmony default export */ __webpack_exports__["a"] = ({
6127
+ name: 'AddVendor',
6128
+ props: ['vendorId'],
6129
+ components: {
6130
+ Modal: Modal,
6131
+ Loading: Loading,
6132
+ VendorAccountFields: __WEBPACK_IMPORTED_MODULE_0__VendorAccountFields_vue__["a" /* default */],
6133
+ VendorAddressFields: __WEBPACK_IMPORTED_MODULE_1__VendorAddressFields_vue__["a" /* default */],
6134
+ VendorPaymentFields: __WEBPACK_IMPORTED_MODULE_2__VendorPaymentFields_vue__["a" /* default */]
6135
+ },
6136
+ data: function data() {
6137
+ return {
6138
+ isLoading: false,
6139
+ storeId: '',
6140
+ nextBtn: this.__('Next', 'dokan-lite'),
6141
+ title: this.__('Add New Vendor', 'dokan-lite'),
6142
+ tabs: {
6143
+ VendorAccountFields: {
6144
+ label: this.__('Account Info', 'dokan-lite'),
6145
+ name: 'VendorAccountFields',
6146
+ icon: 'dashicons dashicons-admin-users'
6147
+ },
6148
+ VendorAddressFields: {
6149
+ label: this.__('Address', 'dokan-lite'),
6150
+ name: 'VendorAddressFields',
6151
+ icon: 'dashicons dashicons-admin-home'
6152
+ },
6153
+ VendorPaymentFields: {
6154
+ label: this.__('Payment Options', 'dokan-lite'),
6155
+ name: 'VendorPaymentFields',
6156
+ icon: 'dashicons dashicons-money'
6157
+ }
6158
+ },
6159
+ currentTab: 'VendorAccountFields',
6160
+ store: {
6161
+ store_name: '',
6162
+ user_pass: '',
6163
+ store_url: '',
6164
+ user_login: '',
6165
+ user_email: '',
6166
+ user_nicename: '',
6167
+ notify_vendor: true,
6168
+ phone: '',
6169
+ banner: '',
6170
+ banner_id: '',
6171
+ gravatar: '',
6172
+ gravatar_id: '',
6173
+ social: {
6174
+ fb: '',
6175
+ gplus: '',
6176
+ youtube: '',
6177
+ twitter: '',
6178
+ linkedin: '',
6179
+ pinterest: '',
6180
+ instagram: ''
6181
+ },
6182
+ payment: {
6183
+ bank: {
6184
+ ac_name: '',
6185
+ ac_number: '',
6186
+ bank_name: '',
6187
+ bank_addr: '',
6188
+ routing_number: '',
6189
+ iban: '',
6190
+ swift: ''
6191
+ },
6192
+ paypal: {
6193
+ email: ''
6194
+ }
6195
+ },
6196
+ address: {
6197
+ street_1: '',
6198
+ street_2: '',
6199
+ city: '',
6200
+ zip: '',
6201
+ state: '',
6202
+ country: ''
6203
+ }
6204
+ },
6205
+ requiredFields: ['store_name', 'user_login', 'user_email'],
6206
+ errors: [],
6207
+ storeAvailable: false,
6208
+ userNameAvailable: false,
6209
+ emailAvailable: false,
6210
+ hasPro: dokan.hasPro
6211
+ };
6212
+ },
6213
+ created: function created() {
6214
+ var _this = this;
6215
+
6216
+ this.$root.$on('vendorInfoChecked', function (payload) {
6217
+ _this.storeAvailable = payload.storeAvailable;
6218
+ _this.userNameAvailable = payload.userNameAvailable;
6219
+ _this.emailAvailable = payload.emailAvailable;
6220
+ });
6221
+ },
6222
+ methods: {
6223
+ getId: function getId() {
6224
+ return this.$route.params.id;
6225
+ },
6226
+ showAlert: function showAlert($title, $des, $status) {
6227
+ this.$swal($title, $des, $status);
6228
+ },
6229
+ createVendor: function createVendor() {
6230
+ var _this2 = this;
6231
+
6232
+ if (!this.formIsValid()) {
6233
+ return;
6234
+ }
6235
+
6236
+ if ('VendorPaymentFields' === this.currentTab) {
6237
+ this.isLoading = true;
6238
+ dokan.api.post('/stores/', this.store).done(function (response) {
6239
+ _this2.$root.$emit('vendorAdded', response);
6240
+
6241
+ _this2.$swal({
6242
+ type: 'success',
6243
+ title: _this2.__('Vendor Created', 'dokan-lite'),
6244
+ text: _this2.__('A vendor has been created successfully!', 'dokan-lite'),
6245
+ showCloseButton: true,
6246
+ showCancelButton: true,
6247
+ confirmButtonText: _this2.__('Add Another', 'dokan-lite'),
6248
+ cancelButtonText: _this2.__('Edit Vendor', 'dokan-lite'),
6249
+ focusConfirm: false
6250
+ }).then(function (result) {
6251
+ if (result.value) {
6252
+ _this2.$root.$emit('addAnotherVendor');
6253
+ } else if (result.dismiss === _this2.$swal.DismissReason.cancel) {
6254
+ if (_this2.hasPro) {
6255
+ _this2.$router.push({
6256
+ path: 'vendors/' + response.id,
6257
+ query: {
6258
+ edit: 'true'
6259
+ }
6260
+ });
6261
+ } else {
6262
+ window.location.replace("".concat(dokan.urls.adminRoot, "user-edit.php?user_id=").concat(response.id));
6263
+ }
6264
+ }
6265
+ });
6266
+ }).fail(function (response) {
6267
+ _this2.showAlert(_this2.__(response.responseJSON.message, 'dokan-lite'), '', 'error');
6268
+ }).always(function () {
6269
+ _this2.$root.$emit('modalClosed');
6270
+ });
6271
+ } // move next tab
6272
+
6273
+
6274
+ this.currentTab = 'VendorPaymentFields' === this.currentTab ? 'VendorPaymentFields' : this.nextTab(this.tabs, this.currentTab);
6275
+ },
6276
+ nextTab: function nextTab(tabs, currentTab) {
6277
+ var keys = Object.keys(tabs);
6278
+ var nextIndex = keys.indexOf(currentTab) + 1;
6279
+ var nextTab = keys[nextIndex];
6280
+ return nextTab;
6281
+ },
6282
+ closeModal: function closeModal() {
6283
+ this.$root.$emit('modalClosed');
6284
+ },
6285
+ formIsValid: function formIsValid() {
6286
+ var _this3 = this;
6287
+
6288
+ var requiredFields = this.requiredFields;
6289
+ var allFields = this.store; // empty the errors array on new form submit
6290
+
6291
+ this.errors = [];
6292
+ requiredFields.forEach(function (field) {
6293
+ if (field in allFields && allFields[field].length < 1) {
6294
+ _this3.errors.push(field);
6295
+ }
6296
+ }); // if no error && store_slug & username is available, return true
6297
+
6298
+ if (this.errors.length < 1 && this.storeAvailable && this.userNameAvailable && this.emailAvailable) {
6299
+ return true;
6300
+ } // go back to first tab, if there are errors
6301
+
6302
+
6303
+ this.currentTab = 'VendorAccountFields';
6304
+ return false;
6305
+ }
6306
+ }
6307
+ });
6308
+
6309
+ /***/ }),
6310
+ /* 61 */,
6311
+ /* 62 */,
6312
+ /* 63 */,
6313
+ /* 64 */,
6314
+ /* 65 */,
6315
+ /* 66 */,
6316
+ /* 67 */,
6317
+ /* 68 */,
6318
+ /* 69 */,
6319
+ /* 70 */,
6320
+ /* 71 */,
6321
+ /* 72 */,
6322
+ /* 73 */,
6323
+ /* 74 */,
6324
+ /* 75 */,
6325
+ /* 76 */,
6326
+ /* 77 */,
6327
+ /* 78 */,
6328
+ /* 79 */,
6329
+ /* 80 */,
6330
+ /* 81 */,
6331
+ /* 82 */,
6332
+ /* 83 */,
6333
+ /* 84 */,
6334
+ /* 85 */,
6335
+ /* 86 */,
6336
+ /* 87 */,
6337
+ /* 88 */,
6338
+ /* 89 */,
6339
+ /* 90 */,
6340
+ /* 91 */,
6341
+ /* 92 */,
6342
+ /* 93 */,
6343
+ /* 94 */
6344
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6345
+
6346
+ "use strict";
6347
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6348
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__App_vue__ = __webpack_require__(95);
6349
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__router__ = __webpack_require__(98);
6350
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_admin_menu_fix__ = __webpack_require__(157);
6351
+
6352
+
6353
+
6354
+ /* eslint-disable no-new */
6355
+
6356
+ var Vue = dokan_get_lib('Vue');
6357
+ new Vue({
6358
+ el: '#dokan-vue-admin',
6359
+ router: __WEBPACK_IMPORTED_MODULE_1__router__["a" /* default */],
6360
+ render: function render(h) {
6361
+ return h(__WEBPACK_IMPORTED_MODULE_0__App_vue__["a" /* default */]);
6362
+ },
6363
+ created: function created() {
6364
+ this.setLocaleData(dokan.i18n['dokan-lite']);
6365
+ }
6366
+ }); // fix the admin menu for the slug "vue-app"
6367
+
6368
+ Object(__WEBPACK_IMPORTED_MODULE_2__utils_admin_menu_fix__["a" /* default */])('dokan');
6369
+
6370
+ /***/ }),
6371
+ /* 95 */
6372
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6373
+
6374
+ "use strict";
6375
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_App_vue__ = __webpack_require__(42);
6376
+ /* unused harmony namespace reexport */
6377
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3a030f38_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_App_vue__ = __webpack_require__(97);
6378
+ var disposed = false
6379
+ function injectStyle (ssrContext) {
6380
+ if (disposed) return
6381
+ __webpack_require__(96)
6382
+ }
6383
+ var normalizeComponent = __webpack_require__(0)
6384
+ /* script */
6385
+
6386
+
6387
+ /* template */
6388
+
6389
+ /* template functional */
6390
+ var __vue_template_functional__ = false
6391
+ /* styles */
6392
+ var __vue_styles__ = injectStyle
6393
+ /* scopeId */
6394
+ var __vue_scopeId__ = null
6395
+ /* moduleIdentifier (server only) */
6396
+ var __vue_module_identifier__ = null
6397
+ var Component = normalizeComponent(
6398
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_App_vue__["a" /* default */],
6399
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3a030f38_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_App_vue__["a" /* default */],
6400
+ __vue_template_functional__,
6401
+ __vue_styles__,
6402
+ __vue_scopeId__,
6403
+ __vue_module_identifier__
6404
+ )
6405
+ Component.options.__file = "src/admin/App.vue"
6406
+
6407
+ /* hot reload */
6408
+ if (false) {(function () {
6409
+ var hotAPI = require("vue-hot-reload-api")
6410
+ hotAPI.install(require("vue"), false)
6411
+ if (!hotAPI.compatible) return
6412
+ module.hot.accept()
6413
+ if (!module.hot.data) {
6414
+ hotAPI.createRecord("data-v-3a030f38", Component.options)
6415
+ } else {
6416
+ hotAPI.reload("data-v-3a030f38", Component.options)
6417
+ }
6418
+ module.hot.dispose(function (data) {
6419
+ disposed = true
6420
+ })
6421
+ })()}
6422
+
6423
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
6424
+
6425
+
6426
+ /***/ }),
6427
+ /* 96 */
6428
+ /***/ (function(module, exports) {
6429
+
6430
+ // removed by extract-text-webpack-plugin
6431
+
6432
+ /***/ }),
6433
+ /* 97 */
6434
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6435
+
6436
+ "use strict";
6437
+ var render = function() {
6438
+ var _vm = this
6439
+ var _h = _vm.$createElement
6440
+ var _c = _vm._self._c || _h
6441
+ return _c(
6442
+ "div",
6443
+ { attrs: { id: "vue-backend-app" } },
6444
+ [
6445
+ _c("router-view"),
6446
+ _vm._v(" "),
6447
+ _c("notifications", { attrs: { position: "bottom right" } })
6448
+ ],
6449
+ 1
6450
+ )
6451
+ }
6452
+ var staticRenderFns = []
6453
+ render._withStripped = true
6454
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
6455
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
6456
+ if (false) {
6457
+ module.hot.accept()
6458
+ if (module.hot.data) {
6459
+ require("vue-hot-reload-api") .rerender("data-v-3a030f38", esExports)
6460
+ }
6461
+ }
6462
+
6463
+ /***/ }),
6464
+ /* 98 */
6465
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6466
+
6467
+ "use strict";
6468
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof__ = __webpack_require__(99);
6469
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof__);
6470
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_admin_pages_Dashboard_vue__ = __webpack_require__(100);
6471
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_admin_pages_Withdraw_vue__ = __webpack_require__(106);
6472
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_admin_pages_Premium_vue__ = __webpack_require__(109);
6473
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_admin_pages_Help_vue__ = __webpack_require__(118);
6474
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_admin_pages_Settings_vue__ = __webpack_require__(121);
6475
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_admin_pages_vendors_vue__ = __webpack_require__(151);
6476
+
6477
+
6478
+
6479
+
6480
+
6481
+
6482
+
6483
+ var Vue = dokan_get_lib('Vue');
6484
+ var Router = dokan_get_lib('Router');
6485
+ var VersionCompare = dokan_get_lib('VersionCompare');
6486
+ Vue.use(Router);
6487
+ dokan_add_route(__WEBPACK_IMPORTED_MODULE_1_admin_pages_Dashboard_vue__["a" /* default */]);
6488
+ dokan_add_route(__WEBPACK_IMPORTED_MODULE_2_admin_pages_Withdraw_vue__["a" /* default */]);
6489
+ dokan_add_route(__WEBPACK_IMPORTED_MODULE_3_admin_pages_Premium_vue__["a" /* default */]);
6490
+ dokan_add_route(__WEBPACK_IMPORTED_MODULE_4_admin_pages_Help_vue__["a" /* default */]);
6491
+ dokan_add_route(__WEBPACK_IMPORTED_MODULE_5_admin_pages_Settings_vue__["a" /* default */]); // if dokan pro not installed or dokan pro is greater than 2.9.14 register the `vendors` route.
6492
+
6493
+ if (!dokan.hasPro || VersionCompare(dokan.proVersion, '2.9.14', '>')) {
6494
+ dokan_add_route(__WEBPACK_IMPORTED_MODULE_6_admin_pages_vendors_vue__["a" /* default */]);
6495
+ }
6496
+ /**
6497
+ * Parse the route array and bind required components
6498
+ *
6499
+ * This changes the dokan.routes array and changes the components
6500
+ * so we can use dokan.routeComponents.{compontent} component.
6501
+ *
6502
+ * @param {array} routes
6503
+ *
6504
+ * @return {void}
6505
+ */
6506
+
6507
+
6508
+ function parseRouteComponent(routes) {
6509
+ for (var i = 0; i < routes.length; i++) {
6510
+ if (__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof___default()(routes[i].children) === 'object') {
6511
+ parseRouteComponent(routes[i].children);
6512
+
6513
+ if (typeof routes[i].component !== 'undefined') {
6514
+ routes[i].component = dokan.routeComponents[routes[i].component];
6515
+ }
6516
+ } else {
6517
+ routes[i].component = dokan.routeComponents[routes[i].component];
6518
+ }
6519
+ }
6520
+ } // mutate the localized array
6521
+
6522
+
6523
+ parseRouteComponent(dokan.routes);
6524
+ /* harmony default export */ __webpack_exports__["a"] = (new Router({
6525
+ routes: dokan.routes
6526
+ }));
6527
+
6528
+ /***/ }),
6529
+ /* 99 */,
6530
+ /* 100 */
6531
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6532
+
6533
+ "use strict";
6534
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Dashboard_vue__ = __webpack_require__(43);
6535
+ /* unused harmony namespace reexport */
6536
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_219ffca0_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Dashboard_vue__ = __webpack_require__(105);
6537
+ var disposed = false
6538
+ function injectStyle (ssrContext) {
6539
+ if (disposed) return
6540
+ __webpack_require__(101)
6541
+ }
6542
+ var normalizeComponent = __webpack_require__(0)
6543
+ /* script */
6544
+
6545
+
6546
+ /* template */
6547
+
6548
+ /* template functional */
6549
+ var __vue_template_functional__ = false
6550
+ /* styles */
6551
+ var __vue_styles__ = injectStyle
6552
+ /* scopeId */
6553
+ var __vue_scopeId__ = null
6554
+ /* moduleIdentifier (server only) */
6555
+ var __vue_module_identifier__ = null
6556
+ var Component = normalizeComponent(
6557
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Dashboard_vue__["a" /* default */],
6558
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_219ffca0_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Dashboard_vue__["a" /* default */],
6559
+ __vue_template_functional__,
6560
+ __vue_styles__,
6561
+ __vue_scopeId__,
6562
+ __vue_module_identifier__
6563
+ )
6564
+ Component.options.__file = "src/admin/pages/Dashboard.vue"
6565
+
6566
+ /* hot reload */
6567
+ if (false) {(function () {
6568
+ var hotAPI = require("vue-hot-reload-api")
6569
+ hotAPI.install(require("vue"), false)
6570
+ if (!hotAPI.compatible) return
6571
+ module.hot.accept()
6572
+ if (!module.hot.data) {
6573
+ hotAPI.createRecord("data-v-219ffca0", Component.options)
6574
+ } else {
6575
+ hotAPI.reload("data-v-219ffca0", Component.options)
6576
+ }
6577
+ module.hot.dispose(function (data) {
6578
+ disposed = true
6579
+ })
6580
+ })()}
6581
+
6582
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
6583
+
6584
+
6585
+ /***/ }),
6586
+ /* 101 */
6587
+ /***/ (function(module, exports) {
6588
+
6589
+ // removed by extract-text-webpack-plugin
6590
+
6591
+ /***/ }),
6592
+ /* 102 */,
6593
+ /* 103 */,
6594
+ /* 104 */,
6595
+ /* 105 */
6596
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6597
+
6598
+ "use strict";
6599
+ var render = function() {
6600
+ var _vm = this
6601
+ var _h = _vm.$createElement
6602
+ var _c = _vm._self._c || _h
6603
+ return _c("div", { staticClass: "dokan-dashboard" }, [
6604
+ _c("h1", [_vm._v(_vm._s(_vm.__("Dashboard", "dokan-lite")))]),
6605
+ _vm._v(" "),
6606
+ _c("div", { staticClass: "widgets-wrapper" }, [
6607
+ _c(
6608
+ "div",
6609
+ { staticClass: "left-side" },
6610
+ [
6611
+ _c(
6612
+ "postbox",
6613
+ {
6614
+ attrs: {
6615
+ title: _vm.__("At a Glance", "dokan-lite"),
6616
+ extraClass: "dokan-status"
6617
+ }
6618
+ },
6619
+ [
6620
+ _vm.overview !== null
6621
+ ? _c("div", { staticClass: "dokan-status" }, [
6622
+ _c("ul", [
6623
+ _c(
6624
+ "li",
6625
+ { staticClass: "sale" },
6626
+ [
6627
+ _c("div", {
6628
+ staticClass: "dashicons dashicons-chart-bar"
6629
+ }),
6630
+ _vm._v(" "),
6631
+ _c(
6632
+ "router-link",
6633
+ {
6634
+ attrs: {
6635
+ to: _vm.hasPro ? { name: "Reports" } : ""
6636
+ }
6637
+ },
6638
+ [
6639
+ _c(
6640
+ "strong",
6641
+ [
6642
+ _c("currency", {
6643
+ attrs: {
6644
+ amount: _vm.overview.sales.this_month
6645
+ }
6646
+ })
6647
+ ],
6648
+ 1
6649
+ ),
6650
+ _vm._v(" "),
6651
+ _c("div", { staticClass: "details" }, [
6652
+ _vm._v(
6653
+ "\n " +
6654
+ _vm._s(
6655
+ _vm.__(
6656
+ "net sales this month",
6657
+ "dokan-lite"
6658
+ )
6659
+ ) +
6660
+ " "
6661
+ ),
6662
+ _c(
6663
+ "span",
6664
+ { class: _vm.overview.sales.class },
6665
+ [_vm._v(_vm._s(_vm.overview.sales.parcent))]
6666
+ )
6667
+ ])
6668
+ ]
6669
+ )
6670
+ ],
6671
+ 1
6672
+ ),
6673
+ _vm._v(" "),
6674
+ _c(
6675
+ "li",
6676
+ { staticClass: "commission" },
6677
+ [
6678
+ _c("div", {
6679
+ staticClass: "dashicons dashicons-chart-pie"
6680
+ }),
6681
+ _vm._v(" "),
6682
+ _c(
6683
+ "router-link",
6684
+ {
6685
+ attrs: {
6686
+ to: _vm.hasPro ? { name: "Reports" } : ""
6687
+ }
6688
+ },
6689
+ [
6690
+ _c(
6691
+ "strong",
6692
+ [
6693
+ _c("currency", {
6694
+ attrs: {
6695
+ amount: _vm.overview.earning.this_month
6696
+ }
6697
+ })
6698
+ ],
6699
+ 1
6700
+ ),
6701
+ _vm._v(" "),
6702
+ _c("div", { staticClass: "details" }, [
6703
+ _vm._v(
6704
+ "\n " +
6705
+ _vm._s(
6706
+ _vm.__("commission earned", "dokan-lite")
6707
+ ) +
6708
+ " "
6709
+ ),
6710
+ _c(
6711
+ "span",
6712
+ { class: _vm.overview.earning.class },
6713
+ [_vm._v(_vm._s(_vm.overview.earning.parcent))]
6714
+ )
6715
+ ])
6716
+ ]
6717
+ )
6718
+ ],
6719
+ 1
6720
+ ),
6721
+ _vm._v(" "),
6722
+ _c(
6723
+ "li",
6724
+ { staticClass: "vendor" },
6725
+ [
6726
+ _c("div", { staticClass: "dashicons dashicons-id" }),
6727
+ _vm._v(" "),
6728
+ _c(
6729
+ "router-link",
6730
+ {
6731
+ attrs: {
6732
+ to: _vm.hasPro ? { name: "Vendors" } : ""
6733
+ }
6734
+ },
6735
+ [
6736
+ _c("strong", [
6737
+ _vm._v(
6738
+ _vm._s(
6739
+ _vm.sprintf(
6740
+ _vm.__("%s Vendor", "dokan-lite"),
6741
+ _vm.overview.vendors.this_month
6742
+ )
6743
+ )
6744
+ )
6745
+ ]),
6746
+ _vm._v(" "),
6747
+ _c("div", { staticClass: "details" }, [
6748
+ _vm._v(
6749
+ "\n " +
6750
+ _vm._s(
6751
+ _vm.__("signup this month", "dokan-lite")
6752
+ ) +
6753
+ " "
6754
+ ),
6755
+ _c(
6756
+ "span",
6757
+ { class: _vm.overview.vendors.class },
6758
+ [_vm._v(_vm._s(_vm.overview.vendors.parcent))]
6759
+ )
6760
+ ])
6761
+ ]
6762
+ )
6763
+ ],
6764
+ 1
6765
+ ),
6766
+ _vm._v(" "),
6767
+ _c(
6768
+ "li",
6769
+ { staticClass: "approval" },
6770
+ [
6771
+ _c("div", {
6772
+ staticClass: "dashicons dashicons-businessman"
6773
+ }),
6774
+ _vm._v(" "),
6775
+ _c(
6776
+ "router-link",
6777
+ {
6778
+ attrs: {
6779
+ to: _vm.hasPro
6780
+ ? {
6781
+ name: "Vendors",
6782
+ query: { status: "pending" }
6783
+ }
6784
+ : ""
6785
+ }
6786
+ },
6787
+ [
6788
+ _c("strong", [
6789
+ _vm._v(
6790
+ _vm._s(
6791
+ _vm.sprintf(
6792
+ _vm.__("%s Vendor", "dokan-lite"),
6793
+ _vm.overview.vendors.inactive
6794
+ )
6795
+ )
6796
+ )
6797
+ ]),
6798
+ _vm._v(" "),
6799
+ _c("div", { staticClass: "details" }, [
6800
+ _vm._v(
6801
+ _vm._s(
6802
+ _vm.__("awaiting approval", "dokan-lite")
6803
+ )
6804
+ )
6805
+ ])
6806
+ ]
6807
+ )
6808
+ ],
6809
+ 1
6810
+ ),
6811
+ _vm._v(" "),
6812
+ _c("li", { staticClass: "product" }, [
6813
+ _c("div", { staticClass: "dashicons dashicons-cart" }),
6814
+ _vm._v(" "),
6815
+ _c("a", { attrs: { href: "#" } }, [
6816
+ _c("strong", [
6817
+ _vm._v(
6818
+ _vm._s(
6819
+ _vm.sprintf(
6820
+ _vm.__("%s Products", "dokan-lite"),
6821
+ _vm.overview.products.this_month
6822
+ )
6823
+ )
6824
+ )
6825
+ ]),
6826
+ _vm._v(" "),
6827
+ _c("div", { staticClass: "details" }, [
6828
+ _vm._v(
6829
+ "\n " +
6830
+ _vm._s(
6831
+ _vm.__("created this month", "dokan-lite")
6832
+ ) +
6833
+ " "
6834
+ ),
6835
+ _c("span", { class: _vm.overview.products.class }, [
6836
+ _vm._v(_vm._s(_vm.overview.products.parcent))
6837
+ ])
6838
+ ])
6839
+ ])
6840
+ ]),
6841
+ _vm._v(" "),
6842
+ _c(
6843
+ "li",
6844
+ { staticClass: "withdraw" },
6845
+ [
6846
+ _c("div", {
6847
+ staticClass: "dashicons dashicons-money"
6848
+ }),
6849
+ _vm._v(" "),
6850
+ _c(
6851
+ "router-link",
6852
+ {
6853
+ attrs: {
6854
+ to: {
6855
+ name: "Withdraw",
6856
+ query: { status: "pending" }
6857
+ }
6858
+ }
6859
+ },
6860
+ [
6861
+ _c("strong", [
6862
+ _vm._v(
6863
+ _vm._s(
6864
+ _vm.sprintf(
6865
+ _vm.__("%s Withdrawals", "dokan-lite"),
6866
+ _vm.overview.withdraw.pending
6867
+ )
6868
+ )
6869
+ )
6870
+ ]),
6871
+ _vm._v(" "),
6872
+ _c("div", { staticClass: "details" }, [
6873
+ _vm._v(
6874
+ _vm._s(
6875
+ _vm.__("awaiting approval", "dokan-lite")
6876
+ )
6877
+ )
6878
+ ])
6879
+ ]
6880
+ )
6881
+ ],
6882
+ 1
6883
+ )
6884
+ ])
6885
+ ])
6886
+ : _c("div", { staticClass: "loading" }, [_c("loading")], 1)
6887
+ ]
6888
+ ),
6889
+ _vm._v(" "),
6890
+ _c(
6891
+ "postbox",
6892
+ { attrs: { title: _vm.__("Dokan News Updates", "dokan-lite") } },
6893
+ [
6894
+ _vm.feed !== null
6895
+ ? _c("div", { staticClass: "rss-widget" }, [
6896
+ _c(
6897
+ "ul",
6898
+ _vm._l(_vm.feed, function(news) {
6899
+ return _c("li", [
6900
+ _c(
6901
+ "a",
6902
+ {
6903
+ attrs: {
6904
+ href:
6905
+ news.link +
6906
+ "?utm_source=wp-admin&utm_campaign=dokan-news",
6907
+ target: "_blank"
6908
+ }
6909
+ },
6910
+ [_vm._v(_vm._s(news.title))]
6911
+ )
6912
+ ])
6913
+ })
6914
+ ),
6915
+ _vm._v(" "),
6916
+ _c(
6917
+ "div",
6918
+ { staticClass: "subscribe-box" },
6919
+ [
6920
+ !_vm.subscribe.success
6921
+ ? [
6922
+ _vm.subscribe.loading
6923
+ ? _c(
6924
+ "div",
6925
+ { staticClass: "loading" },
6926
+ [_c("loading")],
6927
+ 1
6928
+ )
6929
+ : _vm._e(),
6930
+ _vm._v(" "),
6931
+ _c("h3", [
6932
+ _vm._v(
6933
+ _vm._s(
6934
+ _vm.__("Stay up-to-date", "dokan-lite")
6935
+ )
6936
+ )
6937
+ ]),
6938
+ _vm._v(" "),
6939
+ _c("p", [
6940
+ _vm._v(
6941
+ "\n " +
6942
+ _vm._s(
6943
+ _vm.__(
6944
+ "We're constantly developing new features, stay up-to-date by subscribing to our newsletter.",
6945
+ "dokan-lite"
6946
+ )
6947
+ ) +
6948
+ "\n "
6949
+ )
6950
+ ]),
6951
+ _vm._v(" "),
6952
+ _c("div", { staticClass: "form-wrap" }, [
6953
+ _c("input", {
6954
+ directives: [
6955
+ {
6956
+ name: "model",
6957
+ rawName: "v-model",
6958
+ value: _vm.subscribe.email,
6959
+ expression: "subscribe.email"
6960
+ }
6961
+ ],
6962
+ attrs: {
6963
+ type: "email",
6964
+ required: "",
6965
+ placeholder: "Your Email Address"
6966
+ },
6967
+ domProps: { value: _vm.subscribe.email },
6968
+ on: {
6969
+ keyup: function($event) {
6970
+ if (
6971
+ !("button" in $event) &&
6972
+ _vm._k(
6973
+ $event.keyCode,
6974
+ "enter",
6975
+ 13,
6976
+ $event.key
6977
+ )
6978
+ ) {
6979
+ return null
6980
+ }
6981
+ _vm.emailSubscribe()
6982
+ },
6983
+ input: function($event) {
6984
+ if ($event.target.composing) {
6985
+ return
6986
+ }
6987
+ _vm.$set(
6988
+ _vm.subscribe,
6989
+ "email",
6990
+ $event.target.value
6991
+ )
6992
+ }
6993
+ }
6994
+ }),
6995
+ _vm._v(" "),
6996
+ _c(
6997
+ "button",
6998
+ {
6999
+ staticClass: "button",
7000
+ on: {
7001
+ click: function($event) {
7002
+ _vm.emailSubscribe()
7003
+ }
7004
+ }
7005
+ },
7006
+ [
7007
+ _vm._v(
7008
+ _vm._s(_vm.__("Subscribe", "dokan-lite"))
7009
+ )
7010
+ ]
7011
+ )
7012
+ ])
7013
+ ]
7014
+ : _c("div", { staticClass: "thank-you" }, [
7015
+ _vm._v(
7016
+ _vm._s(
7017
+ _vm.__(
7018
+ "Thank you for subscribing!",
7019
+ "dokan-lite"
7020
+ )
7021
+ )
7022
+ )
7023
+ ])
7024
+ ],
7025
+ 2
7026
+ )
7027
+ ])
7028
+ : _c("div", { staticClass: "loading" }, [_c("loading")], 1)
7029
+ ]
7030
+ )
7031
+ ],
7032
+ 1
7033
+ ),
7034
+ _vm._v(" "),
7035
+ _c(
7036
+ "div",
7037
+ { staticClass: "right-side" },
7038
+ [
7039
+ _c(
7040
+ "postbox",
7041
+ {
7042
+ staticClass: "overview-chart",
7043
+ attrs: { title: _vm.__("Overview", "dokan-lite") }
7044
+ },
7045
+ [
7046
+ _vm.report !== null
7047
+ ? _c("chart", { attrs: { data: _vm.report } })
7048
+ : _c("div", { staticClass: "loading" }, [_c("loading")], 1)
7049
+ ],
7050
+ 1
7051
+ )
7052
+ ],
7053
+ 1
7054
+ )
7055
+ ])
7056
+ ])
7057
+ }
7058
+ var staticRenderFns = []
7059
+ render._withStripped = true
7060
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
7061
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
7062
+ if (false) {
7063
+ module.hot.accept()
7064
+ if (module.hot.data) {
7065
+ require("vue-hot-reload-api") .rerender("data-v-219ffca0", esExports)
7066
+ }
7067
+ }
7068
+
7069
+ /***/ }),
7070
+ /* 106 */
7071
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7072
+
7073
+ "use strict";
7074
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Withdraw_vue__ = __webpack_require__(44);
7075
+ /* unused harmony namespace reexport */
7076
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_62373ea4_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Withdraw_vue__ = __webpack_require__(108);
7077
+ var disposed = false
7078
+ function injectStyle (ssrContext) {
7079
+ if (disposed) return
7080
+ __webpack_require__(107)
7081
+ }
7082
+ var normalizeComponent = __webpack_require__(0)
7083
+ /* script */
7084
+
7085
+
7086
+ /* template */
7087
+
7088
+ /* template functional */
7089
+ var __vue_template_functional__ = false
7090
+ /* styles */
7091
+ var __vue_styles__ = injectStyle
7092
+ /* scopeId */
7093
+ var __vue_scopeId__ = null
7094
+ /* moduleIdentifier (server only) */
7095
+ var __vue_module_identifier__ = null
7096
+ var Component = normalizeComponent(
7097
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Withdraw_vue__["a" /* default */],
7098
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_62373ea4_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Withdraw_vue__["a" /* default */],
7099
+ __vue_template_functional__,
7100
+ __vue_styles__,
7101
+ __vue_scopeId__,
7102
+ __vue_module_identifier__
7103
+ )
7104
+ Component.options.__file = "src/admin/pages/Withdraw.vue"
7105
+
7106
+ /* hot reload */
7107
+ if (false) {(function () {
7108
+ var hotAPI = require("vue-hot-reload-api")
7109
+ hotAPI.install(require("vue"), false)
7110
+ if (!hotAPI.compatible) return
7111
+ module.hot.accept()
7112
+ if (!module.hot.data) {
7113
+ hotAPI.createRecord("data-v-62373ea4", Component.options)
7114
+ } else {
7115
+ hotAPI.reload("data-v-62373ea4", Component.options)
7116
+ }
7117
+ module.hot.dispose(function (data) {
7118
+ disposed = true
7119
+ })
7120
+ })()}
7121
+
7122
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
7123
+
7124
+
7125
+ /***/ }),
7126
+ /* 107 */
7127
+ /***/ (function(module, exports) {
7128
+
7129
+ // removed by extract-text-webpack-plugin
7130
+
7131
+ /***/ }),
7132
+ /* 108 */
7133
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7134
+
7135
+ "use strict";
7136
+ var render = function() {
7137
+ var _vm = this
7138
+ var _h = _vm.$createElement
7139
+ var _c = _vm._self._c || _h
7140
+ return _c(
7141
+ "div",
7142
+ { staticClass: "withdraw-requests" },
7143
+ [
7144
+ _c("h1", [_vm._v(_vm._s(_vm.__("Withdraw Requests", "dokan-lite")))]),
7145
+ _vm._v(" "),
7146
+ _vm.showModal
7147
+ ? _c(
7148
+ "modal",
7149
+ {
7150
+ attrs: { title: _vm.__("Update Note", "dokan-lite") },
7151
+ on: {
7152
+ close: function($event) {
7153
+ _vm.showModal = false
7154
+ }
7155
+ }
7156
+ },
7157
+ [
7158
+ _c("template", { slot: "body" }, [
7159
+ _c("textarea", {
7160
+ directives: [
7161
+ {
7162
+ name: "model",
7163
+ rawName: "v-model",
7164
+ value: _vm.editing.note,
7165
+ expression: "editing.note"
7166
+ }
7167
+ ],
7168
+ attrs: { rows: "3" },
7169
+ domProps: { value: _vm.editing.note },
7170
+ on: {
7171
+ input: function($event) {
7172
+ if ($event.target.composing) {
7173
+ return
7174
+ }
7175
+ _vm.$set(_vm.editing, "note", $event.target.value)
7176
+ }
7177
+ }
7178
+ })
7179
+ ]),
7180
+ _vm._v(" "),
7181
+ _c("template", { slot: "footer" }, [
7182
+ _c(
7183
+ "button",
7184
+ {
7185
+ staticClass: "button button-primary button-large",
7186
+ on: {
7187
+ click: function($event) {
7188
+ _vm.updateNote()
7189
+ }
7190
+ }
7191
+ },
7192
+ [_vm._v(_vm._s(_vm.__("Update Note", "dokan-lite")))]
7193
+ )
7194
+ ])
7195
+ ],
7196
+ 2
7197
+ )
7198
+ : _vm._e(),
7199
+ _vm._v(" "),
7200
+ _c("ul", { staticClass: "subsubsub" }, [
7201
+ _c(
7202
+ "li",
7203
+ [
7204
+ _c("router-link", {
7205
+ attrs: {
7206
+ to: { name: "Withdraw", query: { status: "pending" } },
7207
+ "active-class": "current",
7208
+ exact: ""
7209
+ },
7210
+ domProps: {
7211
+ innerHTML: _vm._s(
7212
+ _vm.sprintf(
7213
+ _vm.__(
7214
+ "Pending <span class='count'>(%s)</span>",
7215
+ "dokan-lite"
7216
+ ),
7217
+ _vm.counts.pending
7218
+ )
7219
+ )
7220
+ }
7221
+ }),
7222
+ _vm._v(" | ")
7223
+ ],
7224
+ 1
7225
+ ),
7226
+ _vm._v(" "),
7227
+ _c(
7228
+ "li",
7229
+ [
7230
+ _c("router-link", {
7231
+ attrs: {
7232
+ to: { name: "Withdraw", query: { status: "approved" } },
7233
+ "active-class": "current",
7234
+ exact: ""
7235
+ },
7236
+ domProps: {
7237
+ innerHTML: _vm._s(
7238
+ _vm.sprintf(
7239
+ _vm.__(
7240
+ "Approved <span class='count'>(%s)</span>",
7241
+ "dokan-lite"
7242
+ ),
7243
+ _vm.counts.approved
7244
+ )
7245
+ )
7246
+ }
7247
+ }),
7248
+ _vm._v(" | ")
7249
+ ],
7250
+ 1
7251
+ ),
7252
+ _vm._v(" "),
7253
+ _c(
7254
+ "li",
7255
+ [
7256
+ _c("router-link", {
7257
+ attrs: {
7258
+ to: { name: "Withdraw", query: { status: "cancelled" } },
7259
+ "active-class": "current",
7260
+ exact: ""
7261
+ },
7262
+ domProps: {
7263
+ innerHTML: _vm._s(
7264
+ _vm.sprintf(
7265
+ _vm.__(
7266
+ "Cancelled <span class='count'>(%s)</span>",
7267
+ "dokan-lite"
7268
+ ),
7269
+ _vm.counts.cancelled
7270
+ )
7271
+ )
7272
+ }
7273
+ })
7274
+ ],
7275
+ 1
7276
+ )
7277
+ ]),
7278
+ _vm._v(" "),
7279
+ _c("list-table", {
7280
+ attrs: {
7281
+ columns: _vm.columns,
7282
+ rows: _vm.requests,
7283
+ loading: _vm.loading,
7284
+ "action-column": _vm.actionColumn,
7285
+ actions: _vm.actions,
7286
+ "show-cb": _vm.showCb,
7287
+ "bulk-actions": _vm.bulkActions,
7288
+ "not-found": _vm.notFound,
7289
+ "total-pages": _vm.totalPages,
7290
+ "total-items": _vm.totalItems,
7291
+ "per-page": _vm.perPage,
7292
+ "current-page": _vm.currentPage
7293
+ },
7294
+ on: {
7295
+ pagination: _vm.goToPage,
7296
+ "action:click": _vm.onActionClick,
7297
+ "bulk:click": _vm.onBulkAction
7298
+ },
7299
+ scopedSlots: _vm._u([
7300
+ {
7301
+ key: "seller",
7302
+ fn: function(data) {
7303
+ return [
7304
+ _c("img", {
7305
+ attrs: {
7306
+ src: data.row.user.gravatar,
7307
+ alt: data.row.user.store_name,
7308
+ width: "50"
7309
+ }
7310
+ }),
7311
+ _vm._v(" "),
7312
+ _c("strong", [
7313
+ _c(
7314
+ "a",
7315
+ { attrs: { href: _vm.vendorUrl(data.row.user.id) } },
7316
+ [
7317
+ _vm._v(
7318
+ _vm._s(
7319
+ data.row.user.store_name
7320
+ ? data.row.user.store_name
7321
+ : _vm.__("(no name)", "dokan-lite")
7322
+ )
7323
+ )
7324
+ ]
7325
+ )
7326
+ ])
7327
+ ]
7328
+ }
7329
+ },
7330
+ {
7331
+ key: "amount",
7332
+ fn: function(data) {
7333
+ return [_c("currency", { attrs: { amount: data.row.amount } })]
7334
+ }
7335
+ },
7336
+ {
7337
+ key: "status",
7338
+ fn: function(data) {
7339
+ return [
7340
+ _c("span", { class: data.row.status }, [
7341
+ _vm._v(_vm._s(_vm._f("capitalize")(data.row.status)))
7342
+ ])
7343
+ ]
7344
+ }
7345
+ },
7346
+ {
7347
+ key: "created",
7348
+ fn: function(data) {
7349
+ return [
7350
+ _vm._v(
7351
+ "\n " +
7352
+ _vm._s(_vm.moment(data.row.created).format("MMM D, YYYY")) +
7353
+ "\n "
7354
+ )
7355
+ ]
7356
+ }
7357
+ },
7358
+ {
7359
+ key: "method_details",
7360
+ fn: function(data) {
7361
+ return [
7362
+ _vm._v(
7363
+ "\n " +
7364
+ _vm._s(
7365
+ _vm.getPaymentDetails(
7366
+ data.row.method,
7367
+ data.row.user.payment
7368
+ )
7369
+ ) +
7370
+ "\n "
7371
+ )
7372
+ ]
7373
+ }
7374
+ },
7375
+ {
7376
+ key: "actions",
7377
+ fn: function(data) {
7378
+ return [
7379
+ data.row.status === "pending"
7380
+ ? [
7381
+ _c("div", { staticClass: "button-group" }, [
7382
+ _c(
7383
+ "button",
7384
+ {
7385
+ staticClass: "button button-small",
7386
+ attrs: {
7387
+ title: _vm.__("Approve Request", "dokan-lite")
7388
+ },
7389
+ on: {
7390
+ click: function($event) {
7391
+ $event.preventDefault()
7392
+ _vm.changeStatus("approved", data.row.id)
7393
+ }
7394
+ }
7395
+ },
7396
+ [
7397
+ _c("span", {
7398
+ staticClass: "dashicons dashicons-yes"
7399
+ })
7400
+ ]
7401
+ ),
7402
+ _vm._v(" "),
7403
+ _c(
7404
+ "button",
7405
+ {
7406
+ staticClass: "button button-small",
7407
+ attrs: { title: _vm.__("Add Note", "dokan-lite") },
7408
+ on: {
7409
+ click: function($event) {
7410
+ $event.preventDefault()
7411
+ _vm.openNoteModal(data.row.note, data.row.id)
7412
+ }
7413
+ }
7414
+ },
7415
+ [
7416
+ _c("span", {
7417
+ staticClass: "dashicons dashicons-testimonial"
7418
+ })
7419
+ ]
7420
+ )
7421
+ ])
7422
+ ]
7423
+ : data.row.status === "approved"
7424
+ ? [
7425
+ _c("div", { staticClass: "button-group" }, [
7426
+ _c(
7427
+ "button",
7428
+ {
7429
+ staticClass: "button button-small",
7430
+ attrs: {
7431
+ title: _vm.__("Add Note", "dokan-lite")
7432
+ },
7433
+ on: {
7434
+ click: function($event) {
7435
+ $event.preventDefault()
7436
+ _vm.openNoteModal(data.row.note, data.row.id)
7437
+ }
7438
+ }
7439
+ },
7440
+ [
7441
+ _c("span", {
7442
+ staticClass: "dashicons dashicons-testimonial"
7443
+ })
7444
+ ]
7445
+ )
7446
+ ])
7447
+ ]
7448
+ : [
7449
+ _c("div", { staticClass: "button-group" }, [
7450
+ _c(
7451
+ "button",
7452
+ {
7453
+ staticClass: "button button-small",
7454
+ attrs: {
7455
+ title: _vm.__("Mark as Pending", "dokan-lite")
7456
+ },
7457
+ on: {
7458
+ click: function($event) {
7459
+ $event.preventDefault()
7460
+ _vm.changeStatus("pending", data.row.id)
7461
+ }
7462
+ }
7463
+ },
7464
+ [
7465
+ _c("span", {
7466
+ staticClass: "dashicons dashicons-backup"
7467
+ })
7468
+ ]
7469
+ ),
7470
+ _vm._v(" "),
7471
+ _c(
7472
+ "button",
7473
+ {
7474
+ staticClass: "button button-small",
7475
+ attrs: {
7476
+ title: _vm.__("Add Note", "dokan-lite")
7477
+ },
7478
+ on: {
7479
+ click: function($event) {
7480
+ $event.preventDefault()
7481
+ _vm.openNoteModal(data.row.note, data.row.id)
7482
+ }
7483
+ }
7484
+ },
7485
+ [
7486
+ _c("span", {
7487
+ staticClass: "dashicons dashicons-testimonial"
7488
+ })
7489
+ ]
7490
+ )
7491
+ ])
7492
+ ]
7493
+ ]
7494
+ }
7495
+ }
7496
+ ])
7497
+ })
7498
+ ],
7499
+ 1
7500
+ )
7501
+ }
7502
+ var staticRenderFns = []
7503
+ render._withStripped = true
7504
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
7505
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
7506
+ if (false) {
7507
+ module.hot.accept()
7508
+ if (module.hot.data) {
7509
+ require("vue-hot-reload-api") .rerender("data-v-62373ea4", esExports)
7510
+ }
7511
+ }
7512
+
7513
+ /***/ }),
7514
+ /* 109 */
7515
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7516
+
7517
+ "use strict";
7518
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Premium_vue__ = __webpack_require__(45);
7519
+ /* unused harmony namespace reexport */
7520
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_b38fd83a_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Premium_vue__ = __webpack_require__(117);
7521
+ var disposed = false
7522
+ function injectStyle (ssrContext) {
7523
+ if (disposed) return
7524
+ __webpack_require__(110)
7525
+ }
7526
+ var normalizeComponent = __webpack_require__(0)
7527
+ /* script */
7528
+
7529
+
7530
+ /* template */
7531
+
7532
+ /* template functional */
7533
+ var __vue_template_functional__ = false
7534
+ /* styles */
7535
+ var __vue_styles__ = injectStyle
7536
+ /* scopeId */
7537
+ var __vue_scopeId__ = null
7538
+ /* moduleIdentifier (server only) */
7539
+ var __vue_module_identifier__ = null
7540
+ var Component = normalizeComponent(
7541
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Premium_vue__["a" /* default */],
7542
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_b38fd83a_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Premium_vue__["a" /* default */],
7543
+ __vue_template_functional__,
7544
+ __vue_styles__,
7545
+ __vue_scopeId__,
7546
+ __vue_module_identifier__
7547
+ )
7548
+ Component.options.__file = "src/admin/pages/Premium.vue"
7549
+
7550
+ /* hot reload */
7551
+ if (false) {(function () {
7552
+ var hotAPI = require("vue-hot-reload-api")
7553
+ hotAPI.install(require("vue"), false)
7554
+ if (!hotAPI.compatible) return
7555
+ module.hot.accept()
7556
+ if (!module.hot.data) {
7557
+ hotAPI.createRecord("data-v-b38fd83a", Component.options)
7558
+ } else {
7559
+ hotAPI.reload("data-v-b38fd83a", Component.options)
7560
+ }
7561
+ module.hot.dispose(function (data) {
7562
+ disposed = true
7563
+ })
7564
+ })()}
7565
+
7566
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
7567
+
7568
+
7569
+ /***/ }),
7570
+ /* 110 */
7571
+ /***/ (function(module, exports) {
7572
+
7573
+ // removed by extract-text-webpack-plugin
7574
+
7575
+ /***/ }),
7576
+ /* 111 */,
7577
+ /* 112 */,
7578
+ /* 113 */,
7579
+ /* 114 */,
7580
+ /* 115 */,
7581
+ /* 116 */,
7582
+ /* 117 */
7583
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7584
+
7585
+ "use strict";
7586
+ var render = function() {
7587
+ var _vm = this
7588
+ var _h = _vm.$createElement
7589
+ var _c = _vm._self._c || _h
7590
+ return _c("div", { staticClass: "dokan-pro-features" }, [
7591
+ _c("div", { staticClass: "header-section" }, [
7592
+ _c("div", { staticClass: "feature-thumb" }, [
7593
+ _c("img", {
7594
+ attrs: {
7595
+ src: _vm.asstesUrl + "/images/premium/header-feature-thumb@2x.png",
7596
+ alt: _vm.__("Upgrade to Dokan Pro!", "dokan-lite"),
7597
+ title: _vm.__("Upgrade to Dokan Pro!", "dokan-lite")
7598
+ }
7599
+ })
7600
+ ]),
7601
+ _vm._v(" "),
7602
+ _c("div", { staticClass: "content-area" }, [
7603
+ _c("h1", [
7604
+ _vm._v(_vm._s(_vm.__("Upgrade to Dokan Pro!", "dokan-lite")))
7605
+ ]),
7606
+ _vm._v(" "),
7607
+ _c("p", [
7608
+ _vm._v(
7609
+ _vm._s(
7610
+ _vm.__(
7611
+ "Seems To Be Convinced, You Need More Out Of Your Marketplace",
7612
+ "dokan-lite"
7613
+ )
7614
+ )
7615
+ )
7616
+ ])
7617
+ ])
7618
+ ]),
7619
+ _vm._v(" "),
7620
+ _c("div", { staticClass: "service-section" }, [
7621
+ _c("h2", { staticClass: "section-title" }, [
7622
+ _vm._v(_vm._s(_vm.__("Why Upgrade", "dokan-lite")))
7623
+ ]),
7624
+ _vm._v(" "),
7625
+ _c(
7626
+ "div",
7627
+ { staticClass: "service-list" },
7628
+ _vm._l(_vm.services, function(service) {
7629
+ return _c("div", { staticClass: "service-box" }, [
7630
+ _c("div", { staticClass: "service-thumb" }, [
7631
+ _c("img", {
7632
+ attrs: {
7633
+ src: service.thumbnail,
7634
+ alt: service.title,
7635
+ title: service.title
7636
+ }
7637
+ })
7638
+ ]),
7639
+ _vm._v(" "),
7640
+ _c("div", { staticClass: "service-detail" }, [
7641
+ _c("h3", { staticClass: "title" }, [
7642
+ _vm._v(_vm._s(service.title))
7643
+ ])
7644
+ ])
7645
+ ])
7646
+ })
7647
+ ),
7648
+ _vm._v(" "),
7649
+ _c(
7650
+ "a",
7651
+ {
7652
+ staticClass: "btn",
7653
+ attrs: {
7654
+ href: "https://wedevs.com/dokan/features/",
7655
+ target: "_blank"
7656
+ }
7657
+ },
7658
+ [
7659
+ _vm._v(
7660
+ "\n " +
7661
+ _vm._s(_vm.__("And Many More", "dokan-lite")) +
7662
+ "\n "
7663
+ ),
7664
+ _c(
7665
+ "svg",
7666
+ {
7667
+ staticStyle: { "enable-background": "new 0 0 17.5 12.5" },
7668
+ attrs: {
7669
+ version: "1.1",
7670
+ id: "Layer_1",
7671
+ xmlns: "http://www.w3.org/2000/svg",
7672
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
7673
+ x: "0px",
7674
+ y: "0px",
7675
+ viewBox: "0 0 17.5 12.5",
7676
+ "xml:space": "preserve"
7677
+ }
7678
+ },
7679
+ [
7680
+ _c("path", {
7681
+ staticClass: "st0",
7682
+ attrs: {
7683
+ d:
7684
+ "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"
7685
+ }
7686
+ })
7687
+ ]
7688
+ )
7689
+ ]
7690
+ )
7691
+ ]),
7692
+ _vm._v(" "),
7693
+ _c("div", { staticClass: "comparison-section" }, [
7694
+ _c("h2", { staticClass: "section-title" }, [
7695
+ _vm._v(_vm._s(_vm.__("Comparison With Dokan PRO", "dokan-lite")))
7696
+ ]),
7697
+ _vm._v(" "),
7698
+ _c("div", { staticClass: "comparison-area" }, [
7699
+ _c("div", { staticClass: "compare-box dokan-lite" }, [
7700
+ _c("div", { staticClass: "logo-section" }, [
7701
+ _c("img", {
7702
+ attrs: {
7703
+ src: _vm.asstesUrl + "/images/premium/dokan-lite-logo@2x.png",
7704
+ alt: "Dokan Lite"
7705
+ }
7706
+ })
7707
+ ]),
7708
+ _vm._v(" "),
7709
+ _c(
7710
+ "ul",
7711
+ { staticClass: "compare-list" },
7712
+ _vm._l(_vm.comparisons, function(comparison) {
7713
+ return _c("li", { class: comparison.compare.lite }, [
7714
+ comparison.compare.lite === "available"
7715
+ ? _c("img", {
7716
+ attrs: {
7717
+ src: _vm.asstesUrl + "/images/premium/available@2x.png",
7718
+ alt: ""
7719
+ }
7720
+ })
7721
+ : _c("img", {
7722
+ attrs: {
7723
+ src:
7724
+ _vm.asstesUrl + "/images/premium/unavailable@2x.png",
7725
+ alt: ""
7726
+ }
7727
+ }),
7728
+ _vm._v(" "),
7729
+ _c("span", [_vm._v(_vm._s(comparison.title))])
7730
+ ])
7731
+ })
7732
+ )
7733
+ ]),
7734
+ _vm._v(" "),
7735
+ _c("div", { staticClass: "compare-box dokan-pro" }, [
7736
+ _c("div", { staticClass: "logo-section" }, [
7737
+ _c("img", {
7738
+ attrs: {
7739
+ src: _vm.asstesUrl + "/images/premium/dokan-pro-logo@2x.png",
7740
+ alt: "Dokan Pro"
7741
+ }
7742
+ })
7743
+ ]),
7744
+ _vm._v(" "),
7745
+ _c(
7746
+ "ul",
7747
+ { staticClass: "compare-list" },
7748
+ _vm._l(_vm.comparisons, function(comparison) {
7749
+ return _c("li", { class: comparison.compare.pro }, [
7750
+ comparison.compare.pro === "available"
7751
+ ? _c("img", {
7752
+ attrs: {
7753
+ src: _vm.asstesUrl + "/images/premium/available@2x.png",
7754
+ alt: ""
7755
+ }
7756
+ })
7757
+ : _c("img", {
7758
+ attrs: {
7759
+ src:
7760
+ _vm.asstesUrl + "/images/premium/unavailable@2x.png",
7761
+ alt: ""
7762
+ }
7763
+ }),
7764
+ _vm._v(" "),
7765
+ _c("span", [_vm._v(_vm._s(comparison.title))])
7766
+ ])
7767
+ })
7768
+ )
7769
+ ])
7770
+ ])
7771
+ ]),
7772
+ _vm._v(" "),
7773
+ _c("div", { staticClass: "pricing-section" }, [
7774
+ _c("h2", { staticClass: "section-title" }, [
7775
+ _vm._v(_vm._s(_vm.__("The Packages We Provide", "dokan-lite")))
7776
+ ]),
7777
+ _vm._v(" "),
7778
+ _c(
7779
+ "div",
7780
+ { staticClass: "pricing-wrapper" },
7781
+ [
7782
+ _vm._m(0),
7783
+ _vm._v(" "),
7784
+ _vm._l(_vm.modules, function(module) {
7785
+ return _c("div", { staticClass: "table-row" }, [
7786
+ _c("div", { staticClass: "table-col" }, [
7787
+ _c(
7788
+ "a",
7789
+ {
7790
+ staticClass: "module-name",
7791
+ attrs: { href: module.url, target: "_blank" }
7792
+ },
7793
+ [_vm._v(_vm._s(module.title))]
7794
+ )
7795
+ ]),
7796
+ _vm._v(" "),
7797
+ _c("div", { staticClass: "table-col" }, [
7798
+ module.starter.type === "numeric"
7799
+ ? _c("div", { staticClass: "plan-data" }, [
7800
+ _vm._v(_vm._s(module.starter.value))
7801
+ ])
7802
+ : _c("div", { staticClass: "plan-data" }, [
7803
+ _c("img", {
7804
+ attrs: { src: module.starter.value, alt: "" }
7805
+ })
7806
+ ])
7807
+ ]),
7808
+ _vm._v(" "),
7809
+ _c("div", { staticClass: "table-col popular" }, [
7810
+ module.professional.type === "numeric"
7811
+ ? _c("div", { staticClass: "plan-data" }, [
7812
+ _vm._v(_vm._s(module.professional.value))
7813
+ ])
7814
+ : _c("div", { staticClass: "plan-data" }, [
7815
+ _c("img", {
7816
+ attrs: { src: module.professional.value, alt: "" }
7817
+ })
7818
+ ])
7819
+ ]),
7820
+ _vm._v(" "),
7821
+ _c("div", { staticClass: "table-col" }, [
7822
+ module.business.type === "numeric"
7823
+ ? _c("div", { staticClass: "plan-data" }, [
7824
+ _vm._v(_vm._s(module.business.value))
7825
+ ])
7826
+ : _c("div", { staticClass: "plan-data" }, [
7827
+ _c("img", {
7828
+ attrs: { src: module.business.value, alt: "" }
7829
+ })
7830
+ ])
7831
+ ]),
7832
+ _vm._v(" "),
7833
+ _c("div", { staticClass: "table-col" }, [
7834
+ module.enterprise.type === "numeric"
7835
+ ? _c("div", { staticClass: "plan-data" }, [
7836
+ _vm._v(_vm._s(module.enterprise.value))
7837
+ ])
7838
+ : _c("div", { staticClass: "plan-data" }, [
7839
+ _c("img", {
7840
+ attrs: { src: module.enterprise.value, alt: "" }
7841
+ })
7842
+ ])
7843
+ ])
7844
+ ])
7845
+ }),
7846
+ _vm._v(" "),
7847
+ _c("div", { staticClass: "table-row" }, [
7848
+ _c("div", { staticClass: "table-col" }),
7849
+ _vm._v(" "),
7850
+ _c("div", { staticClass: "table-col" }, [
7851
+ _c(
7852
+ "a",
7853
+ {
7854
+ staticClass: "buy-btn starter",
7855
+ attrs: {
7856
+ href:
7857
+ _vm.buyNowProUrl +
7858
+ "add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",
7859
+ target: "_blank"
7860
+ }
7861
+ },
7862
+ [_vm._v(_vm._s(_vm.__("Buy Now", "dokan-lite")))]
7863
+ )
7864
+ ]),
7865
+ _vm._v(" "),
7866
+ _c("div", { staticClass: "table-col popular" }, [
7867
+ _c(
7868
+ "a",
7869
+ {
7870
+ staticClass: "buy-btn professional",
7871
+ attrs: {
7872
+ href:
7873
+ _vm.buyNowProUrl +
7874
+ "add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",
7875
+ target: "_blank"
7876
+ }
7877
+ },
7878
+ [_vm._v(_vm._s(_vm.__("Buy Now", "dokan-lite")))]
7879
+ )
7880
+ ]),
7881
+ _vm._v(" "),
7882
+ _c("div", { staticClass: "table-col" }, [
7883
+ _c(
7884
+ "a",
7885
+ {
7886
+ staticClass: "buy-btn business",
7887
+ attrs: {
7888
+ href:
7889
+ _vm.buyNowProUrl +
7890
+ "add-to-cart=15310&variation_id=15315&attribute_pa_license=business",
7891
+ target: "_blank"
7892
+ }
7893
+ },
7894
+ [_vm._v(_vm._s(_vm.__("Buy Now", "dokan-lite")))]
7895
+ )
7896
+ ]),
7897
+ _vm._v(" "),
7898
+ _c("div", { staticClass: "table-col" }, [
7899
+ _c(
7900
+ "a",
7901
+ {
7902
+ staticClass: "buy-btn enterprise",
7903
+ attrs: {
7904
+ href:
7905
+ _vm.buyNowProUrl +
7906
+ "add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",
7907
+ target: "_blank"
7908
+ }
7909
+ },
7910
+ [_vm._v(_vm._s(_vm.__("Buy Now", "dokan-lite")))]
7911
+ )
7912
+ ])
7913
+ ])
7914
+ ],
7915
+ 2
7916
+ )
7917
+ ]),
7918
+ _vm._v(" "),
7919
+ _c("div", { staticClass: "payment-section" }, [
7920
+ _c("div", { staticClass: "guarantee-section" }, [
7921
+ _c("div", { staticClass: "feature-thumb" }, [
7922
+ _c("img", {
7923
+ attrs: { src: _vm.payment.guaranteeThumbnail, alt: "Dokan" }
7924
+ })
7925
+ ]),
7926
+ _vm._v(" "),
7927
+ _c("div", { staticClass: "guarantee-detail" }, [
7928
+ _c("h2", [
7929
+ _vm._v(_vm._s(_vm.__("14 Days Money Back Guarantee", "dokan-lite")))
7930
+ ]),
7931
+ _vm._v(" "),
7932
+ _c("p", [
7933
+ _vm._v(
7934
+ _vm._s(
7935
+ _vm.__(
7936
+ "After successful purchase, you will be eligible for conditional refund",
7937
+ "dokan-lite"
7938
+ )
7939
+ )
7940
+ )
7941
+ ]),
7942
+ _vm._v(" "),
7943
+ _c(
7944
+ "a",
7945
+ { attrs: { href: _vm.payment.termsPolicyUrl, target: "_blank" } },
7946
+ [
7947
+ _c("img", { attrs: { src: _vm.payment.viewIcon, alt: "Dokan" } }),
7948
+ _vm._v(
7949
+ " " + _vm._s(_vm.__("Terms & Condition Applied", "dokan-lite"))
7950
+ )
7951
  ]
7952
  )
7953
+ ])
7954
+ ]),
7955
+ _vm._v(" "),
7956
+ _c("div", { staticClass: "payment-area" }, [
7957
+ _c("h3", [_vm._v(_vm._s(_vm.__("Payment Options:", "dokan-lite")))]),
7958
+ _vm._v(" "),
7959
+ _c("div", { staticClass: "option" }, [
7960
+ _c("img", {
7961
+ attrs: { src: _vm.payment.thumbnail, alt: "Credit Card" }
7962
+ })
7963
+ ])
7964
+ ])
7965
+ ]),
7966
+ _vm._v(" "),
7967
+ _c("div", { staticClass: "testimonial-section" }, [
7968
+ _c("h2", { staticClass: "section-title" }, [
7969
+ _vm._v(_vm._s(_vm.__("People We Have Helped", "dokan-lite")))
7970
+ ]),
7971
  _vm._v(" "),
7972
  _c(
7973
  "div",
7974
+ { staticClass: "testimonial-wrapper" },
7975
  [
7976
  _c(
7977
+ "slick",
7978
+ { ref: "slick", attrs: { options: _vm.slickOptions } },
7979
+ _vm._l(_vm.testimonials, function(testimonial) {
7980
+ return _c("div", { staticClass: "testimonial-box" }, [
7981
+ _c("div", { staticClass: "profile-pic" }, [
7982
+ _c("img", { attrs: { src: testimonial.pic, alt: "" } })
7983
+ ]),
7984
+ _vm._v(" "),
7985
+ _c(
7986
+ "div",
7987
+ {
7988
+ staticClass: "content-detail",
7989
+ style: {
7990
+ "background-image":
7991
+ "url(" +
7992
+ _vm.asstesUrl +
7993
+ "/images/premium/quote-icon.png" +
7994
+ ")"
7995
+ }
7996
+ },
7997
+ [
7998
+ _c("h4", [_vm._v(_vm._s(testimonial.name))]),
7999
+ _vm._v(" "),
8000
+ _c("span", [_vm._v(_vm._s(testimonial.designation))]),
8001
+ _vm._v(" "),
8002
+ _c("p", [_vm._v(_vm._s(testimonial.content))])
8003
+ ]
8004
+ )
8005
+ ])
8006
+ })
8007
  )
8008
  ],
8009
  1
8010
+ ),
8011
+ _vm._v(" "),
8012
+ _c("p", {
8013
+ domProps: {
8014
+ innerHTML: _vm._s(
8015
+ _vm.sprintf(
8016
+ "%s <a href='%s' target='_blank'>%s</a> %s",
8017
+ _vm.__("We are proud to say the official", "dokan-lite"),
8018
+ "https://themes.getbootstrap.com/",
8019
+ "Bootstrap theme marketplace",
8020
+ _vm.__("is built using Dokan", "dokan-lite")
8021
+ )
8022
+ )
8023
+ }
8024
+ })
8025
+ ]),
8026
+ _vm._v(" "),
8027
+ _c(
8028
+ "div",
8029
+ {
8030
+ staticClass: "cta-section",
8031
+ style: {
8032
+ "background-image":
8033
+ "url(" +
8034
+ _vm.cta.styles.bgPattern +
8035
+ "), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"
8036
+ }
8037
+ },
8038
+ [
8039
+ _c("div", { staticClass: "feature-thumb" }, [
8040
+ _c("img", { attrs: { src: _vm.cta.thumbnail, alt: "Dokan Lite" } })
8041
+ ]),
8042
+ _vm._v(" "),
8043
+ _c("div", { staticClass: "content-area" }, [
8044
+ _c("h2", [_vm._v(_vm._s(_vm.__("Convinced?", "dokan-lite")))]),
8045
+ _vm._v(" "),
8046
+ _c("p", [
8047
+ _vm._v(
8048
+ _vm._s(
8049
+ _vm.__(
8050
+ "With all the advance features you get it’s hard to resist buying Dokan Pro.",
8051
+ "dokan-lite"
8052
+ )
8053
+ )
8054
+ )
8055
+ ]),
8056
+ _vm._v(" "),
8057
+ _c("a", { staticClass: "btn", attrs: { href: _vm.cta.url } }, [
8058
+ _vm._v(
8059
+ "\n " +
8060
+ _vm._s(_vm.__("I Want To Buy Now", "dokan-lite")) +
8061
+ "\n "
8062
+ ),
8063
+ _c(
8064
+ "svg",
8065
+ {
8066
+ staticStyle: { "enable-background": "new 0 0 17.5 12.5" },
8067
+ attrs: {
8068
+ version: "1.1",
8069
+ id: "Layer_1",
8070
+ xmlns: "http://www.w3.org/2000/svg",
8071
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
8072
+ x: "0px",
8073
+ y: "0px",
8074
+ viewBox: "0 0 17.5 12.5",
8075
+ "xml:space": "preserve"
8076
+ }
8077
+ },
8078
+ [
8079
+ _c("path", {
8080
+ staticClass: "st0",
8081
+ attrs: {
8082
+ d:
8083
+ "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"
8084
+ }
8085
+ })
8086
+ ]
8087
+ )
8088
+ ])
8089
+ ])
8090
+ ]
8091
+ )
8092
  ])
8093
  }
8094
+ var staticRenderFns = [
8095
+ function() {
8096
+ var _vm = this
8097
+ var _h = _vm.$createElement
8098
+ var _c = _vm._self._c || _h
8099
+ return _c("div", { staticClass: "table-row" }, [
8100
+ _c("div", { staticClass: "table-col" }),
8101
+ _vm._v(" "),
8102
+ _c("div", { staticClass: "table-col" }, [
8103
+ _c("div", { staticClass: "plan-name starter" }, [_vm._v("Starter")]),
8104
+ _vm._v(" "),
8105
+ _c("div", { staticClass: "price" }, [
8106
+ _c("span", [_c("sup", [_vm._v("$")]), _vm._v("149")]),
8107
+ _vm._v(" "),
8108
+ _c("span", [_vm._v("/year")])
8109
+ ])
8110
+ ]),
8111
+ _vm._v(" "),
8112
+ _c("div", { staticClass: "table-col popular" }, [
8113
+ _c("div", { staticClass: "plan-name professional" }, [
8114
+ _vm._v("Professional")
8115
+ ]),
8116
+ _vm._v(" "),
8117
+ _c("div", { staticClass: "price" }, [
8118
+ _c("span", [_c("sup", [_vm._v("$")]), _vm._v("249")]),
8119
+ _vm._v(" "),
8120
+ _c("span", [_vm._v("/year")])
8121
+ ])
8122
+ ]),
8123
+ _vm._v(" "),
8124
+ _c("div", { staticClass: "table-col" }, [
8125
+ _c("div", { staticClass: "plan-name business" }, [_vm._v("Business")]),
8126
+ _vm._v(" "),
8127
+ _c("div", { staticClass: "price" }, [
8128
+ _c("span", [_c("sup", [_vm._v("$")]), _vm._v("499")]),
8129
+ _vm._v(" "),
8130
+ _c("span", [_vm._v("/year")])
8131
+ ])
8132
+ ]),
8133
+ _vm._v(" "),
8134
+ _c("div", { staticClass: "table-col" }, [
8135
+ _c("div", { staticClass: "plan-name enterprise" }, [
8136
+ _vm._v("Enterprise")
8137
+ ]),
8138
+ _vm._v(" "),
8139
+ _c("div", { staticClass: "price" }, [
8140
+ _c("span", [_c("sup", [_vm._v("$")]), _vm._v("999")]),
8141
+ _vm._v(" "),
8142
+ _c("span", [_vm._v("/year")])
8143
+ ])
8144
+ ])
8145
+ ])
8146
+ }
8147
+ ]
8148
  render._withStripped = true
8149
  var esExports = { render: render, staticRenderFns: staticRenderFns }
8150
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
8151
  if (false) {
8152
  module.hot.accept()
8153
  if (module.hot.data) {
8154
+ require("vue-hot-reload-api") .rerender("data-v-b38fd83a", esExports)
8155
  }
8156
  }
8157
 
8158
  /***/ }),
8159
+ /* 118 */
8160
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8161
 
8162
  "use strict";
8163
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Help_vue__ = __webpack_require__(48);
8164
+ /* unused harmony namespace reexport */
8165
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c289d136_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Help_vue__ = __webpack_require__(120);
 
8166
  var disposed = false
8167
  function injectStyle (ssrContext) {
8168
  if (disposed) return
8169
+ __webpack_require__(119)
8170
  }
8171
  var normalizeComponent = __webpack_require__(0)
8172
  /* script */
8183
  /* moduleIdentifier (server only) */
8184
  var __vue_module_identifier__ = null
8185
  var Component = normalizeComponent(
8186
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Help_vue__["a" /* default */],
8187
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c289d136_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Help_vue__["a" /* default */],
8188
  __vue_template_functional__,
8189
  __vue_styles__,
8190
  __vue_scopeId__,
8191
  __vue_module_identifier__
8192
  )
8193
+ Component.options.__file = "src/admin/pages/Help.vue"
8194
 
8195
  /* hot reload */
8196
  if (false) {(function () {
8199
  if (!hotAPI.compatible) return
8200
  module.hot.accept()
8201
  if (!module.hot.data) {
8202
+ hotAPI.createRecord("data-v-c289d136", Component.options)
8203
  } else {
8204
+ hotAPI.reload("data-v-c289d136", Component.options)
8205
  }
8206
  module.hot.dispose(function (data) {
8207
  disposed = true
8208
  })
8209
  })()}
8210
 
8211
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
8212
+
8213
+
8214
+ /***/ }),
8215
+ /* 119 */
8216
+ /***/ (function(module, exports) {
8217
+
8218
+ // removed by extract-text-webpack-plugin
8219
+
8220
+ /***/ }),
8221
+ /* 120 */
8222
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8223
+
8224
+ "use strict";
8225
+ var render = function() {
8226
+ var _vm = this
8227
+ var _h = _vm.$createElement
8228
+ var _c = _vm._self._c || _h
8229
+ return _c("div", { staticClass: "dokan-help-page" }, [
8230
+ _c("h1", [_vm._v(_vm._s(_vm.__("Help", "dokan-lite")))]),
8231
+ _vm._v(" "),
8232
+ _vm.docs !== null
8233
+ ? _c(
8234
+ "div",
8235
+ { staticClass: "section-wrapper" },
8236
+ _vm._l(_vm.docs, function(section, index) {
8237
+ return _c(
8238
+ "postbox",
8239
+ { key: index, attrs: { title: section.title } },
8240
+ [
8241
+ _c(
8242
+ "ul",
8243
+ _vm._l(section.questions, function(item) {
8244
+ return _c("li", [
8245
+ _c("span", {
8246
+ staticClass: "dashicons dashicons-media-text"
8247
+ }),
8248
+ _vm._v(" "),
8249
+ _c(
8250
+ "a",
8251
+ {
8252
+ attrs: {
8253
+ href:
8254
+ item.link +
8255
+ "?utm_source=wp-admin&utm_medium=dokan-help-page",
8256
+ target: "_blank"
8257
+ }
8258
+ },
8259
+ [_vm._v(_vm._s(item.title))]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8260
  )
8261
+ ])
8262
+ })
8263
  )
8264
  ]
8265
+ )
8266
+ })
8267
+ )
8268
+ : _c("div", { staticClass: "loading" }, [_c("loading")], 1)
8269
+ ])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8270
  }
8271
  var staticRenderFns = []
8272
  render._withStripped = true
8275
  if (false) {
8276
  module.hot.accept()
8277
  if (module.hot.data) {
8278
+ require("vue-hot-reload-api") .rerender("data-v-c289d136", esExports)
8279
  }
8280
  }
8281
 
8282
  /***/ }),
8283
+ /* 121 */
8284
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8285
 
8286
  "use strict";
8287
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Settings_vue__ = __webpack_require__(49);
8288
+ /* unused harmony namespace reexport */
8289
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e4dc4572_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Settings_vue__ = __webpack_require__(150);
 
8290
  var disposed = false
8291
  function injectStyle (ssrContext) {
8292
  if (disposed) return
8293
+ __webpack_require__(122)
8294
  }
8295
  var normalizeComponent = __webpack_require__(0)
8296
  /* script */
8307
  /* moduleIdentifier (server only) */
8308
  var __vue_module_identifier__ = null
8309
  var Component = normalizeComponent(
8310
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Settings_vue__["a" /* default */],
8311
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e4dc4572_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Settings_vue__["a" /* default */],
8312
  __vue_template_functional__,
8313
  __vue_styles__,
8314
  __vue_scopeId__,
8315
  __vue_module_identifier__
8316
  )
8317
+ Component.options.__file = "src/admin/pages/Settings.vue"
8318
 
8319
  /* hot reload */
8320
  if (false) {(function () {
8323
  if (!hotAPI.compatible) return
8324
  module.hot.accept()
8325
  if (!module.hot.data) {
8326
+ hotAPI.createRecord("data-v-e4dc4572", Component.options)
8327
  } else {
8328
+ hotAPI.reload("data-v-e4dc4572", Component.options)
8329
  }
8330
  module.hot.dispose(function (data) {
8331
  disposed = true
8332
  })
8333
  })()}
8334
 
8335
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
8336
 
8337
 
8338
  /***/ }),
8339
+ /* 122 */
8340
  /***/ (function(module, exports) {
8341
 
8342
  // removed by extract-text-webpack-plugin
8343
 
8344
  /***/ }),
8345
+ /* 123 */
8346
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8347
+
8348
+ "use strict";
8349
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Fields_vue__ = __webpack_require__(50);
8350
+ /* unused harmony namespace reexport */
8351
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a96ce32e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Fields_vue__ = __webpack_require__(149);
8352
+ var disposed = false
8353
+ function injectStyle (ssrContext) {
8354
+ if (disposed) return
8355
+ __webpack_require__(124)
8356
+ }
8357
+ var normalizeComponent = __webpack_require__(0)
8358
+ /* script */
8359
+
8360
+
8361
+ /* template */
8362
+
8363
+ /* template functional */
8364
+ var __vue_template_functional__ = false
8365
+ /* styles */
8366
+ var __vue_styles__ = injectStyle
8367
+ /* scopeId */
8368
+ var __vue_scopeId__ = null
8369
+ /* moduleIdentifier (server only) */
8370
+ var __vue_module_identifier__ = null
8371
+ var Component = normalizeComponent(
8372
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Fields_vue__["a" /* default */],
8373
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a96ce32e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Fields_vue__["a" /* default */],
8374
+ __vue_template_functional__,
8375
+ __vue_styles__,
8376
+ __vue_scopeId__,
8377
+ __vue_module_identifier__
8378
+ )
8379
+ Component.options.__file = "src/admin/components/Fields.vue"
8380
+
8381
+ /* hot reload */
8382
+ if (false) {(function () {
8383
+ var hotAPI = require("vue-hot-reload-api")
8384
+ hotAPI.install(require("vue"), false)
8385
+ if (!hotAPI.compatible) return
8386
+ module.hot.accept()
8387
+ if (!module.hot.data) {
8388
+ hotAPI.createRecord("data-v-a96ce32e", Component.options)
8389
+ } else {
8390
+ hotAPI.reload("data-v-a96ce32e", Component.options)
8391
+ }
8392
+ module.hot.dispose(function (data) {
8393
+ disposed = true
8394
+ })
8395
+ })()}
8396
+
8397
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
8398
+
8399
+
8400
+ /***/ }),
8401
+ /* 124 */
8402
+ /***/ (function(module, exports) {
8403
+
8404
+ // removed by extract-text-webpack-plugin
8405
+
8406
+ /***/ }),
8407
+ /* 125 */,
8408
+ /* 126 */,
8409
+ /* 127 */,
8410
+ /* 128 */,
8411
+ /* 129 */,
8412
+ /* 130 */,
8413
+ /* 131 */,
8414
+ /* 132 */,
8415
+ /* 133 */,
8416
+ /* 134 */,
8417
+ /* 135 */,
8418
+ /* 136 */,
8419
+ /* 137 */,
8420
+ /* 138 */,
8421
+ /* 139 */,
8422
+ /* 140 */,
8423
+ /* 141 */,
8424
+ /* 142 */,
8425
+ /* 143 */,
8426
+ /* 144 */,
8427
+ /* 145 */,
8428
+ /* 146 */,
8429
+ /* 147 */,
8430
+ /* 148 */,
8431
+ /* 149 */
8432
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8433
 
8434
  "use strict";
8436
  var _vm = this
8437
  var _h = _vm.$createElement
8438
  var _c = _vm._self._c || _h
8439
+ return _vm.shoudShow
8440
+ ? _c(
8441
+ "tr",
8442
+ { class: [_vm.id, "dokan-settings-field-type-" + _vm.fieldData.type] },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8443
  [
8444
+ "sub_section" === _vm.fieldData.type
8445
+ ? [
8446
+ _c(
8447
+ "th",
8448
+ {
8449
+ staticClass: "dokan-settings-sub-section-title",
8450
+ attrs: { colspan: "2" }
8451
+ },
8452
+ [_c("label", [_vm._v(_vm._s(_vm.fieldData.label))])]
8453
+ )
8454
+ ]
8455
+ : _vm._e(),
8456
+ _vm._v(" "),
8457
+ _vm.containCommonFields(_vm.fieldData.type)
8458
+ ? [
8459
+ _c("th", { attrs: { scope: "row" } }, [
8460
+ _c(
8461
+ "label",
8462
+ {
8463
+ attrs: {
8464
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8465
+ }
8466
+ },
8467
+ [_vm._v(_vm._s(_vm.fieldData.label))]
8468
+ )
8469
+ ]),
8470
+ _vm._v(" "),
8471
+ _c("td", [
8472
+ _c("input", {
8473
+ directives: [
8474
+ {
8475
+ name: "model",
8476
+ rawName: "v-model",
8477
+ value: _vm.fieldValue[_vm.fieldData.name],
8478
+ expression: "fieldValue[fieldData.name]"
8479
+ }
8480
+ ],
8481
+ staticClass: "regular-text",
8482
+ attrs: {
8483
+ type: "text",
8484
+ id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
8485
+ name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8486
+ },
8487
+ domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
8488
+ on: {
8489
+ input: function($event) {
8490
+ if ($event.target.composing) {
8491
+ return
8492
+ }
8493
+ _vm.$set(
8494
+ _vm.fieldValue,
8495
+ _vm.fieldData.name,
8496
+ $event.target.value
8497
+ )
8498
+ }
8499
+ }
8500
+ }),
8501
+ _vm._v(" "),
8502
+ _vm.hasError(_vm.fieldData.name)
8503
+ ? _c("p", { staticClass: "dokan-error" }, [
8504
+ _vm._v(
8505
+ "\n " +
8506
+ _vm._s(_vm.getError(_vm.fieldData.label)) +
8507
+ "\n "
8508
+ )
8509
+ ])
8510
+ : _vm._e(),
8511
+ _vm._v(" "),
8512
+ _c("p", {
8513
+ staticClass: "description",
8514
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
8515
+ })
8516
+ ])
8517
+ ]
8518
+ : _vm._e(),
8519
+ _vm._v(" "),
8520
+ "number" === _vm.fieldData.type &&
8521
+ "combine" === _vm.allSettingsValues.dokan_selling.commission_type &&
8522
+ "admin_percentage" !== _vm.fieldData.name
8523
+ ? [
8524
+ _c("th", { attrs: { scope: "row" } }, [
8525
+ _c(
8526
+ "label",
8527
+ {
8528
+ attrs: {
8529
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8530
+ }
8531
+ },
8532
+ [_vm._v(_vm._s(_vm.fieldData.label))]
8533
+ )
8534
+ ]),
8535
+ _vm._v(" "),
8536
+ _c("td", [
8537
+ _c("input", {
8538
+ directives: [
8539
+ {
8540
+ name: "model",
8541
+ rawName: "v-model",
8542
+ value: _vm.fieldValue[_vm.fieldData.name],
8543
+ expression: "fieldValue[fieldData.name]"
8544
+ }
8545
+ ],
8546
+ staticClass: "regular-text",
8547
+ attrs: {
8548
+ type: "number",
8549
+ min: _vm.fieldData.min,
8550
+ max: _vm.fieldData.max,
8551
+ step: _vm.fieldData.step,
8552
+ id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
8553
+ name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8554
+ },
8555
+ domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
8556
+ on: {
8557
+ input: function($event) {
8558
+ if ($event.target.composing) {
8559
+ return
8560
+ }
8561
+ _vm.$set(
8562
+ _vm.fieldValue,
8563
+ _vm.fieldData.name,
8564
+ $event.target.value
8565
+ )
8566
+ }
8567
+ }
8568
+ }),
8569
+ _vm._v(" "),
8570
+ _vm.hasError(_vm.fieldData.name)
8571
+ ? _c("p", { staticClass: "dokan-error" }, [
8572
+ _vm._v(
8573
+ "\n " +
8574
+ _vm._s(_vm.getError(_vm.fieldData.label)) +
8575
+ "\n "
8576
+ )
8577
+ ])
8578
+ : _vm._e(),
8579
+ _vm._v(" "),
8580
+ _c("p", {
8581
+ staticClass: "description",
8582
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
8583
+ })
8584
+ ])
8585
+ ]
8586
+ : _vm._e(),
8587
+ _vm._v(" "),
8588
+ "number" == _vm.fieldData.type &&
8589
+ _vm.allSettingsValues.dokan_selling &&
8590
+ "combine" !== _vm.allSettingsValues.dokan_selling.commission_type
8591
+ ? [
8592
+ _c("th", { attrs: { scope: "row" } }, [
8593
+ _c(
8594
+ "label",
8595
+ {
8596
+ attrs: {
8597
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8598
+ }
8599
+ },
8600
+ [_vm._v(_vm._s(_vm.fieldData.label))]
8601
+ )
8602
+ ]),
8603
+ _vm._v(" "),
8604
+ _c("td", [
8605
+ _c("input", {
8606
+ directives: [
8607
+ {
8608
+ name: "model",
8609
+ rawName: "v-model",
8610
+ value: _vm.fieldValue[_vm.fieldData.name],
8611
+ expression: "fieldValue[fieldData.name]"
8612
+ }
8613
+ ],
8614
+ staticClass: "regular-text",
8615
+ attrs: {
8616
+ type: "number",
8617
+ min: _vm.fieldData.min,
8618
+ max: _vm.fieldData.max,
8619
+ step: _vm.fieldData.step,
8620
+ id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
8621
+ name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8622
+ },
8623
+ domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
8624
+ on: {
8625
+ input: function($event) {
8626
+ if ($event.target.composing) {
8627
+ return
8628
+ }
8629
+ _vm.$set(
8630
+ _vm.fieldValue,
8631
+ _vm.fieldData.name,
8632
+ $event.target.value
8633
+ )
8634
+ }
8635
+ }
8636
+ }),
8637
+ _vm._v(" "),
8638
+ _vm.hasError(_vm.fieldData.name)
8639
+ ? _c("p", { staticClass: "dokan-error" }, [
8640
+ _vm._v(
8641
+ "\n " +
8642
+ _vm._s(_vm.getError(_vm.fieldData.label)) +
8643
+ "\n "
8644
+ )
8645
+ ])
8646
+ : _vm._e(),
8647
+ _vm._v(" "),
8648
+ _c("p", {
8649
+ staticClass: "description",
8650
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
8651
+ })
8652
+ ])
8653
+ ]
8654
+ : _vm._e(),
8655
+ _vm._v(" "),
8656
+ "combine" == _vm.fieldData.type &&
8657
+ _vm.haveCondition(_vm.fieldData) &&
8658
+ _vm.fieldData.condition.type == "show" &&
8659
+ _vm.checkConditionLogic(_vm.fieldData, _vm.fieldValue)
8660
+ ? [
8661
+ _c("th", { attrs: { scope: "row" } }, [
8662
+ _c(
8663
+ "label",
8664
+ {
8665
+ attrs: {
8666
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8667
+ }
8668
+ },
8669
+ [_vm._v(_vm._s(_vm.fieldData.label))]
8670
+ )
8671
+ ]),
8672
+ _vm._v(" "),
8673
+ _c("td", { staticClass: "percent_fee" }, [
8674
+ _c("input", {
8675
+ directives: [
8676
+ {
8677
+ name: "model",
8678
+ rawName: "v-model",
8679
+ value:
8680
+ _vm.fieldValue[_vm.fieldData.fields.percent_fee.name],
8681
+ expression:
8682
+ "fieldValue[fieldData.fields.percent_fee.name]"
8683
+ }
8684
+ ],
8685
+ staticClass: "regular-text",
8686
+ attrs: {
8687
+ type: "number",
8688
+ min: _vm.fieldData.fields.min,
8689
+ max: _vm.fieldData.fields.max,
8690
+ step: _vm.fieldData.fields.step,
8691
+ id:
8692
+ _vm.sectionId +
8693
+ "[" +
8694
+ _vm.fieldData.name +
8695
+ "]" +
8696
+ "[" +
8697
+ "percent_fee" +
8698
+ "]",
8699
+ name:
8700
+ _vm.sectionId +
8701
+ "[" +
8702
+ _vm.fieldData.fields.percent_fee.name +
8703
+ "]"
8704
+ },
8705
+ domProps: {
8706
+ value:
8707
+ _vm.fieldValue[_vm.fieldData.fields.percent_fee.name]
8708
+ },
8709
+ on: {
8710
+ input: function($event) {
8711
+ if ($event.target.composing) {
8712
+ return
8713
+ }
8714
+ _vm.$set(
8715
+ _vm.fieldValue,
8716
+ _vm.fieldData.fields.percent_fee.name,
8717
+ $event.target.value
8718
+ )
8719
+ }
8720
+ }
8721
+ }),
8722
+ _vm._v("\n " + _vm._s("%") + "\n ")
8723
+ ]),
8724
+ _vm._v(" "),
8725
+ _c("td", { staticClass: "fixed_fee" }, [
8726
+ _vm._v(
8727
+ "\n " + _vm._s("+") + "\n "
8728
+ ),
8729
+ _c("input", {
8730
+ directives: [
8731
+ {
8732
+ name: "model",
8733
+ rawName: "v-model",
8734
+ value:
8735
+ _vm.fieldValue[_vm.fieldData.fields.fixed_fee.name],
8736
+ expression:
8737
+ "fieldValue[fieldData.fields.fixed_fee.name]"
8738
+ }
8739
+ ],
8740
+ staticClass: "regular-text",
8741
+ attrs: {
8742
+ type: "number",
8743
+ min: _vm.fieldData.fields.min,
8744
+ max: _vm.fieldData.fields.max,
8745
+ step: _vm.fieldData.fields.step,
8746
+ id:
8747
+ _vm.sectionId +
8748
+ "[" +
8749
+ _vm.fieldData.name +
8750
+ "]" +
8751
+ "[" +
8752
+ "fixed_fee" +
8753
+ "]",
8754
+ name:
8755
+ _vm.sectionId +
8756
+ "[" +
8757
+ _vm.fieldData.fields.fixed_fee.name +
8758
+ "]"
8759
+ },
8760
+ domProps: {
8761
+ value: _vm.fieldValue[_vm.fieldData.fields.fixed_fee.name]
8762
+ },
8763
+ on: {
8764
+ input: function($event) {
8765
+ if ($event.target.composing) {
8766
+ return
8767
+ }
8768
+ _vm.$set(
8769
+ _vm.fieldValue,
8770
+ _vm.fieldData.fields.fixed_fee.name,
8771
+ $event.target.value
8772
+ )
8773
+ }
8774
+ }
8775
+ })
8776
+ ]),
8777
+ _vm._v(" "),
8778
+ _vm.hasError(_vm.fieldData.fields.percent_fee.name) &&
8779
+ _vm.hasError(_vm.fieldData.fields.fixed_fee.name)
8780
+ ? _c("p", { staticClass: "dokan-error combine-commission" }, [
8781
+ _vm._v(
8782
+ "\n " +
8783
+ _vm._s(
8784
+ _vm.__(
8785
+ "Both percentage and fixed fee is required.",
8786
+ "dokan-lite"
8787
+ )
8788
+ ) +
8789
+ "\n "
8790
+ )
8791
+ ])
8792
+ : _vm.hasError(_vm.fieldData.fields.percent_fee.name)
8793
+ ? _c(
8794
+ "p",
8795
+ { staticClass: "dokan-error combine-commission" },
8796
+ [
8797
+ _vm._v(
8798
+ "\n " +
8799
+ _vm._s(
8800
+ _vm.getError(
8801
+ _vm.fieldData.fields.percent_fee.label
8802
+ )
8803
+ ) +
8804
+ "\n "
8805
+ )
8806
+ ]
8807
+ )
8808
+ : _vm.hasError(_vm.fieldData.fields.fixed_fee.name)
8809
+ ? _c(
8810
+ "p",
8811
+ { staticClass: "dokan-error combine-commission" },
8812
+ [
8813
+ _vm._v(
8814
+ "\n " +
8815
+ _vm._s(
8816
+ _vm.getError(
8817
+ _vm.fieldData.fields.fixed_fee.label
8818
+ )
8819
+ ) +
8820
+ "\n "
8821
+ )
8822
+ ]
8823
+ )
8824
+ : _vm._e(),
8825
+ _vm._v(" "),
8826
+ _c("p", {
8827
+ staticClass: "description",
8828
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
8829
+ })
8830
+ ]
8831
+ : _vm._e(),
8832
  _vm._v(" "),
8833
+ "textarea" == _vm.fieldData.type
8834
+ ? [
8835
+ _c("th", { attrs: { scope: "row" } }, [
8836
+ _c(
8837
+ "label",
8838
+ {
 
8839
  attrs: {
8840
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
 
8841
  }
8842
+ },
8843
+ [_vm._v(_vm._s(_vm.fieldData.label))]
8844
+ )
8845
+ ]),
8846
+ _vm._v(" "),
8847
+ _c("td", [
8848
+ _c("textarea", {
8849
+ directives: [
8850
+ {
8851
+ name: "model",
8852
+ rawName: "v-model",
8853
+ value: _vm.fieldValue[_vm.fieldData.name],
8854
+ expression: "fieldValue[fieldData.name]"
8855
+ }
8856
+ ],
8857
+ staticClass: "regular-text",
8858
+ attrs: {
8859
+ type: "textarea",
8860
+ rows: _vm.fieldData.rows,
8861
+ cols: _vm.fieldData.cols,
8862
+ id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
8863
+ name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8864
+ },
8865
+ domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
8866
+ on: {
8867
+ input: function($event) {
8868
+ if ($event.target.composing) {
8869
+ return
8870
+ }
8871
+ _vm.$set(
8872
+ _vm.fieldValue,
8873
+ _vm.fieldData.name,
8874
+ $event.target.value
8875
+ )
8876
+ }
8877
+ }
8878
+ }),
8879
+ _vm._v(" "),
8880
+ _vm.hasError(_vm.fieldData.name)
8881
+ ? _c("p", { staticClass: "dokan-error" }, [
8882
+ _vm._v(
8883
+ "\n " +
8884
+ _vm._s(_vm.getError(_vm.fieldData.label)) +
8885
+ "\n "
8886
+ )
8887
+ ])
8888
+ : _vm._e(),
8889
+ _vm._v(" "),
8890
+ _c("p", {
8891
+ staticClass: "description",
8892
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
8893
+ })
8894
+ ])
8895
+ ]
8896
+ : _vm._e(),
8897
+ _vm._v(" "),
8898
+ "checkbox" == _vm.fieldData.type
8899
+ ? [
8900
+ _c("th", { attrs: { scope: "row" } }, [
8901
+ _c(
8902
+ "label",
8903
+ {
8904
  attrs: {
8905
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
 
 
8906
  }
8907
+ },
8908
+ [_vm._v(_vm._s(_vm.fieldData.label))]
8909
+ )
8910
+ ]),
8911
  _vm._v(" "),
8912
+ _c("td", [
8913
+ _c("fieldset", [
8914
+ _c(
8915
+ "label",
8916
+ {
8917
+ attrs: {
8918
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
8919
+ }
8920
+ },
8921
+ [
8922
+ _c("input", {
8923
+ directives: [
8924
+ {
8925
+ name: "model",
8926
+ rawName: "v-model",
8927
+ value: _vm.fieldValue[_vm.fieldData.name],
8928
+ expression: "fieldValue[fieldData.name]"
8929
+ }
8930
+ ],
8931
+ staticClass: "checkbox",
8932
+ attrs: {
8933
+ type: "checkbox",
8934
+ id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
8935
+ name:
8936
+ _vm.sectionId + "[" + _vm.fieldData.name + "]",
8937
+ "true-value": "on",
8938
+ "false-value": "off"
8939
+ },
8940
+ domProps: {
8941
+ checked: Array.isArray(
8942
+ _vm.fieldValue[_vm.fieldData.name]
8943
+ )
8944
+ ? _vm._i(
8945
+ _vm.fieldValue[_vm.fieldData.name],
8946
+ null
8947
+ ) > -1
8948
+ : _vm._q(_vm.fieldValue[_vm.fieldData.name], "on")
8949
+ },
8950
+ on: {
8951
+ change: function($event) {
8952
+ var $$a = _vm.fieldValue[_vm.fieldData.name],
8953
+ $$el = $event.target,
8954
+ $$c = $$el.checked ? "on" : "off"
8955
+ if (Array.isArray($$a)) {
8956
+ var $$v = null,
8957
+ $$i = _vm._i($$a, $$v)
8958
+ if ($$el.checked) {
8959
+ $$i < 0 &&
8960
+ (_vm.fieldValue[
8961
+ _vm.fieldData.name
8962
+ ] = $$a.concat([$$v]))
8963
+ } else {
8964
+ $$i > -1 &&
8965
+ (_vm.fieldValue[
8966
+ _vm.fieldData.name
8967
+ ] = $$a
8968
+ .slice(0, $$i)
8969
+ .concat($$a.slice($$i + 1)))
8970
+ }
8971
+ } else {
8972
+ _vm.$set(
8973
+ _vm.fieldValue,
8974
+ _vm.fieldData.name,
8975
+ $$c
8976
+ )
8977
+ }
8978
+ }
8979
+ }
8980
+ }),
8981
+ _vm._v(
8982
+ "\n " +
8983
+ _vm._s(_vm.fieldData.desc) +
8984
+ "\n "
8985
+ )
8986
+ ]
8987
+ )
8988
+ ])
8989
+ ])
8990
+ ]
8991
+ : _vm._e(),
8992
+ _vm._v(" "),
8993
+ "multicheck" == _vm.fieldData.type
8994
+ ? [
8995
+ _c("th", { attrs: { scope: "row" } }, [
8996
+ _c(
8997
+ "label",
8998
+ {
8999
+ attrs: {
9000
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9001
+ }
9002
+ },
9003
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9004
+ )
9005
+ ]),
9006
+ _vm._v(" "),
9007
+ _c("td", [
9008
+ _c(
9009
+ "fieldset",
9010
+ [
9011
+ _vm._l(_vm.fieldData.options, function(
9012
+ optionVal,
9013
+ optionKey
9014
+ ) {
9015
+ return [
9016
+ _c(
9017
+ "label",
9018
+ {
9019
+ attrs: {
9020
+ for:
9021
+ _vm.sectionId +
9022
+ "[" +
9023
+ _vm.fieldData.name +
9024
+ "][" +
9025
+ optionKey +
9026
+ "]"
9027
+ }
9028
+ },
9029
+ [
9030
+ _c("input", {
9031
+ directives: [
9032
+ {
9033
+ name: "model",
9034
+ rawName: "v-model",
9035
+ value:
9036
+ _vm.fieldValue[_vm.fieldData.name][
9037
+ optionKey
9038
+ ],
9039
+ expression:
9040
+ "fieldValue[fieldData.name][optionKey]"
9041
+ }
9042
+ ],
9043
+ staticClass: "checkbox",
9044
+ attrs: {
9045
+ type: "checkbox",
9046
+ id:
9047
+ _vm.sectionId +
9048
+ "[" +
9049
+ _vm.fieldData.name +
9050
+ "][" +
9051
+ optionKey +
9052
+ "]",
9053
+ name:
9054
+ _vm.sectionId +
9055
+ "[" +
9056
+ _vm.fieldData.name +
9057
+ "][" +
9058
+ optionKey +
9059
+ "]",
9060
+ "true-value": optionKey,
9061
+ "false-value": ""
9062
+ },
9063
+ domProps: {
9064
+ checked: Array.isArray(
9065
+ _vm.fieldValue[_vm.fieldData.name][
9066
+ optionKey
9067
+ ]
9068
+ )
9069
+ ? _vm._i(
9070
+ _vm.fieldValue[_vm.fieldData.name][
9071
+ optionKey
9072
+ ],
9073
+ null
9074
+ ) > -1
9075
+ : _vm._q(
9076
+ _vm.fieldValue[_vm.fieldData.name][
9077
+ optionKey
9078
+ ],
9079
+ optionKey
9080
+ )
9081
+ },
9082
+ on: {
9083
+ change: function($event) {
9084
+ var $$a =
9085
+ _vm.fieldValue[_vm.fieldData.name][
9086
+ optionKey
9087
+ ],
9088
+ $$el = $event.target,
9089
+ $$c = $$el.checked ? optionKey : ""
9090
+ if (Array.isArray($$a)) {
9091
+ var $$v = null,
9092
+ $$i = _vm._i($$a, $$v)
9093
+ if ($$el.checked) {
9094
+ $$i < 0 &&
9095
+ (_vm.fieldValue[_vm.fieldData.name][
9096
+ optionKey
9097
+ ] = $$a.concat([$$v]))
9098
+ } else {
9099
+ $$i > -1 &&
9100
+ (_vm.fieldValue[_vm.fieldData.name][
9101
+ optionKey
9102
+ ] = $$a
9103
+ .slice(0, $$i)
9104
+ .concat($$a.slice($$i + 1)))
9105
+ }
9106
+ } else {
9107
+ _vm.$set(
9108
+ _vm.fieldValue[_vm.fieldData.name],
9109
+ optionKey,
9110
+ $$c
9111
+ )
9112
+ }
9113
+ }
9114
+ }
9115
+ }),
9116
+ _vm._v(
9117
+ "\n " +
9118
+ _vm._s(optionVal) +
9119
+ "\n "
9120
+ )
9121
+ ]
9122
+ ),
9123
+ _vm._v(" "),
9124
+ _c("br")
9125
+ ]
9126
+ })
9127
+ ],
9128
+ 2
9129
+ )
9130
+ ])
9131
+ ]
9132
+ : _vm._e(),
9133
+ _vm._v(" "),
9134
+ "select" == _vm.fieldData.type
9135
+ ? [
9136
+ _c("th", { attrs: { scope: "row" } }, [
9137
+ _c(
9138
+ "label",
9139
+ {
9140
+ attrs: {
9141
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9142
+ }
9143
+ },
9144
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9145
+ )
9146
+ ]),
9147
+ _vm._v(" "),
9148
+ _c("td", [
9149
+ !_vm.fieldData.grouped
9150
+ ? _c(
9151
+ "select",
9152
+ {
9153
+ directives: [
9154
+ {
9155
+ name: "model",
9156
+ rawName: "v-model",
9157
+ value: _vm.fieldValue[_vm.fieldData.name],
9158
+ expression: "fieldValue[fieldData.name]"
9159
+ }
9160
+ ],
9161
+ staticClass: "regular",
9162
+ attrs: {
9163
+ name:
9164
+ _vm.sectionId + "[" + _vm.fieldData.name + "]",
9165
+ id: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9166
+ },
9167
+ on: {
9168
+ change: function($event) {
9169
+ var $$selectedVal = Array.prototype.filter
9170
+ .call($event.target.options, function(o) {
9171
+ return o.selected
9172
+ })
9173
+ .map(function(o) {
9174
+ var val = "_value" in o ? o._value : o.value
9175
+ return val
9176
+ })
9177
+ _vm.$set(
9178
+ _vm.fieldValue,
9179
+ _vm.fieldData.name,
9180
+ $event.target.multiple
9181
+ ? $$selectedVal
9182
+ : $$selectedVal[0]
9183
+ )
9184
+ }
9185
+ }
9186
+ },
9187
+ [
9188
+ _vm.fieldData.placeholder
9189
+ ? _c("option", {
9190
+ attrs: { value: "" },
9191
+ domProps: {
9192
+ innerHTML: _vm._s(_vm.fieldData.placeholder)
9193
+ }
9194
+ })
9195
+ : _vm._e(),
9196
+ _vm._v(" "),
9197
+ _vm._l(_vm.fieldData.options, function(
9198
+ optionVal,
9199
+ optionKey
9200
+ ) {
9201
+ return _c("option", {
9202
+ domProps: {
9203
+ value: optionKey,
9204
+ innerHTML: _vm._s(optionVal)
9205
+ }
9206
+ })
9207
+ })
9208
+ ],
9209
+ 2
9210
+ )
9211
+ : _c(
9212
+ "select",
9213
+ {
9214
+ directives: [
9215
+ {
9216
+ name: "model",
9217
+ rawName: "v-model",
9218
+ value: _vm.fieldValue[_vm.fieldData.name],
9219
+ expression: "fieldValue[fieldData.name]"
9220
+ }
9221
+ ],
9222
+ staticClass: "regular",
9223
+ attrs: {
9224
+ name:
9225
+ _vm.sectionId + "[" + _vm.fieldData.name + "]",
9226
+ id: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9227
+ },
9228
+ on: {
9229
+ change: function($event) {
9230
+ var $$selectedVal = Array.prototype.filter
9231
+ .call($event.target.options, function(o) {
9232
+ return o.selected
9233
+ })
9234
+ .map(function(o) {
9235
+ var val = "_value" in o ? o._value : o.value
9236
+ return val
9237
+ })
9238
+ _vm.$set(
9239
+ _vm.fieldValue,
9240
+ _vm.fieldData.name,
9241
+ $event.target.multiple
9242
+ ? $$selectedVal
9243
+ : $$selectedVal[0]
9244
+ )
9245
+ }
9246
+ }
9247
+ },
9248
+ [
9249
+ _vm.fieldData.placeholder
9250
+ ? _c("option", {
9251
+ attrs: { value: "" },
9252
+ domProps: {
9253
+ innerHTML: _vm._s(_vm.fieldData.placeholder)
9254
+ }
9255
+ })
9256
+ : _vm._e(),
9257
+ _vm._v(" "),
9258
+ _vm._l(_vm.fieldData.options, function(optionGroup) {
9259
+ return _c(
9260
+ "optgroup",
9261
+ { attrs: { label: optionGroup.group_label } },
9262
+ _vm._l(optionGroup.group_values, function(
9263
+ option
9264
+ ) {
9265
+ return _c("option", {
9266
+ domProps: {
9267
+ value: option.value,
9268
+ innerHTML: _vm._s(option.label)
9269
+ }
9270
+ })
9271
+ })
9272
+ )
9273
+ })
9274
+ ],
9275
+ 2
9276
+ ),
9277
+ _vm._v(" "),
9278
+ _c("p", {
9279
+ staticClass: "description",
9280
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
9281
+ })
9282
+ ])
9283
+ ]
9284
+ : _vm._e(),
9285
  _vm._v(" "),
9286
+ "file" == _vm.fieldData.type
9287
+ ? [
9288
+ _c("th", { attrs: { scope: "row" } }, [
9289
+ _c(
9290
+ "label",
9291
+ {
 
9292
  attrs: {
9293
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
 
9294
  }
9295
+ },
9296
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9297
+ )
9298
+ ]),
9299
+ _vm._v(" "),
9300
+ _c("td", [
9301
+ _c("input", {
9302
+ directives: [
9303
+ {
9304
+ name: "model",
9305
+ rawName: "v-model",
9306
+ value: _vm.fieldValue[_vm.fieldData.name],
9307
+ expression: "fieldValue[fieldData.name]"
9308
+ }
9309
+ ],
9310
+ staticClass: "regular-text wpsa-url",
9311
+ attrs: {
9312
+ type: "text",
9313
+ id: _vm.sectionId + "[" + _vm.fieldData.name + "]",
9314
+ name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9315
+ },
9316
+ domProps: { value: _vm.fieldValue[_vm.fieldData.name] },
9317
+ on: {
9318
+ input: function($event) {
9319
+ if ($event.target.composing) {
9320
+ return
9321
+ }
9322
+ _vm.$set(
9323
+ _vm.fieldValue,
9324
+ _vm.fieldData.name,
9325
+ $event.target.value
9326
+ )
9327
+ }
9328
+ }
9329
+ }),
9330
+ _vm._v(" "),
9331
+ _c("input", {
9332
+ staticClass: "button wpsa-browse",
9333
+ attrs: { type: "button", value: "Choose File" },
9334
+ on: {
9335
+ click: function($event) {
9336
+ $event.preventDefault()
9337
+ _vm.$emit(
9338
+ "openMedia",
9339
+ {
9340
+ sectionId: _vm.sectionId,
9341
+ name: _vm.fieldData.name
9342
+ },
9343
+ $event
9344
+ )
9345
+ }
9346
+ }
9347
+ }),
9348
+ _vm._v(" "),
9349
+ _vm.hasError(_vm.fieldData.name)
9350
+ ? _c("p", { staticClass: "dokan-error" }, [
9351
+ _vm._v(
9352
+ "\n " +
9353
+ _vm._s(_vm.getError(_vm.fieldData.label)) +
9354
+ "\n "
9355
+ )
9356
+ ])
9357
+ : _vm._e(),
9358
+ _vm._v(" "),
9359
+ _c("p", {
9360
+ staticClass: "description",
9361
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
9362
+ })
9363
+ ])
9364
+ ]
9365
+ : _vm._e(),
9366
+ _vm._v(" "),
9367
+ "color" == _vm.fieldData.type
9368
+ ? [
9369
+ _c("th", { attrs: { scope: "row" } }, [
9370
+ _c(
9371
+ "label",
9372
+ {
9373
  attrs: {
9374
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
 
 
9375
  }
9376
+ },
9377
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9378
+ )
9379
+ ]),
9380
  _vm._v(" "),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9381
  _c(
9382
+ "td",
9383
+ [
9384
+ _c("color-picker", {
9385
+ model: {
9386
+ value: _vm.fieldValue[_vm.fieldData.name],
9387
+ callback: function($$v) {
9388
+ _vm.$set(_vm.fieldValue, _vm.fieldData.name, $$v)
9389
+ },
9390
+ expression: "fieldValue[fieldData.name]"
9391
+ }
9392
+ }),
9393
+ _vm._v(" "),
9394
+ _vm.hasError(_vm.fieldData.name)
9395
+ ? _c("p", { staticClass: "dokan-error" }, [
9396
+ _vm._v(
9397
+ "\n " +
9398
+ _vm._s(_vm.getError(_vm.fieldData.label)) +
9399
+ "\n "
9400
+ )
9401
+ ])
9402
+ : _vm._e(),
9403
+ _vm._v(" "),
9404
+ _c("p", {
9405
+ staticClass: "description",
9406
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
9407
+ })
9408
+ ],
9409
+ 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9410
  )
9411
+ ]
9412
+ : _vm._e(),
 
9413
  _vm._v(" "),
9414
+ "html" == _vm.fieldData.type
9415
+ ? [
9416
+ _c("th", { attrs: { scope: "row" } }, [
9417
+ _c(
9418
+ "label",
9419
+ {
9420
+ attrs: {
9421
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9422
+ }
9423
+ },
9424
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9425
+ )
9426
+ ]),
9427
+ _vm._v(" "),
9428
+ _c("td", [
9429
+ _vm.hasError(_vm.fieldData.name)
9430
+ ? _c("p", { staticClass: "dokan-error" }, [
9431
+ _vm._v(
9432
+ "\n " +
9433
+ _vm._s(_vm.getError(_vm.fieldData.label)) +
9434
+ "\n "
9435
+ )
9436
+ ])
9437
+ : _vm._e(),
9438
+ _vm._v(" "),
9439
+ _c("p", {
9440
+ staticClass: "description",
9441
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
9442
+ })
9443
+ ])
9444
+ ]
9445
+ : _vm._e(),
9446
+ _vm._v(" "),
9447
+ "radio" == _vm.fieldData.type
9448
+ ? [
9449
+ _c("th", { attrs: { scope: "row" } }, [
9450
+ _c(
9451
+ "label",
9452
+ {
9453
+ attrs: {
9454
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9455
+ }
9456
+ },
9457
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9458
+ )
9459
+ ]),
9460
+ _vm._v(" "),
9461
+ _c("td", { staticClass: "dokan-settings-field-type-radio" }, [
9462
+ _c(
9463
+ "fieldset",
9464
+ [
9465
+ _vm._l(_vm.fieldData.options, function(
9466
+ optionVal,
9467
+ optionKey
9468
+ ) {
9469
+ return [
9470
+ _c(
9471
+ "label",
9472
+ {
9473
+ attrs: {
9474
+ for:
9475
+ _vm.sectionId +
9476
+ "[" +
9477
+ _vm.fieldData.name +
9478
+ "][" +
9479
+ optionKey +
9480
+ "]"
9481
+ }
9482
+ },
9483
+ [
9484
+ _c("input", {
9485
+ directives: [
9486
+ {
9487
+ name: "model",
9488
+ rawName: "v-model",
9489
+ value: _vm.fieldValue[_vm.fieldData.name],
9490
+ expression: "fieldValue[fieldData.name]"
9491
+ }
9492
+ ],
9493
+ staticClass: "radio",
9494
+ attrs: {
9495
+ type: "radio",
9496
+ id:
9497
+ _vm.sectionId +
9498
+ "[" +
9499
+ _vm.fieldData.name +
9500
+ "][" +
9501
+ optionKey +
9502
+ "]",
9503
+ name: optionKey
9504
+ },
9505
+ domProps: {
9506
+ value: optionKey,
9507
+ checked: _vm._q(
9508
+ _vm.fieldValue[_vm.fieldData.name],
9509
+ optionKey
9510
+ )
9511
+ },
9512
+ on: {
9513
+ change: function($event) {
9514
+ _vm.$set(
9515
+ _vm.fieldValue,
9516
+ _vm.fieldData.name,
9517
+ optionKey
9518
+ )
9519
+ }
9520
+ }
9521
+ }),
9522
+ _vm._v(
9523
+ " " +
9524
+ _vm._s(optionVal) +
9525
+ "\n "
9526
+ )
9527
+ ]
9528
+ )
9529
+ ]
9530
+ })
9531
+ ],
9532
+ 2
9533
+ ),
9534
+ _vm._v(" "),
9535
+ _c("p", {
9536
+ staticClass: "description",
9537
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
9538
+ })
9539
+ ])
9540
+ ]
9541
+ : _vm._e(),
9542
+ _vm._v(" "),
9543
+ "wpeditor" == _vm.fieldData.type
9544
+ ? [
9545
+ _c("th", { attrs: { scope: "row" } }, [
9546
+ _c(
9547
+ "label",
9548
+ {
9549
+ attrs: {
9550
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9551
+ }
9552
+ },
9553
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9554
+ )
9555
  ]),
9556
  _vm._v(" "),
9557
  _c(
9558
+ "td",
9559
+ { attrs: { width: "72%" } },
 
 
 
 
 
 
 
 
 
9560
  [
9561
+ _c("text-editor", {
9562
+ model: {
9563
+ value: _vm.fieldValue[_vm.fieldData.name],
9564
+ callback: function($$v) {
9565
+ _vm.$set(_vm.fieldValue, _vm.fieldData.name, $$v)
9566
+ },
9567
+ expression: "fieldValue[fieldData.name]"
9568
+ }
9569
+ }),
9570
  _vm._v(" "),
9571
+ _c("p", {
9572
+ staticClass: "description",
9573
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
9574
+ })
9575
+ ],
9576
+ 1
9577
  )
9578
+ ]
9579
+ : _vm._e(),
9580
+ _vm._v(" "),
9581
+ "repeatable" == _vm.fieldData.type
9582
+ ? [
9583
+ _c("th", { attrs: { scope: "row" } }, [
9584
+ _c(
9585
+ "label",
9586
+ {
9587
+ attrs: {
9588
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9589
+ }
9590
+ },
9591
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9592
+ )
9593
+ ]),
9594
+ _vm._v(" "),
9595
+ _c("td", { attrs: { width: "72%" } }, [
9596
+ _c(
9597
+ "ul",
9598
+ { staticClass: "dokan-settings-repeatable-list" },
9599
+ _vm._l(_vm.fieldValue[_vm.fieldData.name], function(
9600
+ optionVal,
9601
+ optionKey
9602
+ ) {
9603
+ return _vm.fieldValue[_vm.fieldData.name]
9604
+ ? _c("li", [
9605
+ _vm._v(
9606
+ "\n " +
9607
+ _vm._s(optionVal.value) +
9608
+ " "
9609
+ ),
9610
+ _c("span", {
9611
+ staticClass:
9612
+ "dashicons dashicons-no-alt remove-item",
9613
+ on: {
9614
+ click: function($event) {
9615
+ $event.preventDefault()
9616
+ _vm.removeItem(optionKey, _vm.fieldData.name)
9617
+ }
9618
+ }
9619
+ })
9620
+ ])
9621
+ : _vm._e()
9622
+ })
9623
+ ),
9624
+ _vm._v(" "),
9625
+ _c("input", {
9626
+ directives: [
9627
+ {
9628
+ name: "model",
9629
+ rawName: "v-model",
9630
+ value: _vm.repeatableItem[_vm.fieldData.name],
9631
+ expression: "repeatableItem[fieldData.name]"
9632
+ }
9633
+ ],
9634
+ staticClass: "regular-text",
9635
+ attrs: { type: "text" },
9636
+ domProps: { value: _vm.repeatableItem[_vm.fieldData.name] },
9637
+ on: {
9638
+ input: function($event) {
9639
+ if ($event.target.composing) {
9640
+ return
9641
+ }
9642
+ _vm.$set(
9643
+ _vm.repeatableItem,
9644
+ _vm.fieldData.name,
9645
+ $event.target.value
9646
+ )
9647
+ }
9648
+ }
9649
+ }),
9650
+ _vm._v(" "),
9651
+ _c(
9652
+ "a",
9653
+ {
9654
+ staticClass: "button dokan-repetable-add-item-btn",
9655
+ attrs: { href: "#" },
9656
+ on: {
9657
+ click: function($event) {
9658
+ $event.preventDefault()
9659
+ _vm.addItem(_vm.fieldData.type, _vm.fieldData.name)
9660
+ }
9661
+ }
9662
+ },
9663
+ [_vm._v("+")]
9664
+ ),
9665
+ _vm._v(" "),
9666
+ _c("p", {
9667
+ staticClass: "description",
9668
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
9669
+ })
9670
+ ])
9671
+ ]
9672
+ : _vm._e(),
9673
+ _vm._v(" "),
9674
+ "radio_image" == _vm.fieldData.type
9675
+ ? [
9676
+ _c("th", { attrs: { scope: "row" } }, [
9677
+ _c(
9678
+ "label",
9679
+ {
9680
+ attrs: {
9681
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9682
+ }
9683
+ },
9684
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9685
+ )
9686
+ ]),
9687
+ _vm._v(" "),
9688
+ _c("td", [
9689
+ _c(
9690
+ "div",
9691
+ { staticClass: "radio-image-container" },
9692
+ [
9693
+ _vm._l(_vm.fieldData.options, function(image, name) {
9694
+ return [
9695
+ _c(
9696
+ "label",
9697
+ {
9698
+ staticClass: "radio-image",
9699
+ class: {
9700
+ active:
9701
+ _vm.fieldValue[_vm.fieldData.name] === name,
9702
+ "not-active":
9703
+ _vm.fieldValue[_vm.fieldData.name] !== name
9704
+ }
9705
+ },
9706
+ [
9707
+ _c("input", {
9708
+ directives: [
9709
+ {
9710
+ name: "model",
9711
+ rawName: "v-model",
9712
+ value: _vm.fieldValue[_vm.fieldData.name],
9713
+ expression: "fieldValue[fieldData.name]"
9714
+ }
9715
+ ],
9716
+ staticClass: "radio",
9717
+ attrs: {
9718
+ type: "radio",
9719
+ name: _vm.fieldData.name
9720
+ },
9721
+ domProps: {
9722
+ value: name,
9723
+ checked: _vm._q(
9724
+ _vm.fieldValue[_vm.fieldData.name],
9725
+ name
9726
+ )
9727
+ },
9728
+ on: {
9729
+ change: function($event) {
9730
+ _vm.$set(
9731
+ _vm.fieldValue,
9732
+ _vm.fieldData.name,
9733
+ name
9734
+ )
9735
+ }
9736
+ }
9737
+ }),
9738
+ _vm._v(" "),
9739
+ _c(
9740
+ "span",
9741
+ { staticClass: "current-option-indicator" },
9742
+ [
9743
+ _c("span", {
9744
+ staticClass: "dashicons dashicons-yes"
9745
+ }),
9746
+ _vm._v(
9747
+ " " + _vm._s(_vm.__("Active", "dokan-lite"))
9748
+ )
9749
+ ]
9750
+ ),
9751
+ _vm._v(" "),
9752
+ _c("img", { attrs: { src: image } }),
9753
+ _vm._v(" "),
9754
+ _c("span", { staticClass: "active-option" }, [
9755
+ _c(
9756
+ "button",
9757
+ {
9758
+ staticClass:
9759
+ "button button-primary button-hero",
9760
+ attrs: { type: "button" },
9761
+ on: {
9762
+ click: function($event) {
9763
+ $event.preventDefault()
9764
+ _vm.fieldValue[
9765
+ _vm.fieldData.name
9766
+ ] = name
9767
+ }
9768
+ }
9769
+ },
9770
+ [
9771
+ _vm._v(
9772
+ "\n " +
9773
+ _vm._s(_vm.__("Select", "dokan-lite")) +
9774
+ "\n "
9775
+ )
9776
+ ]
9777
+ )
9778
+ ])
9779
+ ]
9780
+ )
9781
+ ]
9782
+ })
9783
+ ],
9784
+ 2
9785
+ )
9786
+ ])
9787
+ ]
9788
+ : _vm._e(),
9789
  _vm._v(" "),
9790
+ "gmap" == _vm.fieldData.type && !_vm.hideMap
9791
+ ? [
9792
+ _c("th", { attrs: { scope: "row" } }, [
9793
+ _c(
9794
+ "label",
9795
+ {
9796
+ attrs: {
9797
+ for: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9798
+ }
9799
+ },
9800
+ [_vm._v(_vm._s(_vm.fieldData.label))]
9801
+ )
9802
+ ]),
9803
+ _vm._v(" "),
9804
+ _c(
9805
+ "td",
9806
+ [
9807
+ _c("input", {
9808
+ attrs: {
9809
+ type: "hidden",
9810
+ name: _vm.sectionId + "[" + _vm.fieldData.name + "]"
9811
+ },
9812
+ domProps: { value: _vm.mapLocation }
9813
+ }),
9814
+ _vm._v(" "),
9815
+ _vm.mapApiSource === "mapbox"
9816
+ ? _c("Mapbox", {
9817
+ attrs: {
9818
+ accessToken: _vm.mapboxAccessToken,
9819
+ location: _vm.mapLocation,
9820
+ width: "100%",
9821
+ height: "300px"
9822
+ },
9823
+ on: {
9824
+ hideMap: _vm.onHideMap,
9825
+ updateMap: _vm.onUpdateMap
9826
+ }
9827
+ })
9828
+ : _c("GoogleMaps", {
9829
+ attrs: {
9830
+ apiKey: _vm.googleMapApiKey,
9831
+ location: _vm.mapLocation
9832
+ },
9833
+ on: {
9834
+ hideMap: _vm.onHideMap,
9835
+ updateMap: _vm.onUpdateMap
9836
+ }
9837
+ }),
9838
+ _vm._v(" "),
9839
+ _vm.hasError(_vm.fieldData.name)
9840
+ ? _c("p", { staticClass: "dokan-error" }, [
9841
+ _vm._v(
9842
+ "\n " +
9843
+ _vm._s(_vm.getError(_vm.fieldData.label)) +
9844
+ "\n "
9845
+ )
9846
+ ])
9847
+ : _vm._e(),
9848
+ _vm._v(" "),
9849
+ _c("p", {
9850
+ staticClass: "description",
9851
+ domProps: { innerHTML: _vm._s(_vm.fieldData.desc) }
9852
+ })
9853
+ ],
9854
+ 1
9855
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9856
  ]
9857
+ : _vm._e()
9858
+ ],
9859
+ 2
9860
+ )
9861
+ : _vm._e()
 
9862
  }
9863
+ var staticRenderFns = []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9864
  render._withStripped = true
9865
  var esExports = { render: render, staticRenderFns: staticRenderFns }
9866
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
9867
  if (false) {
9868
  module.hot.accept()
9869
  if (module.hot.data) {
9870
+ require("vue-hot-reload-api") .rerender("data-v-a96ce32e", esExports)
9871
  }
9872
  }
9873
 
9874
  /***/ }),
9875
+ /* 150 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9876
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9877
 
9878
  "use strict";
9880
  var _vm = this
9881
  var _h = _vm.$createElement
9882
  var _c = _vm._self._c || _h
9883
+ return _c("div", { staticClass: "dokan-settings" }, [
9884
+ _c("h2", { staticStyle: { "margin-bottom": "15px" } }, [
9885
+ _vm._v(_vm._s(_vm.__("Settings", "dokan-lite")))
9886
+ ]),
9887
  _vm._v(" "),
9888
+ _vm.isSaved
9889
  ? _c(
9890
  "div",
9891
+ {
9892
+ staticClass: "settings-error notice is-dismissible",
9893
+ class: { updated: _vm.isUpdated, error: !_vm.isUpdated },
9894
+ attrs: { id: "setting-message_updated" }
9895
+ },
9896
+ [
9897
+ _c("p", [
9898
+ _c("strong", { domProps: { innerHTML: _vm._s(_vm.message) } })
9899
+ ]),
9900
+ _vm._v(" "),
9901
+ _c(
9902
+ "button",
9903
+ {
9904
+ staticClass: "notice-dismiss",
9905
+ attrs: { type: "button" },
9906
+ on: {
9907
+ click: function($event) {
9908
+ $event.preventDefault()
9909
+ _vm.isSaved = false
9910
+ }
9911
+ }
9912
+ },
9913
  [
9914
+ _c("span", { staticClass: "screen-reader-text" }, [
9915
+ _vm._v(_vm._s(_vm.__("Dismiss this notice.", "dokan-lite")))
9916
+ ])
9917
+ ]
9918
+ )
9919
+ ]
9920
+ )
9921
+ : _vm._e(),
9922
+ _vm._v(" "),
9923
+ _c("div", { staticClass: "dokan-settings-wrap" }, [
9924
+ _c(
9925
+ "h2",
9926
+ { staticClass: "nav-tab-wrapper" },
9927
+ [
9928
+ _vm._l(_vm.settingSections, function(section) {
9929
+ return [
9930
+ _c(
9931
+ "a",
9932
+ {
9933
+ class: [
9934
+ "nav-tab",
9935
+ _vm.currentTab === section.id ? "nav-tab-active" : ""
9936
+ ],
9937
+ attrs: { href: "#" },
9938
+ on: {
9939
+ click: function($event) {
9940
+ $event.preventDefault()
9941
+ _vm.changeTab(section)
9942
+ }
9943
+ }
9944
+ },
9945
+ [
9946
+ _c("span", { staticClass: "dashicons", class: section.icon }),
9947
+ _vm._v(" " + _vm._s(section.title) + "\n ")
9948
+ ]
9949
+ )
9950
+ ]
9951
+ })
9952
+ ],
9953
+ 2
9954
+ ),
9955
+ _vm._v(" "),
9956
+ _c(
9957
+ "div",
9958
+ { staticClass: "metabox-holder" },
9959
+ [
9960
+ _vm._l(_vm.settingFields, function(fields, index) {
9961
+ return _vm.isLoaded
9962
+ ? [
9963
+ _vm.currentTab === index
9964
+ ? _c(
9965
+ "div",
9966
+ { staticClass: "group", attrs: { id: index } },
9967
+ [
9968
+ _c(
9969
+ "form",
9970
+ {
9971
+ attrs: { method: "post", action: "options.php" }
9972
+ },
9973
+ [
9974
+ _c("input", {
9975
+ attrs: { type: "hidden", name: "option_page" },
9976
+ domProps: { value: index }
9977
+ }),
9978
+ _vm._v(" "),
9979
+ _c("input", {
9980
+ attrs: {
9981
+ type: "hidden",
9982
+ name: "action",
9983
+ value: "update"
9984
+ }
9985
+ }),
9986
+ _vm._v(" "),
9987
+ _c("table", { staticClass: "form-table" }, [
9988
+ _vm.showSectionTitle(fields)
9989
+ ? _c("thead", [
9990
+ _c(
9991
+ "tr",
9992
+ {
9993
+ staticClass:
9994
+ "dokan-settings-field-type-sub_section"
9995
+ },
9996
+ [
9997
+ _c(
9998
+ "th",
9999
+ {
10000
+ staticClass:
10001
+ "dokan-settings-sub-section-title",
10002
+ attrs: { colspan: "2" }
10003
+ },
10004
+ [
10005
+ _c("label", [
10006
+ _vm._v(
10007
+ _vm._s(
10008
+ _vm.sectionTitle(index)
10009
+ )
10010
+ )
10011
+ ])
10012
+ ]
10013
+ )
10014
+ ]
10015
+ )
10016
+ ])
10017
+ : _vm._e(),
10018
+ _vm._v(" "),
10019
+ _c(
10020
+ "tbody",
10021
+ _vm._l(fields, function(field, fieldId) {
10022
+ return _c("Fields", {
10023
+ key: fieldId,
10024
+ attrs: {
10025
+ "section-id": index,
10026
+ id: fieldId,
10027
+ "field-data": field,
10028
+ "field-value": _vm.settingValues[index],
10029
+ "all-settings-values":
10030
+ _vm.settingValues,
10031
+ errors: _vm.errors
10032
+ },
10033
+ on: { openMedia: _vm.showMedia }
10034
+ })
10035
+ })
10036
+ )
10037
+ ]),
10038
+ _vm._v(" "),
10039
+ _c("p", { staticClass: "submit" }, [
10040
+ _c("input", {
10041
+ staticClass: "button button-primary",
10042
+ attrs: {
10043
+ type: "submit",
10044
+ name: "submit",
10045
+ id: "submit",
10046
+ value: "Save Changes"
10047
+ },
10048
+ on: {
10049
+ click: function($event) {
10050
+ $event.preventDefault()
10051
+ _vm.saveSettings(
10052
+ _vm.settingValues[index],
10053
+ index
10054
+ )
10055
+ }
10056
+ }
10057
+ })
10058
+ ])
10059
+ ]
10060
+ )
10061
+ ]
10062
  )
10063
+ : _vm._e()
10064
+ ]
10065
+ : _vm._e()
 
 
10066
  })
10067
+ ],
10068
+ 2
10069
+ ),
10070
+ _vm._v(" "),
10071
+ _vm.showLoading
10072
+ ? _c("div", { staticClass: "loading" }, [_c("loading")], 1)
10073
+ : _vm._e()
10074
+ ])
10075
  ])
10076
  }
10077
  var staticRenderFns = []
10081
  if (false) {
10082
  module.hot.accept()
10083
  if (module.hot.data) {
10084
+ require("vue-hot-reload-api") .rerender("data-v-e4dc4572", esExports)
10085
  }
10086
  }
10087
 
10088
  /***/ }),
10089
+ /* 151 */
10090
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10091
 
10092
  "use strict";
10093
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_vendors_vue__ = __webpack_require__(59);
10094
+ /* unused harmony namespace reexport */
10095
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_208897d7_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_vendors_vue__ = __webpack_require__(156);
 
10096
  var disposed = false
10097
  function injectStyle (ssrContext) {
10098
  if (disposed) return
10099
+ __webpack_require__(152)
10100
  }
10101
  var normalizeComponent = __webpack_require__(0)
10102
  /* script */
10113
  /* moduleIdentifier (server only) */
10114
  var __vue_module_identifier__ = null
10115
  var Component = normalizeComponent(
10116
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_vendors_vue__["a" /* default */],
10117
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_208897d7_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_vendors_vue__["a" /* default */],
10118
  __vue_template_functional__,
10119
  __vue_styles__,
10120
  __vue_scopeId__,
10121
  __vue_module_identifier__
10122
  )
10123
+ Component.options.__file = "src/admin/pages/vendors.vue"
10124
 
10125
  /* hot reload */
10126
  if (false) {(function () {
10129
  if (!hotAPI.compatible) return
10130
  module.hot.accept()
10131
  if (!module.hot.data) {
10132
+ hotAPI.createRecord("data-v-208897d7", Component.options)
10133
  } else {
10134
+ hotAPI.reload("data-v-208897d7", Component.options)
10135
  }
10136
  module.hot.dispose(function (data) {
10137
  disposed = true
10138
  })
10139
  })()}
10140
 
10141
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
10142
 
10143
 
10144
  /***/ }),
10145
+ /* 152 */
10146
  /***/ (function(module, exports) {
10147
 
10148
  // removed by extract-text-webpack-plugin
10149
 
10150
  /***/ }),
10151
+ /* 153 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10152
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10153
 
10154
  "use strict";
10155
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_AddVendor_vue__ = __webpack_require__(60);
10156
  /* unused harmony namespace reexport */
10157
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_75e0fcd5_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_AddVendor_vue__ = __webpack_require__(155);
10158
  var disposed = false
10159
  function injectStyle (ssrContext) {
10160
  if (disposed) return
10161
+ __webpack_require__(154)
10162
  }
10163
  var normalizeComponent = __webpack_require__(0)
10164
  /* script */
10171
  /* styles */
10172
  var __vue_styles__ = injectStyle
10173
  /* scopeId */
10174
+ var __vue_scopeId__ = null
10175
  /* moduleIdentifier (server only) */
10176
  var __vue_module_identifier__ = null
10177
  var Component = normalizeComponent(
10178
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_AddVendor_vue__["a" /* default */],
10179
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_75e0fcd5_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_AddVendor_vue__["a" /* default */],
10180
  __vue_template_functional__,
10181
  __vue_styles__,
10182
  __vue_scopeId__,
10183
  __vue_module_identifier__
10184
  )
10185
+ Component.options.__file = "src/admin/pages/AddVendor.vue"
10186
 
10187
  /* hot reload */
10188
  if (false) {(function () {
10191
  if (!hotAPI.compatible) return
10192
  module.hot.accept()
10193
  if (!module.hot.data) {
10194
+ hotAPI.createRecord("data-v-75e0fcd5", Component.options)
10195
  } else {
10196
+ hotAPI.reload("data-v-75e0fcd5", Component.options)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10197
  }
10198
+ module.hot.dispose(function (data) {
10199
+ disposed = true
10200
+ })
10201
+ })()}
10202
+
10203
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
10204
+
10205
 
10206
  /***/ }),
10207
+ /* 154 */
10208
+ /***/ (function(module, exports) {
10209
+
10210
+ // removed by extract-text-webpack-plugin
10211
+
10212
+ /***/ }),
10213
+ /* 155 */
10214
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10215
 
10216
  "use strict";
10218
  var _vm = this
10219
  var _h = _vm.$createElement
10220
  var _c = _vm._self._c || _h
10221
+ return _c(
10222
+ "div",
10223
+ { staticClass: "dokan-vendor-edit" },
10224
+ [
10225
+ _c(
10226
+ "modal",
10227
+ {
10228
+ attrs: { title: _vm.title, width: "800px" },
10229
+ on: { close: _vm.closeModal }
10230
+ },
10231
+ [
10232
+ _c("div", { attrs: { slot: "body" }, slot: "body" }, [
10233
+ _c("div", { staticClass: "tab-header" }, [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10234
  _c(
10235
+ "ul",
10236
+ { staticClass: "tab-list" },
10237
+ _vm._l(_vm.tabs, function(tab, index) {
10238
+ return _c(
10239
+ "li",
10240
+ {
10241
+ key: index,
10242
+ class: {
10243
+ "tab-title": true,
10244
+ active: _vm.currentTab === tab.name,
10245
+ last: tab.name === "VendorPaymentFields"
 
10246
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
10247
  },
10248
+ [
10249
+ _c("div", { staticClass: "tab-link" }, [
10250
+ _c(
10251
+ "a",
10252
+ {
10253
+ class: {
10254
+ first: tab.name === "VendorAccountFields"
10255
+ },
10256
+ attrs: { href: "#" },
10257
+ on: {
10258
+ click: function($event) {
10259
+ $event.preventDefault()
10260
+ _vm.currentTab = tab.name
10261
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10262
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10263
  },
10264
+ [
10265
+ _c("span", { class: [tab.icon] }),
10266
+ _vm._v(
10267
+ "\n " +
10268
+ _vm._s(tab.label) +
10269
+ "\n "
10270
  )
10271
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10272
  )
10273
+ ])
10274
+ ]
10275
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10276
  })
10277
+ )
10278
+ ]),
10279
  _vm._v(" "),
10280
+ _vm.currentTab
10281
+ ? _c(
10282
+ "div",
10283
+ { staticClass: "tab-contents" },
10284
+ [
10285
+ _vm.isLoading
10286
+ ? _c(
10287
+ "div",
10288
+ { staticClass: "loading" },
10289
+ [_c("loading")],
10290
+ 1
10291
+ )
10292
+ : _vm._e(),
10293
+ _vm._v(" "),
10294
+ !_vm.isLoading
10295
+ ? _c(
10296
+ "transition",
10297
+ { attrs: { name: "component-fade", mode: "out-in" } },
10298
+ [
10299
+ _c(_vm.currentTab, {
10300
+ tag: "component",
10301
+ attrs: {
10302
+ vendorInfo: _vm.store,
10303
+ errors: _vm.errors
10304
+ }
10305
+ })
10306
+ ],
10307
+ 1
10308
+ )
10309
+ : _vm._e()
10310
+ ],
10311
+ 1
10312
+ )
10313
+ : _vm._e()
10314
+ ]),
10315
+ _vm._v(" "),
10316
+ _c("div", { attrs: { slot: "footer" }, slot: "footer" }, [
10317
  _c(
10318
+ "button",
10319
  {
10320
+ staticClass: "button button-primary button-hero",
10321
+ on: { click: _vm.createVendor }
10322
  },
10323
+ [
10324
+ _vm._v(
10325
+ _vm._s(
10326
+ "VendorPaymentFields" === _vm.currentTab
10327
+ ? _vm.__("Create Vendor", "dokan-lite")
10328
+ : this.nextBtn
10329
+ )
10330
+ )
10331
+ ]
10332
  )
10333
+ ])
10334
+ ]
10335
+ )
10336
+ ],
10337
+ 1
10338
+ )
10339
+ }
10340
+ var staticRenderFns = []
10341
+ render._withStripped = true
10342
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
10343
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
10344
+ if (false) {
10345
+ module.hot.accept()
10346
+ if (module.hot.data) {
10347
+ require("vue-hot-reload-api") .rerender("data-v-75e0fcd5", esExports)
10348
+ }
10349
+ }
10350
+
10351
+ /***/ }),
10352
+ /* 156 */
10353
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10354
+
10355
+ "use strict";
10356
+ var render = function() {
10357
+ var _vm = this
10358
+ var _h = _vm.$createElement
10359
+ var _c = _vm._self._c || _h
10360
+ return _c(
10361
+ "div",
10362
+ { staticClass: "vendor-list" },
10363
+ [
10364
+ _c("h1", { staticClass: "wp-heading-inline" }, [
10365
+ _vm._v(_vm._s(_vm.__("Vendors", "dokan-lite")))
10366
+ ]),
10367
+ _vm._v(" "),
10368
+ _c(
10369
+ "button",
10370
+ {
10371
+ staticClass: "page-title-action",
10372
+ on: {
10373
+ click: function($event) {
10374
+ _vm.addNew()
10375
+ }
10376
+ }
10377
+ },
10378
+ [_vm._v(_vm._s(_vm.__("Add New", "dokan-lite")))]
10379
+ ),
10380
+ _vm._v(" "),
10381
+ _vm._l(_vm.dokanVendorHeaderArea, function(vendorHeaderArea, index) {
10382
+ return _c(vendorHeaderArea, { key: index, tag: "component" })
10383
+ }),
10384
+ _vm._v(" "),
10385
+ _c("hr", { staticClass: "wp-header-end" }),
10386
+ _vm._v(" "),
10387
+ _c("ul", { staticClass: "subsubsub" }, [
10388
+ _c(
10389
+ "li",
10390
+ [
10391
+ _c("router-link", {
10392
  attrs: {
10393
+ to: { name: "Vendors", query: { status: "all" } },
10394
+ "active-class": "current",
10395
+ exact: ""
10396
  },
10397
+ domProps: {
10398
+ innerHTML: _vm._s(
10399
+ _vm.sprintf(
10400
+ _vm.__("All <span class='count'>(%s)</span>", "dokan-lite"),
10401
+ _vm.counts.all
 
 
 
 
 
10402
  )
10403
+ )
10404
  }
10405
  }),
10406
+ _vm._v(" | ")
10407
+ ],
10408
+ 1
10409
+ ),
10410
+ _vm._v(" "),
10411
+ _c(
10412
+ "li",
10413
+ [
10414
+ _c("router-link", {
10415
+ attrs: {
10416
+ to: { name: "Vendors", query: { status: "approved" } },
10417
+ "active-class": "current",
10418
+ exact: ""
10419
+ },
10420
+ domProps: {
10421
+ innerHTML: _vm._s(
10422
+ _vm.sprintf(
10423
+ _vm.__(
10424
+ "Approved <span class='count'>(%s)</span>",
10425
+ "dokan-lite"
10426
+ ),
10427
+ _vm.counts.approved
10428
  )
10429
+ )
10430
  }
10431
  }),
10432
+ _vm._v(" | ")
10433
+ ],
10434
+ 1
10435
+ ),
10436
+ _vm._v(" "),
10437
+ _c(
10438
+ "li",
10439
+ [
10440
+ _c("router-link", {
10441
+ attrs: {
10442
+ to: { name: "Vendors", query: { status: "pending" } },
10443
+ "active-class": "current",
10444
+ exact: ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10445
  },
10446
+ domProps: {
10447
+ innerHTML: _vm._s(
10448
+ _vm.sprintf(
10449
+ _vm.__(
10450
+ "Pending <span class='count'>(%s)</span>",
10451
+ "dokan-lite"
10452
+ ),
10453
+ _vm.counts.pending
10454
+ )
10455
+ )
10456
+ }
10457
  })
10458
+ ],
10459
+ 1
10460
+ )
10461
+ ]),
10462
+ _vm._v(" "),
10463
+ _c("search", {
10464
+ attrs: { title: "Search Vendors" },
10465
+ on: { searched: _vm.doSearch }
10466
+ }),
10467
+ _vm._v(" "),
10468
+ _c("list-table", {
10469
+ attrs: {
10470
+ columns: _vm.columns,
10471
+ loading: _vm.loading,
10472
+ rows: _vm.vendors,
10473
+ actions: _vm.actions,
10474
+ actionColumn: "store_name",
10475
+ "show-cb": _vm.showCb,
10476
+ "total-items": _vm.totalItems,
10477
+ "bulk-actions": _vm.bulkActions,
10478
+ "total-pages": _vm.totalPages,
10479
+ "per-page": _vm.perPage,
10480
+ "current-page": _vm.currentPage,
10481
+ "action-column": _vm.actionColumn,
10482
+ "not-found": "No vendors found.",
10483
+ "sort-by": _vm.sortBy,
10484
+ "sort-order": _vm.sortOrder
10485
+ },
10486
+ on: {
10487
+ sort: _vm.sortCallback,
10488
+ pagination: _vm.goToPage,
10489
+ "action:click": _vm.onActionClick,
10490
+ "bulk:click": _vm.onBulkAction,
10491
+ searched: _vm.doSearch
10492
+ },
10493
+ scopedSlots: _vm._u([
10494
+ {
10495
+ key: "store_name",
10496
+ fn: function(data) {
10497
+ return [
10498
+ _c("img", {
10499
+ attrs: {
10500
+ src: data.row.gravatar,
10501
+ alt: data.row.store_name,
10502
+ width: "50"
10503
+ }
10504
+ }),
10505
+ _vm._v(" "),
10506
+ _c(
10507
+ "strong",
10508
+ [
10509
+ _vm.hasPro
10510
+ ? _c(
10511
+ "router-link",
10512
+ { attrs: { to: "/vendors/" + data.row.id } },
 
 
 
 
 
 
 
10513
  [
10514
+ _vm._v(
10515
+ _vm._s(
10516
+ data.row.store_name
10517
+ ? data.row.store_name
10518
+ : _vm.__("(no name)", "dokan-lite")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10519
  )
10520
+ )
10521
+ ]
10522
+ )
10523
+ : _c("a", { attrs: { href: _vm.editUrl(data.row.id) } }, [
10524
+ _vm._v(
10525
+ _vm._s(
10526
+ data.row.store_name
10527
+ ? data.row.store_name
10528
+ : _vm.__("(no name)", "dokan-lite")
10529
+ )
10530
  )
10531
  ])
10532
+ ],
10533
+ 1
10534
+ )
10535
+ ]
10536
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10537
  },
10538
+ {
10539
+ key: "email",
10540
+ fn: function(data) {
10541
+ return [
10542
+ _c("a", { attrs: { href: "mailto:" + data.row.email } }, [
10543
+ _vm._v(_vm._s(data.row.email))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10544
  ])
10545
  ]
10546
+ }
10547
+ },
10548
+ {
10549
+ key: "categories",
10550
+ fn: function(ref) {
10551
+ var row = ref.row
10552
+ return [
10553
+ _vm._v(
10554
+ "\n " +
10555
+ _vm._s(
10556
+ row.categories
10557
+ .map(function(category) {
10558
+ return category.name
10559
+ })
10560
+ .join(", ")
10561
+ ) +
10562
+ "\n "
10563
+ )
10564
+ ]
10565
+ }
10566
+ },
10567
+ {
10568
+ key: "registered",
10569
+ fn: function(data) {
10570
+ return [
10571
+ _vm._v(
10572
+ "\n " +
10573
+ _vm._s(
10574
+ _vm.moment(data.row.registered).format("MMM D, YYYY")
10575
+ ) +
10576
+ "\n "
10577
+ )
10578
+ ]
10579
+ }
10580
+ },
10581
+ {
10582
+ key: "enabled",
10583
+ fn: function(data) {
10584
+ return [
10585
+ _c("switches", {
10586
+ attrs: { enabled: data.row.enabled, value: data.row.id },
10587
+ on: { input: _vm.onSwitch }
10588
+ })
10589
+ ]
10590
+ }
10591
+ },
10592
+ {
10593
+ key: "row-actions",
10594
+ fn: function(data) {
10595
+ return _vm._l(_vm.actions, function(action, index) {
10596
+ return _c(
10597
+ "span",
10598
+ { class: action.key },
10599
+ [
10600
+ _vm.hasPro && action.key == "edit"
10601
+ ? _c(
10602
+ "router-link",
10603
+ {
 
 
 
 
 
 
 
 
 
 
10604
  attrs: {
10605
+ to: {
10606
+ path: "vendors/" + data.row.id,
10607
+ query: { edit: "true" }
10608
+ }
10609
  }
10610
+ },
10611
+ [_vm._v(_vm._s(action.label))]
10612
+ )
10613
+ : !_vm.hasPro && action.key == "edit"
10614
+ ? _c(
10615
+ "a",
10616
+ { attrs: { href: _vm.editUrl(data.row.id) } },
10617
+ [_vm._v(_vm._s(action.label))]
10618
+ )
10619
+ : action.key == "products"
10620
+ ? _c(
10621
+ "a",
10622
+ { attrs: { href: _vm.productUrl(data.row.id) } },
10623
+ [_vm._v(_vm._s(action.label))]
 
 
 
 
 
 
 
10624
  )
10625
+ : action.key == "orders"
10626
+ ? _c(
10627
+ "a",
10628
+ { attrs: { href: _vm.ordersUrl(data.row.id) } },
10629
+ [_vm._v(_vm._s(action.label))]
10630
+ )
10631
+ : _c("a", { attrs: { href: "#" } }, [
10632
+ _vm._v(_vm._s(action.label))
10633
+ ]),
10634
+ _vm._v(" "),
10635
+ index !== _vm.actions.length - 1
10636
+ ? [_vm._v(" | ")]
10637
+ : _vm._e()
10638
+ ],
10639
+ 2
10640
+ )
10641
+ })
10642
+ }
10643
+ }
10644
+ ])
10645
+ }),
 
 
 
 
 
 
 
 
 
 
 
10646
  _vm._v(" "),
10647
+ _vm.loadAddVendor
10648
+ ? _c("add-vendor", { attrs: { "vendor-id": _vm.vendorId } })
10649
  : _vm._e()
10650
+ ],
10651
+ 2
10652
+ )
10653
  }
10654
  var staticRenderFns = []
10655
  render._withStripped = true
10658
  if (false) {
10659
  module.hot.accept()
10660
  if (module.hot.data) {
10661
+ require("vue-hot-reload-api") .rerender("data-v-208897d7", esExports)
10662
  }
10663
  }
10664
 
10665
  /***/ }),
10666
+ /* 157 */
10667
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10668
 
10669
  "use strict";
 
 
 
 
 
10670
  /**
10671
  * As we are using hash based navigation, hack fix
10672
  * to highlight the current selected menu
10674
  * Requires jQuery
10675
  */
10676
  function menuFix(slug) {
10677
+ var $ = jQuery;
10678
+ var menuRoot = $('#toplevel_page_' + slug);
10679
+ var currentUrl = window.location.href;
10680
+ var currentPath = currentUrl.substr(currentUrl.indexOf('admin.php'));
10681
+ menuRoot.on('click', 'a', function () {
10682
+ var self = $(this);
10683
+ $('ul.wp-submenu li', menuRoot).removeClass('current');
10684
+
10685
+ if (self.hasClass('wp-has-submenu')) {
10686
+ $('li.wp-first-item', menuRoot).addClass('current');
10687
+ } else {
10688
+ self.parents('li').addClass('current');
10689
+ }
10690
+ });
10691
+ $('ul.wp-submenu a', menuRoot).each(function (index, el) {
10692
+ if ($(el).attr('href') === currentPath) {
10693
+ $(el).parent().addClass('current');
10694
+ return;
10695
+ }
10696
+ });
 
 
 
 
10697
  }
10698
 
10699
+ /* harmony default export */ __webpack_exports__["a"] = (menuFix);
10700
 
10701
  /***/ })
10702
+ ],[94]);
assets/js/vue-admin.min.js CHANGED
@@ -1 +1 @@
1
- dokanWebpack([0],[,,function(t,e,s){"use strict";var a=s(4);e.a={extends:a.Line,props:["data"],data:()=>({options:{responsive:!0,maintainAspectRatio:!1,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(t,e){let s=e.datasets[t.datasetIndex].label||"",a=e.datasets[t.datasetIndex].tooltipLabel||"",n=e.datasets[t.datasetIndex].tooltipPrefix||"",o=a?a+": ":s+": ";return o+=n+t.yLabel}}}}}),mounted(){this.renderChart(this.data,this.options)}}},,,,function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(2),n=s(0)(a.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",e.default=n.exports},,,,function(t,e,s){"use strict";e.a={name:"App"}},function(t,e,s){"use strict";var a=s(6);let n=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading");e.a={name:"Dashboard",components:{Postbox:n,Loading:o,Chart:a.default},data:()=>({overview:null,feed:null,report:null}),created(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview(){dokan.api.get("/admin/report/summary").done(t=>{this.overview=t})},fetchFeed(){dokan.api.get("/admin/dashboard/feed").done(t=>{this.feed=t})},fetchReport(){dokan.api.get("/admin/report/overview").done(t=>{this.report=t})}}}},function(t,e,s){"use strict";let a=dokan_get_lib("ListTable"),n=dokan_get_lib("Modal");e.a={name:"Withdraw",components:{ListTable:a,Modal:n},data:()=>({showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,counts:{pending:0,approved:0,cancelled:0},notFound:"No requests found.",showCb:!0,loading:!1,columns:{seller:{label:"Vendor"},amount:{label:"Amount"},status:{label:"Status"},method_title:{label:"Method"},method_details:{label:"Details"},note:{label:"Note"},created:{label:"Date"},actions:{label:"Actions"}},requests:[],actionColumn:"seller",actions:[{key:"trash",label:"Delete"},{key:"cancel",label:"Cancel"}],bulkActions:[{key:"approved",label:"Approve"},{key:"cancelled",label:"Cancel"},{key:"delete",label:"Delete"},{key:"paypal",label:"Download PayPal mass payment file"}]}),watch:{"$route.query.status"(){this.fetchRequests()},"$route.query.page"(){this.fetchRequests()}},computed:{currentStatus(){return this.$route.query.status||"pending"},currentPage(){let t=this.$route.query.page||1;return parseInt(t)}},created(){this.fetchRequests()},methods:{updatedCounts(t){this.counts.pending=parseInt(t.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(t.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(t.getResponseHeader("X-Status-Cancelled"))},updatePagination(t){this.totalPages=parseInt(t.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(t.getResponseHeader("X-WP-Total"))},fetchRequests(){this.loading=!0,dokan.api.get("/withdraw?per_page="+this.perPage+"&page="+this.currentPage+"&status="+this.currentStatus).done((t,e,s)=>{this.requests=t,this.loading=!1,this.updatedCounts(s),this.updatePagination(s)})},goToPage(t){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:t}})},updateItem(t,e){let s=this.requests.findIndex(e=>e.id==t);this.$set(this.requests,s,e)},changeStatus(t,e){this.loading=!0,dokan.api.put("/withdraw/"+e,{status:t}).done(t=>{this.loading=!1,this.fetchRequests()})},onActionClick(t,e){"cancel"===t&&this.changeStatus("cancelled",e.id),"trash"===t&&confirm("Are you sure?")&&(this.loading=!0,dokan.api.delete("/withdraw/"+e.id).done(t=>{this.loading=!1,this.fetchRequests()}))},getPaymentDetails(t,e){let s="—";return"bank"!==t?s=e[t].email||"":(e.bank.hasOwnProperty("ac_name")&&(s="Account Name: "+e.bank.ac_name),e.bank.hasOwnProperty("ac_number")&&(s+=", Account Number: "+e.bank.ac_number),e.bank.hasOwnProperty("bank_name")&&(s+=", Bank Name: "+e.bank.bank_name),e.bank.hasOwnProperty("routing_number")&&(s+=", Routing Number: "+e.bank.routing_number)),s},moment:t=>moment(t),onBulkAction(t,e){if(_.contains(["delete","approved","cancelled"],t)){let s={};s[t]=e,this.loading=!0,dokan.api.put("/withdraw/batch",s).done(t=>{this.loading=!1,this.fetchRequests()})}if("paypal"===t){let t=e.join("','");$.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:t,action:"withdraw_ajax_submission"},function(t,e,s){var a="",n=s.getResponseHeader("Content-Disposition");if(n&&-1!==n.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(n);null!=o&&o[1]&&(a=o[1].replace(/['"]/g,""))}var i=s.getResponseHeader("Content-Type"),r="function"==typeof File?new File([t],a,{type:i}):new Blob([t],{type:i});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(r,a);else{var l=window.URL||window.webkitURL,d=l.createObjectURL(r);if(a){var c=document.createElement("a");void 0===c.download?window.location=d:(c.href=d,c.download=a,document.body.appendChild(c),c.click())}else window.location=d;setTimeout(function(){l.revokeObjectURL(d)},100)}})}},openNoteModal(t,e){this.showModal=!0,this.editing={id:e,note:t}},updateNote(){this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id+"/note",{note:this.editing.note}).done(t=>{this.loading=!1,this.updateItem(this.editing.id,t),this.editing={id:null,note:null}})}}}},function(t,e,s){"use strict";e.a={name:"Premium",data:()=>({features:[{title:"Vendor Listing",desc:"View vendor listing with vendor details and earnings.",thumbnail:"https://wedevs-com-wedevs.netdna-ssl.com/wp-content/uploads/2014/02/seller@2x.png?58e47e",class:"seller-listing",url:"https://wedevs.com/products/plugins/dokan/"},{title:"Commission Per Vendor Report",desc:"View commission per vendor with vendor earnings. You can charge your vendors percentage, giving them an e-commerce solution free of any monthly fees.",thumbnail:"https://wedevs-com-wedevs.netdna-ssl.com/wp-content/uploads/2014/02/earn@2x.png?58e47e",class:"commission-per-seller-report",url:"https://wedevs.com/products/plugins/dokan/"},{title:"Birds Eye View With Reports",desc:"Every vendor can see his/her own sales report and see a bird eye view on the sales they are making. ",thumbnail:"https://wedevs-com-wedevs.netdna-ssl.com/wp-content/uploads/2017/01/Store-Insights-with-Reports-and-Statement@2x.png?x21811",class:"report-bird-view",url:"https://wedevs.com/products/plugins/dokan/"},{title:"Coupon Management",desc:"Every vendor manages their own products and discounts they offer. create discount coupons for special sales! ",thumbnail:"https://wedevs-com-wedevs.netdna-ssl.com/wp-content/uploads/2014/02/coupon@2x.png?58e47e",class:"coupon-management",url:"https://wedevs.com/products/plugins/dokan/"},{title:"Manage Product Reviews",desc:"Each vendor manages their own product reviews independently. Delete, mark as spam or modify the product reviews on the fly.",thumbnail:"https://wedevs-com-wedevs.netdna-ssl.com/wp-content/uploads/2014/02/reviews@2x.png?58e47e",class:"manage-product-reviews",url:"https://wedevs.com/products/plugins/dokan/"},{title:"Vendor Profile Completeness",desc:"Dokan manage vendors profile completeness par on vendors dashboard. Vendor can view his/her profile completeness percent by the bar. ",thumbnail:"https://wedevs-com-wedevs.netdna-ssl.com/wp-content/uploads/2014/02/Dashboard-profile-completion.png?58e47e",class:"profile-completeness",url:"https://wedevs.com/products/plugins/dokan/"},{title:"Vendor Payment Method Setup",desc:"Vendor can manage there payment methods from their dashboard settings. They can set their withdraw method from there.",thumbnail:"https://wedevs-com-wedevs.netdna-ssl.com/wp-content/uploads/2014/02/Dashboard-payment.png?58e47e",class:"payment-method",url:"https://wedevs.com/products/plugins/dokan/"},{title:"Admin Announcement System for Vendor",desc:"Admin can set announcement for vendors from back-end. Admin can choose all vendor or select individuals as he/she wants. the announcement will then show on vendor dashboard which leads to a announcement list template. ",thumbnail:"https://wedevs-com-wedevs.netdna-ssl.com/wp-content/uploads/2014/02/Dashboard-announcement.png?58e47e",class:"announcement",url:"https://wedevs.com/products/plugins/dokan/"}]})}},function(t,e,s){"use strict";let a=dokan_get_lib("Postbox"),n=dokan_get_lib("Loading");e.a={name:"Help",components:{Postbox:a,Loading:n},data:()=>({docs:null}),created(){this.fetch()},methods:{fetch(){dokan.api.get("/admin/help").done(t=>{this.docs=t})}}}},,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){"use strict";var a=i(s(38)),n=i(s(41)),o=i(s(57));function i(t){return t&&t.__esModule?t:{default:t}}new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.default,render:function(t){return t(a.default)}}),(0,o.default)("dokan")},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(10),n=s(40),o=!1;var i=function(t){o||s(39)},r=s(0)(a.a,n.a,!1,i,null,null);r.options.__file="src/admin/App.vue",e.default=r.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"vue-backend-app"}},[e("router-view"),this._v(" "),e("notifications",{attrs:{position:"bottom right"}})],1)};a._withStripped=!0;var n={render:a,staticRenderFns:[]};e.a=n},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=l(s(42)),o=l(s(48)),i=l(s(51)),r=l(s(54));function l(t){return t&&t.__esModule?t:{default:t}}var d=dokan_get_lib("Vue"),c=dokan_get_lib("Router");d.use(c),dokan_add_route(n.default),dokan_add_route(o.default),dokan_add_route(i.default),dokan_add_route(r.default),function t(e){for(var s=0;s<e.length;s++)"object"===a(e[s].children)?(t(e[s].children),void 0!==e[s].component&&(e[s].component=dokan.routeComponents[e[s].component])):e[s].component=dokan.routeComponents[e[s].component]}(dokan.routes),e.default=new c({routes:dokan.routes})},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(11),n=s(47),o=!1;var i=function(t){o||s(43)},r=s(0)(a.a,n.a,!1,i,null,null);r.options.__file="src/admin/pages/Dashboard.vue",e.default=r.exports},function(t,e){},,,,function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"dokan-dashboard"},[s("h1",[t._v("Dashboard")]),t._v(" "),s("div",{staticClass:"widgets-wrapper"},[s("div",{staticClass:"left-side"},[s("postbox",{attrs:{title:"At a Glance",extraClass:"dokan-status"}},[null!==t.overview?s("div",{staticClass:"dokan-status"},[s("ul",[s("li",{staticClass:"sale"},[s("div",{staticClass:"dashicons dashicons-chart-bar"}),t._v(" "),s("a",{attrs:{href:"#"}},[s("strong",[t._v(t._s(t._f("currency")(t.overview.orders.this_month)))]),t._v(" "),s("div",{staticClass:"details"},[t._v("\n net sales this month "),s("span",{class:t.overview.orders.class},[t._v(t._s(t.overview.orders.parcent))])])])]),t._v(" "),s("li",{staticClass:"commission"},[s("div",{staticClass:"dashicons dashicons-chart-pie"}),t._v(" "),s("a",{attrs:{href:"#"}},[s("strong",[t._v(t._s(t._f("currency")(t.overview.earning.this_month)))]),t._v(" "),s("div",{staticClass:"details"},[t._v("\n commission earned "),s("span",{class:t.overview.earning.class},[t._v(t._s(t.overview.earning.parcent))])])])]),t._v(" "),s("li",{staticClass:"vendor"},[s("div",{staticClass:"dashicons dashicons-id"}),t._v(" "),s("a",{attrs:{href:"#"}},[s("strong",[t._v(t._s(t.overview.vendors.this_month)+" Vendor")]),t._v(" "),s("div",{staticClass:"details"},[t._v("\n signup this month "),s("span",{class:t.overview.vendors.class},[t._v(t._s(t.overview.vendors.parcent))])])])]),t._v(" "),s("li",{staticClass:"approval"},[s("div",{staticClass:"dashicons dashicons-businessman"}),t._v(" "),s("a",{attrs:{href:"#"}},[s("strong",[t._v(t._s(t.overview.vendors.inactive)+" Vendor")]),t._v(" "),s("div",{staticClass:"details"},[t._v("awaiting approval")])])]),t._v(" "),s("li",{staticClass:"product"},[s("div",{staticClass:"dashicons dashicons-cart"}),t._v(" "),s("a",{attrs:{href:"#"}},[s("strong",[t._v(t._s(t.overview.products.this_month)+" Products")]),t._v(" "),s("div",{staticClass:"details"},[t._v("\n created this month "),s("span",{class:t.overview.products.class},[t._v(t._s(t.overview.products.parcent))])])])]),t._v(" "),s("li",{staticClass:"withdraw"},[s("div",{staticClass:"dashicons dashicons-money"}),t._v(" "),s("a",{attrs:{href:"#"}},[s("strong",[t._v(t._s(t.overview.withdraw.pending)+" Withdrawals")]),t._v(" "),s("div",{staticClass:"details"},[t._v("awaiting approval")])])])])]):s("div",{staticClass:"loading"},[s("loading")],1)]),t._v(" "),s("postbox",{attrs:{title:"Dokan News Updates"}},[null!==t.feed?s("div",{staticClass:"rss-widget"},[s("ul",t._l(t.feed,function(e){return s("li",[s("a",{attrs:{href:e.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[t._v(t._s(e.title))])])}))]):s("div",{staticClass:"loading"},[s("loading")],1)])],1),t._v(" "),s("div",{staticClass:"right-side"},[s("postbox",{attrs:{title:"Overview"}},[null!==t.report?s("chart",{attrs:{data:t.report}}):s("div",{staticClass:"loading"},[s("loading")],1)],1)],1)])])};a._withStripped=!0;var n={render:a,staticRenderFns:[]};e.a=n},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(12),n=s(50),o=!1;var i=function(t){o||s(49)},r=s(0)(a.a,n.a,!1,i,null,null);r.options.__file="src/admin/pages/Withdraw.vue",e.default=r.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"withdraw-requests"},[s("h1",[t._v("Withdraw Requests")]),t._v(" "),t.showModal?s("modal",{attrs:{title:"Update Note"},on:{close:function(e){t.showModal=!1}}},[s("template",{slot:"body"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:t.editing.note},on:{input:function(e){e.target.composing||t.$set(t.editing,"note",e.target.value)}}})]),t._v(" "),s("template",{slot:"footer"},[s("button",{staticClass:"button button-primary button-large",on:{click:function(e){t.updateNote()}}},[t._v("Update Note")])])],2):t._e(),t._v(" "),s("ul",{staticClass:"subsubsub"},[s("li",[s("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}},"active-class":"current",exact:""}},[t._v("Pending "),s("span",{staticClass:"count"},[t._v("("+t._s(t.counts.pending)+")")])]),t._v(" | ")],1),t._v(" "),s("li",[s("router-link",{attrs:{to:{name:"Withdraw",query:{status:"approved"}},"active-class":"current",exact:""}},[t._v("Approved "),s("span",{staticClass:"count"},[t._v("("+t._s(t.counts.approved)+")")])]),t._v(" | ")],1),t._v(" "),s("li",[s("router-link",{attrs:{to:{name:"Withdraw",query:{status:"cancelled"}},"active-class":"current",exact:""}},[t._v("Cancelled "),s("span",{staticClass:"count"},[t._v("("+t._s(t.counts.cancelled)+")")])])],1)]),t._v(" "),s("list-table",{attrs:{columns:t.columns,rows:t.requests,loading:t.loading,"action-column":t.actionColumn,actions:t.actions,"show-cb":t.showCb,"bulk-actions":t.bulkActions,"not-found":t.notFound,"total-pages":t.totalPages,"total-items":t.totalItems,"per-page":t.perPage,"current-page":t.currentPage},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction},scopedSlots:t._u([{key:"seller",fn:function(e){return[s("img",{attrs:{src:e.row.user.gravatar,alt:e.row.user.store_name,width:"50"}}),t._v(" "),s("strong",[s("a",{attrs:{href:"#"}},[t._v(t._s(e.row.user.store_name))])])]}},{key:"amount",fn:function(e){return[t._v("\n "+t._s(t._f("currency")(e.row.amount))+"\n ")]}},{key:"status",fn:function(e){return[s("span",{class:e.row.status},[t._v(t._s(t._f("capitalize")(e.row.status)))])]}},{key:"created",fn:function(e){return[t._v("\n "+t._s(t.moment(e.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_details",fn:function(e){return[t._v("\n "+t._s(t.getPaymentDetails(e.row.method,e.row.user.payment))+"\n ")]}},{key:"actions",fn:function(e){return["pending"===e.row.status?[s("div",{staticClass:"button-group"},[s("button",{staticClass:"button button-small",attrs:{title:"Approve Request"},on:{click:function(s){s.preventDefault(),t.changeStatus("approved",e.row.id)}}},[s("span",{staticClass:"dashicons dashicons-yes"})]),t._v(" "),s("button",{staticClass:"button button-small",attrs:{title:"Add Note"},on:{click:function(s){s.preventDefault(),t.openNoteModal(e.row.note,e.row.id)}}},[s("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===e.row.status?[s("div",{staticClass:"button-group"},[s("button",{staticClass:"button button-small",attrs:{title:"Mark as Pending"},on:{click:function(s){s.preventDefault(),t.changeStatus("pending",e.row.id)}}},[s("span",{staticClass:"dashicons dashicons-backup"})]),t._v(" "),s("button",{staticClass:"button button-small",attrs:{title:"Add Note"},on:{click:function(s){s.preventDefault(),t.openNoteModal(e.row.note,e.row.id)}}},[s("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[s("div",{staticClass:"button-group"},[s("button",{staticClass:"button button-small",attrs:{title:"Approve Request"},on:{click:function(s){s.preventDefault(),t.changeStatus("approved",e.row.id)}}},[s("span",{staticClass:"dashicons dashicons-yes"})]),t._v(" "),s("button",{staticClass:"button button-small",attrs:{title:"Mark as Pending"},on:{click:function(s){s.preventDefault(),t.changeStatus("pending",e.row.id)}}},[s("span",{staticClass:"dashicons dashicons-backup"})]),t._v(" "),s("button",{staticClass:"button button-small",attrs:{title:"Add Note"},on:{click:function(s){s.preventDefault(),t.openNoteModal(e.row.note,e.row.id)}}},[s("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])})],1)};a._withStripped=!0;var n={render:a,staticRenderFns:[]};e.a=n},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(13),n=s(53),o=!1;var i=function(t){o||s(52)},r=s(0)(a.a,n.a,!1,i,null,null);r.options.__file="src/admin/pages/Premium.vue",e.default=r.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"dokan-pro-features"},[s("h1",[t._v("Dokan - Pro Features")]),t._v(" "),s("div",{staticClass:"pro-feature-wrap"},t._l(t.features,function(e){return s("div",{staticClass:"pro-feature"},[s("div",{staticClass:"pro-feature-thumb"},[s("a",{attrs:{href:e.url,target:"_blank"}},[s("img",{attrs:{src:e.thumbnail,alt:e.title}})])]),t._v(" "),s("div",{staticClass:"pro-detail"},[s("h3",{staticClass:"title"},[s("a",{attrs:{href:e.url,target:"_blank"}},[t._v(t._s(e.title))])]),t._v(" "),s("div",{staticClass:"text"},[t._v(t._s(e.desc))])])])}))])};a._withStripped=!0;var n={render:a,staticRenderFns:[]};e.a=n},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(14),n=s(56),o=!1;var i=function(t){o||s(55)},r=s(0)(a.a,n.a,!1,i,null,null);r.options.__file="src/admin/pages/Help.vue",e.default=r.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"dokan-help-page"},[s("h1",[t._v("Help")]),t._v(" "),null!==t.docs?s("div",{staticClass:"section-wrapper"},t._l(t.docs,function(e){return s("postbox",{attrs:{title:e.title}},[s("ul",t._l(e.questions,function(e){return s("li",[s("span",{staticClass:"dashicons dashicons-media-text"}),t._v(" "),s("a",{attrs:{href:e.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[t._v(t._s(e.title))])])}))])})):s("div",{staticClass:"loading"},[s("loading")],1)])};a._withStripped=!0;var n={render:a,staticRenderFns:[]};e.a=n},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=jQuery,s=e("#toplevel_page_"+t),a=window.location.href,n=a.substr(a.indexOf("admin.php"));s.on("click","a",function(){var t=e(this);e("ul.wp-submenu li",s).removeClass("current"),t.hasClass("wp-has-submenu")?e("li.wp-first-item",s).addClass("current"):t.parents("li").addClass("current")}),e("ul.wp-submenu a",s).each(function(t,s){e(s).attr("href")!==n||e(s).parent().addClass("current")})}}],[37]);
1
+ dokanWebpack([1],[,,,function(e,a,t){"use strict";var s=t(5);a.a={extends:s.Line,props:["data"],data:()=>({options:{responsive:!0,maintainAspectRatio:!1,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,a){let t=a.datasets[e.datasetIndex].label||"",s=a.datasets[e.datasetIndex].tooltipLabel||"",i=a.datasets[e.datasetIndex].tooltipPrefix||"",n=s?s+": ":t+": ";return n+=i+e.yLabel}}}}}),mounted(){this.renderChart(this.data,this.options)}}},function(e,a,t){"use strict";var s=t(28);a.a={components:{Sketch:s.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:e=>-1!==["hsl","hex","rgba","hsv"].indexOf(e)},presetColors:{type:Array,required:!1,default:()=>["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:()=>({showColorPicker:!1}),methods:{updateColor(e){let a="";e[this.format]&&(a=e[this.format]),this.$emit("input",a)},toggleColorPicker(){this.showColorPicker=!this.showColorPicker},setHexColor(e){this.updateColor({hex:e})}}}},,,,function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t(3),i=t(0)(s.a,null,!1,null,null,null);i.options.__file="src/admin/components/Chart.vue",a.default=i.exports},,function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t(4),i=t(12),n=!1;var l=function(e){n||t(11)},o=t(0)(s.a,i.a,!1,l,"data-v-01dc0d51",null);o.options.__file="src/admin/components/ColorPicker.vue",a.default=o.exports},function(e,a){},function(e,a,t){"use strict";var s=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"color-picker-container"},[t("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[t("span",[e._v(e._s(e.__("Select Color","dokan-lite")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?t("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(a){e.setHexColor(a.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?t("div",{staticClass:"button-group"},[t("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(a){e.updateColor({})}}},[e._v(e._s(e.__("Clear","dokan-lite")))]),e._v(" "),t("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?t("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 i={render:s,staticRenderFns:[]};a.a=i},,,,,,,function(e,a,t){"use strict";a.a={name:"App"}},function(e,a,t){"use strict";var s=t(8);let i=dokan_get_lib("Postbox"),n=dokan_get_lib("Loading"),l=dokan_get_lib("Currency");a.a={name:"Dashboard",components:{Postbox:i,Loading:n,Chart:s.default,Currency:l},data:()=>({overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:""},hasPro:!!dokan.hasPro}),created(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview(){dokan.api.get("/admin/report/summary").done(e=>{this.overview=e})},fetchFeed(){dokan.api.get("/admin/dashboard/feed").done(e=>{this.feed=e})},fetchReport(){dokan.api.get("/admin/report/overview").done(e=>{this.report=e})},validEmail:e=>/^(([^<>()\[\]\\.,;:\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(){this.validEmail(this.subscribe.email)&&(this.subscribe.loading=!0,$.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(e=>{this.subscribe.success=!0,this.subscribe.loading=!1}))}}}},function(e,a,t){"use strict";let s=dokan_get_lib("ListTable"),i=dokan_get_lib("Modal"),n=dokan_get_lib("Currency");a.a={name:"Withdraw",components:{ListTable:s,Modal:i,Currency:n},data(){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"}},watch:{"$route.query.status"(){this.fetchRequests()},"$route.query.page"(){this.fetchRequests()}},computed:{currentStatus(){return this.$route.query.status||"pending"},currentPage(){let e=this.$route.query.page||1;return parseInt(e)},actions(){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(){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(){this.fetchRequests()},methods:{updatedCounts(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(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:e=>"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e,fetchRequests(){this.loading=!0,dokan.api.get("/withdraw?per_page="+this.perPage+"&page="+this.currentPage+"&status="+this.currentStatus).done((e,a,t)=>{this.requests=e,this.loading=!1,this.updatedCounts(t),this.updatePagination(t)})},goToPage(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e}})},updateItem(e,a){let t=this.requests.findIndex(a=>a.id==e);this.$set(this.requests,t,a)},changeStatus(e,a){this.loading=!0,dokan.api.put("/withdraw/"+a,{status:e}).done(e=>{this.loading=!1,this.fetchRequests()})},onActionClick(e,a){"cancel"===e&&this.changeStatus("cancelled",a.id),"pending"===e&&this.changeStatus("pending",a.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+a.id).done(e=>{this.loading=!1,this.fetchRequests()}))},getPaymentDetails(e,a){let t="—";return void 0!==a[e]&&("paypal"===e||"skrill"===e?t=a[e].email||"":"bank"===e&&(a.bank.hasOwnProperty("ac_name")&&(t=this.sprintf(this.__("Account Name: %s","dokan-lite"),a.bank.ac_name)),a.bank.hasOwnProperty("ac_number")&&(t+=this.sprintf(this.__(", Account Number: %s","dokan-lite"),a.bank.ac_number)),a.bank.hasOwnProperty("bank_name")&&(t+=this.sprintf(this.__(", Bank Name: %s","dokan-lite"),a.bank.bank_name)),a.bank.hasOwnProperty("routing_number")&&(t+=this.sprintf(this.__(", Routing Number: %s","dokan-lite"),a.bank.routing_number)))),dokan.hooks.applyFilters("dokan_get_payment_details",t,e,a)},moment:e=>moment(e),onBulkAction(e,a){let t=this;if(_.contains(["delete","approved","cancelled","pending"],e)){let t={};t[e]=a,this.loading=!0,dokan.api.put("/withdraw/batch",t).done(e=>{this.loading=!1,this.fetchRequests()})}if("paypal"===e){let e=a.join(",");$.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:e,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,a,s){if("html/csv"===s.getResponseHeader("Content-type")){var i="",n=s.getResponseHeader("Content-Disposition");if(n&&-1!==n.indexOf("attachment")){var l=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(n);null!=l&&l[1]&&(i=l[1].replace(/['"]/g,""))}var o=s.getResponseHeader("Content-Type"),r="function"==typeof File?new File([e],i,{type:o}):new Blob([e],{type:o});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(r,i);else{var d=window.URL||window.webkitURL,u=d.createObjectURL(r);if(i){var c=document.createElement("a");void 0===c.download?window.location=u:(c.href=u,c.download=i,document.body.appendChild(c),c.click())}else window.location=u;setTimeout(function(){d.revokeObjectURL(u)},100)}}e&&alert(t.massPayment)})}},openNoteModal(e,a){this.showModal=!0,this.editing={id:a,note:e}},updateNote(){this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id+"/note",{note:this.editing.note}).done(e=>{this.loading=!1,this.updateItem(this.editing.id,e),this.editing={id:null,note:null}})}}}},function(e,a,t){"use strict";var s=t(83),i=(t.n(s),t(86));a.a={name:"Premium",components:{Slick:i.a},data(){return{asstesUrl:dokan.urls.assetsUrl,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/modules/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/Cédric-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(){this.$refs.slick.next()},prev(){this.$refs.slick.prev()},reInit(){this.$nextTick(()=>{this.$refs.slick.reSlick()})}},computed:{buyNowProUrl:()=>"/"===dokan.urls.buynowpro.substr(-1)?dokan.urls.buynowpro+"?":dokan.urls.buynowpro+"&"}}},,function(e,a){e.exports=jQuery},function(e,a,t){"use strict";let s=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading");a.a={name:"Help",components:{Postbox:s,Loading:i},data:()=>({docs:null}),created(){this.fetch()},methods:{fetch(){dokan.api.get("/admin/help").done(e=>{this.docs=e})}}}},function(e,a,t){"use strict";var s=t(95);let i=dokan_get_lib("Loading");a.a={name:"Settings",components:{Fields:s.a,Loading:i},data:()=>({isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{}}),methods:{changeTab(e){this.currentTab=e.id,"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},showSectionTitle(e){return _.findWhere(this.settingSections,{id:e}).title},fetchSettingValues(){var e=this,a={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,a,function(a){a.success&&(Object.keys(e.settingFields).forEach(function(t,s){Object.keys(e.settingFields[t]).forEach(function(s,i){e.settingValues[t]||(e.settingValues[t]={}),void 0===a.data[t][s]?void 0===e.settingFields[t][s].default?e.settingValues[t][s]="":e.settingValues[t][s]=e.settingFields[t][s].default:e.settingValues[t][s]=a.data[t][s]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0)})},showMedia(e,a){var t=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 a=s.state().get("selection").first().toJSON();t.settingValues[e.sectionId][e.name]=a.url}),s.open()},saveSettings(e,a){var t=this,s={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:a};t.showLoading=!0,jQuery.post(dokan.ajaxurl,s).done(function(e){var a=e.data.settings;t.isSaved=!0,t.isUpdated=!0,t.message=e.data.message,t.settingValues[a.name]=a.value}).fail(function(e){var a=e.responseJSON.data.map(function(e){return e.message});alert(a.join(" "))}).always(function(){t.showLoading=!1})}},created(){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,a,t){"use strict";var s=t(10);let i=dokan_get_lib("TextEditor");a.a={name:"Fields",components:{colorPicker:s.default,TextEditor:i},data:()=>({repeatableItem:{}}),props:["id","fieldData","sectionId","fieldValue"],methods:{containCommonFields:e=>_.contains([void 0,"text","email","url","phone"],e),addItem(e,a){this.fieldValue[a]=this.fieldValue[a]||[],void 0!==this.repeatableItem[a]&&this.repeatableItem[a]&&(this.fieldValue[a].push({id:this.repeatableItem[a].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[a]}),this.repeatableItem[a]="")},removeItem(e,a){this.fieldValue[a].splice(e,1)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,a,t){"use strict";var s=l(t(68)),i=l(t(71)),n=l(t(118));function l(e){return e&&e.__esModule?e:{default:e}}new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:i.default,render:function(e){return e(s.default)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"])}}),(0,n.default)("dokan")},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t(19),i=t(70),n=!1;var l=function(e){n||t(69)},o=t(0)(s.a,i.a,!1,l,null,null);o.options.__file="src/admin/App.vue",a.default=o.exports},function(e,a){},function(e,a,t){"use strict";var s=function(){var e=this.$createElement,a=this._self._c||e;return a("div",{attrs:{id:"vue-backend-app"}},[a("router-view"),this._v(" "),a("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var i={render:s,staticRenderFns:[]};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=d(t(72)),n=d(t(78)),l=d(t(81)),o=d(t(90)),r=d(t(93));function d(e){return e&&e.__esModule?e:{default:e}}var u=dokan_get_lib("Vue"),c=dokan_get_lib("Router");u.use(c),dokan_add_route(i.default),dokan_add_route(n.default),dokan_add_route(l.default),dokan_add_route(o.default),dokan_add_route(r.default),function e(a){for(var t=0;t<a.length;t++)"object"===s(a[t].children)?(e(a[t].children),void 0!==a[t].component&&(a[t].component=dokan.routeComponents[a[t].component])):a[t].component=dokan.routeComponents[a[t].component]}(dokan.routes),a.default=new c({routes:dokan.routes})},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t(20),i=t(77),n=!1;var l=function(e){n||t(73)},o=t(0)(s.a,i.a,!1,l,null,null);o.options.__file="src/admin/pages/Dashboard.vue",a.default=o.exports},function(e,a){},,,,function(e,a,t){"use strict";var s=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"dokan-dashboard"},[t("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),t("div",{staticClass:"widgets-wrapper"},[t("div",{staticClass:"left-side"},[t("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?t("div",{staticClass:"dokan-status"},[t("ul",[t("li",{staticClass:"sale"},[t("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),t("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[t("strong",[t("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),t("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),t("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),t("li",{staticClass:"commission"},[t("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),t("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[t("strong",[t("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),t("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),t("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),t("li",{staticClass:"vendor"},[t("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),t("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[t("strong",[e._v(e._s(e.sprintf(e.__("%s Vendor","dokan-lite"),e.overview.vendors.this_month)))]),e._v(" "),t("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),t("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),t("li",{staticClass:"approval"},[t("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),t("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[t("strong",[e._v(e._s(e.sprintf(e.__("%s Vendor","dokan-lite"),e.overview.vendors.inactive)))]),e._v(" "),t("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),t("li",{staticClass:"product"},[t("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),t("a",{attrs:{href:"#"}},[t("strong",[e._v(e._s(e.sprintf(e.__("%s Products","dokan-lite"),e.overview.products.this_month)))]),e._v(" "),t("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),t("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),t("li",{staticClass:"withdraw"},[t("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),t("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[t("strong",[e._v(e._s(e.sprintf(e.__("%s Withdrawals","dokan-lite"),e.overview.withdraw.pending)))]),e._v(" "),t("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):t("div",{staticClass:"loading"},[t("loading")],1)]),e._v(" "),t("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?t("div",{staticClass:"rss-widget"},[t("ul",e._l(e.feed,function(a){return t("li",[t("a",{attrs:{href:a.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(a.title))])])})),e._v(" "),t("div",{staticClass:"subscribe-box"},[e.subscribe.success?t("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?t("div",{staticClass:"loading"},[t("loading")],1):e._e(),e._v(" "),t("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),t("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(" "),t("div",{staticClass:"form-wrap"},[t("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(a){if(!("button"in a)&&e._k(a.keyCode,"enter",13,a.key))return null;e.emailSubscribe()},input:function(a){a.target.composing||e.$set(e.subscribe,"email",a.target.value)}}}),e._v(" "),t("button",{staticClass:"button",on:{click:function(a){e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):t("div",{staticClass:"loading"},[t("loading")],1)])],1),e._v(" "),t("div",{staticClass:"right-side"},[t("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?t("chart",{attrs:{data:e.report}}):t("div",{staticClass:"loading"},[t("loading")],1)],1)],1)])])};s._withStripped=!0;var i={render:s,staticRenderFns:[]};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t(21),i=t(80),n=!1;var l=function(e){n||t(79)},o=t(0)(s.a,i.a,!1,l,null,null);o.options.__file="src/admin/pages/Withdraw.vue",a.default=o.exports},function(e,a){},function(e,a,t){"use strict";var s=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"withdraw-requests"},[t("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),e.showModal?t("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(a){e.showModal=!1}}},[t("template",{slot:"body"},[t("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(a){a.target.composing||e.$set(e.editing,"note",a.target.value)}}})]),e._v(" "),t("template",{slot:"footer"},[t("button",{staticClass:"button button-primary button-large",on:{click:function(a){e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),t("ul",{staticClass:"subsubsub"},[t("li",[t("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}},"active-class":"current",exact:""},domProps:{innerHTML:e._s(e.sprintf(e.__("Pending <span class='count'>(%s)</span>","dokan-lite"),e.counts.pending))}}),e._v(" | ")],1),e._v(" "),t("li",[t("router-link",{attrs:{to:{name:"Withdraw",query:{status:"approved"}},"active-class":"current",exact:""},domProps:{innerHTML:e._s(e.sprintf(e.__("Approved <span class='count'>(%s)</span>","dokan-lite"),e.counts.approved))}}),e._v(" | ")],1),e._v(" "),t("li",[t("router-link",{attrs:{to:{name:"Withdraw",query:{status:"cancelled"}},"active-class":"current",exact:""},domProps:{innerHTML:e._s(e.sprintf(e.__("Cancelled <span class='count'>(%s)</span>","dokan-lite"),e.counts.cancelled))}})],1)]),e._v(" "),t("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},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(a){return[t("img",{attrs:{src:a.row.user.gravatar,alt:a.row.user.store_name,width:"50"}}),e._v(" "),t("strong",[t("a",{attrs:{href:e.vendorUrl(a.row.user.id)}},[e._v(e._s(a.row.user.store_name?a.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"amount",fn:function(e){return[t("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(a){return[t("span",{class:a.row.status},[e._v(e._s(e._f("capitalize")(a.row.status)))])]}},{key:"created",fn:function(a){return[e._v("\n "+e._s(e.moment(a.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_details",fn:function(a){return[e._v("\n "+e._s(e.getPaymentDetails(a.row.method,a.row.user.payment))+"\n ")]}},{key:"actions",fn:function(a){return["pending"===a.row.status?[t("div",{staticClass:"button-group"},[t("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(t){t.preventDefault(),e.changeStatus("approved",a.row.id)}}},[t("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),t("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(t){t.preventDefault(),e.openNoteModal(a.row.note,a.row.id)}}},[t("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===a.row.status?[t("div",{staticClass:"button-group"},[t("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(t){t.preventDefault(),e.openNoteModal(a.row.note,a.row.id)}}},[t("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[t("div",{staticClass:"button-group"},[t("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(t){t.preventDefault(),e.changeStatus("pending",a.row.id)}}},[t("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),t("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(t){t.preventDefault(),e.openNoteModal(a.row.note,a.row.id)}}},[t("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])})],1)};s._withStripped=!0;var i={render:s,staticRenderFns:[]};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t(22),i=t(89),n=!1;var l=function(e){n||t(82)},o=t(0)(s.a,i.a,!1,l,null,null);o.options.__file="src/admin/pages/Premium.vue",a.default=o.exports},function(e,a){},,,,,,,function(e,a,t){"use strict";var s=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"dokan-pro-features"},[t("div",{staticClass:"header-section"},[t("div",{staticClass:"feature-thumb"},[t("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(" "),t("div",{staticClass:"content-area"},[t("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),t("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),t("div",{staticClass:"service-section"},[t("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),t("div",{staticClass:"service-list"},e._l(e.services,function(a){return t("div",{staticClass:"service-box"},[t("div",{staticClass:"service-thumb"},[t("img",{attrs:{src:a.thumbnail,alt:a.title,title:a.title}})]),e._v(" "),t("div",{staticClass:"service-detail"},[t("h3",{staticClass:"title"},[e._v(e._s(a.title))])])])})),e._v(" "),t("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),t("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"}},[t("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(" "),t("div",{staticClass:"comparison-section"},[t("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),t("div",{staticClass:"comparison-area"},[t("div",{staticClass:"compare-box dokan-lite"},[t("div",{staticClass:"logo-section"},[t("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),t("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(a){return t("li",{class:a.compare.lite},["available"===a.compare.lite?t("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):t("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),t("span",[e._v(e._s(a.title))])])}))]),e._v(" "),t("div",{staticClass:"compare-box dokan-pro"},[t("div",{staticClass:"logo-section"},[t("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),t("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(a){return t("li",{class:a.compare.pro},["available"===a.compare.pro?t("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):t("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),t("span",[e._v(e._s(a.title))])])}))])])]),e._v(" "),t("div",{staticClass:"pricing-section"},[t("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),t("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(a){return t("div",{staticClass:"table-row"},[t("div",{staticClass:"table-col"},[t("a",{staticClass:"module-name",attrs:{href:a.url,target:"_blank"}},[e._v(e._s(a.title))])]),e._v(" "),t("div",{staticClass:"table-col"},["numeric"===a.starter.type?t("div",{staticClass:"plan-data"},[e._v(e._s(a.starter.value))]):t("div",{staticClass:"plan-data"},[t("img",{attrs:{src:a.starter.value,alt:""}})])]),e._v(" "),t("div",{staticClass:"table-col popular"},["numeric"===a.professional.type?t("div",{staticClass:"plan-data"},[e._v(e._s(a.professional.value))]):t("div",{staticClass:"plan-data"},[t("img",{attrs:{src:a.professional.value,alt:""}})])]),e._v(" "),t("div",{staticClass:"table-col"},["numeric"===a.business.type?t("div",{staticClass:"plan-data"},[e._v(e._s(a.business.value))]):t("div",{staticClass:"plan-data"},[t("img",{attrs:{src:a.business.value,alt:""}})])]),e._v(" "),t("div",{staticClass:"table-col"},["numeric"===a.enterprise.type?t("div",{staticClass:"plan-data"},[e._v(e._s(a.enterprise.value))]):t("div",{staticClass:"plan-data"},[t("img",{attrs:{src:a.enterprise.value,alt:""}})])])])}),e._v(" "),t("div",{staticClass:"table-row"},[t("div",{staticClass:"table-col"}),e._v(" "),t("div",{staticClass:"table-col"},[t("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(" "),t("div",{staticClass:"table-col popular"},[t("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(" "),t("div",{staticClass:"table-col"},[t("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(" "),t("div",{staticClass:"table-col"},[t("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(" "),t("div",{staticClass:"payment-section"},[t("div",{staticClass:"guarantee-section"},[t("div",{staticClass:"feature-thumb"},[t("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),t("div",{staticClass:"guarantee-detail"},[t("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),t("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),t("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[t("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),t("div",{staticClass:"payment-area"},[t("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),t("div",{staticClass:"option"},[t("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),t("div",{staticClass:"testimonial-section"},[t("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),t("div",{staticClass:"testimonial-wrapper"},[t("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(a){return t("div",{staticClass:"testimonial-box"},[t("div",{staticClass:"profile-pic"},[t("img",{attrs:{src:a.pic,alt:""}})]),e._v(" "),t("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[t("h4",[e._v(e._s(a.name))]),e._v(" "),t("span",[e._v(e._s(a.designation))]),e._v(" "),t("p",[e._v(e._s(a.content))])])])}))],1),e._v(" "),t("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(" "),t("div",{staticClass:"cta-section",style:{"background-image":"url("+e.cta.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[t("div",{staticClass:"feature-thumb"},[t("img",{attrs:{src:e.cta.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),t("div",{staticClass:"content-area"},[t("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),t("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(" "),t("a",{staticClass:"btn",attrs:{href:e.cta.url}},[e._v("\n "+e._s(e.__("I Want To Buy Now","dokan-lite"))+"\n "),t("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"}},[t("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 i={render:s,staticRenderFns:[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"table-row"},[t("div",{staticClass:"table-col"}),e._v(" "),t("div",{staticClass:"table-col"},[t("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),t("div",{staticClass:"price"},[t("span",[t("sup",[e._v("$")]),e._v("149")]),e._v(" "),t("span",[e._v("/year")])])]),e._v(" "),t("div",{staticClass:"table-col popular"},[t("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),t("div",{staticClass:"price"},[t("span",[t("sup",[e._v("$")]),e._v("249")]),e._v(" "),t("span",[e._v("/year")])])]),e._v(" "),t("div",{staticClass:"table-col"},[t("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),t("div",{staticClass:"price"},[t("span",[t("sup",[e._v("$")]),e._v("499")]),e._v(" "),t("span",[e._v("/year")])])]),e._v(" "),t("div",{staticClass:"table-col"},[t("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),t("div",{staticClass:"price"},[t("span",[t("sup",[e._v("$")]),e._v("999")]),e._v(" "),t("span",[e._v("/year")])])])])}]};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t(25),i=t(92),n=!1;var l=function(e){n||t(91)},o=t(0)(s.a,i.a,!1,l,null,null);o.options.__file="src/admin/pages/Help.vue",a.default=o.exports},function(e,a){},function(e,a,t){"use strict";var s=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"dokan-help-page"},[t("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),null!==e.docs?t("div",{staticClass:"section-wrapper"},e._l(e.docs,function(a,s){return t("postbox",{key:s,attrs:{title:a.title}},[t("ul",e._l(a.questions,function(a){return t("li",[t("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),t("a",{attrs:{href:a.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(a.title))])])}))])})):t("div",{staticClass:"loading"},[t("loading")],1)])};s._withStripped=!0;var i={render:s,staticRenderFns:[]};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t(26),i=t(117),n=!1;var l=function(e){n||t(94)},o=t(0)(s.a,i.a,!1,l,null,null);o.options.__file="src/admin/pages/Settings.vue",a.default=o.exports},function(e,a){},function(e,a,t){"use strict";var s=t(27),i=t(116),n=!1;var l=function(e){n||t(96)},o=t(0)(s.a,i.a,!1,l,null,null);o.options.__file="src/admin/components/Fields.vue",a.a=o.exports},function(e,a){},,,,,,,,,,,,,,,,,,,,function(e,a,t){"use strict";var s=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[e.containCommonFields(e.fieldData.type)?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",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(a){a.target.composing||e.$set(e.fieldValue,e.fieldData.name,a.target.value)}}}),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"number"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("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(a){a.target.composing||e.$set(e.fieldValue,e.fieldData.name,a.target.value)}}}),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"textarea"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("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(a){a.target.composing||e.$set(e.fieldValue,e.fieldData.name,a.target.value)}}}),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"checkbox"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("fieldset",[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[t("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(a){var t=e.fieldValue[e.fieldData.name],s=a.target,i=s.checked?"on":"off";if(Array.isArray(t)){var n=e._i(t,null);s.checked?n<0&&(e.fieldValue[e.fieldData.name]=t.concat([null])):n>-1&&(e.fieldValue[e.fieldData.name]=t.slice(0,n).concat(t.slice(n+1)))}else e.$set(e.fieldValue,e.fieldData.name,i)}}}),e._v("\n "+e._s(e.fieldData.desc)+"\n ")])])])]):e._e(),e._v(" "),"multicheck"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("fieldset",[e._l(e.fieldData.options,function(a,s){return[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[t("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(a){var t=e.fieldValue[e.fieldData.name][s],i=a.target,n=i.checked?s:"";if(Array.isArray(t)){var l=e._i(t,null);i.checked?l<0&&(e.fieldValue[e.fieldData.name][s]=t.concat([null])):l>-1&&(e.fieldValue[e.fieldData.name][s]=t.slice(0,l).concat(t.slice(l+1)))}else e.$set(e.fieldValue[e.fieldData.name],s,n)}}}),e._v("\n "+e._s(a)+"\n ")]),e._v(" "),t("br")]})],2)])]):e._e(),e._v(" "),"select"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[e.fieldData.grouped?t("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(a){var t=Array.prototype.filter.call(a.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,a.target.multiple?t:t[0])}}},[e.fieldData.placeholder?t("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(a){return t("optgroup",{attrs:{label:a.group_label}},e._l(a.group_values,function(a){return t("option",{domProps:{value:a.value,innerHTML:e._s(a.label)}})}))})],2):t("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(a){var t=Array.prototype.filter.call(a.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,a.target.multiple?t:t[0])}}},[e.fieldData.placeholder?t("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(a,s){return t("option",{domProps:{value:s,innerHTML:e._s(a)}})})],2),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"file"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("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(a){a.target.composing||e.$set(e.fieldValue,e.fieldData.name,a.target.value)}}}),e._v(" "),t("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(a){a.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},a)}}}),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"color"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("color-picker",{model:{value:e.fieldValue[e.fieldData.name],callback:function(a){e.$set(e.fieldValue,e.fieldData.name,a)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]):e._e(),e._v(" "),"html"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"radio"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("fieldset",[e._l(e.fieldData.options,function(a,s){return[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[t("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(a){e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "+e._s(a)+"\n ")])]})],2),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"wpeditor"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",{attrs:{width:"72%"}},[t("text-editor",{model:{value:e.fieldValue[e.fieldData.name],callback:function(a){e.$set(e.fieldValue,e.fieldData.name,a)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]):e._e(),e._v(" "),"repeatable"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",{attrs:{width:"72%"}},[t("ul",{staticClass:"dokan-settings-repeatable-list"},e._l(e.fieldValue[e.fieldData.name],function(a,s){return e.fieldValue[e.fieldData.name]?t("li",[e._v("\n "+e._s(a.value)+" "),t("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(a){a.preventDefault(),e.removeItem(s,e.fieldData.name)}}})]):e._e()})),e._v(" "),t("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(a){a.target.composing||e.$set(e.repeatableItem,e.fieldData.name,a.target.value)}}}),e._v(" "),t("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[e._v("+")]),e._v(" "),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"radio_image"==e.fieldData.type?t("tr",{class:e.id},[t("th",{attrs:{scope:"row"}},[t("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),t("td",[t("div",{staticClass:"radio-image-container"},[e._l(e.fieldData.options,function(a,s){return[t("label",{staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[t("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(a){e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),t("span",{staticClass:"current-option-indicator"},[t("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "+e._s(e.__("Active","dokan-lite")))]),e._v(" "),t("img",{attrs:{src:a}}),e._v(" "),t("span",{staticClass:"active-option"},[t("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(a){a.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]):e._e()])};s._withStripped=!0;var i={render:s,staticRenderFns:[]};a.a=i},function(e,a,t){"use strict";var s=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"dokan-settings"},[t("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),e.isSaved?t("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[t("p",[t("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),t("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(a){a.preventDefault(),e.isSaved=!1}}},[t("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),t("div",{staticClass:"dokan-settings-wrap"},[t("h2",{staticClass:"nav-tab-wrapper"},[e._l(e.settingSections,function(a){return[t("a",{staticClass:"nav-tab",class:{"nav-tab-active":e.currentTab===a.id},attrs:{href:"#",id:"dokan_general-tab"},on:{click:function(t){t.preventDefault(),e.changeTab(a)}}},[t("span",{staticClass:"dashicons",class:a.icon}),e._v(" "+e._s(a.title))])]})],2),e._v(" "),t("div",{staticClass:"metabox-holder"},[e._l(e.settingFields,function(a,s){return e.isLoaded?[t("div",{directives:[{name:"show",rawName:"v-show",value:e.currentTab===s,expression:"currentTab===index"}],staticClass:"group",attrs:{id:s}},[t("form",{attrs:{method:"post",action:"options.php"}},[t("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),t("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),t("h2",[e._v(e._s(e.showSectionTitle(s)))]),e._v(" "),t("table",{staticClass:"form-table"},[t("tbody",e._l(a,function(a,i){return t("fields",{key:i,attrs:{"section-id":s,id:i,"field-data":a,"field-value":e.settingValues[s]},on:{openMedia:e.showMedia}})}))]),e._v(" "),t("p",{staticClass:"submit"},[t("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(a){a.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])])]:e._e()})],2),e._v(" "),e.showLoading?t("div",{staticClass:"loading"},[t("loading")],1):e._e()])])};s._withStripped=!0;var i={render:s,staticRenderFns:[]};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){var a=jQuery,t=a("#toplevel_page_"+e),s=window.location.href,i=s.substr(s.indexOf("admin.php"));t.on("click","a",function(){var e=a(this);a("ul.wp-submenu li",t).removeClass("current"),e.hasClass("wp-has-submenu")?a("li.wp-first-item",t).addClass("current"):e.parents("li").addClass("current")}),a("ul.wp-submenu a",t).each(function(e,t){a(t).attr("href")!==i||a(t).parent().addClass("current")})}}],[67]);
assets/js/vue-bootstrap.js CHANGED
@@ -1,290 +1,4684 @@
1
- dokanWebpack([1],{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- /***/ 108:
4
- /***/ (function(module, exports, __webpack_require__) {
 
 
5
 
6
  "use strict";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
- var _vue = __webpack_require__(1);
10
-
11
- var _vue2 = _interopRequireDefault(_vue);
 
12
 
13
- var _vueRouter = __webpack_require__(6);
 
 
 
14
 
15
- var _vueRouter2 = _interopRequireDefault(_vueRouter);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
- var _moment = __webpack_require__(109);
 
 
18
 
19
- var _moment2 = _interopRequireDefault(_moment);
 
 
 
 
20
 
21
- var _vueNotification = __webpack_require__(30);
22
 
23
- var _vueNotification2 = _interopRequireDefault(_vueNotification);
24
 
25
- var _vueWpListTable = __webpack_require__(31);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
- var _vueWpListTable2 = _interopRequireDefault(_vueWpListTable);
 
28
 
29
- var _vueMultiselect = __webpack_require__(33);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
- var _vueMultiselect2 = _interopRequireDefault(_vueMultiselect);
 
 
32
 
33
- var _Api = __webpack_require__(113);
 
34
 
35
- var _Api2 = _interopRequireDefault(_Api);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
- var _vueChartjs = __webpack_require__(4);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
- var _vueChartjs2 = _interopRequireDefault(_vueChartjs);
40
 
41
- var _Mixin = __webpack_require__(114);
42
 
43
- var _Mixin2 = _interopRequireDefault(_Mixin);
 
 
 
44
 
45
- var _vueContentLoading = __webpack_require__(34);
46
 
47
- var _Postbox = __webpack_require__(116);
48
 
49
- var _Postbox2 = _interopRequireDefault(_Postbox);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
- var _Loading = __webpack_require__(119);
 
 
52
 
53
- var _Loading2 = _interopRequireDefault(_Loading);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
- var _Chart = __webpack_require__(7);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
57
- var _Chart2 = _interopRequireDefault(_Chart);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
- var _Modal = __webpack_require__(122);
60
 
61
- var _Modal2 = _interopRequireDefault(_Modal);
62
 
63
- var _Switches = __webpack_require__(125);
64
 
65
- var _Switches2 = _interopRequireDefault(_Switches);
66
 
67
- var _TextEditor = __webpack_require__(128);
68
 
69
- var _TextEditor2 = _interopRequireDefault(_TextEditor);
70
 
71
- __webpack_require__(130);
72
 
73
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
74
 
75
- window.__ = function (text, domain) {
76
- return __(text, domain);
77
- };
78
 
79
- // core components
80
 
81
 
82
- _vue2.default.use(_vueNotification2.default);
83
- _vue2.default.component('multiselect', _vueMultiselect2.default);
 
84
 
85
- _vue2.default.mixin(_Mixin2.default);
86
 
87
- _vue2.default.filter('currency', function (value) {
88
- return accounting.formatMoney(value, dokan.currency);
89
- });
90
 
91
- _vue2.default.filter('capitalize', function (value) {
92
- if (!value) return '';
93
- value = value.toString();
94
- return value.charAt(0).toUpperCase() + value.slice(1);
95
- });
96
 
97
- // Tooltip directive
98
- _vue2.default.directive('tooltip', {
99
- bind: function bind(el, binding, vnode) {
100
- $(el).tooltip('show');
101
- },
102
- unbind: function unbind(el, binding, vnode) {
103
- $(el).tooltip('destroy');
104
- }
105
- });
106
 
107
- window.dokan_get_lib = function (lib) {
108
- return window.dokan.libs[lib];
109
- };
110
 
111
- window.dokan_add_route = function (component) {
112
- window.dokan.routeComponents[component.name] = component;
113
- };
114
 
115
- // setup global Dokan libraries
116
- window.dokan.api = new _Api2.default();
117
- window.dokan.libs['Vue'] = _vue2.default;
118
- window.dokan.libs['Router'] = _vueRouter2.default;
119
- window.dokan.libs['moment'] = _moment2.default;
120
-
121
- window.dokan.libs['ListTable'] = _vueWpListTable2.default;
122
- window.dokan.libs['Postbox'] = _Postbox2.default;
123
- window.dokan.libs['Loading'] = _Loading2.default;
124
- window.dokan.libs['ChartJS'] = _vueChartjs2.default;
125
- window.dokan.libs['Chart'] = _Chart2.default;
126
- window.dokan.libs['Modal'] = _Modal2.default;
127
- window.dokan.libs['Switches'] = _Switches2.default;
128
- window.dokan.libs['TextEditor'] = _TextEditor2.default;
129
- window.dokan.libs['ContentLoading'] = {
130
- VclCode: _vueContentLoading.VclCode,
131
- VclList: _vueContentLoading.VclList,
132
- VclTwitch: _vueContentLoading.VclTwitch,
133
- VclFacebook: _vueContentLoading.VclFacebook,
134
- VclInstagram: _vueContentLoading.VclInstagram,
135
- VclBulletList: _vueContentLoading.VclBulletList,
136
- VueContentLoading: _vueContentLoading.VueContentLoading
137
- };
138
 
139
- /***/ }),
140
 
141
- /***/ 109:
142
- /***/ (function(module, exports) {
143
 
144
- module.exports = moment;
145
 
146
- /***/ }),
147
 
148
- /***/ 113:
149
- /***/ (function(module, exports, __webpack_require__) {
150
 
151
- "use strict";
152
 
153
 
154
- Object.defineProperty(exports, "__esModule", {
155
- value: true
156
- });
157
 
158
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
159
 
160
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
161
 
162
- var Dokan_API = function () {
163
- function Dokan_API() {
164
- _classCallCheck(this, Dokan_API);
165
- }
166
 
167
- _createClass(Dokan_API, [{
168
- key: 'endpoint',
169
- value: function endpoint() {
170
- return window.dokan.rest.root + window.dokan.rest.version;
171
- }
172
- }, {
173
- key: 'headers',
174
- value: function headers() {
175
- return {};
176
- }
177
- }, {
178
- key: 'get',
179
- value: function get(path) {
180
- var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
181
 
182
- return this.ajax(path, 'GET', this.headers(), data);
183
- }
184
- }, {
185
- key: 'post',
186
- value: function post(path) {
187
- var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
188
 
189
- return this.ajax(path, 'POST', this.headers(), data);
190
- }
191
- }, {
192
- key: 'put',
193
- value: function put(path) {
194
- var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
195
 
196
- return this.ajax(path, 'PUT', this.headers(), data);
197
- }
198
- }, {
199
- key: 'delete',
200
- value: function _delete(path) {
201
- var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
202
 
203
- return this.ajax(path, 'DELETE', this.headers(), data);
204
- }
205
 
206
- // jQuery ajax wrapper
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
 
208
- }, {
209
- key: 'ajax',
210
- value: function ajax(path, method, headers, data) {
211
 
212
- return jQuery.ajax({
213
- url: this.endpoint() + path,
214
- beforeSend: function beforeSend(xhr) {
215
- xhr.setRequestHeader('X-WP-Nonce', window.dokan.rest.nonce);
216
- },
217
- type: method,
218
- data: data
219
- });
220
- }
221
- }]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
 
223
- return Dokan_API;
224
- }();
 
225
 
226
- exports.default = Dokan_API;
227
 
228
  /***/ }),
229
-
230
- /***/ 114:
231
- /***/ (function(module, exports, __webpack_require__) {
 
 
232
 
233
  "use strict";
 
 
 
 
234
 
235
 
236
- Object.defineProperty(exports, "__esModule", {
237
- value: true
238
- });
239
 
240
- var _i18n = __webpack_require__(115);
 
 
 
 
 
241
 
242
- exports.default = {
243
- methods: {
244
- setLocaleData: function setLocaleData(data) {
245
- return (0, _i18n.setLocaleData)(data);
246
- },
247
- __: function __(text, domain) {
248
- return (0, _i18n.__)(text, domain);
249
- },
250
- _nx: function _nx(single, plural, number, context, domain) {
251
- return (0, _i18n._nx)(single, plural, number, context, domain);
252
- },
253
- __n: function __n(single, plural, number, domain) {
254
- return _n(single, plural, number, domain);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  },
256
- sprintf: function sprintf(fmt) {
257
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
258
- args[_key - 1] = arguments[_key];
259
- }
260
-
261
- return _i18n.sprintf.apply(undefined, [fmt].concat(args));
262
- }
263
  }
264
- };
265
 
266
- /***/ }),
 
267
 
268
- /***/ 115:
269
- /***/ (function(module, exports, __webpack_require__) {
 
 
 
270
 
271
  "use strict";
 
272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
 
274
- Object.defineProperty(exports, "__esModule", {
275
- value: true
 
276
  });
277
- exports.setLocaleData = setLocaleData;
278
- exports.getI18n = getI18n;
279
- exports.__ = __;
280
- exports._x = _x;
281
- exports._n = _n;
282
- exports._nx = _nx;
 
 
 
 
 
 
 
283
  /**
284
  * External dependencies
285
  */
286
  var i18n = {};
287
-
288
  /**
289
  * Creates a new Jed instance with specified locale data configuration.
290
  *
@@ -292,27 +4686,29 @@ var i18n = {};
292
  *
293
  * @param {Object} data Locale data configuration.
294
  */
 
295
  function setLocaleData(data) {
296
  var jed = new Jed(data);
297
  i18n[jed._textdomain] = jed;
298
  }
299
-
300
  /**
301
  * Returns the current Jed instance, initializing with a default configuration
302
  * if not already assigned.
303
  *
304
  * @return {Jed} Jed instance.
305
  */
 
306
  function getI18n() {
307
  var domain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
308
 
309
  if (!i18n[domain]) {
310
- setLocaleData({ '': {} });
 
 
311
  }
312
 
313
  return i18n[domain];
314
  }
315
-
316
  /**
317
  * Retrieve the translation of text.
318
  *
@@ -323,10 +4719,10 @@ function getI18n() {
323
  *
324
  * @return {string} Translated text.
325
  */
 
326
  function __(text, domain) {
327
  return getI18n(domain) ? getI18n(domain).dgettext(domain, text) : text;
328
  }
329
-
330
  /**
331
  * Retrieve translated string with gettext context.
332
  *
@@ -338,10 +4734,10 @@ function __(text, domain) {
338
  *
339
  * @return {string} Translated context string without pipe.
340
  */
 
341
  function _x(text, context, domain) {
342
  return getI18n(domain).dpgettext(domain, context, text);
343
  }
344
-
345
  /**
346
  * Translates and retrieves the singular or plural form based on the supplied
347
  * number.
@@ -356,10 +4752,10 @@ function _x(text, context, domain) {
356
  *
357
  * @return {string} The translated singular or plural form.
358
  */
 
359
  function _n(single, plural, number, domain) {
360
  return getI18n(domain).dngettext(domain, single, plural, number);
361
  }
362
-
363
  /**
364
  * Translates and retrieves the singular or plural form based on the supplied
365
  * number, with gettext context.
@@ -375,33 +4771,160 @@ function _n(single, plural, number, domain) {
375
  *
376
  * @return {string} The translated singular or plural form.
377
  */
 
378
  function _nx(single, plural, number, context, domain) {
379
  return getI18n(domain).dnpgettext(domain, context, single, plural, number);
380
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
 
382
- /**
383
- * Returns a formatted string.
384
- *
385
- * @see http://www.diveintojavascript.com/projects/javascript-sprintf
386
- *
387
- * @type {string}
388
- */
389
- var sprintf = exports.sprintf = Jed.sprintf;
390
 
391
- /***/ }),
 
 
 
392
 
393
- /***/ 116:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
395
 
396
  "use strict";
397
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
398
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Postbox_vue__ = __webpack_require__(35);
399
- /* empty harmony namespace reexport */
400
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_36a997ab_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Postbox_vue__ = __webpack_require__(118);
401
  var disposed = false
402
  function injectStyle (ssrContext) {
403
  if (disposed) return
404
- __webpack_require__(117)
405
  }
406
  var normalizeComponent = __webpack_require__(0)
407
  /* script */
@@ -443,19 +4966,17 @@ if (false) {(function () {
443
  })
444
  })()}
445
 
446
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
447
 
448
 
449
  /***/ }),
450
-
451
- /***/ 117:
452
  /***/ (function(module, exports) {
453
 
454
  // removed by extract-text-webpack-plugin
455
 
456
  /***/ }),
457
-
458
- /***/ 118:
459
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
460
 
461
  "use strict";
@@ -515,19 +5036,17 @@ if (false) {
515
  }
516
 
517
  /***/ }),
518
-
519
- /***/ 119:
520
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
521
 
522
  "use strict";
523
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
524
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Loading_vue__ = __webpack_require__(36);
525
- /* empty harmony namespace reexport */
526
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_67db673c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Loading_vue__ = __webpack_require__(121);
527
  var disposed = false
528
  function injectStyle (ssrContext) {
529
  if (disposed) return
530
- __webpack_require__(120)
531
  }
532
  var normalizeComponent = __webpack_require__(0)
533
  /* script */
@@ -551,7 +5070,311 @@ var Component = normalizeComponent(
551
  __vue_scopeId__,
552
  __vue_module_identifier__
553
  )
554
- Component.options.__file = "src/admin/components/Loading.vue"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
 
556
  /* hot reload */
557
  if (false) {(function () {
@@ -560,28 +5383,20 @@ if (false) {(function () {
560
  if (!hotAPI.compatible) return
561
  module.hot.accept()
562
  if (!module.hot.data) {
563
- hotAPI.createRecord("data-v-67db673c", Component.options)
564
  } else {
565
- hotAPI.reload("data-v-67db673c", Component.options)
566
  }
567
  module.hot.dispose(function (data) {
568
  disposed = true
569
  })
570
  })()}
571
 
572
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
573
-
574
-
575
- /***/ }),
576
-
577
- /***/ 120:
578
- /***/ (function(module, exports) {
579
 
580
- // removed by extract-text-webpack-plugin
581
 
582
  /***/ }),
583
-
584
- /***/ 121:
585
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
586
 
587
  "use strict";
@@ -589,41 +5404,30 @@ var render = function() {
589
  var _vm = this
590
  var _h = _vm.$createElement
591
  var _c = _vm._self._c || _h
592
- return _vm._m(0)
 
 
593
  }
594
- var staticRenderFns = [
595
- function() {
596
- var _vm = this
597
- var _h = _vm.$createElement
598
- var _c = _vm._self._c || _h
599
- return _c("div", { staticClass: "dokan-loader" }, [_c("div"), _c("div")])
600
- }
601
- ]
602
  render._withStripped = true
603
  var esExports = { render: render, staticRenderFns: staticRenderFns }
604
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
605
  if (false) {
606
  module.hot.accept()
607
  if (module.hot.data) {
608
- require("vue-hot-reload-api") .rerender("data-v-67db673c", esExports)
609
  }
610
  }
611
 
612
  /***/ }),
613
-
614
- /***/ 122:
615
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
616
 
617
  "use strict";
618
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
619
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Modal_vue__ = __webpack_require__(37);
620
- /* empty harmony namespace reexport */
621
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4bd79a2d_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Modal_vue__ = __webpack_require__(124);
622
  var disposed = false
623
- function injectStyle (ssrContext) {
624
- if (disposed) return
625
- __webpack_require__(123)
626
- }
627
  var normalizeComponent = __webpack_require__(0)
628
  /* script */
629
 
@@ -633,20 +5437,20 @@ var normalizeComponent = __webpack_require__(0)
633
  /* template functional */
634
  var __vue_template_functional__ = false
635
  /* styles */
636
- var __vue_styles__ = injectStyle
637
  /* scopeId */
638
  var __vue_scopeId__ = null
639
  /* moduleIdentifier (server only) */
640
  var __vue_module_identifier__ = null
641
  var Component = normalizeComponent(
642
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Modal_vue__["a" /* default */],
643
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4bd79a2d_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Modal_vue__["a" /* default */],
644
  __vue_template_functional__,
645
  __vue_styles__,
646
  __vue_scopeId__,
647
  __vue_module_identifier__
648
  )
649
- Component.options.__file = "src/admin/components/Modal.vue"
650
 
651
  /* hot reload */
652
  if (false) {(function () {
@@ -655,28 +5459,20 @@ if (false) {(function () {
655
  if (!hotAPI.compatible) return
656
  module.hot.accept()
657
  if (!module.hot.data) {
658
- hotAPI.createRecord("data-v-4bd79a2d", Component.options)
659
  } else {
660
- hotAPI.reload("data-v-4bd79a2d", Component.options)
661
  }
662
  module.hot.dispose(function (data) {
663
  disposed = true
664
  })
665
  })()}
666
 
667
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
668
-
669
-
670
- /***/ }),
671
-
672
- /***/ 123:
673
- /***/ (function(module, exports) {
674
 
675
- // removed by extract-text-webpack-plugin
676
 
677
  /***/ }),
678
-
679
- /***/ 124:
680
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
681
 
682
  "use strict";
@@ -684,54 +5480,17 @@ var render = function() {
684
  var _vm = this
685
  var _h = _vm.$createElement
686
  var _c = _vm._self._c || _h
687
- return _c("div", { staticClass: "dokan-modal-dialog" }, [
688
- _c("div", { staticClass: "dokan-modal" }, [
689
- _c("div", { staticClass: "dokan-modal-content" }, [
690
- _c(
691
- "section",
692
- { class: ["dokan-modal-main", { "has-footer": _vm.footer }] },
693
- [
694
- _c(
695
- "header",
696
- { staticClass: "modal-header" },
697
- [
698
- _vm._t("header", [_c("h1", [_vm._v(_vm._s(_vm.title))])]),
699
- _vm._v(" "),
700
- _c(
701
- "button",
702
- {
703
- staticClass:
704
- "modal-close modal-close-link dashicons dashicons-no-alt",
705
- on: {
706
- click: function($event) {
707
- _vm.$emit("close")
708
- }
709
- }
710
- },
711
- [
712
- _c("span", { staticClass: "screen-reader-text" }, [
713
- _vm._v(_vm._s(_vm.__("Close modal panel", "dokan-lite")))
714
- ])
715
- ]
716
- )
717
- ],
718
- 2
719
- ),
720
- _vm._v(" "),
721
- _c("div", { staticClass: "modal-body" }, [_vm._t("body")], 2),
722
- _vm._v(" "),
723
- _vm.footer
724
- ? _c("footer", { staticClass: "modal-footer" }, [
725
- _c("div", { staticClass: "inner" }, [_vm._t("footer")], 2)
726
- ])
727
- : _vm._e()
728
- ]
729
- )
730
- ])
731
- ]),
732
- _vm._v(" "),
733
- _c("div", { staticClass: "dokan-modal-backdrop" })
734
- ])
735
  }
736
  var staticRenderFns = []
737
  render._withStripped = true
@@ -740,24 +5499,22 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
740
  if (false) {
741
  module.hot.accept()
742
  if (module.hot.data) {
743
- require("vue-hot-reload-api") .rerender("data-v-4bd79a2d", esExports)
744
  }
745
  }
746
 
747
  /***/ }),
748
-
749
- /***/ 125:
750
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
751
 
752
  "use strict";
753
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
754
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Switches_vue__ = __webpack_require__(38);
755
- /* empty harmony namespace reexport */
756
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_aa8ad7dc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Switches_vue__ = __webpack_require__(127);
757
  var disposed = false
758
  function injectStyle (ssrContext) {
759
  if (disposed) return
760
- __webpack_require__(126)
761
  }
762
  var normalizeComponent = __webpack_require__(0)
763
  /* script */
@@ -770,18 +5527,18 @@ var __vue_template_functional__ = false
770
  /* styles */
771
  var __vue_styles__ = injectStyle
772
  /* scopeId */
773
- var __vue_scopeId__ = null
774
  /* moduleIdentifier (server only) */
775
  var __vue_module_identifier__ = null
776
  var Component = normalizeComponent(
777
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Switches_vue__["a" /* default */],
778
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_aa8ad7dc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Switches_vue__["a" /* default */],
779
  __vue_template_functional__,
780
  __vue_styles__,
781
  __vue_scopeId__,
782
  __vue_module_identifier__
783
  )
784
- Component.options.__file = "src/admin/components/Switches.vue"
785
 
786
  /* hot reload */
787
  if (false) {(function () {
@@ -790,28 +5547,26 @@ if (false) {(function () {
790
  if (!hotAPI.compatible) return
791
  module.hot.accept()
792
  if (!module.hot.data) {
793
- hotAPI.createRecord("data-v-aa8ad7dc", Component.options)
794
  } else {
795
- hotAPI.reload("data-v-aa8ad7dc", Component.options)
796
  }
797
  module.hot.dispose(function (data) {
798
  disposed = true
799
  })
800
  })()}
801
 
802
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
803
 
804
 
805
  /***/ }),
806
-
807
- /***/ 126:
808
  /***/ (function(module, exports) {
809
 
810
  // removed by extract-text-webpack-plugin
811
 
812
  /***/ }),
813
-
814
- /***/ 127:
815
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
816
 
817
  "use strict";
@@ -819,15 +5574,17 @@ var render = function() {
819
  var _vm = this
820
  var _h = _vm.$createElement
821
  var _c = _vm._self._c || _h
822
- return _c("label", { staticClass: "switch tips" }, [
823
- _c("input", {
824
- staticClass: "toogle-checkbox",
825
- attrs: { type: "checkbox" },
826
- domProps: { checked: _vm.enabled, value: _vm.value },
827
- on: { change: _vm.trigger }
828
- }),
829
- _vm._v(" "),
830
- _c("span", { staticClass: "slider round" })
 
 
831
  ])
832
  }
833
  var staticRenderFns = []
@@ -837,20 +5594,18 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
837
  if (false) {
838
  module.hot.accept()
839
  if (module.hot.data) {
840
- require("vue-hot-reload-api") .rerender("data-v-aa8ad7dc", esExports)
841
  }
842
  }
843
 
844
  /***/ }),
845
-
846
- /***/ 128:
847
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
848
 
849
  "use strict";
850
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
851
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_TextEditor_vue__ = __webpack_require__(39);
852
- /* empty harmony namespace reexport */
853
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_70730fac_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_TextEditor_vue__ = __webpack_require__(129);
854
  var disposed = false
855
  var normalizeComponent = __webpack_require__(0)
856
  /* script */
@@ -867,14 +5622,14 @@ var __vue_scopeId__ = null
867
  /* moduleIdentifier (server only) */
868
  var __vue_module_identifier__ = null
869
  var Component = normalizeComponent(
870
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_TextEditor_vue__["a" /* default */],
871
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_70730fac_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_TextEditor_vue__["a" /* default */],
872
  __vue_template_functional__,
873
  __vue_styles__,
874
  __vue_scopeId__,
875
  __vue_module_identifier__
876
  )
877
- Component.options.__file = "src/admin/components/TextEditor.vue"
878
 
879
  /* hot reload */
880
  if (false) {(function () {
@@ -883,21 +5638,20 @@ if (false) {(function () {
883
  if (!hotAPI.compatible) return
884
  module.hot.accept()
885
  if (!module.hot.data) {
886
- hotAPI.createRecord("data-v-70730fac", Component.options)
887
  } else {
888
- hotAPI.reload("data-v-70730fac", Component.options)
889
  }
890
  module.hot.dispose(function (data) {
891
  disposed = true
892
  })
893
  })()}
894
 
895
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
896
 
897
 
898
  /***/ }),
899
-
900
- /***/ 129:
901
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
902
 
903
  "use strict";
@@ -905,10 +5659,33 @@ var render = function() {
905
  var _vm = this
906
  var _h = _vm.$createElement
907
  var _c = _vm._self._c || _h
908
- return _c("textarea", {
909
- attrs: { id: "dokan-tinymce-" + _vm.editorId },
910
- domProps: { value: _vm.value }
911
- })
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
912
  }
913
  var staticRenderFns = []
914
  render._withStripped = true
@@ -917,456 +5694,330 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
917
  if (false) {
918
  module.hot.accept()
919
  if (module.hot.data) {
920
- require("vue-hot-reload-api") .rerender("data-v-70730fac", esExports)
921
  }
922
  }
923
 
924
  /***/ }),
925
-
926
- /***/ 3:
927
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
928
-
929
- "use strict";
930
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_chartjs__ = __webpack_require__(4);
931
-
932
-
933
-
934
- /* harmony default export */ __webpack_exports__["a"] = ({
935
- extends: __WEBPACK_IMPORTED_MODULE_0_vue_chartjs__["Line"],
936
- props: ['data'],
937
- data() {
938
- return {
939
- options: {
940
- responsive: true,
941
- maintainAspectRatio: false,
942
- scales: {
943
- xAxes: [{
944
- type: 'time',
945
- scaleLabel: {
946
- display: false
947
- },
948
- gridLines: {
949
- display: false
950
- },
951
- ticks: {
952
- fontColor: '#aaa',
953
- fontSize: 11
954
- }
955
- }],
956
- yAxes: [{
957
- scaleLabel: {
958
- display: false
959
- },
960
- ticks: {
961
- fontColor: '#aaa'
962
- }
963
- }]
964
- },
965
- legend: {
966
- position: 'top',
967
- onClick: false
968
- },
969
- elements: {
970
- line: {
971
- tension: 0,
972
- borderWidth: 4
973
- },
974
- point: {
975
- radius: 5,
976
- borderWidth: 3,
977
- backgroundColor: '#fff',
978
- borderColor: '#fff'
979
- }
980
- },
981
- tooltips: {
982
- displayColors: false,
983
- callbacks: {
984
- label: function (tooltipItems, data) {
985
- let label = data.datasets[tooltipItems.datasetIndex].label || '';
986
- let customLabel = data.datasets[tooltipItems.datasetIndex].tooltipLabel || '';
987
- let prefix = data.datasets[tooltipItems.datasetIndex].tooltipPrefix || '';
988
-
989
- let tooltipLabel = customLabel ? customLabel + ': ' : label + ': ';
990
-
991
- tooltipLabel += prefix + tooltipItems.yLabel;
992
-
993
- return tooltipLabel;
994
- }
995
- }
996
- }
997
- }
998
- };
999
- },
1000
- mounted() {
1001
- this.renderChart(this.data, this.options);
1002
- }
1003
- });
1004
-
1005
- /***/ }),
1006
-
1007
- /***/ 35:
1008
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1009
-
1010
- "use strict";
1011
- //
1012
- //
1013
- //
1014
- //
1015
- //
1016
- //
1017
- //
1018
- //
1019
- //
1020
- //
1021
- //
1022
- //
1023
- //
1024
- //
1025
- //
1026
-
1027
- /* harmony default export */ __webpack_exports__["a"] = ({
1028
-
1029
- name: 'Postbox',
1030
- props: {
1031
- title: {
1032
- type: String,
1033
- required: true,
1034
- default: ''
1035
- },
1036
- extraClass: {
1037
- type: String,
1038
- default: null
1039
- }
1040
- },
1041
-
1042
- data() {
1043
- return {
1044
- showing: true
1045
- };
1046
- }
1047
- });
1048
-
1049
- /***/ }),
1050
-
1051
- /***/ 36:
1052
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1053
 
1054
  "use strict";
1055
- //
1056
- //
1057
- //
1058
- //
1059
-
1060
- /* harmony default export */ __webpack_exports__["a"] = ({
1061
-
1062
- name: 'Loading',
1063
-
1064
- data() {
1065
- return {};
1066
- }
1067
- });
1068
-
1069
- /***/ }),
1070
 
1071
- /***/ 37:
1072
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1073
 
1074
- "use strict";
1075
- //
1076
- //
1077
- //
1078
- //
1079
- //
1080
- //
1081
- //
1082
- //
1083
- //
1084
- //
1085
- //
1086
- //
1087
- //
1088
- //
1089
- //
1090
- //
1091
- //
1092
- //
1093
- //
1094
- //
1095
- //
1096
- //
1097
- //
1098
- //
1099
- //
1100
- //
1101
- //
1102
- //
1103
- //
1104
 
1105
- /* harmony default export */ __webpack_exports__["a"] = ({
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1106
 
1107
- name: 'Modal',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1108
 
1109
- props: {
1110
- footer: {
1111
- type: Boolean,
1112
- required: false,
1113
- default: true
1114
- },
1115
- title: {
1116
- type: String,
1117
- required: true,
1118
- default: ''
1119
- }
1120
- },
1121
 
1122
- data() {
1123
- return {};
1124
- }
1125
- });
1126
 
1127
  /***/ }),
1128
-
1129
- /***/ 38:
1130
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1131
 
1132
  "use strict";
1133
- //
1134
- //
1135
- //
1136
- //
1137
- //
1138
- //
1139
- //
1140
-
1141
- /* harmony default export */ __webpack_exports__["a"] = ({
1142
-
1143
- name: 'Switches',
1144
-
1145
- props: {
1146
- enabled: {
1147
- type: Boolean, // String, Number, Boolean, Function, Object, Array
1148
- required: true,
1149
- default: false
1150
- },
1151
- value: {
1152
- type: [String, Number]
1153
- }
1154
- },
1155
-
1156
- data() {
1157
- return {};
1158
- },
1159
-
1160
- methods: {
1161
-
1162
- trigger(e) {
1163
- this.$emit('input', e.target.checked, e.target.value);
1164
- }
1165
  }
1166
- });
 
 
 
 
 
 
 
 
 
 
 
1167
 
1168
  /***/ }),
1169
-
1170
- /***/ 39:
 
 
1171
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1172
 
1173
  "use strict";
1174
- //
1175
- //
1176
- //
1177
- //
1178
-
1179
- /* harmony default export */ __webpack_exports__["a"] = ({
1180
- props: {
1181
- value: {
1182
- type: String,
1183
- required: true
1184
- }
1185
-
1186
- // shortcodes: {
1187
- // type: Object,
1188
- // required: false
1189
- // }
1190
- },
1191
 
1192
- data() {
1193
- return {
1194
- editorId: this._uid,
1195
- fileFrame: null
1196
- };
1197
- },
1198
 
1199
- mounted() {
1200
- const vm = this;
1201
-
1202
- window.tinymce.init({
1203
- selector: `#dokan-tinymce-${this.editorId}`,
1204
- branding: false,
1205
- height: 300,
1206
- menubar: false,
1207
- convert_urls: false,
1208
- theme: 'modern',
1209
- skin: 'lightgray',
1210
- content_css: `${dokan.cdn}/css/customizer.css`,
1211
- fontsize_formats: '10px 11px 13px 14px 16px 18px 22px 25px 30px 36px 40px 45px 50px 60px 65px 70px 75px 80px',
1212
- font_formats: 'Arial=arial,helvetica,sans-serif;' + 'Comic Sans MS=comic sans ms,sans-serif;' + 'Courier New=courier new,courier;' + 'Georgia=georgia,palatino;' + 'Lucida=Lucida Sans Unicode, Lucida Grande, sans-serif;' + 'Tahoma=tahoma,arial,helvetica,sans-serif;' + 'Times New Roman=times new roman,times;' + 'Trebuchet MS=trebuchet ms,geneva;' + 'Verdana=verdana,geneva;',
1213
- plugins: 'textcolor colorpicker wplink wordpress code hr wpeditimage',
1214
- toolbar: ['shortcodes bold italic underline bullist numlist alignleft aligncenter alignjustify alignright link image wp_adv', 'formatselect forecolor backcolor blockquote hr code fontselect fontsizeselect removeformat undo redo'],
1215
- setup(editor) {
1216
- const shortcodeMenuItems = [];
1217
-
1218
- _.forEach(vm.shortcodes, (shortcodeObj, shortcodeType) => {
1219
- shortcodeMenuItems.push({
1220
- text: shortcodeObj.title,
1221
- classes: 'menu-section-title'
1222
- });
1223
-
1224
- _.forEach(shortcodeObj.codes, (codeObj, shortcode) => {
1225
- shortcodeMenuItems.push({
1226
- text: codeObj.title,
1227
- onclick() {
1228
- let code = `[${shortcodeType}:${shortcode}]`;
1229
-
1230
- if (codeObj.default) {
1231
- code = `[${shortcodeType}:${shortcode} default="${codeObj.default}"]`;
1232
- }
1233
 
1234
- if (codeObj.text) {
1235
- code = `[${shortcodeType}:${shortcode} text="${codeObj.text}"]`;
1236
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1237
 
1238
- if (codeObj.plainText) {
1239
- code = codeObj.text;
1240
- }
 
 
 
 
 
 
 
 
 
 
 
 
1241
 
1242
- editor.insertContent(code);
1243
- }
1244
- });
1245
- });
1246
- });
1247
-
1248
- // editor.addButton('shortcodes', {
1249
- // type: 'menubutton',
1250
- // icon: 'shortcode',
1251
- // tooltip: 'Shortcodes',
1252
- // menu: shortcodeMenuItems
1253
- // });
1254
-
1255
- editor.addButton('image', {
1256
- icon: 'image',
1257
- onclick() {
1258
- vm.browseImage(editor);
1259
- }
1260
- });
1261
 
1262
- // editor change triggers
1263
- editor.on('change keyup NodeChange', () => {
1264
- vm.$emit('input', editor.getContent());
1265
- });
1266
- }
1267
- });
1268
- },
1269
 
1270
- methods: {
1271
- browseImage(editor) {
1272
- const vm = this;
1273
- const selectedFile = {
1274
- id: 0,
1275
- url: '',
1276
- type: ''
1277
- };
1278
 
1279
- if (vm.fileFrame) {
1280
- vm.fileFrame.open();
1281
- return;
1282
- }
1283
 
1284
- const fileStates = [new wp.media.controller.Library({
1285
- library: wp.media.query(),
1286
- multiple: false,
1287
- title: this.__('Select an image', 'dokan-lite'),
1288
- priority: 20,
1289
- filterable: 'uploaded'
1290
- })];
1291
-
1292
- vm.fileFrame = wp.media({
1293
- title: this.__('Select an image', 'dokan-lite'),
1294
- library: {
1295
- type: ''
1296
- },
1297
- button: {
1298
- text: this.__('Select an image', 'dokan-lite')
1299
- },
1300
- multiple: false,
1301
- states: fileStates
1302
- });
1303
 
1304
- vm.fileFrame.on('select', () => {
1305
- const selection = vm.fileFrame.state().get('selection');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1306
 
1307
- selection.map(image => {
1308
- image = image.toJSON();
 
1309
 
1310
- if (image.id) {
1311
- selectedFile.id = image.id;
1312
- }
 
 
 
 
 
 
 
 
1313
 
1314
- if (image.url) {
1315
- selectedFile.url = image.url;
1316
- }
1317
 
1318
- if (image.type) {
1319
- selectedFile.type = image.type;
1320
- }
1321
 
1322
- vm.insertImage(editor, selectedFile);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1323
 
1324
- return null;
1325
- });
1326
- });
 
 
 
 
 
 
 
 
 
 
 
 
1327
 
1328
- vm.fileFrame.on('ready', () => {
1329
- vm.fileFrame.uploader.options.uploader.params = {
1330
- type: 'dokan-image-uploader'
1331
- };
1332
- });
1333
 
1334
- vm.fileFrame.open();
1335
- },
1336
 
1337
- insertImage(editor, image) {
1338
- if (!image.id || image.type !== 'image') {
1339
- this.alert({
1340
- type: 'error',
1341
- text: this.__('Please select an image,', 'dokan-lite')
1342
- });
1343
 
1344
- return;
1345
- }
1346
 
1347
- const img = `<img src="${image.url}" alt="${image.alt}" title="${image.title}" style="max-width: 100%; height: auto;">`;
 
 
1348
 
1349
- editor.insertContent(img);
1350
- }
1351
- }
1352
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1353
 
1354
  /***/ }),
1355
-
1356
- /***/ 7:
1357
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1358
 
1359
  "use strict";
1360
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
1361
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Chart_vue__ = __webpack_require__(3);
1362
- /* empty harmony namespace reexport */
1363
  var disposed = false
1364
  var normalizeComponent = __webpack_require__(0)
1365
  /* script */
1366
 
1367
 
1368
  /* template */
1369
- var __vue_template__ = null
1370
  /* template functional */
1371
  var __vue_template_functional__ = false
1372
  /* styles */
@@ -1376,14 +6027,14 @@ var __vue_scopeId__ = null
1376
  /* moduleIdentifier (server only) */
1377
  var __vue_module_identifier__ = null
1378
  var Component = normalizeComponent(
1379
- __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Chart_vue__["a" /* default */],
1380
- __vue_template__,
1381
  __vue_template_functional__,
1382
  __vue_styles__,
1383
  __vue_scopeId__,
1384
  __vue_module_identifier__
1385
  )
1386
- Component.options.__file = "src/admin/components/Chart.vue"
1387
 
1388
  /* hot reload */
1389
  if (false) {(function () {
@@ -1392,18 +6043,330 @@ if (false) {(function () {
1392
  if (!hotAPI.compatible) return
1393
  module.hot.accept()
1394
  if (!module.hot.data) {
1395
- hotAPI.createRecord("data-v-28c376de", Component.options)
1396
  } else {
1397
- hotAPI.reload("data-v-28c376de", Component.options)
1398
  }
1399
  module.hot.dispose(function (data) {
1400
  disposed = true
1401
  })
1402
  })()}
1403
 
1404
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
1405
 
1406
 
1407
- /***/ })
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1408
 
1409
- },[108]);
 
1
+ dokanWebpack([0],[
2
+ /* 0 */,
3
+ /* 1 */,
4
+ /* 2 */,
5
+ /* 3 */
6
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7
+
8
+ "use strict";
9
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Switches_vue__ = __webpack_require__(9);
10
+ /* unused harmony namespace reexport */
11
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_aa8ad7dc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Switches_vue__ = __webpack_require__(27);
12
+ var disposed = false
13
+ function injectStyle (ssrContext) {
14
+ if (disposed) return
15
+ __webpack_require__(26)
16
+ }
17
+ var normalizeComponent = __webpack_require__(0)
18
+ /* script */
19
+
20
+
21
+ /* template */
22
+
23
+ /* template functional */
24
+ var __vue_template_functional__ = false
25
+ /* styles */
26
+ var __vue_styles__ = injectStyle
27
+ /* scopeId */
28
+ var __vue_scopeId__ = null
29
+ /* moduleIdentifier (server only) */
30
+ var __vue_module_identifier__ = null
31
+ var Component = normalizeComponent(
32
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Switches_vue__["a" /* default */],
33
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_aa8ad7dc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Switches_vue__["a" /* default */],
34
+ __vue_template_functional__,
35
+ __vue_styles__,
36
+ __vue_scopeId__,
37
+ __vue_module_identifier__
38
+ )
39
+ Component.options.__file = "src/admin/components/Switches.vue"
40
+
41
+ /* hot reload */
42
+ if (false) {(function () {
43
+ var hotAPI = require("vue-hot-reload-api")
44
+ hotAPI.install(require("vue"), false)
45
+ if (!hotAPI.compatible) return
46
+ module.hot.accept()
47
+ if (!module.hot.data) {
48
+ hotAPI.createRecord("data-v-aa8ad7dc", Component.options)
49
+ } else {
50
+ hotAPI.reload("data-v-aa8ad7dc", Component.options)
51
+ }
52
+ module.hot.dispose(function (data) {
53
+ disposed = true
54
+ })
55
+ })()}
56
+
57
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
58
+
59
+
60
+ /***/ }),
61
+ /* 4 */,
62
+ /* 5 */,
63
+ /* 6 */
64
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
65
+
66
+ "use strict";
67
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_chartjs__ = __webpack_require__(14);
68
+
69
+ /* harmony default export */ __webpack_exports__["a"] = ({
70
+ extends: __WEBPACK_IMPORTED_MODULE_0_vue_chartjs__["Line"],
71
+ props: ['data'],
72
+ data: function data() {
73
+ return {
74
+ options: {
75
+ responsive: true,
76
+ maintainAspectRatio: false,
77
+ scales: {
78
+ xAxes: [{
79
+ type: 'time',
80
+ scaleLabel: {
81
+ display: false
82
+ },
83
+ gridLines: {
84
+ display: false
85
+ },
86
+ ticks: {
87
+ fontColor: '#aaa',
88
+ fontSize: 11
89
+ }
90
+ }],
91
+ yAxes: [{
92
+ scaleLabel: {
93
+ display: false
94
+ },
95
+ ticks: {
96
+ fontColor: '#aaa'
97
+ }
98
+ }]
99
+ },
100
+ legend: {
101
+ position: 'top',
102
+ onClick: false
103
+ },
104
+ elements: {
105
+ line: {
106
+ tension: 0,
107
+ borderWidth: 4
108
+ },
109
+ point: {
110
+ radius: 5,
111
+ borderWidth: 3,
112
+ backgroundColor: '#fff',
113
+ borderColor: '#fff'
114
+ }
115
+ },
116
+ tooltips: {
117
+ displayColors: false,
118
+ callbacks: {
119
+ label: function label(tooltipItems, data) {
120
+ var label = data.datasets[tooltipItems.datasetIndex].label || '';
121
+ var customLabel = data.datasets[tooltipItems.datasetIndex].tooltipLabel || '';
122
+ var prefix = data.datasets[tooltipItems.datasetIndex].tooltipPrefix || '';
123
+ var tooltipLabel = customLabel ? customLabel + ': ' : label + ': ';
124
+ tooltipLabel += prefix + tooltipItems.yLabel;
125
+ return tooltipLabel;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ };
131
+ },
132
+ mounted: function mounted() {
133
+ this.renderChart(this.data, this.options);
134
+ }
135
+ });
136
+
137
+ /***/ }),
138
+ /* 7 */
139
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
140
+
141
+ "use strict";
142
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_color_src_components_Sketch_vue__ = __webpack_require__(51);
143
+ //
144
+ //
145
+ //
146
+ //
147
+ //
148
+ //
149
+ //
150
+ //
151
+ //
152
+ //
153
+ //
154
+ //
155
+ //
156
+ //
157
+ //
158
+ //
159
+ //
160
+ //
161
+ //
162
+ //
163
+ //
164
+ //
165
+ //
166
+ //
167
+ //
168
+ //
169
+ //
170
+ //
171
+ //
172
+ //
173
+ //
174
+ //
175
+ //
176
+ //
177
+ //
178
+ //
179
+ //
180
+ //
181
+ //
182
+ //
183
+ //
184
+ //
185
+ //
186
+ //
187
+
188
+ /* harmony default export */ __webpack_exports__["a"] = ({
189
+ components: {
190
+ Sketch: __WEBPACK_IMPORTED_MODULE_0_vue_color_src_components_Sketch_vue__["a" /* default */]
191
+ },
192
+ props: {
193
+ value: {
194
+ type: String,
195
+ required: true,
196
+ default: ''
197
+ },
198
+ format: {
199
+ type: String,
200
+ required: false,
201
+ default: 'hex',
202
+ validator: function validator(type) {
203
+ return ['hsl', 'hex', 'rgba', 'hsv'].indexOf(type) !== -1;
204
+ }
205
+ },
206
+ presetColors: {
207
+ type: Array,
208
+ required: false,
209
+ default: function _default() {
210
+ return ['#000', '#fff', '#d33', '#d93', '#ee2', '#81d742', '#1e73be', '#8224e3'];
211
+ }
212
+ },
213
+ disableAlpha: {
214
+ type: Boolean,
215
+ required: false,
216
+ default: true
217
+ },
218
+ disableFields: {
219
+ type: Boolean,
220
+ required: false,
221
+ default: true
222
+ }
223
+ },
224
+ data: function data() {
225
+ return {
226
+ showColorPicker: false
227
+ };
228
+ },
229
+ methods: {
230
+ updateColor: function updateColor(colors) {
231
+ var color = '';
232
+
233
+ if (colors[this.format]) {
234
+ color = colors[this.format];
235
+ }
236
+
237
+ this.$emit('input', color);
238
+ },
239
+ toggleColorPicker: function toggleColorPicker() {
240
+ this.showColorPicker = !this.showColorPicker;
241
+ },
242
+ setHexColor: function setHexColor(color) {
243
+ this.updateColor({
244
+ hex: color
245
+ });
246
+ }
247
+ }
248
+ });
249
+
250
+ /***/ }),
251
+ /* 8 */
252
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
253
+
254
+ "use strict";
255
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_debounce__ = __webpack_require__(2);
256
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_debounce___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_debounce__);
257
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_admin_components_Switches_vue__ = __webpack_require__(3);
258
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_admin_components_UploadImage_vue__ = __webpack_require__(15);
259
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_admin_components_PasswordGenerator_vue__ = __webpack_require__(16);
260
+ //
261
+ //
262
+ //
263
+ //
264
+ //
265
+ //
266
+ //
267
+ //
268
+ //
269
+ //
270
+ //
271
+ //
272
+ //
273
+ //
274
+ //
275
+ //
276
+ //
277
+ //
278
+ //
279
+ //
280
+ //
281
+ //
282
+ //
283
+ //
284
+ //
285
+ //
286
+ //
287
+ //
288
+ //
289
+ //
290
+ //
291
+ //
292
+ //
293
+ //
294
+ //
295
+ //
296
+ //
297
+ //
298
+ //
299
+ //
300
+ //
301
+ //
302
+ //
303
+ //
304
+ //
305
+ //
306
+ //
307
+ //
308
+ //
309
+ //
310
+ //
311
+ //
312
+ //
313
+ //
314
+ //
315
+ //
316
+ //
317
+ //
318
+ //
319
+ //
320
+ //
321
+ //
322
+ //
323
+ //
324
+ //
325
+ //
326
+ //
327
+ //
328
+ //
329
+ //
330
+ //
331
+ //
332
+ //
333
+ //
334
+ //
335
+ //
336
+ //
337
+ //
338
+ //
339
+ //
340
+ //
341
+ //
342
+ //
343
+ //
344
+ //
345
+ //
346
+ //
347
+ //
348
+ //
349
+ //
350
+ //
351
+ //
352
+ //
353
+ //
354
+ //
355
+ //
356
+ //
357
+ //
358
+ //
359
+ //
360
+ //
361
+ //
362
+ //
363
+ //
364
+ //
365
+ //
366
+ //
367
+ //
368
+ //
369
+ //
370
+ //
371
+ //
372
+ //
373
+ //
374
+ //
375
+ //
376
+ //
377
+ //
378
+ //
379
+ //
380
+ //
381
+ //
382
+ //
383
+ //
384
+ //
385
+ //
386
+ //
387
+ //
388
+ //
389
+ //
390
+ //
391
+ //
392
+
393
+
394
+
395
+
396
+ /* harmony default export */ __webpack_exports__["a"] = ({
397
+ name: 'VendorAccountFields',
398
+ components: {
399
+ Switches: __WEBPACK_IMPORTED_MODULE_1_admin_components_Switches_vue__["a" /* default */],
400
+ UploadImage: __WEBPACK_IMPORTED_MODULE_2_admin_components_UploadImage_vue__["a" /* default */],
401
+ PasswordGenerator: __WEBPACK_IMPORTED_MODULE_3_admin_components_PasswordGenerator_vue__["a" /* default */]
402
+ },
403
+ props: {
404
+ vendorInfo: {
405
+ type: Object
406
+ },
407
+ errors: {
408
+ type: Array,
409
+ required: false
410
+ }
411
+ },
412
+ data: function data() {
413
+ return {
414
+ showStoreUrl: true,
415
+ showPassword: false,
416
+ otherStoreUrl: null,
417
+ banner: '',
418
+ defaultUrl: dokan.urls.siteUrl + dokan.urls.storePrefix + '/',
419
+ showButton: true,
420
+ placeholderData: '',
421
+ delay: 500,
422
+ storeAvailable: null,
423
+ userNameAvailable: null,
424
+ emailAvailable: null,
425
+ storeAvailabilityText: '',
426
+ userNameAvailabilityText: '',
427
+ emailAvailabilityText: '',
428
+ getAccountFields: dokan.hooks.applyFilters('getVendorAccountFields', [])
429
+ };
430
+ },
431
+ watch: {
432
+ 'vendorInfo.store_name': function vendorInfoStore_name(value) {
433
+ this.showStoreUrl = true;
434
+ },
435
+ 'vendorInfo.user_nicename': function vendorInfoUser_nicename(newValue) {
436
+ if (typeof newValue !== 'undefined') {
437
+ this.showStoreUrl = false;
438
+ this.otherStoreUrl = this.defaultUrl + newValue.trim().split(' ').join('-');
439
+ this.vendorInfo.user_nicename = newValue.split(' ').join('-'); // check if the typed url is available
440
+
441
+ this.checkStoreName();
442
+ }
443
+ },
444
+ 'vendorInfo.user_login': function vendorInfoUser_login(value) {
445
+ this.checkUsername();
446
+ },
447
+ 'vendorInfo.user_email': function vendorInfoUser_email(value) {
448
+ this.checkEmail();
449
+ }
450
+ },
451
+ computed: {
452
+ storeUrl: function storeUrl() {
453
+ var storeUrl = this.vendorInfo.store_name.trim().split(' ').join('-');
454
+ this.vendorInfo.user_nicename = storeUrl;
455
+ this.otherStoreUrl = this.defaultUrl + storeUrl;
456
+ return this.defaultUrl + storeUrl;
457
+ }
458
+ },
459
+ created: function created() {
460
+ var _this = this;
461
+
462
+ this.checkStoreName = Object(__WEBPACK_IMPORTED_MODULE_0_debounce__["debounce"])(this.checkStore, this.delay);
463
+ this.checkUsername = Object(__WEBPACK_IMPORTED_MODULE_0_debounce__["debounce"])(this.searchUsername, this.delay);
464
+ this.checkEmail = Object(__WEBPACK_IMPORTED_MODULE_0_debounce__["debounce"])(this.searchEmail, this.delay);
465
+ this.$root.$on('passwordCancelled', function () {
466
+ _this.showPassword = false;
467
+ });
468
+ },
469
+ methods: {
470
+ uploadBanner: function uploadBanner(image) {
471
+ this.vendorInfo.banner_id = image.id; // hide button and footer text after uploading banner
472
+
473
+ this.showButton = false;
474
+ },
475
+ uploadGravatar: function uploadGravatar(image) {
476
+ this.vendorInfo.gravatar_id = image.id;
477
+ },
478
+ // getId function has been used to identify whether is it vendor edit page or not
479
+ getId: function getId() {
480
+ return this.$route.params.id;
481
+ },
482
+ onSelectBanner: function onSelectBanner(image) {
483
+ this.banner = image.url;
484
+ this.vendorInfo.banner_id = image.id;
485
+ },
486
+ getError: function getError(key) {
487
+ var errors = this.errors;
488
+
489
+ if (!errors || typeof errors === 'undefined') {
490
+ return false;
491
+ }
492
+
493
+ if (errors.length < 1) {
494
+ return false;
495
+ }
496
+
497
+ if (errors.includes(key)) {
498
+ return key;
499
+ }
500
+ },
501
+ checkStore: function checkStore() {
502
+ var _this2 = this;
503
+
504
+ var storeName = this.vendorInfo.user_nicename;
505
+
506
+ if (!storeName) {
507
+ return;
508
+ }
509
+
510
+ this.storeAvailabilityText = this.__('Searching...', 'dokan-lite');
511
+ dokan.api.get("/stores/check", {
512
+ store_slug: storeName
513
+ }).then(function (response) {
514
+ if (response.available) {
515
+ _this2.storeAvailable = true;
516
+
517
+ _this2.$root.$emit('vendorInfoChecked', {
518
+ userNameAvailable: _this2.userNameAvailable,
519
+ storeAvailable: _this2.storeAvailable,
520
+ emailAvailable: _this2.emailAvailable
521
+ });
522
+
523
+ _this2.storeAvailabilityText = _this2.__('Available', 'dokan-lite');
524
+ } else {
525
+ _this2.storeAvailable = false;
526
+
527
+ _this2.$root.$emit('vendorInfoChecked', {
528
+ userNameAvailable: _this2.userNameAvailable,
529
+ storeAvailable: _this2.storeAvailable,
530
+ emailAvailable: _this2.emailAvailable
531
+ });
532
+
533
+ _this2.storeAvailabilityText = _this2.__('Not Available', 'dokan-lite');
534
+ }
535
+ });
536
+ },
537
+ searchUsername: function searchUsername() {
538
+ var _this3 = this;
539
+
540
+ var userName = this.vendorInfo.user_login;
541
+
542
+ if (!userName) {
543
+ return;
544
+ }
545
+
546
+ this.userNameAvailabilityText = this.__('Searching...', 'dokan-lite');
547
+ dokan.api.get("/stores/check", {
548
+ username: userName
549
+ }).then(function (response) {
550
+ if (response.available) {
551
+ _this3.userNameAvailable = true;
552
+
553
+ _this3.$root.$emit('vendorInfoChecked', {
554
+ userNameAvailable: _this3.userNameAvailable,
555
+ storeAvailable: _this3.storeAvailable,
556
+ emailAvailable: _this3.emailAvailable
557
+ });
558
+
559
+ _this3.userNameAvailabilityText = _this3.__('Available', 'dokan-lite');
560
+ } else {
561
+ _this3.userNameAvailable = false;
562
+
563
+ _this3.$root.$emit('vendorInfoChecked', {
564
+ userNameAvailable: _this3.userNameAvailable,
565
+ storeAvailable: _this3.storeAvailable,
566
+ emailAvailable: _this3.emailAvailable
567
+ });
568
+
569
+ _this3.userNameAvailabilityText = _this3.__('Not Available', 'dokan-lite');
570
+ }
571
+ });
572
+ },
573
+ searchEmail: function searchEmail() {
574
+ var _this4 = this;
575
+
576
+ var userEmail = this.vendorInfo.user_email;
577
+
578
+ if (!userEmail) {
579
+ return;
580
+ }
581
+
582
+ this.emailAvailabilityText = this.__('Searching...', 'dokan-lite');
583
+ dokan.api.get("/stores/check", {
584
+ user_email: userEmail
585
+ }).then(function (response) {
586
+ if (response.available) {
587
+ _this4.emailAvailable = true;
588
+
589
+ _this4.$root.$emit('vendorInfoChecked', {
590
+ userNameAvailable: _this4.userNameAvailable,
591
+ storeAvailable: _this4.storeAvailable,
592
+ emailAvailable: _this4.emailAvailable
593
+ });
594
+
595
+ _this4.emailAvailabilityText = _this4.__('Available', 'dokan-lite');
596
+ } else {
597
+ _this4.emailAvailable = false;
598
+
599
+ _this4.$root.$emit('vendorInfoChecked', {
600
+ userNameAvailable: _this4.userNameAvailable,
601
+ storeAvailable: _this4.storeAvailable,
602
+ emailAvailable: _this4.emailAvailable
603
+ });
604
+
605
+ _this4.emailAvailabilityText = response.message ? response.message : _this4.__('This email is already registered, please choose another one.', 'dokan-lite');
606
+ }
607
+ });
608
+ },
609
+ setPassword: function setPassword(password) {
610
+ this.showPassword = true;
611
+ this.vendorInfo.user_pass = password;
612
+ },
613
+ sendEmail: function sendEmail(status, key) {
614
+ if ('notify_vendor' !== key) {
615
+ return;
616
+ }
617
+
618
+ this.vendorInfo.notify_vendor = status;
619
+ },
620
+ getUploadBannerText: function getUploadBannerText() {
621
+ var width = dokan.store_banner_dimension.width;
622
+ var height = dokan.store_banner_dimension.height;
623
+ return this.__("Upload banner for your store. Banner size is (".concat(width, "x").concat(height, ") pixels."), 'dokan-lite');
624
+ }
625
+ }
626
+ });
627
+
628
+ /***/ }),
629
+ /* 9 */
630
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
631
+
632
+ "use strict";
633
+ //
634
+ //
635
+ //
636
+ //
637
+ //
638
+ //
639
+ //
640
+ /* harmony default export */ __webpack_exports__["a"] = ({
641
+ name: 'Switches',
642
+ props: {
643
+ enabled: {
644
+ type: Boolean,
645
+ // String, Number, Boolean, Function, Object, Array
646
+ required: true,
647
+ default: false
648
+ },
649
+ value: {
650
+ type: [String, Number]
651
+ }
652
+ },
653
+ data: function data() {
654
+ return {};
655
+ },
656
+ methods: {
657
+ trigger: function trigger(e) {
658
+ this.$emit('input', e.target.checked, e.target.value);
659
+ }
660
+ }
661
+ });
662
+
663
+ /***/ }),
664
+ /* 10 */
665
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
666
+
667
+ "use strict";
668
+ //
669
+ //
670
+ //
671
+ //
672
+ //
673
+ //
674
+ //
675
+ //
676
+ //
677
+ //
678
+ /* harmony default export */ __webpack_exports__["a"] = ({
679
+ name: 'UploadImage',
680
+ inheritAttrs: false,
681
+ props: {
682
+ src: {
683
+ default: dokan.urls.assetsUrl + '/images/store-pic.png'
684
+ },
685
+ showButton: {
686
+ type: Boolean,
687
+ default: false
688
+ },
689
+ buttonLabel: {
690
+ type: String,
691
+ default: 'Upload Image'
692
+ },
693
+ croppingWidth: {
694
+ type: Number
695
+ },
696
+ croppingHeight: {
697
+ type: Number
698
+ }
699
+ },
700
+ data: function data() {
701
+ return {
702
+ image: {
703
+ src: '',
704
+ id: ''
705
+ }
706
+ };
707
+ },
708
+ methods: {
709
+ uploadImage: function uploadImage() {
710
+ this.openMediaManager(this.onSelectImage);
711
+ },
712
+ onSelectImage: function onSelectImage(image) {
713
+ this.image.src = image.url;
714
+ this.image.id = image.id;
715
+ this.$emit('uploadedImage', this.image);
716
+ },
717
+
718
+ /**
719
+ * Open Image Media Uploader
720
+ *
721
+ * @param function callback
722
+ *
723
+ * @return callback
724
+ */
725
+ openMediaManager: function openMediaManager(callback) {
726
+ var self = this;
727
+
728
+ if (self.fileFrame) {
729
+ self.fileFrame.open();
730
+ return;
731
+ }
732
+
733
+ var fileStatesOptions = {
734
+ library: wp.media.query(),
735
+ multiple: false,
736
+ // set it true for multiple image
737
+ title: this.__('Select & Crop Image', 'dokan-lite'),
738
+ priority: 20,
739
+ filterable: 'uploaded',
740
+ autoSelect: true,
741
+ suggestedWidth: 500,
742
+ suggestedHeight: 300
743
+ };
744
+ var cropControl = {
745
+ id: "control-id",
746
+ params: {
747
+ width: this.croppingWidth ? parseInt(this.croppingWidth, 10) : parseInt(dokan.store_banner_dimension.width, 10),
748
+ height: this.croppingHeight ? parseInt(this.croppingHeight, 10) : parseInt(dokan.store_banner_dimension.height, 10),
749
+ flex_width: !!parseInt(dokan.store_banner_dimension['flex-width'], 10),
750
+ flex_height: !!parseInt(dokan.store_banner_dimension['flex-height'], 10)
751
+ }
752
+ };
753
+
754
+ cropControl.mustBeCropped = function (flexW, flexH, dstW, dstH, imgW, imgH) {
755
+ // If the width and height are both flexible
756
+ // then the user does not need to crop the image.
757
+ if (true === flexW && true === flexH) {
758
+ return false;
759
+ } // If the width is flexible and the cropped image height matches the current image height,
760
+ // then the user does not need to crop the image.
761
+
762
+
763
+ if (true === flexW && dstH === imgH) {
764
+ return false;
765
+ } // If the height is flexible and the cropped image width matches the current image width,
766
+ // then the user does not need to crop the image.
767
+
768
+
769
+ if (true === flexH && dstW === imgW) {
770
+ return false;
771
+ } // If the cropped image width matches the current image width,
772
+ // and the cropped image height matches the current image height
773
+ // then the user does not need to crop the image.
774
+
775
+
776
+ if (dstW === imgW && dstH === imgH) {
777
+ return false;
778
+ } // If the destination width is equal to or greater than the cropped image width
779
+ // then the user does not need to crop the image...
780
+
781
+
782
+ if (imgW <= dstW) {
783
+ return false;
784
+ }
785
+
786
+ return true;
787
+ };
788
+
789
+ var fileStates = [new wp.media.controller.Library(fileStatesOptions), new wp.media.controller.CustomizeImageCropper({
790
+ imgSelectOptions: self.calculateImageSelectOptions,
791
+ control: cropControl
792
+ })];
793
+ var mediaOptions = {
794
+ title: this.__('Select Image', 'dokan-lite'),
795
+ button: {
796
+ text: this.__('Select Image', 'dokan-lite'),
797
+ close: false
798
+ },
799
+ multiple: false
800
+ };
801
+ mediaOptions.states = fileStates;
802
+ self.fileFrame = wp.media(mediaOptions);
803
+ self.fileFrame.on('select', function () {
804
+ self.fileFrame.setState('cropper');
805
+ });
806
+ self.fileFrame.on('cropped', function (croppedImage) {
807
+ callback(croppedImage);
808
+ self.fileFrame = null;
809
+ });
810
+ self.fileFrame.on('skippedcrop', function () {
811
+ var selection = self.fileFrame.state().get('selection');
812
+ var files = selection.map(function (attachment) {
813
+ return attachment.toJSON();
814
+ });
815
+ var file = files.pop();
816
+ callback(file);
817
+ self.fileFrame = null;
818
+ });
819
+ self.fileFrame.on('close', function () {
820
+ self.fileFrame = null;
821
+ });
822
+ self.fileFrame.on('ready', function () {
823
+ self.fileFrame.uploader.options.uploader.params = {
824
+ type: 'dokan-vendor-option-media'
825
+ };
826
+ });
827
+ self.fileFrame.open();
828
+ },
829
+
830
+ /**
831
+ * Calculate image section options
832
+ *
833
+ * @param object attachment
834
+ * @param object controller
835
+ *
836
+ * @return object
837
+ */
838
+ calculateImageSelectOptions: function calculateImageSelectOptions(attachment, controller) {
839
+ var xInit = this.croppingWidth ? parseInt(this.croppingWidth, 10) : parseInt(dokan.store_banner_dimension.width, 10);
840
+ var yInit = this.croppingHeight ? parseInt(this.croppingHeight, 10) : parseInt(dokan.store_banner_dimension.height, 10);
841
+ var flexWidth = !!parseInt(dokan.store_banner_dimension['flex-width'], 10);
842
+ var flexHeight = !!parseInt(dokan.store_banner_dimension['flex-height'], 10);
843
+ var ratio, xImg, yImg, realHeight, realWidth, imgSelectOptions;
844
+ realWidth = attachment.get('width');
845
+ realHeight = attachment.get('height');
846
+ var control = controller.get('control');
847
+ controller.set('canSkipCrop', !control.mustBeCropped(flexWidth, flexHeight, xInit, yInit, realWidth, realHeight));
848
+ ratio = xInit / yInit;
849
+ xImg = realWidth;
850
+ yImg = realHeight;
851
+
852
+ if (xImg / yImg > ratio) {
853
+ yInit = yImg;
854
+ xInit = yInit * ratio;
855
+ } else {
856
+ xInit = xImg;
857
+ yInit = xInit / ratio;
858
+ }
859
+
860
+ imgSelectOptions = {
861
+ handles: true,
862
+ keys: true,
863
+ instance: true,
864
+ persistent: true,
865
+ imageWidth: realWidth,
866
+ imageHeight: realHeight,
867
+ x1: 0,
868
+ y1: 0,
869
+ x2: xInit,
870
+ y2: yInit
871
+ };
872
+
873
+ if (flexHeight === false && flexWidth === false) {
874
+ imgSelectOptions.aspectRatio = xInit + ':' + yInit;
875
+ }
876
+
877
+ if (flexHeight === false) {
878
+ imgSelectOptions.maxHeight = yInit;
879
+ }
880
+
881
+ if (flexWidth === false) {
882
+ imgSelectOptions.maxWidth = xInit;
883
+ }
884
+
885
+ return imgSelectOptions;
886
+ }
887
+ }
888
+ });
889
+
890
+ /***/ }),
891
+ /* 11 */
892
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
893
+
894
+ "use strict";
895
+ //
896
+ //
897
+ //
898
+ //
899
+ //
900
+ //
901
+ //
902
+ //
903
+ //
904
+ //
905
+ //
906
+ //
907
+ //
908
+ //
909
+ //
910
+ //
911
+ //
912
+ //
913
+ /* harmony default export */ __webpack_exports__["a"] = ({
914
+ name: 'PasswordGenerator',
915
+ props: {
916
+ title: {
917
+ type: String,
918
+ default: 'Generate Password'
919
+ },
920
+ cancelTitle: {
921
+ type: String,
922
+ default: 'Cancel'
923
+ },
924
+ regenrateTitle: {
925
+ type: String,
926
+ default: 'Regenrate'
927
+ },
928
+ length: {
929
+ type: Number,
930
+ default: 25
931
+ }
932
+ },
933
+ data: function data() {
934
+ return {
935
+ password: '',
936
+ hideGenerateButton: false,
937
+ showCancelButton: false
938
+ };
939
+ },
940
+ methods: {
941
+ generatePassword: function generatePassword() {
942
+ this.password = this.makePassword(this.length);
943
+ this.$emit('passwordGenerated', this.password);
944
+ this.hideGenerateButton = true;
945
+ this.showCancelButton = true;
946
+ },
947
+ makePassword: function makePassword() {
948
+ var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 25;
949
+ var lowerCaseChars = 'abcdefghijklmnopqurstuvwxyz';
950
+ var upperCaseChars = 'ABCDEFGHIJKLMNOPQURSTUVWXYZ';
951
+ var specialChars = '!@#$%^&*()';
952
+ var randomChars = '';
953
+
954
+ for (var i = 0; i <= len; i++) {
955
+ var mixUp = lowerCaseChars[Math.floor(Math.random() * len)] + upperCaseChars[Math.floor(Math.random() * 10)] + specialChars[Math.floor(Math.random() * specialChars.length)];
956
+ randomChars += mixUp;
957
+ }
958
+
959
+ return randomChars.slice(-len);
960
+ },
961
+ cancelButton: function cancelButton() {
962
+ this.hideGenerateButton = false;
963
+ this.showCancelButton = false;
964
+ this.$root.$emit('passwordCancelled');
965
+ },
966
+ regenratePassword: function regenratePassword() {
967
+ this.password = this.makePassword(this.length);
968
+ this.$emit('passwordGenerated', this.password);
969
+ }
970
+ }
971
+ });
972
+
973
+ /***/ }),
974
+ /* 12 */
975
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
976
+
977
+ "use strict";
978
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_multiselect__ = __webpack_require__(4);
979
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_multiselect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue_multiselect__);
980
+ //
981
+ //
982
+ //
983
+ //
984
+ //
985
+ //
986
+ //
987
+ //
988
+ //
989
+ //
990
+ //
991
+ //
992
+ //
993
+ //
994
+ //
995
+ //
996
+ //
997
+ //
998
+ //
999
+ //
1000
+ //
1001
+ //
1002
+ //
1003
+ //
1004
+ //
1005
+ //
1006
+ //
1007
+ //
1008
+ //
1009
+ //
1010
+ //
1011
+ //
1012
+ //
1013
+ //
1014
+ //
1015
+ //
1016
+ //
1017
+ //
1018
+ //
1019
+ //
1020
+ //
1021
+ //
1022
+ //
1023
+ //
1024
+ //
1025
+ //
1026
+ //
1027
+ //
1028
+ //
1029
+ //
1030
+ //
1031
+ //
1032
+ //
1033
+ //
1034
+ //
1035
+
1036
+ /* harmony default export */ __webpack_exports__["a"] = ({
1037
+ name: 'VendorAddressFields',
1038
+ components: {
1039
+ Multiselect: __WEBPACK_IMPORTED_MODULE_0_vue_multiselect__["Multiselect"]
1040
+ },
1041
+ props: {
1042
+ vendorInfo: {
1043
+ type: Object
1044
+ }
1045
+ },
1046
+ data: function data() {
1047
+ return {
1048
+ countries: [],
1049
+ states: [],
1050
+ selectedCountry: {},
1051
+ selectedState: {},
1052
+ getAddressFields: dokan.hooks.applyFilters('getVendorAddressFields', [])
1053
+ };
1054
+ },
1055
+ computed: {
1056
+ selectedCode: function selectedCode() {
1057
+ // let selected = this.selectedCountry;
1058
+ var selected = this.vendorInfo.address.country;
1059
+
1060
+ if ('' !== selected) {
1061
+ return selected;
1062
+ }
1063
+
1064
+ return [];
1065
+ }
1066
+ },
1067
+ created: function created() {
1068
+ this.countries = this.transformCountries(dokan.countries);
1069
+ this.states = dokan.states;
1070
+ var savedCountry = this.vendorInfo.address.country;
1071
+ var savedState = this.vendorInfo.address.state;
1072
+
1073
+ if ('' !== savedCountry) {
1074
+ this.selectedCountry = {
1075
+ name: this.getCountryFromCountryCode(savedCountry),
1076
+ code: savedCountry
1077
+ };
1078
+ this.selectedState = {
1079
+ name: this.getStateFromStateCode(savedState, savedCountry),
1080
+ code: savedState
1081
+ };
1082
+ }
1083
+ },
1084
+ methods: {
1085
+ transformCountries: function transformCountries(countryObject) {
1086
+ var countries = [];
1087
+
1088
+ for (var key in countryObject) {
1089
+ countries.push({
1090
+ name: countryObject[key],
1091
+ code: key
1092
+ });
1093
+ }
1094
+
1095
+ return countries;
1096
+ },
1097
+ getCountryFromCountryCode: function getCountryFromCountryCode(countryCode) {
1098
+ if ('' === countryCode) {
1099
+ return;
1100
+ }
1101
+
1102
+ return dokan.countries[countryCode];
1103
+ },
1104
+ getStateFromStateCode: function getStateFromStateCode(stateCode, countryCode) {
1105
+ if ('' === stateCode) {
1106
+ return;
1107
+ }
1108
+
1109
+ var states = dokan.states[countryCode];
1110
+ var state = states && states[stateCode];
1111
+ return typeof state !== 'undefined' ? state : [];
1112
+ },
1113
+ getStatesFromCountryCode: function getStatesFromCountryCode(countryCode) {
1114
+ if ('' === countryCode) {
1115
+ return;
1116
+ }
1117
+
1118
+ var states = [];
1119
+ var statesObject = this.states;
1120
+
1121
+ for (var state in statesObject) {
1122
+ if (state !== countryCode) {
1123
+ continue;
1124
+ }
1125
+
1126
+ if (statesObject[state] && statesObject[state].length < 1) {
1127
+ continue;
1128
+ }
1129
+
1130
+ for (var name in statesObject[state]) {
1131
+ states.push({
1132
+ name: statesObject[state][name],
1133
+ code: name
1134
+ });
1135
+ }
1136
+ }
1137
+
1138
+ return states;
1139
+ },
1140
+ saveCountry: function saveCountry(value) {
1141
+ if (!value) return; // if reset default state values
1142
+
1143
+ this.vendorInfo.address.state = null;
1144
+ this.selectedState = {};
1145
+ this.vendorInfo.address.country = value.code;
1146
+ },
1147
+ saveState: function saveState(value) {
1148
+ if (!value) return;
1149
+ this.vendorInfo.address.state = value.code;
1150
+ }
1151
+ }
1152
+ });
1153
+
1154
+ /***/ }),
1155
+ /* 13 */
1156
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1157
+
1158
+ "use strict";
1159
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_admin_components_Switches_vue__ = __webpack_require__(3);
1160
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_multiselect__ = __webpack_require__(4);
1161
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_multiselect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue_multiselect__);
1162
+ //
1163
+ //
1164
+ //
1165
+ //
1166
+ //
1167
+ //
1168
+ //
1169
+ //
1170
+ //
1171
+ //
1172
+ //
1173
+ //
1174
+ //
1175
+ //
1176
+ //
1177
+ //
1178
+ //
1179
+ //
1180
+ //
1181
+ //
1182
+ //
1183
+ //
1184
+ //
1185
+ //
1186
+ //
1187
+ //
1188
+ //
1189
+ //
1190
+ //
1191
+ //
1192
+ //
1193
+ //
1194
+ //
1195
+ //
1196
+ //
1197
+ //
1198
+ //
1199
+ //
1200
+ //
1201
+ //
1202
+ //
1203
+ //
1204
+ //
1205
+ //
1206
+ //
1207
+ //
1208
+ //
1209
+ //
1210
+ //
1211
+ //
1212
+ //
1213
+ //
1214
+ //
1215
+ //
1216
+ //
1217
+ //
1218
+ //
1219
+ //
1220
+ //
1221
+ //
1222
+ //
1223
+ //
1224
+ //
1225
+ //
1226
+ //
1227
+ //
1228
+ //
1229
+ //
1230
+ //
1231
+ //
1232
+ //
1233
+ //
1234
+ //
1235
+ //
1236
+ //
1237
+ //
1238
+ //
1239
+ //
1240
+ //
1241
+ //
1242
+ //
1243
+ //
1244
+ //
1245
+ //
1246
+ //
1247
+ //
1248
+ //
1249
+ //
1250
+ //
1251
+ //
1252
+ //
1253
+ //
1254
+ //
1255
+ //
1256
+ //
1257
+ //
1258
+ //
1259
+ //
1260
+ //
1261
+ //
1262
+ //
1263
+ //
1264
+ //
1265
+ //
1266
+ //
1267
+ //
1268
+ //
1269
+ //
1270
+ //
1271
+ //
1272
+ //
1273
+ //
1274
+ //
1275
+ //
1276
+ //
1277
+
1278
+
1279
+ /* harmony default export */ __webpack_exports__["a"] = ({
1280
+ name: 'VendorPaymentFields',
1281
+ components: {
1282
+ Switches: __WEBPACK_IMPORTED_MODULE_0_admin_components_Switches_vue__["a" /* default */],
1283
+ Multiselect: __WEBPACK_IMPORTED_MODULE_1_vue_multiselect__["Multiselect"]
1284
+ },
1285
+ props: {
1286
+ vendorInfo: {
1287
+ type: Object
1288
+ }
1289
+ },
1290
+ data: function data() {
1291
+ return {
1292
+ enabled: false,
1293
+ trusted: false,
1294
+ featured: false,
1295
+ commissionTypes: [this.__('Flat', 'dokan-lite'), this.__('Percentage', 'dokan-lite'), this.__('Combine', 'dokan-lite')],
1296
+ selectedCommissionType: this.__('Flat', 'dokan-lite'),
1297
+ getBankFields: dokan.hooks.applyFilters('getVendorBankFields', []),
1298
+ getPyamentFields: dokan.hooks.applyFilters('AfterPyamentFields', [])
1299
+ };
1300
+ },
1301
+ created: function created() {
1302
+ if (this.vendorInfo.enabled) {
1303
+ this.enabled = true;
1304
+ this.vendorInfo.enabled = true;
1305
+ }
1306
+
1307
+ if (this.vendorInfo.trusted) {
1308
+ this.trusted = true;
1309
+ this.vendorInfo.trusted = true;
1310
+ }
1311
+
1312
+ if (this.vendorInfo.featured) {
1313
+ this.featured = true;
1314
+ this.vendorInfo.featured = true;
1315
+ }
1316
+
1317
+ var commissionType = this.vendorInfo.admin_commission_type;
1318
+
1319
+ if (commissionType) {
1320
+ this.selectedCommissionType = commissionType.charAt(0).toUpperCase() + commissionType.slice(1);
1321
+ }
1322
+ },
1323
+ methods: {
1324
+ setValue: function setValue(status, key) {
1325
+ if ('enabled' === key) {
1326
+ if (status) {
1327
+ this.vendorInfo.enabled = true;
1328
+ } else {
1329
+ this.vendorInfo.enabled = false;
1330
+ }
1331
+ }
1332
+
1333
+ if ('trusted' === key) {
1334
+ if (status) {
1335
+ this.vendorInfo.trusted = true;
1336
+ } else {
1337
+ this.vendorInfo.trusted = false;
1338
+ }
1339
+ }
1340
+
1341
+ if ('featured' === key) {
1342
+ if (status) {
1343
+ this.vendorInfo.featured = true;
1344
+ } else {
1345
+ this.vendorInfo.featured = false;
1346
+ }
1347
+ }
1348
+ },
1349
+ getId: function getId() {
1350
+ return this.$route.params.id;
1351
+ },
1352
+ saveCommissionType: function saveCommissionType(value) {
1353
+ if (!value) {
1354
+ this.vendorInfo.admin_commission_type = 'flat';
1355
+ }
1356
+
1357
+ this.vendorInfo.admin_commission_type = value.toLowerCase();
1358
+ }
1359
+ }
1360
+ });
1361
+
1362
+ /***/ }),
1363
+ /* 14 */,
1364
+ /* 15 */
1365
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1366
+
1367
+ "use strict";
1368
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_UploadImage_vue__ = __webpack_require__(10);
1369
+ /* unused harmony namespace reexport */
1370
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_40b3524c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_UploadImage_vue__ = __webpack_require__(29);
1371
+ var disposed = false
1372
+ function injectStyle (ssrContext) {
1373
+ if (disposed) return
1374
+ __webpack_require__(28)
1375
+ }
1376
+ var normalizeComponent = __webpack_require__(0)
1377
+ /* script */
1378
+
1379
+
1380
+ /* template */
1381
+
1382
+ /* template functional */
1383
+ var __vue_template_functional__ = false
1384
+ /* styles */
1385
+ var __vue_styles__ = injectStyle
1386
+ /* scopeId */
1387
+ var __vue_scopeId__ = null
1388
+ /* moduleIdentifier (server only) */
1389
+ var __vue_module_identifier__ = null
1390
+ var Component = normalizeComponent(
1391
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_UploadImage_vue__["a" /* default */],
1392
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_40b3524c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_UploadImage_vue__["a" /* default */],
1393
+ __vue_template_functional__,
1394
+ __vue_styles__,
1395
+ __vue_scopeId__,
1396
+ __vue_module_identifier__
1397
+ )
1398
+ Component.options.__file = "src/admin/components/UploadImage.vue"
1399
+
1400
+ /* hot reload */
1401
+ if (false) {(function () {
1402
+ var hotAPI = require("vue-hot-reload-api")
1403
+ hotAPI.install(require("vue"), false)
1404
+ if (!hotAPI.compatible) return
1405
+ module.hot.accept()
1406
+ if (!module.hot.data) {
1407
+ hotAPI.createRecord("data-v-40b3524c", Component.options)
1408
+ } else {
1409
+ hotAPI.reload("data-v-40b3524c", Component.options)
1410
+ }
1411
+ module.hot.dispose(function (data) {
1412
+ disposed = true
1413
+ })
1414
+ })()}
1415
+
1416
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
1417
+
1418
+
1419
+ /***/ }),
1420
+ /* 16 */
1421
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1422
+
1423
+ "use strict";
1424
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_PasswordGenerator_vue__ = __webpack_require__(11);
1425
+ /* unused harmony namespace reexport */
1426
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4084a478_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_PasswordGenerator_vue__ = __webpack_require__(30);
1427
+ var disposed = false
1428
+ var normalizeComponent = __webpack_require__(0)
1429
+ /* script */
1430
+
1431
+
1432
+ /* template */
1433
+
1434
+ /* template functional */
1435
+ var __vue_template_functional__ = false
1436
+ /* styles */
1437
+ var __vue_styles__ = null
1438
+ /* scopeId */
1439
+ var __vue_scopeId__ = null
1440
+ /* moduleIdentifier (server only) */
1441
+ var __vue_module_identifier__ = null
1442
+ var Component = normalizeComponent(
1443
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_PasswordGenerator_vue__["a" /* default */],
1444
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4084a478_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_PasswordGenerator_vue__["a" /* default */],
1445
+ __vue_template_functional__,
1446
+ __vue_styles__,
1447
+ __vue_scopeId__,
1448
+ __vue_module_identifier__
1449
+ )
1450
+ Component.options.__file = "src/admin/components/PasswordGenerator.vue"
1451
+
1452
+ /* hot reload */
1453
+ if (false) {(function () {
1454
+ var hotAPI = require("vue-hot-reload-api")
1455
+ hotAPI.install(require("vue"), false)
1456
+ if (!hotAPI.compatible) return
1457
+ module.hot.accept()
1458
+ if (!module.hot.data) {
1459
+ hotAPI.createRecord("data-v-4084a478", Component.options)
1460
+ } else {
1461
+ hotAPI.reload("data-v-4084a478", Component.options)
1462
+ }
1463
+ module.hot.dispose(function (data) {
1464
+ disposed = true
1465
+ })
1466
+ })()}
1467
+
1468
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
1469
+
1470
+
1471
+ /***/ }),
1472
+ /* 17 */,
1473
+ /* 18 */,
1474
+ /* 19 */,
1475
+ /* 20 */
1476
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1477
+
1478
+ "use strict";
1479
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Chart_vue__ = __webpack_require__(6);
1480
+ /* unused harmony namespace reexport */
1481
+ var disposed = false
1482
+ var normalizeComponent = __webpack_require__(0)
1483
+ /* script */
1484
+
1485
+
1486
+ /* template */
1487
+ var __vue_template__ = null
1488
+ /* template functional */
1489
+ var __vue_template_functional__ = false
1490
+ /* styles */
1491
+ var __vue_styles__ = null
1492
+ /* scopeId */
1493
+ var __vue_scopeId__ = null
1494
+ /* moduleIdentifier (server only) */
1495
+ var __vue_module_identifier__ = null
1496
+ var Component = normalizeComponent(
1497
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Chart_vue__["a" /* default */],
1498
+ __vue_template__,
1499
+ __vue_template_functional__,
1500
+ __vue_styles__,
1501
+ __vue_scopeId__,
1502
+ __vue_module_identifier__
1503
+ )
1504
+ Component.options.__file = "src/admin/components/Chart.vue"
1505
+
1506
+ /* hot reload */
1507
+ if (false) {(function () {
1508
+ var hotAPI = require("vue-hot-reload-api")
1509
+ hotAPI.install(require("vue"), false)
1510
+ if (!hotAPI.compatible) return
1511
+ module.hot.accept()
1512
+ if (!module.hot.data) {
1513
+ hotAPI.createRecord("data-v-28c376de", Component.options)
1514
+ } else {
1515
+ hotAPI.reload("data-v-28c376de", Component.options)
1516
+ }
1517
+ module.hot.dispose(function (data) {
1518
+ disposed = true
1519
+ })
1520
+ })()}
1521
+
1522
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
1523
+
1524
+
1525
+ /***/ }),
1526
+ /* 21 */,
1527
+ /* 22 */
1528
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1529
+
1530
+ "use strict";
1531
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_ColorPicker_vue__ = __webpack_require__(7);
1532
+ /* unused harmony namespace reexport */
1533
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_01dc0d51_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_ColorPicker_vue__ = __webpack_require__(24);
1534
+ var disposed = false
1535
+ function injectStyle (ssrContext) {
1536
+ if (disposed) return
1537
+ __webpack_require__(23)
1538
+ }
1539
+ var normalizeComponent = __webpack_require__(0)
1540
+ /* script */
1541
+
1542
+
1543
+ /* template */
1544
+
1545
+ /* template functional */
1546
+ var __vue_template_functional__ = false
1547
+ /* styles */
1548
+ var __vue_styles__ = injectStyle
1549
+ /* scopeId */
1550
+ var __vue_scopeId__ = "data-v-01dc0d51"
1551
+ /* moduleIdentifier (server only) */
1552
+ var __vue_module_identifier__ = null
1553
+ var Component = normalizeComponent(
1554
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_ColorPicker_vue__["a" /* default */],
1555
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_01dc0d51_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_ColorPicker_vue__["a" /* default */],
1556
+ __vue_template_functional__,
1557
+ __vue_styles__,
1558
+ __vue_scopeId__,
1559
+ __vue_module_identifier__
1560
+ )
1561
+ Component.options.__file = "src/admin/components/ColorPicker.vue"
1562
+
1563
+ /* hot reload */
1564
+ if (false) {(function () {
1565
+ var hotAPI = require("vue-hot-reload-api")
1566
+ hotAPI.install(require("vue"), false)
1567
+ if (!hotAPI.compatible) return
1568
+ module.hot.accept()
1569
+ if (!module.hot.data) {
1570
+ hotAPI.createRecord("data-v-01dc0d51", Component.options)
1571
+ } else {
1572
+ hotAPI.reload("data-v-01dc0d51", Component.options)
1573
+ }
1574
+ module.hot.dispose(function (data) {
1575
+ disposed = true
1576
+ })
1577
+ })()}
1578
+
1579
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
1580
+
1581
+
1582
+ /***/ }),
1583
+ /* 23 */
1584
+ /***/ (function(module, exports) {
1585
+
1586
+ // removed by extract-text-webpack-plugin
1587
+
1588
+ /***/ }),
1589
+ /* 24 */
1590
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1591
+
1592
+ "use strict";
1593
+ var render = function() {
1594
+ var _vm = this
1595
+ var _h = _vm.$createElement
1596
+ var _c = _vm._self._c || _h
1597
+ return _c(
1598
+ "div",
1599
+ { staticClass: "color-picker-container" },
1600
+ [
1601
+ _c(
1602
+ "button",
1603
+ {
1604
+ staticClass: "button color-picker-button",
1605
+ style: { backgroundColor: _vm.value },
1606
+ attrs: { type: "button" },
1607
+ on: { click: _vm.toggleColorPicker }
1608
+ },
1609
+ [_c("span", [_vm._v(_vm._s(_vm.__("Select Color", "dokan-lite")))])]
1610
+ ),
1611
+ _vm._v(" "),
1612
+ _vm.showColorPicker && _vm.format === "hex"
1613
+ ? _c("input", {
1614
+ staticClass: "hex-input",
1615
+ attrs: { type: "text" },
1616
+ domProps: { value: _vm.value },
1617
+ on: {
1618
+ input: function($event) {
1619
+ _vm.setHexColor($event.target.value)
1620
+ }
1621
+ }
1622
+ })
1623
+ : _vm._e(),
1624
+ _vm._v(" "),
1625
+ _vm.showColorPicker
1626
+ ? _c("div", { staticClass: "button-group" }, [
1627
+ _c(
1628
+ "button",
1629
+ {
1630
+ staticClass: "button button-small",
1631
+ attrs: { type: "button" },
1632
+ on: {
1633
+ click: function($event) {
1634
+ _vm.updateColor({})
1635
+ }
1636
+ }
1637
+ },
1638
+ [_vm._v(_vm._s(_vm.__("Clear", "dokan-lite")))]
1639
+ ),
1640
+ _vm._v(" "),
1641
+ _c(
1642
+ "button",
1643
+ {
1644
+ staticClass: "button button-small",
1645
+ attrs: { type: "button" },
1646
+ on: { click: _vm.toggleColorPicker }
1647
+ },
1648
+ [_vm._v(_vm._s(_vm.__("Close", "dokan-lite")))]
1649
+ )
1650
+ ])
1651
+ : _vm._e(),
1652
+ _vm._v(" "),
1653
+ _vm.showColorPicker
1654
+ ? _c("sketch", {
1655
+ attrs: {
1656
+ value: _vm.value,
1657
+ "preset-colors": _vm.presetColors,
1658
+ "disable-alpha": _vm.disableAlpha,
1659
+ "disable-fields": _vm.disableFields
1660
+ },
1661
+ on: { input: _vm.updateColor }
1662
+ })
1663
+ : _vm._e()
1664
+ ],
1665
+ 1
1666
+ )
1667
+ }
1668
+ var staticRenderFns = []
1669
+ render._withStripped = true
1670
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
1671
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
1672
+ if (false) {
1673
+ module.hot.accept()
1674
+ if (module.hot.data) {
1675
+ require("vue-hot-reload-api") .rerender("data-v-01dc0d51", esExports)
1676
+ }
1677
+ }
1678
+
1679
+ /***/ }),
1680
+ /* 25 */
1681
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1682
+
1683
+ "use strict";
1684
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorAccountFields_vue__ = __webpack_require__(8);
1685
+ /* unused harmony namespace reexport */
1686
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2b13daea_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorAccountFields_vue__ = __webpack_require__(31);
1687
+ var disposed = false
1688
+ var normalizeComponent = __webpack_require__(0)
1689
+ /* script */
1690
+
1691
+
1692
+ /* template */
1693
+
1694
+ /* template functional */
1695
+ var __vue_template_functional__ = false
1696
+ /* styles */
1697
+ var __vue_styles__ = null
1698
+ /* scopeId */
1699
+ var __vue_scopeId__ = null
1700
+ /* moduleIdentifier (server only) */
1701
+ var __vue_module_identifier__ = null
1702
+ var Component = normalizeComponent(
1703
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorAccountFields_vue__["a" /* default */],
1704
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2b13daea_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorAccountFields_vue__["a" /* default */],
1705
+ __vue_template_functional__,
1706
+ __vue_styles__,
1707
+ __vue_scopeId__,
1708
+ __vue_module_identifier__
1709
+ )
1710
+ Component.options.__file = "src/admin/pages/VendorAccountFields.vue"
1711
+
1712
+ /* hot reload */
1713
+ if (false) {(function () {
1714
+ var hotAPI = require("vue-hot-reload-api")
1715
+ hotAPI.install(require("vue"), false)
1716
+ if (!hotAPI.compatible) return
1717
+ module.hot.accept()
1718
+ if (!module.hot.data) {
1719
+ hotAPI.createRecord("data-v-2b13daea", Component.options)
1720
+ } else {
1721
+ hotAPI.reload("data-v-2b13daea", Component.options)
1722
+ }
1723
+ module.hot.dispose(function (data) {
1724
+ disposed = true
1725
+ })
1726
+ })()}
1727
+
1728
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
1729
+
1730
+
1731
+ /***/ }),
1732
+ /* 26 */
1733
+ /***/ (function(module, exports) {
1734
+
1735
+ // removed by extract-text-webpack-plugin
1736
+
1737
+ /***/ }),
1738
+ /* 27 */
1739
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1740
+
1741
+ "use strict";
1742
+ var render = function() {
1743
+ var _vm = this
1744
+ var _h = _vm.$createElement
1745
+ var _c = _vm._self._c || _h
1746
+ return _c("label", { staticClass: "switch tips" }, [
1747
+ _c("input", {
1748
+ staticClass: "toogle-checkbox",
1749
+ attrs: { type: "checkbox" },
1750
+ domProps: { checked: _vm.enabled, value: _vm.value },
1751
+ on: { change: _vm.trigger }
1752
+ }),
1753
+ _vm._v(" "),
1754
+ _c("span", { staticClass: "slider round" })
1755
+ ])
1756
+ }
1757
+ var staticRenderFns = []
1758
+ render._withStripped = true
1759
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
1760
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
1761
+ if (false) {
1762
+ module.hot.accept()
1763
+ if (module.hot.data) {
1764
+ require("vue-hot-reload-api") .rerender("data-v-aa8ad7dc", esExports)
1765
+ }
1766
+ }
1767
+
1768
+ /***/ }),
1769
+ /* 28 */
1770
+ /***/ (function(module, exports) {
1771
+
1772
+ // removed by extract-text-webpack-plugin
1773
+
1774
+ /***/ }),
1775
+ /* 29 */
1776
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1777
+
1778
+ "use strict";
1779
+ var render = function() {
1780
+ var _vm = this
1781
+ var _h = _vm.$createElement
1782
+ var _c = _vm._self._c || _h
1783
+ return _c(
1784
+ "div",
1785
+ { staticClass: "dokan-upload-image", on: { click: _vm.uploadImage } },
1786
+ [
1787
+ !_vm.showButton
1788
+ ? _c("img", { attrs: { src: _vm.image.src ? _vm.image.src : _vm.src } })
1789
+ : _vm._e(),
1790
+ _vm._v(" "),
1791
+ _vm.showButton
1792
+ ? _c(
1793
+ "button",
1794
+ {
1795
+ on: {
1796
+ click: function($event) {
1797
+ $event.preventDefault()
1798
+ _vm.uploadImage($event)
1799
+ }
1800
+ }
1801
+ },
1802
+ [_vm._v("\n " + _vm._s(_vm.buttonLabel) + "\n ")]
1803
+ )
1804
+ : _vm._e()
1805
+ ]
1806
+ )
1807
+ }
1808
+ var staticRenderFns = []
1809
+ render._withStripped = true
1810
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
1811
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
1812
+ if (false) {
1813
+ module.hot.accept()
1814
+ if (module.hot.data) {
1815
+ require("vue-hot-reload-api") .rerender("data-v-40b3524c", esExports)
1816
+ }
1817
+ }
1818
+
1819
+ /***/ }),
1820
+ /* 30 */
1821
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1822
+
1823
+ "use strict";
1824
+ var render = function() {
1825
+ var _vm = this
1826
+ var _h = _vm.$createElement
1827
+ var _c = _vm._self._c || _h
1828
+ return _c("div", { staticClass: "password-generator" }, [
1829
+ !_vm.hideGenerateButton
1830
+ ? _c(
1831
+ "button",
1832
+ {
1833
+ staticClass: "button button-secondary",
1834
+ on: {
1835
+ click: function($event) {
1836
+ $event.preventDefault()
1837
+ _vm.generatePassword($event)
1838
+ }
1839
+ }
1840
+ },
1841
+ [_vm._v("\n " + _vm._s(_vm.title) + "\n ")]
1842
+ )
1843
+ : _vm._e(),
1844
+ _vm._v(" "),
1845
+ _vm.showCancelButton
1846
+ ? _c(
1847
+ "button",
1848
+ {
1849
+ staticClass: "button regen-button",
1850
+ on: {
1851
+ click: function($event) {
1852
+ $event.preventDefault()
1853
+ _vm.regenratePassword($event)
1854
+ }
1855
+ }
1856
+ },
1857
+ [
1858
+ _c("span", { staticClass: "dashicons dashicons-controls-repeat" }),
1859
+ _vm._v("\n " + _vm._s(_vm.regenrateTitle) + "\n ")
1860
+ ]
1861
+ )
1862
+ : _vm._e(),
1863
+ _vm._v(" "),
1864
+ _vm.showCancelButton
1865
+ ? _c(
1866
+ "button",
1867
+ {
1868
+ staticClass: "button cancel-button",
1869
+ on: {
1870
+ click: function($event) {
1871
+ $event.preventDefault()
1872
+ _vm.cancelButton($event)
1873
+ }
1874
+ }
1875
+ },
1876
+ [_vm._v("\n " + _vm._s(_vm.cancelTitle) + "\n ")]
1877
+ )
1878
+ : _vm._e()
1879
+ ])
1880
+ }
1881
+ var staticRenderFns = []
1882
+ render._withStripped = true
1883
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
1884
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
1885
+ if (false) {
1886
+ module.hot.accept()
1887
+ if (module.hot.data) {
1888
+ require("vue-hot-reload-api") .rerender("data-v-4084a478", esExports)
1889
+ }
1890
+ }
1891
+
1892
+ /***/ }),
1893
+ /* 31 */
1894
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1895
+
1896
+ "use strict";
1897
+ var render = function() {
1898
+ var _vm = this
1899
+ var _h = _vm.$createElement
1900
+ var _c = _vm._self._c || _h
1901
+ return _c("form", { staticClass: "account-info" }, [
1902
+ _c("div", { staticClass: "content-header" }, [
1903
+ _vm._v(
1904
+ "\n " + _vm._s(_vm.__("Account Info", "dokan-lite")) + "\n "
1905
+ )
1906
+ ]),
1907
+ _vm._v(" "),
1908
+ _c("div", { staticClass: "content-body" }, [
1909
+ !_vm.getId()
1910
+ ? _c("div", { staticClass: "vendor-image" }, [
1911
+ _c("div", { staticClass: "picture" }, [
1912
+ _c("p", { staticClass: "picture-header" }, [
1913
+ _vm._v(_vm._s(_vm.__("Vendor Picture", "dokan-lite")))
1914
+ ]),
1915
+ _vm._v(" "),
1916
+ _c(
1917
+ "div",
1918
+ { staticClass: "profile-image" },
1919
+ [
1920
+ _c("upload-image", {
1921
+ attrs: { croppingWidth: 150, croppingHeight: 150 },
1922
+ on: { uploadedImage: _vm.uploadGravatar }
1923
+ })
1924
+ ],
1925
+ 1
1926
+ ),
1927
+ _vm._v(" "),
1928
+ _c("p", {
1929
+ staticClass: "picture-footer",
1930
+ domProps: {
1931
+ innerHTML: _vm._s(
1932
+ _vm.sprintf(
1933
+ _vm.__(
1934
+ "You can change your profile picutre on %s",
1935
+ "dokan-lite"
1936
+ ),
1937
+ "<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"
1938
+ )
1939
+ )
1940
+ }
1941
+ })
1942
+ ]),
1943
+ _vm._v(" "),
1944
+ _c(
1945
+ "div",
1946
+ {
1947
+ class: [
1948
+ "picture banner",
1949
+ { "has-banner": _vm.vendorInfo.banner_id }
1950
+ ]
1951
+ },
1952
+ [
1953
+ _c(
1954
+ "div",
1955
+ { staticClass: "banner-image" },
1956
+ [
1957
+ _c("upload-image", {
1958
+ attrs: {
1959
+ showButton: _vm.showButton,
1960
+ buttonLabel: _vm.__("Upload Banner", "dokan-lite")
1961
+ },
1962
+ on: { uploadedImage: _vm.uploadBanner }
1963
+ })
1964
+ ],
1965
+ 1
1966
+ ),
1967
+ _vm._v(" "),
1968
+ _vm.showButton
1969
+ ? _c("p", { staticClass: "picture-footer" }, [
1970
+ _vm._v(_vm._s(_vm.getUploadBannerText()))
1971
+ ])
1972
+ : _vm._e()
1973
+ ]
1974
+ )
1975
+ ])
1976
+ : _vm._e(),
1977
+ _vm._v(" "),
1978
+ _c(
1979
+ "div",
1980
+ { staticClass: "dokan-form-group" },
1981
+ [
1982
+ _c("div", { staticClass: "column" }, [
1983
+ _c("label", { attrs: { for: "store-email" } }, [
1984
+ _vm._v(_vm._s(_vm.__("First Name", "dokan-lite")))
1985
+ ]),
1986
+ _vm._v(" "),
1987
+ _c("input", {
1988
+ directives: [
1989
+ {
1990
+ name: "model",
1991
+ rawName: "v-model",
1992
+ value: _vm.vendorInfo.first_name,
1993
+ expression: "vendorInfo.first_name"
1994
+ }
1995
+ ],
1996
+ staticClass: "dokan-form-input",
1997
+ attrs: {
1998
+ type: "email",
1999
+ placeholder: _vm.__("First Name", "dokan-lite")
2000
+ },
2001
+ domProps: { value: _vm.vendorInfo.first_name },
2002
+ on: {
2003
+ input: function($event) {
2004
+ if ($event.target.composing) {
2005
+ return
2006
+ }
2007
+ _vm.$set(_vm.vendorInfo, "first_name", $event.target.value)
2008
+ }
2009
+ }
2010
+ })
2011
+ ]),
2012
+ _vm._v(" "),
2013
+ _c("div", { staticClass: "column" }, [
2014
+ _c("label", { attrs: { for: "store-email" } }, [
2015
+ _vm._v(_vm._s(_vm.__("Last Name", "dokan-lite")))
2016
+ ]),
2017
+ _vm._v(" "),
2018
+ _c("input", {
2019
+ directives: [
2020
+ {
2021
+ name: "model",
2022
+ rawName: "v-model",
2023
+ value: _vm.vendorInfo.last_name,
2024
+ expression: "vendorInfo.last_name"
2025
+ }
2026
+ ],
2027
+ staticClass: "dokan-form-input",
2028
+ attrs: {
2029
+ type: "email",
2030
+ placeholder: _vm.__("Last Name", "dokan-lite")
2031
+ },
2032
+ domProps: { value: _vm.vendorInfo.last_name },
2033
+ on: {
2034
+ input: function($event) {
2035
+ if ($event.target.composing) {
2036
+ return
2037
+ }
2038
+ _vm.$set(_vm.vendorInfo, "last_name", $event.target.value)
2039
+ }
2040
+ }
2041
+ })
2042
+ ]),
2043
+ _vm._v(" "),
2044
+ _c("div", { staticClass: "column" }, [
2045
+ _c("label", { attrs: { for: "store-name" } }, [
2046
+ _vm._v(_vm._s(_vm.__("Store Name", "dokan-lite")))
2047
+ ]),
2048
+ _vm._v(" "),
2049
+ !_vm.getId()
2050
+ ? _c("span", { staticClass: "required-field" }, [_vm._v("*")])
2051
+ : _vm._e(),
2052
+ _vm._v(" "),
2053
+ _c("input", {
2054
+ directives: [
2055
+ {
2056
+ name: "model",
2057
+ rawName: "v-model",
2058
+ value: _vm.vendorInfo.store_name,
2059
+ expression: "vendorInfo.store_name"
2060
+ }
2061
+ ],
2062
+ class: {
2063
+ "dokan-form-input": true,
2064
+ "has-error": _vm.getError("store_name")
2065
+ },
2066
+ attrs: {
2067
+ type: "text",
2068
+ placeholder: _vm.getError("store_name")
2069
+ ? _vm.__("Store Name is required", "dokan-lite")
2070
+ : _vm.__("Store Name", "dokan-lite")
2071
+ },
2072
+ domProps: { value: _vm.vendorInfo.store_name },
2073
+ on: {
2074
+ input: function($event) {
2075
+ if ($event.target.composing) {
2076
+ return
2077
+ }
2078
+ _vm.$set(_vm.vendorInfo, "store_name", $event.target.value)
2079
+ }
2080
+ }
2081
+ })
2082
+ ]),
2083
+ _vm._v(" "),
2084
+ !_vm.getId()
2085
+ ? _c("div", { staticClass: "column" }, [
2086
+ _c("label", { attrs: { for: "store-url" } }, [
2087
+ _vm._v(_vm._s(_vm.__("Store URL", "dokan-lite")))
2088
+ ]),
2089
+ _vm._v(" "),
2090
+ _c("input", {
2091
+ directives: [
2092
+ {
2093
+ name: "model",
2094
+ rawName: "v-model",
2095
+ value: _vm.vendorInfo.user_nicename,
2096
+ expression: "vendorInfo.user_nicename"
2097
+ }
2098
+ ],
2099
+ staticClass: "dokan-form-input",
2100
+ attrs: {
2101
+ type: "text",
2102
+ placeholder: _vm.__("Store Url", "dokan-lite")
2103
+ },
2104
+ domProps: { value: _vm.vendorInfo.user_nicename },
2105
+ on: {
2106
+ input: function($event) {
2107
+ if ($event.target.composing) {
2108
+ return
2109
+ }
2110
+ _vm.$set(
2111
+ _vm.vendorInfo,
2112
+ "user_nicename",
2113
+ $event.target.value
2114
+ )
2115
+ }
2116
+ }
2117
+ }),
2118
+ _vm._v(" "),
2119
+ _c("div", { staticClass: "store-avaibility-info" }, [
2120
+ _vm.showStoreUrl
2121
+ ? _c("p", { staticClass: "store-url" }, [
2122
+ _vm._v(_vm._s(_vm.storeUrl))
2123
+ ])
2124
+ : _c("p", { staticClass: "store-url" }, [
2125
+ _vm._v(_vm._s(_vm.otherStoreUrl))
2126
+ ]),
2127
+ _vm._v(" "),
2128
+ _c(
2129
+ "span",
2130
+ {
2131
+ class: {
2132
+ "is-available": _vm.storeAvailable,
2133
+ "not-available": !_vm.storeAvailable
2134
+ }
2135
+ },
2136
+ [_vm._v(_vm._s(_vm.storeAvailabilityText))]
2137
+ )
2138
+ ])
2139
+ ])
2140
+ : _vm._e(),
2141
+ _vm._v(" "),
2142
+ _c("div", { staticClass: "column" }, [
2143
+ _c("label", { attrs: { for: "store-phone" } }, [
2144
+ _vm._v(_vm._s(_vm.__("Phone Number", "dokan-lite")))
2145
+ ]),
2146
+ _vm._v(" "),
2147
+ _c("input", {
2148
+ directives: [
2149
+ {
2150
+ name: "model",
2151
+ rawName: "v-model",
2152
+ value: _vm.vendorInfo.phone,
2153
+ expression: "vendorInfo.phone"
2154
+ }
2155
+ ],
2156
+ staticClass: "dokan-form-input",
2157
+ attrs: {
2158
+ type: "number",
2159
+ placeholder: _vm.__("123456789", "dokan-lite")
2160
+ },
2161
+ domProps: { value: _vm.vendorInfo.phone },
2162
+ on: {
2163
+ input: function($event) {
2164
+ if ($event.target.composing) {
2165
+ return
2166
+ }
2167
+ _vm.$set(_vm.vendorInfo, "phone", $event.target.value)
2168
+ }
2169
+ }
2170
+ })
2171
+ ]),
2172
+ _vm._v(" "),
2173
+ _c("div", { staticClass: "column" }, [
2174
+ _c("label", { attrs: { for: "store-email" } }, [
2175
+ _vm._v(_vm._s(_vm.__("Email", "dokan-lite")))
2176
+ ]),
2177
+ _vm._v(" "),
2178
+ !_vm.getId()
2179
+ ? _c("span", { staticClass: "required-field" }, [_vm._v("*")])
2180
+ : _vm._e(),
2181
+ _vm._v(" "),
2182
+ _c("input", {
2183
+ directives: [
2184
+ {
2185
+ name: "model",
2186
+ rawName: "v-model",
2187
+ value: _vm.vendorInfo.user_email,
2188
+ expression: "vendorInfo.user_email"
2189
+ }
2190
+ ],
2191
+ class: {
2192
+ "dokan-form-input": true,
2193
+ "has-error": _vm.getError("user_email")
2194
+ },
2195
+ attrs: {
2196
+ type: "email",
2197
+ placeholder: _vm.getError("user_email")
2198
+ ? _vm.__("Email is required", "dokan-lite")
2199
+ : _vm.__("store@email.com", "dokan-lite")
2200
+ },
2201
+ domProps: { value: _vm.vendorInfo.user_email },
2202
+ on: {
2203
+ input: function($event) {
2204
+ if ($event.target.composing) {
2205
+ return
2206
+ }
2207
+ _vm.$set(_vm.vendorInfo, "user_email", $event.target.value)
2208
+ }
2209
+ }
2210
+ }),
2211
+ _vm._v(" "),
2212
+ _c("div", { staticClass: "store-avaibility-info" }, [
2213
+ _c(
2214
+ "span",
2215
+ {
2216
+ class: {
2217
+ "is-available": _vm.emailAvailable,
2218
+ "not-available": !_vm.emailAvailable
2219
+ }
2220
+ },
2221
+ [_vm._v(_vm._s(_vm.emailAvailabilityText))]
2222
+ )
2223
+ ])
2224
+ ]),
2225
+ _vm._v(" "),
2226
+ !_vm.getId()
2227
+ ? [
2228
+ _c("div", { staticClass: "column" }, [
2229
+ _c("label", { attrs: { for: "store-username" } }, [
2230
+ _vm._v(_vm._s(_vm.__("Username", "dokan-lite")))
2231
+ ]),
2232
+ _c("span", { staticClass: "required-field" }, [_vm._v("*")]),
2233
+ _vm._v(" "),
2234
+ _c("input", {
2235
+ directives: [
2236
+ {
2237
+ name: "model",
2238
+ rawName: "v-model",
2239
+ value: _vm.vendorInfo.user_login,
2240
+ expression: "vendorInfo.user_login"
2241
+ }
2242
+ ],
2243
+ staticClass: "dokan-form-input",
2244
+ class: {
2245
+ "dokan-form-input": true,
2246
+ "has-error": _vm.getError("user_login")
2247
+ },
2248
+ attrs: {
2249
+ type: "text",
2250
+ placeholder: _vm.getError("user_login")
2251
+ ? _vm.__("Username is required", "dokan-lite")
2252
+ : _vm.__("Username", "dokan-lite")
2253
+ },
2254
+ domProps: { value: _vm.vendorInfo.user_login },
2255
+ on: {
2256
+ input: function($event) {
2257
+ if ($event.target.composing) {
2258
+ return
2259
+ }
2260
+ _vm.$set(
2261
+ _vm.vendorInfo,
2262
+ "user_login",
2263
+ $event.target.value
2264
+ )
2265
+ }
2266
+ }
2267
+ }),
2268
+ _vm._v(" "),
2269
+ _c("div", { staticClass: "store-avaibility-info" }, [
2270
+ _c(
2271
+ "span",
2272
+ {
2273
+ class: {
2274
+ "is-available": _vm.userNameAvailable,
2275
+ "not-available": !_vm.userNameAvailable
2276
+ }
2277
+ },
2278
+ [_vm._v(_vm._s(_vm.userNameAvailabilityText))]
2279
+ )
2280
+ ]),
2281
+ _vm._v(" "),
2282
+ _c(
2283
+ "div",
2284
+ { staticClass: "checkbox-left notify-vendor" },
2285
+ [
2286
+ _c("switches", {
2287
+ attrs: { enabled: true, value: "notify_vendor" },
2288
+ on: { input: _vm.sendEmail }
2289
+ }),
2290
+ _vm._v(" "),
2291
+ _c("span", { staticClass: "desc" }, [
2292
+ _vm._v(
2293
+ _vm._s(
2294
+ _vm.__(
2295
+ "Send the vendor an email about their account.",
2296
+ "dokan-lite"
2297
+ )
2298
+ )
2299
+ )
2300
+ ])
2301
+ ],
2302
+ 1
2303
+ )
2304
+ ]),
2305
+ _vm._v(" "),
2306
+ _c(
2307
+ "div",
2308
+ { staticClass: "column" },
2309
+ [
2310
+ _c("label", { attrs: { for: "store-password" } }, [
2311
+ _vm._v(_vm._s(_vm.__("Passwrod", "dokan-lite")))
2312
+ ]),
2313
+ _vm._v(" "),
2314
+ _vm.showPassword
2315
+ ? _c("input", {
2316
+ directives: [
2317
+ {
2318
+ name: "model",
2319
+ rawName: "v-model",
2320
+ value: _vm.vendorInfo.user_pass,
2321
+ expression: "vendorInfo.user_pass"
2322
+ }
2323
+ ],
2324
+ staticClass: "dokan-form-input",
2325
+ attrs: { type: "text", placeholder: "********" },
2326
+ domProps: { value: _vm.vendorInfo.user_pass },
2327
+ on: {
2328
+ input: function($event) {
2329
+ if ($event.target.composing) {
2330
+ return
2331
+ }
2332
+ _vm.$set(
2333
+ _vm.vendorInfo,
2334
+ "user_pass",
2335
+ $event.target.value
2336
+ )
2337
+ }
2338
+ }
2339
+ })
2340
+ : _vm._e(),
2341
+ _vm._v(" "),
2342
+ _c("password-generator", {
2343
+ attrs: {
2344
+ title: _vm.__("Generate Password", "dokan-lite")
2345
+ },
2346
+ on: { passwordGenerated: _vm.setPassword }
2347
+ })
2348
+ ],
2349
+ 1
2350
+ )
2351
+ ]
2352
+ : _vm._e(),
2353
+ _vm._v(" "),
2354
+ _vm._l(_vm.getAccountFields, function(component, index) {
2355
+ return _c(component, {
2356
+ key: index,
2357
+ tag: "component",
2358
+ attrs: { vendorInfo: _vm.vendorInfo }
2359
+ })
2360
+ })
2361
+ ],
2362
+ 2
2363
+ )
2364
+ ])
2365
+ ])
2366
+ }
2367
+ var staticRenderFns = []
2368
+ render._withStripped = true
2369
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
2370
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
2371
+ if (false) {
2372
+ module.hot.accept()
2373
+ if (module.hot.data) {
2374
+ require("vue-hot-reload-api") .rerender("data-v-2b13daea", esExports)
2375
+ }
2376
+ }
2377
+
2378
+ /***/ }),
2379
+ /* 32 */
2380
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2381
+
2382
+ "use strict";
2383
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorAddressFields_vue__ = __webpack_require__(12);
2384
+ /* unused harmony namespace reexport */
2385
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9504c01e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorAddressFields_vue__ = __webpack_require__(33);
2386
+ var disposed = false
2387
+ var normalizeComponent = __webpack_require__(0)
2388
+ /* script */
2389
+
2390
+
2391
+ /* template */
2392
+
2393
+ /* template functional */
2394
+ var __vue_template_functional__ = false
2395
+ /* styles */
2396
+ var __vue_styles__ = null
2397
+ /* scopeId */
2398
+ var __vue_scopeId__ = null
2399
+ /* moduleIdentifier (server only) */
2400
+ var __vue_module_identifier__ = null
2401
+ var Component = normalizeComponent(
2402
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorAddressFields_vue__["a" /* default */],
2403
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9504c01e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorAddressFields_vue__["a" /* default */],
2404
+ __vue_template_functional__,
2405
+ __vue_styles__,
2406
+ __vue_scopeId__,
2407
+ __vue_module_identifier__
2408
+ )
2409
+ Component.options.__file = "src/admin/pages/VendorAddressFields.vue"
2410
+
2411
+ /* hot reload */
2412
+ if (false) {(function () {
2413
+ var hotAPI = require("vue-hot-reload-api")
2414
+ hotAPI.install(require("vue"), false)
2415
+ if (!hotAPI.compatible) return
2416
+ module.hot.accept()
2417
+ if (!module.hot.data) {
2418
+ hotAPI.createRecord("data-v-9504c01e", Component.options)
2419
+ } else {
2420
+ hotAPI.reload("data-v-9504c01e", Component.options)
2421
+ }
2422
+ module.hot.dispose(function (data) {
2423
+ disposed = true
2424
+ })
2425
+ })()}
2426
+
2427
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
2428
+
2429
+
2430
+ /***/ }),
2431
+ /* 33 */
2432
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2433
+
2434
+ "use strict";
2435
+ var render = function() {
2436
+ var _vm = this
2437
+ var _h = _vm.$createElement
2438
+ var _c = _vm._self._c || _h
2439
+ return _c("div", { staticClass: "account-info" }, [
2440
+ _c("div", { staticClass: "content-header" }, [
2441
+ _vm._v("\n " + _vm._s(_vm.__("Address", "dokan-lite")) + "\n ")
2442
+ ]),
2443
+ _vm._v(" "),
2444
+ _c("div", { staticClass: "content-body" }, [
2445
+ _c(
2446
+ "div",
2447
+ { staticClass: "dokan-form-group" },
2448
+ [
2449
+ _c("div", { staticClass: "column" }, [
2450
+ _c("label", { attrs: { for: "street-1" } }, [
2451
+ _vm._v(_vm._s(_vm.__("Street 1", "dokan-lite")))
2452
+ ]),
2453
+ _vm._v(" "),
2454
+ _c("input", {
2455
+ directives: [
2456
+ {
2457
+ name: "model",
2458
+ rawName: "v-model",
2459
+ value: _vm.vendorInfo.address.street_1,
2460
+ expression: "vendorInfo.address.street_1"
2461
+ }
2462
+ ],
2463
+ staticClass: "dokan-form-input",
2464
+ attrs: {
2465
+ type: "text",
2466
+ placeholder: _vm.__("Street 1", "dokan-lite")
2467
+ },
2468
+ domProps: { value: _vm.vendorInfo.address.street_1 },
2469
+ on: {
2470
+ input: function($event) {
2471
+ if ($event.target.composing) {
2472
+ return
2473
+ }
2474
+ _vm.$set(
2475
+ _vm.vendorInfo.address,
2476
+ "street_1",
2477
+ $event.target.value
2478
+ )
2479
+ }
2480
+ }
2481
+ })
2482
+ ]),
2483
+ _vm._v(" "),
2484
+ _c("div", { staticClass: "column" }, [
2485
+ _c("label", { attrs: { for: "street-2" } }, [
2486
+ _vm._v(_vm._s(_vm.__("Street 2", "dokan-lite")))
2487
+ ]),
2488
+ _vm._v(" "),
2489
+ _c("input", {
2490
+ directives: [
2491
+ {
2492
+ name: "model",
2493
+ rawName: "v-model",
2494
+ value: _vm.vendorInfo.address.street_2,
2495
+ expression: "vendorInfo.address.street_2"
2496
+ }
2497
+ ],
2498
+ staticClass: "dokan-form-input",
2499
+ attrs: {
2500
+ type: "text",
2501
+ placeholder: _vm.__("Street 2", "dokan-lite")
2502
+ },
2503
+ domProps: { value: _vm.vendorInfo.address.street_2 },
2504
+ on: {
2505
+ input: function($event) {
2506
+ if ($event.target.composing) {
2507
+ return
2508
+ }
2509
+ _vm.$set(
2510
+ _vm.vendorInfo.address,
2511
+ "street_2",
2512
+ $event.target.value
2513
+ )
2514
+ }
2515
+ }
2516
+ })
2517
+ ]),
2518
+ _vm._v(" "),
2519
+ _c("div", { staticClass: "column" }, [
2520
+ _c("label", { attrs: { for: "city" } }, [
2521
+ _vm._v(_vm._s(_vm.__("City", "dokan-lite")))
2522
+ ]),
2523
+ _vm._v(" "),
2524
+ _c("input", {
2525
+ directives: [
2526
+ {
2527
+ name: "model",
2528
+ rawName: "v-model",
2529
+ value: _vm.vendorInfo.address.city,
2530
+ expression: "vendorInfo.address.city"
2531
+ }
2532
+ ],
2533
+ staticClass: "dokan-form-input",
2534
+ attrs: {
2535
+ type: "text",
2536
+ placeholder: _vm.__("City", "dokan-lite")
2537
+ },
2538
+ domProps: { value: _vm.vendorInfo.address.city },
2539
+ on: {
2540
+ input: function($event) {
2541
+ if ($event.target.composing) {
2542
+ return
2543
+ }
2544
+ _vm.$set(_vm.vendorInfo.address, "city", $event.target.value)
2545
+ }
2546
+ }
2547
+ })
2548
+ ]),
2549
+ _vm._v(" "),
2550
+ _c("div", { staticClass: "column" }, [
2551
+ _c("label", { attrs: { for: "zip" } }, [
2552
+ _vm._v(_vm._s(_vm.__("Zip", "dokan-lite")))
2553
+ ]),
2554
+ _vm._v(" "),
2555
+ _c("input", {
2556
+ directives: [
2557
+ {
2558
+ name: "model",
2559
+ rawName: "v-model",
2560
+ value: _vm.vendorInfo.address.zip,
2561
+ expression: "vendorInfo.address.zip"
2562
+ }
2563
+ ],
2564
+ staticClass: "dokan-form-input",
2565
+ attrs: { type: "text", placeholder: _vm.__("Zip", "dokan-lite") },
2566
+ domProps: { value: _vm.vendorInfo.address.zip },
2567
+ on: {
2568
+ input: function($event) {
2569
+ if ($event.target.composing) {
2570
+ return
2571
+ }
2572
+ _vm.$set(_vm.vendorInfo.address, "zip", $event.target.value)
2573
+ }
2574
+ }
2575
+ })
2576
+ ]),
2577
+ _vm._v(" "),
2578
+ _c(
2579
+ "div",
2580
+ { staticClass: "column" },
2581
+ [
2582
+ _c("label", { attrs: { for: "country" } }, [
2583
+ _vm._v(_vm._s(_vm.__("Country", "dokan-lite")))
2584
+ ]),
2585
+ _vm._v(" "),
2586
+ _c("Multiselect", {
2587
+ attrs: {
2588
+ options: _vm.countries,
2589
+ multiselect: false,
2590
+ label: "name",
2591
+ "track-by": "name",
2592
+ showLabels: false,
2593
+ placeholder: _vm.__("Select Country", "dokan-lite")
2594
+ },
2595
+ on: { input: _vm.saveCountry },
2596
+ model: {
2597
+ value: _vm.selectedCountry,
2598
+ callback: function($$v) {
2599
+ _vm.selectedCountry = $$v
2600
+ },
2601
+ expression: "selectedCountry"
2602
+ }
2603
+ })
2604
+ ],
2605
+ 1
2606
+ ),
2607
+ _vm._v(" "),
2608
+ _c(
2609
+ "div",
2610
+ { staticClass: "column" },
2611
+ [
2612
+ _c("label", { attrs: { for: "state" } }, [
2613
+ _vm._v(_vm._s(_vm.__("State", "dokan-lite")))
2614
+ ]),
2615
+ _vm._v(" "),
2616
+ _vm.getStatesFromCountryCode(_vm.selectedCode).length < 1
2617
+ ? [
2618
+ _c("input", {
2619
+ directives: [
2620
+ {
2621
+ name: "model",
2622
+ rawName: "v-model",
2623
+ value: _vm.vendorInfo.address.state,
2624
+ expression: "vendorInfo.address.state"
2625
+ }
2626
+ ],
2627
+ staticClass: "dokan-form-input",
2628
+ attrs: {
2629
+ type: "text",
2630
+ placeholder: _vm.__("State", "dokan-lite")
2631
+ },
2632
+ domProps: { value: _vm.vendorInfo.address.state },
2633
+ on: {
2634
+ input: function($event) {
2635
+ if ($event.target.composing) {
2636
+ return
2637
+ }
2638
+ _vm.$set(
2639
+ _vm.vendorInfo.address,
2640
+ "state",
2641
+ $event.target.value
2642
+ )
2643
+ }
2644
+ }
2645
+ })
2646
+ ]
2647
+ : [
2648
+ _c("Multiselect", {
2649
+ attrs: {
2650
+ options: _vm.getStatesFromCountryCode(_vm.selectedCode),
2651
+ multiselect: false,
2652
+ showLabels: false,
2653
+ label: "name",
2654
+ "track-by": "name",
2655
+ placeholder: _vm.__("Select State", "dokan-lite")
2656
+ },
2657
+ on: { input: _vm.saveState },
2658
+ model: {
2659
+ value: _vm.selectedState,
2660
+ callback: function($$v) {
2661
+ _vm.selectedState = $$v
2662
+ },
2663
+ expression: "selectedState"
2664
+ }
2665
+ })
2666
+ ]
2667
+ ],
2668
+ 2
2669
+ ),
2670
+ _vm._v(" "),
2671
+ _vm._l(_vm.getAddressFields, function(component, index) {
2672
+ return _c(component, {
2673
+ key: index,
2674
+ tag: "component",
2675
+ attrs: { vendorInfo: _vm.vendorInfo }
2676
+ })
2677
+ })
2678
+ ],
2679
+ 2
2680
+ )
2681
+ ])
2682
+ ])
2683
+ }
2684
+ var staticRenderFns = []
2685
+ render._withStripped = true
2686
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
2687
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
2688
+ if (false) {
2689
+ module.hot.accept()
2690
+ if (module.hot.data) {
2691
+ require("vue-hot-reload-api") .rerender("data-v-9504c01e", esExports)
2692
+ }
2693
+ }
2694
+
2695
+ /***/ }),
2696
+ /* 34 */
2697
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2698
+
2699
+ "use strict";
2700
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorPaymentFields_vue__ = __webpack_require__(13);
2701
+ /* unused harmony namespace reexport */
2702
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2ed34783_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorPaymentFields_vue__ = __webpack_require__(36);
2703
+ var disposed = false
2704
+ function injectStyle (ssrContext) {
2705
+ if (disposed) return
2706
+ __webpack_require__(35)
2707
+ }
2708
+ var normalizeComponent = __webpack_require__(0)
2709
+ /* script */
2710
+
2711
+
2712
+ /* template */
2713
+
2714
+ /* template functional */
2715
+ var __vue_template_functional__ = false
2716
+ /* styles */
2717
+ var __vue_styles__ = injectStyle
2718
+ /* scopeId */
2719
+ var __vue_scopeId__ = null
2720
+ /* moduleIdentifier (server only) */
2721
+ var __vue_module_identifier__ = null
2722
+ var Component = normalizeComponent(
2723
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorPaymentFields_vue__["a" /* default */],
2724
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2ed34783_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorPaymentFields_vue__["a" /* default */],
2725
+ __vue_template_functional__,
2726
+ __vue_styles__,
2727
+ __vue_scopeId__,
2728
+ __vue_module_identifier__
2729
+ )
2730
+ Component.options.__file = "src/admin/pages/VendorPaymentFields.vue"
2731
+
2732
+ /* hot reload */
2733
+ if (false) {(function () {
2734
+ var hotAPI = require("vue-hot-reload-api")
2735
+ hotAPI.install(require("vue"), false)
2736
+ if (!hotAPI.compatible) return
2737
+ module.hot.accept()
2738
+ if (!module.hot.data) {
2739
+ hotAPI.createRecord("data-v-2ed34783", Component.options)
2740
+ } else {
2741
+ hotAPI.reload("data-v-2ed34783", Component.options)
2742
+ }
2743
+ module.hot.dispose(function (data) {
2744
+ disposed = true
2745
+ })
2746
+ })()}
2747
+
2748
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
2749
+
2750
+
2751
+ /***/ }),
2752
+ /* 35 */
2753
+ /***/ (function(module, exports) {
2754
+
2755
+ // removed by extract-text-webpack-plugin
2756
+
2757
+ /***/ }),
2758
+ /* 36 */
2759
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2760
+
2761
+ "use strict";
2762
+ var render = function() {
2763
+ var _vm = this
2764
+ var _h = _vm.$createElement
2765
+ var _c = _vm._self._c || _h
2766
+ return _c(
2767
+ "div",
2768
+ { class: { "payment-info": true, "edit-mode": _vm.getId() } },
2769
+ [
2770
+ _c("div", { staticClass: "content-header" }, [
2771
+ _vm._v(
2772
+ "\n " +
2773
+ _vm._s(_vm.__("Payment Options", "dokan-lite")) +
2774
+ "\n "
2775
+ )
2776
+ ]),
2777
+ _vm._v(" "),
2778
+ _c(
2779
+ "div",
2780
+ { staticClass: "content-body" },
2781
+ [
2782
+ _c(
2783
+ "div",
2784
+ { staticClass: "dokan-form-group" },
2785
+ [
2786
+ _c("div", { staticClass: "column" }, [
2787
+ _c("label", { attrs: { for: "account-name" } }, [
2788
+ _vm._v(_vm._s(_vm.__("Account Name", "dokan-lite")))
2789
+ ]),
2790
+ _vm._v(" "),
2791
+ _c("input", {
2792
+ directives: [
2793
+ {
2794
+ name: "model",
2795
+ rawName: "v-model",
2796
+ value: _vm.vendorInfo.payment.bank.ac_name,
2797
+ expression: "vendorInfo.payment.bank.ac_name"
2798
+ }
2799
+ ],
2800
+ staticClass: "dokan-form-input",
2801
+ attrs: {
2802
+ type: "text",
2803
+ placeholder: _vm.__("Account Name", "dokan-lite")
2804
+ },
2805
+ domProps: { value: _vm.vendorInfo.payment.bank.ac_name },
2806
+ on: {
2807
+ input: function($event) {
2808
+ if ($event.target.composing) {
2809
+ return
2810
+ }
2811
+ _vm.$set(
2812
+ _vm.vendorInfo.payment.bank,
2813
+ "ac_name",
2814
+ $event.target.value
2815
+ )
2816
+ }
2817
+ }
2818
+ })
2819
+ ]),
2820
+ _vm._v(" "),
2821
+ _c("div", { staticClass: "column" }, [
2822
+ _c("label", { attrs: { for: "account-number" } }, [
2823
+ _vm._v(_vm._s(_vm.__("Account Number", "dokan-lite")))
2824
+ ]),
2825
+ _vm._v(" "),
2826
+ _c("input", {
2827
+ directives: [
2828
+ {
2829
+ name: "model",
2830
+ rawName: "v-model",
2831
+ value: _vm.vendorInfo.payment.bank.ac_number,
2832
+ expression: "vendorInfo.payment.bank.ac_number"
2833
+ }
2834
+ ],
2835
+ staticClass: "dokan-form-input",
2836
+ attrs: {
2837
+ type: "text",
2838
+ placeholder: _vm.__("1233456789", "dokan-lite")
2839
+ },
2840
+ domProps: { value: _vm.vendorInfo.payment.bank.ac_number },
2841
+ on: {
2842
+ input: function($event) {
2843
+ if ($event.target.composing) {
2844
+ return
2845
+ }
2846
+ _vm.$set(
2847
+ _vm.vendorInfo.payment.bank,
2848
+ "ac_number",
2849
+ $event.target.value
2850
+ )
2851
+ }
2852
+ }
2853
+ })
2854
+ ]),
2855
+ _vm._v(" "),
2856
+ _c("div", { staticClass: "column" }, [
2857
+ _c("label", { attrs: { for: "bank-name" } }, [
2858
+ _vm._v(_vm._s(_vm.__("Bank Name", "dokan-lite")))
2859
+ ]),
2860
+ _vm._v(" "),
2861
+ _c("input", {
2862
+ directives: [
2863
+ {
2864
+ name: "model",
2865
+ rawName: "v-model",
2866
+ value: _vm.vendorInfo.payment.bank.bank_name,
2867
+ expression: "vendorInfo.payment.bank.bank_name"
2868
+ }
2869
+ ],
2870
+ staticClass: "dokan-form-input",
2871
+ attrs: {
2872
+ type: "text",
2873
+ placeholder: _vm.__("Bank Name", "dokan-lite")
2874
+ },
2875
+ domProps: { value: _vm.vendorInfo.payment.bank.bank_name },
2876
+ on: {
2877
+ input: function($event) {
2878
+ if ($event.target.composing) {
2879
+ return
2880
+ }
2881
+ _vm.$set(
2882
+ _vm.vendorInfo.payment.bank,
2883
+ "bank_name",
2884
+ $event.target.value
2885
+ )
2886
+ }
2887
+ }
2888
+ })
2889
+ ]),
2890
+ _vm._v(" "),
2891
+ _c("div", { staticClass: "column" }, [
2892
+ _c("label", { attrs: { for: "bank-address" } }, [
2893
+ _vm._v(_vm._s(_vm.__("Bank Address", "dokan-lite")))
2894
+ ]),
2895
+ _vm._v(" "),
2896
+ _c("input", {
2897
+ directives: [
2898
+ {
2899
+ name: "model",
2900
+ rawName: "v-model",
2901
+ value: _vm.vendorInfo.payment.bank.bank_addr,
2902
+ expression: "vendorInfo.payment.bank.bank_addr"
2903
+ }
2904
+ ],
2905
+ staticClass: "dokan-form-input",
2906
+ attrs: {
2907
+ type: "text",
2908
+ placeholder: _vm.__("Bank Address", "dokan-lite")
2909
+ },
2910
+ domProps: { value: _vm.vendorInfo.payment.bank.bank_addr },
2911
+ on: {
2912
+ input: function($event) {
2913
+ if ($event.target.composing) {
2914
+ return
2915
+ }
2916
+ _vm.$set(
2917
+ _vm.vendorInfo.payment.bank,
2918
+ "bank_addr",
2919
+ $event.target.value
2920
+ )
2921
+ }
2922
+ }
2923
+ })
2924
+ ]),
2925
+ _vm._v(" "),
2926
+ _c("div", { staticClass: "column" }, [
2927
+ _c("label", { attrs: { for: "routing-number" } }, [
2928
+ _vm._v(_vm._s(_vm.__("Routing Number", "dokan-lite")))
2929
+ ]),
2930
+ _vm._v(" "),
2931
+ _c("input", {
2932
+ directives: [
2933
+ {
2934
+ name: "model",
2935
+ rawName: "v-model",
2936
+ value: _vm.vendorInfo.payment.bank.routing_number,
2937
+ expression: "vendorInfo.payment.bank.routing_number"
2938
+ }
2939
+ ],
2940
+ staticClass: "dokan-form-input",
2941
+ attrs: {
2942
+ type: "text",
2943
+ placeholder: _vm.__("123456789", "dokan-lite")
2944
+ },
2945
+ domProps: {
2946
+ value: _vm.vendorInfo.payment.bank.routing_number
2947
+ },
2948
+ on: {
2949
+ input: function($event) {
2950
+ if ($event.target.composing) {
2951
+ return
2952
+ }
2953
+ _vm.$set(
2954
+ _vm.vendorInfo.payment.bank,
2955
+ "routing_number",
2956
+ $event.target.value
2957
+ )
2958
+ }
2959
+ }
2960
+ })
2961
+ ]),
2962
+ _vm._v(" "),
2963
+ _c("div", { staticClass: "column" }, [
2964
+ _c("label", { attrs: { for: "iban" } }, [
2965
+ _vm._v(_vm._s(_vm.__("IBAN", "dokan-lite")))
2966
+ ]),
2967
+ _vm._v(" "),
2968
+ _c("input", {
2969
+ directives: [
2970
+ {
2971
+ name: "model",
2972
+ rawName: "v-model",
2973
+ value: _vm.vendorInfo.payment.bank.iban,
2974
+ expression: "vendorInfo.payment.bank.iban"
2975
+ }
2976
+ ],
2977
+ staticClass: "dokan-form-input",
2978
+ attrs: {
2979
+ type: "text",
2980
+ placeholder: _vm.__("123456789", "dokan-lite")
2981
+ },
2982
+ domProps: { value: _vm.vendorInfo.payment.bank.iban },
2983
+ on: {
2984
+ input: function($event) {
2985
+ if ($event.target.composing) {
2986
+ return
2987
+ }
2988
+ _vm.$set(
2989
+ _vm.vendorInfo.payment.bank,
2990
+ "iban",
2991
+ $event.target.value
2992
+ )
2993
+ }
2994
+ }
2995
+ })
2996
+ ]),
2997
+ _vm._v(" "),
2998
+ _c("div", { staticClass: "column" }, [
2999
+ _c("label", { attrs: { for: "swift" } }, [
3000
+ _vm._v(_vm._s(_vm.__("Swift", "dokan-lite")))
3001
+ ]),
3002
+ _vm._v(" "),
3003
+ _c("input", {
3004
+ directives: [
3005
+ {
3006
+ name: "model",
3007
+ rawName: "v-model",
3008
+ value: _vm.vendorInfo.payment.bank.swift,
3009
+ expression: "vendorInfo.payment.bank.swift"
3010
+ }
3011
+ ],
3012
+ staticClass: "dokan-form-input",
3013
+ attrs: {
3014
+ type: "text",
3015
+ placeholder: _vm.__("123456789", "dokan-lite")
3016
+ },
3017
+ domProps: { value: _vm.vendorInfo.payment.bank.swift },
3018
+ on: {
3019
+ input: function($event) {
3020
+ if ($event.target.composing) {
3021
+ return
3022
+ }
3023
+ _vm.$set(
3024
+ _vm.vendorInfo.payment.bank,
3025
+ "swift",
3026
+ $event.target.value
3027
+ )
3028
+ }
3029
+ }
3030
+ })
3031
+ ]),
3032
+ _vm._v(" "),
3033
+ _vm._l(_vm.getBankFields, function(component, index) {
3034
+ return _c(component, {
3035
+ key: index,
3036
+ tag: "component",
3037
+ attrs: { vendorInfo: _vm.vendorInfo }
3038
+ })
3039
+ })
3040
+ ],
3041
+ 2
3042
+ ),
3043
+ _vm._v(" "),
3044
+ _c(
3045
+ "div",
3046
+ { staticClass: "dokan-form-group" },
3047
+ [
3048
+ _c(
3049
+ "div",
3050
+ {
3051
+ class: { column: _vm.getId(), "checkbox-group": !_vm.getId() }
3052
+ },
3053
+ [
3054
+ _c("label", { attrs: { for: "account-name" } }, [
3055
+ _vm._v(_vm._s(_vm.__("PayPal Email", "dokan-lite")))
3056
+ ]),
3057
+ _vm._v(" "),
3058
+ _c("input", {
3059
+ directives: [
3060
+ {
3061
+ name: "model",
3062
+ rawName: "v-model",
3063
+ value: _vm.vendorInfo.payment.paypal.email,
3064
+ expression: "vendorInfo.payment.paypal.email"
3065
+ }
3066
+ ],
3067
+ staticClass: "dokan-form-input",
3068
+ attrs: {
3069
+ type: "email",
3070
+ placeholder: _vm.__("store@email.com", "dokan-lite")
3071
+ },
3072
+ domProps: { value: _vm.vendorInfo.payment.paypal.email },
3073
+ on: {
3074
+ input: function($event) {
3075
+ if ($event.target.composing) {
3076
+ return
3077
+ }
3078
+ _vm.$set(
3079
+ _vm.vendorInfo.payment.paypal,
3080
+ "email",
3081
+ $event.target.value
3082
+ )
3083
+ }
3084
+ }
3085
+ })
3086
+ ]
3087
+ ),
3088
+ _vm._v(" "),
3089
+ _vm.getId()
3090
+ ? [
3091
+ _c("div", { staticClass: "column" }, [
3092
+ _c(
3093
+ "div",
3094
+ { staticClass: "column" },
3095
+ [
3096
+ _c("label", [
3097
+ _vm._v(
3098
+ _vm._s(
3099
+ _vm.__("Admin Commission Type", "dokan-lite")
3100
+ )
3101
+ )
3102
+ ]),
3103
+ _vm._v(" "),
3104
+ _c("Multiselect", {
3105
+ attrs: {
3106
+ options: _vm.commissionTypes,
3107
+ multiselect: false,
3108
+ searchable: false,
3109
+ showLabels: false
3110
+ },
3111
+ on: { input: _vm.saveCommissionType },
3112
+ model: {
3113
+ value: _vm.selectedCommissionType,
3114
+ callback: function($$v) {
3115
+ _vm.selectedCommissionType = $$v
3116
+ },
3117
+ expression: "selectedCommissionType"
3118
+ }
3119
+ })
3120
+ ],
3121
+ 1
3122
+ )
3123
+ ]),
3124
+ _vm._v(" "),
3125
+ "Combine" === _vm.selectedCommissionType
3126
+ ? _c(
3127
+ "div",
3128
+ { staticClass: "column combine-commission" },
3129
+ [
3130
+ _c("label", [
3131
+ _vm._v(
3132
+ _vm._s(_vm.__("Admin Commission", "dokan-lite"))
3133
+ )
3134
+ ]),
3135
+ _vm._v(" "),
3136
+ _c(
3137
+ "div",
3138
+ { staticClass: "combine-commission-field" },
3139
+ [
3140
+ _c("input", {
3141
+ directives: [
3142
+ {
3143
+ name: "model",
3144
+ rawName: "v-model",
3145
+ value: _vm.vendorInfo.admin_commission,
3146
+ expression: "vendorInfo.admin_commission"
3147
+ }
3148
+ ],
3149
+ staticClass: "dokan-form-input percent_fee",
3150
+ attrs: { type: "number" },
3151
+ domProps: {
3152
+ value: _vm.vendorInfo.admin_commission
3153
+ },
3154
+ on: {
3155
+ input: function($event) {
3156
+ if ($event.target.composing) {
3157
+ return
3158
+ }
3159
+ _vm.$set(
3160
+ _vm.vendorInfo,
3161
+ "admin_commission",
3162
+ $event.target.value
3163
+ )
3164
+ }
3165
+ }
3166
+ }),
3167
+ _vm._v(
3168
+ "\n " +
3169
+ _vm._s("%    +") +
3170
+ "\n "
3171
+ ),
3172
+ _c("input", {
3173
+ directives: [
3174
+ {
3175
+ name: "model",
3176
+ rawName: "v-model",
3177
+ value:
3178
+ _vm.vendorInfo.admin_additional_fee,
3179
+ expression:
3180
+ "vendorInfo.admin_additional_fee"
3181
+ }
3182
+ ],
3183
+ staticClass: "dokan-form-input fixed_fee",
3184
+ attrs: { type: "number" },
3185
+ domProps: {
3186
+ value: _vm.vendorInfo.admin_additional_fee
3187
+ },
3188
+ on: {
3189
+ input: function($event) {
3190
+ if ($event.target.composing) {
3191
+ return
3192
+ }
3193
+ _vm.$set(
3194
+ _vm.vendorInfo,
3195
+ "admin_additional_fee",
3196
+ $event.target.value
3197
+ )
3198
+ }
3199
+ }
3200
+ })
3201
+ ]
3202
+ )
3203
+ ]
3204
+ )
3205
+ : _c("div", { staticClass: "column" }, [
3206
+ _c("label", [
3207
+ _vm._v(
3208
+ _vm._s(_vm.__("Admin Commission", "dokan-lite"))
3209
+ )
3210
+ ]),
3211
+ _vm._v(" "),
3212
+ _c("input", {
3213
+ directives: [
3214
+ {
3215
+ name: "model",
3216
+ rawName: "v-model",
3217
+ value: _vm.vendorInfo.admin_commission,
3218
+ expression: "vendorInfo.admin_commission"
3219
+ }
3220
+ ],
3221
+ staticClass: "dokan-form-input",
3222
+ attrs: { type: "number" },
3223
+ domProps: {
3224
+ value: _vm.vendorInfo.admin_commission
3225
+ },
3226
+ on: {
3227
+ input: function($event) {
3228
+ if ($event.target.composing) {
3229
+ return
3230
+ }
3231
+ _vm.$set(
3232
+ _vm.vendorInfo,
3233
+ "admin_commission",
3234
+ $event.target.value
3235
+ )
3236
+ }
3237
+ }
3238
+ })
3239
+ ])
3240
+ ]
3241
+ : _vm._e(),
3242
+ _vm._v(" "),
3243
+ _c("div", { staticClass: "checkbox-group" }, [
3244
+ _c(
3245
+ "div",
3246
+ { staticClass: "checkbox-left" },
3247
+ [
3248
+ _c("switches", {
3249
+ attrs: { enabled: _vm.enabled, value: "enabled" },
3250
+ on: { input: _vm.setValue }
3251
+ }),
3252
+ _vm._v(" "),
3253
+ _c("span", { staticClass: "desc" }, [
3254
+ _vm._v(_vm._s(_vm.__("Enable Selling", "dokan-lite")))
3255
+ ])
3256
+ ],
3257
+ 1
3258
+ )
3259
+ ]),
3260
+ _vm._v(" "),
3261
+ _c("div", { staticClass: "checkbox-group" }, [
3262
+ _c(
3263
+ "div",
3264
+ { staticClass: "checkbox-left" },
3265
+ [
3266
+ _c("switches", {
3267
+ attrs: { enabled: _vm.trusted, value: "trusted" },
3268
+ on: { input: _vm.setValue }
3269
+ }),
3270
+ _vm._v(" "),
3271
+ _c("span", { staticClass: "desc" }, [
3272
+ _vm._v(
3273
+ _vm._s(_vm.__("Publish Product Directly", "dokan-lite"))
3274
+ )
3275
+ ])
3276
+ ],
3277
+ 1
3278
+ )
3279
+ ]),
3280
+ _vm._v(" "),
3281
+ _c("div", { staticClass: "checkbox-group" }, [
3282
+ _c(
3283
+ "div",
3284
+ { staticClass: "checkbox-left" },
3285
+ [
3286
+ _c("switches", {
3287
+ attrs: { enabled: _vm.featured, value: "featured" },
3288
+ on: { input: _vm.setValue }
3289
+ }),
3290
+ _vm._v(" "),
3291
+ _c("span", { staticClass: "desc" }, [
3292
+ _vm._v(
3293
+ _vm._s(_vm.__("Make Vendor Featured", "dokan-lite"))
3294
+ )
3295
+ ])
3296
+ ],
3297
+ 1
3298
+ )
3299
+ ])
3300
+ ],
3301
+ 2
3302
+ ),
3303
+ _vm._v(" "),
3304
+ _vm._l(_vm.getPyamentFields, function(component, index) {
3305
+ return _c(component, {
3306
+ key: index,
3307
+ tag: "component",
3308
+ attrs: { vendorInfo: _vm.vendorInfo }
3309
+ })
3310
+ })
3311
+ ],
3312
+ 2
3313
+ )
3314
+ ]
3315
+ )
3316
+ }
3317
+ var staticRenderFns = []
3318
+ render._withStripped = true
3319
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
3320
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
3321
+ if (false) {
3322
+ module.hot.accept()
3323
+ if (module.hot.data) {
3324
+ require("vue-hot-reload-api") .rerender("data-v-2ed34783", esExports)
3325
+ }
3326
+ }
3327
+
3328
+ /***/ }),
3329
+ /* 37 */,
3330
+ /* 38 */,
3331
+ /* 39 */,
3332
+ /* 40 */,
3333
+ /* 41 */,
3334
+ /* 42 */,
3335
+ /* 43 */,
3336
+ /* 44 */,
3337
+ /* 45 */,
3338
+ /* 46 */,
3339
+ /* 47 */,
3340
+ /* 48 */,
3341
+ /* 49 */,
3342
+ /* 50 */,
3343
+ /* 51 */,
3344
+ /* 52 */,
3345
+ /* 53 */,
3346
+ /* 54 */,
3347
+ /* 55 */,
3348
+ /* 56 */,
3349
+ /* 57 */,
3350
+ /* 58 */,
3351
+ /* 59 */,
3352
+ /* 60 */,
3353
+ /* 61 */,
3354
+ /* 62 */,
3355
+ /* 63 */,
3356
+ /* 64 */,
3357
+ /* 65 */,
3358
+ /* 66 */,
3359
+ /* 67 */
3360
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3361
+
3362
+ "use strict";
3363
+ //
3364
+ //
3365
+ //
3366
+ //
3367
+ //
3368
+ //
3369
+ //
3370
+ //
3371
+ //
3372
+ //
3373
+ //
3374
+ //
3375
+ //
3376
+ //
3377
+ //
3378
+ /* harmony default export */ __webpack_exports__["a"] = ({
3379
+ name: 'Postbox',
3380
+ props: {
3381
+ title: {
3382
+ type: String,
3383
+ required: true,
3384
+ default: ''
3385
+ },
3386
+ extraClass: {
3387
+ type: String,
3388
+ default: null
3389
+ }
3390
+ },
3391
+ data: function data() {
3392
+ return {
3393
+ showing: true
3394
+ };
3395
+ }
3396
+ });
3397
+
3398
+ /***/ }),
3399
+ /* 68 */
3400
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3401
+
3402
+ "use strict";
3403
+ //
3404
+ //
3405
+ //
3406
+ //
3407
+ /* harmony default export */ __webpack_exports__["a"] = ({
3408
+ name: 'Loading',
3409
+ data: function data() {
3410
+ return {};
3411
+ }
3412
+ });
3413
+
3414
+ /***/ }),
3415
+ /* 69 */
3416
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3417
+
3418
+ "use strict";
3419
+ //
3420
+ //
3421
+ //
3422
+ //
3423
+ //
3424
+ //
3425
+ //
3426
+ //
3427
+ //
3428
+ //
3429
+ //
3430
+ //
3431
+ //
3432
+ //
3433
+ //
3434
+ //
3435
+ //
3436
+ //
3437
+ //
3438
+ //
3439
+ //
3440
+ //
3441
+ //
3442
+ //
3443
+ //
3444
+ //
3445
+ //
3446
+ //
3447
+ //
3448
+ /* harmony default export */ __webpack_exports__["a"] = ({
3449
+ name: 'Modal',
3450
+ props: {
3451
+ footer: {
3452
+ type: Boolean,
3453
+ required: false,
3454
+ default: true
3455
+ },
3456
+ width: {
3457
+ type: String,
3458
+ required: false,
3459
+ default: '500px'
3460
+ },
3461
+ height: {
3462
+ type: String,
3463
+ required: false,
3464
+ default: 'auto'
3465
+ },
3466
+ title: {
3467
+ type: String,
3468
+ required: true,
3469
+ default: ''
3470
+ }
3471
+ },
3472
+ data: function data() {
3473
+ return {};
3474
+ }
3475
+ });
3476
+
3477
+ /***/ }),
3478
+ /* 70 */
3479
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3480
+
3481
+ "use strict";
3482
+ //
3483
+ //
3484
+ //
3485
+ //
3486
+ /* harmony default export */ __webpack_exports__["a"] = ({
3487
+ props: {
3488
+ value: {
3489
+ type: String,
3490
+ required: true
3491
+ },
3492
+ shortcodes: {
3493
+ type: Object,
3494
+ required: false
3495
+ }
3496
+ },
3497
+ data: function data() {
3498
+ return {
3499
+ editorId: this._uid,
3500
+ fileFrame: null
3501
+ };
3502
+ },
3503
+ mounted: function mounted() {
3504
+ var vm = this;
3505
+ window.tinymce.init({
3506
+ selector: "#dokan-tinymce-".concat(this.editorId),
3507
+ branding: false,
3508
+ height: 200,
3509
+ menubar: false,
3510
+ convert_urls: false,
3511
+ theme: 'modern',
3512
+ skin: 'lightgray',
3513
+ fontsize_formats: '10px 11px 13px 14px 16px 18px 22px 25px 30px 36px 40px 45px 50px 60px 65px 70px 75px 80px',
3514
+ font_formats: 'Arial=arial,helvetica,sans-serif;' + 'Comic Sans MS=comic sans ms,sans-serif;' + 'Courier New=courier new,courier;' + 'Georgia=georgia,palatino;' + 'Lucida=Lucida Sans Unicode, Lucida Grande, sans-serif;' + 'Tahoma=tahoma,arial,helvetica,sans-serif;' + 'Times New Roman=times new roman,times;' + 'Trebuchet MS=trebuchet ms,geneva;' + 'Verdana=verdana,geneva;',
3515
+ plugins: 'textcolor colorpicker wplink wordpress code hr wpeditimage',
3516
+ toolbar: ['shortcodes bold italic underline bullist numlist alignleft aligncenter alignjustify alignright link image wp_adv', 'formatselect forecolor backcolor blockquote hr code fontselect fontsizeselect removeformat undo redo'],
3517
+ setup: function setup(editor) {
3518
+ var shortcodeMenuItems = [];
3519
+
3520
+ _.forEach(vm.shortcodes, function (shortcodeObj, shortcodeType) {
3521
+ shortcodeMenuItems.push({
3522
+ text: shortcodeObj.title,
3523
+ classes: 'menu-section-title'
3524
+ });
3525
+
3526
+ _.forEach(shortcodeObj.codes, function (codeObj, shortcode) {
3527
+ shortcodeMenuItems.push({
3528
+ text: codeObj.title,
3529
+ onclick: function onclick() {
3530
+ var code = "[".concat(shortcodeType, ":").concat(shortcode, "]");
3531
+
3532
+ if (codeObj.default) {
3533
+ code = "[".concat(shortcodeType, ":").concat(shortcode, " default=\"").concat(codeObj.default, "\"]");
3534
+ }
3535
+
3536
+ if (codeObj.text) {
3537
+ code = "[".concat(shortcodeType, ":").concat(shortcode, " text=\"").concat(codeObj.text, "\"]");
3538
+ }
3539
+
3540
+ if (codeObj.plainText) {
3541
+ code = codeObj.text;
3542
+ }
3543
+
3544
+ editor.insertContent(code);
3545
+ }
3546
+ });
3547
+ });
3548
+ }); // editor.addButton('shortcodes', {
3549
+ // type: 'menubutton',
3550
+ // icon: 'shortcode',
3551
+ // tooltip: 'Shortcodes',
3552
+ // menu: shortcodeMenuItems
3553
+ // });
3554
+
3555
+
3556
+ editor.addButton('image', {
3557
+ icon: 'image',
3558
+ onclick: function onclick() {
3559
+ vm.browseImage(editor);
3560
+ }
3561
+ }); // editor change triggers
3562
+
3563
+ editor.on('change keyup NodeChange', function () {
3564
+ vm.$emit('input', editor.getContent());
3565
+ });
3566
+ }
3567
+ });
3568
+ },
3569
+ methods: {
3570
+ browseImage: function browseImage(editor) {
3571
+ var vm = this;
3572
+ var selectedFile = {
3573
+ id: 0,
3574
+ url: '',
3575
+ type: ''
3576
+ };
3577
+
3578
+ if (vm.fileFrame) {
3579
+ vm.fileFrame.open();
3580
+ return;
3581
+ }
3582
+
3583
+ var fileStates = [new wp.media.controller.Library({
3584
+ library: wp.media.query(),
3585
+ multiple: false,
3586
+ title: this.__('Select an image', 'dokan-lite'),
3587
+ priority: 20,
3588
+ filterable: 'uploaded'
3589
+ })];
3590
+ vm.fileFrame = wp.media({
3591
+ title: this.__('Select an image', 'dokan-lite'),
3592
+ library: {
3593
+ type: ''
3594
+ },
3595
+ button: {
3596
+ text: this.__('Select an image', 'dokan-lite')
3597
+ },
3598
+ multiple: false,
3599
+ states: fileStates
3600
+ });
3601
+ vm.fileFrame.on('select', function () {
3602
+ var selection = vm.fileFrame.state().get('selection');
3603
+ selection.map(function (image) {
3604
+ image = image.toJSON();
3605
+
3606
+ if (image.id) {
3607
+ selectedFile.id = image.id;
3608
+ }
3609
+
3610
+ if (image.url) {
3611
+ selectedFile.url = image.url;
3612
+ }
3613
+
3614
+ if (image.type) {
3615
+ selectedFile.type = image.type;
3616
+ }
3617
+
3618
+ vm.insertImage(editor, selectedFile);
3619
+ return null;
3620
+ });
3621
+ });
3622
+ vm.fileFrame.on('ready', function () {
3623
+ vm.fileFrame.uploader.options.uploader.params = {
3624
+ type: 'dokan-image-uploader'
3625
+ };
3626
+ });
3627
+ vm.fileFrame.open();
3628
+ },
3629
+ insertImage: function insertImage(editor, image) {
3630
+ if (!image.id || image.type !== 'image') {
3631
+ this.alert({
3632
+ type: 'error',
3633
+ text: this.__('Please select an image,', 'dokan-lite')
3634
+ });
3635
+ return;
3636
+ }
3637
+
3638
+ var img = "<img src=\"".concat(image.url, "\" alt=\"").concat(image.alt, "\" title=\"").concat(image.title, "\" style=\"max-width: 100%; height: auto;\">");
3639
+ editor.insertContent(img);
3640
+ }
3641
+ }
3642
+ });
3643
+
3644
+ /***/ }),
3645
+ /* 71 */
3646
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3647
+
3648
+ "use strict";
3649
+ //
3650
+ //
3651
+ //
3652
+ //
3653
+ /* harmony default export */ __webpack_exports__["a"] = ({
3654
+ props: ['amount'],
3655
+ methods: {
3656
+ formattedPrice: function formattedPrice(value) {
3657
+ return accounting.formatMoney(value, dokan.currency);
3658
+ }
3659
+ }
3660
+ });
3661
+
3662
+ /***/ }),
3663
+ /* 72 */
3664
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3665
+
3666
+ "use strict";
3667
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_debounce__ = __webpack_require__(2);
3668
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_debounce___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_debounce__);
3669
+ //
3670
+ //
3671
+ //
3672
+ //
3673
+ //
3674
+ //
3675
+ //
3676
+ //
3677
+ //
3678
+ //
3679
+ //
3680
+
3681
+ /* harmony default export */ __webpack_exports__["a"] = ({
3682
+ name: 'LazyInput',
3683
+ props: {
3684
+ value: {
3685
+ type: String,
3686
+ required: true,
3687
+ default: ''
3688
+ },
3689
+ type: {
3690
+ type: String,
3691
+ required: false,
3692
+ default: 'text'
3693
+ },
3694
+ placeholder: {
3695
+ type: String,
3696
+ required: false,
3697
+ default: ''
3698
+ }
3699
+ },
3700
+ data: function data() {
3701
+ return {
3702
+ delay: 500,
3703
+ debouncer: null
3704
+ };
3705
+ },
3706
+ methods: {
3707
+ updateValue: function updateValue(value) {
3708
+ var vm = this;
3709
+
3710
+ if (vm.debouncer) {
3711
+ vm.debouncer.clear();
3712
+ }
3713
+
3714
+ vm.debouncer = Object(__WEBPACK_IMPORTED_MODULE_0_debounce__["debounce"])(function () {
3715
+ vm.triggerInput(value);
3716
+ }, vm.delay);
3717
+ vm.debouncer();
3718
+ },
3719
+ focus: function focus() {
3720
+ this.$emit('focus');
3721
+ },
3722
+ blur: function blur() {
3723
+ this.$emit('blur');
3724
+ },
3725
+ triggerInput: function triggerInput(value) {
3726
+ this.$emit('input', value);
3727
+ }
3728
+ }
3729
+ });
3730
+
3731
+ /***/ }),
3732
+ /* 73 */
3733
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3734
+
3735
+ "use strict";
3736
+ //
3737
+ //
3738
+ //
3739
+ //
3740
+ //
3741
+ //
3742
+ //
3743
+ //
3744
+ /* harmony default export */ __webpack_exports__["a"] = ({
3745
+ props: {
3746
+ value: {
3747
+ type: Number,
3748
+ default: 0
3749
+ },
3750
+ hidden: {
3751
+ type: Boolean,
3752
+ default: false
3753
+ },
3754
+ bgColor: {
3755
+ type: String,
3756
+ default: 'defaultBg'
3757
+ },
3758
+ fgColor: {
3759
+ type: String,
3760
+ default: 'defaultFg'
3761
+ }
3762
+ }
3763
+ });
3764
+
3765
+ /***/ }),
3766
+ /* 74 */
3767
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3768
+
3769
+ "use strict";
3770
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_debounce__ = __webpack_require__(2);
3771
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_debounce___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_debounce__);
3772
+ //
3773
+ //
3774
+ //
3775
+ //
3776
+ //
3777
+ //
3778
+
3779
+ /* harmony default export */ __webpack_exports__["a"] = ({
3780
+ name: 'Search',
3781
+ props: {
3782
+ title: {
3783
+ type: String,
3784
+ default: 'Search'
3785
+ }
3786
+ },
3787
+ data: function data() {
3788
+ return {
3789
+ delay: 500,
3790
+ searchItems: ''
3791
+ };
3792
+ },
3793
+ watch: {
3794
+ searchItems: function searchItems() {
3795
+ this.makeDelay();
3796
+ }
3797
+ },
3798
+ created: function created() {
3799
+ this.makeDelay = Object(__WEBPACK_IMPORTED_MODULE_0_debounce__["debounce"])(this.doSearch, this.delay);
3800
+ },
3801
+ methods: {
3802
+ doSearch: function doSearch() {
3803
+ this.$emit('searched', this.searchItems);
3804
+ }
3805
+ }
3806
+ });
3807
+
3808
+ /***/ }),
3809
+ /* 75 */
3810
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3811
+
3812
+ "use strict";
3813
+ //
3814
+ //
3815
+ //
3816
+ //
3817
+ //
3818
+ //
3819
+ //
3820
+ //
3821
+ //
3822
+ /* harmony default export */ __webpack_exports__["a"] = ({
3823
+ props: {
3824
+ value: {
3825
+ type: String,
3826
+ required: true,
3827
+ default: ''
3828
+ },
3829
+ format: {
3830
+ type: String,
3831
+ required: false,
3832
+ default: ''
3833
+ },
3834
+ placeholder: {
3835
+ type: String,
3836
+ required: false,
3837
+ default: ''
3838
+ },
3839
+ changeMonthYear: {
3840
+ type: Boolean,
3841
+ required: false,
3842
+ default: false
3843
+ }
3844
+ },
3845
+ mounted: function mounted() {
3846
+ var vm = this;
3847
+ jQuery(vm.$el).datepicker({
3848
+ dateFormat: vm.format,
3849
+ changeMonth: vm.changeMonthYear,
3850
+ changeYear: vm.changeMonthYear,
3851
+ beforeShow: function beforeShow() {
3852
+ jQuery(this).datepicker('widget').addClass('dokan-datepicker');
3853
+ },
3854
+ onSelect: function onSelect(date) {
3855
+ vm.updateValue(date);
3856
+ }
3857
+ });
3858
+ },
3859
+ methods: {
3860
+ updateValue: function updateValue(value) {
3861
+ if (!value) {
3862
+ value = moment().format('YYYY-MM-DD');
3863
+ }
3864
+
3865
+ this.$emit('input', value);
3866
+ }
3867
+ }
3868
+ });
3869
 
3870
+ /***/ }),
3871
+ /* 76 */,
3872
+ /* 77 */
3873
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3874
 
3875
  "use strict";
3876
+ //
3877
+ //
3878
+ //
3879
+ //
3880
+ //
3881
+ //
3882
+ //
3883
+ //
3884
+ //
3885
+ //
3886
+ /* harmony default export */ __webpack_exports__["a"] = ({
3887
+ name: 'GoogleMaps',
3888
+ props: {
3889
+ apiKey: {
3890
+ type: String,
3891
+ default: null
3892
+ },
3893
+ location: {
3894
+ type: Object,
3895
+ default: function _default() {
3896
+ return {
3897
+ latitude: 23.709921,
3898
+ longitude: 90.40714300000002,
3899
+ address: 'dhaka',
3900
+ zoom: 10
3901
+ };
3902
+ }
3903
+ }
3904
+ },
3905
+ data: function data() {
3906
+ return {
3907
+ dokanGoogleMap: null,
3908
+ marker: null,
3909
+ loadMap: this.apiKey.length > 1
3910
+ };
3911
+ },
3912
+ mounted: function mounted() {
3913
+ if (!(this.apiKey && window.google && this.renderMap())) {
3914
+ this.$emit('hideMap', true);
3915
+ }
3916
+ },
3917
+ beforeDestroy: function beforeDestroy() {
3918
+ if (this.dokanGoogleMap) {
3919
+ this.dokanGoogleMap = null;
3920
+ }
3921
 
3922
+ if (this.marker) {
3923
+ this.marker = null;
3924
+ }
3925
+ },
3926
+ methods: {
3927
+ setMap: function setMap() {
3928
+ this.dokanGoogleMap = new google.maps.Map(this.getMapArea(), {
3929
+ center: this.getCenter(),
3930
+ zoom: this.location.zoom,
3931
+ mapTypeId: google.maps.MapTypeId.ROADMAP
3932
+ });
3933
+ },
3934
+ setMarker: function setMarker() {
3935
+ this.marker = new google.maps.Marker({
3936
+ position: this.getCenter(),
3937
+ map: this.dokanGoogleMap
3938
+ });
3939
+ },
3940
+ GetGeocoder: function GetGeocoder() {
3941
+ return new google.maps.Geocoder();
3942
+ },
3943
+ getSearchAddress: function getSearchAddress() {
3944
+ if (this.location.address) {
3945
+ this.$refs['searchAddress'].value = this.location.address;
3946
+ }
3947
 
3948
+ return this.$refs['searchAddress'];
3949
+ },
3950
+ setAutoComplete: function setAutoComplete() {
3951
+ var _this = this;
3952
 
3953
+ var autocomplete = new google.maps.places.Autocomplete(this.getSearchAddress());
3954
+ autocomplete.addListener('place_changed', function () {
3955
+ var place = autocomplete.getPlace();
3956
+ var location = place.geometry.location;
3957
 
3958
+ _this.updateMap(location.lat(), location.lng(), place.formatted_address);
3959
+ });
3960
+ },
3961
+ updateMap: function updateMap(latitude, longitude, formatted_address) {
3962
+ var curpoint = new google.maps.LatLng(latitude, longitude);
3963
+ this.$emit('updateMap', {
3964
+ latitude: curpoint.lat(),
3965
+ longitude: curpoint.lng(),
3966
+ address: formatted_address
3967
+ });
3968
+ this.dokanGoogleMap.setCenter(curpoint);
3969
+ this.marker.setPosition(curpoint);
3970
+
3971
+ if (!formatted_address) {
3972
+ this.GetGeocoder.geocode({
3973
+ location: {
3974
+ lat: latitude,
3975
+ lng: longitude
3976
+ }
3977
+ }, function (results, status) {
3978
+ if ('OK' === status) {
3979
+ address.val(results[0].formatted_address);
3980
+ }
3981
+ });
3982
+ }
3983
+ },
3984
+ renderMap: function renderMap() {
3985
+ this.setMap();
3986
+ this.setMarker();
3987
+ this.setAutoComplete();
3988
+ return true;
3989
+ },
3990
+ getCenter: function getCenter() {
3991
+ return new google.maps.LatLng(this.location.latitude, this.location.longitude);
3992
+ },
3993
+ getMapArea: function getMapArea() {
3994
+ return this.$refs['gmapArea'];
3995
+ }
3996
+ }
3997
+ });
3998
 
3999
+ /***/ }),
4000
+ /* 78 */
4001
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4002
 
4003
+ "use strict";
4004
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_classCallCheck__ = __webpack_require__(64);
4005
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_classCallCheck__);
4006
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass__ = __webpack_require__(65);
4007
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass__);
4008
 
 
4009
 
 
4010
 
4011
+ //
4012
+ //
4013
+ //
4014
+ //
4015
+ //
4016
+ //
4017
+ //
4018
+ //
4019
+ //
4020
+ //
4021
+ //
4022
+ //
4023
+ //
4024
+ //
4025
+ //
4026
+ var SearchButtonControl =
4027
+ /*#__PURE__*/
4028
+ function () {
4029
+ function SearchButtonControl(mapId) {
4030
+ __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_classCallCheck___default()(this, SearchButtonControl);
4031
 
4032
+ this._mapId = mapId;
4033
+ }
4034
 
4035
+ __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass___default()(SearchButtonControl, [{
4036
+ key: "onAdd",
4037
+ value: function onAdd(map) {
4038
+ var _this = this;
4039
+
4040
+ this._map = map;
4041
+ var icon = document.createElement('span');
4042
+ icon.className = 'dashicons dashicons-search';
4043
+ var label = document.createTextNode('Search Map');
4044
+ var button = document.createElement('button');
4045
+ button.type = 'button';
4046
+ button.className = 'button';
4047
+ button.appendChild(icon);
4048
+ button.appendChild(label);
4049
+ button.addEventListener('click', function (e) {
4050
+ e.preventDefault();
4051
+ var control = document.getElementById(_this._mapId).getElementsByClassName('mapboxgl-ctrl-top-left')[0];
4052
+ control.className = control.className + ' ' + 'show-geocoder';
4053
+ });
4054
+ var container = document.createElement('div');
4055
+ container.className = 'mapboxgl-ctrl dokan-mapboxgl-ctrl';
4056
+ container.appendChild(button);
4057
+ this._container = container;
4058
+ return this._container;
4059
+ }
4060
+ }, {
4061
+ key: "onRemove",
4062
+ value: function onRemove() {
4063
+ this._container.parentNode.removeChild(this._container);
4064
 
4065
+ this._map = undefined;
4066
+ }
4067
+ }]);
4068
 
4069
+ return SearchButtonControl;
4070
+ }();
4071
 
4072
+ /* harmony default export */ __webpack_exports__["a"] = ({
4073
+ name: 'Mapbox',
4074
+ props: {
4075
+ accessToken: {
4076
+ type: String,
4077
+ default: null
4078
+ },
4079
+ location: {
4080
+ type: Object,
4081
+ required: true
4082
+ },
4083
+ width: {
4084
+ type: String,
4085
+ required: false,
4086
+ default: '100%'
4087
+ },
4088
+ height: {
4089
+ type: String,
4090
+ required: false,
4091
+ default: '300px'
4092
+ }
4093
+ },
4094
+ data: function data() {
4095
+ return {
4096
+ dokanMapbox: null,
4097
+ dokanGeocoder: null,
4098
+ dokanMarker: null
4099
+ };
4100
+ },
4101
+ computed: {
4102
+ mapboxId: function mapboxId() {
4103
+ return "dokan-mapbox-".concat(this._uid);
4104
+ },
4105
+ address: function address() {
4106
+ return this.location.address;
4107
+ }
4108
+ },
4109
+ mounted: function mounted() {
4110
+ if (!(this.accessToken && window.mapboxgl && this.initializeMapbox())) {
4111
+ this.$emit('hideMap', true);
4112
+ }
4113
 
4114
+ window.mapboxgl = mapboxgl;
4115
+ },
4116
+ beforeDestroy: function beforeDestroy() {
4117
+ if (this.dokanMapbox) {
4118
+ this.dokanMarker.remove();
4119
+ this.dokanMapbox.remove();
4120
+ }
4121
+ },
4122
+ methods: {
4123
+ initializeMapbox: function initializeMapbox() {
4124
+ var _this2 = this;
4125
+
4126
+ mapboxgl.accessToken = this.accessToken;
4127
+ this.dokanMapbox = new mapboxgl.Map({
4128
+ container: this.mapboxId,
4129
+ style: 'mapbox://styles/mapbox/streets-v10',
4130
+ center: [this.location.longitude, this.location.latitude],
4131
+ zoom: this.location.zoom
4132
+ });
4133
+ this.dokanMapbox.addControl(new mapboxgl.NavigationControl());
4134
+ this.dokanMapbox.addControl(new SearchButtonControl(this.mapboxId), 'top-left');
4135
+ this.dokanMapbox.on('zoomend', function (e) {
4136
+ _this2.setLocation({
4137
+ zoom: e.target.getZoom()
4138
+ });
4139
+ });
4140
+ this.dokanMapbox.on('load', function () {
4141
+ _this2.dokanGeocoder = new MapboxGeocoder({
4142
+ accessToken: mapboxgl.accessToken,
4143
+ mapboxgl: mapboxgl,
4144
+ zoom: _this2.dokanMapbox.getZoom(),
4145
+ placeholder: _this2.__('Search Address', 'dokan-lite'),
4146
+ marker: false,
4147
+ reverseGeocode: true
4148
+ });
4149
 
4150
+ _this2.dokanMapbox.addControl(_this2.dokanGeocoder, 'top-left');
4151
 
4152
+ _this2.dokanGeocoder.setInput(_this2.location.address);
4153
 
4154
+ _this2.dokanGeocoder.on('result', function (_ref) {
4155
+ var result = _ref.result;
4156
+ var lngLat = result.center;
4157
+ var address = result.place_name;
4158
 
4159
+ _this2.dokanMarker.setLngLat(lngLat);
4160
 
4161
+ _this2.dokanMapbox.setCenter([lngLat[0], lngLat[1]]);
4162
 
4163
+ _this2.setLocation({
4164
+ address: result.place_name,
4165
+ latitude: lngLat[1],
4166
+ longitude: lngLat[0],
4167
+ zoom: _this2.dokanMapbox.getZoom()
4168
+ });
4169
+ });
4170
+ });
4171
+ this.dokanMarker = new mapboxgl.Marker({
4172
+ draggable: true
4173
+ }).setLngLat([this.location.longitude, this.location.latitude]).addTo(this.dokanMapbox).on('dragend', this.onMarkerDragEnd);
4174
+ return true;
4175
+ },
4176
+ onMarkerDragEnd: function onMarkerDragEnd() {
4177
+ var _this3 = this;
4178
+
4179
+ var urlOrigin = this.dokanGeocoder.geocoderService.client.origin;
4180
+ var accessToken = this.dokanGeocoder.geocoderService.client.accessToken;
4181
+
4182
+ var _this$dokanMarker$get = this.dokanMarker.getLngLat().wrap(),
4183
+ lng = _this$dokanMarker$get.lng,
4184
+ lat = _this$dokanMarker$get.lat;
4185
+
4186
+ this.dokanMapbox.setCenter([lng, lat]);
4187
+ this.setLocation({
4188
+ latitude: lat,
4189
+ longitude: lng
4190
+ });
4191
+ var url = "".concat(urlOrigin, "/geocoding/v5/mapbox.places/").concat(lng, "%2C").concat(lat, ".json?access_token=").concat(accessToken, "&cachebuster=").concat(+new Date(), "&autocomplete=true");
4192
+ this.dokanGeocoder._inputEl.disabled = true;
4193
+ this.dokanGeocoder._loadingEl.style.display = 'block';
4194
+ jQuery.ajax({
4195
+ url: url,
4196
+ method: 'get'
4197
+ }).done(function (response) {
4198
+ _this3.dokanGeocoder._typeahead.update(response.features);
4199
+ }).fail(function () {//
4200
+ }).always(function () {
4201
+ _this3.dokanGeocoder._inputEl.disabled = false;
4202
+ _this3.dokanGeocoder._loadingEl.style.display = '';
4203
+ });
4204
+ },
4205
+ setLocation: function setLocation(location) {
4206
+ this.$emit('updateMap', location);
4207
+ },
4208
+ onChangeAddress: function onChangeAddress(e) {
4209
+ this.setLocation({
4210
+ address: e.target.value
4211
+ });
4212
+ }
4213
+ }
4214
+ });
4215
 
4216
+ /***/ }),
4217
+ /* 79 */
4218
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4219
 
4220
+ "use strict";
4221
+ //
4222
+ //
4223
+ //
4224
+ //
4225
+ //
4226
+ //
4227
+ //
4228
+ //
4229
+ //
4230
+ //
4231
+ //
4232
+ //
4233
+ //
4234
+ //
4235
+ //
4236
+ //
4237
+ //
4238
+ //
4239
+ //
4240
+ //
4241
+ //
4242
+ //
4243
+ //
4244
+ //
4245
+ //
4246
+ //
4247
+ //
4248
+ //
4249
+ //
4250
+ //
4251
+ //
4252
+ //
4253
+ //
4254
+ //
4255
+ //
4256
+ //
4257
+ //
4258
+ //
4259
+ //
4260
+ //
4261
+ //
4262
+ //
4263
+ //
4264
+ //
4265
+ //
4266
+ //
4267
+ //
4268
+ //
4269
+ //
4270
+ //
4271
+ //
4272
+ //
4273
+ //
4274
+ //
4275
+ //
4276
+ //
4277
+ //
4278
+ //
4279
+ //
4280
+ //
4281
+ //
4282
+ /* harmony default export */ __webpack_exports__["a"] = ({
4283
+ name: 'VendorSocialFields',
4284
+ props: {
4285
+ vendorInfo: {
4286
+ type: Object
4287
+ }
4288
+ },
4289
+ data: function data() {
4290
+ return {
4291
+ getSocialFields: dokan.hooks.applyFilters('getVendorSocialFields', [])
4292
+ };
4293
+ }
4294
+ });
4295
 
4296
+ /***/ }),
4297
+ /* 80 */,
4298
+ /* 81 */,
4299
+ /* 82 */,
4300
+ /* 83 */,
4301
+ /* 84 */,
4302
+ /* 85 */,
4303
+ /* 86 */,
4304
+ /* 87 */,
4305
+ /* 88 */,
4306
+ /* 89 */,
4307
+ /* 90 */,
4308
+ /* 91 */,
4309
+ /* 92 */,
4310
+ /* 93 */,
4311
+ /* 94 */,
4312
+ /* 95 */,
4313
+ /* 96 */,
4314
+ /* 97 */,
4315
+ /* 98 */,
4316
+ /* 99 */,
4317
+ /* 100 */,
4318
+ /* 101 */,
4319
+ /* 102 */,
4320
+ /* 103 */,
4321
+ /* 104 */,
4322
+ /* 105 */,
4323
+ /* 106 */,
4324
+ /* 107 */,
4325
+ /* 108 */,
4326
+ /* 109 */,
4327
+ /* 110 */,
4328
+ /* 111 */,
4329
+ /* 112 */,
4330
+ /* 113 */,
4331
+ /* 114 */,
4332
+ /* 115 */,
4333
+ /* 116 */,
4334
+ /* 117 */,
4335
+ /* 118 */,
4336
+ /* 119 */,
4337
+ /* 120 */,
4338
+ /* 121 */,
4339
+ /* 122 */,
4340
+ /* 123 */,
4341
+ /* 124 */,
4342
+ /* 125 */,
4343
+ /* 126 */,
4344
+ /* 127 */,
4345
+ /* 128 */,
4346
+ /* 129 */,
4347
+ /* 130 */,
4348
+ /* 131 */,
4349
+ /* 132 */,
4350
+ /* 133 */,
4351
+ /* 134 */,
4352
+ /* 135 */,
4353
+ /* 136 */,
4354
+ /* 137 */,
4355
+ /* 138 */,
4356
+ /* 139 */,
4357
+ /* 140 */,
4358
+ /* 141 */,
4359
+ /* 142 */,
4360
+ /* 143 */,
4361
+ /* 144 */,
4362
+ /* 145 */,
4363
+ /* 146 */,
4364
+ /* 147 */,
4365
+ /* 148 */,
4366
+ /* 149 */,
4367
+ /* 150 */,
4368
+ /* 151 */,
4369
+ /* 152 */,
4370
+ /* 153 */,
4371
+ /* 154 */,
4372
+ /* 155 */,
4373
+ /* 156 */,
4374
+ /* 157 */,
4375
+ /* 158 */
4376
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4377
 
4378
+ "use strict";
4379
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
4380
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(1);
4381
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_router__ = __webpack_require__(19);
4382
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_moment__ = __webpack_require__(159);
4383
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_moment___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_moment__);
4384
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_vue_notification__ = __webpack_require__(61);
4385
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_vue_notification___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_vue_notification__);
4386
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_vue_wp_list_table__ = __webpack_require__(62);
4387
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_vue_multiselect__ = __webpack_require__(4);
4388
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_vue_multiselect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_vue_multiselect__);
4389
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_Api__ = __webpack_require__(163);
4390
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_vue_chartjs__ = __webpack_require__(14);
4391
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Mixin__ = __webpack_require__(164);
4392
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_debounce__ = __webpack_require__(2);
4393
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_debounce___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_debounce__);
4394
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_VersionCompare__ = __webpack_require__(166);
4395
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_VersionCompare___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10__utils_VersionCompare__);
4396
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_vue_content_loading__ = __webpack_require__(66);
4397
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_vue_content_loading___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_vue_content_loading__);
4398
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_admin_components_Postbox_vue__ = __webpack_require__(167);
4399
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_admin_components_Loading_vue__ = __webpack_require__(170);
4400
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_admin_components_Chart_vue__ = __webpack_require__(20);
4401
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_admin_components_Modal_vue__ = __webpack_require__(173);
4402
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_admin_components_Switches_vue__ = __webpack_require__(3);
4403
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_admin_components_TextEditor_vue__ = __webpack_require__(176);
4404
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_18_admin_components_Currency_vue__ = __webpack_require__(178);
4405
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_19_admin_components_LazyInput_vue__ = __webpack_require__(180);
4406
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_admin_components_Progressbar_vue__ = __webpack_require__(182);
4407
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_21_admin_components_Search_vue__ = __webpack_require__(185);
4408
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_22_admin_components_Datepicker_vue__ = __webpack_require__(187);
4409
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_23_vue_sweetalert2__ = __webpack_require__(76);
4410
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_24_admin_components_ColorPicker_vue__ = __webpack_require__(22);
4411
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_25_admin_components_GoogleMaps_vue__ = __webpack_require__(192);
4412
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_26_admin_components_Mapbox_vue__ = __webpack_require__(195);
4413
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_27_admin_components_UploadImage_vue__ = __webpack_require__(15);
4414
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_28_admin_components_PasswordGenerator_vue__ = __webpack_require__(16);
4415
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_29_admin_pages_VendorAccountFields_vue__ = __webpack_require__(25);
4416
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_30_admin_pages_VendorAddressFields_vue__ = __webpack_require__(32);
4417
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_31_admin_pages_VendorSocialFields_vue__ = __webpack_require__(198);
4418
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_32_admin_pages_VendorPaymentFields_vue__ = __webpack_require__(34);
4419
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_33_vue_multiselect_dist_vue_multiselect_min_css__ = __webpack_require__(200);
4420
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_33_vue_multiselect_dist_vue_multiselect_min_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_33_vue_multiselect_dist_vue_multiselect_min_css__);
4421
 
 
4422
 
 
4423
 
 
4424
 
 
4425
 
 
4426
 
 
4427
 
 
4428
 
 
4429
 
 
 
 
4430
 
 
4431
 
4432
 
4433
+ window.__ = function (text, domain) {
4434
+ return __(text, domain);
4435
+ };
4436
 
4437
+ // core components
4438
 
 
 
 
4439
 
 
 
 
 
 
4440
 
 
 
 
 
 
 
 
 
 
4441
 
 
 
 
4442
 
 
 
 
4443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4444
 
 
4445
 
 
 
4446
 
 
4447
 
 
4448
 
 
 
4449
 
 
4450
 
4451
 
 
 
 
4452
 
 
4453
 
 
4454
 
 
 
 
 
4455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4456
 
 
 
 
 
 
 
4457
 
 
 
 
 
 
 
4458
 
 
 
 
 
 
 
4459
 
 
 
4460
 
4461
+ __WEBPACK_IMPORTED_MODULE_0_vue__["default"].use(__WEBPACK_IMPORTED_MODULE_3_vue_notification___default.a);
4462
+ __WEBPACK_IMPORTED_MODULE_0_vue__["default"].use(__WEBPACK_IMPORTED_MODULE_23_vue_sweetalert2__["default"]);
4463
+ __WEBPACK_IMPORTED_MODULE_0_vue__["default"].mixin(__WEBPACK_IMPORTED_MODULE_8__Mixin__["a" /* default */]);
4464
+ __WEBPACK_IMPORTED_MODULE_0_vue__["default"].filter('currency', function (value) {
4465
+ return accounting.formatMoney(value, dokan.currency);
4466
+ });
4467
+ __WEBPACK_IMPORTED_MODULE_0_vue__["default"].filter('capitalize', function (value) {
4468
+ if (!value) return '';
4469
+ value = value.toString();
4470
+ return value.charAt(0).toUpperCase() + value.slice(1);
4471
+ }); // Tooltip directive
4472
+
4473
+ __WEBPACK_IMPORTED_MODULE_0_vue__["default"].directive('tooltip', {
4474
+ bind: function bind(el, binding, vnode) {
4475
+ jQuery(el).tooltip('show');
4476
+ },
4477
+ unbind: function unbind(el, binding, vnode) {
4478
+ jQuery(el).tooltip('destroy');
4479
+ }
4480
+ });
4481
 
4482
+ window.dokan_get_lib = function (lib) {
4483
+ return window.dokan.libs[lib];
4484
+ };
4485
 
4486
+ window.dokan_add_route = function (component) {
4487
+ window.dokan.routeComponents[component.name] = component;
4488
+ }; // setup global Dokan libraries
4489
+
4490
+
4491
+ window.dokan.api = new __WEBPACK_IMPORTED_MODULE_6__utils_Api__["a" /* default */]();
4492
+ window.dokan.libs['Vue'] = __WEBPACK_IMPORTED_MODULE_0_vue__["default"];
4493
+ window.dokan.libs['Router'] = __WEBPACK_IMPORTED_MODULE_1_vue_router__["default"];
4494
+ window.dokan.libs['moment'] = __WEBPACK_IMPORTED_MODULE_2_moment___default.a;
4495
+ window.dokan.libs['ListTable'] = __WEBPACK_IMPORTED_MODULE_4_vue_wp_list_table__["default"];
4496
+ window.dokan.libs['Currency'] = __WEBPACK_IMPORTED_MODULE_18_admin_components_Currency_vue__["a" /* default */];
4497
+ window.dokan.libs['Postbox'] = __WEBPACK_IMPORTED_MODULE_12_admin_components_Postbox_vue__["a" /* default */];
4498
+ window.dokan.libs['Loading'] = __WEBPACK_IMPORTED_MODULE_13_admin_components_Loading_vue__["a" /* default */];
4499
+ window.dokan.libs['ChartJS'] = __WEBPACK_IMPORTED_MODULE_7_vue_chartjs__["default"];
4500
+ window.dokan.libs['Chart'] = __WEBPACK_IMPORTED_MODULE_14_admin_components_Chart_vue__["a" /* default */];
4501
+ window.dokan.libs['Modal'] = __WEBPACK_IMPORTED_MODULE_15_admin_components_Modal_vue__["a" /* default */];
4502
+ window.dokan.libs['Switches'] = __WEBPACK_IMPORTED_MODULE_16_admin_components_Switches_vue__["a" /* default */];
4503
+ window.dokan.libs['TextEditor'] = __WEBPACK_IMPORTED_MODULE_17_admin_components_TextEditor_vue__["a" /* default */];
4504
+ window.dokan.libs['LazyInput'] = __WEBPACK_IMPORTED_MODULE_19_admin_components_LazyInput_vue__["a" /* default */];
4505
+ window.dokan.libs['Progressbar'] = __WEBPACK_IMPORTED_MODULE_20_admin_components_Progressbar_vue__["a" /* default */];
4506
+ window.dokan.libs['Search'] = __WEBPACK_IMPORTED_MODULE_21_admin_components_Search_vue__["a" /* default */];
4507
+ window.dokan.libs['Datepicker'] = __WEBPACK_IMPORTED_MODULE_22_admin_components_Datepicker_vue__["a" /* default */];
4508
+ window.dokan.libs['Multiselect'] = __WEBPACK_IMPORTED_MODULE_5_vue_multiselect___default.a;
4509
+ window.dokan.libs['ColorPicker'] = __WEBPACK_IMPORTED_MODULE_24_admin_components_ColorPicker_vue__["a" /* default */];
4510
+ window.dokan.libs['debounce'] = __WEBPACK_IMPORTED_MODULE_9_debounce___default.a;
4511
+ window.dokan.libs['VersionCompare'] = __WEBPACK_IMPORTED_MODULE_10__utils_VersionCompare___default.a;
4512
+ window.dokan.libs['GoogleMaps'] = __WEBPACK_IMPORTED_MODULE_25_admin_components_GoogleMaps_vue__["a" /* default */];
4513
+ window.dokan.libs['Mapbox'] = __WEBPACK_IMPORTED_MODULE_26_admin_components_Mapbox_vue__["a" /* default */];
4514
+ window.dokan.libs['UploadImage'] = __WEBPACK_IMPORTED_MODULE_27_admin_components_UploadImage_vue__["a" /* default */];
4515
+ window.dokan.libs['PasswordGenerator'] = __WEBPACK_IMPORTED_MODULE_28_admin_components_PasswordGenerator_vue__["a" /* default */];
4516
+ window.dokan.libs['VendorAccountFields'] = __WEBPACK_IMPORTED_MODULE_29_admin_pages_VendorAccountFields_vue__["a" /* default */];
4517
+ window.dokan.libs['VendorAddressFields'] = __WEBPACK_IMPORTED_MODULE_30_admin_pages_VendorAddressFields_vue__["a" /* default */];
4518
+ window.dokan.libs['VendorSocialFields'] = __WEBPACK_IMPORTED_MODULE_31_admin_pages_VendorSocialFields_vue__["a" /* default */];
4519
+ window.dokan.libs['VendorPaymentFields'] = __WEBPACK_IMPORTED_MODULE_32_admin_pages_VendorPaymentFields_vue__["a" /* default */];
4520
+ window.dokan.libs['ContentLoading'] = {
4521
+ VclCode: __WEBPACK_IMPORTED_MODULE_11_vue_content_loading__["VclCode"],
4522
+ VclList: __WEBPACK_IMPORTED_MODULE_11_vue_content_loading__["VclList"],
4523
+ VclTwitch: __WEBPACK_IMPORTED_MODULE_11_vue_content_loading__["VclTwitch"],
4524
+ VclFacebook: __WEBPACK_IMPORTED_MODULE_11_vue_content_loading__["VclFacebook"],
4525
+ VclInstagram: __WEBPACK_IMPORTED_MODULE_11_vue_content_loading__["VclInstagram"],
4526
+ VclBulletList: __WEBPACK_IMPORTED_MODULE_11_vue_content_loading__["VclBulletList"],
4527
+ VueContentLoading: __WEBPACK_IMPORTED_MODULE_11_vue_content_loading__["VueContentLoading"]
4528
+ }; // wp npm packages with backward compatibility
4529
+
4530
+ dokan.hooks = wp && wp.hooks ? wp.hooks : dokan.wpPackages.hooks;
4531
+
4532
+ if (dokan.hooks) {
4533
+ dokan.addFilterComponent = function (hookName, namespace, component) {
4534
+ var priority = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 10;
4535
+ dokan.hooks.addFilter(hookName, namespace, function (components) {
4536
+ components.push(component);
4537
+ return components;
4538
+ }, priority);
4539
+ };
4540
+ }
4541
 
4542
+ /***/ }),
4543
+ /* 159 */
4544
+ /***/ (function(module, exports) {
4545
 
4546
+ module.exports = moment;
4547
 
4548
  /***/ }),
4549
+ /* 160 */,
4550
+ /* 161 */,
4551
+ /* 162 */,
4552
+ /* 163 */
4553
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4554
 
4555
  "use strict";
4556
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_classCallCheck__ = __webpack_require__(64);
4557
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_classCallCheck__);
4558
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass__ = __webpack_require__(65);
4559
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass__);
4560
 
4561
 
 
 
 
4562
 
4563
+ var Dokan_API =
4564
+ /*#__PURE__*/
4565
+ function () {
4566
+ function Dokan_API() {
4567
+ __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_classCallCheck___default()(this, Dokan_API);
4568
+ }
4569
 
4570
+ __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass___default()(Dokan_API, [{
4571
+ key: "endpoint",
4572
+ value: function endpoint() {
4573
+ return window.dokan.rest.root + window.dokan.rest.version;
4574
+ }
4575
+ }, {
4576
+ key: "headers",
4577
+ value: function headers() {
4578
+ return {};
4579
+ }
4580
+ }, {
4581
+ key: "get",
4582
+ value: function get(path) {
4583
+ var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
4584
+ return this.ajax(path, 'GET', this.headers(), data);
4585
+ }
4586
+ }, {
4587
+ key: "post",
4588
+ value: function post(path) {
4589
+ var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
4590
+ return this.ajax(path, 'POST', this.headers(), data);
4591
+ }
4592
+ }, {
4593
+ key: "put",
4594
+ value: function put(path) {
4595
+ var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
4596
+ return this.ajax(path, 'PUT', this.headers(), data);
4597
+ }
4598
+ }, {
4599
+ key: "delete",
4600
+ value: function _delete(path) {
4601
+ var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
4602
+ return this.ajax(path, 'DELETE', this.headers(), data);
4603
+ } // jQuery ajax wrapper
4604
+
4605
+ }, {
4606
+ key: "ajax",
4607
+ value: function ajax(path, method, headers, data) {
4608
+ var override = null;
4609
+
4610
+ if ('PUT' === method || 'DELETE' === method) {
4611
+ override = method;
4612
+ method = 'POST';
4613
+ }
4614
+
4615
+ return jQuery.ajax({
4616
+ url: this.endpoint() + path,
4617
+ beforeSend: function beforeSend(xhr) {
4618
+ xhr.setRequestHeader('X-WP-Nonce', window.dokan.rest.nonce);
4619
+
4620
+ if (override) {
4621
+ xhr.setRequestHeader('X-HTTP-Method-Override', override);
4622
+ }
4623
  },
4624
+ type: method,
4625
+ data: data
4626
+ });
 
 
 
 
4627
  }
4628
+ }]);
4629
 
4630
+ return Dokan_API;
4631
+ }();
4632
 
4633
+ /* harmony default export */ __webpack_exports__["a"] = (Dokan_API);
4634
+
4635
+ /***/ }),
4636
+ /* 164 */
4637
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4638
 
4639
  "use strict";
4640
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_i18n__ = __webpack_require__(165);
4641
 
4642
+ /* harmony default export */ __webpack_exports__["a"] = ({
4643
+ methods: {
4644
+ setLocaleData: function setLocaleData(data) {
4645
+ return Object(__WEBPACK_IMPORTED_MODULE_0__utils_i18n__["c" /* setLocaleData */])(data);
4646
+ },
4647
+ __: function __(text, domain) {
4648
+ return Object(__WEBPACK_IMPORTED_MODULE_0__utils_i18n__["a" /* __ */])(text, domain);
4649
+ },
4650
+ _nx: function _nx(single, plural, number, context, domain) {
4651
+ return Object(__WEBPACK_IMPORTED_MODULE_0__utils_i18n__["b" /* _nx */])(single, plural, number, context, domain);
4652
+ },
4653
+ __n: function __n(single, plural, number, domain) {
4654
+ return _n(single, plural, number, domain);
4655
+ },
4656
+ sprintf: function sprintf(fmt) {
4657
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4658
+ args[_key - 1] = arguments[_key];
4659
+ }
4660
 
4661
+ return __WEBPACK_IMPORTED_MODULE_0__utils_i18n__["d" /* sprintf */].apply(void 0, [fmt].concat(args));
4662
+ }
4663
+ }
4664
  });
4665
+
4666
+ /***/ }),
4667
+ /* 165 */
4668
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4669
+
4670
+ "use strict";
4671
+ /* harmony export (immutable) */ __webpack_exports__["c"] = setLocaleData;
4672
+ /* unused harmony export getI18n */
4673
+ /* harmony export (immutable) */ __webpack_exports__["a"] = __;
4674
+ /* unused harmony export _x */
4675
+ /* unused harmony export _n */
4676
+ /* harmony export (immutable) */ __webpack_exports__["b"] = _nx;
4677
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return sprintf; });
4678
  /**
4679
  * External dependencies
4680
  */
4681
  var i18n = {};
 
4682
  /**
4683
  * Creates a new Jed instance with specified locale data configuration.
4684
  *
4686
  *
4687
  * @param {Object} data Locale data configuration.
4688
  */
4689
+
4690
  function setLocaleData(data) {
4691
  var jed = new Jed(data);
4692
  i18n[jed._textdomain] = jed;
4693
  }
 
4694
  /**
4695
  * Returns the current Jed instance, initializing with a default configuration
4696
  * if not already assigned.
4697
  *
4698
  * @return {Jed} Jed instance.
4699
  */
4700
+
4701
  function getI18n() {
4702
  var domain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
4703
 
4704
  if (!i18n[domain]) {
4705
+ setLocaleData({
4706
+ '': {}
4707
+ });
4708
  }
4709
 
4710
  return i18n[domain];
4711
  }
 
4712
  /**
4713
  * Retrieve the translation of text.
4714
  *
4719
  *
4720
  * @return {string} Translated text.
4721
  */
4722
+
4723
  function __(text, domain) {
4724
  return getI18n(domain) ? getI18n(domain).dgettext(domain, text) : text;
4725
  }
 
4726
  /**
4727
  * Retrieve translated string with gettext context.
4728
  *
4734
  *
4735
  * @return {string} Translated context string without pipe.
4736
  */
4737
+
4738
  function _x(text, context, domain) {
4739
  return getI18n(domain).dpgettext(domain, context, text);
4740
  }
 
4741
  /**
4742
  * Translates and retrieves the singular or plural form based on the supplied
4743
  * number.
4752
  *
4753
  * @return {string} The translated singular or plural form.
4754
  */
4755
+
4756
  function _n(single, plural, number, domain) {
4757
  return getI18n(domain).dngettext(domain, single, plural, number);
4758
  }
 
4759
  /**
4760
  * Translates and retrieves the singular or plural form based on the supplied
4761
  * number, with gettext context.
4771
  *
4772
  * @return {string} The translated singular or plural form.
4773
  */
4774
+
4775
  function _nx(single, plural, number, context, domain) {
4776
  return getI18n(domain).dnpgettext(domain, context, single, plural, number);
4777
  }
4778
+ /**
4779
+ * Returns a formatted string.
4780
+ *
4781
+ * @see http://www.diveintojavascript.com/projects/javascript-sprintf
4782
+ *
4783
+ * @type {string}
4784
+ */
4785
+
4786
+ var sprintf = Jed.sprintf;
4787
+
4788
+ /***/ }),
4789
+ /* 166 */
4790
+ /***/ (function(module, exports) {
4791
+
4792
+ module.exports = function versionCompare(v1, v2, operator) {
4793
+ // eslint-disable-line camelcase
4794
+ // discuss at: https://locutus.io/php/version_compare/
4795
+ // original by: Philippe Jausions (https://pear.php.net/user/jausions)
4796
+ // original by: Aidan Lister (https://aidanlister.com/)
4797
+ // reimplemented by: Kankrelune (https://www.webfaktory.info/)
4798
+ // improved by: Brett Zamir (https://brett-zamir.me)
4799
+ // improved by: Scott Baker
4800
+ // improved by: Theriault (https://github.com/Theriault)
4801
+ // example 1: versionCompare('8.2.5rc', '8.2.5a')
4802
+ // returns 1: 1
4803
+ // example 2: versionCompare('8.2.50', '8.2.52', '<')
4804
+ // returns 2: true
4805
+ // example 3: versionCompare('5.3.0-dev', '5.3.0')
4806
+ // returns 3: -1
4807
+ // example 4: versionCompare('4.1.0.52','4.01.0.51')
4808
+ // returns 4: 1
4809
+ // Important: compare must be initialized at 0.
4810
+ var i;
4811
+ var x;
4812
+ var compare = 0; // vm maps textual PHP versions to negatives so they're less than 0.
4813
+ // PHP currently defines these as CASE-SENSITIVE. It is important to
4814
+ // leave these as negatives so that they can come before numerical versions
4815
+ // and as if no letters were there to begin with.
4816
+ // (1alpha is < 1 and < 1.1 but > 1dev1)
4817
+ // If a non-numerical value can't be mapped to this table, it receives
4818
+ // -7 as its value.
4819
+
4820
+ var vm = {
4821
+ 'dev': -6,
4822
+ 'alpha': -5,
4823
+ 'a': -5,
4824
+ 'beta': -4,
4825
+ 'b': -4,
4826
+ 'RC': -3,
4827
+ 'rc': -3,
4828
+ '#': -2,
4829
+ 'p': 1,
4830
+ 'pl': 1
4831
+ }; // This function will be called to prepare each version argument.
4832
+ // It replaces every _, -, and + with a dot.
4833
+ // It surrounds any nonsequence of numbers/dots with dots.
4834
+ // It replaces sequences of dots with a single dot.
4835
+ // version_compare('4..0', '4.0') === 0
4836
+ // Important: A string of 0 length needs to be converted into a value
4837
+ // even less than an unexisting value in vm (-7), hence [-8].
4838
+ // It's also important to not strip spaces because of this.
4839
+ // version_compare('', ' ') === 1
4840
+
4841
+ var _prepVersion = function _prepVersion(v) {
4842
+ v = ('' + v).replace(/[_\-+]/g, '.');
4843
+ v = v.replace(/([^.\d]+)/g, '.$1.').replace(/\.{2,}/g, '.');
4844
+ return !v.length ? [-8] : v.split('.');
4845
+ }; // This converts a version component to a number.
4846
+ // Empty component becomes 0.
4847
+ // Non-numerical component becomes a negative number.
4848
+ // Numerical component becomes itself as an integer.
4849
+
4850
+
4851
+ var _numVersion = function _numVersion(v) {
4852
+ return !v ? 0 : isNaN(v) ? vm[v] || -7 : parseInt(v, 10);
4853
+ };
4854
+
4855
+ v1 = _prepVersion(v1);
4856
+ v2 = _prepVersion(v2);
4857
+ x = Math.max(v1.length, v2.length);
4858
+
4859
+ for (i = 0; i < x; i++) {
4860
+ if (v1[i] === v2[i]) {
4861
+ continue;
4862
+ }
4863
+
4864
+ v1[i] = _numVersion(v1[i]);
4865
+ v2[i] = _numVersion(v2[i]);
4866
+
4867
+ if (v1[i] < v2[i]) {
4868
+ compare = -1;
4869
+ break;
4870
+ } else if (v1[i] > v2[i]) {
4871
+ compare = 1;
4872
+ break;
4873
+ }
4874
+ }
4875
+
4876
+ if (!operator) {
4877
+ return compare;
4878
+ } // Important: operator is CASE-SENSITIVE.
4879
+ // "No operator" seems to be treated as "<."
4880
+ // Any other values seem to make the function return null.
4881
+
4882
+
4883
+ switch (operator) {
4884
+ case '>':
4885
+ case 'gt':
4886
+ return compare > 0;
4887
+
4888
+ case '>=':
4889
+ case 'ge':
4890
+ return compare >= 0;
4891
 
4892
+ case '<=':
4893
+ case 'le':
4894
+ return compare <= 0;
 
 
 
 
 
4895
 
4896
+ case '===':
4897
+ case '=':
4898
+ case 'eq':
4899
+ return compare === 0;
4900
 
4901
+ case '<>':
4902
+ case '!==':
4903
+ case 'ne':
4904
+ return compare !== 0;
4905
+
4906
+ case '':
4907
+ case '<':
4908
+ case 'lt':
4909
+ return compare < 0;
4910
+
4911
+ default:
4912
+ return null;
4913
+ }
4914
+ };
4915
+
4916
+ /***/ }),
4917
+ /* 167 */
4918
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4919
 
4920
  "use strict";
4921
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Postbox_vue__ = __webpack_require__(67);
4922
+ /* unused harmony namespace reexport */
4923
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_36a997ab_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Postbox_vue__ = __webpack_require__(169);
 
4924
  var disposed = false
4925
  function injectStyle (ssrContext) {
4926
  if (disposed) return
4927
+ __webpack_require__(168)
4928
  }
4929
  var normalizeComponent = __webpack_require__(0)
4930
  /* script */
4966
  })
4967
  })()}
4968
 
4969
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
4970
 
4971
 
4972
  /***/ }),
4973
+ /* 168 */
 
4974
  /***/ (function(module, exports) {
4975
 
4976
  // removed by extract-text-webpack-plugin
4977
 
4978
  /***/ }),
4979
+ /* 169 */
 
4980
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4981
 
4982
  "use strict";
5036
  }
5037
 
5038
  /***/ }),
5039
+ /* 170 */
 
5040
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5041
 
5042
  "use strict";
5043
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Loading_vue__ = __webpack_require__(68);
5044
+ /* unused harmony namespace reexport */
5045
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_67db673c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Loading_vue__ = __webpack_require__(172);
 
5046
  var disposed = false
5047
  function injectStyle (ssrContext) {
5048
  if (disposed) return
5049
+ __webpack_require__(171)
5050
  }
5051
  var normalizeComponent = __webpack_require__(0)
5052
  /* script */
5070
  __vue_scopeId__,
5071
  __vue_module_identifier__
5072
  )
5073
+ Component.options.__file = "src/admin/components/Loading.vue"
5074
+
5075
+ /* hot reload */
5076
+ if (false) {(function () {
5077
+ var hotAPI = require("vue-hot-reload-api")
5078
+ hotAPI.install(require("vue"), false)
5079
+ if (!hotAPI.compatible) return
5080
+ module.hot.accept()
5081
+ if (!module.hot.data) {
5082
+ hotAPI.createRecord("data-v-67db673c", Component.options)
5083
+ } else {
5084
+ hotAPI.reload("data-v-67db673c", Component.options)
5085
+ }
5086
+ module.hot.dispose(function (data) {
5087
+ disposed = true
5088
+ })
5089
+ })()}
5090
+
5091
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
5092
+
5093
+
5094
+ /***/ }),
5095
+ /* 171 */
5096
+ /***/ (function(module, exports) {
5097
+
5098
+ // removed by extract-text-webpack-plugin
5099
+
5100
+ /***/ }),
5101
+ /* 172 */
5102
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5103
+
5104
+ "use strict";
5105
+ var render = function() {
5106
+ var _vm = this
5107
+ var _h = _vm.$createElement
5108
+ var _c = _vm._self._c || _h
5109
+ return _vm._m(0)
5110
+ }
5111
+ var staticRenderFns = [
5112
+ function() {
5113
+ var _vm = this
5114
+ var _h = _vm.$createElement
5115
+ var _c = _vm._self._c || _h
5116
+ return _c("div", { staticClass: "dokan-loader" }, [_c("div"), _c("div")])
5117
+ }
5118
+ ]
5119
+ render._withStripped = true
5120
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
5121
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
5122
+ if (false) {
5123
+ module.hot.accept()
5124
+ if (module.hot.data) {
5125
+ require("vue-hot-reload-api") .rerender("data-v-67db673c", esExports)
5126
+ }
5127
+ }
5128
+
5129
+ /***/ }),
5130
+ /* 173 */
5131
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5132
+
5133
+ "use strict";
5134
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Modal_vue__ = __webpack_require__(69);
5135
+ /* unused harmony namespace reexport */
5136
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4bd79a2d_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Modal_vue__ = __webpack_require__(175);
5137
+ var disposed = false
5138
+ function injectStyle (ssrContext) {
5139
+ if (disposed) return
5140
+ __webpack_require__(174)
5141
+ }
5142
+ var normalizeComponent = __webpack_require__(0)
5143
+ /* script */
5144
+
5145
+
5146
+ /* template */
5147
+
5148
+ /* template functional */
5149
+ var __vue_template_functional__ = false
5150
+ /* styles */
5151
+ var __vue_styles__ = injectStyle
5152
+ /* scopeId */
5153
+ var __vue_scopeId__ = null
5154
+ /* moduleIdentifier (server only) */
5155
+ var __vue_module_identifier__ = null
5156
+ var Component = normalizeComponent(
5157
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Modal_vue__["a" /* default */],
5158
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4bd79a2d_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Modal_vue__["a" /* default */],
5159
+ __vue_template_functional__,
5160
+ __vue_styles__,
5161
+ __vue_scopeId__,
5162
+ __vue_module_identifier__
5163
+ )
5164
+ Component.options.__file = "src/admin/components/Modal.vue"
5165
+
5166
+ /* hot reload */
5167
+ if (false) {(function () {
5168
+ var hotAPI = require("vue-hot-reload-api")
5169
+ hotAPI.install(require("vue"), false)
5170
+ if (!hotAPI.compatible) return
5171
+ module.hot.accept()
5172
+ if (!module.hot.data) {
5173
+ hotAPI.createRecord("data-v-4bd79a2d", Component.options)
5174
+ } else {
5175
+ hotAPI.reload("data-v-4bd79a2d", Component.options)
5176
+ }
5177
+ module.hot.dispose(function (data) {
5178
+ disposed = true
5179
+ })
5180
+ })()}
5181
+
5182
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
5183
+
5184
+
5185
+ /***/ }),
5186
+ /* 174 */
5187
+ /***/ (function(module, exports) {
5188
+
5189
+ // removed by extract-text-webpack-plugin
5190
+
5191
+ /***/ }),
5192
+ /* 175 */
5193
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5194
+
5195
+ "use strict";
5196
+ var render = function() {
5197
+ var _vm = this
5198
+ var _h = _vm.$createElement
5199
+ var _c = _vm._self._c || _h
5200
+ return _c("div", { staticClass: "dokan-modal-dialog" }, [
5201
+ _c("div", { staticClass: "dokan-modal" }, [
5202
+ _c(
5203
+ "div",
5204
+ {
5205
+ staticClass: "dokan-modal-content",
5206
+ style: { width: _vm.width, height: _vm.height }
5207
+ },
5208
+ [
5209
+ _c(
5210
+ "section",
5211
+ { class: ["dokan-modal-main", { "has-footer": _vm.footer }] },
5212
+ [
5213
+ _c(
5214
+ "header",
5215
+ { staticClass: "modal-header" },
5216
+ [
5217
+ _vm._t("header", [_c("h1", [_vm._v(_vm._s(_vm.title))])]),
5218
+ _vm._v(" "),
5219
+ _c(
5220
+ "button",
5221
+ {
5222
+ staticClass:
5223
+ "modal-close modal-close-link dashicons dashicons-no-alt",
5224
+ on: {
5225
+ click: function($event) {
5226
+ _vm.$emit("close")
5227
+ }
5228
+ }
5229
+ },
5230
+ [
5231
+ _c("span", { staticClass: "screen-reader-text" }, [
5232
+ _vm._v(
5233
+ _vm._s(_vm.__("Close modal panel", "dokan-lite"))
5234
+ )
5235
+ ])
5236
+ ]
5237
+ )
5238
+ ],
5239
+ 2
5240
+ ),
5241
+ _vm._v(" "),
5242
+ _c("div", { staticClass: "modal-body" }, [_vm._t("body")], 2),
5243
+ _vm._v(" "),
5244
+ _vm.footer
5245
+ ? _c("footer", { staticClass: "modal-footer" }, [
5246
+ _c("div", { staticClass: "inner" }, [_vm._t("footer")], 2)
5247
+ ])
5248
+ : _vm._e()
5249
+ ]
5250
+ )
5251
+ ]
5252
+ )
5253
+ ]),
5254
+ _vm._v(" "),
5255
+ _c("div", { staticClass: "dokan-modal-backdrop" })
5256
+ ])
5257
+ }
5258
+ var staticRenderFns = []
5259
+ render._withStripped = true
5260
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
5261
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
5262
+ if (false) {
5263
+ module.hot.accept()
5264
+ if (module.hot.data) {
5265
+ require("vue-hot-reload-api") .rerender("data-v-4bd79a2d", esExports)
5266
+ }
5267
+ }
5268
+
5269
+ /***/ }),
5270
+ /* 176 */
5271
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5272
+
5273
+ "use strict";
5274
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_TextEditor_vue__ = __webpack_require__(70);
5275
+ /* unused harmony namespace reexport */
5276
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_70730fac_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_TextEditor_vue__ = __webpack_require__(177);
5277
+ var disposed = false
5278
+ var normalizeComponent = __webpack_require__(0)
5279
+ /* script */
5280
+
5281
+
5282
+ /* template */
5283
+
5284
+ /* template functional */
5285
+ var __vue_template_functional__ = false
5286
+ /* styles */
5287
+ var __vue_styles__ = null
5288
+ /* scopeId */
5289
+ var __vue_scopeId__ = null
5290
+ /* moduleIdentifier (server only) */
5291
+ var __vue_module_identifier__ = null
5292
+ var Component = normalizeComponent(
5293
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_TextEditor_vue__["a" /* default */],
5294
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_70730fac_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_TextEditor_vue__["a" /* default */],
5295
+ __vue_template_functional__,
5296
+ __vue_styles__,
5297
+ __vue_scopeId__,
5298
+ __vue_module_identifier__
5299
+ )
5300
+ Component.options.__file = "src/admin/components/TextEditor.vue"
5301
+
5302
+ /* hot reload */
5303
+ if (false) {(function () {
5304
+ var hotAPI = require("vue-hot-reload-api")
5305
+ hotAPI.install(require("vue"), false)
5306
+ if (!hotAPI.compatible) return
5307
+ module.hot.accept()
5308
+ if (!module.hot.data) {
5309
+ hotAPI.createRecord("data-v-70730fac", Component.options)
5310
+ } else {
5311
+ hotAPI.reload("data-v-70730fac", Component.options)
5312
+ }
5313
+ module.hot.dispose(function (data) {
5314
+ disposed = true
5315
+ })
5316
+ })()}
5317
+
5318
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
5319
+
5320
+
5321
+ /***/ }),
5322
+ /* 177 */
5323
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5324
+
5325
+ "use strict";
5326
+ var render = function() {
5327
+ var _vm = this
5328
+ var _h = _vm.$createElement
5329
+ var _c = _vm._self._c || _h
5330
+ return _c("textarea", {
5331
+ attrs: { id: "dokan-tinymce-" + _vm.editorId },
5332
+ domProps: { value: _vm.value }
5333
+ })
5334
+ }
5335
+ var staticRenderFns = []
5336
+ render._withStripped = true
5337
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
5338
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
5339
+ if (false) {
5340
+ module.hot.accept()
5341
+ if (module.hot.data) {
5342
+ require("vue-hot-reload-api") .rerender("data-v-70730fac", esExports)
5343
+ }
5344
+ }
5345
+
5346
+ /***/ }),
5347
+ /* 178 */
5348
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5349
+
5350
+ "use strict";
5351
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Currency_vue__ = __webpack_require__(71);
5352
+ /* unused harmony namespace reexport */
5353
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7df58dc1_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Currency_vue__ = __webpack_require__(179);
5354
+ var disposed = false
5355
+ var normalizeComponent = __webpack_require__(0)
5356
+ /* script */
5357
+
5358
+
5359
+ /* template */
5360
+
5361
+ /* template functional */
5362
+ var __vue_template_functional__ = false
5363
+ /* styles */
5364
+ var __vue_styles__ = null
5365
+ /* scopeId */
5366
+ var __vue_scopeId__ = null
5367
+ /* moduleIdentifier (server only) */
5368
+ var __vue_module_identifier__ = null
5369
+ var Component = normalizeComponent(
5370
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Currency_vue__["a" /* default */],
5371
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7df58dc1_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Currency_vue__["a" /* default */],
5372
+ __vue_template_functional__,
5373
+ __vue_styles__,
5374
+ __vue_scopeId__,
5375
+ __vue_module_identifier__
5376
+ )
5377
+ Component.options.__file = "src/admin/components/Currency.vue"
5378
 
5379
  /* hot reload */
5380
  if (false) {(function () {
5383
  if (!hotAPI.compatible) return
5384
  module.hot.accept()
5385
  if (!module.hot.data) {
5386
+ hotAPI.createRecord("data-v-7df58dc1", Component.options)
5387
  } else {
5388
+ hotAPI.reload("data-v-7df58dc1", Component.options)
5389
  }
5390
  module.hot.dispose(function (data) {
5391
  disposed = true
5392
  })
5393
  })()}
5394
 
5395
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
 
 
 
 
 
 
5396
 
 
5397
 
5398
  /***/ }),
5399
+ /* 179 */
 
5400
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5401
 
5402
  "use strict";
5404
  var _vm = this
5405
  var _h = _vm.$createElement
5406
  var _c = _vm._self._c || _h
5407
+ return _c("div", {
5408
+ domProps: { innerHTML: _vm._s(_vm.formattedPrice(_vm.amount)) }
5409
+ })
5410
  }
5411
+ var staticRenderFns = []
 
 
 
 
 
 
 
5412
  render._withStripped = true
5413
  var esExports = { render: render, staticRenderFns: staticRenderFns }
5414
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
5415
  if (false) {
5416
  module.hot.accept()
5417
  if (module.hot.data) {
5418
+ require("vue-hot-reload-api") .rerender("data-v-7df58dc1", esExports)
5419
  }
5420
  }
5421
 
5422
  /***/ }),
5423
+ /* 180 */
 
5424
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5425
 
5426
  "use strict";
5427
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_LazyInput_vue__ = __webpack_require__(72);
5428
+ /* unused harmony namespace reexport */
5429
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_588d4894_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_LazyInput_vue__ = __webpack_require__(181);
 
5430
  var disposed = false
 
 
 
 
5431
  var normalizeComponent = __webpack_require__(0)
5432
  /* script */
5433
 
5437
  /* template functional */
5438
  var __vue_template_functional__ = false
5439
  /* styles */
5440
+ var __vue_styles__ = null
5441
  /* scopeId */
5442
  var __vue_scopeId__ = null
5443
  /* moduleIdentifier (server only) */
5444
  var __vue_module_identifier__ = null
5445
  var Component = normalizeComponent(
5446
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_LazyInput_vue__["a" /* default */],
5447
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_588d4894_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_LazyInput_vue__["a" /* default */],
5448
  __vue_template_functional__,
5449
  __vue_styles__,
5450
  __vue_scopeId__,
5451
  __vue_module_identifier__
5452
  )
5453
+ Component.options.__file = "src/admin/components/LazyInput.vue"
5454
 
5455
  /* hot reload */
5456
  if (false) {(function () {
5459
  if (!hotAPI.compatible) return
5460
  module.hot.accept()
5461
  if (!module.hot.data) {
5462
+ hotAPI.createRecord("data-v-588d4894", Component.options)
5463
  } else {
5464
+ hotAPI.reload("data-v-588d4894", Component.options)
5465
  }
5466
  module.hot.dispose(function (data) {
5467
  disposed = true
5468
  })
5469
  })()}
5470
 
5471
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
 
 
 
 
 
 
5472
 
 
5473
 
5474
  /***/ }),
5475
+ /* 181 */
 
5476
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5477
 
5478
  "use strict";
5480
  var _vm = this
5481
  var _h = _vm.$createElement
5482
  var _c = _vm._self._c || _h
5483
+ return _c("input", {
5484
+ attrs: { type: _vm.type, placeholder: _vm.placeholder },
5485
+ domProps: { value: _vm.value },
5486
+ on: {
5487
+ input: function($event) {
5488
+ _vm.updateValue($event.target.value)
5489
+ },
5490
+ focus: _vm.focus,
5491
+ blur: _vm.blur
5492
+ }
5493
+ })
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5494
  }
5495
  var staticRenderFns = []
5496
  render._withStripped = true
5499
  if (false) {
5500
  module.hot.accept()
5501
  if (module.hot.data) {
5502
+ require("vue-hot-reload-api") .rerender("data-v-588d4894", esExports)
5503
  }
5504
  }
5505
 
5506
  /***/ }),
5507
+ /* 182 */
 
5508
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5509
 
5510
  "use strict";
5511
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Progressbar_vue__ = __webpack_require__(73);
5512
+ /* unused harmony namespace reexport */
5513
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_356fabc6_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Progressbar_vue__ = __webpack_require__(184);
 
5514
  var disposed = false
5515
  function injectStyle (ssrContext) {
5516
  if (disposed) return
5517
+ __webpack_require__(183)
5518
  }
5519
  var normalizeComponent = __webpack_require__(0)
5520
  /* script */
5527
  /* styles */
5528
  var __vue_styles__ = injectStyle
5529
  /* scopeId */
5530
+ var __vue_scopeId__ = "data-v-356fabc6"
5531
  /* moduleIdentifier (server only) */
5532
  var __vue_module_identifier__ = null
5533
  var Component = normalizeComponent(
5534
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Progressbar_vue__["a" /* default */],
5535
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_356fabc6_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Progressbar_vue__["a" /* default */],
5536
  __vue_template_functional__,
5537
  __vue_styles__,
5538
  __vue_scopeId__,
5539
  __vue_module_identifier__
5540
  )
5541
+ Component.options.__file = "src/admin/components/Progressbar.vue"
5542
 
5543
  /* hot reload */
5544
  if (false) {(function () {
5547
  if (!hotAPI.compatible) return
5548
  module.hot.accept()
5549
  if (!module.hot.data) {
5550
+ hotAPI.createRecord("data-v-356fabc6", Component.options)
5551
  } else {
5552
+ hotAPI.reload("data-v-356fabc6", Component.options)
5553
  }
5554
  module.hot.dispose(function (data) {
5555
  disposed = true
5556
  })
5557
  })()}
5558
 
5559
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
5560
 
5561
 
5562
  /***/ }),
5563
+ /* 183 */
 
5564
  /***/ (function(module, exports) {
5565
 
5566
  // removed by extract-text-webpack-plugin
5567
 
5568
  /***/ }),
5569
+ /* 184 */
 
5570
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5571
 
5572
  "use strict";
5574
  var _vm = this
5575
  var _h = _vm.$createElement
5576
  var _c = _vm._self._c || _h
5577
+ return _c("div", { class: _vm.bgColor, attrs: { id: "progressbar" } }, [
5578
+ _c(
5579
+ "div",
5580
+ {
5581
+ class: _vm.fgColor,
5582
+ style: { width: _vm.value + "%" },
5583
+ attrs: { id: "value" }
5584
+ },
5585
+ [!_vm.hidden ? [_vm._v(_vm._s(_vm.value + "%"))] : _vm._e()],
5586
+ 2
5587
+ )
5588
  ])
5589
  }
5590
  var staticRenderFns = []
5594
  if (false) {
5595
  module.hot.accept()
5596
  if (module.hot.data) {
5597
+ require("vue-hot-reload-api") .rerender("data-v-356fabc6", esExports)
5598
  }
5599
  }
5600
 
5601
  /***/ }),
5602
+ /* 185 */
 
5603
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5604
 
5605
  "use strict";
5606
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Search_vue__ = __webpack_require__(74);
5607
+ /* unused harmony namespace reexport */
5608
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_5d8365d8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Search_vue__ = __webpack_require__(186);
 
5609
  var disposed = false
5610
  var normalizeComponent = __webpack_require__(0)
5611
  /* script */
5622
  /* moduleIdentifier (server only) */
5623
  var __vue_module_identifier__ = null
5624
  var Component = normalizeComponent(
5625
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Search_vue__["a" /* default */],
5626
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_5d8365d8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Search_vue__["a" /* default */],
5627
  __vue_template_functional__,
5628
  __vue_styles__,
5629
  __vue_scopeId__,
5630
  __vue_module_identifier__
5631
  )
5632
+ Component.options.__file = "src/admin/components/Search.vue"
5633
 
5634
  /* hot reload */
5635
  if (false) {(function () {
5638
  if (!hotAPI.compatible) return
5639
  module.hot.accept()
5640
  if (!module.hot.data) {
5641
+ hotAPI.createRecord("data-v-5d8365d8", Component.options)
5642
  } else {
5643
+ hotAPI.reload("data-v-5d8365d8", Component.options)
5644
  }
5645
  module.hot.dispose(function (data) {
5646
  disposed = true
5647
  })
5648
  })()}
5649
 
5650
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
5651
 
5652
 
5653
  /***/ }),
5654
+ /* 186 */
 
5655
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5656
 
5657
  "use strict";
5659
  var _vm = this
5660
  var _h = _vm.$createElement
5661
  var _c = _vm._self._c || _h
5662
+ return _c("p", { staticClass: "search-box" }, [
5663
+ _c("input", {
5664
+ directives: [
5665
+ {
5666
+ name: "model",
5667
+ rawName: "v-model",
5668
+ value: _vm.searchItems,
5669
+ expression: "searchItems"
5670
+ }
5671
+ ],
5672
+ attrs: {
5673
+ type: "search",
5674
+ id: "post-search-input",
5675
+ name: "s",
5676
+ placeholder: _vm.title
5677
+ },
5678
+ domProps: { value: _vm.searchItems },
5679
+ on: {
5680
+ input: function($event) {
5681
+ if ($event.target.composing) {
5682
+ return
5683
+ }
5684
+ _vm.searchItems = $event.target.value
5685
+ }
5686
+ }
5687
+ })
5688
+ ])
5689
  }
5690
  var staticRenderFns = []
5691
  render._withStripped = true
5694
  if (false) {
5695
  module.hot.accept()
5696
  if (module.hot.data) {
5697
+ require("vue-hot-reload-api") .rerender("data-v-5d8365d8", esExports)
5698
  }
5699
  }
5700
 
5701
  /***/ }),
5702
+ /* 187 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5703
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5704
 
5705
  "use strict";
5706
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Datepicker_vue__ = __webpack_require__(75);
5707
+ /* unused harmony namespace reexport */
5708
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_ae257028_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Datepicker_vue__ = __webpack_require__(188);
5709
+ var disposed = false
5710
+ var normalizeComponent = __webpack_require__(0)
5711
+ /* script */
 
 
 
 
 
 
 
 
 
5712
 
 
 
5713
 
5714
+ /* template */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5715
 
5716
+ /* template functional */
5717
+ var __vue_template_functional__ = false
5718
+ /* styles */
5719
+ var __vue_styles__ = null
5720
+ /* scopeId */
5721
+ var __vue_scopeId__ = null
5722
+ /* moduleIdentifier (server only) */
5723
+ var __vue_module_identifier__ = null
5724
+ var Component = normalizeComponent(
5725
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Datepicker_vue__["a" /* default */],
5726
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_ae257028_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Datepicker_vue__["a" /* default */],
5727
+ __vue_template_functional__,
5728
+ __vue_styles__,
5729
+ __vue_scopeId__,
5730
+ __vue_module_identifier__
5731
+ )
5732
+ Component.options.__file = "src/admin/components/Datepicker.vue"
5733
 
5734
+ /* hot reload */
5735
+ if (false) {(function () {
5736
+ var hotAPI = require("vue-hot-reload-api")
5737
+ hotAPI.install(require("vue"), false)
5738
+ if (!hotAPI.compatible) return
5739
+ module.hot.accept()
5740
+ if (!module.hot.data) {
5741
+ hotAPI.createRecord("data-v-ae257028", Component.options)
5742
+ } else {
5743
+ hotAPI.reload("data-v-ae257028", Component.options)
5744
+ }
5745
+ module.hot.dispose(function (data) {
5746
+ disposed = true
5747
+ })
5748
+ })()}
5749
 
5750
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
 
 
 
 
 
 
 
 
 
 
 
5751
 
 
 
 
 
5752
 
5753
  /***/ }),
5754
+ /* 188 */
 
5755
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5756
 
5757
  "use strict";
5758
+ var render = function() {
5759
+ var _vm = this
5760
+ var _h = _vm.$createElement
5761
+ var _c = _vm._self._c || _h
5762
+ return _c("input", {
5763
+ attrs: { type: "text", placeholder: _vm.placeholder },
5764
+ domProps: { value: _vm.value },
5765
+ on: {
5766
+ input: function($event) {
5767
+ _vm.updateValue($event.target.value)
5768
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5769
  }
5770
+ })
5771
+ }
5772
+ var staticRenderFns = []
5773
+ render._withStripped = true
5774
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
5775
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
5776
+ if (false) {
5777
+ module.hot.accept()
5778
+ if (module.hot.data) {
5779
+ require("vue-hot-reload-api") .rerender("data-v-ae257028", esExports)
5780
+ }
5781
+ }
5782
 
5783
  /***/ }),
5784
+ /* 189 */,
5785
+ /* 190 */,
5786
+ /* 191 */,
5787
+ /* 192 */
5788
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5789
 
5790
  "use strict";
5791
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_GoogleMaps_vue__ = __webpack_require__(77);
5792
+ /* unused harmony namespace reexport */
5793
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4f45e4a0_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_GoogleMaps_vue__ = __webpack_require__(194);
5794
+ var disposed = false
5795
+ function injectStyle (ssrContext) {
5796
+ if (disposed) return
5797
+ __webpack_require__(193)
5798
+ }
5799
+ var normalizeComponent = __webpack_require__(0)
5800
+ /* script */
 
 
 
 
 
 
 
5801
 
 
 
 
 
 
 
5802
 
5803
+ /* template */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5804
 
5805
+ /* template functional */
5806
+ var __vue_template_functional__ = false
5807
+ /* styles */
5808
+ var __vue_styles__ = injectStyle
5809
+ /* scopeId */
5810
+ var __vue_scopeId__ = "data-v-4f45e4a0"
5811
+ /* moduleIdentifier (server only) */
5812
+ var __vue_module_identifier__ = null
5813
+ var Component = normalizeComponent(
5814
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_GoogleMaps_vue__["a" /* default */],
5815
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4f45e4a0_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_GoogleMaps_vue__["a" /* default */],
5816
+ __vue_template_functional__,
5817
+ __vue_styles__,
5818
+ __vue_scopeId__,
5819
+ __vue_module_identifier__
5820
+ )
5821
+ Component.options.__file = "src/admin/components/GoogleMaps.vue"
5822
 
5823
+ /* hot reload */
5824
+ if (false) {(function () {
5825
+ var hotAPI = require("vue-hot-reload-api")
5826
+ hotAPI.install(require("vue"), false)
5827
+ if (!hotAPI.compatible) return
5828
+ module.hot.accept()
5829
+ if (!module.hot.data) {
5830
+ hotAPI.createRecord("data-v-4f45e4a0", Component.options)
5831
+ } else {
5832
+ hotAPI.reload("data-v-4f45e4a0", Component.options)
5833
+ }
5834
+ module.hot.dispose(function (data) {
5835
+ disposed = true
5836
+ })
5837
+ })()}
5838
 
5839
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5840
 
 
 
 
 
 
 
 
5841
 
5842
+ /***/ }),
5843
+ /* 193 */
5844
+ /***/ (function(module, exports) {
 
 
 
 
 
5845
 
5846
+ // removed by extract-text-webpack-plugin
 
 
 
5847
 
5848
+ /***/ }),
5849
+ /* 194 */
5850
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5851
 
5852
+ "use strict";
5853
+ var render = function() {
5854
+ var _vm = this
5855
+ var _h = _vm.$createElement
5856
+ var _c = _vm._self._c || _h
5857
+ return _vm.apiKey
5858
+ ? _c("div", { staticClass: "gmap-wrap regular-text" }, [
5859
+ _c("input", {
5860
+ ref: "searchAddress",
5861
+ staticClass: "search-address regular-text",
5862
+ attrs: {
5863
+ type: "text",
5864
+ placeholder: _vm.__("Search Address", "dokan-lite")
5865
+ }
5866
+ }),
5867
+ _vm._v(" "),
5868
+ _c("div", { ref: "gmapArea", attrs: { id: "gmap" } })
5869
+ ])
5870
+ : _c("p", [
5871
+ _vm._v(
5872
+ "\n " +
5873
+ _vm._s(_vm.__("Please enter google map API key", "dokan-lite")) +
5874
+ "\n"
5875
+ )
5876
+ ])
5877
+ }
5878
+ var staticRenderFns = []
5879
+ render._withStripped = true
5880
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
5881
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
5882
+ if (false) {
5883
+ module.hot.accept()
5884
+ if (module.hot.data) {
5885
+ require("vue-hot-reload-api") .rerender("data-v-4f45e4a0", esExports)
5886
+ }
5887
+ }
5888
 
5889
+ /***/ }),
5890
+ /* 195 */
5891
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5892
 
5893
+ "use strict";
5894
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Mapbox_vue__ = __webpack_require__(78);
5895
+ /* unused harmony namespace reexport */
5896
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2fe28f9f_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Mapbox_vue__ = __webpack_require__(197);
5897
+ var disposed = false
5898
+ function injectStyle (ssrContext) {
5899
+ if (disposed) return
5900
+ __webpack_require__(196)
5901
+ }
5902
+ var normalizeComponent = __webpack_require__(0)
5903
+ /* script */
5904
 
 
 
 
5905
 
5906
+ /* template */
 
 
5907
 
5908
+ /* template functional */
5909
+ var __vue_template_functional__ = false
5910
+ /* styles */
5911
+ var __vue_styles__ = injectStyle
5912
+ /* scopeId */
5913
+ var __vue_scopeId__ = null
5914
+ /* moduleIdentifier (server only) */
5915
+ var __vue_module_identifier__ = null
5916
+ var Component = normalizeComponent(
5917
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Mapbox_vue__["a" /* default */],
5918
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2fe28f9f_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Mapbox_vue__["a" /* default */],
5919
+ __vue_template_functional__,
5920
+ __vue_styles__,
5921
+ __vue_scopeId__,
5922
+ __vue_module_identifier__
5923
+ )
5924
+ Component.options.__file = "src/admin/components/Mapbox.vue"
5925
 
5926
+ /* hot reload */
5927
+ if (false) {(function () {
5928
+ var hotAPI = require("vue-hot-reload-api")
5929
+ hotAPI.install(require("vue"), false)
5930
+ if (!hotAPI.compatible) return
5931
+ module.hot.accept()
5932
+ if (!module.hot.data) {
5933
+ hotAPI.createRecord("data-v-2fe28f9f", Component.options)
5934
+ } else {
5935
+ hotAPI.reload("data-v-2fe28f9f", Component.options)
5936
+ }
5937
+ module.hot.dispose(function (data) {
5938
+ disposed = true
5939
+ })
5940
+ })()}
5941
 
5942
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
 
 
 
 
5943
 
 
 
5944
 
5945
+ /***/ }),
5946
+ /* 196 */
5947
+ /***/ (function(module, exports) {
 
 
 
5948
 
5949
+ // removed by extract-text-webpack-plugin
 
5950
 
5951
+ /***/ }),
5952
+ /* 197 */
5953
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5954
 
5955
+ "use strict";
5956
+ var render = function() {
5957
+ var _vm = this
5958
+ var _h = _vm.$createElement
5959
+ var _c = _vm._self._c || _h
5960
+ return !_vm.accessToken
5961
+ ? _c("p", [
5962
+ _vm._v(
5963
+ "\n " +
5964
+ _vm._s(
5965
+ _vm.__(
5966
+ "Please enter Mapbox access token in `Appearance > Mapbox Access Token` settings.",
5967
+ "dokan-lite"
5968
+ )
5969
+ ) +
5970
+ "\n"
5971
+ )
5972
+ ])
5973
+ : _c("div", { staticClass: "mapbox-wrapper" }, [
5974
+ _c("div", { staticClass: "address-input" }, [
5975
+ _c("label", [
5976
+ _vm._v(
5977
+ "\n " +
5978
+ _vm._s(_vm.__("Address", "dokan-lite")) +
5979
+ "\n "
5980
+ ),
5981
+ _c("input", {
5982
+ attrs: { type: "text" },
5983
+ domProps: { value: _vm.address },
5984
+ on: { input: _vm.onChangeAddress }
5985
+ })
5986
+ ])
5987
+ ]),
5988
+ _vm._v(" "),
5989
+ _c("div", {
5990
+ style: { width: _vm.width, height: _vm.height },
5991
+ attrs: { id: _vm.mapboxId }
5992
+ })
5993
+ ])
5994
+ }
5995
+ var staticRenderFns = []
5996
+ render._withStripped = true
5997
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
5998
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
5999
+ if (false) {
6000
+ module.hot.accept()
6001
+ if (module.hot.data) {
6002
+ require("vue-hot-reload-api") .rerender("data-v-2fe28f9f", esExports)
6003
+ }
6004
+ }
6005
 
6006
  /***/ }),
6007
+ /* 198 */
 
6008
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6009
 
6010
  "use strict";
6011
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorSocialFields_vue__ = __webpack_require__(79);
6012
+ /* unused harmony namespace reexport */
6013
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_21406e92_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorSocialFields_vue__ = __webpack_require__(199);
6014
  var disposed = false
6015
  var normalizeComponent = __webpack_require__(0)
6016
  /* script */
6017
 
6018
 
6019
  /* template */
6020
+
6021
  /* template functional */
6022
  var __vue_template_functional__ = false
6023
  /* styles */
6027
  /* moduleIdentifier (server only) */
6028
  var __vue_module_identifier__ = null
6029
  var Component = normalizeComponent(
6030
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_VendorSocialFields_vue__["a" /* default */],
6031
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_21406e92_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_VendorSocialFields_vue__["a" /* default */],
6032
  __vue_template_functional__,
6033
  __vue_styles__,
6034
  __vue_scopeId__,
6035
  __vue_module_identifier__
6036
  )
6037
+ Component.options.__file = "src/admin/pages/VendorSocialFields.vue"
6038
 
6039
  /* hot reload */
6040
  if (false) {(function () {
6043
  if (!hotAPI.compatible) return
6044
  module.hot.accept()
6045
  if (!module.hot.data) {
6046
+ hotAPI.createRecord("data-v-21406e92", Component.options)
6047
  } else {
6048
+ hotAPI.reload("data-v-21406e92", Component.options)
6049
  }
6050
  module.hot.dispose(function (data) {
6051
  disposed = true
6052
  })
6053
  })()}
6054
 
6055
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
6056
 
6057
 
6058
+ /***/ }),
6059
+ /* 199 */
6060
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6061
+
6062
+ "use strict";
6063
+ var render = function() {
6064
+ var _vm = this
6065
+ var _h = _vm.$createElement
6066
+ var _c = _vm._self._c || _h
6067
+ return _c("div", { staticClass: "social-info" }, [
6068
+ _c("div", { staticClass: "content-header" }, [
6069
+ _vm._v(
6070
+ "\n " + _vm._s(_vm.__("Social Options", "dokan-lite")) + "\n "
6071
+ )
6072
+ ]),
6073
+ _vm._v(" "),
6074
+ _c("div", { staticClass: "content-body" }, [
6075
+ _c(
6076
+ "div",
6077
+ { staticClass: "dokan-form-group" },
6078
+ [
6079
+ _c("div", { staticClass: "column" }, [
6080
+ _c("label", { attrs: { for: "" } }, [
6081
+ _vm._v(_vm._s(_vm.__("Facebook", "dokan-lite")))
6082
+ ]),
6083
+ _vm._v(" "),
6084
+ _c("input", {
6085
+ directives: [
6086
+ {
6087
+ name: "model",
6088
+ rawName: "v-model",
6089
+ value: _vm.vendorInfo.social.fb,
6090
+ expression: "vendorInfo.social.fb"
6091
+ }
6092
+ ],
6093
+ staticClass: "dokan-form-input",
6094
+ attrs: {
6095
+ type: "text",
6096
+ placeholder: _vm.__("https://exmaple.com")
6097
+ },
6098
+ domProps: { value: _vm.vendorInfo.social.fb },
6099
+ on: {
6100
+ input: function($event) {
6101
+ if ($event.target.composing) {
6102
+ return
6103
+ }
6104
+ _vm.$set(_vm.vendorInfo.social, "fb", $event.target.value)
6105
+ }
6106
+ }
6107
+ })
6108
+ ]),
6109
+ _vm._v(" "),
6110
+ _c("div", { staticClass: "column" }, [
6111
+ _c("label", { attrs: { for: "" } }, [
6112
+ _vm._v(_vm._s(_vm.__("Flickr", "dokan-lite")))
6113
+ ]),
6114
+ _vm._v(" "),
6115
+ _c("input", {
6116
+ directives: [
6117
+ {
6118
+ name: "model",
6119
+ rawName: "v-model",
6120
+ value: _vm.vendorInfo.social.flickr,
6121
+ expression: "vendorInfo.social.flickr"
6122
+ }
6123
+ ],
6124
+ staticClass: "dokan-form-input",
6125
+ attrs: {
6126
+ type: "text",
6127
+ placeholder: _vm.__("https://exmaple.com")
6128
+ },
6129
+ domProps: { value: _vm.vendorInfo.social.flickr },
6130
+ on: {
6131
+ input: function($event) {
6132
+ if ($event.target.composing) {
6133
+ return
6134
+ }
6135
+ _vm.$set(_vm.vendorInfo.social, "flickr", $event.target.value)
6136
+ }
6137
+ }
6138
+ })
6139
+ ]),
6140
+ _vm._v(" "),
6141
+ _c("div", { staticClass: "column" }, [
6142
+ _c("label", { attrs: { for: "" } }, [
6143
+ _vm._v(_vm._s(_vm.__("Google Plus", "dokan-lite")))
6144
+ ]),
6145
+ _vm._v(" "),
6146
+ _c("input", {
6147
+ directives: [
6148
+ {
6149
+ name: "model",
6150
+ rawName: "v-model",
6151
+ value: _vm.vendorInfo.social.gplus,
6152
+ expression: "vendorInfo.social.gplus"
6153
+ }
6154
+ ],
6155
+ staticClass: "dokan-form-input",
6156
+ attrs: {
6157
+ type: "text",
6158
+ placeholder: _vm.__("https://exmaple.com")
6159
+ },
6160
+ domProps: { value: _vm.vendorInfo.social.gplus },
6161
+ on: {
6162
+ input: function($event) {
6163
+ if ($event.target.composing) {
6164
+ return
6165
+ }
6166
+ _vm.$set(_vm.vendorInfo.social, "gplus", $event.target.value)
6167
+ }
6168
+ }
6169
+ })
6170
+ ]),
6171
+ _vm._v(" "),
6172
+ _c("div", { staticClass: "column" }, [
6173
+ _c("label", { attrs: { for: "" } }, [
6174
+ _vm._v(_vm._s(_vm.__("Twitter", "dokan-lite")))
6175
+ ]),
6176
+ _vm._v(" "),
6177
+ _c("input", {
6178
+ directives: [
6179
+ {
6180
+ name: "model",
6181
+ rawName: "v-model",
6182
+ value: _vm.vendorInfo.social.twitter,
6183
+ expression: "vendorInfo.social.twitter"
6184
+ }
6185
+ ],
6186
+ staticClass: "dokan-form-input",
6187
+ attrs: {
6188
+ type: "text",
6189
+ placeholder: _vm.__("https://exmaple.com")
6190
+ },
6191
+ domProps: { value: _vm.vendorInfo.social.twitter },
6192
+ on: {
6193
+ input: function($event) {
6194
+ if ($event.target.composing) {
6195
+ return
6196
+ }
6197
+ _vm.$set(
6198
+ _vm.vendorInfo.social,
6199
+ "twitter",
6200
+ $event.target.value
6201
+ )
6202
+ }
6203
+ }
6204
+ })
6205
+ ]),
6206
+ _vm._v(" "),
6207
+ _c("div", { staticClass: "column" }, [
6208
+ _c("label", { attrs: { for: "" } }, [
6209
+ _vm._v(_vm._s(_vm.__("Youtube", "dokan-lite")))
6210
+ ]),
6211
+ _vm._v(" "),
6212
+ _c("input", {
6213
+ directives: [
6214
+ {
6215
+ name: "model",
6216
+ rawName: "v-model",
6217
+ value: _vm.vendorInfo.social.youtube,
6218
+ expression: "vendorInfo.social.youtube"
6219
+ }
6220
+ ],
6221
+ staticClass: "dokan-form-input",
6222
+ attrs: {
6223
+ type: "text",
6224
+ placeholder: _vm.__("https://exmaple.com")
6225
+ },
6226
+ domProps: { value: _vm.vendorInfo.social.youtube },
6227
+ on: {
6228
+ input: function($event) {
6229
+ if ($event.target.composing) {
6230
+ return
6231
+ }
6232
+ _vm.$set(
6233
+ _vm.vendorInfo.social,
6234
+ "youtube",
6235
+ $event.target.value
6236
+ )
6237
+ }
6238
+ }
6239
+ })
6240
+ ]),
6241
+ _vm._v(" "),
6242
+ _c("div", { staticClass: "column" }, [
6243
+ _c("label", { attrs: { for: "" } }, [
6244
+ _vm._v(_vm._s(_vm.__("Linkedin", "dokan-lite")))
6245
+ ]),
6246
+ _vm._v(" "),
6247
+ _c("input", {
6248
+ directives: [
6249
+ {
6250
+ name: "model",
6251
+ rawName: "v-model",
6252
+ value: _vm.vendorInfo.social.linkedin,
6253
+ expression: "vendorInfo.social.linkedin"
6254
+ }
6255
+ ],
6256
+ staticClass: "dokan-form-input",
6257
+ attrs: {
6258
+ type: "text",
6259
+ placeholder: _vm.__("https://exmaple.com")
6260
+ },
6261
+ domProps: { value: _vm.vendorInfo.social.linkedin },
6262
+ on: {
6263
+ input: function($event) {
6264
+ if ($event.target.composing) {
6265
+ return
6266
+ }
6267
+ _vm.$set(
6268
+ _vm.vendorInfo.social,
6269
+ "linkedin",
6270
+ $event.target.value
6271
+ )
6272
+ }
6273
+ }
6274
+ })
6275
+ ]),
6276
+ _vm._v(" "),
6277
+ _c("div", { staticClass: "column" }, [
6278
+ _c("label", { attrs: { for: "" } }, [
6279
+ _vm._v(_vm._s(_vm.__("Pinterest", "dokan-lite")))
6280
+ ]),
6281
+ _vm._v(" "),
6282
+ _c("input", {
6283
+ directives: [
6284
+ {
6285
+ name: "model",
6286
+ rawName: "v-model",
6287
+ value: _vm.vendorInfo.social.pinterest,
6288
+ expression: "vendorInfo.social.pinterest"
6289
+ }
6290
+ ],
6291
+ staticClass: "dokan-form-input",
6292
+ attrs: {
6293
+ type: "text",
6294
+ placeholder: _vm.__("https://exmaple.com")
6295
+ },
6296
+ domProps: { value: _vm.vendorInfo.social.pinterest },
6297
+ on: {
6298
+ input: function($event) {
6299
+ if ($event.target.composing) {
6300
+ return
6301
+ }
6302
+ _vm.$set(
6303
+ _vm.vendorInfo.social,
6304
+ "pinterest",
6305
+ $event.target.value
6306
+ )
6307
+ }
6308
+ }
6309
+ })
6310
+ ]),
6311
+ _vm._v(" "),
6312
+ _c("div", { staticClass: "column" }, [
6313
+ _c("label", { attrs: { for: "" } }, [
6314
+ _vm._v(_vm._s(_vm.__("Instagram", "dokan-lite")))
6315
+ ]),
6316
+ _vm._v(" "),
6317
+ _c("input", {
6318
+ directives: [
6319
+ {
6320
+ name: "model",
6321
+ rawName: "v-model",
6322
+ value: _vm.vendorInfo.social.instagram,
6323
+ expression: "vendorInfo.social.instagram"
6324
+ }
6325
+ ],
6326
+ staticClass: "dokan-form-input",
6327
+ attrs: {
6328
+ type: "text",
6329
+ placeholder: _vm.__("https://exmaple.com")
6330
+ },
6331
+ domProps: { value: _vm.vendorInfo.social.instagram },
6332
+ on: {
6333
+ input: function($event) {
6334
+ if ($event.target.composing) {
6335
+ return
6336
+ }
6337
+ _vm.$set(
6338
+ _vm.vendorInfo.social,
6339
+ "instagram",
6340
+ $event.target.value
6341
+ )
6342
+ }
6343
+ }
6344
+ })
6345
+ ]),
6346
+ _vm._v(" "),
6347
+ _vm._l(_vm.getSocialFields, function(component, index) {
6348
+ return _c(component, {
6349
+ key: index,
6350
+ tag: "component",
6351
+ attrs: { vendorInfo: _vm.vendorInfo }
6352
+ })
6353
+ })
6354
+ ],
6355
+ 2
6356
+ )
6357
+ ])
6358
+ ])
6359
+ }
6360
+ var staticRenderFns = []
6361
+ render._withStripped = true
6362
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
6363
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
6364
+ if (false) {
6365
+ module.hot.accept()
6366
+ if (module.hot.data) {
6367
+ require("vue-hot-reload-api") .rerender("data-v-21406e92", esExports)
6368
+ }
6369
+ }
6370
 
6371
+ /***/ })
6372
+ ],[158]);
assets/js/vue-bootstrap.min.js CHANGED
@@ -1 +1 @@
1
- dokanWebpack([1],[,,function(t,e,n){"use strict";var a=n(4);e.a={extends:a.Line,props:["data"],data:()=>({options:{responsive:!0,maintainAspectRatio:!1,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(t,e){let n=e.datasets[t.datasetIndex].label||"",a=e.datasets[t.datasetIndex].tooltipLabel||"",o=e.datasets[t.datasetIndex].tooltipPrefix||"",i=a?a+": ":n+": ";return i+=o+t.yLabel}}}}}),mounted(){this.renderChart(this.data,this.options)}}},,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),o=n(0)(a.a,null,!1,null,null,null);o.options.__file="src/admin/components/Chart.vue",e.default=o.exports},,,,,,,,,,,,,function(t,e,n){"use strict";e.a={name:"Postbox",props:{title:{type:String,required:!0,default:""},extraClass:{type:String,default:null}},data:()=>({showing:!0})}},function(t,e,n){"use strict";e.a={name:"Loading",data:()=>({})}},function(t,e,n){"use strict";e.a={name:"Modal",props:{footer:{type:Boolean,required:!1,default:!0},title:{type:String,required:!0,default:""}},data:()=>({})}},function(t,e,n){"use strict";e.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:()=>({}),methods:{trigger(t){this.$emit("input",t.target.checked,t.target.value)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var a=_(n(1)),o=_(n(5)),i=_(n(59)),s=_(n(15)),r=_(n(16)),l=_(n(63)),d=_(n(4)),u=n(18),c=_(n(64)),f=_(n(67)),p=_(n(6)),v=_(n(70)),h=_(n(73));function _(t){return t&&t.__esModule?t:{default:t}}a.default.use(s.default),a.default.filter("currency",function(t){return accounting.formatMoney(t,dokan.currency)}),a.default.filter("capitalize",function(t){return t?(t=t.toString()).charAt(0).toUpperCase()+t.slice(1):""}),window.dokan_get_lib=function(t){return window.dokan.libs[t]},window.dokan_add_route=function(t){window.dokan.routeComponents[t.name]=t},window.dokan.api=new l.default,window.dokan.libs.Vue=a.default,window.dokan.libs.Router=o.default,window.dokan.libs.moment=i.default,window.dokan.libs.ListTable=r.default,window.dokan.libs.Postbox=c.default,window.dokan.libs.Loading=f.default,window.dokan.libs.ChartJS=d.default,window.dokan.libs.Chart=p.default,window.dokan.libs.Modal=v.default,window.dokan.libs.Switches=h.default,window.dokan.libs.ContentLoading={VclCode:u.VclCode,VclList:u.VclList,VclTwitch:u.VclTwitch,VclFacebook:u.VclFacebook,VclInstagram:u.VclInstagram,VclBulletList:u.VclBulletList,VueContentLoading:u.VueContentLoading}},function(t,e){t.exports=moment},,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return a(t,[{key:"endpoint",value:function(){return window.dokan.rest.root+window.dokan.rest.version}},{key:"headers",value:function(){return{}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(t,"GET",this.headers(),e)}},{key:"post",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(t,"POST",this.headers(),e)}},{key:"put",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(t,"PUT",this.headers(),e)}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(t,"DELETE",this.headers(),e)}},{key:"ajax",value:function(t,e,n,a){return $.ajax({url:this.endpoint()+t,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.dokan.rest.nonce)},type:e,data:a})}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(19),o=n(66),i=!1;var s=function(t){i||n(65)},r=n(0)(a.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Postbox.vue",e.default=r.exports},function(t,e){},function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["postbox","dokan-postbox",{closed:!t.showing},t.extraClass]},[n("button",{staticClass:"handlediv",attrs:{type:"button","aria-expanded":"false"},on:{click:function(e){t.showing=!t.showing}}},[n("span",{staticClass:"toggle-indicator",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("h2",{staticClass:"hndle"},[n("span",[t._v(t._s(t.title))])]),t._v(" "),n("div",{staticClass:"inside"},[n("div",{staticClass:"main"},[t._t("default")],2)])])};a._withStripped=!0;var o={render:a,staticRenderFns:[]};e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(20),o=n(69),i=!1;var s=function(t){i||n(68)},r=n(0)(a.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Loading.vue",e.default=r.exports},function(t,e){},function(t,e,n){"use strict";var a=function(){var t=this.$createElement;this._self._c;return this._m(0)};a._withStripped=!0;var o={render:a,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"dokan-loader"},[e("div"),e("div")])}]};e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(21),o=n(72),i=!1;var s=function(t){i||n(71)},r=n(0)(a.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Modal.vue",e.default=r.exports},function(t,e){},function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dokan-modal-dialog"},[n("div",{staticClass:"dokan-modal"},[n("div",{staticClass:"dokan-modal-content"},[n("section",{class:["dokan-modal-main",{"has-footer":t.footer}]},[n("header",{staticClass:"modal-header"},[t._t("header",[n("h1",[t._v(t._s(t.title))])]),t._v(" "),n("button",{staticClass:"modal-close modal-close-link dashicons dashicons-no-alt",on:{click:function(e){t.$emit("close")}}},[n("span",{staticClass:"screen-reader-text"},[t._v("Close modal panel")])])],2),t._v(" "),n("div",{staticClass:"modal-body"},[t._t("body")],2),t._v(" "),t.footer?n("footer",{staticClass:"modal-footer"},[n("div",{staticClass:"inner"},[t._t("footer")],2)]):t._e()])])]),t._v(" "),n("div",{staticClass:"dokan-modal-backdrop"})])};a._withStripped=!0;var o={render:a,staticRenderFns:[]};e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(22),o=n(75),i=!1;var s=function(t){i||n(74)},r=n(0)(a.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Switches.vue",e.default=r.exports},function(t,e){},function(t,e,n){"use strict";var a=function(){var t=this.$createElement,e=this._self._c||t;return e("label",{staticClass:"switch tips"},[e("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),e("span",{staticClass:"slider round"})])};a._withStripped=!0;var o={render:a,staticRenderFns:[]};e.a=o}],[58]);
1
+ dokanWebpack([0],[,,,function(e,t,a){"use strict";var n=a(5);t.a={extends:n.Line,props:["data"],data:()=>({options:{responsive:!0,maintainAspectRatio:!1,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){let a=t.datasets[e.datasetIndex].label||"",n=t.datasets[e.datasetIndex].tooltipLabel||"",i=t.datasets[e.datasetIndex].tooltipPrefix||"",o=n?n+": ":a+": ";return o+=i+e.yLabel}}}}}),mounted(){this.renderChart(this.data,this.options)}}},function(e,t,a){"use strict";var n=a(28);t.a={components:{Sketch:n.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:e=>-1!==["hsl","hex","rgba","hsv"].indexOf(e)},presetColors:{type:Array,required:!1,default:()=>["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:()=>({showColorPicker:!1}),methods:{updateColor(e){let t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker(){this.showColorPicker=!this.showColorPicker},setHexColor(e){this.updateColor({hex:e})}}}},,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(3),i=a(0)(n.a,null,!1,null,null,null);i.options.__file="src/admin/components/Chart.vue",t.default=i.exports},,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(4),i=a(12),o=!1;var r=function(e){o||a(11)},s=a(0)(n.a,i.a,!1,r,"data-v-01dc0d51",null);s.options.__file="src/admin/components/ColorPicker.vue",t.default=s.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","dokan-lite")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){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){e.updateColor({})}}},[e._v(e._s(e.__("Clear","dokan-lite")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","dokan-lite")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";t.a={name:"Postbox",props:{title:{type:String,required:!0,default:""},extraClass:{type:String,default:null}},data:()=>({showing:!0})}},function(e,t,a){"use strict";t.a={name:"Loading",data:()=>({})}},function(e,t,a){"use strict";t.a={name:"Modal",props:{footer:{type:Boolean,required:!1,default:!0},width:{type:String,required:!1,default:"500px"},height:{type:String,required:!1,default:"auto"},title:{type:String,required:!0,default:""}},data:()=>({})}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:()=>({}),methods:{trigger(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";t.a={props:{value:{type:String,required:!0},shortcodes:{type:Object,required:!1}},data(){return{editorId:this._uid,fileFrame:null}},mounted(){const e=this;window.tinymce.init({selector:`#dokan-tinymce-${this.editorId}`,branding:!1,height:200,menubar:!1,convert_urls:!1,theme:"modern",skin:"lightgray",fontsize_formats:"10px 11px 13px 14px 16px 18px 22px 25px 30px 36px 40px 45px 50px 60px 65px 70px 75px 80px",font_formats:"Arial=arial,helvetica,sans-serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Lucida=Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;",plugins:"textcolor colorpicker wplink wordpress code hr wpeditimage",toolbar:["shortcodes bold italic underline bullist numlist alignleft aligncenter alignjustify alignright link image wp_adv","formatselect forecolor backcolor blockquote hr code fontselect fontsizeselect removeformat undo redo"],setup(t){const a=[];_.forEach(e.shortcodes,(e,n)=>{a.push({text:e.title,classes:"menu-section-title"}),_.forEach(e.codes,(e,i)=>{a.push({text:e.title,onclick(){let a=`[${n}:${i}]`;e.default&&(a=`[${n}:${i} default="${e.default}"]`),e.text&&(a=`[${n}:${i} text="${e.text}"]`),e.plainText&&(a=e.text),t.insertContent(a)}})})}),t.addButton("image",{icon:"image",onclick(){e.browseImage(t)}}),t.on("change keyup NodeChange",()=>{e.$emit("input",t.getContent())})}})},methods:{browseImage(e){const t=this,a={id:0,url:"",type:""};if(t.fileFrame)return void t.fileFrame.open();const n=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:this.__("Select an image","dokan-lite"),priority:20,filterable:"uploaded"})];t.fileFrame=wp.media({title:this.__("Select an image","dokan-lite"),library:{type:""},button:{text:this.__("Select an image","dokan-lite")},multiple:!1,states:n}),t.fileFrame.on("select",()=>{t.fileFrame.state().get("selection").map(n=>((n=n.toJSON()).id&&(a.id=n.id),n.url&&(a.url=n.url),n.type&&(a.type=n.type),t.insertImage(e,a),null))}),t.fileFrame.on("ready",()=>{t.fileFrame.uploader.options.uploader.params={type:"dokan-image-uploader"}}),t.fileFrame.open()},insertImage(e,t){if(!t.id||"image"!==t.type)return void this.alert({type:"error",text:this.__("Please select an image,","dokan-lite")});const a=`<img src="${t.url}" alt="${t.alt}" title="${t.title}" style="max-width: 100%; height: auto;">`;e.insertContent(a)}}}},function(e,t,a){"use strict";t.a={props:["amount"],methods:{formattedPrice:e=>accounting.formatMoney(e,dokan.currency)}}},function(e,t,a){"use strict";var n=a(13);a.n(n);t.a={name:"LazyInput",props:{value:{type:String,required:!0,default:""},type:{type:String,required:!1,default:"text"},placeholder:{type:String,required:!1,default:""}},data:()=>({delay:500,debouncer:null}),methods:{updateValue(e){const t=this;t.debouncer&&t.debouncer.clear(),t.debouncer=Object(n.debounce)(()=>{t.triggerInput(e)},t.delay),t.debouncer()},focus(){this.$emit("focus")},blur(){this.$emit("blur")},triggerInput(e){this.$emit("input",e)}}}},function(e,t,a){"use strict";t.a={props:{value:{type:Number,default:0},hidden:{type:Boolean,default:!1},bgColor:{type:String,default:"defaultBg"},fgColor:{type:String,default:"defaultFg"}}}},function(e,t,a){"use strict";var n=a(13);a.n(n);t.a={name:"Search",props:{title:{type:String,default:"Search"}},data:()=>({delay:500,searchItems:""}),watch:{searchItems(){this.makeDelay()}},created(){this.makeDelay=Object(n.debounce)(this.doSearch,this.delay)},methods:{doSearch(){this.$emit("searched",this.searchItems)}}}},function(e,t,a){"use strict";t.a={props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:""},placeholder:{type:String,required:!1,default:""},changeMonthYear:{type:Boolean,required:!1,default:!1}},mounted(){const e=this;$(e.$el).datepicker({dateFormat:e.format,changeMonth:e.changeMonthYear,changeYear:e.changeMonthYear,beforeShow(){$(this).datepicker("widget").addClass("dokan-datepicker")},onSelect(t){e.updateValue(t)}})},methods:{updateValue(e){e||(e=moment().format("YYYY-MM-DD")),this.$emit("input",e)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var n=P(a(1)),i=P(a(7)),o=P(a(120)),r=P(a(36)),s=P(a(37)),l=P(a(39)),u=P(a(124)),d=P(a(5)),c=P(a(125)),p=a(40),f=P(a(127)),h=P(a(130)),v=P(a(8)),m=P(a(133)),_=P(a(136)),b=P(a(139)),g=P(a(141)),y=P(a(143)),w=P(a(145)),k=P(a(148)),x=P(a(151)),C=P(a(51)),S=P(a(10));function P(e){return e&&e.__esModule?e:{default:e}}a(156),window.__=function(e,t){return __(e,t)},n.default.use(r.default),n.default.use(C.default),n.default.mixin(c.default),n.default.filter("currency",function(e){return accounting.formatMoney(e,dokan.currency)}),n.default.filter("capitalize",function(e){return e?(e=e.toString()).charAt(0).toUpperCase()+e.slice(1):""}),n.default.directive("tooltip",{bind:function(e,t,a){$(e).tooltip("show")},unbind:function(e,t,a){$(e).tooltip("destroy")}}),window.dokan_get_lib=function(e){return window.dokan.libs[e]},window.dokan_add_route=function(e){window.dokan.routeComponents[e.name]=e},window.dokan.api=new u.default,window.dokan.libs.Vue=n.default,window.dokan.libs.Router=i.default,window.dokan.libs.moment=o.default,window.dokan.libs.ListTable=s.default,window.dokan.libs.Currency=g.default,window.dokan.libs.Postbox=f.default,window.dokan.libs.Loading=h.default,window.dokan.libs.ChartJS=d.default,window.dokan.libs.Chart=v.default,window.dokan.libs.Modal=m.default,window.dokan.libs.Switches=_.default,window.dokan.libs.TextEditor=b.default,window.dokan.libs.LazyInput=y.default,window.dokan.libs.Progressbar=w.default,window.dokan.libs.Search=k.default,window.dokan.libs.Datepicker=x.default,window.dokan.libs.Multiselect=l.default,window.dokan.libs.ColorPicker=S.default,window.dokan.libs.ContentLoading={VclCode:p.VclCode,VclList:p.VclList,VclTwitch:p.VclTwitch,VclFacebook:p.VclFacebook,VclInstagram:p.VclInstagram,VclBulletList:p.VclBulletList,VueContentLoading:p.VueContentLoading},dokan.hooks=wp&&wp.hooks?wp.hooks:dokan.wpPackages.hooks},function(e,t){e.exports=moment},,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"endpoint",value:function(){return window.dokan.rest.root+window.dokan.rest.version}},{key:"headers",value:function(){return{}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"GET",this.headers(),t)}},{key:"post",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"POST",this.headers(),t)}},{key:"put",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"PUT",this.headers(),t)}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"DELETE",this.headers(),t)}},{key:"ajax",value:function(e,t,a,n){var i=null;return"PUT"!==t&&"DELETE"!==t||(i=t,t="POST"),jQuery.ajax({url:this.endpoint()+e,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",window.dokan.rest.nonce),i&&e.setRequestHeader("X-HTTP-Method-Override",i)},type:t,data:n})}}]),e}();t.default=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(126);t.default={methods:{setLocaleData:function(e){return(0,n.setLocaleData)(e)},__:function(e,t){return(0,n.__)(e,t)},_nx:function(e,t,a,i,o){return(0,n._nx)(e,t,a,i,o)},__n:function(e,t,a,n){return _n(e,t,a,n)},sprintf:function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];return n.sprintf.apply(void 0,[e].concat(a))}}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setLocaleData=i,t.getI18n=o,t.__=function(e,t){return o(t)?o(t).dgettext(t,e):e},t._x=function(e,t,a){return o(a).dpgettext(a,t,e)},t._n=function(e,t,a,n){return o(n).dngettext(n,e,t,a)},t._nx=function(e,t,a,n,i){return o(i).dnpgettext(i,n,e,t,a)};var n={};function i(e){var t=new Jed(e);n[t._textdomain]=t}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n[e]||i({"":{}}),n[e]}t.sprintf=Jed.sprintf},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(41),i=a(129),o=!1;var r=function(e){o||a(128)},s=a(0)(n.a,i.a,!1,r,null,null);s.options.__file="src/admin/components/Postbox.vue",t.default=s.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["postbox","dokan-postbox",{closed:!e.showing},e.extraClass]},[a("button",{staticClass:"handlediv",attrs:{type:"button","aria-expanded":"false"},on:{click:function(t){e.showing=!e.showing}}},[a("span",{staticClass:"toggle-indicator",attrs:{"aria-hidden":"true"}})]),e._v(" "),a("h2",{staticClass:"hndle"},[a("span",[e._v(e._s(e.title))])]),e._v(" "),a("div",{staticClass:"inside"},[a("div",{staticClass:"main"},[e._t("default")],2)])])};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(42),i=a(132),o=!1;var r=function(e){o||a(131)},s=a(0)(n.a,i.a,!1,r,null,null);s.options.__file="src/admin/components/Loading.vue",t.default=s.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;this._self._c;return this._m(0)};n._withStripped=!0;var i={render:n,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dokan-loader"},[t("div"),t("div")])}]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(43),i=a(135),o=!1;var r=function(e){o||a(134)},s=a(0)(n.a,i.a,!1,r,null,null);s.options.__file="src/admin/components/Modal.vue",t.default=s.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-modal-dialog"},[a("div",{staticClass:"dokan-modal"},[a("div",{staticClass:"dokan-modal-content",style:{width:e.width,height:e.height}},[a("section",{class:["dokan-modal-main",{"has-footer":e.footer}]},[a("header",{staticClass:"modal-header"},[e._t("header",[a("h1",[e._v(e._s(e.title))])]),e._v(" "),a("button",{staticClass:"modal-close modal-close-link dashicons dashicons-no-alt",on:{click:function(t){e.$emit("close")}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Close modal panel","dokan-lite")))])])],2),e._v(" "),a("div",{staticClass:"modal-body"},[e._t("body")],2),e._v(" "),e.footer?a("footer",{staticClass:"modal-footer"},[a("div",{staticClass:"inner"},[e._t("footer")],2)]):e._e()])])]),e._v(" "),a("div",{staticClass:"dokan-modal-backdrop"})])};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(44),i=a(138),o=!1;var r=function(e){o||a(137)},s=a(0)(n.a,i.a,!1,r,null,null);s.options.__file="src/admin/components/Switches.vue",t.default=s.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(45),i=a(140),o=a(0)(n.a,i.a,!1,null,null,null);o.options.__file="src/admin/components/TextEditor.vue",t.default=o.exports},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;return(this._self._c||e)("textarea",{attrs:{id:"dokan-tinymce-"+this.editorId},domProps:{value:this.value}})};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(46),i=a(142),o=a(0)(n.a,i.a,!1,null,null,null);o.options.__file="src/admin/components/Currency.vue",t.default=o.exports},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;return(this._self._c||e)("div",{domProps:{innerHTML:this._s(this.formattedPrice(this.amount))}})};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(47),i=a(144),o=a(0)(n.a,i.a,!1,null,null,null);o.options.__file="src/admin/components/LazyInput.vue",t.default=o.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{attrs:{type:e.type,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){e.updateValue(t.target.value)},focus:e.focus,blur:e.blur}})};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(48),i=a(147),o=!1;var r=function(e){o||a(146)},s=a(0)(n.a,i.a,!1,r,"data-v-356fabc6",null);s.options.__file="src/admin/components/Progressbar.vue",t.default=s.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.bgColor,attrs:{id:"progressbar"}},[a("div",{class:e.fgColor,style:{width:e.value+"%"},attrs:{id:"value"}},[e.hidden?e._e():[e._v(e._s(e.value+"%"))]],2)])};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(49),i=a(150),o=!1;var r=function(e){o||a(149)},s=a(0)(n.a,i.a,!1,r,"data-v-5d8365d8",null);s.options.__file="src/admin/components/Search.vue",t.default=s.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"search-box"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchItems,expression:"searchItems"}],attrs:{type:"search",id:"post-search-input",name:"s",placeholder:e.title},domProps:{value:e.searchItems},on:{input:function(t){t.target.composing||(e.searchItems=t.target.value)}}})])};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(50),i=a(152),o=a(0)(n.a,i.a,!1,null,null,null);o.options.__file="src/admin/components/Datepicker.vue",t.default=o.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{attrs:{type:"text",placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){e.updateValue(t.target.value)}}})};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i}],[119]);
assets/js/vue-frontend.js CHANGED
@@ -1,14 +1,6 @@
1
- dokanWebpack([2],[
2
- /* 0 */,
3
- /* 1 */,
4
- /* 2 */,
5
- /* 3 */,
6
- /* 4 */,
7
- /* 5 */,
8
- /* 6 */,
9
- /* 7 */,
10
- /* 8 */,
11
- /* 9 */
12
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
13
 
14
  "use strict";
@@ -18,13 +10,13 @@ dokanWebpack([2],[
18
  //
19
  //
20
  //
21
-
22
  /* harmony default export */ __webpack_exports__["a"] = ({
23
- name: 'App'
24
  });
25
 
26
  /***/ }),
27
- /* 10 */
 
28
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
29
 
30
  "use strict";
@@ -34,20 +26,18 @@ dokanWebpack([2],[
34
  //
35
  //
36
  //
37
-
38
  /* harmony default export */ __webpack_exports__["a"] = ({
39
-
40
- name: 'Home',
41
-
42
- data() {
43
- return {
44
- msg: 'Welcome to Your Vue.js Frontend App'
45
- };
46
- }
47
  });
48
 
49
  /***/ }),
50
- /* 11 */
 
51
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
52
 
53
  "use strict";
@@ -57,91 +47,50 @@ dokanWebpack([2],[
57
  //
58
  //
59
  //
60
-
61
  /* harmony default export */ __webpack_exports__["a"] = ({
62
-
63
- name: 'Profile',
64
-
65
- data() {
66
- return {};
67
- }
68
  });
69
 
70
  /***/ }),
71
- /* 12 */,
72
- /* 13 */,
73
- /* 14 */,
74
- /* 15 */,
75
- /* 16 */,
76
- /* 17 */,
77
- /* 18 */,
78
- /* 19 */,
79
- /* 20 */,
80
- /* 21 */,
81
- /* 22 */,
82
- /* 23 */,
83
- /* 24 */,
84
- /* 25 */,
85
- /* 26 */,
86
- /* 27 */,
87
- /* 28 */,
88
- /* 29 */,
89
- /* 30 */,
90
- /* 31 */,
91
- /* 32 */,
92
- /* 33 */,
93
- /* 34 */,
94
- /* 35 */,
95
- /* 36 */,
96
- /* 37 */,
97
- /* 38 */,
98
- /* 39 */,
99
- /* 40 */
100
- /***/ (function(module, exports, __webpack_require__) {
101
 
102
- "use strict";
103
-
104
-
105
- var _vue = __webpack_require__(1);
106
-
107
- var _vue2 = _interopRequireDefault(_vue);
108
-
109
- var _App = __webpack_require__(43);
110
-
111
- var _App2 = _interopRequireDefault(_App);
112
-
113
- var _router = __webpack_require__(46);
114
 
115
- var _router2 = _interopRequireDefault(_router);
 
 
 
 
116
 
117
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
118
 
119
- _vue2.default.config.productionTip = false;
120
 
 
121
  /* eslint-disable no-new */
122
- new _vue2.default({
123
- el: '#vue-frontend-app',
124
- router: _router2.default,
125
- render: function render(h) {
126
- return h(_App2.default);
127
- }
 
128
  });
129
 
130
  /***/ }),
131
- /* 41 */,
132
- /* 42 */,
133
- /* 43 */
134
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
135
 
136
  "use strict";
137
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
138
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_App_vue__ = __webpack_require__(9);
139
- /* empty harmony namespace reexport */
140
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_82d33a46_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_App_vue__ = __webpack_require__(45);
141
  var disposed = false
142
  function injectStyle (ssrContext) {
143
  if (disposed) return
144
- __webpack_require__(44)
145
  }
146
  var normalizeComponent = __webpack_require__(0)
147
  /* script */
@@ -183,17 +132,19 @@ if (false) {(function () {
183
  })
184
  })()}
185
 
186
- /* harmony default export */ __webpack_exports__["default"] = (Component.exports);
187
 
188
 
189
  /***/ }),
190
- /* 44 */
 
191
  /***/ (function(module, exports) {
192
 
193
  // removed by extract-text-webpack-plugin
194
 
195
  /***/ }),
196
- /* 45 */
 
197
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
198
 
199
  "use strict";
@@ -215,61 +166,45 @@ if (false) {
215
  }
216
 
217
  /***/ }),
218
- /* 46 */
219
- /***/ (function(module, exports, __webpack_require__) {
220
-
221
- "use strict";
222
-
223
-
224
- Object.defineProperty(exports, "__esModule", {
225
- value: true
226
- });
227
-
228
- var _vue = __webpack_require__(1);
229
-
230
- var _vue2 = _interopRequireDefault(_vue);
231
-
232
- var _vueRouter = __webpack_require__(6);
233
 
234
- var _vueRouter2 =
1
+ dokanWebpack([2],{
2
+
3
+ /***/ 39:
 
 
 
 
 
 
 
 
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
10
  //
11
  //
12
  //
 
13
  /* harmony default export */ __webpack_exports__["a"] = ({
14
+ name: 'App'
15
  });
16
 
17
  /***/ }),
18
+
19
+ /***/ 40:
20
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21
 
22
  "use strict";
26
  //
27
  //
28
  //
 
29
  /* harmony default export */ __webpack_exports__["a"] = ({
30
+ name: 'Home',
31
+ data: function data() {
32
+ return {
33
+ msg: 'Welcome to Your Vue.js Frontend App'
34
+ };
35
+ }
 
 
36
  });
37
 
38
  /***/ }),
39
+
40
+ /***/ 41:
41
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
42
 
43
  "use strict";
47
  //
48
  //
49
  //
 
50
  /* harmony default export */ __webpack_exports__["a"] = ({
51
+ name: 'Profile',
52
+ data: function data() {
53
+ return {};
54
+ }
 
 
55
  });
56
 
57
  /***/ }),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
+ /***/ 81:
60
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
 
 
 
 
 
 
 
 
 
61
 
62
+ "use strict";
63
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
64
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(1);
65
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__App_vue__ = __webpack_require__(84);
66
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__router__ = __webpack_require__(87);
67
 
 
68
 
 
69
 
70
+ __WEBPACK_IMPORTED_MODULE_0_vue__["default"].config.productionTip = false;
71
  /* eslint-disable no-new */
72
+
73
+ new __WEBPACK_IMPORTED_MODULE_0_vue__["default"]({
74
+ el: '#vue-frontend-app',
75
+ router: __WEBPACK_IMPORTED_MODULE_2__router__["a" /* default */],
76
+ render: function render(h) {
77
+ return h(__WEBPACK_IMPORTED_MODULE_1__App_vue__["a" /* default */]);
78
+ }
79
  });
80
 
81
  /***/ }),
82
+
83
+ /***/ 84:
 
84
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
85
 
86
  "use strict";
87
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_App_vue__ = __webpack_require__(39);
88
+ /* unused harmony namespace reexport */
89
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_82d33a46_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_App_vue__ = __webpack_require__(86);
 
90
  var disposed = false
91
  function injectStyle (ssrContext) {
92
  if (disposed) return
93
+ __webpack_require__(85)
94
  }
95
  var normalizeComponent = __webpack_require__(0)
96
  /* script */
132
  })
133
  })()}
134
 
135
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
136
 
137
 
138
  /***/ }),
139
+
140
+ /***/ 85:
141
  /***/ (function(module, exports) {
142
 
143
  // removed by extract-text-webpack-plugin
144
 
145
  /***/ }),
146
+
147
+ /***/ 86:
148
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
149
 
150
  "use strict";
166
  }
167
 
168
  /***/ }),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169