CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.8.4

Version Description

(2020-09-24) = * Added: Clear cache button to feed pages.

Download this release

Release Info

Developer wahid0003
Plugin Icon 128x128 CTX Feed – WooCommerce Product Feed Manager Plugin
Version 3.8.4
Comparing to
See all releases

Code changes from version 3.8.3 to 3.8.4

README.txt CHANGED
@@ -308,6 +308,9 @@ Using pro version:
308
 
309
  == Changelog ==
310
 
 
 
 
311
  = 3.8.3 (2020-09-23) =
312
  * Fix: Cron scheduled back date issue.
313
 
308
 
309
  == Changelog ==
310
 
311
+ = 3.8.4 (2020-09-24) =
312
+ * Added: Clear cache button to feed pages.
313
+
314
  = 3.8.3 (2020-09-23) =
315
  * Fix: Cron scheduled back date issue.
316
 
admin/css/woo-feed-admin-pro.css CHANGED
@@ -1,742 +1,632 @@
1
- table.wf-info-table th a,
2
- table.wf-rate-table th strong {
3
- font-weight: bold;
4
- }
5
-
6
- table.wf-info-table th a,
7
- table.wf-rate-table a {
8
- color: #0073aa;
9
- }
10
-
11
- table.wf-info-table th a.get-woo-feed-pro {
12
- display: inline-block;
13
- text-decoration: none;
14
- background: #f3f5f6;
15
- color: #ff3355;
16
- vertical-align: top;
17
- font-size: 14px;
18
- line-height: 3.14285714;
19
- box-sizing: border-box;
20
- margin: 0;
21
- border-radius: 35px;
22
- box-shadow: 1px 2px 10px 1px rgba(255, 51, 85, 0.5);
23
- }
24
-
25
- table.wf-info-table th a.get-woo-feed-pro img {
26
- display: block;
27
- position: relative;
28
- margin: -2px;
29
- width: 180px;
30
- height: auto;
31
- }
32
-
33
- table.wf-info-table th a.button {
34
- border-color: #0073aa;
35
- border-radius: 35px;
36
- }
37
-
38
- table.wf-info-table th a.documentation {
39
- color: #0073aa;
40
- }
41
-
42
- table.wf-info-table th a.tutorial {
43
- color: #ee264a;
44
- }
45
-
46
- table.wf-info-table th a.support {
47
- color: #0DD41E;
48
- }
49
-
50
  /**
51
  * Premium Page Design
52
- */
53
- .wp-submenu li span.woo-feed-premium {
54
- font-weight: bold;
55
- color: #28e499;
56
- }
57
-
58
- .wp-submenu li:hover span.woo-feed-premium,
59
- .wp-submenu li.current span.woo-feed-premium {
60
- color: #1dc381;
61
- }
62
-
63
- .woo_feed_free_manage_attribute {
64
- margin: 0 auto;
65
- width: 100%;
66
- }
67
-
68
- .woo_feed_screenshort {
69
- max-width: 100%;
70
- width: 1000px;
71
- border: 3px solid #00b9eb;
72
- display: block;
73
- margin: 0 auto;
74
- }
75
-
76
- .woo-feed-screen-shot-title {
77
- font-size: 36px;
78
- text-align: center;
79
- box-sizing: content-box;
80
- color: #00b9eb;
81
- }
82
-
83
- .woo_feed_screen {
84
- background: #fff;
85
- padding: 25px 20px;
86
- margin-bottom: 20px;
87
- }
88
-
89
- .woo_feed_screen_des {
90
- text-align: center;
91
- margin: 20px 50px 20px 50px;
92
- font-size: 16px;
93
- color: #666;
94
- }
95
-
96
- .woo_feed_screen_des_2 {
97
- text-align: center;
98
- margin: 20px 50px 5px 50px;
99
- font-size: 14px;
100
- color: #32373c;
101
- }
102
-
103
-
104
- .wapk-admin .wapk-feed-upgrade {
105
- font-family: 'Open Sans', sans-serif;
106
- margin: -10px -20px 0 -22px;
107
- }
108
-
109
- .wapk-admin .wapk-feed-upgrade a {
110
- transition: all 0.2s ease;
111
- }
112
-
113
- .wapk-admin .section-title {
114
- text-align: center;
115
- font-size: 30px;
116
- line-height: 1.5em;
117
- font-weight: 400;
118
- position: relative;
119
- margin: 0 0 58px;
120
- }
121
-
122
- .wapk-admin .section-title:after {
123
- content: '';
124
- position: absolute;
125
- bottom: -21px;
126
- left: 50%;
127
- transform: translateX(-50%);
128
- width: 38px;
129
- height: 5px;
130
- border-radius: 3px;
131
- background-color: #00D4D4;
132
- }
133
-
134
- .wapk-admin .section-title .section-sub-title {
135
- font-size: 22px;
136
- font-weight: 300;
137
- }
138
-
139
- .wapk-admin .wapk-banner {
140
- background-color: #f2f2f2;
141
- font-size: 16px;
142
- display: flex;
143
- align-items: center;
144
- padding: 50px 8%;
145
- border-bottom: 1px solid #eee;
146
- }
147
-
148
- .wapk-admin .wapk-banner .wapk-banner__graphics {
149
- width: 100%;
150
- }
151
-
152
- .wapk-admin .wapk-banner .wapk-banner__content h1 {
153
- font-size: 27px;
154
- line-height: 1.5em;
155
- }
156
-
157
- .wapk-admin .wapk-banner .wapk-banner__content p {
158
- font-size: 16px;
159
- line-height: 1.5em;
160
- font-weight: 300;
161
- margin: 0;
162
- /*noinspection CssFloatPxLength*/
163
- letter-spacing: 0.5px;
164
- }
165
-
166
- .wapk-admin .feed-features,
167
- .wapk-admin .wapk-testimonial,
168
- .wapk-admin .feed-pricing {
169
- text-align: center;
170
- padding: 75px 30px 85px;
171
- background-color: #f7f8f9;
172
- }
173
-
174
- .wapk-admin .feed-features .feed-feature__list {
175
- display: flex;
176
- flex-wrap: wrap;
177
- align-items: flex-start;
178
- justify-content: center;
179
- }
180
-
181
- .wapk-admin .feed-features .feed-features__more {
182
- margin-top: 25px;
183
- }
184
-
185
- .feed-feature__item {
186
- flex: 0 0 28.9%;
187
- margin: 0 2.2% 4.4% 2.2%;
188
- text-align: center;
189
- border-radius: 5px;
190
- background-color: #ffffff;
191
- transition: all 100ms linear;
192
- overflow: hidden;
193
- }
194
-
195
- .feed-feature__item:hover {
196
- box-shadow: 5px 4px 32px -16px rgba(0, 0, 0, 0.63);
197
- }
198
-
199
- .feed-feature__thumb {
200
- overflow: hidden;
201
- }
202
-
203
- .feed-feature__item .feed-feature__thumb img {
204
- border-radius: 5px 5px 0 0;
205
- max-width: 100%;
206
- width: 100%;
207
- -webkit-transition: all 100ms linear;
208
- -moz-transition: all 100ms linear;
209
- -ms-transition: all 100ms linear;
210
- -o-transition: all 100ms linear;
211
- transition: all 100ms linear;
212
- }
213
-
214
- .feed-feature__item:hover .feed-feature__thumb img {
215
- transform: scale(1.05);
216
- }
217
-
218
- .feed-feature__item .feed-feature__description {
219
- padding: 20px 15px 25px;
220
- }
221
-
222
- .feed-feature__item .feed-feature__description h3 {
223
- font-size: 15px;
224
- line-height: 1.5em;
225
- font-weight: 300;
226
- margin: 0;
227
- }
228
-
229
- .wapk-admin .feed-pro-comparison {
230
- background-color: #f1f1f1;
231
- padding: 75px;
232
- }
233
-
234
- .wapk-admin .feed-features .section-title h2,
235
- .wapk-admin .wapk-testimonial .section-title h2,
236
- .wapk-admin .feed-pro-comparison .section-title h2,
237
- .wapk-admin .feed-pricing .section-title h2 {
238
- margin-top: 0;
239
- margin-bottom: 0;
240
- }
241
-
242
- .wapk-admin .comparison-table {
243
- display: flex;
244
- justify-content: space-between;
245
- }
246
-
247
- .wapk-admin .comparison-table .comparison {
248
- flex: 0 0 48%;
249
- background-color: #fff;
250
- border: 1px solid #e0e9ec;
251
- border-radius: 5px;
252
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
253
- padding: 50px;
254
- box-sizing: border-box;
255
- }
256
-
257
- .wapk-admin .comparison .product-header {
258
- margin-bottom: 58px;
259
- position: relative;
260
- }
261
-
262
- .wapk-admin .comparison .product-header:after {
263
- content: "";
264
- position: absolute;
265
- bottom: -23px;
266
- left: 0;
267
- width: 38px;
268
- height: 5px;
269
- border-radius: 3px;
270
- background-color: #d7d7d7;
271
- }
272
-
273
- .wapk-admin .comparison .product-header img {
274
- max-width: 160px;
275
- width: 100%;
276
- }
277
-
278
- .wapk-admin .comparison .product-features {
279
- margin: 0;
280
- }
281
-
282
- .wapk-admin .comparison li {
283
- position: relative;
284
- display: flex;
285
- margin-bottom: 15px;
286
- padding-left: 30px;
287
- font-size: 14px;
288
- line-height: 1.3em;
289
- font-weight: 300;
290
- align-items: center;
291
- }
292
-
293
- .wapk-admin .comparison li.unavailable {
294
- color: #CED2D6;
295
- }
296
-
297
- .wapk-admin .comparison li span.dashicons {
298
- position: absolute;
299
- top: 1px;
300
- left: 6px;
301
- width: 18px;
302
- height: 18px;
303
- border-radius: 100%;
304
- background: #00D4D4;
305
- color: #FFF;
306
- line-height: 22px;
307
- font-size: 14px;
308
- text-align: center;
309
- }
310
-
311
- .wapk-admin .comparison li.unavailable {
312
- color: #CED2D6;
313
- }
314
-
315
- .wapk-admin .comparison li.unavailable span.dashicons {
316
- background: #CED2D6;
317
- }
318
-
319
- .wapk-admin .comparison li span.dashicons-no {
320
- font-size: 12px;
321
- }
322
-
323
- .wapk-admin .comparison li span.dashicons-no:before {
324
- left: 0;
325
- }
326
-
327
- .wapk-admin .comparison li span.dashicons:before {
328
- position: relative;
329
- left: -0.5px;
330
- top: -2px;
331
- }
332
-
333
- .wapk-admin .comparison li img {
334
- width: 18px;
335
- margin-right: 12px;
336
- }
337
-
338
- .wapk-admin .feed-pricing {
339
- }
340
-
341
- .wapk-pricing__table {
342
- width: 100%;
343
- display: -webkit-box;
344
- display: -webkit-flex;
345
- display: -ms-flexbox;
346
- display: flex;
347
- -webkit-flex-wrap: wrap;
348
- -ms-flex-wrap: wrap;
349
- flex-wrap: wrap;
350
- -webkit-align-content: flex-start;
351
- -ms-flex-line-pack: start;
352
- align-content: flex-start;
353
- justify-content: center;
354
- }
355
-
356
- .wapk-pricing__table__item {
357
- position: relative;
358
- flex: 0 0 23%;
359
- }
360
-
361
- .wapk-price__table__wrapper {
362
- position: relative;
363
- padding: 10px;
364
- }
365
-
366
- .wapk-price__table {
367
- text-align: center;
368
- display: block;
369
- width: 100%;
370
- padding: 10px;
371
- background-color: #fff;
372
- border-radius: 8px 8px 8px 8px;
373
- box-shadow: 0 0 25px 0 rgba(0, 0, 0, .1);
374
- overflow: hidden;
375
- -webkit-transition: background .3s, border .3s, -webkit-border-radius .3s, -webkit-box-shadow .3s;
376
- transition: background .3s, border .3s, -webkit-border-radius .3s, -webkit-box-shadow .3s;
377
- -o-transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
378
- transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
379
- transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, -webkit-border-radius .3s, -webkit-box-shadow .3s;
380
- }
381
-
382
- .wapk-price__table__header {
383
- background-color: #fff;
384
- padding: 40px 0 0;
385
- }
386
-
387
- .wapk-price__table__heading {
388
- color: #6d7882;
389
- font-size: 17px;
390
- font-weight: 500;
391
- text-transform: uppercase;
392
- letter-spacing: 10px;
393
- font-family: sans-serif;
394
- margin: 0;
395
- padding: 0;
396
- line-height: 1.2;
397
- }
398
-
399
- .wapk-price__table__price {
400
- font-family: sans-serif;
401
- font-weight: 600;
402
- padding: 30px 0 10px;
403
- display: -webkit-box;
404
- display: -ms-flexbox;
405
- display: flex;
406
- -webkit-box-pack: center;
407
- -ms-flex-pack: center;
408
- justify-content: center;
409
- -webkit-box-align: center;
410
- -ms-flex-align: center;
411
- align-items: center;
412
- -ms-flex-wrap: wrap;
413
- flex-wrap: wrap;
414
- -webkit-box-orient: horizontal;
415
- -webkit-box-direction: normal;
416
- -ms-flex-direction: row;
417
- flex-direction: row;
418
- color: #434363;
419
- font-size: 45px;
420
- }
421
-
422
- .wapk-price__table__amount {
423
- }
424
-
425
- .wapk-price__table__currency {
426
- align-self: flex-start;
427
- color: #434363;
428
- line-height: 1;
429
- font-size: .3em;
430
- margin-right: 3px;
431
- }
432
-
433
- .wapk-price__table__amount .free,
434
- .wapk-price__table__amount .integer-part {
435
- color: #434363;
436
- line-height: .8;
437
- }
438
-
439
- .wapk-price__table__amount .decimal-part {
440
- font-size: 14px;
441
- font-weight: 400;
442
- }
443
-
444
- .wapk-price__table__amount .period {
445
- font-size: 14px;
446
- font-weight: 400;
447
- }
448
-
449
- .wapk-price__table__amount___legend {
450
- width: 100%;
451
- color: #FF4B4B;
452
- font-size: 18px;
453
- font-weight: 500;
454
- line-height: 2.5em;
455
- }
456
-
457
- .wapk-price__table__features {
458
- list-style-type: none;
459
- margin: 0;
460
- padding: 0;
461
- line-height: 1;
462
- color: #697279;
463
- text-align: left;
464
- }
465
-
466
- .wapk-price__table__features li.item {
467
- list-style-type: none;
468
- margin: 0;
469
- padding: 0;
470
- font-size: 13px;
471
- line-height: 1.5em;
472
- }
473
-
474
- .wapk-price__table__features li:not(:first-child):before {
475
- content: "";
476
- display: block;
477
- /* border: 0 solid hsla(0,0%,48%,.3); */
478
- margin: 10px 12.5%;
479
- }
480
-
481
- .wapk-price__table__feature {
482
- display: block;
483
- margin-left: calc(((100% - 80%) / 2) + 20px);
484
- margin-right: calc((100% - 80%) / 2);
485
- }
486
-
487
- span.wapk-price__table__feature span.dashicons {
488
- margin-left: -20px;
489
- top: 2px;
490
- position: relative;
491
- }
492
-
493
- .wapk-price__table__footer {
494
- padding: 40px 0;
495
- }
496
-
497
- .wapk-price__table__footer a {
498
- font-size: 14px;
499
- text-transform: uppercase;
500
- letter-spacing: 3px;
501
- border-radius: 100px 100px 100px 100px;
502
- padding: 16px 42px;
503
- transition: all 250ms;
504
- }
505
-
506
- .wapk-price__table__footer a:hover,
507
- .wapk-price__table__footer a:focus,
508
- .wapk-price__table__footer a:active {
509
- transform: scale(1.02) !important;
510
- }
511
-
512
- .wapk-price__table__ribbon {
513
- pointer-events: none;
514
- touch-action: none;
515
- -webkit-user-select: none;
516
- -moz-user-select: none;
517
- -ms-user-select: none;
518
- user-select: none;
519
- position: absolute;
520
- top: 10px;
521
- left: auto;
522
- right: 10px;
523
- -webkit-transform: rotate(90deg);
524
- -ms-transform: rotate(90deg);
525
- transform: rotate(90deg);
526
- width: 150px;
527
- overflow: hidden;
528
- height: 150px;
529
- }
530
-
531
- .wapk-price__table__ribbon__inner {
532
- background: #FF4B4B;
533
- font-family: sans-serif;
534
- font-weight: 500;
535
- color: #fff;
536
- font-size: 11px;
537
- /*noinspection CssFloatPxLength*/
538
- letter-spacing: 1.1px;
539
- box-shadow: 0 0 30px 0 rgba(0, 0, 0, .21);
540
- text-align: center;
541
- left: 0;
542
- width: 200%;
543
- -webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
544
- -ms-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
545
- transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
546
- margin-top: 35px;
547
- line-height: 2;
548
- text-transform: uppercase;
549
- }
550
-
551
- .wapk-admin .wapk-payment {
552
- display: flex;
553
- background: #fff;
554
- justify-content: space-between;
555
- padding: 85px 65px 85px;
556
- align-items: center;
557
- }
558
-
559
- .wapk-payment .payment-guarantee {
560
- display: flex;
561
- flex: 0 0 63%;
562
- align-content: center;
563
- align-items: center;
564
- position: relative;
565
- }
566
-
567
- .wapk-payment .payment-guarantee:after {
568
- content: "";
569
- position: absolute;
570
- right: -18px;
571
- top: 50%;
572
- transform: translateY(-50%);
573
- width: 5px;
574
- height: 38px;
575
- border-radius: 3px;
576
- background: #00D4D4;
577
- }
578
-
579
- .wapk-payment .payment-guarantee .guarantee-seal img {
580
- max-width: 100%;
581
- width: 280px;
582
- }
583
-
584
- .wapk-payment .payment-guarantee .guarantee-detail {
585
- padding-left: 25px;
586
- }
587
-
588
- .wapk-payment .payment-guarantee .guarantee-detail h2 {
589
- font-size: 24px;
590
- line-height: 1.5em;
591
- font-weight: 400;
592
- margin: 0;
593
- }
594
-
595
- .wapk-payment .payment-guarantee .guarantee-detail p {
596
- font-size: 15px;
597
- line-height: 1.5em;
598
- font-weight: 300;
599
- margin: 5px 0 20px;
600
- }
601
-
602
- .wapk-payment .payment-guarantee .guarantee-detail a {
603
- color: #00D4D4;
604
- font-size: 15px;
605
- line-height: 1.5em;
606
- text-decoration: none;
607
- }
608
-
609
- .wapk-payment .payment-guarantee .guarantee-detail a span.dashicons,
610
- .wapk-payment .payment-guarantee .guarantee-detail a img {
611
- width: 18px;
612
- margin-right: 4px;
613
- margin-top: 1px;
614
- }
615
-
616
- .wapk-payment .payment-options {
617
- flex-grow: 0.5;
618
- }
619
-
620
- .wapk-payment .payment-options h3 {
621
- font-size: 15px;
622
- font-weight: 300;
623
- margin: 0 0 17px;
624
- }
625
-
626
- .wapk-payment .payment-options .options {
627
- }
628
-
629
- .wapk-payment .payment-options .options h4 {
630
- color: #CED2D6;
631
- }
632
-
633
- .wapk-payment .payment-options .options li {
634
- float: left;
635
- overflow: hidden;
636
- }
637
-
638
- .wapk-payment .payment-options .options li img {
639
- height: 20px;
640
- margin-right: 5px;
641
- }
642
-
643
- /** Testimonial **/
644
- .wapk-admin .wapk-testimonials {
645
- }
646
-
647
- .wapk-admin .wapk-testimonial-wrapper:before {
648
- content: '';
649
- position: absolute;
650
- left: 79px;
651
- top: -15px;
652
- width: 80px;
653
- height: 56px;
654
- border-radius: 3px;
655
- background: transparent url(../images/block-quote.svg) no-repeat;
656
- background-size: cover;
657
- }
658
-
659
- .wapk-admin .wapk-testimonial-wrapper {
660
- position: relative;
661
- display: block;
662
- width: 80%;
663
- margin: 0 auto;
664
- padding: 0;
665
- text-align: center;
666
- }
667
-
668
- .testimonial-item__user .avatar {
669
- width: 100px;
670
- height: 100px;
671
- margin: 0 auto;
672
- border-radius: 100%;
673
- border: 3px solid #efefef;
674
- overflow: hidden;
675
- }
676
-
677
- .testimonial-item {
678
- margin-bottom: 25px;
679
- }
680
-
681
- .testimonial-item__user .avatar img {
682
- max-width: 100%;
683
- width: 100%;
684
- margin: 0 auto;
685
- padding: 0;
686
- display: block;
687
- }
688
-
689
- .testimonial-item__comment {
690
- position: relative;
691
- display: block;
692
- width: 70%;
693
- margin: 0 auto 30px;
694
- }
695
-
696
- .testimonial-item__user h4.author-name {
697
- font-size: 25px;
698
- font-weight: 300;
699
- margin: 10px auto;
700
- }
701
-
702
- .testimonial-item__user span.author-meta {
703
- font-size: 16px;
704
- font-weight: 300;
705
- }
706
-
707
- @media screen and (min-width: 1281px) {
708
- .wapk-admin .wapk-banner,
709
- .wapk-admin .feed-features {
710
- padding-left: 20%;
711
- padding-right: 20%;
712
- }
713
-
714
- .wapk-admin .wapk-payment {
715
- padding-left: 15%;
716
- padding-right: 15%;
717
- }
718
-
719
- .wapk-admin .feed-pro-comparison {
720
- padding-left: 21.2%;
721
- padding-right: 21.2%;
722
- }
723
-
724
- .wapk-admin .wapk-testimonial-wrapper {
725
- width: 55%;
726
- }
727
- }
728
-
729
- .wapk-feed-pro-upgrade .wapk-feed-cta,
730
- .wapk-feed-docs .wapk-feed-cta,
731
- .wapk-admin .feed-pro-comparison,
732
- .wapk-admin .wapk-payment,
733
- .wapk-admin .feed-features,
734
- .wapk-admin .wapk-testimonial,
735
- .wapk-admin .wapk-feed-banner {
736
- margin: 0;
737
- }
738
-
739
- .wapk-feed-banner .wapk-banner {
740
- margin: 0;
741
- padding: 0;
742
- }
1
+ table.wf-info-table th a,
2
+ table.wf-rate-table th strong {
3
+ font-weight: bold; }
4
+
5
+ table.wf-info-table th a,
6
+ table.wf-rate-table a {
7
+ color: #0073aa; }
8
+
9
+ table.wf-info-table th a.get-woo-feed-pro {
10
+ display: inline-block;
11
+ text-decoration: none;
12
+ background: #f3f5f6;
13
+ color: #ff3355;
14
+ vertical-align: top;
15
+ font-size: 14px;
16
+ line-height: 3.14285714;
17
+ box-sizing: border-box;
18
+ margin: 0;
19
+ border-radius: 35px;
20
+ box-shadow: 1px 2px 10px 1px rgba(255, 51, 85, 0.5); }
21
+
22
+ table.wf-info-table th a.get-woo-feed-pro img {
23
+ display: block;
24
+ position: relative;
25
+ margin: -2px;
26
+ width: 180px;
27
+ height: auto; }
28
+
29
+ table.wf-info-table th a.button {
30
+ border-color: #0073aa;
31
+ border-radius: 35px; }
32
+
33
+ table.wf-info-table th a.documentation {
34
+ color: #0073aa; }
35
+
36
+ table.wf-info-table th a.tutorial {
37
+ color: #ee264a; }
38
+
39
+ table.wf-info-table th a.support {
40
+ color: #0DD41E; }
41
+
 
 
 
 
 
 
 
 
42
  /**
43
  * Premium Page Design
44
+ */
45
+ .wp-submenu li span.woo-feed-premium {
46
+ font-weight: bold;
47
+ color: #28e499; }
48
+
49
+ .wp-submenu li:hover span.woo-feed-premium,
50
+ .wp-submenu li.current span.woo-feed-premium {
51
+ color: #1dc381; }
52
+
53
+ .woo_feed_free_manage_attribute {
54
+ margin: 0 auto;
55
+ width: 100%; }
56
+
57
+ .woo_feed_screenshort {
58
+ max-width: 100%;
59
+ width: 1000px;
60
+ border: 3px solid #00b9eb;
61
+ display: block;
62
+ margin: 0 auto; }
63
+
64
+ .woo-feed-screen-shot-title {
65
+ font-size: 36px;
66
+ text-align: center;
67
+ box-sizing: content-box;
68
+ color: #00b9eb; }
69
+
70
+ .woo_feed_screen {
71
+ background: #fff;
72
+ padding: 25px 20px;
73
+ margin-bottom: 20px; }
74
+
75
+ .woo_feed_screen_des {
76
+ text-align: center;
77
+ margin: 20px 50px 20px 50px;
78
+ font-size: 16px;
79
+ color: #666; }
80
+
81
+ .woo_feed_screen_des_2 {
82
+ text-align: center;
83
+ margin: 20px 50px 5px 50px;
84
+ font-size: 14px;
85
+ color: #32373c; }
86
+
87
+ .wapk-admin .wapk-feed-upgrade {
88
+ font-family: 'Open Sans', sans-serif;
89
+ margin: -10px -20px 0 -22px; }
90
+
91
+ .wapk-admin .wapk-feed-upgrade a {
92
+ transition: all 0.2s ease; }
93
+
94
+ .wapk-admin .section-title {
95
+ text-align: center;
96
+ font-size: 30px;
97
+ line-height: 1.5em;
98
+ font-weight: 400;
99
+ position: relative;
100
+ margin: 0 0 58px; }
101
+
102
+ .wapk-admin .section-title:after {
103
+ content: '';
104
+ position: absolute;
105
+ bottom: -21px;
106
+ left: 50%;
107
+ -webkit-transform: translateX(-50%);
108
+ transform: translateX(-50%);
109
+ width: 38px;
110
+ height: 5px;
111
+ border-radius: 3px;
112
+ background-color: #00D4D4; }
113
+
114
+ .wapk-admin .section-title .section-sub-title {
115
+ font-size: 22px;
116
+ font-weight: 300; }
117
+
118
+ .wapk-admin .wapk-banner {
119
+ background-color: #f2f2f2;
120
+ font-size: 16px;
121
+ display: -ms-flexbox;
122
+ display: flex;
123
+ -ms-flex-align: center;
124
+ align-items: center;
125
+ padding: 50px 8%;
126
+ border-bottom: 1px solid #eee; }
127
+
128
+ .wapk-admin .wapk-banner .wapk-banner__graphics {
129
+ width: 100%; }
130
+
131
+ .wapk-admin .wapk-banner .wapk-banner__content h1 {
132
+ font-size: 27px;
133
+ line-height: 1.5em; }
134
+
135
+ .wapk-admin .wapk-banner .wapk-banner__content p {
136
+ font-size: 16px;
137
+ line-height: 1.5em;
138
+ font-weight: 300;
139
+ margin: 0;
140
+ /*noinspection CssFloatPxLength*/
141
+ letter-spacing: 0.5px; }
142
+
143
+ .wapk-admin .feed-features,
144
+ .wapk-admin .wapk-testimonial,
145
+ .wapk-admin .feed-pricing {
146
+ text-align: center;
147
+ padding: 75px 30px 85px;
148
+ background-color: #f7f8f9; }
149
+
150
+ .wapk-admin .feed-features .feed-feature__list {
151
+ display: -ms-flexbox;
152
+ display: flex;
153
+ -ms-flex-wrap: wrap;
154
+ flex-wrap: wrap;
155
+ -ms-flex-align: start;
156
+ align-items: flex-start;
157
+ -ms-flex-pack: center;
158
+ justify-content: center; }
159
+
160
+ .wapk-admin .feed-features .feed-features__more {
161
+ margin-top: 25px; }
162
+
163
+ .feed-feature__item {
164
+ -ms-flex: 0 0 28.9%;
165
+ flex: 0 0 28.9%;
166
+ margin: 0 2.2% 4.4% 2.2%;
167
+ text-align: center;
168
+ border-radius: 5px;
169
+ background-color: #ffffff;
170
+ transition: all 100ms linear;
171
+ overflow: hidden; }
172
+
173
+ .feed-feature__item:hover {
174
+ box-shadow: 5px 4px 32px -16px rgba(0, 0, 0, 0.63); }
175
+
176
+ .feed-feature__thumb {
177
+ overflow: hidden; }
178
+
179
+ .feed-feature__item .feed-feature__thumb img {
180
+ border-radius: 5px 5px 0 0;
181
+ max-width: 100%;
182
+ width: 100%;
183
+ transition: all 100ms linear; }
184
+
185
+ .feed-feature__item:hover .feed-feature__thumb img {
186
+ -webkit-transform: scale(1.05);
187
+ transform: scale(1.05); }
188
+
189
+ .feed-feature__item .feed-feature__description {
190
+ padding: 20px 15px 25px; }
191
+
192
+ .feed-feature__item .feed-feature__description h3 {
193
+ font-size: 15px;
194
+ line-height: 1.5em;
195
+ font-weight: 300;
196
+ margin: 0; }
197
+
198
+ .wapk-admin .feed-pro-comparison {
199
+ background-color: #f1f1f1;
200
+ padding: 75px; }
201
+
202
+ .wapk-admin .feed-features .section-title h2,
203
+ .wapk-admin .wapk-testimonial .section-title h2,
204
+ .wapk-admin .feed-pro-comparison .section-title h2,
205
+ .wapk-admin .feed-pricing .section-title h2 {
206
+ margin-top: 0;
207
+ margin-bottom: 0; }
208
+
209
+ .wapk-admin .comparison-table {
210
+ display: -ms-flexbox;
211
+ display: flex;
212
+ -ms-flex-pack: justify;
213
+ justify-content: space-between; }
214
+
215
+ .wapk-admin .comparison-table .comparison {
216
+ -ms-flex: 0 0 48%;
217
+ flex: 0 0 48%;
218
+ background-color: #fff;
219
+ border: 1px solid #e0e9ec;
220
+ border-radius: 5px;
221
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
222
+ padding: 50px;
223
+ box-sizing: border-box; }
224
+
225
+ .wapk-admin .comparison .product-header {
226
+ margin-bottom: 58px;
227
+ position: relative; }
228
+
229
+ .wapk-admin .comparison .product-header:after {
230
+ content: "";
231
+ position: absolute;
232
+ bottom: -23px;
233
+ left: 0;
234
+ width: 38px;
235
+ height: 5px;
236
+ border-radius: 3px;
237
+ background-color: #d7d7d7; }
238
+
239
+ .wapk-admin .comparison .product-header img {
240
+ max-width: 160px;
241
+ width: 100%; }
242
+
243
+ .wapk-admin .comparison .product-features {
244
+ margin: 0; }
245
+
246
+ .wapk-admin .comparison li {
247
+ position: relative;
248
+ display: -ms-flexbox;
249
+ display: flex;
250
+ margin-bottom: 15px;
251
+ padding-left: 30px;
252
+ font-size: 14px;
253
+ line-height: 1.3em;
254
+ font-weight: 300;
255
+ -ms-flex-align: center;
256
+ align-items: center; }
257
+
258
+ .wapk-admin .comparison li.unavailable {
259
+ color: #CED2D6; }
260
+
261
+ .wapk-admin .comparison li span.dashicons {
262
+ position: absolute;
263
+ top: 1px;
264
+ left: 6px;
265
+ width: 18px;
266
+ height: 18px;
267
+ border-radius: 100%;
268
+ background: #00D4D4;
269
+ color: #FFF;
270
+ line-height: 22px;
271
+ font-size: 14px;
272
+ text-align: center; }
273
+
274
+ .wapk-admin .comparison li.unavailable {
275
+ color: #CED2D6; }
276
+
277
+ .wapk-admin .comparison li.unavailable span.dashicons {
278
+ background: #CED2D6; }
279
+
280
+ .wapk-admin .comparison li span.dashicons-no {
281
+ font-size: 12px; }
282
+
283
+ .wapk-admin .comparison li span.dashicons-no:before {
284
+ left: 0; }
285
+
286
+ .wapk-admin .comparison li span.dashicons:before {
287
+ position: relative;
288
+ left: -0.5px;
289
+ top: -2px; }
290
+
291
+ .wapk-admin .comparison li img {
292
+ width: 18px;
293
+ margin-right: 12px; }
294
+
295
+ .wapk-pricing__table {
296
+ width: 100%;
297
+ display: -ms-flexbox;
298
+ display: flex;
299
+ -ms-flex-wrap: wrap;
300
+ flex-wrap: wrap;
301
+ -ms-flex-line-pack: start;
302
+ align-content: flex-start;
303
+ -ms-flex-pack: center;
304
+ justify-content: center; }
305
+
306
+ .wapk-pricing__table__item {
307
+ position: relative;
308
+ -ms-flex: 0 0 23%;
309
+ flex: 0 0 23%; }
310
+
311
+ .wapk-price__table__wrapper {
312
+ position: relative;
313
+ padding: 10px; }
314
+
315
+ .wapk-price__table {
316
+ text-align: center;
317
+ display: block;
318
+ width: 100%;
319
+ padding: 10px;
320
+ background-color: #fff;
321
+ border-radius: 8px 8px 8px 8px;
322
+ box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
323
+ overflow: hidden;
324
+ transition: background .3s, border .3s, border-radius .3s, box-shadow .3s; }
325
+
326
+ .wapk-price__table__header {
327
+ background-color: #fff;
328
+ padding: 40px 0 0; }
329
+
330
+ .wapk-price__table__heading {
331
+ color: #6d7882;
332
+ font-size: 17px;
333
+ font-weight: 500;
334
+ text-transform: uppercase;
335
+ letter-spacing: 10px;
336
+ font-family: sans-serif;
337
+ margin: 0;
338
+ padding: 0;
339
+ line-height: 1.2; }
340
+
341
+ .wapk-price__table__price {
342
+ font-family: sans-serif;
343
+ font-weight: 600;
344
+ padding: 30px 0 10px;
345
+ display: -ms-flexbox;
346
+ display: flex;
347
+ -ms-flex-pack: center;
348
+ justify-content: center;
349
+ -ms-flex-align: center;
350
+ align-items: center;
351
+ -ms-flex-wrap: wrap;
352
+ flex-wrap: wrap;
353
+ -ms-flex-direction: row;
354
+ flex-direction: row;
355
+ color: #434363;
356
+ font-size: 45px; }
357
+
358
+ .wapk-price__table__currency {
359
+ -ms-flex-item-align: start;
360
+ align-self: flex-start;
361
+ color: #434363;
362
+ line-height: 1;
363
+ font-size: .3em;
364
+ margin-right: 3px; }
365
+
366
+ .wapk-price__table__amount .free,
367
+ .wapk-price__table__amount .integer-part {
368
+ color: #434363;
369
+ line-height: .8; }
370
+
371
+ .wapk-price__table__amount .decimal-part {
372
+ font-size: 14px;
373
+ font-weight: 400; }
374
+
375
+ .wapk-price__table__amount .period {
376
+ font-size: 14px;
377
+ font-weight: 400; }
378
+
379
+ .wapk-price__table__amount___legend {
380
+ width: 100%;
381
+ color: #FF4B4B;
382
+ font-size: 18px;
383
+ font-weight: 500;
384
+ line-height: 2.5em; }
385
+
386
+ .wapk-price__table__features {
387
+ list-style-type: none;
388
+ margin: 0;
389
+ padding: 0;
390
+ line-height: 1;
391
+ color: #697279;
392
+ text-align: left; }
393
+
394
+ .wapk-price__table__features li.item {
395
+ list-style-type: none;
396
+ margin: 0;
397
+ padding: 0;
398
+ font-size: 13px;
399
+ line-height: 1.5em; }
400
+
401
+ .wapk-price__table__features li:not(:first-child):before {
402
+ content: "";
403
+ display: block;
404
+ /* border: 0 solid hsla(0,0%,48%,.3); */
405
+ margin: 10px 12.5%; }
406
+
407
+ .wapk-price__table__feature {
408
+ display: block;
409
+ margin-left: calc(((100% - 80%) / 2) + 20px);
410
+ margin-right: calc((100% - 80%) / 2); }
411
+
412
+ span.wapk-price__table__feature span.dashicons {
413
+ margin-left: -20px;
414
+ top: 2px;
415
+ position: relative; }
416
+
417
+ .wapk-price__table__footer {
418
+ padding: 40px 0; }
419
+
420
+ .wapk-price__table__footer a {
421
+ font-size: 14px;
422
+ text-transform: uppercase;
423
+ letter-spacing: 3px;
424
+ border-radius: 100px 100px 100px 100px;
425
+ padding: 16px 42px;
426
+ transition: all 250ms; }
427
+
428
+ .wapk-price__table__footer a:hover,
429
+ .wapk-price__table__footer a:focus,
430
+ .wapk-price__table__footer a:active {
431
+ -webkit-transform: scale(1.02) !important;
432
+ transform: scale(1.02) !important; }
433
+
434
+ .wapk-price__table__ribbon {
435
+ pointer-events: none;
436
+ -ms-touch-action: none;
437
+ touch-action: none;
438
+ -webkit-user-select: none;
439
+ -moz-user-select: none;
440
+ -ms-user-select: none;
441
+ user-select: none;
442
+ position: absolute;
443
+ top: 10px;
444
+ left: auto;
445
+ right: 10px;
446
+ -webkit-transform: rotate(90deg);
447
+ transform: rotate(90deg);
448
+ width: 150px;
449
+ overflow: hidden;
450
+ height: 150px; }
451
+
452
+ .wapk-price__table__ribbon__inner {
453
+ background: #FF4B4B;
454
+ font-family: sans-serif;
455
+ font-weight: 500;
456
+ color: #fff;
457
+ font-size: 11px;
458
+ /*noinspection CssFloatPxLength*/
459
+ letter-spacing: 1.1px;
460
+ box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.21);
461
+ text-align: center;
462
+ left: 0;
463
+ width: 200%;
464
+ -webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
465
+ transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
466
+ margin-top: 35px;
467
+ line-height: 2;
468
+ text-transform: uppercase; }
469
+
470
+ .wapk-admin .wapk-payment {
471
+ display: -ms-flexbox;
472
+ display: flex;
473
+ background: #fff;
474
+ -ms-flex-pack: justify;
475
+ justify-content: space-between;
476
+ padding: 85px 65px 85px;
477
+ -ms-flex-align: center;
478
+ align-items: center; }
479
+
480
+ .wapk-payment .payment-guarantee {
481
+ display: -ms-flexbox;
482
+ display: flex;
483
+ -ms-flex: 0 0 63%;
484
+ flex: 0 0 63%;
485
+ -ms-flex-line-pack: center;
486
+ align-content: center;
487
+ -ms-flex-align: center;
488
+ align-items: center;
489
+ position: relative; }
490
+
491
+ .wapk-payment .payment-guarantee:after {
492
+ content: "";
493
+ position: absolute;
494
+ right: -18px;
495
+ top: 50%;
496
+ -webkit-transform: translateY(-50%);
497
+ transform: translateY(-50%);
498
+ width: 5px;
499
+ height: 38px;
500
+ border-radius: 3px;
501
+ background: #00D4D4; }
502
+
503
+ .wapk-payment .payment-guarantee .guarantee-seal img {
504
+ max-width: 100%;
505
+ width: 280px; }
506
+
507
+ .wapk-payment .payment-guarantee .guarantee-detail {
508
+ padding-left: 25px; }
509
+
510
+ .wapk-payment .payment-guarantee .guarantee-detail h2 {
511
+ font-size: 24px;
512
+ line-height: 1.5em;
513
+ font-weight: 400;
514
+ margin: 0; }
515
+
516
+ .wapk-payment .payment-guarantee .guarantee-detail p {
517
+ font-size: 15px;
518
+ line-height: 1.5em;
519
+ font-weight: 300;
520
+ margin: 5px 0 20px; }
521
+
522
+ .wapk-payment .payment-guarantee .guarantee-detail a {
523
+ color: #00D4D4;
524
+ font-size: 15px;
525
+ line-height: 1.5em;
526
+ text-decoration: none; }
527
+
528
+ .wapk-payment .payment-guarantee .guarantee-detail a span.dashicons,
529
+ .wapk-payment .payment-guarantee .guarantee-detail a img {
530
+ width: 18px;
531
+ margin-right: 4px;
532
+ margin-top: 1px; }
533
+
534
+ .wapk-payment .payment-options {
535
+ -ms-flex-positive: 0.5;
536
+ flex-grow: 0.5; }
537
+
538
+ .wapk-payment .payment-options h3 {
539
+ font-size: 15px;
540
+ font-weight: 300;
541
+ margin: 0 0 17px; }
542
+
543
+ .wapk-payment .payment-options .options h4 {
544
+ color: #CED2D6; }
545
+
546
+ .wapk-payment .payment-options .options li {
547
+ float: left;
548
+ overflow: hidden; }
549
+
550
+ .wapk-payment .payment-options .options li img {
551
+ height: 20px;
552
+ margin-right: 5px; }
553
+
554
+ /** Testimonial **/
555
+ .wapk-admin .wapk-testimonial-wrapper:before {
556
+ content: '';
557
+ position: absolute;
558
+ left: 79px;
559
+ top: -15px;
560
+ width: 80px;
561
+ height: 56px;
562
+ border-radius: 3px;
563
+ background: transparent url(../images/block-quote.svg) no-repeat;
564
+ background-size: cover; }
565
+
566
+ .wapk-admin .wapk-testimonial-wrapper {
567
+ position: relative;
568
+ display: block;
569
+ width: 80%;
570
+ margin: 0 auto;
571
+ padding: 0;
572
+ text-align: center; }
573
+
574
+ .testimonial-item__user .avatar {
575
+ width: 100px;
576
+ height: 100px;
577
+ margin: 0 auto;
578
+ border-radius: 100%;
579
+ border: 3px solid #efefef;
580
+ overflow: hidden; }
581
+
582
+ .testimonial-item {
583
+ margin-bottom: 25px; }
584
+
585
+ .testimonial-item__user .avatar img {
586
+ max-width: 100%;
587
+ width: 100%;
588
+ margin: 0 auto;
589
+ padding: 0;
590
+ display: block; }
591
+
592
+ .testimonial-item__comment {
593
+ position: relative;
594
+ display: block;
595
+ width: 70%;
596
+ margin: 0 auto 30px; }
597
+
598
+ .testimonial-item__user h4.author-name {
599
+ font-size: 25px;
600
+ font-weight: 300;
601
+ margin: 10px auto; }
602
+
603
+ .testimonial-item__user span.author-meta {
604
+ font-size: 16px;
605
+ font-weight: 300; }
606
+
607
+ @media screen and (min-width: 1281px) {
608
+ .wapk-admin .wapk-banner,
609
+ .wapk-admin .feed-features {
610
+ padding-left: 20%;
611
+ padding-right: 20%; }
612
+ .wapk-admin .wapk-payment {
613
+ padding-left: 15%;
614
+ padding-right: 15%; }
615
+ .wapk-admin .feed-pro-comparison {
616
+ padding-left: 21.2%;
617
+ padding-right: 21.2%; }
618
+ .wapk-admin .wapk-testimonial-wrapper {
619
+ width: 55%; } }
620
+
621
+ .wapk-feed-pro-upgrade .wapk-feed-cta,
622
+ .wapk-feed-docs .wapk-feed-cta,
623
+ .wapk-admin .feed-pro-comparison,
624
+ .wapk-admin .wapk-payment,
625
+ .wapk-admin .feed-features,
626
+ .wapk-admin .wapk-testimonial,
627
+ .wapk-admin .wapk-feed-banner {
628
+ margin: 0; }
629
+
630
+ .wapk-feed-banner .wapk-banner {
631
+ margin: 0;
632
+ padding: 0; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/css/woo-feed-admin-pro.min.css CHANGED
@@ -1 +1 @@
1
- table.wf-info-table th a,table.wf-rate-table th strong{font-weight:700}table.wf-info-table th a,table.wf-rate-table a{color:#0073aa}table.wf-info-table th a.get-woo-feed-pro{display:inline-block;text-decoration:none;background:#f3f5f6;color:#f35;vertical-align:top;font-size:14px;line-height:3.14285714;box-sizing:border-box;margin:0;border-radius:35px;box-shadow:1px 2px 10px 1px rgba(255,51,85,0.5)}table.wf-info-table th a.get-woo-feed-pro img{display:block;position:relative;margin:-2px;width:180px;height:auto}table.wf-info-table th a.button{border-color:#0073aa;border-radius:35px}table.wf-info-table th a.documentation{color:#0073aa}table.wf-info-table th a.tutorial{color:#ee264a}table.wf-info-table th a.support{color:#0DD41E}.wp-submenu li span.woo-feed-premium{font-weight:700;color:#28e499}.wp-submenu li:hover span.woo-feed-premium,.wp-submenu li.current span.woo-feed-premium{color:#1dc381}.woo_feed_free_manage_attribute{margin:0 auto;width:100%}.woo_feed_screenshort{max-width:100%;width:1000px;border:3px solid #00b9eb;display:block;margin:0 auto}.woo-feed-screen-shot-title{font-size:36px;text-align:center;box-sizing:content-box;color:#00b9eb}.woo_feed_screen{background:#fff;padding:25px 20px;margin-bottom:20px}.woo_feed_screen_des{text-align:center;margin:20px 50px;font-size:16px;color:#666}.woo_feed_screen_des_2{text-align:center;margin:20px 50px 5px;font-size:14px;color:#32373c}.wapk-admin .wapk-feed-upgrade{font-family:'Open Sans',sans-serif;margin:-10px -20px 0 -22px}.wapk-admin .wapk-feed-upgrade a{transition:all .2s ease}.wapk-admin .section-title{text-align:center;font-size:30px;line-height:1.5em;font-weight:400;position:relative;margin:0 0 58px}.wapk-admin .section-title:after{content:'';position:absolute;bottom:-21px;left:50%;transform:translateX(-50%);width:38px;height:5px;border-radius:3px;background-color:#00D4D4}.wapk-admin .section-title .section-sub-title{font-size:22px;font-weight:300}.wapk-admin .wapk-banner{background-color:#f2f2f2;font-size:16px;display:flex;align-items:center;padding:50px 8%;border-bottom:1px solid #eee}.wapk-admin .wapk-banner .wapk-banner__graphics{width:100%}.wapk-admin .wapk-banner .wapk-banner__content h1{font-size:27px;line-height:1.5em}.wapk-admin .wapk-banner .wapk-banner__content p{font-size:16px;line-height:1.5em;font-weight:300;margin:0;letter-spacing:.5px}.wapk-admin .feed-features,.wapk-admin .wapk-testimonial,.wapk-admin .feed-pricing{text-align:center;padding:75px 30px 85px;background-color:#f7f8f9}.wapk-admin .feed-features .feed-feature__list{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center}.wapk-admin .feed-features .feed-features__more{margin-top:25px}.feed-feature__item{flex:0 0 28.9%;margin:0 2.2% 4.4%;text-align:center;border-radius:5px;background-color:#fff;transition:all 100ms linear;overflow:hidden}.feed-feature__item:hover{box-shadow:5px 4px 32px -16px rgba(0,0,0,0.63)}.feed-feature__thumb{overflow:hidden}.feed-feature__item .feed-feature__thumb img{border-radius:5px 5px 0 0;max-width:100%;width:100%;-webkit-transition:all 100ms linear;-moz-transition:all 100ms linear;-ms-transition:all 100ms linear;-o-transition:all 100ms linear;transition:all 100ms linear}.feed-feature__item:hover .feed-feature__thumb img{transform:scale(1.05)}.feed-feature__item .feed-feature__description{padding:20px 15px 25px}.feed-feature__item .feed-feature__description h3{font-size:15px;line-height:1.5em;font-weight:300;margin:0}.wapk-admin .feed-pro-comparison{background-color:#f1f1f1;padding:75px}.wapk-admin .feed-features .section-title h2,.wapk-admin .wapk-testimonial .section-title h2,.wapk-admin .feed-pro-comparison .section-title h2,.wapk-admin .feed-pricing .section-title h2{margin-top:0;margin-bottom:0}.wapk-admin .comparison-table{display:flex;justify-content:space-between}.wapk-admin .comparison-table .comparison{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}.wapk-admin .comparison .product-header{margin-bottom:58px;position:relative}.wapk-admin .comparison .product-header:after{content:"";position:absolute;bottom:-23px;left:0;width:38px;height:5px;border-radius:3px;background-color:#d7d7d7}.wapk-admin .comparison .product-header img{max-width:160px;width:100%}.wapk-admin .comparison .product-features{margin:0}.wapk-admin .comparison li{position:relative;display:flex;margin-bottom:15px;padding-left:30px;font-size:14px;line-height:1.3em;font-weight:300;align-items:center}.wapk-admin .comparison li.unavailable{color:#CED2D6}.wapk-admin .comparison li span.dashicons{position:absolute;top:1px;left:6px;width:18px;height:18px;border-radius:100%;background:#00D4D4;color:#FFF;line-height:22px;font-size:14px;text-align:center}.wapk-admin .comparison li.unavailable{color:#CED2D6}.wapk-admin .comparison li.unavailable span.dashicons{background:#CED2D6}.wapk-admin .comparison li span.dashicons-no{font-size:12px}.wapk-admin .comparison li span.dashicons-no:before{left:0}.wapk-admin .comparison li span.dashicons:before{position:relative;left:-.5px;top:-2px}.wapk-admin .comparison li img{width:18px;margin-right:12px}.wapk-pricing__table{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;justify-content:center}.wapk-pricing__table__item{position:relative;flex:0 0 23%}.wapk-price__table__wrapper{position:relative;padding:10px}.wapk-price__table{text-align:center;display:block;width:100%;padding:10px;background-color:#fff;border-radius:8px 8px 8px 8px;box-shadow:0 0 25px 0 rgba(0,0,0,.1);overflow:hidden;-webkit-transition:background .3s,border .3s,-webkit-border-radius .3s,-webkit-box-shadow .3s;transition:background .3s,border .3s,-webkit-border-radius .3s,-webkit-box-shadow .3s;-o-transition:background .3s,border .3s,border-radius .3s,box-shadow .3s;transition:background .3s,border .3s,border-radius .3s,box-shadow .3s;transition:background .3s,border .3s,border-radius .3s,box-shadow .3s,-webkit-border-radius .3s,-webkit-box-shadow .3s}.wapk-price__table__header{background-color:#fff;padding:40px 0 0}.wapk-price__table__heading{color:#6d7882;font-size:17px;font-weight:500;text-transform:uppercase;letter-spacing:10px;font-family:sans-serif;margin:0;padding:0;line-height:1.2}.wapk-price__table__price{font-family:sans-serif;font-weight:600;padding:30px 0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;color:#434363;font-size:45px}.wapk-price__table__currency{align-self:flex-start;color:#434363;line-height:1;font-size:.3em;margin-right:3px}.wapk-price__table__amount .free,.wapk-price__table__amount .integer-part{color:#434363;line-height:.8}.wapk-price__table__amount .decimal-part{font-size:14px;font-weight:400}.wapk-price__table__amount .period{font-size:14px;font-weight:400}.wapk-price__table__amount___legend{width:100%;color:#FF4B4B;font-size:18px;font-weight:500;line-height:2.5em}.wapk-price__table__features{list-style-type:none;margin:0;padding:0;line-height:1;color:#697279;text-align:left}.wapk-price__table__features li.item{list-style-type:none;margin:0;padding:0;font-size:13px;line-height:1.5em}.wapk-price__table__features li:not(:first-child):before{content:"";display:block;margin:10px 12.5%}.wapk-price__table__feature{display:block;margin-left:calc(((100% - 80%) / 2) + 20px);margin-right:calc((100% - 80%) / 2)}span.wapk-price__table__feature span.dashicons{margin-left:-20px;top:2px;position:relative}.wapk-price__table__footer{padding:40px 0}.wapk-price__table__footer a{font-size:14px;text-transform:uppercase;letter-spacing:3px;border-radius:100px 100px 100px 100px;padding:16px 42px;transition:all 250ms}.wapk-price__table__footer a:hover,.wapk-price__table__footer a:focus,.wapk-price__table__footer a:active{transform:scale(1.02)!important}.wapk-price__table__ribbon{pointer-events:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;top:10px;left:auto;right:10px;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);width:150px;overflow:hidden;height:150px}.wapk-price__table__ribbon__inner{background:#FF4B4B;font-family:sans-serif;font-weight:500;color:#fff;font-size:11px;letter-spacing:1.1px;box-shadow:0 0 30px 0 rgba(0,0,0,.21);text-align:center;left:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;line-height:2;text-transform:uppercase}.wapk-admin .wapk-payment{display:flex;background:#fff;justify-content:space-between;padding:85px 65px;align-items:center}.wapk-payment .payment-guarantee{display:flex;flex:0 0 63%;align-content:center;align-items:center;position:relative}.wapk-payment .payment-guarantee:after{content:"";position:absolute;right:-18px;top:50%;transform:translateY(-50%);width:5px;height:38px;border-radius:3px;background:#00D4D4}.wapk-payment .payment-guarantee .guarantee-seal img{max-width:100%;width:280px}.wapk-payment .payment-guarantee .guarantee-detail{padding-left:25px}.wapk-payment .payment-guarantee .guarantee-detail h2{font-size:24px;line-height:1.5em;font-weight:400;margin:0}.wapk-payment .payment-guarantee .guarantee-detail p{font-size:15px;line-height:1.5em;font-weight:300;margin:5px 0 20px}.wapk-payment .payment-guarantee .guarantee-detail a{color:#00D4D4;font-size:15px;line-height:1.5em;text-decoration:none}.wapk-payment .payment-guarantee .guarantee-detail a span.dashicons,.wapk-payment .payment-guarantee .guarantee-detail a img{width:18px;margin-right:4px;margin-top:1px}.wapk-payment .payment-options{flex-grow:.5}.wapk-payment .payment-options h3{font-size:15px;font-weight:300;margin:0 0 17px}.wapk-payment .payment-options .options h4{color:#CED2D6}.wapk-payment .payment-options .options li{float:left;overflow:hidden}.wapk-payment .payment-options .options li img{height:20px;margin-right:5px}.wapk-admin .wapk-testimonial-wrapper:before{content:'';position:absolute;left:79px;top:-15px;width:80px;height:56px;border-radius:3px;background:transparent url(../images/block-quote.svg) no-repeat;background-size:cover}.wapk-admin .wapk-testimonial-wrapper{position:relative;display:block;width:80%;margin:0 auto;padding:0;text-align:center}.testimonial-item__user .avatar{width:100px;height:100px;margin:0 auto;border-radius:100%;border:3px solid #efefef;overflow:hidden}.testimonial-item{margin-bottom:25px}.testimonial-item__user .avatar img{max-width:100%;width:100%;margin:0 auto;padding:0;display:block}.testimonial-item__comment{position:relative;display:block;width:70%;margin:0 auto 30px}.testimonial-item__user h4.author-name{font-size:25px;font-weight:300;margin:10px auto}.testimonial-item__user span.author-meta{font-size:16px;font-weight:300}@media screen and (min-width: 1281px){.wapk-admin .wapk-banner,.wapk-admin .feed-features{padding-left:20%;padding-right:20%}.wapk-admin .wapk-payment{padding-left:15%;padding-right:15%}.wapk-admin .feed-pro-comparison{padding-left:21.2%;padding-right:21.2%}.wapk-admin .wapk-testimonial-wrapper{width:55%}}.wapk-feed-pro-upgrade .wapk-feed-cta,.wapk-feed-docs .wapk-feed-cta,.wapk-admin .feed-pro-comparison,.wapk-admin .wapk-payment,.wapk-admin .feed-features,.wapk-admin .wapk-testimonial,.wapk-admin .wapk-feed-banner{margin:0}.wapk-feed-banner .wapk-banner{margin:0;padding:0}
1
+ table.wf-info-table th a,table.wf-rate-table th strong{font-weight:700}table.wf-info-table th a,table.wf-rate-table a{color:#0073aa}table.wf-info-table th a.get-woo-feed-pro{display:inline-block;text-decoration:none;background:#f3f5f6;color:#f35;vertical-align:top;font-size:14px;line-height:3.14285714;box-sizing:border-box;margin:0;border-radius:35px;box-shadow:1px 2px 10px 1px rgba(255,51,85,.5)}table.wf-info-table th a.get-woo-feed-pro img{display:block;position:relative;margin:-2px;width:180px;height:auto}table.wf-info-table th a.button{border-color:#0073aa;border-radius:35px}table.wf-info-table th a.documentation{color:#0073aa}table.wf-info-table th a.tutorial{color:#ee264a}table.wf-info-table th a.support{color:#0dd41e}.wp-submenu li span.woo-feed-premium{font-weight:700;color:#28e499}.wp-submenu li.current span.woo-feed-premium,.wp-submenu li:hover span.woo-feed-premium{color:#1dc381}.woo_feed_free_manage_attribute{margin:0 auto;width:100%}.woo_feed_screenshort{max-width:100%;width:1000px;border:3px solid #00b9eb;display:block;margin:0 auto}.woo-feed-screen-shot-title{font-size:36px;text-align:center;box-sizing:content-box;color:#00b9eb}.woo_feed_screen{background:#fff;padding:25px 20px;margin-bottom:20px}.woo_feed_screen_des{text-align:center;margin:20px 50px 20px 50px;font-size:16px;color:#666}.woo_feed_screen_des_2{text-align:center;margin:20px 50px 5px 50px;font-size:14px;color:#32373c}.wapk-admin .wapk-feed-upgrade{font-family:'Open Sans',sans-serif;margin:-10px -20px 0 -22px}.wapk-admin .wapk-feed-upgrade a{transition:all .2s ease}.wapk-admin .section-title{text-align:center;font-size:30px;line-height:1.5em;font-weight:400;position:relative;margin:0 0 58px}.wapk-admin .section-title:after{content:'';position:absolute;bottom:-21px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:38px;height:5px;border-radius:3px;background-color:#00d4d4}.wapk-admin .section-title .section-sub-title{font-size:22px;font-weight:300}.wapk-admin .wapk-banner{background-color:#f2f2f2;font-size:16px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:50px 8%;border-bottom:1px solid #eee}.wapk-admin .wapk-banner .wapk-banner__graphics{width:100%}.wapk-admin .wapk-banner .wapk-banner__content h1{font-size:27px;line-height:1.5em}.wapk-admin .wapk-banner .wapk-banner__content p{font-size:16px;line-height:1.5em;font-weight:300;margin:0;letter-spacing:.5px}.wapk-admin .feed-features,.wapk-admin .feed-pricing,.wapk-admin .wapk-testimonial{text-align:center;padding:75px 30px 85px;background-color:#f7f8f9}.wapk-admin .feed-features .feed-feature__list{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.wapk-admin .feed-features .feed-features__more{margin-top:25px}.feed-feature__item{-ms-flex:0 0 28.9%;flex:0 0 28.9%;margin:0 2.2% 4.4% 2.2%;text-align:center;border-radius:5px;background-color:#fff;transition:all .1s linear;overflow:hidden}.feed-feature__item:hover{box-shadow:5px 4px 32px -16px rgba(0,0,0,.63)}.feed-feature__thumb{overflow:hidden}.feed-feature__item .feed-feature__thumb img{border-radius:5px 5px 0 0;max-width:100%;width:100%;transition:all .1s linear}.feed-feature__item:hover .feed-feature__thumb img{-webkit-transform:scale(1.05);transform:scale(1.05)}.feed-feature__item .feed-feature__description{padding:20px 15px 25px}.feed-feature__item .feed-feature__description h3{font-size:15px;line-height:1.5em;font-weight:300;margin:0}.wapk-admin .feed-pro-comparison{background-color:#f1f1f1;padding:75px}.wapk-admin .feed-features .section-title h2,.wapk-admin .feed-pricing .section-title h2,.wapk-admin .feed-pro-comparison .section-title h2,.wapk-admin .wapk-testimonial .section-title h2{margin-top:0;margin-bottom:0}.wapk-admin .comparison-table{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.wapk-admin .comparison-table .comparison{-ms-flex:0 0 48%;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}.wapk-admin .comparison .product-header{margin-bottom:58px;position:relative}.wapk-admin .comparison .product-header:after{content:"";position:absolute;bottom:-23px;left:0;width:38px;height:5px;border-radius:3px;background-color:#d7d7d7}.wapk-admin .comparison .product-header img{max-width:160px;width:100%}.wapk-admin .comparison .product-features{margin:0}.wapk-admin .comparison li{position:relative;display:-ms-flexbox;display:flex;margin-bottom:15px;padding-left:30px;font-size:14px;line-height:1.3em;font-weight:300;-ms-flex-align:center;align-items:center}.wapk-admin .comparison li.unavailable{color:#ced2d6}.wapk-admin .comparison li span.dashicons{position:absolute;top:1px;left:6px;width:18px;height:18px;border-radius:100%;background:#00d4d4;color:#fff;line-height:22px;font-size:14px;text-align:center}.wapk-admin .comparison li.unavailable{color:#ced2d6}.wapk-admin .comparison li.unavailable span.dashicons{background:#ced2d6}.wapk-admin .comparison li span.dashicons-no{font-size:12px}.wapk-admin .comparison li span.dashicons-no:before{left:0}.wapk-admin .comparison li span.dashicons:before{position:relative;left:-.5px;top:-2px}.wapk-admin .comparison li img{width:18px;margin-right:12px}.wapk-pricing__table{width:100%;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-pack:center;justify-content:center}.wapk-pricing__table__item{position:relative;-ms-flex:0 0 23%;flex:0 0 23%}.wapk-price__table__wrapper{position:relative;padding:10px}.wapk-price__table{text-align:center;display:block;width:100%;padding:10px;background-color:#fff;border-radius:8px 8px 8px 8px;box-shadow:0 0 25px 0 rgba(0,0,0,.1);overflow:hidden;transition:background .3s,border .3s,border-radius .3s,box-shadow .3s}.wapk-price__table__header{background-color:#fff;padding:40px 0 0}.wapk-price__table__heading{color:#6d7882;font-size:17px;font-weight:500;text-transform:uppercase;letter-spacing:10px;font-family:sans-serif;margin:0;padding:0;line-height:1.2}.wapk-price__table__price{font-family:sans-serif;font-weight:600;padding:30px 0 10px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:row;flex-direction:row;color:#434363;font-size:45px}.wapk-price__table__currency{-ms-flex-item-align:start;align-self:flex-start;color:#434363;line-height:1;font-size:.3em;margin-right:3px}.wapk-price__table__amount .free,.wapk-price__table__amount .integer-part{color:#434363;line-height:.8}.wapk-price__table__amount .decimal-part{font-size:14px;font-weight:400}.wapk-price__table__amount .period{font-size:14px;font-weight:400}.wapk-price__table__amount___legend{width:100%;color:#ff4b4b;font-size:18px;font-weight:500;line-height:2.5em}.wapk-price__table__features{list-style-type:none;margin:0;padding:0;line-height:1;color:#697279;text-align:left}.wapk-price__table__features li.item{list-style-type:none;margin:0;padding:0;font-size:13px;line-height:1.5em}.wapk-price__table__features li:not(:first-child):before{content:"";display:block;margin:10px 12.5%}.wapk-price__table__feature{display:block;margin-left:calc(((100% - 80%)/ 2) + 20px);margin-right:calc((100% - 80%)/ 2)}span.wapk-price__table__feature span.dashicons{margin-left:-20px;top:2px;position:relative}.wapk-price__table__footer{padding:40px 0}.wapk-price__table__footer a{font-size:14px;text-transform:uppercase;letter-spacing:3px;border-radius:100px 100px 100px 100px;padding:16px 42px;transition:all 250ms}.wapk-price__table__footer a:active,.wapk-price__table__footer a:focus,.wapk-price__table__footer a:hover{-webkit-transform:scale(1.02)!important;transform:scale(1.02)!important}.wapk-price__table__ribbon{pointer-events:none;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;top:10px;left:auto;right:10px;-webkit-transform:rotate(90deg);transform:rotate(90deg);width:150px;overflow:hidden;height:150px}.wapk-price__table__ribbon__inner{background:#ff4b4b;font-family:sans-serif;font-weight:500;color:#fff;font-size:11px;letter-spacing:1.1px;box-shadow:0 0 30px 0 rgba(0,0,0,.21);text-align:center;left:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;line-height:2;text-transform:uppercase}.wapk-admin .wapk-payment{display:-ms-flexbox;display:flex;background:#fff;-ms-flex-pack:justify;justify-content:space-between;padding:85px 65px 85px;-ms-flex-align:center;align-items:center}.wapk-payment .payment-guarantee{display:-ms-flexbox;display:flex;-ms-flex:0 0 63%;flex:0 0 63%;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;position:relative}.wapk-payment .payment-guarantee:after{content:"";position:absolute;right:-18px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:5px;height:38px;border-radius:3px;background:#00d4d4}.wapk-payment .payment-guarantee .guarantee-seal img{max-width:100%;width:280px}.wapk-payment .payment-guarantee .guarantee-detail{padding-left:25px}.wapk-payment .payment-guarantee .guarantee-detail h2{font-size:24px;line-height:1.5em;font-weight:400;margin:0}.wapk-payment .payment-guarantee .guarantee-detail p{font-size:15px;line-height:1.5em;font-weight:300;margin:5px 0 20px}.wapk-payment .payment-guarantee .guarantee-detail a{color:#00d4d4;font-size:15px;line-height:1.5em;text-decoration:none}.wapk-payment .payment-guarantee .guarantee-detail a img,.wapk-payment .payment-guarantee .guarantee-detail a span.dashicons{width:18px;margin-right:4px;margin-top:1px}.wapk-payment .payment-options{-ms-flex-positive:.5;flex-grow:.5}.wapk-payment .payment-options h3{font-size:15px;font-weight:300;margin:0 0 17px}.wapk-payment .payment-options .options h4{color:#ced2d6}.wapk-payment .payment-options .options li{float:left;overflow:hidden}.wapk-payment .payment-options .options li img{height:20px;margin-right:5px}.wapk-admin .wapk-testimonial-wrapper:before{content:'';position:absolute;left:79px;top:-15px;width:80px;height:56px;border-radius:3px;background:transparent url(../images/block-quote.svg) no-repeat;background-size:cover}.wapk-admin .wapk-testimonial-wrapper{position:relative;display:block;width:80%;margin:0 auto;padding:0;text-align:center}.testimonial-item__user .avatar{width:100px;height:100px;margin:0 auto;border-radius:100%;border:3px solid #efefef;overflow:hidden}.testimonial-item{margin-bottom:25px}.testimonial-item__user .avatar img{max-width:100%;width:100%;margin:0 auto;padding:0;display:block}.testimonial-item__comment{position:relative;display:block;width:70%;margin:0 auto 30px}.testimonial-item__user h4.author-name{font-size:25px;font-weight:300;margin:10px auto}.testimonial-item__user span.author-meta{font-size:16px;font-weight:300}@media screen and (min-width:1281px){.wapk-admin .feed-features,.wapk-admin .wapk-banner{padding-left:20%;padding-right:20%}.wapk-admin .wapk-payment{padding-left:15%;padding-right:15%}.wapk-admin .feed-pro-comparison{padding-left:21.2%;padding-right:21.2%}.wapk-admin .wapk-testimonial-wrapper{width:55%}}.wapk-admin .feed-features,.wapk-admin .feed-pro-comparison,.wapk-admin .wapk-feed-banner,.wapk-admin .wapk-payment,.wapk-admin .wapk-testimonial,.wapk-feed-docs .wapk-feed-cta,.wapk-feed-pro-upgrade .wapk-feed-cta{margin:0}.wapk-feed-banner .wapk-banner{margin:0;padding:0}
admin/css/woo-feed-admin.css CHANGED
@@ -1,1204 +1,1262 @@
1
  /**
2
  * All of the CSS for your admin-specific functionality should be
3
  * included in this file.
4
- */
5
- .wpf_spin {
6
- -webkit-animation: spin 1000ms infinite linear;
7
- animation: spin 1000ms infinite linear; }
8
- .wpf_spin.reverse_spin {
9
- animation-direction: reverse; }
10
-
11
- .wpf_regenerate.disabled {
12
- color: #737373;
13
- box-shadow: none;
14
- cursor: not-allowed; }
15
-
16
- @-webkit-keyframes spin {
17
- 0% {
18
- -webkit-transform: rotate(0deg);
19
- transform: rotate(0deg); }
20
- 100% {
21
- -webkit-transform: rotate(359deg);
22
- transform: rotate(359deg); } }
23
-
24
- @keyframes spin {
25
- 0% {
26
- -webkit-transform: rotate(0deg);
27
- transform: rotate(0deg); }
28
- 100% {
29
- -webkit-transform: rotate(359deg);
30
- transform: rotate(359deg); } }
31
-
32
- .wfbtn {
33
- background: #3498db;
34
- background-image: linear-gradient(to bottom, #3498db, #2980b9);
35
- border-radius: 17px;
36
- box-shadow: 0 1px 3px #666666;
37
- font-family: Arial, sans-serif;
38
- color: #ffffff;
39
- font-size: 20px;
40
- padding: 10px 20px 10px 20px;
41
- border: solid #2b698f 3px;
42
- text-decoration: none; }
43
- .wfbtn:hover {
44
- background: #3cb0fd;
45
- background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
46
- text-decoration: none; }
47
-
48
- .wftooltip {
49
- display: none;
50
- position: absolute;
51
- border: 1px solid #333;
52
- background-color: #161616;
53
- border-radius: 5px;
54
- padding: 10px;
55
- color: #fff;
56
- font-size: 12px; }
57
-
58
- .feed-actions .makeFeedResponse {
59
- width: 70%;
60
- color: green; }
61
-
62
- .woo-feed-mapping-input {
63
- width: 100%; }
64
-
65
- .requiredIn {
66
- color: red; }
67
-
68
- .generalInput {
69
- width: 200px; }
70
- .generalInput:not(.selectize-control) {
71
- margin: 5px auto; }
72
-
73
- .error {
74
- color: red; }
75
-
76
- .widefat td select, .widefat td input {
77
- max-width: 100%; }
78
-
79
- #wf_newRow {
80
- margin-left: 0; }
81
-
82
- .mtable tbody tr {
83
- height: 25px;
84
- border: 1px solid #CCC;
85
- text-align: left;
86
- -ms-flex-align: baseline;
87
- align-items: baseline;
88
- font-weight: bold; }
89
-
90
- .mtable th:nth-child(1) {
91
- width: 17px; }
92
-
93
- .mtable th:nth-child(2) {
94
- width: 160px; }
95
-
96
- .mtable th:nth-child(3) {
97
- width: 100px; }
98
-
99
- .mtable th:nth-child(4) {
100
- width: 100px; }
101
-
102
- .mtable th:nth-child(5) {
103
- width: 150px; }
104
-
105
- .mtable th:nth-child(6) {
106
- width: 100px; }
107
-
108
- .mtable th:nth-child(7) {
109
- width: 150px; }
110
-
111
- .mtable th:nth-child(8) {
112
- width: 90px; }
113
-
114
- .mtable th:nth-child(9) {
115
- width: 29px; }
116
-
117
- .mtable2 tbody tr {
118
- height: 25px;
119
- border: 1px solid #CCC;
120
- text-align: left;
121
- -ms-flex-align: baseline;
122
- align-items: baseline;
123
- font-weight: bold; }
124
-
125
- .mtable2 th:nth-child(1) {
126
- width: 30px; }
127
-
128
- .mtable2 th:nth-child(2) {
129
- width: 150px; }
130
-
131
- .mtable2 th:nth-child(3) {
132
- width: 230px; }
133
-
134
- .mtable2 th:nth-child(4) {
135
- width: 220px; }
136
-
137
- .mtable2 th:nth-child(7) {
138
- width: 50px; }
139
-
140
- .mtable2 th:nth-child(8) {
141
- width: 50px; }
142
-
143
- .mtable2 th:nth-child(9) {
144
- width: 29px; }
145
-
146
- .wp-admin select.wf_mattributes {
147
- width: 150px;
148
- left: 0;
149
- height: 25px; }
150
-
151
- div#wf-tab-content1 select:not([name^="output_type"]) {
152
- width: 100%; }
153
-
154
- div#wf-tab-content1 input {
155
- width: 100%; }
156
-
157
- div#wf-tab-content1 .dashicons {
158
- vertical-align: middle; }
159
-
160
- .wf_attributes {
161
- width: 150px;
162
- left: 0; }
163
-
164
- .wf_compare {
165
- max-width: 245px;
166
- left: 0; }
167
-
168
- .wf_ps {
169
- width: 100px;
170
- left: 0; }
171
-
172
- .wf_sortedtable {
173
- cursor: move; }
174
-
175
- .sorted_table {
176
- position: relative; }
177
- .sorted_table .dragged {
178
- position: absolute;
179
- opacity: 0.8;
180
- z-index: 9999;
181
- background: #fff;
182
- width: 100%;
183
- display: table; }
184
- .sorted_table tbody tr.placeholder td {
185
- border: 1px dashed #2cc185;
186
- height: 46px; }
187
-
188
- .wfnoempty {
189
- width: 120px; }
190
-
191
- /*==================Tab Design=======================*/
192
- p {
193
- color: #222; }
194
-
195
- .wf_tabs {
196
- position: relative;
197
- margin: 0 auto;
198
- width: 100%;
199
- list-style: none;
200
- /*bottom: 50px;*/ }
201
-
202
- .wf_tabs:after {
203
- display: table;
204
- clear: both;
205
- content: ""; }
206
-
207
- .wf_tabs li {
208
- float: left;
209
- width: 20%;
210
- display: block;
211
- border: 2px solid #CCC; }
212
-
213
- .wf_tabs li > input[type="radio"][name="wf_tabs"] {
214
- position: absolute;
215
- top: auto;
216
- left: -9999px; }
217
-
218
- .wf-tab-name {
219
- display: block;
220
- padding: 15px;
221
- font-size: 15px;
222
- font-weight: bold;
223
- line-height: 1;
224
- background: #fff;
225
- cursor: pointer;
226
- position: relative;
227
- text-align: center;
228
- text-transform: uppercase;
229
- color: #2CC185; }
230
-
231
- .wf-tab-name:hover {
232
- background: #2CC185;
233
- color: white; }
234
-
235
- .wf_tabs [id^="tab"]:checked + label {
236
- background: #2CC185;
237
- color: white; }
238
-
239
- .wf_tabs .wf-tab-content {
240
- z-index: 2;
241
- display: none;
242
- width: 100%;
243
- font-size: 0.9rem;
244
- position: absolute;
245
- left: 0;
246
- background: #fff;
247
- border: 2px solid #CCC; }
248
-
249
- .wf_tabs [id^="tab"]:checked ~ [id^="wf-tab-content"] {
250
- display: block; }
251
-
252
- [id^="wf-tab-content"] {
253
- margin-bottom: 40px; }
254
-
255
- div#wf-tab-content2 table:first-child {
256
- padding: 10px 0; }
257
-
258
- div#wf-tab-content2 table:first-child td:nth-child(1) {
259
- width: 260px; }
260
-
261
- div#wf-tab-content2 table:first-child td:nth-child(2) {
262
- width: 260px; }
263
-
264
- table.feed-actions tr td:last-child {
265
- text-align: right; }
266
-
267
- /* Selectize */
268
- select.selectize {
269
- display: none; }
270
-
271
- body.no-js select.selectize {
272
- display: block !important; }
273
-
274
- /* fallback combat */
275
- .selectize-dropdown .active {
276
- background-color: #edf9ff; }
277
-
278
- .selectize-dropdown .create {
279
- padding: 5px 8px; }
280
-
281
- .wapk-selectize-item {
282
- background: #0073aa !important;
283
- color: #f1f1f1 !important;
284
- font-weight: bold !important;
285
- border-color: #0073aa !important;
286
- padding-left: 5px;
287
- padding-right: 5px; }
288
-
289
- .selectize-input.full #googleTaxonomyId-selectized {
290
- opacity: 0;
291
- position: absolute;
292
- left: -10000px; }
293
-
294
- .selectize-dropdown [data-selectable].option {
295
- cursor: default; }
296
-
297
- .selectize-control.plugin-remove_button [data-value] .remove {
298
- border-left: 1px solid #f1f1f1 !important; }
299
-
300
- .selectize-dropdown .optgroup-header {
301
- font-weight: 700;
302
- background: #efefef;
303
- color: #5a5a5a; }
304
-
305
- .selectize-dropdown [data-selectable].option {
306
- cursor: pointer; }
307
-
308
- /* Feed active and inactive button CSS */
309
- .wf_status_wrap label {
310
- width: 50px;
311
- height: 25px;
312
- box-sizing: border-box;
313
- border: 1px solid;
314
- float: left;
315
- border-radius: 100px;
316
- position: relative;
317
- cursor: pointer;
318
- transition: .3s ease; }
319
-
320
- input[class=woo_feed_status_input]:checked + label {
321
- background: #55e868; }
322
-
323
- input[class=woo_feed_status_input]:checked + label:before {
324
- left: 25px; }
325
-
326
- .wf_status_wrap label:before {
327
- transition: .3s ease;
328
- content: '';
329
- width: 20px;
330
- height: 20px;
331
- position: absolute;
332
- background: white;
333
- left: 2px;
334
- top: 2px;
335
- box-sizing: border-box;
336
- border: 1px solid;
337
- color: black;
338
- border-radius: 100px; }
339
-
340
- /* list table style */
341
- .widefat td.column-url, .widefat th.column-url,
342
- .column-url {
343
- color: #008779;
344
- font-weight: bold; }
345
-
346
- /** Feed Progress **/
347
- .feed-progress-container {
348
- width: 100%;
349
- color: white;
350
- text-align: center;
351
- font-weight: 300; }
352
-
353
- .feed-progress-bar {
354
- width: 100%;
355
- background: #eee;
356
- padding: 3px;
357
- border-radius: 3px;
358
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); }
359
-
360
- .feed-progress-bar-fill {
361
- height: 20px;
362
- display: block;
363
- background: #3DC264;
364
- width: 0;
365
- border-radius: 3px;
366
- transition: width 0.8s ease; }
367
-
368
- .feed-progress-status {
369
- float: left;
370
- font-weight: bold;
371
- color: darkblue; }
372
-
373
- .feed-progress-percentage {
374
- text-align: right;
375
- font-weight: bolder;
376
- color: #41f49d;
377
- font-family: 'Arial Black', sans-serif;
378
- font-size: large; }
379
-
380
- #wpbody-content.woofeed-body-content {
381
- overflow: visible !important; }
382
-
383
- .clippy {
384
- position: relative;
385
- width: 13px;
386
- margin-top: -3px;
387
- margin-left: 3px;
388
- top: 3px; }
389
-
390
- .column-url .clippy {
391
- display: none; }
392
-
393
- .column-url:hover .clippy {
394
- display: inline-block; }
395
-
396
  /**
397
  * Primer Tooltip
398
- */
399
- .tooltipped {
400
- position: relative; }
401
- .tooltipped:after {
402
- position: absolute;
403
- z-index: 1000000;
404
- display: none;
405
- padding: 5px 8px;
406
- font: normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
407
- color: #fff;
408
- text-align: center;
409
- text-decoration: none;
410
- text-shadow: none;
411
- text-transform: none;
412
- letter-spacing: normal;
413
- word-wrap: break-word;
414
- white-space: pre;
415
- pointer-events: none;
416
- content: attr(aria-label);
417
- background: rgba(0, 0, 0, 0.8);
418
- border-radius: 3px;
419
- -webkit-font-smoothing: subpixel-antialiased; }
420
- .tooltipped:before {
421
- position: absolute;
422
- z-index: 1000001;
423
- display: none;
424
- width: 0;
425
- height: 0;
426
- color: rgba(0, 0, 0, 0.8);
427
- pointer-events: none;
428
- content: "";
429
- border: 5px solid transparent; }
430
- .tooltipped:hover:before {
431
- display: inline-block;
432
- text-decoration: none; }
433
- .tooltipped:hover:after {
434
- display: inline-block;
435
- text-decoration: none; }
436
- .tooltipped:active:before {
437
- display: inline-block;
438
- text-decoration: none; }
439
- .tooltipped:active:after {
440
- display: inline-block;
441
- text-decoration: none; }
442
- .tooltipped:focus:before {
443
- display: inline-block;
444
- text-decoration: none; }
445
- .tooltipped:focus:after {
446
- display: inline-block;
447
- text-decoration: none; }
448
- .tooltipped-multiline:hover:after {
449
- display: table-cell; }
450
- .tooltipped-multiline:active:after {
451
- display: table-cell; }
452
- .tooltipped-multiline:focus:after {
453
- display: table-cell; }
454
- .tooltipped-multiline:after {
455
- width: -webkit-max-content;
456
- width: -moz-max-content;
457
- width: max-content;
458
- max-width: 250px;
459
- word-break: break-word;
460
- word-wrap: normal;
461
- white-space: pre-line;
462
- border-collapse: separate; }
463
- .tooltipped-s:after {
464
- top: 100%;
465
- right: 50%;
466
- margin-top: 5px;
467
- -webkit-transform: translateX(50%);
468
- transform: translateX(50%); }
469
- .tooltipped-s:before {
470
- top: auto;
471
- right: 50%;
472
- bottom: -5px;
473
- margin-right: -5px;
474
- border-bottom-color: rgba(0, 0, 0, 0.8); }
475
- .tooltipped-se:after {
476
- top: 100%;
477
- margin-top: 5px;
478
- right: auto;
479
- left: 50%;
480
- margin-left: -15px; }
481
- .tooltipped-se:before {
482
- top: auto;
483
- right: 50%;
484
- bottom: -5px;
485
- margin-right: -5px;
486
- border-bottom-color: rgba(0, 0, 0, 0.8); }
487
- .tooltipped-sw:after {
488
- top: 100%;
489
- right: 50%;
490
- margin-top: 5px;
491
- margin-right: -15px; }
492
- .tooltipped-sw:before {
493
- top: auto;
494
- right: 50%;
495
- bottom: -5px;
496
- margin-right: -5px;
497
- border-bottom-color: rgba(0, 0, 0, 0.8); }
498
- .tooltipped-n:after {
499
- right: 50%;
500
- bottom: 100%;
501
- margin-bottom: 5px;
502
- -webkit-transform: translateX(50%);
503
- transform: translateX(50%); }
504
- .tooltipped-n:before {
505
- top: -5px;
506
- right: 50%;
507
- bottom: auto;
508
- margin-right: -5px;
509
- border-top-color: rgba(0, 0, 0, 0.8); }
510
- .tooltipped-ne:after {
511
- bottom: 100%;
512
- margin-bottom: 5px;
513
- right: auto;
514
- left: 50%;
515
- margin-left: -15px; }
516
- .tooltipped-ne:before {
517
- top: -5px;
518
- right: 50%;
519
- bottom: auto;
520
- margin-right: -5px;
521
- border-top-color: rgba(0, 0, 0, 0.8); }
522
- .tooltipped-nw:after {
523
- right: 50%;
524
- bottom: 100%;
525
- margin-bottom: 5px;
526
- margin-right: -15px; }
527
- .tooltipped-nw:before {
528
- top: -5px;
529
- right: 50%;
530
- bottom: auto;
531
- margin-right: -5px;
532
- border-top-color: rgba(0, 0, 0, 0.8); }
533
- .tooltipped-w:after {
534
- right: 100%;
535
- bottom: 50%;
536
- margin-right: 5px;
537
- -webkit-transform: translateY(50%);
538
- transform: translateY(50%); }
539
- .tooltipped-w:before {
540
- top: 50%;
541
- bottom: 50%;
542
- left: -5px;
543
- margin-top: -5px;
544
- border-left-color: rgba(0, 0, 0, 0.8); }
545
- .tooltipped-e:after {
546
- bottom: 50%;
547
- left: 100%;
548
- margin-left: 5px;
549
- -webkit-transform: translateY(50%);
550
- transform: translateY(50%); }
551
- .tooltipped-e:before {
552
- top: 50%;
553
- right: -5px;
554
- bottom: 50%;
555
- margin-top: -5px;
556
- border-right-color: rgba(0, 0, 0, 0.8); }
557
- .tooltipped-multiline.tooltipped-s:after {
558
- right: auto;
559
- left: 50%;
560
- -webkit-transform: translateX(-50%);
561
- transform: translateX(-50%); }
562
- .tooltipped-multiline.tooltipped-n:after {
563
- right: auto;
564
- left: 50%;
565
- -webkit-transform: translateX(-50%);
566
- transform: translateX(-50%); }
567
- .tooltipped-multiline.tooltipped-w:after {
568
- right: 100%; }
569
- .tooltipped-multiline.tooltipped-e:after {
570
- right: 100%; }
571
- .tooltipped-sticky:before {
572
- display: inline-block; }
573
- .tooltipped-sticky:after {
574
- display: inline-block; }
575
- .tooltipped-sticky.tooltipped-multiline:after {
576
- display: table-cell; }
577
-
578
- .fullscreen-overlay-enabled.dark-theme .tooltipped:after {
579
- color: #000;
580
- background: rgba(255, 255, 255, 0.8); }
581
-
582
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before {
583
- border-bottom-color: rgba(255, 255, 255, 0.8); }
584
-
585
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before {
586
- border-bottom-color: rgba(255, 255, 255, 0.8); }
587
-
588
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
589
- border-bottom-color: rgba(255, 255, 255, 0.8); }
590
-
591
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before {
592
- border-top-color: rgba(255, 255, 255, 0.8); }
593
-
594
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before {
595
- border-top-color: rgba(255, 255, 255, 0.8); }
596
-
597
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
598
- border-top-color: rgba(255, 255, 255, 0.8); }
599
-
600
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
601
- border-right-color: rgba(255, 255, 255, 0.8); }
602
-
603
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
604
- border-left-color: rgba(255, 255, 255, 0.8); }
605
-
606
- @media screen and (min-width: 0\0) {
607
- .tooltipped-multiline:after {
608
- width: 250px; } }
609
-
610
- ul.tracker_collection_list {
611
- list-style: initial;
612
- padding: initial;
613
- margin: -10px 0 0 30px;
614
- font-size: 11px !important; }
615
- ul.tracker_collection_list li {
616
- margin: 0; }
617
-
618
- /** Info Message Table **/
619
- table.wf-info-table, table.wf-rate-table {
620
- vertical-align: middle;
621
- text-align: center;
622
- max-width: 100%;
623
- font-weight: 500; }
624
- table.wf-info-table th, table.wf-rate-table th {
625
- text-align: center; }
626
- table.wf-info-table strong, table.wf-rate-table strong {
627
- font-weight: bold; }
628
-
629
- table.wf-info-table th:first-child img {
630
- margin: 0 0 -5px 5px; }
631
-
632
- table.wf-rate-table a {
633
- color: #0073aa; }
634
-
635
- table.wf-rate-table a.review-star:after {
636
- content: "\f155\f155\f155\f155\f155" !important;
637
- font-family: dashicons;
638
- font-size: 10px;
639
- font-weight: 100;
640
- text-rendering: auto;
641
- -webkit-font-smoothing: antialiased;
642
- -moz-osx-font-smoothing: grayscale;
643
- color: #0073aa;
644
- text-decoration: underline; }
645
-
646
- /** Admin Menu Icon **/
647
- #adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before {
648
- content: "";
649
- background: url(../images/woo-feed-icon.svg) no-repeat center center;
650
- background-size: 20px 20px;
651
- opacity: 0.6;
652
- filter: alpha(opacity=60); }
653
-
654
- #adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before {
655
- opacity: 1;
656
- filter: alpha(opacity=100); }
657
-
658
- #adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before {
659
- opacity: 1;
660
- filter: alpha(opacity=100); }
661
-
662
- /** Admin Page Wrapper **/
663
- .wapk-admin, .wapk-admin * {
664
- box-sizing: border-box; }
665
-
666
- .wapk-admin {
667
- position: relative;
668
- display: block;
669
- -webkit-hyphens: manual;
670
- -ms-hyphens: manual;
671
- -moz-hyphens: manual;
672
- hyphens: manual;
673
- color: #1B2730;
674
- /* reset .warp margin to use full width except menu area */
675
- margin: 0 0 0 -10px; }
676
-
677
- @media screen and (min-width: 783px) {
678
- .wapk-admin {
679
- margin: 0 0 0 -20px; } }
680
-
681
- .text-center {
682
- text-align: center; }
683
-
684
- .wapk-admin h1, .wapk-admin h2, .wapk-admin h3,
685
- .wapk-admin h4, .wapk-admin h5, .wapk-admin h6,
686
- .wapk-admin p {
687
- color: #1B2730; }
688
-
689
- .wapk-admin sup {
690
- vertical-align: baseline;
691
- position: relative;
692
- top: -6px; }
693
-
694
- .wapk-admin sub {
695
- vertical-align: baseline;
696
- position: relative;
697
- top: 4px; }
698
-
699
- /* WP.Core.UI Compat */
700
- .wapk-admin .wapk-section {
701
- margin: 10px 20px 0 22px;
702
- position: relative;
703
- display: block; }
704
- .wapk-admin .wapk-section [class$=icon32] + h2 {
705
- font-size: 23px;
706
- font-weight: 400;
707
- margin: 0;
708
- padding: 9px 0 4px 0;
709
- line-height: 1.3; }
710
- .wapk-admin .wapk-section h1 {
711
- font-size: 23px;
712
- font-weight: 400;
713
- margin: 0;
714
- padding: 9px 0 4px 0;
715
- line-height: 1.3; }
716
- .wapk-admin .wapk-section > h2:first-child {
717
- font-size: 23px;
718
- font-weight: 400;
719
- margin: 0;
720
- padding: 9px 0 4px 0;
721
- line-height: 1.3; }
722
-
723
- .wapk-admin > .notice {
724
- margin: 10px 20px 0 22px;
725
- position: relative;
726
- display: block; }
727
-
728
- .wapk-admin span.help {
729
- display: block;
730
- float: left;
731
- width: 100%;
732
- font-size: 0.9em;
733
- color: #636363;
734
- margin-top: 5px;
735
- font-weight: 500; }
736
- .wapk-admin span.help .dashicons {
737
- width: 11px;
738
- height: 12px;
739
- font-size: inherit;
740
- vertical-align: middle; }
741
-
742
- .clear:after {
743
- content: "";
744
- display: table;
745
- clear: both; }
746
-
747
- /*.wapk-admin .help a { color: inherit; text-decoration: underline; }*/
748
- /** Extend WP Core UI PostBox For Docs **/
749
- .wapk-feed-docs .postbox {
750
- width: 355px;
751
- margin-right: 20px;
752
- display: inline-block;
753
- vertical-align: top; }
754
- .wapk-feed-docs .postbox .hndle {
755
- font-size: 14px;
756
- padding: 8px 12px;
757
- margin: 0;
758
- line-height: 1.4;
759
- cursor: pointer; }
760
- .wapk-feed-docs .postbox .dashicons {
761
- color: #ccc; }
762
- .wapk-feed-docs .postbox a {
763
- text-decoration: none; }
764
- .wapk-feed-docs .postbox .inside {
765
- margin-bottom: 0; }
766
- .wapk-feed-docs .postbox ul {
767
- margin-bottom: 0; }
768
- .wapk-feed-docs .postbox .toggle-indicator:before {
769
- content: "\F142";
770
- display: inline-block;
771
- font: 400 20px/1 dashicons;
772
- speak: none;
773
- -webkit-font-smoothing: antialiased;
774
- -moz-osx-font-smoothing: grayscale;
775
- text-decoration: none !important; }
776
- .wapk-feed-docs .postbox li {
777
- width: 100%;
778
- display: block;
779
- float: left; }
780
- .wapk-feed-docs .postbox li span {
781
- display: inline-block;
782
- float: left;
783
- margin-right: 4px; }
784
- .wapk-feed-docs .postbox li a {
785
- display: inline-block;
786
- float: left;
787
- width: calc(100% - 24px); }
788
-
789
- .wapk-feed-docs .postbox.closed .toggle-indicator:before {
790
- content: "\F140"; }
791
-
792
- .wapk-section #post-body.columns-2 #side-sortables {
793
- min-height: 196px; }
794
-
795
- #poststuff #feed_merchant_info .inside {
796
- margin: 0;
797
- padding: 0; }
798
-
799
- #feed_merchant_info ul.data {
800
- margin-left: 24px;
801
- margin-top: 5px; }
802
- #feed_merchant_info ul.data li {
803
- margin-bottom: 5px; }
804
-
805
- .merchant-info-section {
806
- padding: 6px 10px 8px; }
807
-
808
- .generateFeed .wf-tab-content table:first-child {
809
- border: none;
810
- box-shadow: none; }
811
-
812
- .generateFeed table th {
813
- font-weight: bold; }
814
-
815
- @media only screen and (max-width: 850px) {
816
- .wapk-feed-docs .postbox {
817
- display: block;
818
- width: auto;
819
- float: none;
820
- margin-right: auto; } }
821
-
822
- /** Admin Feed Help Docs **/
823
- .wp-submenu li span.woo-feed-docs {
824
- font-weight: bold;
825
- color: #f18500; }
826
-
827
- .wp-submenu li:hover span.woo-feed-docs {
828
- color: #ce7304; }
829
-
830
- .wp-submenu li.current span.woo-feed-docs {
831
- color: #ce7304; }
832
-
833
- .wapk-admin .wapk-feed-docs .postbox .hndle {
834
- cursor: default; }
835
-
836
- /** Admin Call-To-Action **/
837
- .wapk-cta {
838
- position: relative;
839
- display: -ms-flexbox;
840
- display: flex;
841
- width: 100%;
842
- padding: 100px 15px;
843
- background: linear-gradient(45deg, #6CD5FF 33%, #c2efef 100%);
844
- -ms-flex-pack: center;
845
- justify-content: center;
846
- -ms-flex-align: center;
847
- align-items: center; }
848
- .wapk-cta-icon .dashicons {
849
- font-size: 100px;
850
- width: 100px;
851
- height: auto;
852
- margin: 0 10px -8px 0;
853
- color: #02658c; }
854
- .wapk-cta-content {
855
- width: 50%; }
856
- .wapk-cta-content h2 {
857
- font-size: 2em;
858
- margin: 0.5em 0; }
859
- .wapk-cta-action a.wapk-button {
860
- font-size: 24px;
861
- height: auto !important;
862
- padding: 10px 20px; }
863
-
864
- @media (max-width: 600px) {
865
- .wapk-cta {
866
- display: block;
867
- text-align: center;
868
- padding: 4em 0; }
869
- .wapk-cta-content {
870
- width: 100%;
871
- margin: 2em 0; } }
872
-
873
- /** Override .wp-core-ui .wapk-button styles with prefix .wapk-admin **/
874
- /* Button Skin */
875
- .wapk-button {
876
- color: #00D4D4;
877
- border-color: #00D4D4;
878
- display: inline-block;
879
- text-decoration: none;
880
- font-size: 13px;
881
- line-height: 2.15384615;
882
- min-height: 30px;
883
- margin: 0;
884
- padding: 0 10px;
885
- cursor: pointer;
886
- border-width: 1px;
887
- border-style: solid;
888
- -webkit-appearance: none;
889
- border-radius: 3px;
890
- white-space: nowrap;
891
- box-sizing: border-box; }
892
- .wapk-button > svg {
893
- width: 15px;
894
- margin-left: 5px;
895
- fill: #00D4D4; }
896
- .wapk-button > .dashicons {
897
- color: #00D4D4; }
898
- .wapk-button:hover {
899
- border-color: #00bbbb;
900
- color: #00bbbb; }
901
- .wapk-button:hover > svg {
902
- fill: #00bbbb; }
903
- .wapk-button:hover > .dashicons {
904
- color: #00bbbb; }
905
- .wapk-button:focus {
906
- border-color: #00D4D4;
907
- color: #00bbbb;
908
- box-shadow: 0 0 0 1px #00D4D4; }
909
- .wapk-button:focus > svg {
910
- fill: #00bbbb; }
911
- .wapk-button:focus > .dashicons {
912
- color: #00bbbb; }
913
- .wapk-button:active {
914
- background: #00bbbb;
915
- border-color: #00bbbb; }
916
- .wapk-button-secondary {
917
- color: #00D4D4;
918
- border-color: #00D4D4;
919
- display: inline-block;
920
- text-decoration: none;
921
- font-size: 13px;
922
- line-height: 2.15384615;
923
- min-height: 30px;
924
- margin: 0;
925
- padding: 0 10px;
926
- cursor: pointer;
927
- border-width: 1px;
928
- border-style: solid;
929
- -webkit-appearance: none;
930
- border-radius: 3px;
931
- white-space: nowrap;
932
- box-sizing: border-box; }
933
- .wapk-button-secondary > svg {
934
- width: 15px;
935
- margin-left: 5px;
936
- fill: #00D4D4; }
937
- .wapk-button-secondary > .dashicons {
938
- color: #00D4D4; }
939
- .wapk-button-secondary:hover {
940
- border-color: #00bbbb;
941
- color: #00bbbb; }
942
- .wapk-button-secondary:hover > svg {
943
- fill: #00bbbb; }
944
- .wapk-button-secondary:hover > .dashicons {
945
- color: #00bbbb; }
946
- .wapk-button-secondary:focus {
947
- border-color: #00D4D4;
948
- color: #00bbbb;
949
- box-shadow: 0 0 0 1px #00D4D4; }
950
- .wapk-button-secondary:focus > svg {
951
- fill: #00bbbb; }
952
- .wapk-button-secondary:focus > .dashicons {
953
- color: #00bbbb; }
954
- .wapk-button-primary {
955
- display: inline-block;
956
- text-decoration: none;
957
- font-size: 13px;
958
- line-height: 2.15384615;
959
- min-height: 30px;
960
- margin: 0;
961
- padding: 0 10px;
962
- cursor: pointer;
963
- border-width: 1px;
964
- border-style: solid;
965
- -webkit-appearance: none;
966
- border-radius: 3px;
967
- white-space: nowrap;
968
- box-sizing: border-box;
969
- background: #00D4D4;
970
- border-color: #00D4D4;
971
- color: #fff;
972
- box-shadow: 0 1px 0 #00bbbb;
973
- text-shadow: 0 -1px 1px #00bbbb, 1px 0 1px #00bbbb, 0 1px 1px #00bbbb, -1px 0 1px #00bbbb; }
974
- .wapk-button-primary > svg {
975
- fill: #fff; }
976
- .wapk-button-primary:hover {
977
- background: #00e3e3;
978
- border-color: #00c5c5;
979
- color: #fff; }
980
- .wapk-button-primary:hover > svg {
981
- fill: #fff; }
982
- .wapk-button-primary:focus {
983
- background: #00e3e3;
984
- border-color: #00c5c5;
985
- color: #fff;
986
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00D4D4; }
987
- .wapk-button-primary:focus > svg {
988
- fill: #fff; }
989
- .wapk-button-primary:active {
990
- background: #00bbbb;
991
- border-color: #00bbbb;
992
- color: #fff; }
993
- .wapk-button-primary:active > svg {
994
- fill: #fff; }
995
- .wapk-button-primary:disabled {
996
- color: #c7d1d1 !important;
997
- background: #22ffff !important;
998
- border-color: #22ffff !important;
999
- text-shadow: none !important; }
1000
- .wapk-button-primary:disabled > svg {
1001
- fill: #c7d1d1 !important; }
1002
- .wapk-button.hover {
1003
- border-color: #00bbbb;
1004
- color: #00bbbb; }
1005
- .wapk-button.hover > svg {
1006
- fill: #00bbbb; }
1007
- .wapk-button.hover > .dashicons {
1008
- color: #00bbbb; }
1009
- .wapk-button.focus {
1010
- border-color: #00D4D4;
1011
- color: #00bbbb;
1012
- box-shadow: 0 0 0 1px #00D4D4; }
1013
- .wapk-button.focus > svg {
1014
- fill: #00bbbb; }
1015
- .wapk-button.focus > .dashicons {
1016
- color: #00bbbb; }
1017
- .wapk-button.active {
1018
- border-color: #00bbbb;
1019
- color: #00bbbb;
1020
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1021
- .wapk-button.active:focus {
1022
- border-color: #00bbbb;
1023
- color: #00bbbb;
1024
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1025
- .wapk-button.active:focus > svg {
1026
- fill: #00bbbb; }
1027
- .wapk-button.active:focus > .dashicons {
1028
- color: #00bbbb; }
1029
- .wapk-button.active:hover {
1030
- border-color: #00bbbb;
1031
- color: #00bbbb;
1032
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1033
- .wapk-button.active:hover > svg {
1034
- fill: #00bbbb; }
1035
- .wapk-button.active:hover > .dashicons {
1036
- color: #00bbbb; }
1037
- .wapk-button.active > svg {
1038
- fill: #00bbbb; }
1039
- .wapk-button.active > .dashicons {
1040
- color: #00bbbb; }
1041
- .wapk-button-primary.active {
1042
- background: #00D4D4;
1043
- color: #fff;
1044
- border-color: #008888;
1045
- box-shadow: inset 0 2px 5px -3px black; }
1046
- .wapk-button-primary.active:focus {
1047
- background: #00D4D4;
1048
- color: #fff;
1049
- border-color: #008888;
1050
- box-shadow: inset 0 2px 5px -3px black; }
1051
- .wapk-button-primary.active:focus > svg {
1052
- fill: #fff; }
1053
- .wapk-button-primary.active:hover {
1054
- background: #00D4D4;
1055
- color: #fff;
1056
- border-color: #008888;
1057
- box-shadow: inset 0 2px 5px -3px black; }
1058
- .wapk-button-primary.active:hover > svg {
1059
- fill: #fff; }
1060
- .wapk-button-primary.active > svg {
1061
- fill: #fff; }
1062
- .wapk-button-primary[disabled] {
1063
- color: #c7d1d1 !important;
1064
- background: #22ffff !important;
1065
- border-color: #22ffff !important;
1066
- text-shadow: none !important; }
1067
- .wapk-button-primary[disabled] > svg {
1068
- fill: #c7d1d1 !important; }
1069
- .wapk-button-primary.wapk-button-primary-disabled {
1070
- color: #c7d1d1 !important;
1071
- background: #22ffff !important;
1072
- border-color: #22ffff !important;
1073
- text-shadow: none !important; }
1074
- .wapk-button-primary.wapk-button-primary-disabled > svg {
1075
- fill: #c7d1d1 !important; }
1076
- .wapk-button-primary.disabled {
1077
- color: #c7d1d1 !important;
1078
- background: #22ffff !important;
1079
- border-color: #22ffff !important;
1080
- text-shadow: none !important; }
1081
- .wapk-button-primary.disabled > svg {
1082
- fill: #c7d1d1 !important; }
1083
- .wapk-button-primary.wapk-button-hero {
1084
- box-shadow: 0 2px 0 #00bbbb; }
1085
- .wapk-button-primary.wapk-button-hero:focus {
1086
- box-shadow: 0 2px 0 #00bbbb, 0 1px 0 #00c5c5, 0 0 2px 1px #00eeee; }
1087
- .wapk-button-primary.wapk-button-hero:active {
1088
- box-shadow: inset 0 3px 0 #00a1a1; }
1089
- .wapk-button-primary.wapk-button-hero.active {
1090
- box-shadow: inset 0 3px 0 #00a1a1; }
1091
- .wapk-button-primary.wapk-button-hero.active:hover, .wapk-button-primary.wapk-button-hero.active:focus {
1092
- box-shadow: inset 0 3px 0 #00a1a1; }
1093
- .wapk-button-group > .wapk-button.active {
1094
- border-color: #00D4D4; }
1095
-
1096
- /* Button Sizes */
1097
- .wapk-button.wapk-button-xl {
1098
- height: 30px;
1099
- line-height: 28px;
1100
- padding: 0 12px 2px; }
1101
-
1102
- .wapk-button-group.wapk-button-xl .wapk-button {
1103
- height: 30px;
1104
- line-height: 28px;
1105
- padding: 0 12px 2px; }
1106
-
1107
- .wapk-button.wapk-button-hero {
1108
- font-size: 18px;
1109
- height: 50px;
1110
- line-height: 48px;
1111
- padding: 0 36px;
1112
- min-height: 46px; }
1113
-
1114
- .wapk-button-group.wapk-button-hero .wapk-button {
1115
- font-size: 18px;
1116
- height: 50px;
1117
- line-height: 48px;
1118
- padding: 0 36px;
1119
- min-height: 46px; }
1120
-
1121
- @media screen and (min-width: 782px) {
1122
- th#status,
1123
- th#provider {
1124
- width: 80px; }
1125
- th#type {
1126
- width: 50px; }
1127
- th#option_name {
1128
- width: 100px; }
1129
- td.option_name.column-option_name > span:first-child {
1130
- display: none; }
1131
- th#last_updated {
1132
- width: 90px; }
1133
- th#view {
1134
- width: 111px; } }
1135
-
1136
- @media screen and (min-width: 960px) {
1137
- th#status, th#provider {
1138
- width: 100px; }
1139
- th#type {
1140
- width: 80px; }
1141
- th#option_name {
1142
- width: 150px; }
1143
- th#last_updated {
1144
- width: 140px; } }
1145
-
1146
- @media screen and (max-width: 782px) {
1147
- table.wf-info-table {
1148
- margin-top: 10px; }
1149
- table.wf-info-table th:first-child img {
1150
- margin: 0 auto;
1151
- display: block; }
1152
- .wapk-button.wapk-button-xl {
1153
- padding: 6px 14px;
1154
- line-height: normal;
1155
- font-size: 14px;
1156
- vertical-align: middle;
1157
- height: auto;
1158
- margin-bottom: 4px; } }
1159
-
1160
- .wapk-feed-docs .wapk-feed-cta {
1161
- margin: 0; }
1162
-
1163
- .campaign_configurator {
1164
- background: #FFF;
1165
- padding: 20px 0; }
1166
- .campaign_configurator table {
1167
- margin: 0 auto;
1168
- width: 51%;
1169
- min-width: 574px;
1170
- border: none;
1171
- box-shadow: none; }
1172
- .campaign_configurator th {
1173
- min-width: 120px; }
1174
-
1175
- @media screen and (max-width: 782px) {
1176
- .campaign_configurator {
1177
- padding: 0; }
1178
- .campaign_configurator table {
1179
- width: auto;
1180
- min-width: auto;
1181
- max-width: 100%; }
1182
- .campaign_configurator th {
1183
- min-width: auto; } }
1184
-
1185
- #wf-tab-content-config td > input:not([type="checkbox"]):not([type="radio"]),
1186
- #wf-tab-content-config td > select,
1187
- #wf-tab-content-config td > textarea {
1188
- width: 100% !important; }
1189
-
1190
- .woo-feed-filters td > div:nth-child(2n):not(.clear):not(.selectize) {
1191
- width: 120px;
1192
- display: block; }
1193
-
1194
- .woo-feed-filters td > div:not(.clear) {
1195
- float: left;
1196
- margin-right: 10px; }
1197
-
1198
- .woo-feed-filters tr > td:first-child {
1199
- width: 290px;
1200
- padding-left: 40px; }
1201
-
1202
- .woo-feed-filters,
1203
- .woo-feed-ftp {
1204
- margin: 15px auto 25px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /**
2
  * All of the CSS for your admin-specific functionality should be
3
  * included in this file.
4
+ */
5
+ .wpf_spin {
6
+ -webkit-animation: spin 1000ms infinite linear;
7
+ animation: spin 1000ms infinite linear; }
8
+ .wpf_spin.reverse_spin {
9
+ animation-direction: reverse; }
10
+
11
+ .wpf_regenerate.disabled {
12
+ color: #737373;
13
+ box-shadow: none;
14
+ cursor: not-allowed; }
15
+
16
+ @-webkit-keyframes spin {
17
+ 0% {
18
+ -webkit-transform: rotate(0deg);
19
+ transform: rotate(0deg); }
20
+ 100% {
21
+ -webkit-transform: rotate(359deg);
22
+ transform: rotate(359deg); } }
23
+
24
+ @keyframes spin {
25
+ 0% {
26
+ -webkit-transform: rotate(0deg);
27
+ transform: rotate(0deg); }
28
+ 100% {
29
+ -webkit-transform: rotate(359deg);
30
+ transform: rotate(359deg); } }
31
+
32
+ .wfbtn {
33
+ background: #3498db;
34
+ background-image: linear-gradient(to bottom, #3498db, #2980b9);
35
+ border-radius: 17px;
36
+ box-shadow: 0 1px 3px #666666;
37
+ font-family: Arial, sans-serif;
38
+ color: #ffffff;
39
+ font-size: 20px;
40
+ padding: 10px 20px 10px 20px;
41
+ border: solid #2b698f 3px;
42
+ text-decoration: none; }
43
+ .wfbtn:hover {
44
+ background: #3cb0fd;
45
+ background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
46
+ text-decoration: none; }
47
+
48
+ .wftooltip {
49
+ display: none;
50
+ position: absolute;
51
+ border: 1px solid #333;
52
+ background-color: #161616;
53
+ border-radius: 5px;
54
+ padding: 10px;
55
+ color: #fff;
56
+ font-size: 12px; }
57
+
58
+ .feed-actions .makeFeedResponse {
59
+ width: 70%;
60
+ color: green; }
61
+
62
+ .woo-feed-mapping-input {
63
+ width: 100%; }
64
+
65
+ .requiredIn {
66
+ color: red; }
67
+
68
+ .generalInput {
69
+ width: 200px; }
70
+ .generalInput:not(.selectize-control) {
71
+ margin: 5px auto; }
72
+
73
+ .error {
74
+ color: red; }
75
+
76
+ .widefat td select, .widefat td input {
77
+ max-width: 100%; }
78
+
79
+ #wf_newRow {
80
+ margin-left: 0; }
81
+
82
+ .mtable tbody tr {
83
+ height: 25px;
84
+ border: 1px solid #CCC;
85
+ text-align: left;
86
+ -ms-flex-align: baseline;
87
+ align-items: baseline;
88
+ font-weight: bold; }
89
+
90
+ .mtable th:nth-child(1) {
91
+ width: 17px; }
92
+
93
+ .mtable th:nth-child(2) {
94
+ width: 160px; }
95
+
96
+ .mtable th:nth-child(3) {
97
+ width: 100px; }
98
+
99
+ .mtable th:nth-child(4) {
100
+ width: 100px; }
101
+
102
+ .mtable th:nth-child(5) {
103
+ width: 150px; }
104
+
105
+ .mtable th:nth-child(6) {
106
+ width: 100px; }
107
+
108
+ .mtable th:nth-child(7) {
109
+ width: 150px; }
110
+
111
+ .mtable th:nth-child(8) {
112
+ width: 90px; }
113
+
114
+ .mtable th:nth-child(9) {
115
+ width: 29px; }
116
+
117
+ .mtable2 tbody tr {
118
+ height: 25px;
119
+ border: 1px solid #CCC;
120
+ text-align: left;
121
+ -ms-flex-align: baseline;
122
+ align-items: baseline;
123
+ font-weight: bold; }
124
+
125
+ .mtable2 th:nth-child(1) {
126
+ width: 30px; }
127
+
128
+ .mtable2 th:nth-child(2) {
129
+ width: 150px; }
130
+
131
+ .mtable2 th:nth-child(3) {
132
+ width: 230px; }
133
+
134
+ .mtable2 th:nth-child(4) {
135
+ width: 220px; }
136
+
137
+ .mtable2 th:nth-child(7) {
138
+ width: 50px; }
139
+
140
+ .mtable2 th:nth-child(8) {
141
+ width: 50px; }
142
+
143
+ .mtable2 th:nth-child(9) {
144
+ width: 29px; }
145
+
146
+ .wp-admin select.wf_mattributes {
147
+ width: 150px;
148
+ left: 0;
149
+ height: 25px; }
150
+
151
+ div#wf-tab-content1 select:not([name^="output_type"]) {
152
+ width: 100%; }
153
+
154
+ div#wf-tab-content1 input {
155
+ width: 100%; }
156
+
157
+ div#wf-tab-content1 .dashicons {
158
+ vertical-align: middle; }
159
+
160
+ .wf_attributes {
161
+ width: 150px;
162
+ left: 0; }
163
+
164
+ .wf_compare {
165
+ max-width: 245px;
166
+ left: 0; }
167
+
168
+ .wf_ps {
169
+ width: 100px;
170
+ left: 0; }
171
+
172
+ .wf_sortedtable {
173
+ cursor: move; }
174
+
175
+ .sorted_table {
176
+ position: relative; }
177
+ .sorted_table .dragged {
178
+ position: absolute;
179
+ opacity: 0.8;
180
+ z-index: 9999;
181
+ background: #fff;
182
+ width: 100%;
183
+ display: table; }
184
+ .sorted_table tbody tr.placeholder td {
185
+ border: 1px dashed #2cc185;
186
+ height: 46px; }
187
+
188
+ .wfnoempty {
189
+ width: 120px; }
190
+
191
+ /*==================Tab Design=======================*/
192
+ p {
193
+ color: #222; }
194
+
195
+ .wf_tabs {
196
+ position: relative;
197
+ margin: 0 auto;
198
+ width: 100%;
199
+ list-style: none;
200
+ /*bottom: 50px;*/ }
201
+
202
+ .wf_tabs:after {
203
+ display: table;
204
+ clear: both;
205
+ content: ""; }
206
+
207
+ .wf_tabs li {
208
+ float: left;
209
+ width: 20%;
210
+ display: block;
211
+ border: 2px solid #CCC; }
212
+
213
+ .wf_tabs li > input[type="radio"][name="wf_tabs"] {
214
+ position: absolute;
215
+ top: auto;
216
+ left: -9999px; }
217
+
218
+ .wf-tab-name {
219
+ display: block;
220
+ padding: 15px;
221
+ font-size: 15px;
222
+ font-weight: bold;
223
+ line-height: 1;
224
+ background: #fff;
225
+ cursor: pointer;
226
+ position: relative;
227
+ text-align: center;
228
+ text-transform: uppercase;
229
+ color: #2CC185; }
230
+
231
+ .wf-tab-name:hover {
232
+ background: #2CC185;
233
+ color: white; }
234
+
235
+ .wf_tabs [id^="tab"]:checked + label {
236
+ background: #2CC185;
237
+ color: white; }
238
+
239
+ .wf_tabs .wf-tab-content {
240
+ z-index: 2;
241
+ display: none;
242
+ width: 100%;
243
+ font-size: 0.9rem;
244
+ position: absolute;
245
+ left: 0;
246
+ background: #fff;
247
+ border: 2px solid #CCC; }
248
+
249
+ .wf_tabs [id^="tab"]:checked ~ [id^="wf-tab-content"] {
250
+ display: block; }
251
+
252
+ [id^="wf-tab-content"] {
253
+ margin-bottom: 40px; }
254
+
255
+ div#wf-tab-content2 table:first-child {
256
+ padding: 10px 0; }
257
+
258
+ div#wf-tab-content2 table:first-child td:nth-child(1) {
259
+ width: 260px; }
260
+
261
+ div#wf-tab-content2 table:first-child td:nth-child(2) {
262
+ width: 260px; }
263
+
264
+ table.feed-actions tr td:last-child {
265
+ text-align: right; }
266
+
267
+ /* Selectize */
268
+ select.selectize {
269
+ display: none; }
270
+
271
+ body.no-js select.selectize {
272
+ display: block !important; }
273
+
274
+ /* fallback combat */
275
+ .selectize-dropdown .active {
276
+ background-color: #edf9ff; }
277
+
278
+ .selectize-dropdown .create {
279
+ padding: 5px 8px; }
280
+
281
+ .wapk-selectize-item {
282
+ background: #0073aa !important;
283
+ color: #f1f1f1 !important;
284
+ font-weight: bold !important;
285
+ border-color: #0073aa !important;
286
+ padding-left: 5px;
287
+ padding-right: 5px; }
288
+
289
+ .selectize-input.full #googleTaxonomyId-selectized {
290
+ opacity: 0;
291
+ position: absolute;
292
+ left: -10000px; }
293
+
294
+ .selectize-dropdown [data-selectable].option {
295
+ cursor: default; }
296
+
297
+ .selectize-control.plugin-remove_button [data-value] .remove {
298
+ border-left: 1px solid #f1f1f1 !important; }
299
+
300
+ .selectize-dropdown .optgroup-header {
301
+ font-weight: 700;
302
+ background: #efefef;
303
+ color: #5a5a5a; }
304
+
305
+ .selectize-dropdown [data-selectable].option {
306
+ cursor: pointer; }
307
+
308
+ /* Feed active and inactive button CSS */
309
+ .wf_status_wrap label {
310
+ width: 50px;
311
+ height: 25px;
312
+ box-sizing: border-box;
313
+ border: 1px solid;
314
+ float: left;
315
+ border-radius: 100px;
316
+ position: relative;
317
+ cursor: pointer;
318
+ transition: .3s ease; }
319
+
320
+ input[class=woo_feed_status_input]:checked + label {
321
+ background: #55e868; }
322
+
323
+ input[class=woo_feed_status_input]:checked + label:before {
324
+ left: 25px; }
325
+
326
+ .wf_status_wrap label:before {
327
+ transition: .3s ease;
328
+ content: '';
329
+ width: 20px;
330
+ height: 20px;
331
+ position: absolute;
332
+ background: white;
333
+ left: 2px;
334
+ top: 2px;
335
+ box-sizing: border-box;
336
+ border: 1px solid;
337
+ color: black;
338
+ border-radius: 100px; }
339
+
340
+ /* list table style */
341
+ .widefat td.column-url, .widefat th.column-url,
342
+ .column-url {
343
+ color: #008779;
344
+ font-weight: bold; }
345
+
346
+ /** Feed Progress **/
347
+ .feed-progress-container {
348
+ width: 100%;
349
+ color: white;
350
+ text-align: center;
351
+ font-weight: 300; }
352
+
353
+ .feed-progress-bar {
354
+ width: 100%;
355
+ background: #eee;
356
+ padding: 3px;
357
+ border-radius: 3px;
358
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); }
359
+
360
+ .feed-progress-bar-fill {
361
+ height: 20px;
362
+ display: block;
363
+ background: #3DC264;
364
+ width: 0;
365
+ border-radius: 3px;
366
+ transition: width 0.8s ease; }
367
+
368
+ .feed-progress-status {
369
+ float: left;
370
+ font-weight: bold;
371
+ color: darkblue; }
372
+
373
+ .feed-progress-percentage {
374
+ text-align: right;
375
+ font-weight: bolder;
376
+ color: #41f49d;
377
+ font-family: 'Arial Black', sans-serif;
378
+ font-size: large; }
379
+
380
+ #wpbody-content.woofeed-body-content {
381
+ overflow: visible !important; }
382
+
383
+ .clippy {
384
+ position: relative;
385
+ width: 13px;
386
+ margin-top: -3px;
387
+ margin-left: 3px;
388
+ top: 3px; }
389
+
390
+ .column-url .clippy {
391
+ display: none; }
392
+
393
+ .column-url:hover .clippy {
394
+ display: inline-block; }
395
+
396
  /**
397
  * Primer Tooltip
398
+ */
399
+ .tooltipped {
400
+ position: relative; }
401
+ .tooltipped:after {
402
+ position: absolute;
403
+ z-index: 1000000;
404
+ display: none;
405
+ padding: 5px 8px;
406
+ font: normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
407
+ color: #fff;
408
+ text-align: center;
409
+ text-decoration: none;
410
+ text-shadow: none;
411
+ text-transform: none;
412
+ letter-spacing: normal;
413
+ word-wrap: break-word;
414
+ white-space: pre;
415
+ pointer-events: none;
416
+ content: attr(aria-label);
417
+ background: rgba(0, 0, 0, 0.8);
418
+ border-radius: 3px;
419
+ -webkit-font-smoothing: subpixel-antialiased; }
420
+ .tooltipped:before {
421
+ position: absolute;
422
+ z-index: 1000001;
423
+ display: none;
424
+ width: 0;
425
+ height: 0;
426
+ color: rgba(0, 0, 0, 0.8);
427
+ pointer-events: none;
428
+ content: "";
429
+ border: 5px solid transparent; }
430
+ .tooltipped:hover:before {
431
+ display: inline-block;
432
+ text-decoration: none; }
433
+ .tooltipped:hover:after {
434
+ display: inline-block;
435
+ text-decoration: none; }
436
+ .tooltipped:active:before {
437
+ display: inline-block;
438
+ text-decoration: none; }
439
+ .tooltipped:active:after {
440
+ display: inline-block;
441
+ text-decoration: none; }
442
+ .tooltipped:focus:before {
443
+ display: inline-block;
444
+ text-decoration: none; }
445
+ .tooltipped:focus:after {
446
+ display: inline-block;
447
+ text-decoration: none; }
448
+ .tooltipped-multiline:hover:after {
449
+ display: table-cell; }
450
+ .tooltipped-multiline:active:after {
451
+ display: table-cell; }
452
+ .tooltipped-multiline:focus:after {
453
+ display: table-cell; }
454
+ .tooltipped-multiline:after {
455
+ width: -webkit-max-content;
456
+ width: -moz-max-content;
457
+ width: max-content;
458
+ max-width: 250px;
459
+ word-break: break-word;
460
+ word-wrap: normal;
461
+ white-space: pre-line;
462
+ border-collapse: separate; }
463
+ .tooltipped-s:after {
464
+ top: 100%;
465
+ right: 50%;
466
+ margin-top: 5px;
467
+ -webkit-transform: translateX(50%);
468
+ transform: translateX(50%); }
469
+ .tooltipped-s:before {
470
+ top: auto;
471
+ right: 50%;
472
+ bottom: -5px;
473
+ margin-right: -5px;
474
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
475
+ .tooltipped-se:after {
476
+ top: 100%;
477
+ margin-top: 5px;
478
+ right: auto;
479
+ left: 50%;
480
+ margin-left: -15px; }
481
+ .tooltipped-se:before {
482
+ top: auto;
483
+ right: 50%;
484
+ bottom: -5px;
485
+ margin-right: -5px;
486
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
487
+ .tooltipped-sw:after {
488
+ top: 100%;
489
+ right: 50%;
490
+ margin-top: 5px;
491
+ margin-right: -15px; }
492
+ .tooltipped-sw:before {
493
+ top: auto;
494
+ right: 50%;
495
+ bottom: -5px;
496
+ margin-right: -5px;
497
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
498
+ .tooltipped-n:after {
499
+ right: 50%;
500
+ bottom: 100%;
501
+ margin-bottom: 5px;
502
+ -webkit-transform: translateX(50%);
503
+ transform: translateX(50%); }
504
+ .tooltipped-n:before {
505
+ top: -5px;
506
+ right: 50%;
507
+ bottom: auto;
508
+ margin-right: -5px;
509
+ border-top-color: rgba(0, 0, 0, 0.8); }
510
+ .tooltipped-ne:after {
511
+ bottom: 100%;
512
+ margin-bottom: 5px;
513
+ right: auto;
514
+ left: 50%;
515
+ margin-left: -15px; }
516
+ .tooltipped-ne:before {
517
+ top: -5px;
518
+ right: 50%;
519
+ bottom: auto;
520
+ margin-right: -5px;
521
+ border-top-color: rgba(0, 0, 0, 0.8); }
522
+ .tooltipped-nw:after {
523
+ right: 50%;
524
+ bottom: 100%;
525
+ margin-bottom: 5px;
526
+ margin-right: -15px; }
527
+ .tooltipped-nw:before {
528
+ top: -5px;
529
+ right: 50%;
530
+ bottom: auto;
531
+ margin-right: -5px;
532
+ border-top-color: rgba(0, 0, 0, 0.8); }
533
+ .tooltipped-w:after {
534
+ right: 100%;
535
+ bottom: 50%;
536
+ margin-right: 5px;
537
+ -webkit-transform: translateY(50%);
538
+ transform: translateY(50%); }
539
+ .tooltipped-w:before {
540
+ top: 50%;
541
+ bottom: 50%;
542
+ left: -5px;
543
+ margin-top: -5px;
544
+ border-left-color: rgba(0, 0, 0, 0.8); }
545
+ .tooltipped-e:after {
546
+ bottom: 50%;
547
+ left: 100%;
548
+ margin-left: 5px;
549
+ -webkit-transform: translateY(50%);
550
+ transform: translateY(50%); }
551
+ .tooltipped-e:before {
552
+ top: 50%;
553
+ right: -5px;
554
+ bottom: 50%;
555
+ margin-top: -5px;
556
+ border-right-color: rgba(0, 0, 0, 0.8); }
557
+ .tooltipped-multiline.tooltipped-s:after {
558
+ right: auto;
559
+ left: 50%;
560
+ -webkit-transform: translateX(-50%);
561
+ transform: translateX(-50%); }
562
+ .tooltipped-multiline.tooltipped-n:after {
563
+ right: auto;
564
+ left: 50%;
565
+ -webkit-transform: translateX(-50%);
566
+ transform: translateX(-50%); }
567
+ .tooltipped-multiline.tooltipped-w:after {
568
+ right: 100%; }
569
+ .tooltipped-multiline.tooltipped-e:after {
570
+ right: 100%; }
571
+ .tooltipped-sticky:before {
572
+ display: inline-block; }
573
+ .tooltipped-sticky:after {
574
+ display: inline-block; }
575
+ .tooltipped-sticky.tooltipped-multiline:after {
576
+ display: table-cell; }
577
+
578
+ .fullscreen-overlay-enabled.dark-theme .tooltipped:after {
579
+ color: #000;
580
+ background: rgba(255, 255, 255, 0.8); }
581
+
582
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before {
583
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
584
+
585
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before {
586
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
587
+
588
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
589
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
590
+
591
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before {
592
+ border-top-color: rgba(255, 255, 255, 0.8); }
593
+
594
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before {
595
+ border-top-color: rgba(255, 255, 255, 0.8); }
596
+
597
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
598
+ border-top-color: rgba(255, 255, 255, 0.8); }
599
+
600
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
601
+ border-right-color: rgba(255, 255, 255, 0.8); }
602
+
603
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
604
+ border-left-color: rgba(255, 255, 255, 0.8); }
605
+
606
+ @media screen and (min-width: 0\0) {
607
+ .tooltipped-multiline:after {
608
+ width: 250px; } }
609
+
610
+ ul.tracker_collection_list {
611
+ list-style: initial;
612
+ padding: initial;
613
+ margin: -10px 0 0 30px;
614
+ font-size: 11px !important; }
615
+ ul.tracker_collection_list li {
616
+ margin: 0; }
617
+
618
+ /** Info Message Table **/
619
+ table.wf-info-table, table.wf-rate-table {
620
+ vertical-align: middle;
621
+ text-align: center;
622
+ max-width: 100%;
623
+ font-weight: 500; }
624
+ table.wf-info-table th, table.wf-rate-table th {
625
+ text-align: center; }
626
+ table.wf-info-table strong, table.wf-rate-table strong {
627
+ font-weight: bold; }
628
+
629
+ table.wf-info-table th:first-child img {
630
+ margin: 0 0 -5px 5px; }
631
+
632
+ table.wf-rate-table a {
633
+ color: #0073aa; }
634
+
635
+ table.wf-rate-table a.review-star:after {
636
+ content: "\f155\f155\f155\f155\f155" !important;
637
+ font-family: dashicons;
638
+ font-size: 10px;
639
+ font-weight: 100;
640
+ text-rendering: auto;
641
+ -webkit-font-smoothing: antialiased;
642
+ -moz-osx-font-smoothing: grayscale;
643
+ color: #0073aa;
644
+ text-decoration: underline; }
645
+
646
+ /** Admin Menu Icon **/
647
+ #adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before {
648
+ content: "";
649
+ background: url(../images/woo-feed-icon.svg) no-repeat center center;
650
+ background-size: 20px 20px;
651
+ opacity: 0.6;
652
+ filter: alpha(opacity=60); }
653
+
654
+ #adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before {
655
+ opacity: 1;
656
+ filter: alpha(opacity=100); }
657
+
658
+ #adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before {
659
+ opacity: 1;
660
+ filter: alpha(opacity=100); }
661
+
662
+ /** Admin Page Wrapper **/
663
+ .wapk-admin, .wapk-admin * {
664
+ box-sizing: border-box; }
665
+
666
+ .wapk-admin {
667
+ position: relative;
668
+ display: block;
669
+ -webkit-hyphens: manual;
670
+ -ms-hyphens: manual;
671
+ -moz-hyphens: manual;
672
+ hyphens: manual;
673
+ color: #1B2730;
674
+ /* reset .warp margin to use full width except menu area */
675
+ margin: 0 0 0 -10px; }
676
+
677
+ @media screen and (min-width: 783px) {
678
+ .wapk-admin {
679
+ margin: 0 0 0 -20px; } }
680
+
681
+ .text-center {
682
+ text-align: center; }
683
+
684
+ .wapk-admin h1, .wapk-admin h2, .wapk-admin h3,
685
+ .wapk-admin h4, .wapk-admin h5, .wapk-admin h6,
686
+ .wapk-admin p {
687
+ color: #1B2730; }
688
+
689
+ .wapk-admin sup {
690
+ vertical-align: baseline;
691
+ position: relative;
692
+ top: -6px; }
693
+
694
+ .wapk-admin sub {
695
+ vertical-align: baseline;
696
+ position: relative;
697
+ top: 4px; }
698
+
699
+ /* WP.Core.UI Compat */
700
+ .wapk-admin .wapk-section {
701
+ margin: 10px 20px 0 22px;
702
+ position: relative;
703
+ display: block; }
704
+ .wapk-admin .wapk-section [class$=icon32] + h2 {
705
+ font-size: 23px;
706
+ font-weight: 400;
707
+ margin: 0;
708
+ padding: 9px 0 4px 0;
709
+ line-height: 1.3; }
710
+ .wapk-admin .wapk-section h1 {
711
+ font-size: 23px;
712
+ font-weight: 400;
713
+ margin: 0;
714
+ padding: 9px 0 4px 0;
715
+ line-height: 1.3; }
716
+ .wapk-admin .wapk-section > h2:first-child {
717
+ font-size: 23px;
718
+ font-weight: 400;
719
+ margin: 0;
720
+ padding: 9px 0 4px 0;
721
+ line-height: 1.3; }
722
+
723
+ .wapk-admin > .notice {
724
+ margin: 10px 20px 0 22px;
725
+ position: relative;
726
+ display: block; }
727
+
728
+ .wapk-admin span.help {
729
+ display: block;
730
+ float: left;
731
+ width: 100%;
732
+ font-size: 0.9em;
733
+ color: #636363;
734
+ margin-top: 5px;
735
+ font-weight: 500; }
736
+ .wapk-admin span.help .dashicons {
737
+ width: 11px;
738
+ height: 12px;
739
+ font-size: inherit;
740
+ vertical-align: middle; }
741
+
742
+ .clear:after {
743
+ content: "";
744
+ display: table;
745
+ clear: both; }
746
+
747
+ /*.wapk-admin .help a { color: inherit; text-decoration: underline; }*/
748
+ /** Extend WP Core UI PostBox For Docs **/
749
+ .wapk-feed-docs .postbox {
750
+ width: 355px;
751
+ margin-right: 20px;
752
+ display: inline-block;
753
+ vertical-align: top; }
754
+ .wapk-feed-docs .postbox .hndle {
755
+ font-size: 14px;
756
+ padding: 8px 12px;
757
+ margin: 0;
758
+ line-height: 1.4;
759
+ cursor: pointer; }
760
+ .wapk-feed-docs .postbox .dashicons {
761
+ color: #ccc; }
762
+ .wapk-feed-docs .postbox a {
763
+ text-decoration: none; }
764
+ .wapk-feed-docs .postbox .inside {
765
+ margin-bottom: 0; }
766
+ .wapk-feed-docs .postbox ul {
767
+ margin-bottom: 0; }
768
+ .wapk-feed-docs .postbox .toggle-indicator:before {
769
+ content: "\F142";
770
+ display: inline-block;
771
+ font: 400 20px/1 dashicons;
772
+ speak: none;
773
+ -webkit-font-smoothing: antialiased;
774
+ -moz-osx-font-smoothing: grayscale;
775
+ text-decoration: none !important; }
776
+ .wapk-feed-docs .postbox li {
777
+ width: 100%;
778
+ display: block;
779
+ float: left; }
780
+ .wapk-feed-docs .postbox li span {
781
+ display: inline-block;
782
+ float: left;
783
+ margin-right: 4px; }
784
+ .wapk-feed-docs .postbox li a {
785
+ display: inline-block;
786
+ float: left;
787
+ width: calc(100% - 24px); }
788
+
789
+ .wapk-feed-docs .postbox.closed .toggle-indicator:before {
790
+ content: "\F140"; }
791
+
792
+ .wapk-section #post-body.columns-2 #side-sortables {
793
+ min-height: 196px; }
794
+
795
+ #poststuff #feed_merchant_info .inside {
796
+ margin: 0;
797
+ padding: 0; }
798
+
799
+ #feed_merchant_info ul.data {
800
+ margin-left: 24px;
801
+ margin-top: 5px; }
802
+ #feed_merchant_info ul.data li {
803
+ margin-bottom: 5px; }
804
+
805
+ .merchant-info-section {
806
+ padding: 6px 10px 8px; }
807
+
808
+ .generateFeed .wf-tab-content table:first-child {
809
+ border: none;
810
+ box-shadow: none; }
811
+
812
+ .generateFeed table th {
813
+ font-weight: bold; }
814
+
815
+ @media only screen and (max-width: 850px) {
816
+ .wapk-feed-docs .postbox {
817
+ display: block;
818
+ width: auto;
819
+ float: none;
820
+ margin-right: auto; } }
821
+
822
+ /** Admin Feed Help Docs **/
823
+ .wp-submenu li span.woo-feed-docs {
824
+ font-weight: bold;
825
+ color: #f18500; }
826
+
827
+ .wp-submenu li:hover span.woo-feed-docs {
828
+ color: #ce7304; }
829
+
830
+ .wp-submenu li.current span.woo-feed-docs {
831
+ color: #ce7304; }
832
+
833
+ .wapk-admin .wapk-feed-docs .postbox .hndle {
834
+ cursor: default; }
835
+
836
+ /** Admin Call-To-Action **/
837
+ .wapk-cta {
838
+ position: relative;
839
+ display: -ms-flexbox;
840
+ display: flex;
841
+ width: 100%;
842
+ padding: 100px 15px;
843
+ background: linear-gradient(45deg, #6CD5FF 33%, #c2efef 100%);
844
+ -ms-flex-pack: center;
845
+ justify-content: center;
846
+ -ms-flex-align: center;
847
+ align-items: center; }
848
+ .wapk-cta-icon .dashicons {
849
+ font-size: 100px;
850
+ width: 100px;
851
+ height: auto;
852
+ margin: 0 10px -8px 0;
853
+ color: #02658c; }
854
+ .wapk-cta-content {
855
+ width: 50%; }
856
+ .wapk-cta-content h2 {
857
+ font-size: 2em;
858
+ margin: 0.5em 0; }
859
+ .wapk-cta-action a.wapk-button {
860
+ font-size: 24px;
861
+ height: auto !important;
862
+ padding: 10px 20px; }
863
+
864
+ @media (max-width: 600px) {
865
+ .wapk-cta {
866
+ display: block;
867
+ text-align: center;
868
+ padding: 4em 0; }
869
+ .wapk-cta-content {
870
+ width: 100%;
871
+ margin: 2em 0; } }
872
+
873
+ /** Override .wp-core-ui .wapk-button styles with prefix .wapk-admin **/
874
+ /* Button Skin */
875
+ .wapk-button {
876
+ color: #00D4D4;
877
+ border-color: #00D4D4;
878
+ display: inline-block;
879
+ text-decoration: none;
880
+ font-size: 13px;
881
+ line-height: 2.15384615;
882
+ min-height: 30px;
883
+ margin: 0;
884
+ padding: 0 10px;
885
+ cursor: pointer;
886
+ border-width: 1px;
887
+ border-style: solid;
888
+ -webkit-appearance: none;
889
+ border-radius: 3px;
890
+ white-space: nowrap;
891
+ box-sizing: border-box; }
892
+ .wapk-button > svg {
893
+ width: 15px;
894
+ margin-left: 5px;
895
+ fill: #00D4D4; }
896
+ .wapk-button > .dashicons {
897
+ color: #00D4D4; }
898
+ .wapk-button:hover {
899
+ border-color: #00bbbb;
900
+ color: #00bbbb; }
901
+ .wapk-button:hover > svg {
902
+ fill: #00bbbb; }
903
+ .wapk-button:hover > .dashicons {
904
+ color: #00bbbb; }
905
+ .wapk-button:focus {
906
+ border-color: #00D4D4;
907
+ color: #00bbbb;
908
+ box-shadow: 0 0 0 1px #00D4D4; }
909
+ .wapk-button:focus > svg {
910
+ fill: #00bbbb; }
911
+ .wapk-button:focus > .dashicons {
912
+ color: #00bbbb; }
913
+ .wapk-button:active {
914
+ background: #00bbbb;
915
+ border-color: #00bbbb; }
916
+ .wapk-button-secondary {
917
+ color: #00D4D4;
918
+ border-color: #00D4D4;
919
+ display: inline-block;
920
+ text-decoration: none;
921
+ font-size: 13px;
922
+ line-height: 2.15384615;
923
+ min-height: 30px;
924
+ margin: 0;
925
+ padding: 0 10px;
926
+ cursor: pointer;
927
+ border-width: 1px;
928
+ border-style: solid;
929
+ -webkit-appearance: none;
930
+ border-radius: 3px;
931
+ white-space: nowrap;
932
+ box-sizing: border-box; }
933
+ .wapk-button-secondary > svg {
934
+ width: 15px;
935
+ margin-left: 5px;
936
+ fill: #00D4D4; }
937
+ .wapk-button-secondary > .dashicons {
938
+ color: #00D4D4; }
939
+ .wapk-button-secondary:hover {
940
+ border-color: #00bbbb;
941
+ color: #00bbbb; }
942
+ .wapk-button-secondary:hover > svg {
943
+ fill: #00bbbb; }
944
+ .wapk-button-secondary:hover > .dashicons {
945
+ color: #00bbbb; }
946
+ .wapk-button-secondary:focus {
947
+ border-color: #00D4D4;
948
+ color: #00bbbb;
949
+ box-shadow: 0 0 0 1px #00D4D4; }
950
+ .wapk-button-secondary:focus > svg {
951
+ fill: #00bbbb; }
952
+ .wapk-button-secondary:focus > .dashicons {
953
+ color: #00bbbb; }
954
+ .wapk-button-primary {
955
+ display: inline-block;
956
+ text-decoration: none;
957
+ font-size: 13px;
958
+ line-height: 2.15384615;
959
+ min-height: 30px;
960
+ margin: 0;
961
+ padding: 0 10px;
962
+ cursor: pointer;
963
+ border-width: 1px;
964
+ border-style: solid;
965
+ -webkit-appearance: none;
966
+ border-radius: 3px;
967
+ white-space: nowrap;
968
+ box-sizing: border-box;
969
+ background: #00D4D4;
970
+ border-color: #00D4D4;
971
+ color: #fff;
972
+ box-shadow: 0 1px 0 #00bbbb;
973
+ text-shadow: 0 -1px 1px #00bbbb, 1px 0 1px #00bbbb, 0 1px 1px #00bbbb, -1px 0 1px #00bbbb; }
974
+ .wapk-button-primary > svg {
975
+ fill: #fff; }
976
+ .wapk-button-primary:hover {
977
+ background: #00e3e3;
978
+ border-color: #00c5c5;
979
+ color: #fff; }
980
+ .wapk-button-primary:hover > svg {
981
+ fill: #fff; }
982
+ .wapk-button-primary:focus {
983
+ background: #00e3e3;
984
+ border-color: #00c5c5;
985
+ color: #fff;
986
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00D4D4; }
987
+ .wapk-button-primary:focus > svg {
988
+ fill: #fff; }
989
+ .wapk-button-primary:active {
990
+ background: #00bbbb;
991
+ border-color: #00bbbb;
992
+ color: #fff; }
993
+ .wapk-button-primary:active > svg {
994
+ fill: #fff; }
995
+ .wapk-button-primary:disabled {
996
+ color: #c7d1d1 !important;
997
+ background: #22ffff !important;
998
+ border-color: #22ffff !important;
999
+ text-shadow: none !important; }
1000
+ .wapk-button-primary:disabled > svg {
1001
+ fill: #c7d1d1 !important; }
1002
+ .wapk-button.hover {
1003
+ border-color: #00bbbb;
1004
+ color: #00bbbb; }
1005
+ .wapk-button.hover > svg {
1006
+ fill: #00bbbb; }
1007
+ .wapk-button.hover > .dashicons {
1008
+ color: #00bbbb; }
1009
+ .wapk-button.focus {
1010
+ border-color: #00D4D4;
1011
+ color: #00bbbb;
1012
+ box-shadow: 0 0 0 1px #00D4D4; }
1013
+ .wapk-button.focus > svg {
1014
+ fill: #00bbbb; }
1015
+ .wapk-button.focus > .dashicons {
1016
+ color: #00bbbb; }
1017
+ .wapk-button.active {
1018
+ border-color: #00bbbb;
1019
+ color: #00bbbb;
1020
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1021
+ .wapk-button.active:focus {
1022
+ border-color: #00bbbb;
1023
+ color: #00bbbb;
1024
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1025
+ .wapk-button.active:focus > svg {
1026
+ fill: #00bbbb; }
1027
+ .wapk-button.active:focus > .dashicons {
1028
+ color: #00bbbb; }
1029
+ .wapk-button.active:hover {
1030
+ border-color: #00bbbb;
1031
+ color: #00bbbb;
1032
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1033
+ .wapk-button.active:hover > svg {
1034
+ fill: #00bbbb; }
1035
+ .wapk-button.active:hover > .dashicons {
1036
+ color: #00bbbb; }
1037
+ .wapk-button.active > svg {
1038
+ fill: #00bbbb; }
1039
+ .wapk-button.active > .dashicons {
1040
+ color: #00bbbb; }
1041
+ .wapk-button-primary.active {
1042
+ background: #00D4D4;
1043
+ color: #fff;
1044
+ border-color: #008888;
1045
+ box-shadow: inset 0 2px 5px -3px black; }
1046
+ .wapk-button-primary.active:focus {
1047
+ background: #00D4D4;
1048
+ color: #fff;
1049
+ border-color: #008888;
1050
+ box-shadow: inset 0 2px 5px -3px black; }
1051
+ .wapk-button-primary.active:focus > svg {
1052
+ fill: #fff; }
1053
+ .wapk-button-primary.active:hover {
1054
+ background: #00D4D4;
1055
+ color: #fff;
1056
+ border-color: #008888;
1057
+ box-shadow: inset 0 2px 5px -3px black; }
1058
+ .wapk-button-primary.active:hover > svg {
1059
+ fill: #fff; }
1060
+ .wapk-button-primary.active > svg {
1061
+ fill: #fff; }
1062
+ .wapk-button-primary[disabled] {
1063
+ color: #c7d1d1 !important;
1064
+ background: #22ffff !important;
1065
+ border-color: #22ffff !important;
1066
+ text-shadow: none !important; }
1067
+ .wapk-button-primary[disabled] > svg {
1068
+ fill: #c7d1d1 !important; }
1069
+ .wapk-button-primary.wapk-button-primary-disabled {
1070
+ color: #c7d1d1 !important;
1071
+ background: #22ffff !important;
1072
+ border-color: #22ffff !important;
1073
+ text-shadow: none !important; }
1074
+ .wapk-button-primary.wapk-button-primary-disabled > svg {
1075
+ fill: #c7d1d1 !important; }
1076
+ .wapk-button-primary.disabled {
1077
+ color: #c7d1d1 !important;
1078
+ background: #22ffff !important;
1079
+ border-color: #22ffff !important;
1080
+ text-shadow: none !important; }
1081
+ .wapk-button-primary.disabled > svg {
1082
+ fill: #c7d1d1 !important; }
1083
+ .wapk-button-primary.wapk-button-hero {
1084
+ box-shadow: 0 2px 0 #00bbbb; }
1085
+ .wapk-button-primary.wapk-button-hero:focus {
1086
+ box-shadow: 0 2px 0 #00bbbb, 0 1px 0 #00c5c5, 0 0 2px 1px #00eeee; }
1087
+ .wapk-button-primary.wapk-button-hero:active {
1088
+ box-shadow: inset 0 3px 0 #00a1a1; }
1089
+ .wapk-button-primary.wapk-button-hero.active {
1090
+ box-shadow: inset 0 3px 0 #00a1a1; }
1091
+ .wapk-button-primary.wapk-button-hero.active:hover, .wapk-button-primary.wapk-button-hero.active:focus {
1092
+ box-shadow: inset 0 3px 0 #00a1a1; }
1093
+ .wapk-button-group > .wapk-button.active {
1094
+ border-color: #00D4D4; }
1095
+
1096
+ /* Button Sizes */
1097
+ .wapk-button.wapk-button-xl {
1098
+ height: 30px;
1099
+ line-height: 28px;
1100
+ padding: 0 12px 2px; }
1101
+
1102
+ .wapk-button-group.wapk-button-xl .wapk-button {
1103
+ height: 30px;
1104
+ line-height: 28px;
1105
+ padding: 0 12px 2px; }
1106
+
1107
+ .wapk-button.wapk-button-hero {
1108
+ font-size: 18px;
1109
+ height: 50px;
1110
+ line-height: 48px;
1111
+ padding: 0 36px;
1112
+ min-height: 46px; }
1113
+
1114
+ .wapk-button-group.wapk-button-hero .wapk-button {
1115
+ font-size: 18px;
1116
+ height: 50px;
1117
+ line-height: 48px;
1118
+ padding: 0 36px;
1119
+ min-height: 46px; }
1120
+
1121
+ @media screen and (min-width: 782px) {
1122
+ th#status,
1123
+ th#provider {
1124
+ width: 80px; }
1125
+ th#type {
1126
+ width: 50px; }
1127
+ th#option_name {
1128
+ width: 100px; }
1129
+ td.option_name.column-option_name > span:first-child {
1130
+ display: none; }
1131
+ th#last_updated {
1132
+ width: 90px; }
1133
+ th#view {
1134
+ width: 111px; } }
1135
+
1136
+ @media screen and (min-width: 960px) {
1137
+ th#status, th#provider {
1138
+ width: 100px; }
1139
+ th#type {
1140
+ width: 80px; }
1141
+ th#option_name {
1142
+ width: 150px; }
1143
+ th#last_updated {
1144
+ width: 140px; } }
1145
+
1146
+ @media screen and (max-width: 782px) {
1147
+ table.wf-info-table {
1148
+ margin-top: 10px; }
1149
+ table.wf-info-table th:first-child img {
1150
+ margin: 0 auto;
1151
+ display: block; }
1152
+ .wapk-button.wapk-button-xl {
1153
+ padding: 6px 14px;
1154
+ line-height: normal;
1155
+ font-size: 14px;
1156
+ vertical-align: middle;
1157
+ height: auto;
1158
+ margin-bottom: 4px; } }
1159
+
1160
+ .wapk-feed-docs .wapk-feed-cta {
1161
+ margin: 0; }
1162
+
1163
+ .campaign_configurator {
1164
+ background: #FFF;
1165
+ padding: 20px 0; }
1166
+ .campaign_configurator table {
1167
+ margin: 0 auto;
1168
+ width: 51%;
1169
+ min-width: 574px;
1170
+ border: none;
1171
+ box-shadow: none; }
1172
+ .campaign_configurator th {
1173
+ min-width: 120px; }
1174
+
1175
+ @media screen and (max-width: 782px) {
1176
+ .campaign_configurator {
1177
+ padding: 0; }
1178
+ .campaign_configurator table {
1179
+ width: auto;
1180
+ min-width: auto;
1181
+ max-width: 100%; }
1182
+ .campaign_configurator th {
1183
+ min-width: auto; } }
1184
+
1185
+ #wf-tab-content-config td > input:not([type="checkbox"]):not([type="radio"]),
1186
+ #wf-tab-content-config td > select,
1187
+ #wf-tab-content-config td > textarea {
1188
+ width: 100% !important; }
1189
+
1190
+ .woo-feed-filters td > div:nth-child(2n):not(.clear):not(.selectize) {
1191
+ width: 120px;
1192
+ display: block; }
1193
+
1194
+ .woo-feed-filters td > div:not(.clear) {
1195
+ float: left;
1196
+ margin-right: 10px; }
1197
+
1198
+ .woo-feed-filters tr > td:first-child {
1199
+ width: 290px;
1200
+ padding-left: 40px; }
1201
+
1202
+ .woo-feed-filters,
1203
+ .woo-feed-ftp {
1204
+ margin: 15px auto 25px; }
1205
+
1206
+ .wf_clean_cache_wrapper {
1207
+ display: -ms-flexbox;
1208
+ display: flex;
1209
+ margin-left: auto; }
1210
+
1211
+ @-webkit-keyframes LoaderClockWise {
1212
+ from {
1213
+ -webkit-transform: rotate(0deg);
1214
+ transform: rotate(0deg); }
1215
+ to {
1216
+ -webkit-transform: rotate(360deg);
1217
+ transform: rotate(360deg); } }
1218
+
1219
+ @keyframes LoaderClockWise {
1220
+ from {
1221
+ -webkit-transform: rotate(0deg);
1222
+ transform: rotate(0deg); }
1223
+ to {
1224
+ -webkit-transform: rotate(360deg);
1225
+ transform: rotate(360deg); } }
1226
+
1227
+ .woo-feed-cache-loader {
1228
+ width: 18px;
1229
+ margin-right: 5px;
1230
+ animation: LoaderClockWise 1s linear infinite;
1231
+ -webkit-animation: LoaderClockWise 1s linear infinite;
1232
+ display: none; }
1233
+
1234
+ .woo-feed-table-heading .woo-feed-table-heading-title {
1235
+ float: left;
1236
+ margin-right: auto;
1237
+ display: inline-block;
1238
+ line-height: 30px; }
1239
+
1240
+ .woo-feed-table-heading .wf_clean_cache_wrapper {
1241
+ float: right;
1242
+ font-weight: normal; }
1243
+
1244
+ .wf_clean_cache_wrapper button {
1245
+ background: #eb4d4b;
1246
+ color: #fff;
1247
+ border: none;
1248
+ font-weight: 500;
1249
+ display: inline-block;
1250
+ text-decoration: none;
1251
+ font-size: 13px;
1252
+ line-height: 2.15384615;
1253
+ min-height: 30px;
1254
+ margin: 0;
1255
+ padding: 0 10px;
1256
+ border-radius: 3px;
1257
+ cursor: pointer;
1258
+ outline: none; }
1259
+
1260
+ .wf_clean_cache_wrapper button:hover {
1261
+ background: #ff7979;
1262
+ color: #fff; }
admin/css/woo-feed-admin.min.css CHANGED
@@ -1 +1 @@
1
- .wpf_spin{-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear}.wpf_spin.reverse_spin{animation-direction:reverse}.wpf_regenerate.disabled{color:#737373;box-shadow:none;cursor:not-allowed}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.wfbtn{background:#3498db;background-image:linear-gradient(to bottom,#3498db,#2980b9);border-radius:17px;box-shadow:0 1px 3px #666;font-family:Arial,sans-serif;color:#fff;font-size:20px;padding:10px 20px 10px 20px;border:solid #2b698f 3px;text-decoration:none}.wfbtn:hover{background:#3cb0fd;background-image:linear-gradient(to bottom,#3cb0fd,#3498db);text-decoration:none}.wftooltip{display:none;position:absolute;border:1px solid #333;background-color:#161616;border-radius:5px;padding:10px;color:#fff;font-size:12px}.feed-actions .makeFeedResponse{width:70%;color:green}.woo-feed-mapping-input{width:100%}.requiredIn{color:red}.generalInput{width:200px}.generalInput:not(.selectize-control){margin:5px auto}.error{color:red}.widefat td input,.widefat td select{max-width:100%}#wf_newRow{margin-left:0}.mtable tbody tr{height:25px;border:1px solid #ccc;text-align:left;-ms-flex-align:baseline;align-items:baseline;font-weight:700}.mtable th:nth-child(1){width:17px}.mtable th:nth-child(2){width:160px}.mtable th:nth-child(3){width:100px}.mtable th:nth-child(4){width:100px}.mtable th:nth-child(5){width:150px}.mtable th:nth-child(6){width:100px}.mtable th:nth-child(7){width:150px}.mtable th:nth-child(8){width:90px}.mtable th:nth-child(9){width:29px}.mtable2 tbody tr{height:25px;border:1px solid #ccc;text-align:left;-ms-flex-align:baseline;align-items:baseline;font-weight:700}.mtable2 th:nth-child(1){width:30px}.mtable2 th:nth-child(2){width:150px}.mtable2 th:nth-child(3){width:230px}.mtable2 th:nth-child(4){width:220px}.mtable2 th:nth-child(7){width:50px}.mtable2 th:nth-child(8){width:50px}.mtable2 th:nth-child(9){width:29px}.wp-admin select.wf_mattributes{width:150px;left:0;height:25px}div#wf-tab-content1 select:not([name^=output_type]){width:100%}div#wf-tab-content1 input{width:100%}div#wf-tab-content1 .dashicons{vertical-align:middle}.wf_attributes{width:150px;left:0}.wf_compare{max-width:245px;left:0}.wf_ps{width:100px;left:0}.wf_sortedtable{cursor:move}.sorted_table{position:relative}.sorted_table .dragged{position:absolute;opacity:.8;z-index:9999;background:#fff;width:100%;display:table}.sorted_table tbody tr.placeholder td{border:1px dashed #2cc185;height:46px}.wfnoempty{width:120px}p{color:#222}.wf_tabs{position:relative;margin:0 auto;width:100%;list-style:none}.wf_tabs:after{display:table;clear:both;content:""}.wf_tabs li{float:left;width:20%;display:block;border:2px solid #ccc}.wf_tabs li>input[type=radio][name=wf_tabs]{position:absolute;top:auto;left:-9999px}.wf-tab-name{display:block;padding:15px;font-size:15px;font-weight:700;line-height:1;background:#fff;cursor:pointer;position:relative;text-align:center;text-transform:uppercase;color:#2cc185}.wf-tab-name:hover{background:#2cc185;color:#fff}.wf_tabs [id^=tab]:checked+label{background:#2cc185;color:#fff}.wf_tabs .wf-tab-content{z-index:2;display:none;width:100%;font-size:.9rem;position:absolute;left:0;background:#fff;border:2px solid #ccc}.wf_tabs [id^=tab]:checked~[id^=wf-tab-content]{display:block}[id^=wf-tab-content]{margin-bottom:40px}div#wf-tab-content2 table:first-child{padding:10px 0}div#wf-tab-content2 table:first-child td:nth-child(1){width:260px}div#wf-tab-content2 table:first-child td:nth-child(2){width:260px}table.feed-actions tr td:last-child{text-align:right}select.selectize{display:none}body.no-js select.selectize{display:block!important}.selectize-dropdown .active{background-color:#edf9ff}.selectize-dropdown .create{padding:5px 8px}.wapk-selectize-item{background:#0073aa!important;color:#f1f1f1!important;font-weight:700!important;border-color:#0073aa!important;padding-left:5px;padding-right:5px}.selectize-input.full #googleTaxonomyId-selectized{opacity:0;position:absolute;left:-10000px}.selectize-dropdown [data-selectable].option{cursor:default}.selectize-control.plugin-remove_button [data-value] .remove{border-left:1px solid #f1f1f1!important}.selectize-dropdown .optgroup-header{font-weight:700;background:#efefef;color:#5a5a5a}.selectize-dropdown [data-selectable].option{cursor:pointer}.wf_status_wrap label{width:50px;height:25px;box-sizing:border-box;border:1px solid;float:left;border-radius:100px;position:relative;cursor:pointer;transition:.3s ease}input[class=woo_feed_status_input]:checked+label{background:#55e868}input[class=woo_feed_status_input]:checked+label:before{left:25px}.wf_status_wrap label:before{transition:.3s ease;content:'';width:20px;height:20px;position:absolute;background:#fff;left:2px;top:2px;box-sizing:border-box;border:1px solid;color:#000;border-radius:100px}.column-url,.widefat td.column-url,.widefat th.column-url{color:#008779;font-weight:700}.feed-progress-container{width:100%;color:#fff;text-align:center;font-weight:300}.feed-progress-bar{width:100%;background:#eee;padding:3px;border-radius:3px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.feed-progress-bar-fill{height:20px;display:block;background:#3dc264;width:0;border-radius:3px;transition:width .8s ease}.feed-progress-status{float:left;font-weight:700;color:#00008b}.feed-progress-percentage{text-align:right;font-weight:bolder;color:#41f49d;font-family:'Arial Black',sans-serif;font-size:large}#wpbody-content.woofeed-body-content{overflow:visible!important}.clippy{position:relative;width:13px;margin-top:-3px;margin-left:3px;top:3px}.column-url .clippy{display:none}.column-url:hover .clippy{display:inline-block}.tooltipped{position:relative}.tooltipped:after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font:normal normal 11px/1.5 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,.8);border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,.8);pointer-events:none;content:"";border:5px solid transparent}.tooltipped:hover:before{display:inline-block;text-decoration:none}.tooltipped:hover:after{display:inline-block;text-decoration:none}.tooltipped:active:before{display:inline-block;text-decoration:none}.tooltipped:active:after{display:inline-block;text-decoration:none}.tooltipped:focus:before{display:inline-block;text-decoration:none}.tooltipped:focus:after{display:inline-block;text-decoration:none}.tooltipped-multiline:hover:after{display:table-cell}.tooltipped-multiline:active:after{display:table-cell}.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-multiline:after{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate}.tooltipped-s:after{top:100%;right:50%;margin-top:5px;-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-s:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-se:after{top:100%;margin-top:5px;right:auto;left:50%;margin-left:-15px}.tooltipped-se:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-sw:after{top:100%;right:50%;margin-top:5px;margin-right:-15px}.tooltipped-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-n:after{right:50%;bottom:100%;margin-bottom:5px;-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-n:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-ne:after{bottom:100%;margin-bottom:5px;right:auto;left:50%;margin-left:-15px}.tooltipped-ne:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:5px;margin-right:-15px}.tooltipped-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.tooltipped-e:after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.tooltipped-multiline.tooltipped-s:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after{right:100%}.tooltipped-multiline.tooltipped-e:after{right:100%}.tooltipped-sticky:before{display:inline-block}.tooltipped-sticky:after{display:inline-block}.tooltipped-sticky.tooltipped-multiline:after{display:table-cell}.fullscreen-overlay-enabled.dark-theme .tooltipped:after{color:#000;background:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before{border-right-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before{border-left-color:rgba(255,255,255,.8)}@media screen and (min-width:0\0){.tooltipped-multiline:after{width:250px}}ul.tracker_collection_list{list-style:initial;padding:initial;margin:-10px 0 0 30px;font-size:11px!important}ul.tracker_collection_list li{margin:0}table.wf-info-table,table.wf-rate-table{vertical-align:middle;text-align:center;max-width:100%;font-weight:500}table.wf-info-table th,table.wf-rate-table th{text-align:center}table.wf-info-table strong,table.wf-rate-table strong{font-weight:700}table.wf-info-table th:first-child img{margin:0 0 -5px 5px}table.wf-rate-table a{color:#0073aa}table.wf-rate-table a.review-star:after{content:"\f155\f155\f155\f155\f155"!important;font-family:dashicons;font-size:10px;font-weight:100;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#0073aa;text-decoration:underline}#adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before{content:"";background:url(../images/woo-feed-icon.svg) no-repeat center center;background-size:20px 20px;opacity:.6}#adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before{opacity:1}#adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before{opacity:1}.wapk-admin,.wapk-admin *{box-sizing:border-box}.wapk-admin{position:relative;display:block;-webkit-hyphens:manual;-ms-hyphens:manual;-moz-hyphens:manual;hyphens:manual;color:#1b2730;margin:0 0 0 -10px}@media screen and (min-width:783px){.wapk-admin{margin:0 0 0 -20px}}.text-center{text-align:center}.wapk-admin h1,.wapk-admin h2,.wapk-admin h3,.wapk-admin h4,.wapk-admin h5,.wapk-admin h6,.wapk-admin p{color:#1b2730}.wapk-admin sup{vertical-align:baseline;position:relative;top:-6px}.wapk-admin sub{vertical-align:baseline;position:relative;top:4px}.wapk-admin .wapk-section{margin:10px 20px 0 22px;position:relative;display:block}.wapk-admin .wapk-section [class$=icon32]+h2{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin .wapk-section h1{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin .wapk-section>h2:first-child{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin>.notice{margin:10px 20px 0 22px;position:relative;display:block}.wapk-admin span.help{display:block;float:left;width:100%;font-size:.9em;color:#636363;margin-top:5px;font-weight:500}.wapk-admin span.help .dashicons{width:11px;height:12px;font-size:inherit;vertical-align:middle}.clear:after{content:"";display:table;clear:both}.wapk-feed-docs .postbox{width:355px;margin-right:20px;display:inline-block;vertical-align:top}.wapk-feed-docs .postbox .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;cursor:pointer}.wapk-feed-docs .postbox .dashicons{color:#ccc}.wapk-feed-docs .postbox a{text-decoration:none}.wapk-feed-docs .postbox .inside{margin-bottom:0}.wapk-feed-docs .postbox ul{margin-bottom:0}.wapk-feed-docs .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}.wapk-feed-docs .postbox li{width:100%;display:block;float:left}.wapk-feed-docs .postbox li span{display:inline-block;float:left;margin-right:4px}.wapk-feed-docs .postbox li a{display:inline-block;float:left;width:calc(100% - 24px)}.wapk-feed-docs .postbox.closed .toggle-indicator:before{content:"\F140"}.wapk-section #post-body.columns-2 #side-sortables{min-height:196px}#poststuff #feed_merchant_info .inside{margin:0;padding:0}#feed_merchant_info ul.data{margin-left:24px;margin-top:5px}#feed_merchant_info ul.data li{margin-bottom:5px}.merchant-info-section{padding:6px 10px 8px}.generateFeed .wf-tab-content table:first-child{border:none;box-shadow:none}.generateFeed table th{font-weight:700}@media only screen and (max-width:850px){.wapk-feed-docs .postbox{display:block;width:auto;float:none;margin-right:auto}}.wp-submenu li span.woo-feed-docs{font-weight:700;color:#f18500}.wp-submenu li:hover span.woo-feed-docs{color:#ce7304}.wp-submenu li.current span.woo-feed-docs{color:#ce7304}.wapk-admin .wapk-feed-docs .postbox .hndle{cursor:default}.wapk-cta{position:relative;display:-ms-flexbox;display:flex;width:100%;padding:100px 15px;background:linear-gradient(45deg,#6cd5ff 33%,#c2efef 100%);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.wapk-cta-icon .dashicons{font-size:100px;width:100px;height:auto;margin:0 10px -8px 0;color:#02658c}.wapk-cta-content{width:50%}.wapk-cta-content h2{font-size:2em;margin:.5em 0}.wapk-cta-action a.wapk-button{font-size:24px;height:auto!important;padding:10px 20px}@media (max-width:600px){.wapk-cta{display:block;text-align:center;padding:4em 0}.wapk-cta-content{width:100%;margin:2em 0}}.wapk-button{color:#00d4d4;border-color:#00d4d4;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wapk-button>svg{width:15px;margin-left:5px;fill:#00d4d4}.wapk-button>.dashicons{color:#00d4d4}.wapk-button:hover{border-color:#0bb;color:#0bb}.wapk-button:hover>svg{fill:#0bb}.wapk-button:hover>.dashicons{color:#0bb}.wapk-button:focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button:focus>svg{fill:#0bb}.wapk-button:focus>.dashicons{color:#0bb}.wapk-button:active{background:#0bb;border-color:#0bb}.wapk-button-secondary{color:#00d4d4;border-color:#00d4d4;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wapk-button-secondary>svg{width:15px;margin-left:5px;fill:#00d4d4}.wapk-button-secondary>.dashicons{color:#00d4d4}.wapk-button-secondary:hover{border-color:#0bb;color:#0bb}.wapk-button-secondary:hover>svg{fill:#0bb}.wapk-button-secondary:hover>.dashicons{color:#0bb}.wapk-button-secondary:focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button-secondary:focus>svg{fill:#0bb}.wapk-button-secondary:focus>.dashicons{color:#0bb}.wapk-button-primary{display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#00d4d4;border-color:#00d4d4;color:#fff;box-shadow:0 1px 0 #0bb;text-shadow:0 -1px 1px #0bb,1px 0 1px #0bb,0 1px 1px #0bb,-1px 0 1px #0bb}.wapk-button-primary>svg{fill:#fff}.wapk-button-primary:hover{background:#00e3e3;border-color:#00c5c5;color:#fff}.wapk-button-primary:hover>svg{fill:#fff}.wapk-button-primary:focus{background:#00e3e3;border-color:#00c5c5;color:#fff;box-shadow:0 0 0 1px #fff,0 0 0 3px #00d4d4}.wapk-button-primary:focus>svg{fill:#fff}.wapk-button-primary:active{background:#0bb;border-color:#0bb;color:#fff}.wapk-button-primary:active>svg{fill:#fff}.wapk-button-primary:disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary:disabled>svg{fill:#c7d1d1!important}.wapk-button.hover{border-color:#0bb;color:#0bb}.wapk-button.hover>svg{fill:#0bb}.wapk-button.hover>.dashicons{color:#0bb}.wapk-button.focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button.focus>svg{fill:#0bb}.wapk-button.focus>.dashicons{color:#0bb}.wapk-button.active{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:focus{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:focus>svg{fill:#0bb}.wapk-button.active:focus>.dashicons{color:#0bb}.wapk-button.active:hover{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:hover>svg{fill:#0bb}.wapk-button.active:hover>.dashicons{color:#0bb}.wapk-button.active>svg{fill:#0bb}.wapk-button.active>.dashicons{color:#0bb}.wapk-button-primary.active{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:focus{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:focus>svg{fill:#fff}.wapk-button-primary.active:hover{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:hover>svg{fill:#fff}.wapk-button-primary.active>svg{fill:#fff}.wapk-button-primary[disabled]{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary[disabled]>svg{fill:#c7d1d1!important}.wapk-button-primary.wapk-button-primary-disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary.wapk-button-primary-disabled>svg{fill:#c7d1d1!important}.wapk-button-primary.disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary.disabled>svg{fill:#c7d1d1!important}.wapk-button-primary.wapk-button-hero{box-shadow:0 2px 0 #0bb}.wapk-button-primary.wapk-button-hero:focus{box-shadow:0 2px 0 #0bb,0 1px 0 #00c5c5,0 0 2px 1px #0ee}.wapk-button-primary.wapk-button-hero:active{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-primary.wapk-button-hero.active{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-primary.wapk-button-hero.active:focus,.wapk-button-primary.wapk-button-hero.active:hover{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-group>.wapk-button.active{border-color:#00d4d4}.wapk-button.wapk-button-xl{height:30px;line-height:28px;padding:0 12px 2px}.wapk-button-group.wapk-button-xl .wapk-button{height:30px;line-height:28px;padding:0 12px 2px}.wapk-button.wapk-button-hero{font-size:18px;height:50px;line-height:48px;padding:0 36px;min-height:46px}.wapk-button-group.wapk-button-hero .wapk-button{font-size:18px;height:50px;line-height:48px;padding:0 36px;min-height:46px}@media screen and (min-width:782px){th#provider,th#status{width:80px}th#type{width:50px}th#option_name{width:100px}td.option_name.column-option_name>span:first-child{display:none}th#last_updated{width:90px}th#view{width:111px}}@media screen and (min-width:960px){th#provider,th#status{width:100px}th#type{width:80px}th#option_name{width:150px}th#last_updated{width:140px}}@media screen and (max-width:782px){table.wf-info-table{margin-top:10px}table.wf-info-table th:first-child img{margin:0 auto;display:block}.wapk-button.wapk-button-xl{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.wapk-feed-docs .wapk-feed-cta{margin:0}.campaign_configurator{background:#fff;padding:20px 0}.campaign_configurator table{margin:0 auto;width:51%;min-width:574px;border:none;box-shadow:none}.campaign_configurator th{min-width:120px}@media screen and (max-width:782px){.campaign_configurator{padding:0}.campaign_configurator table{width:auto;min-width:auto;max-width:100%}.campaign_configurator th{min-width:auto}}#wf-tab-content-config td>input:not([type=checkbox]):not([type=radio]),#wf-tab-content-config td>select,#wf-tab-content-config td>textarea{width:100%!important}.woo-feed-filters td>div:nth-child(2n):not(.clear):not(.selectize){width:120px;display:block}.woo-feed-filters td>div:not(.clear){float:left;margin-right:10px}.woo-feed-filters tr>td:first-child{width:290px;padding-left:40px}.woo-feed-filters,.woo-feed-ftp{margin:15px auto 25px}
1
+ .wpf_spin{-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear}.wpf_spin.reverse_spin{animation-direction:reverse}.wpf_regenerate.disabled{color:#737373;box-shadow:none;cursor:not-allowed}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.wfbtn{background:#3498db;background-image:linear-gradient(to bottom,#3498db,#2980b9);border-radius:17px;box-shadow:0 1px 3px #666;font-family:Arial,sans-serif;color:#fff;font-size:20px;padding:10px 20px 10px 20px;border:solid #2b698f 3px;text-decoration:none}.wfbtn:hover{background:#3cb0fd;background-image:linear-gradient(to bottom,#3cb0fd,#3498db);text-decoration:none}.wftooltip{display:none;position:absolute;border:1px solid #333;background-color:#161616;border-radius:5px;padding:10px;color:#fff;font-size:12px}.feed-actions .makeFeedResponse{width:70%;color:green}.woo-feed-mapping-input{width:100%}.requiredIn{color:red}.generalInput{width:200px}.generalInput:not(.selectize-control){margin:5px auto}.error{color:red}.widefat td input,.widefat td select{max-width:100%}#wf_newRow{margin-left:0}.mtable tbody tr{height:25px;border:1px solid #ccc;text-align:left;-ms-flex-align:baseline;align-items:baseline;font-weight:700}.mtable th:nth-child(1){width:17px}.mtable th:nth-child(2){width:160px}.mtable th:nth-child(3){width:100px}.mtable th:nth-child(4){width:100px}.mtable th:nth-child(5){width:150px}.mtable th:nth-child(6){width:100px}.mtable th:nth-child(7){width:150px}.mtable th:nth-child(8){width:90px}.mtable th:nth-child(9){width:29px}.mtable2 tbody tr{height:25px;border:1px solid #ccc;text-align:left;-ms-flex-align:baseline;align-items:baseline;font-weight:700}.mtable2 th:nth-child(1){width:30px}.mtable2 th:nth-child(2){width:150px}.mtable2 th:nth-child(3){width:230px}.mtable2 th:nth-child(4){width:220px}.mtable2 th:nth-child(7){width:50px}.mtable2 th:nth-child(8){width:50px}.mtable2 th:nth-child(9){width:29px}.wp-admin select.wf_mattributes{width:150px;left:0;height:25px}div#wf-tab-content1 select:not([name^=output_type]){width:100%}div#wf-tab-content1 input{width:100%}div#wf-tab-content1 .dashicons{vertical-align:middle}.wf_attributes{width:150px;left:0}.wf_compare{max-width:245px;left:0}.wf_ps{width:100px;left:0}.wf_sortedtable{cursor:move}.sorted_table{position:relative}.sorted_table .dragged{position:absolute;opacity:.8;z-index:9999;background:#fff;width:100%;display:table}.sorted_table tbody tr.placeholder td{border:1px dashed #2cc185;height:46px}.wfnoempty{width:120px}p{color:#222}.wf_tabs{position:relative;margin:0 auto;width:100%;list-style:none}.wf_tabs:after{display:table;clear:both;content:""}.wf_tabs li{float:left;width:20%;display:block;border:2px solid #ccc}.wf_tabs li>input[type=radio][name=wf_tabs]{position:absolute;top:auto;left:-9999px}.wf-tab-name{display:block;padding:15px;font-size:15px;font-weight:700;line-height:1;background:#fff;cursor:pointer;position:relative;text-align:center;text-transform:uppercase;color:#2cc185}.wf-tab-name:hover{background:#2cc185;color:#fff}.wf_tabs [id^=tab]:checked+label{background:#2cc185;color:#fff}.wf_tabs .wf-tab-content{z-index:2;display:none;width:100%;font-size:.9rem;position:absolute;left:0;background:#fff;border:2px solid #ccc}.wf_tabs [id^=tab]:checked~[id^=wf-tab-content]{display:block}[id^=wf-tab-content]{margin-bottom:40px}div#wf-tab-content2 table:first-child{padding:10px 0}div#wf-tab-content2 table:first-child td:nth-child(1){width:260px}div#wf-tab-content2 table:first-child td:nth-child(2){width:260px}table.feed-actions tr td:last-child{text-align:right}select.selectize{display:none}body.no-js select.selectize{display:block!important}.selectize-dropdown .active{background-color:#edf9ff}.selectize-dropdown .create{padding:5px 8px}.wapk-selectize-item{background:#0073aa!important;color:#f1f1f1!important;font-weight:700!important;border-color:#0073aa!important;padding-left:5px;padding-right:5px}.selectize-input.full #googleTaxonomyId-selectized{opacity:0;position:absolute;left:-10000px}.selectize-dropdown [data-selectable].option{cursor:default}.selectize-control.plugin-remove_button [data-value] .remove{border-left:1px solid #f1f1f1!important}.selectize-dropdown .optgroup-header{font-weight:700;background:#efefef;color:#5a5a5a}.selectize-dropdown [data-selectable].option{cursor:pointer}.wf_status_wrap label{width:50px;height:25px;box-sizing:border-box;border:1px solid;float:left;border-radius:100px;position:relative;cursor:pointer;transition:.3s ease}input[class=woo_feed_status_input]:checked+label{background:#55e868}input[class=woo_feed_status_input]:checked+label:before{left:25px}.wf_status_wrap label:before{transition:.3s ease;content:'';width:20px;height:20px;position:absolute;background:#fff;left:2px;top:2px;box-sizing:border-box;border:1px solid;color:#000;border-radius:100px}.column-url,.widefat td.column-url,.widefat th.column-url{color:#008779;font-weight:700}.feed-progress-container{width:100%;color:#fff;text-align:center;font-weight:300}.feed-progress-bar{width:100%;background:#eee;padding:3px;border-radius:3px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.feed-progress-bar-fill{height:20px;display:block;background:#3dc264;width:0;border-radius:3px;transition:width .8s ease}.feed-progress-status{float:left;font-weight:700;color:#00008b}.feed-progress-percentage{text-align:right;font-weight:bolder;color:#41f49d;font-family:'Arial Black',sans-serif;font-size:large}#wpbody-content.woofeed-body-content{overflow:visible!important}.clippy{position:relative;width:13px;margin-top:-3px;margin-left:3px;top:3px}.column-url .clippy{display:none}.column-url:hover .clippy{display:inline-block}.tooltipped{position:relative}.tooltipped:after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font:normal normal 11px/1.5 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,.8);border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,.8);pointer-events:none;content:"";border:5px solid transparent}.tooltipped:hover:before{display:inline-block;text-decoration:none}.tooltipped:hover:after{display:inline-block;text-decoration:none}.tooltipped:active:before{display:inline-block;text-decoration:none}.tooltipped:active:after{display:inline-block;text-decoration:none}.tooltipped:focus:before{display:inline-block;text-decoration:none}.tooltipped:focus:after{display:inline-block;text-decoration:none}.tooltipped-multiline:hover:after{display:table-cell}.tooltipped-multiline:active:after{display:table-cell}.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-multiline:after{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate}.tooltipped-s:after{top:100%;right:50%;margin-top:5px;-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-s:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-se:after{top:100%;margin-top:5px;right:auto;left:50%;margin-left:-15px}.tooltipped-se:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-sw:after{top:100%;right:50%;margin-top:5px;margin-right:-15px}.tooltipped-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.tooltipped-n:after{right:50%;bottom:100%;margin-bottom:5px;-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-n:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-ne:after{bottom:100%;margin-bottom:5px;right:auto;left:50%;margin-left:-15px}.tooltipped-ne:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:5px;margin-right:-15px}.tooltipped-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.tooltipped-e:after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.tooltipped-multiline.tooltipped-s:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after{right:100%}.tooltipped-multiline.tooltipped-e:after{right:100%}.tooltipped-sticky:before{display:inline-block}.tooltipped-sticky:after{display:inline-block}.tooltipped-sticky.tooltipped-multiline:after{display:table-cell}.fullscreen-overlay-enabled.dark-theme .tooltipped:after{color:#000;background:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before{border-bottom-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before{border-top-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before{border-right-color:rgba(255,255,255,.8)}.fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before{border-left-color:rgba(255,255,255,.8)}@media screen and (min-width:0\0){.tooltipped-multiline:after{width:250px}}ul.tracker_collection_list{list-style:initial;padding:initial;margin:-10px 0 0 30px;font-size:11px!important}ul.tracker_collection_list li{margin:0}table.wf-info-table,table.wf-rate-table{vertical-align:middle;text-align:center;max-width:100%;font-weight:500}table.wf-info-table th,table.wf-rate-table th{text-align:center}table.wf-info-table strong,table.wf-rate-table strong{font-weight:700}table.wf-info-table th:first-child img{margin:0 0 -5px 5px}table.wf-rate-table a{color:#0073aa}table.wf-rate-table a.review-star:after{content:"\f155\f155\f155\f155\f155"!important;font-family:dashicons;font-size:10px;font-weight:100;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#0073aa;text-decoration:underline}#adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before{content:"";background:url(../images/woo-feed-icon.svg) no-repeat center center;background-size:20px 20px;opacity:.6}#adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before{opacity:1}#adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before{opacity:1}.wapk-admin,.wapk-admin *{box-sizing:border-box}.wapk-admin{position:relative;display:block;-webkit-hyphens:manual;-ms-hyphens:manual;-moz-hyphens:manual;hyphens:manual;color:#1b2730;margin:0 0 0 -10px}@media screen and (min-width:783px){.wapk-admin{margin:0 0 0 -20px}}.text-center{text-align:center}.wapk-admin h1,.wapk-admin h2,.wapk-admin h3,.wapk-admin h4,.wapk-admin h5,.wapk-admin h6,.wapk-admin p{color:#1b2730}.wapk-admin sup{vertical-align:baseline;position:relative;top:-6px}.wapk-admin sub{vertical-align:baseline;position:relative;top:4px}.wapk-admin .wapk-section{margin:10px 20px 0 22px;position:relative;display:block}.wapk-admin .wapk-section [class$=icon32]+h2{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin .wapk-section h1{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin .wapk-section>h2:first-child{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 0;line-height:1.3}.wapk-admin>.notice{margin:10px 20px 0 22px;position:relative;display:block}.wapk-admin span.help{display:block;float:left;width:100%;font-size:.9em;color:#636363;margin-top:5px;font-weight:500}.wapk-admin span.help .dashicons{width:11px;height:12px;font-size:inherit;vertical-align:middle}.clear:after{content:"";display:table;clear:both}.wapk-feed-docs .postbox{width:355px;margin-right:20px;display:inline-block;vertical-align:top}.wapk-feed-docs .postbox .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;cursor:pointer}.wapk-feed-docs .postbox .dashicons{color:#ccc}.wapk-feed-docs .postbox a{text-decoration:none}.wapk-feed-docs .postbox .inside{margin-bottom:0}.wapk-feed-docs .postbox ul{margin-bottom:0}.wapk-feed-docs .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}.wapk-feed-docs .postbox li{width:100%;display:block;float:left}.wapk-feed-docs .postbox li span{display:inline-block;float:left;margin-right:4px}.wapk-feed-docs .postbox li a{display:inline-block;float:left;width:calc(100% - 24px)}.wapk-feed-docs .postbox.closed .toggle-indicator:before{content:"\F140"}.wapk-section #post-body.columns-2 #side-sortables{min-height:196px}#poststuff #feed_merchant_info .inside{margin:0;padding:0}#feed_merchant_info ul.data{margin-left:24px;margin-top:5px}#feed_merchant_info ul.data li{margin-bottom:5px}.merchant-info-section{padding:6px 10px 8px}.generateFeed .wf-tab-content table:first-child{border:none;box-shadow:none}.generateFeed table th{font-weight:700}@media only screen and (max-width:850px){.wapk-feed-docs .postbox{display:block;width:auto;float:none;margin-right:auto}}.wp-submenu li span.woo-feed-docs{font-weight:700;color:#f18500}.wp-submenu li:hover span.woo-feed-docs{color:#ce7304}.wp-submenu li.current span.woo-feed-docs{color:#ce7304}.wapk-admin .wapk-feed-docs .postbox .hndle{cursor:default}.wapk-cta{position:relative;display:-ms-flexbox;display:flex;width:100%;padding:100px 15px;background:linear-gradient(45deg,#6cd5ff 33%,#c2efef 100%);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.wapk-cta-icon .dashicons{font-size:100px;width:100px;height:auto;margin:0 10px -8px 0;color:#02658c}.wapk-cta-content{width:50%}.wapk-cta-content h2{font-size:2em;margin:.5em 0}.wapk-cta-action a.wapk-button{font-size:24px;height:auto!important;padding:10px 20px}@media (max-width:600px){.wapk-cta{display:block;text-align:center;padding:4em 0}.wapk-cta-content{width:100%;margin:2em 0}}.wapk-button{color:#00d4d4;border-color:#00d4d4;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wapk-button>svg{width:15px;margin-left:5px;fill:#00d4d4}.wapk-button>.dashicons{color:#00d4d4}.wapk-button:hover{border-color:#0bb;color:#0bb}.wapk-button:hover>svg{fill:#0bb}.wapk-button:hover>.dashicons{color:#0bb}.wapk-button:focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button:focus>svg{fill:#0bb}.wapk-button:focus>.dashicons{color:#0bb}.wapk-button:active{background:#0bb;border-color:#0bb}.wapk-button-secondary{color:#00d4d4;border-color:#00d4d4;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wapk-button-secondary>svg{width:15px;margin-left:5px;fill:#00d4d4}.wapk-button-secondary>.dashicons{color:#00d4d4}.wapk-button-secondary:hover{border-color:#0bb;color:#0bb}.wapk-button-secondary:hover>svg{fill:#0bb}.wapk-button-secondary:hover>.dashicons{color:#0bb}.wapk-button-secondary:focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button-secondary:focus>svg{fill:#0bb}.wapk-button-secondary:focus>.dashicons{color:#0bb}.wapk-button-primary{display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#00d4d4;border-color:#00d4d4;color:#fff;box-shadow:0 1px 0 #0bb;text-shadow:0 -1px 1px #0bb,1px 0 1px #0bb,0 1px 1px #0bb,-1px 0 1px #0bb}.wapk-button-primary>svg{fill:#fff}.wapk-button-primary:hover{background:#00e3e3;border-color:#00c5c5;color:#fff}.wapk-button-primary:hover>svg{fill:#fff}.wapk-button-primary:focus{background:#00e3e3;border-color:#00c5c5;color:#fff;box-shadow:0 0 0 1px #fff,0 0 0 3px #00d4d4}.wapk-button-primary:focus>svg{fill:#fff}.wapk-button-primary:active{background:#0bb;border-color:#0bb;color:#fff}.wapk-button-primary:active>svg{fill:#fff}.wapk-button-primary:disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary:disabled>svg{fill:#c7d1d1!important}.wapk-button.hover{border-color:#0bb;color:#0bb}.wapk-button.hover>svg{fill:#0bb}.wapk-button.hover>.dashicons{color:#0bb}.wapk-button.focus{border-color:#00d4d4;color:#0bb;box-shadow:0 0 0 1px #00d4d4}.wapk-button.focus>svg{fill:#0bb}.wapk-button.focus>.dashicons{color:#0bb}.wapk-button.active{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:focus{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:focus>svg{fill:#0bb}.wapk-button.active:focus>.dashicons{color:#0bb}.wapk-button.active:hover{border-color:#0bb;color:#0bb;box-shadow:inset 0 2px 5px -3px #0bb}.wapk-button.active:hover>svg{fill:#0bb}.wapk-button.active:hover>.dashicons{color:#0bb}.wapk-button.active>svg{fill:#0bb}.wapk-button.active>.dashicons{color:#0bb}.wapk-button-primary.active{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:focus{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:focus>svg{fill:#fff}.wapk-button-primary.active:hover{background:#00d4d4;color:#fff;border-color:#088;box-shadow:inset 0 2px 5px -3px #000}.wapk-button-primary.active:hover>svg{fill:#fff}.wapk-button-primary.active>svg{fill:#fff}.wapk-button-primary[disabled]{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary[disabled]>svg{fill:#c7d1d1!important}.wapk-button-primary.wapk-button-primary-disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary.wapk-button-primary-disabled>svg{fill:#c7d1d1!important}.wapk-button-primary.disabled{color:#c7d1d1!important;background:#2ff!important;border-color:#2ff!important;text-shadow:none!important}.wapk-button-primary.disabled>svg{fill:#c7d1d1!important}.wapk-button-primary.wapk-button-hero{box-shadow:0 2px 0 #0bb}.wapk-button-primary.wapk-button-hero:focus{box-shadow:0 2px 0 #0bb,0 1px 0 #00c5c5,0 0 2px 1px #0ee}.wapk-button-primary.wapk-button-hero:active{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-primary.wapk-button-hero.active{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-primary.wapk-button-hero.active:focus,.wapk-button-primary.wapk-button-hero.active:hover{box-shadow:inset 0 3px 0 #00a1a1}.wapk-button-group>.wapk-button.active{border-color:#00d4d4}.wapk-button.wapk-button-xl{height:30px;line-height:28px;padding:0 12px 2px}.wapk-button-group.wapk-button-xl .wapk-button{height:30px;line-height:28px;padding:0 12px 2px}.wapk-button.wapk-button-hero{font-size:18px;height:50px;line-height:48px;padding:0 36px;min-height:46px}.wapk-button-group.wapk-button-hero .wapk-button{font-size:18px;height:50px;line-height:48px;padding:0 36px;min-height:46px}@media screen and (min-width:782px){th#provider,th#status{width:80px}th#type{width:50px}th#option_name{width:100px}td.option_name.column-option_name>span:first-child{display:none}th#last_updated{width:90px}th#view{width:111px}}@media screen and (min-width:960px){th#provider,th#status{width:100px}th#type{width:80px}th#option_name{width:150px}th#last_updated{width:140px}}@media screen and (max-width:782px){table.wf-info-table{margin-top:10px}table.wf-info-table th:first-child img{margin:0 auto;display:block}.wapk-button.wapk-button-xl{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.wapk-feed-docs .wapk-feed-cta{margin:0}.campaign_configurator{background:#fff;padding:20px 0}.campaign_configurator table{margin:0 auto;width:51%;min-width:574px;border:none;box-shadow:none}.campaign_configurator th{min-width:120px}@media screen and (max-width:782px){.campaign_configurator{padding:0}.campaign_configurator table{width:auto;min-width:auto;max-width:100%}.campaign_configurator th{min-width:auto}}#wf-tab-content-config td>input:not([type=checkbox]):not([type=radio]),#wf-tab-content-config td>select,#wf-tab-content-config td>textarea{width:100%!important}.woo-feed-filters td>div:nth-child(2n):not(.clear):not(.selectize){width:120px;display:block}.woo-feed-filters td>div:not(.clear){float:left;margin-right:10px}.woo-feed-filters tr>td:first-child{width:290px;padding-left:40px}.woo-feed-filters,.woo-feed-ftp{margin:15px auto 25px}.wf_clean_cache_wrapper{display:-ms-flexbox;display:flex;margin-left:auto}@-webkit-keyframes LoaderClockWise{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes LoaderClockWise{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.woo-feed-cache-loader{width:18px;margin-right:5px;animation:LoaderClockWise 1s linear infinite;-webkit-animation:LoaderClockWise 1s linear infinite;display:none}.woo-feed-table-heading .woo-feed-table-heading-title{float:left;margin-right:auto;display:inline-block;line-height:30px}.woo-feed-table-heading .wf_clean_cache_wrapper{float:right;font-weight:400}.wf_clean_cache_wrapper button{background:#eb4d4b;color:#fff;border:none;font-weight:500;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;border-radius:3px;cursor:pointer;outline:0}.wf_clean_cache_wrapper button:hover{background:#ff7979;color:#fff}
admin/css/woo-feed-admin.scss CHANGED
@@ -1664,4 +1664,54 @@ table {
1664
  .woo-feed-ftp {
1665
  margin: 15px auto 25px;
1666
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1667
 
1664
  .woo-feed-ftp {
1665
  margin: 15px auto 25px;
1666
  }
1667
+ .wf_clean_cache_wrapper {
1668
+ display: flex;
1669
+ margin-left: auto;
1670
+ }
1671
+ @keyframes LoaderClockWise {
1672
+ from {
1673
+ transform: rotate(0deg);
1674
+ }
1675
+ to {
1676
+ transform: rotate(360deg);
1677
+ }
1678
+ }
1679
+ .woo-feed-cache-loader {
1680
+ width: 18px;
1681
+ margin-right: 5px;
1682
+ animation: LoaderClockWise 1s linear infinite;
1683
+ -webkit-animation: LoaderClockWise 1s linear infinite;
1684
+ display: none;
1685
+ }
1686
+ .woo-feed-table-heading .woo-feed-table-heading-title {
1687
+ float: left;
1688
+ margin-right: auto;
1689
+ display: inline-block;
1690
+ line-height: 30px;
1691
+ }
1692
+ .woo-feed-table-heading .wf_clean_cache_wrapper {
1693
+ float: right;
1694
+ font-weight: normal;
1695
+ }
1696
+ .wf_clean_cache_wrapper button {
1697
+ background: #eb4d4b;
1698
+ color: #fff;
1699
+ border: none;
1700
+ font-weight: 500;
1701
+ display: inline-block;
1702
+ text-decoration: none;
1703
+ font-size: 13px;
1704
+ line-height: 2.15384615;
1705
+ min-height: 30px;
1706
+ margin: 0;
1707
+ padding: 0 10px;
1708
+ border-radius: 3px;
1709
+ cursor: pointer;
1710
+ outline: none;
1711
+ }
1712
+
1713
+ .wf_clean_cache_wrapper button:hover {
1714
+ background: #ff7979;
1715
+ color: #fff;
1716
+ }
1717
 
admin/js/woo-feed-admin.js CHANGED
@@ -650,6 +650,27 @@
650
  window.location.href = $(this).attr('val');
651
  }
652
  })
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
653
  // feed value dropdown change.
654
  .on('change', '.wf_attr.wf_attributes', function(event) {
655
  event.preventDefault();
650
  window.location.href = $(this).attr('val');
651
  }
652
  })
653
+ // clear cache data.
654
+ .on('click', '.wf_clean_cache_wrapper', function(event) {
655
+ event.preventDefault();
656
+ var nonce = $('.woo-feed-clean-cache-nonce').val();
657
+ var loader = $('.woo-feed-cache-loader');
658
+
659
+ //show loader
660
+ loader.show();
661
+
662
+ // passed cache nonce
663
+ wpAjax.post('clear_cache_data', {
664
+ _ajax_clean_nonce: nonce
665
+ }).then(function (response) {
666
+ if( response.success ) {
667
+ loader.hide(); //hide loader
668
+ }
669
+ }).fail(function (e) {
670
+ console.log('something wrong');
671
+ });
672
+
673
+ })
674
  // feed value dropdown change.
675
  .on('change', '.wf_attr.wf_attributes', function(event) {
676
  event.preventDefault();
admin/js/woo-feed-admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(s,a,n,o,c){s.fn.disabled=function(n){return s(this).each(function(){var e=s(this),t="disabled";void 0!==e.prop(t)?e.prop(t,void 0===n||!0===n):!0===n?e.addClass(t):e.removeClass(t)}),self},s.fn.isDisabled=function(){var e=s(this),t="disabled";return void 0!==e.prop(t)?e.prop(t):e.hasClass(t)};function e(e){s(e.currentTarget).removeClass(function(e,t){return(t.match(/\btooltipped-\S+/g)||[]).join(" ")}).removeClass("tooltipped").removeAttr("aria-label")}function r(e,t){s(e).addClass("tooltipped tooltipped-s").attr("aria-label",t)}function i(e,t){return s.extend(!0,{},e,t)}function t(){l=s(".toClipboard"),!ClipboardJS.isSupported()||/iPhone|iPad/i.test(navigator.userAgent)?l.find("img").hide(0):(l.each(function(){s(this).on("mouseleave",e).on("blur",e)}),new ClipboardJS(".toClipboard").on("error",function(e){var t,n;r(e.trigger,(t=e.action,n="cut"===t?"X":"C",/iPhone|iPad/i.test(navigator.userAgent)?"No support :(":/Mac/i.test(navigator.userAgent)?"Press ⌘-"+n+" to "+t:"Press Ctrl-"+n+" to "+t))}).on("success",function(e){r(e.trigger,"Copied!")}))}var l,_,f={in_array:function(e,t){try{return-1!==t.indexOf(e)}catch(e){return!1}},selectize_render_item:function(e,t){return'<div class="item wapk-selectize-item">'.concat(t(e.text),"</div>")},ajax_fail:function(e){console.warn(e),alert(e.hasOwnProperty("statusText")&&e.hasOwnProperty("status")?c.ajax.error+"\n"+e.statusText+" ("+e.status+")":e)},sortable:function(e,n,a,r){return(e||s(".sorted_table")).each(function(){var e=s(this),t=e.find("tbody > tr:eq(0) > td").length||a||9;e.wf_sortable(i({containerSelector:"table",itemPath:"> tbody",itemSelector:"tr",handle:"i.wf_sortedtable",placeholder:'<tr class="placeholder"><td colspan="'.concat(t,'"></td></tr>'),onDrop:function(e,t,n,a){e.removeClass(t.group.options.draggedClass).removeAttr("style"),s("body").removeClass(t.group.options.bodyClass),r&&"function"==typeof r&&r(e,t,n,a)}},n))})},selectize:function(e,t){return(e||s("select.selectize")).not(".selectized").each(function(){var e=s(this);e.selectize(i({create:e.data("create")||!1,plugins:e.data("plugins")?e.data("plugins").split(",").map(function(e){return e.trim()}):[],render:{item:f.selectize_render_item}},t))})},fancySelect:function(e,t){return(e||s("select.fancySelect")).not(".FancySelectInit").each(function(){s(this).fancySelect(i({maxItemShow:3},t))})},reindex_config_table:function(){s("#table-1").find("tbody tr").each(function(n,e){s(e).find("[name]").each(function(e,t){s(t).attr("name",s(t).attr("name").replace(/(\[\d\])/g,"[".concat(n,"]")))})})},common:function(){f.sortable(s(".sorted_table"),{},9,f.reindex_config_table),f.selectize(),f.fancySelect(s(".outputType"))}},d={form:null,init:function(){this.form=s(".generateFeed"),this.form.length&&(f.common(),s(n).trigger(new jQuery.Event("feedEditor.init",{target:this.form})))},renderMerchantInfo:function(n,a,r){function e(e){var t;r.hasOwnProperty(e)&&(n.find(".merchant-info-section."+e+" .data").html(r[e]),"feed_file_type"===e&&((t=r[e].split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return""!==e&&e!==c.na.toLowerCase()})).length?(a.find("option").removeAttr("selected").each(function(){var e=s(this);e.val()&&!f.in_array(e.val(),t)?e.disabled(!0):e.disabled(!1)}),1===t.length&&a.find('option[value="'+t[0]+'"]').attr("selected","selected")):a.find("option").disabled(!1)))}for(var t in r)e(t);n.find(".spinner").removeClass("is-active"),a.disabled(!1),a.trigger("change"),a.parent().find(".spinner").removeClass("is-active")},renderMerchantTemplate:function(n,a){function e(t){if(a.hasOwnProperty(t))if("tabs"===t)n.html(a[t]);else{var e=s('[name="'+t+'"]');e.length&&e.each(function(){var e=s(this);e.is("select")?e.find('[value="'+a[t]+'"]').prop("selected",!0):(e.is("[type=checkbox]")||e.is("[type=radio]"))&&e.val()===a[t]?e.prop("checked",!0):e.val(a[t])}).trigger("change")}}for(var t in a)e(t);d.init()}},u=[],p=[],h=function(){function e(){_classCallCheck(this,e),this._feed=c.generator.feed,this._limit=c.generator.limit,this._progress=0,this._timer=null,this._color=!1,this._total_batch=0,this._current_batch=0,this._product_ids=[],this._progress_per_batch=0,this._refresh=!0,this._regenerate=c.generator.regenerate,a.isRegenerating=!1,this._all_btn=s(".wpf_regenerate"),this._current_btn=s("#".concat(this._feed.replace("wf_config","wf_feed_"))),this._current_btn_label=""}return _createClass(e,[{key:"init",value:function(){var t=this;return""!==this._feed&&this._regenerate&&!1===a.isRegenerating&&this.generate(),s(n).on("click",".wpf_regenerate",function(e){e.preventDefault(),t._current_btn=s(this),t._current_btn.hasClass("disabled")||!0===a.isRegenerating||(t._feed=t._current_btn.attr("id").replace("wf_feed_","wf_config"),""!==t._feed&&t.generate())}),this}},{key:"_block_button",value:function(){this._all_btn.length&&this._all_btn.addClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").addClass("wpf_spin reverse_spin"),this._current_btn_label=this._current_btn.attr("title"),this._current_btn.attr("aria-label",c.regenerate).attr("title",c.regenerate))}},{key:"_unblock_button",value:function(){this._all_btn.length&&this._all_btn.removeClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").removeClass("wpf_spin"),this._current_btn.find("span").removeClass("reverse_spin"),this._current_btn.attr("aria-label",this._current_btn_label).attr("title",this._current_btn_label))}},{key:"generate",value:function(){var t=this,n=this;a.isRegenerating=!0,this._block_button(),this._resetProgressBar(),this._progressBarActive(),this._log("Counting Total Products"),this._updateProgressStatus("Fetching products."),this._get_product_ids().then(function(e){t._progress=10,n._log({response:e}),e.success?(n._log("Total ".concat(e.total," Products found.")),n._product_ids=e.product,n._total_batch=t._product_ids.length,n._current_batch=0,n._progress_per_batch=(90-t._progress)/t._total_batch,n._process_batch(),n._updateProgressStatus("Processing Products...")):n._updateProgressStatus(e.data.message)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red",setTimeout(function(){n._stopProgressBar(),n._unblock_button()},1500)})}},{key:"_get_product_ids",value:function(){return this._progress=5,o.post("get_product_information",{_ajax_nonce:c.nonce,feed:this._feed,limit:this._limit})}},{key:"_process_batch",value:function(){var t=this,e="Processing Batch ".concat(this._current_batch+1," of ").concat(this._total_batch);this._updateProgressStatus(e),this._log(e),o.post("make_batch_feed",{_ajax_nonce:c.nonce,feed:this._feed,products:this._product_ids[this._current_batch],loop:this._current_batch}).then(function(e){t._current_batch++,t._log("Batch ".concat(t._current_batch," Completed")),t._log(e),t._current_batch<t._total_batch&&(t._process_batch(),t._progress+=t._progress_per_batch),t._current_batch===t._total_batch&&t._save_feed_file()}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_save_feed_file",value:function(){var t=this;this._log("Saving feed file"),this._updateProgressStatus("Saving feed file"),o.post("save_feed_file",{_ajax_nonce:c.nonce,feed:this._feed}).then(function(e){t._log(e),t._progress=100,t._refresh&&(a.location.href="".concat(c.pages.list.feed,"&link=").concat(e.url,"&cat=").concat(e.cat)),setTimeout(function(){t._stopProgressBar(),setTimeout(function(){t._resetProgressBar(!0),t._unblock_button()},3e3)},2500)}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_log",value:function(e){return c.wpf_debug&&console.log(e),this}},{key:"_progressBarActive",value:function(e){var t=0<arguments.length&&void 0!==e?e:0,n=this;return this._toggleProgressBar(!0),this._timer=setInterval(function(){n._updateProgressBar()},t||1e3),this}},{key:"_stopProgressBar",value:function(){return clearInterval(this._timer),this}},{key:"_resetProgressBar",value:function(e){return this._toggleProgressBar(!1),this._updateProgressStatus(""),clearInterval(this._timer),this._color=!1,this._timer=null,this._progress=0,e&&this._updateProgressBar(),this}},{key:"_toggleProgressBar",value:function(e){var t=s("#feed_progress_table");return e?t.show():t.hide(),this}},{key:"_updateProgressStatus",value:function(e){return s(".feed-progress-status").text(e),this}},{key:"_updateProgressBar",value:function(){var e=s(".feed-progress-percentage"),t=s(".feed-progress-bar-fill"),n="".concat(Math.round(this._progress),"%");t.css({width:n,background:this._color||"#3DC264"}),e.text(n)}}]),e}();a.wf={helper:f,feedEditor:d,generator:h},s(a).load(function(){null!==s(location).attr("href").match(/webappick.*feed/g)&&s("#wpbody-content").addClass("woofeed-body-content"),t(),postboxes.add_postbox_toggles(pagenow),(new h).init(),""!==c.generator.feed&&c.generator.regenerate,d.init(),f.common(),s(".wfmasterTooltip").hover(function(){var e=s(this),t=e.attr("wftitle");e.data("tipText",t).removeAttr("wftitle"),s('<p class="wftooltip"></p>').text(t).appendTo("body").fadeIn("slow")},function(){var e=s(this);e.attr("wftitle",e.data("tipText")),s(".wftooltip").remove()}).mousemove(function(e){s(".wftooltip").css({top:e.pageY+10,left:e.pageX+20})}),s(".generateFeed").validate(),s(n).on("click","[data-toggle_slide]",function(e){e.preventDefault(),s(s(this).data("toggle_slide")).slideToggle("fast")}).on("click","#wf_newRow",function(){var e=s("#table-1 tbody"),t=s("#feed_config_template").text().trim().replace(/__idx__/g,e.find("tr").length);e.append(t),f.fancySelect(s(".outputType"))}).on("click",".single-feed-delete",function(e){e.preventDefault(),confirm(c.form.del_confirm)&&(a.location.href=s(this).attr("val"))}).on("change",".wf_attr.wf_attributes",function(e){e.preventDefault(),s(".fancy-picker-picked").trigger("click");var t,n,a=s(this).val(),r=s(this).parents("tr").find(".outputType"),i=s(this).parents("tr").find(".fancy-picker-content .fancy-picker-option"),o=s(this).parents("tr").find(".fancy-picker-data span");""!==a&&-1!==a.indexOf("wf_taxo")&&(t="for_custom_taxo",n="parent_if_empty"),["price","current_price","sale_price","price_with_tax","current_price_with_tax","sale_price_with_tax"].includes(a)&&(t="for_price",n="Price"),i.removeClass("selected"),"for_custom_taxo"!==t&&"for_price"!==t||i.each(function(e){n===s(this).text()&&(s(this).addClass("selected"),o.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))})}).on("click","#doaction, #doaction2",function(){return confirm(c.form.del_confirm_multi)}).on("change",".dType",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".value_attribute").hide(),n.find(".value_pattern").show()):"attribute"===t?(n.find(".value_attribute").show(),n.find(".value_pattern").hide()):"remove"===t&&(n.find(".value_attribute").hide(),n.find(".value_pattern").hide())}).on("click",".delRow",function(e){e.preventDefault(),s(this).closest("tr").remove(),f.reindex_config_table()}).on("submit","#generateFeed",function(){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(c.form.generate,"</b>"))}).on("submit","#updatefeed",function(e,t){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(t&&t.save?c.form.save:c.form.generate,"</b>"))}).on("change",".ftporsftp",function(){var e=s(this).val(),t=s(".ssh2_status");"sftp"===e?(t.show().css("color","dodgerblue").text(c.form.sftp_checking),o.post("get_ssh2_status",{_ajax_nonce:c.nonce,server:e}).then(function(e){"exists"===e?(t.css("color","#2CC185").text(c.form.sftp_available),setTimeout(function(){t.hide()},1500)):t.show().css("color","red").text(c.form.sftp_warning)}).fail(function(e){t.hide(),f.ajax_fail(e)})):t.hide()}).on("click",'[name="save_feed_config"]',function(e){e.preventDefault(),s("#updatefeed").trigger("submit",{save:!0})}).on("change","#provider",function(e){if(e.preventDefault(),s(this).closest(".generateFeed").hasClass("add-new")){var t=s(this).val(),n=s("#feedType"),a=s("#providerPage"),r=s("#feed_merchant_info");a.html('<h3><span style="float:none;margin: -3px 0 0;" class="spinner is-active"></span> '+c.form.loading_tmpl+"</h3>"),r.find(".spinner").addClass("is-active"),n.disabled(!0),n.parent().find(".spinner").addClass("is-active"),r.find(".merchant-info-section .data").html(""),u.hasOwnProperty(t)?d.renderMerchantInfo(r,n,u[t]):o.send("woo_feed_get_merchant_info",{type:"GET",data:{nonce:c.nonce,provider:t}}).then(function(e){u[t]=e,d.renderMerchantInfo(r,n,e)}).fail(f.ajax_fail),p.hasOwnProperty(t)?d.renderMerchantTemplate(a,p[t]):o.post("get_feed_merchant",{_ajax_nonce:c.nonce,merchant:t}).then(function(e){p[t]=e,d.renderMerchantTemplate(a,e)}).fail(f.ajax_fail)}}).on("change",".woo_feed_status_input",function(){var e=s(this);o.post("update_feed_status",{_ajax_nonce:c.nonce,feedName:e.val(),status:e[0].checked?1:0})}),s(n).on("change",'[name="is_outOfStock"], [name="product_visibility"]',function(){var e=s(".out-of-stock-visibility");"n"===s('[name="is_outOfStock"]:checked').val()&&"1"===s('[name="product_visibility"]:checked').val()?e.show():e.hide()}).on("change",".attr_type",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".wf_attr").hide(),n.find(".wf_attr").val(""),n.find(".wf_default").show()):(n.find(".wf_attr").show(),n.find(".wf_default").hide(),n.find(".wf_default").val(""))}).on("change",".wf_mattributes, .attr_type",function(){var e=s(this).closest("tr"),t=e.find(".wf_mattributes"),n=e.find(".attr_type"),a=e.find("td:eq(4)"),r=s("#provider").val();if(c.form.google_category.hasOwnProperty(t.val())&&"pattern"===n.val()&&f.in_array(r,c.form.google_category[t.val()])){if(0===a.find("select.selectize").length){a.find("input.wf_default").remove(),a.append('<span class="wf_default wf_attributes"><select name="default[]" class="selectize"></select></span>'),a.append('<span style="font-size:x-small;"><a style="color: red" href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">'.concat(c.learn_more,"</a></span>")),_||a.append('<span class="spinner is-active" style="margin: 0;"></span>');var i=a.find(".wf_attributes select");f.selectize(i,{preload:!0,placeholder:c.form.select_category,load:function(e,t){_?t(_):o.send("get_google_categories",{type:"GET",data:{_ajax_nonce:c.nonce,action:"get_google_categories",provider:r}}).then(function(e){t(_=e),a.find(".spinner").remove()}).fail(f.ajax_fail)}})}}else"current_category"!==t.val()&&0===a.find("input.wf_default").length&&(a.find("span").remove(),a.append('<input autocomplete="off" class="wf_default wf_attributes" type="text" name="default[]" value="">'),"pattern"!==n.val()&&a.find("input.wf_default").hide())}).on("change","#feedType,#provider",function(){var e=s("#feedType").val(),t=s("#provider").val(),n=s(".itemWrapper"),a=s(".wf_csvtxt");""!==e&&f.in_array(t,c.form.item_wrapper_hidden)?n.hide():"xml"===e?(n.show(),a.hide()):"csv"===e||"txt"===e?(n.hide(),a.show()):(n.hide(),a.hide())}).trigger("change")})}(jQuery,window,document,wp.ajax,wpf_ajax_obj);
2
  //# sourceMappingURL=woo-feed-admin.min.js.map
1
+ "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(s,a,n,o,c){s.fn.disabled=function(n){return s(this).each(function(){var e=s(this),t="disabled";void 0!==e.prop(t)?e.prop(t,void 0===n||!0===n):!0===n?e.addClass(t):e.removeClass(t)}),self},s.fn.isDisabled=function(){var e=s(this),t="disabled";return void 0!==e.prop(t)?e.prop(t):e.hasClass(t)};function e(e){s(e.currentTarget).removeClass(function(e,t){return(t.match(/\btooltipped-\S+/g)||[]).join(" ")}).removeClass("tooltipped").removeAttr("aria-label")}function r(e,t){s(e).addClass("tooltipped tooltipped-s").attr("aria-label",t)}function i(e,t){return s.extend(!0,{},e,t)}function t(){l=s(".toClipboard"),!ClipboardJS.isSupported()||/iPhone|iPad/i.test(navigator.userAgent)?l.find("img").hide(0):(l.each(function(){s(this).on("mouseleave",e).on("blur",e)}),new ClipboardJS(".toClipboard").on("error",function(e){var t,n;r(e.trigger,(t=e.action,n="cut"===t?"X":"C",/iPhone|iPad/i.test(navigator.userAgent)?"No support :(":/Mac/i.test(navigator.userAgent)?"Press ⌘-"+n+" to "+t:"Press Ctrl-"+n+" to "+t))}).on("success",function(e){r(e.trigger,"Copied!")}))}var l,_,f={in_array:function(e,t){try{return-1!==t.indexOf(e)}catch(e){return!1}},selectize_render_item:function(e,t){return'<div class="item wapk-selectize-item">'.concat(t(e.text),"</div>")},ajax_fail:function(e){console.warn(e),alert(e.hasOwnProperty("statusText")&&e.hasOwnProperty("status")?c.ajax.error+"\n"+e.statusText+" ("+e.status+")":e)},sortable:function(e,n,a,r){return(e||s(".sorted_table")).each(function(){var e=s(this),t=e.find("tbody > tr:eq(0) > td").length||a||9;e.wf_sortable(i({containerSelector:"table",itemPath:"> tbody",itemSelector:"tr",handle:"i.wf_sortedtable",placeholder:'<tr class="placeholder"><td colspan="'.concat(t,'"></td></tr>'),onDrop:function(e,t,n,a){e.removeClass(t.group.options.draggedClass).removeAttr("style"),s("body").removeClass(t.group.options.bodyClass),r&&"function"==typeof r&&r(e,t,n,a)}},n))})},selectize:function(e,t){return(e||s("select.selectize")).not(".selectized").each(function(){var e=s(this);e.selectize(i({create:e.data("create")||!1,plugins:e.data("plugins")?e.data("plugins").split(",").map(function(e){return e.trim()}):[],render:{item:f.selectize_render_item}},t))})},fancySelect:function(e,t){return(e||s("select.fancySelect")).not(".FancySelectInit").each(function(){s(this).fancySelect(i({maxItemShow:3},t))})},reindex_config_table:function(){s("#table-1").find("tbody tr").each(function(n,e){s(e).find("[name]").each(function(e,t){s(t).attr("name",s(t).attr("name").replace(/(\[\d\])/g,"[".concat(n,"]")))})})},common:function(){f.sortable(s(".sorted_table"),{},9,f.reindex_config_table),f.selectize(),f.fancySelect(s(".outputType"))}},d={form:null,init:function(){this.form=s(".generateFeed"),this.form.length&&(f.common(),s(n).trigger(new jQuery.Event("feedEditor.init",{target:this.form})))},renderMerchantInfo:function(n,a,r){function e(e){var t;r.hasOwnProperty(e)&&(n.find(".merchant-info-section."+e+" .data").html(r[e]),"feed_file_type"===e&&((t=r[e].split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return""!==e&&e!==c.na.toLowerCase()})).length?(a.find("option").removeAttr("selected").each(function(){var e=s(this);e.val()&&!f.in_array(e.val(),t)?e.disabled(!0):e.disabled(!1)}),1===t.length&&a.find('option[value="'+t[0]+'"]').attr("selected","selected")):a.find("option").disabled(!1)))}for(var t in r)e(t);n.find(".spinner").removeClass("is-active"),a.disabled(!1),a.trigger("change"),a.parent().find(".spinner").removeClass("is-active")},renderMerchantTemplate:function(n,a){function e(t){if(a.hasOwnProperty(t))if("tabs"===t)n.html(a[t]);else{var e=s('[name="'+t+'"]');e.length&&e.each(function(){var e=s(this);e.is("select")?e.find('[value="'+a[t]+'"]').prop("selected",!0):(e.is("[type=checkbox]")||e.is("[type=radio]"))&&e.val()===a[t]?e.prop("checked",!0):e.val(a[t])}).trigger("change")}}for(var t in a)e(t);d.init()}},u=[],h=[],p=function(){function e(){_classCallCheck(this,e),this._feed=c.generator.feed,this._limit=c.generator.limit,this._progress=0,this._timer=null,this._color=!1,this._total_batch=0,this._current_batch=0,this._product_ids=[],this._progress_per_batch=0,this._refresh=!0,this._regenerate=c.generator.regenerate,a.isRegenerating=!1,this._all_btn=s(".wpf_regenerate"),this._current_btn=s("#".concat(this._feed.replace("wf_config","wf_feed_"))),this._current_btn_label=""}return _createClass(e,[{key:"init",value:function(){var t=this;return""!==this._feed&&this._regenerate&&!1===a.isRegenerating&&this.generate(),s(n).on("click",".wpf_regenerate",function(e){e.preventDefault(),t._current_btn=s(this),t._current_btn.hasClass("disabled")||!0===a.isRegenerating||(t._feed=t._current_btn.attr("id").replace("wf_feed_","wf_config"),""!==t._feed&&t.generate())}),this}},{key:"_block_button",value:function(){this._all_btn.length&&this._all_btn.addClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").addClass("wpf_spin reverse_spin"),this._current_btn_label=this._current_btn.attr("title"),this._current_btn.attr("aria-label",c.regenerate).attr("title",c.regenerate))}},{key:"_unblock_button",value:function(){this._all_btn.length&&this._all_btn.removeClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").removeClass("wpf_spin"),this._current_btn.find("span").removeClass("reverse_spin"),this._current_btn.attr("aria-label",this._current_btn_label).attr("title",this._current_btn_label))}},{key:"generate",value:function(){var t=this,n=this;a.isRegenerating=!0,this._block_button(),this._resetProgressBar(),this._progressBarActive(),this._log("Counting Total Products"),this._updateProgressStatus("Fetching products."),this._get_product_ids().then(function(e){t._progress=10,n._log({response:e}),e.success?(n._log("Total ".concat(e.total," Products found.")),n._product_ids=e.product,n._total_batch=t._product_ids.length,n._current_batch=0,n._progress_per_batch=(90-t._progress)/t._total_batch,n._process_batch(),n._updateProgressStatus("Processing Products...")):n._updateProgressStatus(e.data.message)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red",setTimeout(function(){n._stopProgressBar(),n._unblock_button()},1500)})}},{key:"_get_product_ids",value:function(){return this._progress=5,o.post("get_product_information",{_ajax_nonce:c.nonce,feed:this._feed,limit:this._limit})}},{key:"_process_batch",value:function(){var t=this,e="Processing Batch ".concat(this._current_batch+1," of ").concat(this._total_batch);this._updateProgressStatus(e),this._log(e),o.post("make_batch_feed",{_ajax_nonce:c.nonce,feed:this._feed,products:this._product_ids[this._current_batch],loop:this._current_batch}).then(function(e){t._current_batch++,t._log("Batch ".concat(t._current_batch," Completed")),t._log(e),t._current_batch<t._total_batch&&(t._process_batch(),t._progress+=t._progress_per_batch),t._current_batch===t._total_batch&&t._save_feed_file()}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_save_feed_file",value:function(){var t=this;this._log("Saving feed file"),this._updateProgressStatus("Saving feed file"),o.post("save_feed_file",{_ajax_nonce:c.nonce,feed:this._feed}).then(function(e){t._log(e),t._progress=100,t._refresh&&(a.location.href="".concat(c.pages.list.feed,"&link=").concat(e.url,"&cat=").concat(e.cat)),setTimeout(function(){t._stopProgressBar(),setTimeout(function(){t._resetProgressBar(!0),t._unblock_button()},3e3)},2500)}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_log",value:function(e){return c.wpf_debug&&console.log(e),this}},{key:"_progressBarActive",value:function(e){var t=0<arguments.length&&void 0!==e?e:0,n=this;return this._toggleProgressBar(!0),this._timer=setInterval(function(){n._updateProgressBar()},t||1e3),this}},{key:"_stopProgressBar",value:function(){return clearInterval(this._timer),this}},{key:"_resetProgressBar",value:function(e){return this._toggleProgressBar(!1),this._updateProgressStatus(""),clearInterval(this._timer),this._color=!1,this._timer=null,this._progress=0,e&&this._updateProgressBar(),this}},{key:"_toggleProgressBar",value:function(e){var t=s("#feed_progress_table");return e?t.show():t.hide(),this}},{key:"_updateProgressStatus",value:function(e){return s(".feed-progress-status").text(e),this}},{key:"_updateProgressBar",value:function(){var e=s(".feed-progress-percentage"),t=s(".feed-progress-bar-fill"),n="".concat(Math.round(this._progress),"%");t.css({width:n,background:this._color||"#3DC264"}),e.text(n)}}]),e}();a.wf={helper:f,feedEditor:d,generator:p},s(a).load(function(){null!==s(location).attr("href").match(/webappick.*feed/g)&&s("#wpbody-content").addClass("woofeed-body-content"),t(),postboxes.add_postbox_toggles(pagenow),(new p).init(),""!==c.generator.feed&&c.generator.regenerate,d.init(),f.common(),s(".wfmasterTooltip").hover(function(){var e=s(this),t=e.attr("wftitle");e.data("tipText",t).removeAttr("wftitle"),s('<p class="wftooltip"></p>').text(t).appendTo("body").fadeIn("slow")},function(){var e=s(this);e.attr("wftitle",e.data("tipText")),s(".wftooltip").remove()}).mousemove(function(e){s(".wftooltip").css({top:e.pageY+10,left:e.pageX+20})}),s(".generateFeed").validate(),s(n).on("click","[data-toggle_slide]",function(e){e.preventDefault(),s(s(this).data("toggle_slide")).slideToggle("fast")}).on("click","#wf_newRow",function(){var e=s("#table-1 tbody"),t=s("#feed_config_template").text().trim().replace(/__idx__/g,e.find("tr").length);e.append(t),f.fancySelect(s(".outputType"))}).on("click",".single-feed-delete",function(e){e.preventDefault(),confirm(c.form.del_confirm)&&(a.location.href=s(this).attr("val"))}).on("click",".wf_clean_cache_wrapper",function(e){e.preventDefault();var t=s(".woo-feed-clean-cache-nonce").val(),n=s(".woo-feed-cache-loader");n.show(),o.post("clear_cache_data",{_ajax_clean_nonce:t}).then(function(e){e.success&&n.hide()}).fail(function(e){console.log("something wrong")})}).on("change",".wf_attr.wf_attributes",function(e){e.preventDefault(),s(".fancy-picker-picked").trigger("click");var t,n,a=s(this).val(),r=s(this).parents("tr").find(".outputType"),i=s(this).parents("tr").find(".fancy-picker-content .fancy-picker-option"),o=s(this).parents("tr").find(".fancy-picker-data span");""!==a&&-1!==a.indexOf("wf_taxo")&&(t="for_custom_taxo",n="parent_if_empty"),["price","current_price","sale_price","price_with_tax","current_price_with_tax","sale_price_with_tax"].includes(a)&&(t="for_price",n="Price"),i.removeClass("selected"),"for_custom_taxo"!==t&&"for_price"!==t||i.each(function(e){n===s(this).text()&&(s(this).addClass("selected"),o.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))})}).on("click","#doaction, #doaction2",function(){return confirm(c.form.del_confirm_multi)}).on("change",".dType",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".value_attribute").hide(),n.find(".value_pattern").show()):"attribute"===t?(n.find(".value_attribute").show(),n.find(".value_pattern").hide()):"remove"===t&&(n.find(".value_attribute").hide(),n.find(".value_pattern").hide())}).on("click",".delRow",function(e){e.preventDefault(),s(this).closest("tr").remove(),f.reindex_config_table()}).on("submit","#generateFeed",function(){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(c.form.generate,"</b>"))}).on("submit","#updatefeed",function(e,t){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(t&&t.save?c.form.save:c.form.generate,"</b>"))}).on("change",".ftporsftp",function(){var e=s(this).val(),t=s(".ssh2_status");"sftp"===e?(t.show().css("color","dodgerblue").text(c.form.sftp_checking),o.post("get_ssh2_status",{_ajax_nonce:c.nonce,server:e}).then(function(e){"exists"===e?(t.css("color","#2CC185").text(c.form.sftp_available),setTimeout(function(){t.hide()},1500)):t.show().css("color","red").text(c.form.sftp_warning)}).fail(function(e){t.hide(),f.ajax_fail(e)})):t.hide()}).on("click",'[name="save_feed_config"]',function(e){e.preventDefault(),s("#updatefeed").trigger("submit",{save:!0})}).on("change","#provider",function(e){if(e.preventDefault(),s(this).closest(".generateFeed").hasClass("add-new")){var t=s(this).val(),n=s("#feedType"),a=s("#providerPage"),r=s("#feed_merchant_info");a.html('<h3><span style="float:none;margin: -3px 0 0;" class="spinner is-active"></span> '+c.form.loading_tmpl+"</h3>"),r.find(".spinner").addClass("is-active"),n.disabled(!0),n.parent().find(".spinner").addClass("is-active"),r.find(".merchant-info-section .data").html(""),u.hasOwnProperty(t)?d.renderMerchantInfo(r,n,u[t]):o.send("woo_feed_get_merchant_info",{type:"GET",data:{nonce:c.nonce,provider:t}}).then(function(e){u[t]=e,d.renderMerchantInfo(r,n,e)}).fail(f.ajax_fail),h.hasOwnProperty(t)?d.renderMerchantTemplate(a,h[t]):o.post("get_feed_merchant",{_ajax_nonce:c.nonce,merchant:t}).then(function(e){h[t]=e,d.renderMerchantTemplate(a,e)}).fail(f.ajax_fail)}}).on("change",".woo_feed_status_input",function(){var e=s(this);o.post("update_feed_status",{_ajax_nonce:c.nonce,feedName:e.val(),status:e[0].checked?1:0})}),s(n).on("change",'[name="is_outOfStock"], [name="product_visibility"]',function(){var e=s(".out-of-stock-visibility");"n"===s('[name="is_outOfStock"]:checked').val()&&"1"===s('[name="product_visibility"]:checked').val()?e.show():e.hide()}).on("change",".attr_type",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".wf_attr").hide(),n.find(".wf_attr").val(""),n.find(".wf_default").show()):(n.find(".wf_attr").show(),n.find(".wf_default").hide(),n.find(".wf_default").val(""))}).on("change",".wf_mattributes, .attr_type",function(){var e=s(this).closest("tr"),t=e.find(".wf_mattributes"),n=e.find(".attr_type"),a=e.find("td:eq(4)"),r=s("#provider").val();if(c.form.google_category.hasOwnProperty(t.val())&&"pattern"===n.val()&&f.in_array(r,c.form.google_category[t.val()])){if(0===a.find("select.selectize").length){a.find("input.wf_default").remove(),a.append('<span class="wf_default wf_attributes"><select name="default[]" class="selectize"></select></span>'),a.append('<span style="font-size:x-small;"><a style="color: red" href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">'.concat(c.learn_more,"</a></span>")),_||a.append('<span class="spinner is-active" style="margin: 0;"></span>');var i=a.find(".wf_attributes select");f.selectize(i,{preload:!0,placeholder:c.form.select_category,load:function(e,t){_?t(_):o.send("get_google_categories",{type:"GET",data:{_ajax_nonce:c.nonce,action:"get_google_categories",provider:r}}).then(function(e){t(_=e),a.find(".spinner").remove()}).fail(f.ajax_fail)}})}}else"current_category"!==t.val()&&0===a.find("input.wf_default").length&&(a.find("span").remove(),a.append('<input autocomplete="off" class="wf_default wf_attributes" type="text" name="default[]" value="">'),"pattern"!==n.val()&&a.find("input.wf_default").hide())}).on("change","#feedType,#provider",function(){var e=s("#feedType").val(),t=s("#provider").val(),n=s(".itemWrapper"),a=s(".wf_csvtxt");""!==e&&f.in_array(t,c.form.item_wrapper_hidden)?n.hide():"xml"===e?(n.show(),a.hide()):"csv"===e||"txt"===e?(n.hide(),a.show()):(n.hide(),a.hide())}).trigger("change")})}(jQuery,window,document,wp.ajax,wpf_ajax_obj);
2
  //# sourceMappingURL=woo-feed-admin.min.js.map
admin/js/woo-feed-admin.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["woo-feed-admin.js"],"names":["_defineProperties","target","props","descriptor","i","_createClass","Constructor","protoProps","staticProps","prototype","window","wpAjax","self","prop","showTooltip","$","hasClass","currentTarget","clearTooltip","removeClass","actionMsg","className","match","index","action","removeAttr","actionKey","elem","addClass","attr","msg","extend","_default","_args","clip","$copyBtn","feedGenerator","left","event","trigger","test","navigator","on","console","googleCategories","in_array","needle","haystack","sortable","escape","data","text","ajax_fail","column_count","find","warn","wf_sortable","selectize_render_item","e","hasOwnProperty","opts","ajax","error","statusText","status","el","config","column","_onDrop","each","this","length","selectize","itemPath","create","concat","plugins","$item","container","containerSelector","group","options","bodyClass","itemSelector","handle","onDrop","fancySelect","maxItemShow","split","map","s","trim","helper","render","item","replace","x","form","merchantInfo","document","jQuery","k","init","renderMerchantInfo","opt","feedType","r","types","html","t","toLowerCase","na","disabled","val","_loop2","feedForm","contentSettings","renderMerchantTemplate","feedEditor","is","merchantInfoCache","tooltip","css","top","isRegenerating","_feed","_current_btn","feed","_limit","generator","limit","_progress","_product_ids","_progress_per_batch","_refresh","_all_btn","generate","key","value","_regenerate","_current_btn_label","regenerate","_this","_log","response","_updateProgressStatus","message","product","setTimeout","_stopProgressBar","_process_batch","_color","_resetProgressBar","_ajax_nonce","post","_save_feed_file","_current_batch","_total_batch","_unblock_button","then","refreshInterval","arguments","undefined","_timer","setInterval","_updateProgressBar","clearInterval","update","table","show","hide","width","bar","percentage","load","background","preventDefault","pagenow","template","common","hover","title","appendTo","userAgent","merchantTemplateCache","remove","ClipboardJS","clipboard","location","slideToggle","price_attributes","tbody","current_attribute_value","fancyOption","parents","selectKey","selectIf","indexOf","includes","confirm","closest","fancyDataPicker","row","Math","del_confirm_multi","reindex_config_table","type","postboxes","valid","server","validate","save","sftp_checking","sftp_available","sftp_warning","fail","merchant","outputSelect","send","provider","nonce","outOfStockVisibilityRow","feedName","checked","valueColumn","append","attribute","select","preload","google_category","query","cb","wf_csv_txt","itemWrapper"],"mappings":"yHAAA,SAAAA,kBAAAC,EAAAC,+BACA,IAAAC,EAAAD,EAAAE,kHADA,SAAAC,aAAAC,EAAAC,EAAAC,GAWC,OAFDD,GAAAP,kBAAAM,EAAAG,UAAAF,GARAC,GAAAE,kBAAAC,EAAAH,GAUCF,gFA0BGM,IAAAA,EAAAA,EAAAA,MACAC,EAAAD,gBAEA,IAAAA,EAAAA,KAAAC,GAHAD,EAAAA,KAAAA,OAAAA,IAAAA,IAAAA,IAAAA,4EAYF,IAAAE,EAAAA,EAAAA,MAEAC,EAAA,WACA,YAHA,IAAAH,EAAAC,KAAAA,GAAAD,EAAAC,KAAAA,GAAAD,EAAAI,SAAAH,IAUQI,SAWRC,EAXuBC,GAAaC,EAAAA,EAAAA,eAAuBC,YAAUC,SAAMC,EAAhBC,GAAvB,OAA+EL,EAAAA,MAAAA,sBAAAA,IAAAA,KAAAA,OADpHC,YAAA,cAAAK,WAAAC,cAKGC,SAAFZ,EAAAA,EAAAA,GACAA,EAEDY,GAAAC,SAAA,2BAAAC,KAAA,aAAAC,GAiCyB,SAAAC,EAAAC,EAAAC,GAAA,OAvBvBlB,EAAAgB,QAAA,EAAA,GAAAC,EAAAC,GAHAb,SA8MEc,IAEAtB,EAAAA,EAAAA,4GAxRLuB,EA4RMC,KAAAA,WAEAC,EAAAA,MAAAA,GAAAA,aAAAA,GAAAA,GAAAA,OAAAA,oEAvMLvB,EAAAwB,EAAAC,WA2MQD,EAAAd,oEA5NG,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@copyright 2020 WebAppick\r\n *\r\n */\r\n/* global ajaxurl, wpAjax, postboxes, pagenow, alert, deleteUserSetting, typenow, adminpage, thousandsSeparator, decimalPoint, isRtl */\r\n// noinspection JSUnresolvedVariable\r\n(function($, window, document, wpAjax, opts) {\r\n\t\"use strict\";\r\n\t/**\r\n\t * All of the code for your admin-facing JavaScript source\r\n\t * should reside in this file.\r\n\t *\r\n\t * Note: It has been assumed you will write jQuery code here, so the\r\n\t * $ function reference has been prepared for usage within the scope\r\n\t * of this function.\r\n\t *\r\n\t * This enables you to define handlers, for when the DOM is ready:\r\n\t */\r\n\r\n\t/**\r\n\t * disable element utility\r\n\t *\r\n\t * @since 3.1.9\r\n\t *\r\n\t * @param {*} status\r\n\t * @returns {jQuery|HTMLElement}\r\n\t */\r\n\t$.fn.disabled = function(status) {\r\n\t\t$(this).each(function() {\r\n\t\t\tlet self = $(this),\r\n\t\t\t\tprop = 'disabled';\r\n\r\n\t\t\tif (typeof self.prop(prop) !== 'undefined') {\r\n\t\t\t\tself.prop(prop, status === void 0 || status === true);\r\n\t\t\t} else {\r\n\t\t\t\t!0 === status ? self.addClass(prop) : self.removeClass(prop);\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn self; // method chaining\r\n\t};\r\n\t\r\n\t/**\r\n\t * Check if a HTMLElement or jQuery is disabled\r\n\t */\r\n\t$.fn.isDisabled = function() {\r\n\t\tlet self = $(this),\r\n\t\t\tprop = 'disabled';\r\n\t\treturn typeof self.prop(prop) !== 'undefined' ? self.prop(prop) : self.hasClass(prop);\r\n\t};\r\n\t\r\n\t/**\r\n\t * Clear Tooltip for clip board js\r\n\t * @param {Object} event\r\n\t */\r\n\tconst clearTooltip = (event) => {\r\n\t\t$(event.currentTarget).removeClass( (index, className) => (className.match(/\\btooltipped-\\S+/g) || []).join(' ') ).removeClass('tooltipped').removeAttr('aria-label');\r\n\t};\r\n\r\n\tconst showTooltip = (elem, msg) => {\r\n\t\t$(elem).addClass('tooltipped tooltipped-s').attr('aria-label', msg);\r\n\t};\r\n\r\n\tconst fallbackMessage = (action) =>{\r\n\t\tlet actionMsg,\r\n\t\t\tactionKey = action === 'cut' ? 'X' : 'C';\r\n\r\n\t\tif (/iPhone|iPad/i.test(navigator.userAgent)) {\r\n\t\t\tactionMsg = 'No support :(';\r\n\t\t} else if (/Mac/i.test(navigator.userAgent)) {\r\n\t\t\tactionMsg = 'Press ⌘-' + actionKey + ' to ' + action;\r\n\t\t} else {\r\n\t\t\tactionMsg = 'Press Ctrl-' + actionKey + ' to ' + action;\r\n\t\t}\r\n\r\n\t\treturn actionMsg;\r\n\t};\r\n\t\r\n\t/**\r\n\t * Alias of jQuery.extend()\r\n\t * @param {Object} _default\r\n\t * @param {Object} _args\r\n\t */\r\n\tconst extend = (_default, _args) => $.extend(true, {}, _default, _args);\r\n\t\r\n\tlet $copyBtn,\r\n\t\tclipboard,\r\n\t\tgoogleCategories,\r\n\t\thelper = {\r\n\t\t\tin_array: (needle, haystack) => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\treturn haystack.indexOf(needle) !== -1;\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tselectize_render_item: (data, escape) => `<div class=\"item wapk-selectize-item\">${ escape(data.text)}</div>`, // phpcs:ignore WordPressVIPMinimum.JS.StringConcat.Found,\r\n\t\t\tajax_fail: e => {\r\n\t\t\t\tconsole.warn(e);\r\n\t\t\t\talert(e.hasOwnProperty('statusText') && e.hasOwnProperty('status') ? opts.ajax.error + '\\n' + e.statusText + ' (' + e.status + ')' : e);\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Initialize Sortable\r\n\t\t\t * @param {jQuery|HTMLElement} el\r\n\t\t\t * @param {object} config\r\n\t\t\t * @param {int|boolean} column\r\n\t\t\t * @param {function} onDrop\r\n\t\t\t * @return {jQuery|HTMLElement}\r\n\t\t\t */\r\n\t\t\tsortable: (el, config, column, onDrop) => {\r\n\t\t\t\treturn (el || $('.sorted_table')).each(function() {\r\n\t\t\t\t\tlet self = $(this),\r\n\t\t\t\t\t\tcolumn_count = self.find('tbody > tr:eq(0) > td').length || column || 9;\r\n\t\t\t\t\tself.wf_sortable(extend({\r\n\t\t\t\t\t\tcontainerSelector: 'table',\r\n\t\t\t\t\t\titemPath: '> tbody',\r\n\t\t\t\t\t\titemSelector: 'tr',\r\n\t\t\t\t\t\thandle: 'i.wf_sortedtable',\r\n\t\t\t\t\t\tplaceholder: `<tr class=\"placeholder\"><td colspan=\"${column_count}\"></td></tr>`,\r\n\t\t\t\t\t\tonDrop: ($item, container, _super, event) => {\r\n\t\t\t\t\t\t\t$item.removeClass(container.group.options.draggedClass).removeAttr('style');\r\n\t\t\t\t\t\t\t$(\"body\").removeClass(container.group.options.bodyClass);\r\n\t\t\t\t\t\t\tif ( onDrop && 'function' === typeof( onDrop ) ) {\r\n\t\t\t\t\t\t\t\tonDrop( $item, container, _super, event );\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tselectize: (el, config) => {\r\n\t\t\t\treturn (el || $('select.selectize')).not('.selectized').each(function() {\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.selectize(extend({\r\n\t\t\t\t\t\tcreate: self.data('create') || false,\r\n\t\t\t\t\t\tplugins: self.data('plugins') ? self.data('plugins').split(',').map(function(s) {\r\n\t\t\t\t\t\t\treturn s.trim();\r\n\t\t\t\t\t\t}) : [],\r\n\t\t\t\t\t\t//['remove_button'],\r\n\t\t\t\t\t\trender: {\r\n\t\t\t\t\t\t\titem: helper.selectize_render_item\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tfancySelect: (el, config) => {\r\n\t\t\t\treturn (el || $('select.fancySelect')).not('.FancySelectInit').each(function() {\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.fancySelect(extend({\r\n\t\t\t\t\t\tmaxItemShow: 3\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\treindex_config_table: () => {\r\n\t\t\t\t$('#table-1').find('tbody tr').each( ( x, el ) => {\r\n\t\t\t\t\t$(el).find('[name]').each( ( x1, el ) => {\r\n\t\t\t\t\t\t$(el).attr('name', $(el).attr('name').replace(/(\\[\\d\\])/g, `[${x}]`));\r\n\t\t\t\t\t} );\r\n\t\t\t\t} );\r\n\t\t\t},\r\n\t\t\tcommon: () => {\r\n\t\t\t\thelper.sortable( $('.sorted_table'), {}, 9, helper.reindex_config_table );\r\n\t\t\t\thelper.selectize();\r\n\t\t\t\thelper.fancySelect($('.outputType'));\r\n\t\t\t}\r\n\t\t},\r\n\t\t// helper functions\r\n\t\tfeedEditor = {\r\n\t\t\t/**\r\n\t\t\t * The Editor Form Elem.\r\n\t\t\t * @type {jQuery|HTMLElement}\r\n\t\t\t */\r\n\t\t\tform: null,\r\n\r\n\t\t\t/**\r\n\t\t\t * Initialize The Feed Editor {Tabs...}\r\n\t\t\t * @returns {void}\r\n\t\t\t */\r\n\t\t\tinit: function () {\r\n\t\t\t\tlet self = this;\r\n\t\t\t\tself.form = $('.generateFeed');\r\n\t\t\t\tif (!self.form.length) return;\r\n\t\t\t\thelper.common();\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t$(document).trigger(new jQuery.Event('feedEditor.init', {\r\n\t\t\t\t\ttarget: this.form\r\n\t\t\t\t}));\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Render Merchant info ajax response and handle allowed feed type for selected merchant\r\n\t\t\t * @param {jQuery|HTMLElement} merchantInfo jQuery dom object\r\n\t\t\t * @param {jQuery|HTMLElement} feedType jQuery dom object\r\n\t\t\t * @param {Object} r ajax response object\r\n\t\t\t */\r\n\t\t\trenderMerchantInfo: function (merchantInfo, feedType, r) {\r\n\t\t\t\tfor (let k in r) {\r\n\t\t\t\t\tif (r.hasOwnProperty(k)) {\r\n\t\t\t\t\t\tmerchantInfo.find('.merchant-info-section.' + k + ' .data').html(r[k]); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html\r\n\r\n\t\t\t\t\t\tif ('feed_file_type' === k) {\r\n\t\t\t\t\t\t\t(function() {\r\n\t\t\t\t\t\t\t\tlet types = r[k].split(\",\").map(function(t) {\r\n\t\t\t\t\t\t\t\t\treturn t.trim().toLowerCase();\r\n\t\t\t\t\t\t\t\t}).filter(function(t) {\r\n\t\t\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\t\t\treturn t !== '' && t !== opts.na.toLowerCase();\r\n\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\tif (types.length) {\r\n\t\t\t\t\t\t\t\t\tfeedType.find('option').removeAttr('selected').each(function() {\r\n\t\t\t\t\t\t\t\t\t\tlet opt = $(this);\r\n\t\t\t\t\t\t\t\t\t\topt.val() && !helper.in_array(opt.val(), types) ? opt.disabled(!0) : opt.disabled(!1);\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\tif (types.length === 1) feedType.find('option[value=\"' + types[0] + '\"]').attr('selected', 'selected');\r\n\t\t\t\t\t\t\t\t} else feedType.find('option').disabled(!1);\r\n\t\t\t\t\t\t\t})();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmerchantInfo.find('.spinner').removeClass('is-active');\r\n\t\t\t\tfeedType.disabled(!1);\r\n\t\t\t\tfeedType.trigger('change');\r\n\t\t\t\tfeedType.parent().find('.spinner').removeClass('is-active');\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Render Feed Template Tabs and settings while creating new feed.\r\n\t\t\t * @param {jQuery|HTMLElement} feedForm feed from query dom object\r\n\t\t\t * @param {object} r merchant template ajax response object\r\n\t\t\t */\r\n\t\t\trenderMerchantTemplate: function (feedForm, r) {\r\n\t\t\t\tlet _loop = function _loop(k) {\r\n\t\t\t\t\tif (r.hasOwnProperty(k)) {\r\n\t\t\t\t\t\tif ('tabs' === k) {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedFunction\r\n\t\t\t\t\t\t\tfeedForm.html(r[k]); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tlet contentSettings = $('[name=\"' + k + '\"]');\r\n\r\n\t\t\t\t\t\t\tif (contentSettings.length) {\r\n\t\t\t\t\t\t\t\tcontentSettings.each(function() {\r\n\t\t\t\t\t\t\t\t\tlet elem = $(this);\r\n\r\n\t\t\t\t\t\t\t\t\tif (elem.is('select')) {\r\n\t\t\t\t\t\t\t\t\t\telem.find('[value=\"' + r[k] + '\"]').prop('selected', true);\r\n\t\t\t\t\t\t\t\t\t} else if ((elem.is('[type=checkbox]') || elem.is('[type=radio]')) && elem.val() === r[k]) {\r\n\t\t\t\t\t\t\t\t\t\telem.prop('checked', true);\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\telem.val(r[k]); // type=text\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}).trigger('change');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\tfor (let k in r) {\r\n\t\t\t\t\t_loop(k);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfeedEditor.init();\r\n\t\t\t}\r\n\t\t},\r\n\t\t// Feed Editor Table\r\n\t\tmerchantInfoCache = [],\r\n\t\tmerchantTemplateCache = [],\r\n\t\ttooltip = () => {\r\n\t\t\t// Tooltip only Text\r\n\t\t\t$('.wfmasterTooltip')\r\n\t\t\t\t.hover(function () {\r\n\t\t\t\t\t// Hover over code\r\n\t\t\t\t\tlet self = $(this), title = self.attr('wftitle');\r\n\t\t\t\t\tself.data('tipText', title).removeAttr('wftitle');\r\n\t\t\t\t\t$('<p class=\"wftooltip\"></p>').text(title).appendTo('body').fadeIn('slow');\r\n\t\t\t\t}, function () {\r\n\t\t\t\t\t// Hover out code\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.attr('wftitle', self.data('tipText'));\r\n\t\t\t\t\t$('.wftooltip').remove();\r\n\t\t\t\t})\r\n\t\t\t\t.mousemove(function (e) {\r\n\t\t\t\t\t$('.wftooltip').css({\r\n\t\t\t\t\t\ttop: e.pageY + 10,\r\n\t\t\t\t\t\tleft: e.pageX + 20\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t},\r\n\t\tclip = () => {\r\n\t\t\t$copyBtn = $('.toClipboard');\r\n\t\t\tif (!ClipboardJS.isSupported() || /iPhone|iPad/i.test(navigator.userAgent)) {\r\n\t\t\t\t$copyBtn.find('img').hide(0);\r\n\t\t\t} else {\r\n\t\t\t\t$copyBtn.each(function() {\r\n\t\t\t\t\t$(this).on('mouseleave', clearTooltip).on('blur', clearTooltip);\r\n\t\t\t\t});\r\n\t\t\t\tclipboard = new ClipboardJS('.toClipboard');\r\n\t\t\t\tclipboard.on('error', function(event) {\r\n\t\t\t\t\tshowTooltip(event.trigger, fallbackMessage(event.action));\r\n\t\t\t\t}).on('success', function(event) {\r\n\t\t\t\t\tshowTooltip(event.trigger, 'Copied!');\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t};\r\n\t\r\n\t/**\r\n\t * Feed Generator Module\r\n\t */\r\n\tclass feedGenerator {\r\n\t\t\r\n\t\t/**\r\n\t\t * Constructor\r\n\t\t * @constructor\r\n\t\t */\r\n\t\tconstructor() {\r\n\t\t\tthis._feed = opts.generator.feed; // wf_config+xxxx\r\n\t\t\tthis._limit = opts.generator.limit;\r\n\t\t\tthis._progress = 0;\r\n\t\t\tthis._timer = null;\r\n\t\t\tthis._color = false;\r\n\t\t\t// batch info\r\n\t\t\tthis._total_batch = 0;\r\n\t\t\tthis._current_batch = 0;\r\n\t\t\tthis._product_ids = [];\r\n\t\t\tthis._progress_per_batch = 0;\r\n\t\t\tthis._refresh = true;\r\n\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\tthis._regenerate = opts.generator.regenerate;\r\n\t\t\twindow.isRegenerating = false;\r\n\t\t\tthis._all_btn = $('.wpf_regenerate');\r\n\t\t\tthis._current_btn = $(`#${this._feed.replace( 'wf_config', 'wf_feed_' )}`);\r\n\t\t\tthis._current_btn_label = '';\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Init Hooks (Event)\r\n\t\t * @return {feedGenerator}\r\n\t\t */\r\n\t\tinit() {\r\n\t\t\tlet self = this;\r\n\t\t\tif ( '' !== this._feed && this._regenerate && false === window.isRegenerating ) {\r\n\t\t\t\tthis.generate();\r\n\t\t\t}\r\n\t\t\t$(document).on('click', '.wpf_regenerate', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tself._current_btn = $( this );\r\n\t\t\t\tif( self._current_btn.hasClass('disabled') || window.isRegenerating === true ) return;\r\n\t\t\t\tself._feed = self._current_btn.attr('id').replace( 'wf_feed_', 'wf_config' );\r\n\t\t\t\tif( '' !== self._feed ) {\r\n\t\t\t\t\tself.generate();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t_block_button() {\r\n\t\t\tif ( this._all_btn.length ) {\r\n\t\t\t\tthis._all_btn.addClass('disabled');\r\n\t\t\t}\r\n\t\t\tif ( this._current_btn.length ) {\r\n\t\t\t\tthis._current_btn.find('span').addClass('wpf_spin reverse_spin');\r\n\t\t\t\tthis._current_btn_label = this._current_btn.attr('title');\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tthis._current_btn.attr( 'aria-label', opts.regenerate ).attr( 'title', opts.regenerate );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t_unblock_button() {\r\n\t\t\tif ( this._all_btn.length ) {\r\n\t\t\t\tthis._all_btn.removeClass('disabled');\r\n\t\t\t}\r\n\t\t\tif ( this._current_btn.length ) {\r\n\t\t\t\tthis._current_btn.find('span').removeClass('wpf_spin');\r\n\t\t\t\tthis._current_btn.find('span').removeClass('reverse_spin');\r\n\t\t\t\tthis._current_btn.attr( 'aria-label', this._current_btn_label ).attr( 'title', this._current_btn_label );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Generate Feed\r\n\t\t * @return void\r\n\t\t */\r\n\t\tgenerate() {\r\n\t\t\tlet self = this;\r\n\t\t\twindow.isRegenerating = true;\r\n\t\t\tthis._block_button();\r\n\t\t\tthis._resetProgressBar();\r\n\t\t\tthis._progressBarActive();\r\n\t\t\tthis._log( 'Counting Total Products' );\r\n\t\t\tthis._updateProgressStatus( 'Fetching products.' );\r\n\t\t\tthis._get_product_ids().then( response => {\r\n\t\t\t\tthis._progress = 10;\r\n\t\t\t\tself._log( {response} );\r\n\t\t\t\tif(response.success) {\r\n\t\t\t\t\tself._log( `Total ${response.total} Products found.` );\r\n\t\t\t\t\tself._product_ids = response.product;\r\n\t\t\t\t\tself._total_batch = this._product_ids.length;\r\n\t\t\t\t\tself._current_batch = 0;\r\n\t\t\t\t\tself._progress_per_batch = ( 90 - this._progress ) / this._total_batch;\r\n\t\t\t\t\tself._process_batch();\r\n\t\t\t\t\tself._updateProgressStatus( 'Processing Products...' );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tself._updateProgressStatus( response.data.message );\r\n\t\t\t\t}\r\n\t\t\t}).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Get Product Ids\r\n\t\t * @returns {$.promise}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_get_product_ids() {\r\n\t\t\tthis._progress = 5;\r\n\t\t\treturn wpAjax.post( 'get_product_information', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t\tlimit: this._limit,\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Run the Batch\r\n\t\t * @private\r\n\t\t */\r\n\t\t_process_batch() {\r\n\t\t\tlet self = this;\r\n\t\t\tlet status = `Processing Batch ${this._current_batch+1} of ${this._total_batch}`;\r\n\t\t\tthis._updateProgressStatus( status );\r\n\t\t\tthis._log( status );\r\n\t\t\twpAjax.post( 'make_batch_feed', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t\tproducts: this._product_ids[this._current_batch],\r\n\t\t\t\tloop: this._current_batch,\r\n\t\t\t} ).then( response => {\r\n\t\t\t\tself._current_batch++;\r\n\t\t\t\tself._log( `Batch ${self._current_batch} Completed` );\r\n\t\t\t\tself._log( response );\r\n\t\t\t\tif ( self._current_batch < self._total_batch ) {\r\n\t\t\t\t\tself._process_batch();\r\n\t\t\t\t\tself._progress += self._progress_per_batch;\r\n\t\t\t\t}\r\n\t\t\t\tif ( self._current_batch === self._total_batch ) {\r\n\t\t\t\t\tself._save_feed_file();\r\n\t\t\t\t}\r\n\t\t\t} ).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Save Feed Data from temp to feed file\r\n\t\t * @private\r\n\t\t */\r\n\t\t_save_feed_file() {\r\n\t\t\tlet self = this;\r\n\t\t\tthis._log( 'Saving feed file' );\r\n\t\t\tthis._updateProgressStatus( 'Saving feed file' );\r\n\t\t\twpAjax.post( 'save_feed_file', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t} ).then( response => {\r\n\t\t\t\tself._log( response );\r\n\t\t\t\tself._progress = 100;\r\n\t\t\t\tif ( self._refresh ) {\r\n\t\t\t\t\twindow.location.href = `${opts.pages.list.feed}&link=${response.url}&cat=${response.cat}`;\r\n\t\t\t\t}\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\t\tself._resetProgressBar( true );\r\n\t\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t\t}, 3000 );\r\n\t\t\t\t}, 2500 );\r\n\t\t\t} ).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Console log wrapper with debug settings.\r\n\t\t * @param data\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_log( data ) {\r\n\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\tif ( opts.wpf_debug ) {\r\n\t\t\t\tconsole.log( data );\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Run the progressbar refresh interval\r\n\t\t * @param {int} refreshInterval\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_progressBarActive( refreshInterval = 0 ) {\r\n\t\t\tlet self = this;\r\n\t\t\tthis._toggleProgressBar( true );\r\n\t\t\tthis._timer = setInterval( function(){\r\n\t\t\t\tself._updateProgressBar();\r\n\t\t\t}, refreshInterval || 1000 );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Stop Progressbar\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_stopProgressBar() {\r\n\t\t\tclearInterval( this._timer );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Reset Progressbar\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_resetProgressBar( update ) {\r\n\t\t\tthis._toggleProgressBar( false );\r\n\t\t\tthis._updateProgressStatus( '' );\r\n\t\t\tclearInterval( this._timer );\r\n\t\t\tthis._color = false;\r\n\t\t\tthis._timer = null;\r\n\t\t\tthis._progress = 0;\r\n\t\t\tif ( update ) {\r\n\t\t\t\tthis._updateProgressBar();\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Show hide the progress bar el\r\n\t\t * @param status\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_toggleProgressBar( status ) {\r\n\t\t\tlet table = $('#feed_progress_table');\r\n\t\t\tif ( status ) {\r\n\t\t\t\ttable.show();\r\n\t\t\t} else {\r\n\t\t\t\ttable.hide();\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Update Progress bar text status\r\n\t\t * @param {string} status\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_updateProgressStatus( status ) {\r\n\t\t\t$( '.feed-progress-status' ).text( status );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Update Progress Data\r\n\t\t * hooked with setInterval\r\n\t\t * @private\r\n\t\t */\r\n\t\t_updateProgressBar() {\r\n\t\t\tlet percentage = $( '.feed-progress-percentage' ),\r\n\t\t\t\tbar = $( '.feed-progress-bar-fill' ),\r\n\t\t\t\t_progress = `${Math.round( this._progress )}%`;\r\n\t\t\tbar.css( {\r\n\t\t\t\twidth: _progress,\r\n\t\t\t\tbackground: this._color || \"#3DC264\",\r\n\t\t\t} );\r\n\t\t\tpercentage.text( _progress );\r\n\t\t}\r\n\t}\r\n\t// expose to the global scope\r\n\twindow.wf = {\r\n\t\thelper: helper,\r\n\t\tfeedEditor: feedEditor,\r\n\t\tgenerator: feedGenerator,\r\n\t};\r\n\t$(window).load(function() {\r\n\t\t// Template loading ui conflict\r\n\t\tif ($(location).attr(\"href\").match(/webappick.*feed/g) !== null) {\r\n\t\t\t$('#wpbody-content').addClass('woofeed-body-content');\r\n\t\t}\r\n\t\t// ClipBoardJS\r\n\t\tclip();\r\n\t\t// postbox toggle\r\n\t\tpostboxes.add_postbox_toggles(pagenow);\r\n\t\t// initialize generator\r\n\t\tlet generator = new feedGenerator();\r\n\t\tgenerator.init();\r\n\t\t// noinspection JSUnresolvedVariable\r\n\t\tif( '' !== opts.generator.feed && opts.generator.regenerate ) {\r\n\t\t\r\n\t\t}\r\n\t\t// initialize editor\r\n\t\tfeedEditor.init();\r\n\t\thelper.common(); // Generate Feed Add Table Row\r\n\t\ttooltip();\r\n\t\t// validate feed editor\r\n\t\t$(\".generateFeed\").validate();\r\n\t\t// document events\r\n\t\t$(document)\r\n\t\t\t.on('click', '[data-toggle_slide]', function(e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$($(this).data('toggle_slide')).slideToggle('fast');\r\n\t\t\t})\r\n\t\t\t// XML Feed Wrapper\r\n\t\t\t.on('click', '#wf_newRow', function () {\r\n\t\t\t\tlet tbody = $('#table-1 tbody'),\r\n\t\t\t\t\ttemplate = $('#feed_config_template').text().trim().replace(/__idx__/g, tbody.find('tr').length);\r\n\t\t\t\ttbody.append(template);\r\n\t\t\t\thelper.fancySelect($('.outputType'));\r\n\t\t\t})\r\n\t\t\t// feed delete alert.\r\n\t\t\t.on('click', '.single-feed-delete', function (event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (confirm(opts.form.del_confirm)) {\r\n\t\t\t\t\twindow.location.href = $(this).attr('val');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// feed value dropdown change.\r\n\t\t\t.on('change', '.wf_attr.wf_attributes', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\r\n\t\t\t\t$('.fancy-picker-picked').trigger(\"click\"); // trigger fancy select box clicked\r\n\r\n\t\t\t\t// price attributes\r\n\t\t\t\tvar price_attributes = ['price', 'current_price', 'sale_price', 'price_with_tax', 'current_price_with_tax', 'sale_price_with_tax'];\r\n\t\t\t\t// current value\r\n\t\t\t\tvar current_attribute_value = $(this).val();\r\n\t\t\t\tvar outputSelect = $(this).parents('tr').find('.outputType');\r\n\t\t\t\tvar fancyOption = $(this).parents('tr').find('.fancy-picker-content .fancy-picker-option');\r\n\t\t\t\tvar fancyDataPicker = $(this).parents('tr').find('.fancy-picker-data span');\r\n\t\t\t\tvar selectIf, selectKey;\r\n\r\n\t\t\t\t// when select any custom taxonomy\r\n\t\t\t\tif( \"\" !== current_attribute_value && -1 !== current_attribute_value.indexOf('wf_taxo') ) {\r\n\t\t\t\t\tselectIf = 'for_custom_taxo';\r\n\t\t\t\t\tselectKey = \"parent_if_empty\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// when select any price attribute\r\n\t\t\t\tif( price_attributes.includes(current_attribute_value) ) {\r\n\t\t\t\t\tselectIf = 'for_price';\r\n\t\t\t\t\tselectKey = \"Price\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// remove selected class from old selected option\r\n\t\t\t\tfancyOption.removeClass('selected');\r\n\r\n\t\t\t\t// when value dropdown is selected as price or any custom taxonomy\r\n\t\t\t\tif( selectIf === 'for_custom_taxo' || selectIf === 'for_price' ) {\r\n\r\n\t\t\t\t\t// update \"Option Type\" when select key matches\r\n\t\t\t\t\tfancyOption.each(function(item) {\r\n\t\t\t\t\t\tif( selectKey === $(this).text() ) {\r\n\t\t\t\t\t\t\t$(this).addClass('selected');\r\n\t\t\t\t\t\t\tfancyDataPicker.text(selectKey);\r\n\t\t\t\t\t\t\toutputSelect.find(\"option\").text(selectKey);\r\n\t\t\t\t\t\t\toutputSelect.find(\"option\").val( $(this).data('value') );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t})\r\n\t\t\t// bulk delete alert.\r\n\t\t\t.on('click', '#doaction, #doaction2', function () {\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\treturn confirm(opts.form.del_confirm_multi);\r\n\t\t\t})\r\n\t\t\t// Generate Feed Table Row Delete\r\n\t\t\t.on('change', '.dType', function () {\r\n\t\t\t\tlet self = $(this),\r\n\t\t\t\t\ttype = self.val(),\r\n\t\t\t\t\trow = self.closest('tr');\r\n\t\t\t\t\r\n\t\t\t\tif (type === 'pattern') {\r\n\t\t\t\t\trow.find('.value_attribute').hide();\r\n\t\t\t\t\trow.find('.value_pattern').show();\r\n\t\t\t\t} else if (type === 'attribute') {\r\n\t\t\t\t\trow.find('.value_attribute').show();\r\n\t\t\t\t\trow.find('.value_pattern').hide();\r\n\t\t\t\t} else if (type === 'remove') {\r\n\t\t\t\t\trow.find('.value_attribute').hide();\r\n\t\t\t\t\trow.find('.value_pattern').hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Generate Feed Form Submit\r\n\t\t\t.on('click', '.delRow', function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$(this).closest('tr').remove();\r\n\t\t\t\thelper.reindex_config_table();\r\n\t\t\t})\r\n\t\t\t.on('submit', '#generateFeed', function () {\r\n\t\t\t\t// Feed Generating form validation\r\n\t\t\t\t$(this).validate();\r\n\t\t\t\t\r\n\t\t\t\tif ($(this).valid()) {\r\n\t\t\t\t\t$(\".makeFeedResponse\")\r\n\t\t\t\t\t\t.show()\r\n\t\t\t\t\t\t.html(`<b style=\"color: darkblue;\"><i class=\"dashicons dashicons-sos wpf_spin\"></i> ${opts.form.generate}</b>`); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Generate Update Feed Form Submit\r\n\t\t\t.on('submit', '#updatefeed', function (e, data) {\r\n\t\t\t\t// Feed Generating form validation\r\n\t\t\t\t$(this).validate();\r\n\t\t\t\t\r\n\t\t\t\tif ($(this).valid()) {\r\n\t\t\t\t\t$(\".makeFeedResponse\")\r\n\t\t\t\t\t\t.show()\r\n\t\t\t\t\t\t.html(`<b style=\"color: darkblue;\"><i class=\"dashicons dashicons-sos wpf_spin\"></i> ${data && data.save ? opts.form.save : opts.form.generate}</b>`); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.ftporsftp', function () {\r\n\t\t\t\tlet server = $(this).val(),\r\n\t\t\t\t\tstatus = $('.ssh2_status');\r\n\t\t\t\t\r\n\t\t\t\tif (server === 'sftp') {\r\n\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\tstatus.show().css('color', 'dodgerblue').text(opts.form.sftp_checking);\r\n\t\t\t\t\twpAjax.post('get_ssh2_status', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tserver: server\r\n\t\t\t\t\t}).then(function (response) {\r\n\t\t\t\t\t\tif (response === 'exists') {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\tstatus.css('color', '#2CC185').text(opts.form.sftp_available);\r\n\t\t\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\t\t\tstatus.hide();\r\n\t\t\t\t\t\t\t}, 1500);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\tstatus.show().css('color', 'red').text(opts.form.sftp_warning);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).fail(function (e) {\r\n\t\t\t\t\t\tstatus.hide();\r\n\t\t\t\t\t\thelper.ajax_fail(e);\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstatus.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('click', '[name=\"save_feed_config\"]', function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$('#updatefeed').trigger('submit', {\r\n\t\t\t\t\tsave: true\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.on('change', '#provider', function (event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\r\n\t\t\t\tif (!$(this).closest('.generateFeed').hasClass('add-new')) return; // only for new feed.\r\n\t\t\t\t\r\n\t\t\t\tlet merchant = $(this).val(),\r\n\t\t\t\t\tfeedType = $(\"#feedType\"),\r\n\t\t\t\t\tfeedForm = $(\"#providerPage\"),\r\n\t\t\t\t\tmerchantInfo = $('#feed_merchant_info'); // set loading..\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tfeedForm.html('<h3><span style=\"float:none;margin: -3px 0 0;\" class=\"spinner is-active\"></span> ' + opts.form.loading_tmpl + '</h3>'); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t\r\n\t\t\t\tmerchantInfo.find('.spinner').addClass('is-active');\r\n\t\t\t\tfeedType.disabled(!0); // disable dropdown\r\n\t\t\t\t\r\n\t\t\t\tfeedType.parent().find('.spinner').addClass('is-active');\r\n\t\t\t\tmerchantInfo.find('.merchant-info-section .data').html(''); // remove previous data\r\n\t\t\t\t// Get Merchant info for selected Provider/Merchant\r\n\t\t\t\t\r\n\t\t\t\tif (merchantInfoCache.hasOwnProperty(merchant)) {\r\n\t\t\t\t\tfeedEditor.renderMerchantInfo(merchantInfo, feedType, merchantInfoCache[merchant]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twpAjax.send('woo_feed_get_merchant_info', {\r\n\t\t\t\t\t\ttype: 'GET',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\tnonce: opts.nonce,\r\n\t\t\t\t\t\t\tprovider: merchant\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\tmerchantInfoCache[merchant] = r;\r\n\t\t\t\t\t\tfeedEditor.renderMerchantInfo(merchantInfo, feedType, r);\r\n\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t} // Get FeedForm For Selected Provider/Merchant\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif (merchantTemplateCache.hasOwnProperty(merchant)) {\r\n\t\t\t\t\tfeedEditor.renderMerchantTemplate(feedForm, merchantTemplateCache[merchant]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twpAjax.post('get_feed_merchant', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tmerchant: merchant\r\n\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\tmerchantTemplateCache[merchant] = r;\r\n\t\t\t\t\t\tfeedEditor.renderMerchantTemplate(feedForm, r);\r\n\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Feed Active and Inactive status change via ajax\r\n\t\t\t.on('change', '.woo_feed_status_input', function () {\r\n\t\t\t\tlet self = $(this);\r\n\t\t\t\twpAjax.post('update_feed_status', {\r\n\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\tfeedName: self.val(),\r\n\t\t\t\t\tstatus: self[0].checked ? 1 : 0\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t// event with trigger\r\n\t\t$(document)\r\n\t\t\t.on('change', '[name=\"is_outOfStock\"], [name=\"product_visibility\"]', function () {\r\n\t\t\t\tlet outOfStockVisibilityRow = $('.out-of-stock-visibility');\r\n\t\t\t\tif ($('[name=\"is_outOfStock\"]:checked').val() === 'n' && $('[name=\"product_visibility\"]:checked').val() === '1') {\r\n\t\t\t\t\toutOfStockVisibilityRow.show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\toutOfStockVisibilityRow.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.attr_type', function () {\r\n\t\t\t\t// Attribute type selection\r\n\t\t\t\tlet self = $(this),\r\n\t\t\t\t\ttype = self.val(),\r\n\t\t\t\t\trow = self.closest('tr');\r\n\t\t\t\t\r\n\t\t\t\tif (type === 'pattern') {\r\n\t\t\t\t\trow.find('.wf_attr').hide();\r\n\t\t\t\t\trow.find('.wf_attr').val('');\r\n\t\t\t\t\trow.find('.wf_default').show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\trow.find('.wf_attr').show();\r\n\t\t\t\t\trow.find('.wf_default').hide();\r\n\t\t\t\t\trow.find('.wf_default').val('');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.wf_mattributes, .attr_type', function () {\r\n\t\t\t\tlet row = $(this).closest('tr'),\r\n\t\t\t\t\tattribute = row.find('.wf_mattributes'),\r\n\t\t\t\t\ttype = row.find('.attr_type'),\r\n\t\t\t\t\tvalueColumn = row.find('td:eq(4)'),\r\n\t\t\t\t\tprovider = $('#provider').val();\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (opts.form.google_category.hasOwnProperty(attribute.val()) && type.val() === 'pattern' && helper.in_array(provider, opts.form.google_category[attribute.val()])) {\r\n\t\t\t\t\tif (valueColumn.find('select.selectize').length === 0) {\r\n\t\t\t\t\t\tvalueColumn.find('input.wf_default').remove();\r\n\t\t\t\t\t\tvalueColumn.append('<span class=\"wf_default wf_attributes\"><select name=\"default[]\" class=\"selectize\"></select></span>');\r\n\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\tvalueColumn.append(`<span style=\"font-size:x-small;\"><a style=\"color: red\" href=\"http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category\" target=\"_blank\">${opts.learn_more}</a></span>`);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (!googleCategories) {\r\n\t\t\t\t\t\t\tvalueColumn.append('<span class=\"spinner is-active\" style=\"margin: 0;\"></span>');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tlet select = valueColumn.find('.wf_attributes select');\r\n\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\thelper.selectize(select, {\r\n\t\t\t\t\t\t\tpreload: true,\r\n\t\t\t\t\t\t\tplaceholder: opts.form.select_category,\r\n\t\t\t\t\t\t\tload: function load(query, cb) {\r\n\t\t\t\t\t\t\t\tif (!googleCategories) {\r\n\t\t\t\t\t\t\t\t\twpAjax.send('get_google_categories', {\r\n\t\t\t\t\t\t\t\t\t\ttype: 'GET',\r\n\t\t\t\t\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\t\t\t\t\t\taction: \"get_google_categories\",\r\n\t\t\t\t\t\t\t\t\t\t\tprovider: provider\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\t\t\t\t\tgoogleCategories = r;\r\n\t\t\t\t\t\t\t\t\t\tcb(googleCategories);\r\n\t\t\t\t\t\t\t\t\t\tvalueColumn.find('.spinner').remove();\r\n\t\t\t\t\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tcb(googleCategories);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (attribute.val() !== 'current_category' && valueColumn.find('input.wf_default').length === 0) {\r\n\t\t\t\t\t\tvalueColumn.find('span').remove();\r\n\t\t\t\t\t\tvalueColumn.append('<input autocomplete=\"off\" class=\"wf_default wf_attributes\" type=\"text\" name=\"default[]\" value=\"\">');\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (type.val() !== 'pattern') {\r\n\t\t\t\t\t\t\tvalueColumn.find('input.wf_default').hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '#feedType,#provider', function () {\r\n\t\t\t\tlet type = $('#feedType').val(),\r\n\t\t\t\t\tprovider = $('#provider').val(),\r\n\t\t\t\t\titemWrapper = $('.itemWrapper'),\r\n\t\t\t\t\twf_csv_txt = $('.wf_csvtxt');\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (type !== '' && helper.in_array(provider, opts.form.item_wrapper_hidden)) {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t} else if (type === 'xml') {\r\n\t\t\t\t\titemWrapper.show();\r\n\t\t\t\t\twf_csv_txt.hide();\r\n\t\t\t\t} else if (type === 'csv' || type === 'txt') {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t\twf_csv_txt.show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t\twf_csv_txt.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.trigger('change');\r\n\t});\r\n})(jQuery, window, document, wp.ajax, wpf_ajax_obj);\r\n"]}
1
+ {"version":3,"sources":["woo-feed-admin.js"],"names":["_defineProperties","target","props","descriptor","i","_createClass","Constructor","protoProps","staticProps","prototype","window","wpAjax","self","prop","showTooltip","$","hasClass","currentTarget","clearTooltip","removeClass","actionMsg","className","match","index","action","removeAttr","actionKey","elem","addClass","attr","msg","extend","_default","_args","clip","$copyBtn","feedGenerator","left","event","trigger","test","navigator","on","console","googleCategories","in_array","needle","haystack","sortable","escape","data","text","ajax_fail","column_count","find","warn","wf_sortable","selectize_render_item","e","hasOwnProperty","opts","ajax","error","statusText","status","el","config","column","_onDrop","each","this","length","selectize","itemPath","create","concat","plugins","$item","container","containerSelector","group","options","bodyClass","itemSelector","handle","onDrop","fancySelect","maxItemShow","split","map","s","trim","helper","render","item","replace","x","form","merchantInfo","document","jQuery","k","init","renderMerchantInfo","opt","feedType","r","types","html","t","toLowerCase","na","disabled","val","_loop2","feedForm","contentSettings","renderMerchantTemplate","feedEditor","is","merchantInfoCache","tooltip","css","top","isRegenerating","_feed","_current_btn","feed","_limit","generator","limit","_progress","_product_ids","_progress_per_batch","_refresh","_all_btn","generate","key","value","_regenerate","_current_btn_label","regenerate","_this","_log","response","_updateProgressStatus","message","product","setTimeout","_stopProgressBar","_process_batch","_color","_resetProgressBar","_ajax_nonce","post","_save_feed_file","_current_batch","_total_batch","_unblock_button","then","refreshInterval","arguments","undefined","_timer","setInterval","_updateProgressBar","clearInterval","update","table","show","hide","width","bar","percentage","load","background","preventDefault","pagenow","template","common","hover","title","appendTo","userAgent","merchantTemplateCache","remove","ClipboardJS","clipboard","location","slideToggle","loader","tbody","confirm","del_confirm","fail","href","_ajax_clean_nonce","current_attribute_value","outputSelect","fancyOption","fancyDataPicker","log","selectKey","selectIf","parents","indexOf","closest","row","del_confirm_multi","reindex_config_table","type","valid","validate","save","server","sftp_checking","sftp_available","price_attributes","send","provider","merchant","nonce","feedName","outOfStockVisibilityRow","valueColumn","attribute","select","query","parent","cb","checked","itemWrapper"],"mappings":"yHAAA,SAAAA,kBAAAC,EAAAC,+BACA,IAAAC,EAAAD,EAAAE,kHADA,SAAAC,aAAAC,EAAAC,EAAAC,GAWC,OAFDD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,SAC9B6E,GAAuB,IAAvBA,EAAAA,KAAAA,oBAAuBlC,OAAA,CA+FlB5D,EAAAA,KAAM,oBAAM8K,SA7FjBhF,EAAAA,OAAS2H,sGAET3E,EAAAA,OAAAA,gLADAvD,OAAAA,EAAAA,WAAAA,gBAGIsB,GAHJtB,EAAAA,OAAAA,8DAOEgH,IAAAA,EAAAA,EAAAA,KAAAA,yBAECW,EAAAA,UAAAA,EAAW,CACXF,SAbHlH,EAWQ4H,YAAAzL,EAAAA,KAAAA,gBAFPkI,KAAA,SAAAqD,EAAAE,GAOC7G,EAeA6G,EAAAnB,GA2DyBvM,EAAzB+M,KAAA,wBAAA,CAxEAR,KAAA,MArCFxJ,KAsCE,CA+FD+F,YAAcxC,EAAV4G,MACHG,OAAAA,wBA7FFA,SAAAA,KAECjE,KAFDmD,SAAAxG,GAIE+C,EADD9I,EAAAA,GAECiN,EAAAA,KAAAA,YAAAA,WAFgC1B,KAAAtG,EAAAxC,mBAcjC0K,qBAAAA,EAAAA,OAAAA,IAAAA,EAAAA,KAAAA,oBAAAA,SACA9J,EAAMkJ,KAAEtM,QAAQ0N,SAHiBC,EAAAA,OAAA,sGAmGnB,YAhGdvK,EAgGMiD,OA5FRsH,EAAAA,KACC7L,oBADDgI,UAIEqD,GAAAA,SAAAA,sBAAAA,WACA,IAAAb,EAAAnM,EAAA,aAAAkG,MACA8G,EACAhN,EAAA,aAPHkG,MA1VCsH,EAAAxN,EAAA,gBAoWCqF,EAt2BJrF,EAs2BIoF","file":"woo-feed-admin.min.js","sourcesContent":["// noinspection JSUnresolvedletiable\r\n/**!\r\n * WooFeed Scripts\r\n * @version 3.3.6\r\n * @package WooFeed\r\n * @copyright 2020 WebAppick\r\n *\r\n */\r\n/* global ajaxurl, wpAjax, postboxes, pagenow, alert, deleteUserSetting, typenow, adminpage, thousandsSeparator, decimalPoint, isRtl */\r\n// noinspection JSUnresolvedVariable\r\n(function($, window, document, wpAjax, opts) {\r\n\t\"use strict\";\r\n\t/**\r\n\t * All of the code for your admin-facing JavaScript source\r\n\t * should reside in this file.\r\n\t *\r\n\t * Note: It has been assumed you will write jQuery code here, so the\r\n\t * $ function reference has been prepared for usage within the scope\r\n\t * of this function.\r\n\t *\r\n\t * This enables you to define handlers, for when the DOM is ready:\r\n\t */\r\n\r\n\t/**\r\n\t * disable element utility\r\n\t *\r\n\t * @since 3.1.9\r\n\t *\r\n\t * @param {*} status\r\n\t * @returns {jQuery|HTMLElement}\r\n\t */\r\n\t$.fn.disabled = function(status) {\r\n\t\t$(this).each(function() {\r\n\t\t\tlet self = $(this),\r\n\t\t\t\tprop = 'disabled';\r\n\r\n\t\t\tif (typeof self.prop(prop) !== 'undefined') {\r\n\t\t\t\tself.prop(prop, status === void 0 || status === true);\r\n\t\t\t} else {\r\n\t\t\t\t!0 === status ? self.addClass(prop) : self.removeClass(prop);\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn self; // method chaining\r\n\t};\r\n\t\r\n\t/**\r\n\t * Check if a HTMLElement or jQuery is disabled\r\n\t */\r\n\t$.fn.isDisabled = function() {\r\n\t\tlet self = $(this),\r\n\t\t\tprop = 'disabled';\r\n\t\treturn typeof self.prop(prop) !== 'undefined' ? self.prop(prop) : self.hasClass(prop);\r\n\t};\r\n\t\r\n\t/**\r\n\t * Clear Tooltip for clip board js\r\n\t * @param {Object} event\r\n\t */\r\n\tconst clearTooltip = (event) => {\r\n\t\t$(event.currentTarget).removeClass( (index, className) => (className.match(/\\btooltipped-\\S+/g) || []).join(' ') ).removeClass('tooltipped').removeAttr('aria-label');\r\n\t};\r\n\r\n\tconst showTooltip = (elem, msg) => {\r\n\t\t$(elem).addClass('tooltipped tooltipped-s').attr('aria-label', msg);\r\n\t};\r\n\r\n\tconst fallbackMessage = (action) =>{\r\n\t\tlet actionMsg,\r\n\t\t\tactionKey = action === 'cut' ? 'X' : 'C';\r\n\r\n\t\tif (/iPhone|iPad/i.test(navigator.userAgent)) {\r\n\t\t\tactionMsg = 'No support :(';\r\n\t\t} else if (/Mac/i.test(navigator.userAgent)) {\r\n\t\t\tactionMsg = 'Press ⌘-' + actionKey + ' to ' + action;\r\n\t\t} else {\r\n\t\t\tactionMsg = 'Press Ctrl-' + actionKey + ' to ' + action;\r\n\t\t}\r\n\r\n\t\treturn actionMsg;\r\n\t};\r\n\t\r\n\t/**\r\n\t * Alias of jQuery.extend()\r\n\t * @param {Object} _default\r\n\t * @param {Object} _args\r\n\t */\r\n\tconst extend = (_default, _args) => $.extend(true, {}, _default, _args);\r\n\t\r\n\tlet $copyBtn,\r\n\t\tclipboard,\r\n\t\tgoogleCategories,\r\n\t\thelper = {\r\n\t\t\tin_array: (needle, haystack) => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\treturn haystack.indexOf(needle) !== -1;\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tselectize_render_item: (data, escape) => `<div class=\"item wapk-selectize-item\">${ escape(data.text)}</div>`, // phpcs:ignore WordPressVIPMinimum.JS.StringConcat.Found,\r\n\t\t\tajax_fail: e => {\r\n\t\t\t\tconsole.warn(e);\r\n\t\t\t\talert(e.hasOwnProperty('statusText') && e.hasOwnProperty('status') ? opts.ajax.error + '\\n' + e.statusText + ' (' + e.status + ')' : e);\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Initialize Sortable\r\n\t\t\t * @param {jQuery|HTMLElement} el\r\n\t\t\t * @param {object} config\r\n\t\t\t * @param {int|boolean} column\r\n\t\t\t * @param {function} onDrop\r\n\t\t\t * @return {jQuery|HTMLElement}\r\n\t\t\t */\r\n\t\t\tsortable: (el, config, column, onDrop) => {\r\n\t\t\t\treturn (el || $('.sorted_table')).each(function() {\r\n\t\t\t\t\tlet self = $(this),\r\n\t\t\t\t\t\tcolumn_count = self.find('tbody > tr:eq(0) > td').length || column || 9;\r\n\t\t\t\t\tself.wf_sortable(extend({\r\n\t\t\t\t\t\tcontainerSelector: 'table',\r\n\t\t\t\t\t\titemPath: '> tbody',\r\n\t\t\t\t\t\titemSelector: 'tr',\r\n\t\t\t\t\t\thandle: 'i.wf_sortedtable',\r\n\t\t\t\t\t\tplaceholder: `<tr class=\"placeholder\"><td colspan=\"${column_count}\"></td></tr>`,\r\n\t\t\t\t\t\tonDrop: ($item, container, _super, event) => {\r\n\t\t\t\t\t\t\t$item.removeClass(container.group.options.draggedClass).removeAttr('style');\r\n\t\t\t\t\t\t\t$(\"body\").removeClass(container.group.options.bodyClass);\r\n\t\t\t\t\t\t\tif ( onDrop && 'function' === typeof( onDrop ) ) {\r\n\t\t\t\t\t\t\t\tonDrop( $item, container, _super, event );\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tselectize: (el, config) => {\r\n\t\t\t\treturn (el || $('select.selectize')).not('.selectized').each(function() {\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.selectize(extend({\r\n\t\t\t\t\t\tcreate: self.data('create') || false,\r\n\t\t\t\t\t\tplugins: self.data('plugins') ? self.data('plugins').split(',').map(function(s) {\r\n\t\t\t\t\t\t\treturn s.trim();\r\n\t\t\t\t\t\t}) : [],\r\n\t\t\t\t\t\t//['remove_button'],\r\n\t\t\t\t\t\trender: {\r\n\t\t\t\t\t\t\titem: helper.selectize_render_item\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tfancySelect: (el, config) => {\r\n\t\t\t\treturn (el || $('select.fancySelect')).not('.FancySelectInit').each(function() {\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.fancySelect(extend({\r\n\t\t\t\t\t\tmaxItemShow: 3\r\n\t\t\t\t\t}, config));\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\treindex_config_table: () => {\r\n\t\t\t\t$('#table-1').find('tbody tr').each( ( x, el ) => {\r\n\t\t\t\t\t$(el).find('[name]').each( ( x1, el ) => {\r\n\t\t\t\t\t\t$(el).attr('name', $(el).attr('name').replace(/(\\[\\d\\])/g, `[${x}]`));\r\n\t\t\t\t\t} );\r\n\t\t\t\t} );\r\n\t\t\t},\r\n\t\t\tcommon: () => {\r\n\t\t\t\thelper.sortable( $('.sorted_table'), {}, 9, helper.reindex_config_table );\r\n\t\t\t\thelper.selectize();\r\n\t\t\t\thelper.fancySelect($('.outputType'));\r\n\t\t\t}\r\n\t\t},\r\n\t\t// helper functions\r\n\t\tfeedEditor = {\r\n\t\t\t/**\r\n\t\t\t * The Editor Form Elem.\r\n\t\t\t * @type {jQuery|HTMLElement}\r\n\t\t\t */\r\n\t\t\tform: null,\r\n\r\n\t\t\t/**\r\n\t\t\t * Initialize The Feed Editor {Tabs...}\r\n\t\t\t * @returns {void}\r\n\t\t\t */\r\n\t\t\tinit: function () {\r\n\t\t\t\tlet self = this;\r\n\t\t\t\tself.form = $('.generateFeed');\r\n\t\t\t\tif (!self.form.length) return;\r\n\t\t\t\thelper.common();\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t$(document).trigger(new jQuery.Event('feedEditor.init', {\r\n\t\t\t\t\ttarget: this.form\r\n\t\t\t\t}));\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Render Merchant info ajax response and handle allowed feed type for selected merchant\r\n\t\t\t * @param {jQuery|HTMLElement} merchantInfo jQuery dom object\r\n\t\t\t * @param {jQuery|HTMLElement} feedType jQuery dom object\r\n\t\t\t * @param {Object} r ajax response object\r\n\t\t\t */\r\n\t\t\trenderMerchantInfo: function (merchantInfo, feedType, r) {\r\n\t\t\t\tfor (let k in r) {\r\n\t\t\t\t\tif (r.hasOwnProperty(k)) {\r\n\t\t\t\t\t\tmerchantInfo.find('.merchant-info-section.' + k + ' .data').html(r[k]); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html\r\n\r\n\t\t\t\t\t\tif ('feed_file_type' === k) {\r\n\t\t\t\t\t\t\t(function() {\r\n\t\t\t\t\t\t\t\tlet types = r[k].split(\",\").map(function(t) {\r\n\t\t\t\t\t\t\t\t\treturn t.trim().toLowerCase();\r\n\t\t\t\t\t\t\t\t}).filter(function(t) {\r\n\t\t\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\t\t\treturn t !== '' && t !== opts.na.toLowerCase();\r\n\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\tif (types.length) {\r\n\t\t\t\t\t\t\t\t\tfeedType.find('option').removeAttr('selected').each(function() {\r\n\t\t\t\t\t\t\t\t\t\tlet opt = $(this);\r\n\t\t\t\t\t\t\t\t\t\topt.val() && !helper.in_array(opt.val(), types) ? opt.disabled(!0) : opt.disabled(!1);\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\tif (types.length === 1) feedType.find('option[value=\"' + types[0] + '\"]').attr('selected', 'selected');\r\n\t\t\t\t\t\t\t\t} else feedType.find('option').disabled(!1);\r\n\t\t\t\t\t\t\t})();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmerchantInfo.find('.spinner').removeClass('is-active');\r\n\t\t\t\tfeedType.disabled(!1);\r\n\t\t\t\tfeedType.trigger('change');\r\n\t\t\t\tfeedType.parent().find('.spinner').removeClass('is-active');\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Render Feed Template Tabs and settings while creating new feed.\r\n\t\t\t * @param {jQuery|HTMLElement} feedForm feed from query dom object\r\n\t\t\t * @param {object} r merchant template ajax response object\r\n\t\t\t */\r\n\t\t\trenderMerchantTemplate: function (feedForm, r) {\r\n\t\t\t\tlet _loop = function _loop(k) {\r\n\t\t\t\t\tif (r.hasOwnProperty(k)) {\r\n\t\t\t\t\t\tif ('tabs' === k) {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedFunction\r\n\t\t\t\t\t\t\tfeedForm.html(r[k]); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tlet contentSettings = $('[name=\"' + k + '\"]');\r\n\r\n\t\t\t\t\t\t\tif (contentSettings.length) {\r\n\t\t\t\t\t\t\t\tcontentSettings.each(function() {\r\n\t\t\t\t\t\t\t\t\tlet elem = $(this);\r\n\r\n\t\t\t\t\t\t\t\t\tif (elem.is('select')) {\r\n\t\t\t\t\t\t\t\t\t\telem.find('[value=\"' + r[k] + '\"]').prop('selected', true);\r\n\t\t\t\t\t\t\t\t\t} else if ((elem.is('[type=checkbox]') || elem.is('[type=radio]')) && elem.val() === r[k]) {\r\n\t\t\t\t\t\t\t\t\t\telem.prop('checked', true);\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\telem.val(r[k]); // type=text\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}).trigger('change');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\tfor (let k in r) {\r\n\t\t\t\t\t_loop(k);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfeedEditor.init();\r\n\t\t\t}\r\n\t\t},\r\n\t\t// Feed Editor Table\r\n\t\tmerchantInfoCache = [],\r\n\t\tmerchantTemplateCache = [],\r\n\t\ttooltip = () => {\r\n\t\t\t// Tooltip only Text\r\n\t\t\t$('.wfmasterTooltip')\r\n\t\t\t\t.hover(function () {\r\n\t\t\t\t\t// Hover over code\r\n\t\t\t\t\tlet self = $(this), title = self.attr('wftitle');\r\n\t\t\t\t\tself.data('tipText', title).removeAttr('wftitle');\r\n\t\t\t\t\t$('<p class=\"wftooltip\"></p>').text(title).appendTo('body').fadeIn('slow');\r\n\t\t\t\t}, function () {\r\n\t\t\t\t\t// Hover out code\r\n\t\t\t\t\tlet self = $(this);\r\n\t\t\t\t\tself.attr('wftitle', self.data('tipText'));\r\n\t\t\t\t\t$('.wftooltip').remove();\r\n\t\t\t\t})\r\n\t\t\t\t.mousemove(function (e) {\r\n\t\t\t\t\t$('.wftooltip').css({\r\n\t\t\t\t\t\ttop: e.pageY + 10,\r\n\t\t\t\t\t\tleft: e.pageX + 20\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t},\r\n\t\tclip = () => {\r\n\t\t\t$copyBtn = $('.toClipboard');\r\n\t\t\tif (!ClipboardJS.isSupported() || /iPhone|iPad/i.test(navigator.userAgent)) {\r\n\t\t\t\t$copyBtn.find('img').hide(0);\r\n\t\t\t} else {\r\n\t\t\t\t$copyBtn.each(function() {\r\n\t\t\t\t\t$(this).on('mouseleave', clearTooltip).on('blur', clearTooltip);\r\n\t\t\t\t});\r\n\t\t\t\tclipboard = new ClipboardJS('.toClipboard');\r\n\t\t\t\tclipboard.on('error', function(event) {\r\n\t\t\t\t\tshowTooltip(event.trigger, fallbackMessage(event.action));\r\n\t\t\t\t}).on('success', function(event) {\r\n\t\t\t\t\tshowTooltip(event.trigger, 'Copied!');\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t};\r\n\t\r\n\t/**\r\n\t * Feed Generator Module\r\n\t */\r\n\tclass feedGenerator {\r\n\t\t\r\n\t\t/**\r\n\t\t * Constructor\r\n\t\t * @constructor\r\n\t\t */\r\n\t\tconstructor() {\r\n\t\t\tthis._feed = opts.generator.feed; // wf_config+xxxx\r\n\t\t\tthis._limit = opts.generator.limit;\r\n\t\t\tthis._progress = 0;\r\n\t\t\tthis._timer = null;\r\n\t\t\tthis._color = false;\r\n\t\t\t// batch info\r\n\t\t\tthis._total_batch = 0;\r\n\t\t\tthis._current_batch = 0;\r\n\t\t\tthis._product_ids = [];\r\n\t\t\tthis._progress_per_batch = 0;\r\n\t\t\tthis._refresh = true;\r\n\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\tthis._regenerate = opts.generator.regenerate;\r\n\t\t\twindow.isRegenerating = false;\r\n\t\t\tthis._all_btn = $('.wpf_regenerate');\r\n\t\t\tthis._current_btn = $(`#${this._feed.replace( 'wf_config', 'wf_feed_' )}`);\r\n\t\t\tthis._current_btn_label = '';\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Init Hooks (Event)\r\n\t\t * @return {feedGenerator}\r\n\t\t */\r\n\t\tinit() {\r\n\t\t\tlet self = this;\r\n\t\t\tif ( '' !== this._feed && this._regenerate && false === window.isRegenerating ) {\r\n\t\t\t\tthis.generate();\r\n\t\t\t}\r\n\t\t\t$(document).on('click', '.wpf_regenerate', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tself._current_btn = $( this );\r\n\t\t\t\tif( self._current_btn.hasClass('disabled') || window.isRegenerating === true ) return;\r\n\t\t\t\tself._feed = self._current_btn.attr('id').replace( 'wf_feed_', 'wf_config' );\r\n\t\t\t\tif( '' !== self._feed ) {\r\n\t\t\t\t\tself.generate();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t_block_button() {\r\n\t\t\tif ( this._all_btn.length ) {\r\n\t\t\t\tthis._all_btn.addClass('disabled');\r\n\t\t\t}\r\n\t\t\tif ( this._current_btn.length ) {\r\n\t\t\t\tthis._current_btn.find('span').addClass('wpf_spin reverse_spin');\r\n\t\t\t\tthis._current_btn_label = this._current_btn.attr('title');\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tthis._current_btn.attr( 'aria-label', opts.regenerate ).attr( 'title', opts.regenerate );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t_unblock_button() {\r\n\t\t\tif ( this._all_btn.length ) {\r\n\t\t\t\tthis._all_btn.removeClass('disabled');\r\n\t\t\t}\r\n\t\t\tif ( this._current_btn.length ) {\r\n\t\t\t\tthis._current_btn.find('span').removeClass('wpf_spin');\r\n\t\t\t\tthis._current_btn.find('span').removeClass('reverse_spin');\r\n\t\t\t\tthis._current_btn.attr( 'aria-label', this._current_btn_label ).attr( 'title', this._current_btn_label );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Generate Feed\r\n\t\t * @return void\r\n\t\t */\r\n\t\tgenerate() {\r\n\t\t\tlet self = this;\r\n\t\t\twindow.isRegenerating = true;\r\n\t\t\tthis._block_button();\r\n\t\t\tthis._resetProgressBar();\r\n\t\t\tthis._progressBarActive();\r\n\t\t\tthis._log( 'Counting Total Products' );\r\n\t\t\tthis._updateProgressStatus( 'Fetching products.' );\r\n\t\t\tthis._get_product_ids().then( response => {\r\n\t\t\t\tthis._progress = 10;\r\n\t\t\t\tself._log( {response} );\r\n\t\t\t\tif(response.success) {\r\n\t\t\t\t\tself._log( `Total ${response.total} Products found.` );\r\n\t\t\t\t\tself._product_ids = response.product;\r\n\t\t\t\t\tself._total_batch = this._product_ids.length;\r\n\t\t\t\t\tself._current_batch = 0;\r\n\t\t\t\t\tself._progress_per_batch = ( 90 - this._progress ) / this._total_batch;\r\n\t\t\t\t\tself._process_batch();\r\n\t\t\t\t\tself._updateProgressStatus( 'Processing Products...' );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tself._updateProgressStatus( response.data.message );\r\n\t\t\t\t}\r\n\t\t\t}).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Get Product Ids\r\n\t\t * @returns {$.promise}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_get_product_ids() {\r\n\t\t\tthis._progress = 5;\r\n\t\t\treturn wpAjax.post( 'get_product_information', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t\tlimit: this._limit,\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Run the Batch\r\n\t\t * @private\r\n\t\t */\r\n\t\t_process_batch() {\r\n\t\t\tlet self = this;\r\n\t\t\tlet status = `Processing Batch ${this._current_batch+1} of ${this._total_batch}`;\r\n\t\t\tthis._updateProgressStatus( status );\r\n\t\t\tthis._log( status );\r\n\t\t\twpAjax.post( 'make_batch_feed', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t\tproducts: this._product_ids[this._current_batch],\r\n\t\t\t\tloop: this._current_batch,\r\n\t\t\t} ).then( response => {\r\n\t\t\t\tself._current_batch++;\r\n\t\t\t\tself._log( `Batch ${self._current_batch} Completed` );\r\n\t\t\t\tself._log( response );\r\n\t\t\t\tif ( self._current_batch < self._total_batch ) {\r\n\t\t\t\t\tself._process_batch();\r\n\t\t\t\t\tself._progress += self._progress_per_batch;\r\n\t\t\t\t}\r\n\t\t\t\tif ( self._current_batch === self._total_batch ) {\r\n\t\t\t\t\tself._save_feed_file();\r\n\t\t\t\t}\r\n\t\t\t} ).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Save Feed Data from temp to feed file\r\n\t\t * @private\r\n\t\t */\r\n\t\t_save_feed_file() {\r\n\t\t\tlet self = this;\r\n\t\t\tthis._log( 'Saving feed file' );\r\n\t\t\tthis._updateProgressStatus( 'Saving feed file' );\r\n\t\t\twpAjax.post( 'save_feed_file', {\r\n\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\tfeed: this._feed,\r\n\t\t\t} ).then( response => {\r\n\t\t\t\tself._log( response );\r\n\t\t\t\tself._progress = 100;\r\n\t\t\t\tif ( self._refresh ) {\r\n\t\t\t\t\twindow.location.href = `${opts.pages.list.feed}&link=${response.url}&cat=${response.cat}`;\r\n\t\t\t\t}\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\t\tself._resetProgressBar( true );\r\n\t\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t\t}, 3000 );\r\n\t\t\t\t}, 2500 );\r\n\t\t\t} ).fail( error => {\r\n\t\t\t\tself._log( error );\r\n\t\t\t\tself._updateProgressStatus( error.message );\r\n\t\t\t\tself._color = 'red';\r\n\t\t\t\tsetTimeout( function(){\r\n\t\t\t\t\tself._stopProgressBar();\r\n\t\t\t\t\tself._unblock_button();\r\n\t\t\t\t}, 1500 );\r\n\t\t\t} );\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Console log wrapper with debug settings.\r\n\t\t * @param data\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_log( data ) {\r\n\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\tif ( opts.wpf_debug ) {\r\n\t\t\t\tconsole.log( data );\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Run the progressbar refresh interval\r\n\t\t * @param {int} refreshInterval\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_progressBarActive( refreshInterval = 0 ) {\r\n\t\t\tlet self = this;\r\n\t\t\tthis._toggleProgressBar( true );\r\n\t\t\tthis._timer = setInterval( function(){\r\n\t\t\t\tself._updateProgressBar();\r\n\t\t\t}, refreshInterval || 1000 );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Stop Progressbar\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_stopProgressBar() {\r\n\t\t\tclearInterval( this._timer );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Reset Progressbar\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_resetProgressBar( update ) {\r\n\t\t\tthis._toggleProgressBar( false );\r\n\t\t\tthis._updateProgressStatus( '' );\r\n\t\t\tclearInterval( this._timer );\r\n\t\t\tthis._color = false;\r\n\t\t\tthis._timer = null;\r\n\t\t\tthis._progress = 0;\r\n\t\t\tif ( update ) {\r\n\t\t\t\tthis._updateProgressBar();\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Show hide the progress bar el\r\n\t\t * @param status\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_toggleProgressBar( status ) {\r\n\t\t\tlet table = $('#feed_progress_table');\r\n\t\t\tif ( status ) {\r\n\t\t\t\ttable.show();\r\n\t\t\t} else {\r\n\t\t\t\ttable.hide();\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Update Progress bar text status\r\n\t\t * @param {string} status\r\n\t\t * @returns {feedGenerator}\r\n\t\t * @private\r\n\t\t */\r\n\t\t_updateProgressStatus( status ) {\r\n\t\t\t$( '.feed-progress-status' ).text( status );\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\t\r\n\t\t/**\r\n\t\t * Update Progress Data\r\n\t\t * hooked with setInterval\r\n\t\t * @private\r\n\t\t */\r\n\t\t_updateProgressBar() {\r\n\t\t\tlet percentage = $( '.feed-progress-percentage' ),\r\n\t\t\t\tbar = $( '.feed-progress-bar-fill' ),\r\n\t\t\t\t_progress = `${Math.round( this._progress )}%`;\r\n\t\t\tbar.css( {\r\n\t\t\t\twidth: _progress,\r\n\t\t\t\tbackground: this._color || \"#3DC264\",\r\n\t\t\t} );\r\n\t\t\tpercentage.text( _progress );\r\n\t\t}\r\n\t}\r\n\t// expose to the global scope\r\n\twindow.wf = {\r\n\t\thelper: helper,\r\n\t\tfeedEditor: feedEditor,\r\n\t\tgenerator: feedGenerator,\r\n\t};\r\n\t$(window).load(function() {\r\n\t\t// Template loading ui conflict\r\n\t\tif ($(location).attr(\"href\").match(/webappick.*feed/g) !== null) {\r\n\t\t\t$('#wpbody-content').addClass('woofeed-body-content');\r\n\t\t}\r\n\t\t// ClipBoardJS\r\n\t\tclip();\r\n\t\t// postbox toggle\r\n\t\tpostboxes.add_postbox_toggles(pagenow);\r\n\t\t// initialize generator\r\n\t\tlet generator = new feedGenerator();\r\n\t\tgenerator.init();\r\n\t\t// noinspection JSUnresolvedVariable\r\n\t\tif( '' !== opts.generator.feed && opts.generator.regenerate ) {\r\n\t\t\r\n\t\t}\r\n\t\t// initialize editor\r\n\t\tfeedEditor.init();\r\n\t\thelper.common(); // Generate Feed Add Table Row\r\n\t\ttooltip();\r\n\t\t// validate feed editor\r\n\t\t$(\".generateFeed\").validate();\r\n\t\t// document events\r\n\t\t$(document)\r\n\t\t\t.on('click', '[data-toggle_slide]', function(e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$($(this).data('toggle_slide')).slideToggle('fast');\r\n\t\t\t})\r\n\t\t\t// XML Feed Wrapper\r\n\t\t\t.on('click', '#wf_newRow', function () {\r\n\t\t\t\tlet tbody = $('#table-1 tbody'),\r\n\t\t\t\t\ttemplate = $('#feed_config_template').text().trim().replace(/__idx__/g, tbody.find('tr').length);\r\n\t\t\t\ttbody.append(template);\r\n\t\t\t\thelper.fancySelect($('.outputType'));\r\n\t\t\t})\r\n\t\t\t// feed delete alert.\r\n\t\t\t.on('click', '.single-feed-delete', function (event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (confirm(opts.form.del_confirm)) {\r\n\t\t\t\t\twindow.location.href = $(this).attr('val');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// clear cache data.\r\n\t\t\t.on('click', '.wf_clean_cache_wrapper', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tvar nonce = $('.woo-feed-clean-cache-nonce').val();\r\n\t\t\t\tvar loader = $('.woo-feed-cache-loader');\r\n\r\n\t\t\t\t//show loader\r\n\t\t\t\tloader.show();\r\n\r\n\t\t\t\t// passed cache nonce\r\n\t\t\t\twpAjax.post('clear_cache_data', {\r\n\t\t\t\t\t_ajax_clean_nonce: nonce\r\n\t\t\t\t}).then(function (response) {\r\n\t\t\t\t\tif( response.success ) {\r\n\t\t\t\t\t\tloader.hide(); //hide loader\r\n\t\t\t\t\t}\r\n\t\t\t\t}).fail(function (e) {\r\n\t\t\t\t\tconsole.log('something wrong');\r\n\t\t\t\t});\r\n\r\n\t\t\t})\r\n\t\t\t// feed value dropdown change.\r\n\t\t\t.on('change', '.wf_attr.wf_attributes', function(event) {\r\n\t\t\t\tevent.preventDefault();\r\n\r\n\t\t\t\t$('.fancy-picker-picked').trigger(\"click\"); // trigger fancy select box clicked\r\n\r\n\t\t\t\t// price attributes\r\n\t\t\t\tvar price_attributes = ['price', 'current_price', 'sale_price', 'price_with_tax', 'current_price_with_tax', 'sale_price_with_tax'];\r\n\t\t\t\t// current value\r\n\t\t\t\tvar current_attribute_value = $(this).val();\r\n\t\t\t\tvar outputSelect = $(this).parents('tr').find('.outputType');\r\n\t\t\t\tvar fancyOption = $(this).parents('tr').find('.fancy-picker-content .fancy-picker-option');\r\n\t\t\t\tvar fancyDataPicker = $(this).parents('tr').find('.fancy-picker-data span');\r\n\t\t\t\tvar selectIf, selectKey;\r\n\r\n\t\t\t\t// when select any custom taxonomy\r\n\t\t\t\tif( \"\" !== current_attribute_value && -1 !== current_attribute_value.indexOf('wf_taxo') ) {\r\n\t\t\t\t\tselectIf = 'for_custom_taxo';\r\n\t\t\t\t\tselectKey = \"parent_if_empty\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// when select any price attribute\r\n\t\t\t\tif( price_attributes.includes(current_attribute_value) ) {\r\n\t\t\t\t\tselectIf = 'for_price';\r\n\t\t\t\t\tselectKey = \"Price\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// remove selected class from old selected option\r\n\t\t\t\tfancyOption.removeClass('selected');\r\n\r\n\t\t\t\t// when value dropdown is selected as price or any custom taxonomy\r\n\t\t\t\tif( selectIf === 'for_custom_taxo' || selectIf === 'for_price' ) {\r\n\r\n\t\t\t\t\t// update \"Option Type\" when select key matches\r\n\t\t\t\t\tfancyOption.each(function(item) {\r\n\t\t\t\t\t\tif( selectKey === $(this).text() ) {\r\n\t\t\t\t\t\t\t$(this).addClass('selected');\r\n\t\t\t\t\t\t\tfancyDataPicker.text(selectKey);\r\n\t\t\t\t\t\t\toutputSelect.find(\"option\").text(selectKey);\r\n\t\t\t\t\t\t\toutputSelect.find(\"option\").val( $(this).data('value') );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t})\r\n\t\t\t// bulk delete alert.\r\n\t\t\t.on('click', '#doaction, #doaction2', function () {\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\treturn confirm(opts.form.del_confirm_multi);\r\n\t\t\t})\r\n\t\t\t// Generate Feed Table Row Delete\r\n\t\t\t.on('change', '.dType', function () {\r\n\t\t\t\tlet self = $(this),\r\n\t\t\t\t\ttype = self.val(),\r\n\t\t\t\t\trow = self.closest('tr');\r\n\t\t\t\t\r\n\t\t\t\tif (type === 'pattern') {\r\n\t\t\t\t\trow.find('.value_attribute').hide();\r\n\t\t\t\t\trow.find('.value_pattern').show();\r\n\t\t\t\t} else if (type === 'attribute') {\r\n\t\t\t\t\trow.find('.value_attribute').show();\r\n\t\t\t\t\trow.find('.value_pattern').hide();\r\n\t\t\t\t} else if (type === 'remove') {\r\n\t\t\t\t\trow.find('.value_attribute').hide();\r\n\t\t\t\t\trow.find('.value_pattern').hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Generate Feed Form Submit\r\n\t\t\t.on('click', '.delRow', function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$(this).closest('tr').remove();\r\n\t\t\t\thelper.reindex_config_table();\r\n\t\t\t})\r\n\t\t\t.on('submit', '#generateFeed', function () {\r\n\t\t\t\t// Feed Generating form validation\r\n\t\t\t\t$(this).validate();\r\n\t\t\t\t\r\n\t\t\t\tif ($(this).valid()) {\r\n\t\t\t\t\t$(\".makeFeedResponse\")\r\n\t\t\t\t\t\t.show()\r\n\t\t\t\t\t\t.html(`<b style=\"color: darkblue;\"><i class=\"dashicons dashicons-sos wpf_spin\"></i> ${opts.form.generate}</b>`); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Generate Update Feed Form Submit\r\n\t\t\t.on('submit', '#updatefeed', function (e, data) {\r\n\t\t\t\t// Feed Generating form validation\r\n\t\t\t\t$(this).validate();\r\n\t\t\t\t\r\n\t\t\t\tif ($(this).valid()) {\r\n\t\t\t\t\t$(\".makeFeedResponse\")\r\n\t\t\t\t\t\t.show()\r\n\t\t\t\t\t\t.html(`<b style=\"color: darkblue;\"><i class=\"dashicons dashicons-sos wpf_spin\"></i> ${data && data.save ? opts.form.save : opts.form.generate}</b>`); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.ftporsftp', function () {\r\n\t\t\t\tlet server = $(this).val(),\r\n\t\t\t\t\tstatus = $('.ssh2_status');\r\n\t\t\t\t\r\n\t\t\t\tif (server === 'sftp') {\r\n\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\tstatus.show().css('color', 'dodgerblue').text(opts.form.sftp_checking);\r\n\t\t\t\t\twpAjax.post('get_ssh2_status', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tserver: server\r\n\t\t\t\t\t}).then(function (response) {\r\n\t\t\t\t\t\tif (response === 'exists') {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\tstatus.css('color', '#2CC185').text(opts.form.sftp_available);\r\n\t\t\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\t\t\tstatus.hide();\r\n\t\t\t\t\t\t\t}, 1500);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\t\tstatus.show().css('color', 'red').text(opts.form.sftp_warning);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).fail(function (e) {\r\n\t\t\t\t\t\tstatus.hide();\r\n\t\t\t\t\t\thelper.ajax_fail(e);\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstatus.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('click', '[name=\"save_feed_config\"]', function (e) {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\t$('#updatefeed').trigger('submit', {\r\n\t\t\t\t\tsave: true\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.on('change', '#provider', function (event) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\r\n\t\t\t\tif (!$(this).closest('.generateFeed').hasClass('add-new')) return; // only for new feed.\r\n\t\t\t\t\r\n\t\t\t\tlet merchant = $(this).val(),\r\n\t\t\t\t\tfeedType = $(\"#feedType\"),\r\n\t\t\t\t\tfeedForm = $(\"#providerPage\"),\r\n\t\t\t\t\tmerchantInfo = $('#feed_merchant_info'); // set loading..\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tfeedForm.html('<h3><span style=\"float:none;margin: -3px 0 0;\" class=\"spinner is-active\"></span> ' + opts.form.loading_tmpl + '</h3>'); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html, WordPressVIPMinimum.JS.StringConcat.Found\r\n\t\t\t\t\r\n\t\t\t\tmerchantInfo.find('.spinner').addClass('is-active');\r\n\t\t\t\tfeedType.disabled(!0); // disable dropdown\r\n\t\t\t\t\r\n\t\t\t\tfeedType.parent().find('.spinner').addClass('is-active');\r\n\t\t\t\tmerchantInfo.find('.merchant-info-section .data').html(''); // remove previous data\r\n\t\t\t\t// Get Merchant info for selected Provider/Merchant\r\n\t\t\t\t\r\n\t\t\t\tif (merchantInfoCache.hasOwnProperty(merchant)) {\r\n\t\t\t\t\tfeedEditor.renderMerchantInfo(merchantInfo, feedType, merchantInfoCache[merchant]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twpAjax.send('woo_feed_get_merchant_info', {\r\n\t\t\t\t\t\ttype: 'GET',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\tnonce: opts.nonce,\r\n\t\t\t\t\t\t\tprovider: merchant\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\tmerchantInfoCache[merchant] = r;\r\n\t\t\t\t\t\tfeedEditor.renderMerchantInfo(merchantInfo, feedType, r);\r\n\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t} // Get FeedForm For Selected Provider/Merchant\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif (merchantTemplateCache.hasOwnProperty(merchant)) {\r\n\t\t\t\t\tfeedEditor.renderMerchantTemplate(feedForm, merchantTemplateCache[merchant]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twpAjax.post('get_feed_merchant', {\r\n\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\tmerchant: merchant\r\n\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\tmerchantTemplateCache[merchant] = r;\r\n\t\t\t\t\t\tfeedEditor.renderMerchantTemplate(feedForm, r);\r\n\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// Feed Active and Inactive status change via ajax\r\n\t\t\t.on('change', '.woo_feed_status_input', function () {\r\n\t\t\t\tlet self = $(this);\r\n\t\t\t\twpAjax.post('update_feed_status', {\r\n\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\tfeedName: self.val(),\r\n\t\t\t\t\tstatus: self[0].checked ? 1 : 0\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t// event with trigger\r\n\t\t$(document)\r\n\t\t\t.on('change', '[name=\"is_outOfStock\"], [name=\"product_visibility\"]', function () {\r\n\t\t\t\tlet outOfStockVisibilityRow = $('.out-of-stock-visibility');\r\n\t\t\t\tif ($('[name=\"is_outOfStock\"]:checked').val() === 'n' && $('[name=\"product_visibility\"]:checked').val() === '1') {\r\n\t\t\t\t\toutOfStockVisibilityRow.show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\toutOfStockVisibilityRow.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.attr_type', function () {\r\n\t\t\t\t// Attribute type selection\r\n\t\t\t\tlet self = $(this),\r\n\t\t\t\t\ttype = self.val(),\r\n\t\t\t\t\trow = self.closest('tr');\r\n\t\t\t\t\r\n\t\t\t\tif (type === 'pattern') {\r\n\t\t\t\t\trow.find('.wf_attr').hide();\r\n\t\t\t\t\trow.find('.wf_attr').val('');\r\n\t\t\t\t\trow.find('.wf_default').show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\trow.find('.wf_attr').show();\r\n\t\t\t\t\trow.find('.wf_default').hide();\r\n\t\t\t\t\trow.find('.wf_default').val('');\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '.wf_mattributes, .attr_type', function () {\r\n\t\t\t\tlet row = $(this).closest('tr'),\r\n\t\t\t\t\tattribute = row.find('.wf_mattributes'),\r\n\t\t\t\t\ttype = row.find('.attr_type'),\r\n\t\t\t\t\tvalueColumn = row.find('td:eq(4)'),\r\n\t\t\t\t\tprovider = $('#provider').val();\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (opts.form.google_category.hasOwnProperty(attribute.val()) && type.val() === 'pattern' && helper.in_array(provider, opts.form.google_category[attribute.val()])) {\r\n\t\t\t\t\tif (valueColumn.find('select.selectize').length === 0) {\r\n\t\t\t\t\t\tvalueColumn.find('input.wf_default').remove();\r\n\t\t\t\t\t\tvalueColumn.append('<span class=\"wf_default wf_attributes\"><select name=\"default[]\" class=\"selectize\"></select></span>');\r\n\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\tvalueColumn.append(`<span style=\"font-size:x-small;\"><a style=\"color: red\" href=\"http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category\" target=\"_blank\">${opts.learn_more}</a></span>`);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (!googleCategories) {\r\n\t\t\t\t\t\t\tvalueColumn.append('<span class=\"spinner is-active\" style=\"margin: 0;\"></span>');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tlet select = valueColumn.find('.wf_attributes select');\r\n\t\t\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\t\t\thelper.selectize(select, {\r\n\t\t\t\t\t\t\tpreload: true,\r\n\t\t\t\t\t\t\tplaceholder: opts.form.select_category,\r\n\t\t\t\t\t\t\tload: function load(query, cb) {\r\n\t\t\t\t\t\t\t\tif (!googleCategories) {\r\n\t\t\t\t\t\t\t\t\twpAjax.send('get_google_categories', {\r\n\t\t\t\t\t\t\t\t\t\ttype: 'GET',\r\n\t\t\t\t\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\t\t\t\t_ajax_nonce: opts.nonce,\r\n\t\t\t\t\t\t\t\t\t\t\taction: \"get_google_categories\",\r\n\t\t\t\t\t\t\t\t\t\t\tprovider: provider\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}).then(function (r) {\r\n\t\t\t\t\t\t\t\t\t\tgoogleCategories = r;\r\n\t\t\t\t\t\t\t\t\t\tcb(googleCategories);\r\n\t\t\t\t\t\t\t\t\t\tvalueColumn.find('.spinner').remove();\r\n\t\t\t\t\t\t\t\t\t}).fail(helper.ajax_fail);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tcb(googleCategories);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (attribute.val() !== 'current_category' && valueColumn.find('input.wf_default').length === 0) {\r\n\t\t\t\t\t\tvalueColumn.find('span').remove();\r\n\t\t\t\t\t\tvalueColumn.append('<input autocomplete=\"off\" class=\"wf_default wf_attributes\" type=\"text\" name=\"default[]\" value=\"\">');\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (type.val() !== 'pattern') {\r\n\t\t\t\t\t\t\tvalueColumn.find('input.wf_default').hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.on('change', '#feedType,#provider', function () {\r\n\t\t\t\tlet type = $('#feedType').val(),\r\n\t\t\t\t\tprovider = $('#provider').val(),\r\n\t\t\t\t\titemWrapper = $('.itemWrapper'),\r\n\t\t\t\t\twf_csv_txt = $('.wf_csvtxt');\r\n\t\t\t\t\r\n\t\t\t\t// noinspection JSUnresolvedVariable\r\n\t\t\t\tif (type !== '' && helper.in_array(provider, opts.form.item_wrapper_hidden)) {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t} else if (type === 'xml') {\r\n\t\t\t\t\titemWrapper.show();\r\n\t\t\t\t\twf_csv_txt.hide();\r\n\t\t\t\t} else if (type === 'csv' || type === 'txt') {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t\twf_csv_txt.show();\r\n\t\t\t\t} else {\r\n\t\t\t\t\titemWrapper.hide();\r\n\t\t\t\t\twf_csv_txt.hide();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.trigger('change');\r\n\t});\r\n})(jQuery, window, document, wp.ajax, wpf_ajax_obj);\r\n"]}
admin/partials/woo-feed-content-settings.php CHANGED
@@ -22,7 +22,10 @@ global $feedRules, $wooFeedDropDown, $merchant;
22
  <table class="widefat fixed">
23
  <thead>
24
  <tr>
25
- <th colspan="2"><?php _e( 'Content Settings', 'woo-feed' ); ?></th>
 
 
 
26
  </tr>
27
  </thead>
28
  <tbody>
22
  <table class="widefat fixed">
23
  <thead>
24
  <tr>
25
+ <th colspan="2" class="woo-feed-table-heading">
26
+ <span class="woo-feed-table-heading-title"><?php _e( 'Content Settings', 'woo-feed' ); ?></span>
27
+ <?php woo_feed_clear_cache_button(); ?>
28
+ </th>
29
  </tr>
30
  </thead>
31
  <tbody>
admin/partials/woo-feed-manage-list.php CHANGED
@@ -98,10 +98,10 @@ if ( ( isset( $_GET['feed_created'] ) || isset( $_GET['feed_updated'] ) || isset
98
  <tbody>
99
  <tr>
100
  <td>
101
- <form action="" method="post">
102
  <?php wp_nonce_field( 'wf_schedule', 'wf_schedule_nonce' ); ?>
103
  <label for="wf_schedule"><b><?php _e( 'Interval', 'woo-feed' ); ?></b></label>
104
- <select name="wf_schedule" id="wf_schedule">
105
  <?php
106
  $interval = get_option( 'wf_schedule' );
107
  foreach ( woo_feed_get_schedule_interval_options() as $k => $v ) {
@@ -110,6 +110,7 @@ if ( ( isset( $_GET['feed_created'] ) || isset( $_GET['feed_updated'] ) || isset
110
  ?>
111
  </select>
112
  <button type="submit" class="button button-primary"><?php esc_html_e( 'Update Interval', 'woo-feed' ); ?></button>
 
113
  </form>
114
  </td>
115
  </tr>
98
  <tbody>
99
  <tr>
100
  <td>
101
+ <form action="" method="post" style="display: flex;align-items: center;">
102
  <?php wp_nonce_field( 'wf_schedule', 'wf_schedule_nonce' ); ?>
103
  <label for="wf_schedule"><b><?php _e( 'Interval', 'woo-feed' ); ?></b></label>
104
+ <select name="wf_schedule" id="wf_schedule" style="margin: 0 5px;">
105
  <?php
106
  $interval = get_option( 'wf_schedule' );
107
  foreach ( woo_feed_get_schedule_interval_options() as $k => $v ) {
110
  ?>
111
  </select>
112
  <button type="submit" class="button button-primary"><?php esc_html_e( 'Update Interval', 'woo-feed' ); ?></button>
113
+ <?php woo_feed_clear_cache_button(); ?>
114
  </form>
115
  </td>
116
  </tr>
includes/helper.php CHANGED
@@ -2728,4 +2728,53 @@ if( ! function_exists( 'woo_feed_save_identifier_fields_data_for_variation' ) )
2728
  }
2729
 
2730
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2731
  // End of file helper.php.
2728
  }
2729
 
2730
 
2731
+ if( ! function_exists( 'woo_feed_clear_cache_button' ) ) {
2732
+ /**
2733
+ * Clear cache button.
2734
+ *
2735
+ * @return void
2736
+ * @since 4.1.2
2737
+ */
2738
+ function woo_feed_clear_cache_button() {
2739
+ ?>
2740
+ <div class="wf_clean_cache_wrapper">
2741
+ <img class="woo-feed-cache-loader" src="data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2019.0.0%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Capa_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%20458.186%20458.186%22%20style%3D%22enable-background%3Anew%200%200%20458.186%20458.186%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cg%3E%0D%0A%09%3Cg%3E%0D%0A%09%09%3Cpath%20d%3D%22M445.651%2C201.95c-1.485-9.308-10.235-15.649-19.543-14.164c-9.308%2C1.485-15.649%2C10.235-14.164%2C19.543%0D%0A%09%09%09c0.016%2C0.102%2C0.033%2C0.203%2C0.051%2C0.304c17.38%2C102.311-51.47%2C199.339-153.781%2C216.719c-102.311%2C17.38-199.339-51.47-216.719-153.781%0D%0A%09%09%09S92.966%2C71.232%2C195.276%2C53.852c62.919-10.688%2C126.962%2C11.29%2C170.059%2C58.361l-75.605%2C25.19%0D%0A%09%09%09c-8.944%2C2.976-13.781%2C12.638-10.806%2C21.582c0.001%2C0.002%2C0.002%2C0.005%2C0.003%2C0.007c2.976%2C8.944%2C12.638%2C13.781%2C21.582%2C10.806%0D%0A%09%09%09c0.003-0.001%2C0.005-0.002%2C0.007-0.002l102.4-34.133c6.972-2.322%2C11.675-8.847%2C11.674-16.196v-102.4%0D%0A%09%09%09C414.59%2C7.641%2C406.949%2C0%2C397.523%2C0s-17.067%2C7.641-17.067%2C17.067v62.344C292.564-4.185%2C153.545-0.702%2C69.949%2C87.19%0D%0A%09%09%09s-80.114%2C226.911%2C7.779%2C310.508s226.911%2C80.114%2C310.508-7.779C435.905%2C339.799%2C457.179%2C270.152%2C445.651%2C201.95z%22%2F%3E%0D%0A%09%3C%2Fg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3Cg%3E%0D%0A%3C%2Fg%3E%0D%0A%3C%2Fsvg%3E%0D%0A" alt="loader">
2742
+ <input type="hidden" class="woo-feed-clean-cache-nonce" value="<?php echo wp_create_nonce( 'clean_cache_nonce', 'clean_cache_nonce' ); ?>">
2743
+ <button type="button"><?php esc_html_e( 'Clear Cache', 'woo-feed' ); ?></button>
2744
+ </div>
2745
+ <?php
2746
+ }
2747
+ }
2748
+
2749
+ if( ! function_exists( 'woo_feed_clear_cache_data' ) ) {
2750
+ /**
2751
+ * Clear cache data.
2752
+ *
2753
+ * @param int _ajax_clean_nonce nonce number.
2754
+ *
2755
+ * @since 4.1.2
2756
+ */
2757
+ function woo_feed_clear_cache_data() {
2758
+ if ( isset( $_REQUEST['_ajax_clean_nonce'] ) ) {
2759
+
2760
+ if( wp_verify_nonce( sanitize_text_field( $_REQUEST['_ajax_clean_nonce'] ), 'clean_cache_nonce' ) ) {
2761
+ $data = [];
2762
+
2763
+ global $wpdb;
2764
+ $wpdb->query( "DELETE FROM $wpdb->options WHERE ({$wpdb->options}.option_name LIKE '_transient_timeout___woo_feed_cache_%') OR ({$wpdb->options}.option_name LIKE '_transient___woo_feed_cache_%')" ); // phpcs:ignore
2765
+
2766
+ $data = [ 'success' => true];
2767
+
2768
+ wp_send_json_success( $data );
2769
+ }
2770
+
2771
+ } else {
2772
+ wp_send_json_error( esc_html__( 'Invalid Request.', 'woo-feed' ) );
2773
+ }
2774
+ wp_die();
2775
+ }
2776
+ }
2777
+ add_action( 'wp_ajax_clear_cache_data', 'woo_feed_clear_cache_data' );
2778
+
2779
+
2780
  // End of file helper.php.
woo-feed.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
  *
14
- * Version: 3.8.3
15
  * Author: WebAppick
16
  * Author URI: https://webappick.com/
17
  * License: GPL v2
@@ -39,7 +39,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
39
  * @var string
40
  * @since 3.1.6
41
  */
42
- define( 'WOO_FEED_FREE_VERSION', '3.8.3' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
  *
14
+ * Version: 3.8.4
15
  * Author: WebAppick
16
  * Author URI: https://webappick.com/
17
  * License: GPL v2
39
  * @var string
40
  * @since 3.1.6
41
  */
42
+ define( 'WOO_FEED_FREE_VERSION', '3.8.4' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {