@total_onion/onion-library 2.0.126 → 2.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/components/block-post-type-filter-grid-v3/group_64690c62487bc.json +224 -92
  2. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/buy-now-widget.vue +5 -5
  3. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/global-image-widget.vue +1 -1
  4. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-author-widget.vue +1 -1
  5. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-category-widget.vue +1 -1
  6. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-component.vue +2 -59
  7. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-headline-widget.vue +1 -1
  8. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-image-widget.vue +5 -5
  9. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-info-description.vue +2 -1
  10. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-info-subtitle.vue +2 -1
  11. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-link-widget.vue +3 -3
  12. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-publish-widget.vue +1 -1
  13. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-title-widget.vue +1 -1
  14. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/ptfg-utils.vue +10 -10
  15. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/shopify-add-to-cart.vue +6 -12
  16. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/spacer-widget.vue +1 -1
  17. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.js +1 -1
  18. package/package.json +1 -1
  19. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/cocktail-category.vue +0 -40
  20. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/cocktail-tasting-notes.vue +0 -15
  21. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/drink-tastes.vue +0 -26
  22. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/featured-post-component.vue +0 -62
  23. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/person-email-widget.vue +0 -20
  24. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/person-name-widget.vue +0 -15
  25. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/person-questionaire-widget.vue +0 -17
  26. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/person-rating-widget.vue +0 -25
  27. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-abv.vue +0 -18
  28. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-age-statement.vue +0 -17
  29. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-bazaarvoice.vue +0 -15
  30. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-brand.vue +0 -16
  31. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-cask-type.vue +0 -16
  32. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-country.vue +0 -14
  33. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-description.vue +0 -15
  34. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-details-name.vue +0 -18
  35. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-details-price.vue +0 -15
  36. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-finish.vue +0 -15
  37. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-history.vue +0 -16
  38. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-link.vue +0 -15
  39. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-logo-widget.vue +0 -22
  40. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-name.vue +0 -17
  41. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-nose.vue +0 -16
  42. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-price.vue +0 -15
  43. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-slug.vue +0 -14
  44. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-taste.vue +0 -16
  45. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/product-whisky-type.vue +0 -25
  46. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/social-media-item.vue +0 -58
@@ -37,15 +37,14 @@
37
37
  "id": ""
38
38
  },
39
39
  "choices": {
40
- "__page": "Page",
41
- "__cocktail": "Cocktail",
42
- "__drink": "Drink",
43
- "__product": "Product",
44
- "__post": "Post",
45
- "__media": "Media",
46
- "__person": "Person"
47
- },
48
- "default_value": "__product",
40
+ "page": "Page",
41
+ "cocktail": "Cocktail",
42
+ "drink": "Drink",
43
+ "product": "Product",
44
+ "post": "Post",
45
+ "media": "Media"
46
+ },
47
+ "default_value": "post",
49
48
  "return_format": "value",
50
49
  "multiple": 0,
51
50
  "max": "",
@@ -815,6 +814,161 @@
815
814
  "acfe_flexible_category": false,
816
815
  "acfe_layout_col": "auto",
817
816
  "acfe_layout_allowed_col": false
817
+ },
818
+ "layout_691251abeb753": {
819
+ "key": "layout_691251abeb753",
820
+ "name": "spacer",
821
+ "label": "Spacer",
822
+ "display": "block",
823
+ "sub_fields": [
824
+ {
825
+ "key": "field_691251abeb755",
826
+ "label": "Grid Layout",
827
+ "name": "",
828
+ "aria-label": "",
829
+ "type": "tab",
830
+ "instructions": "",
831
+ "required": 0,
832
+ "conditional_logic": 0,
833
+ "wrapper": {
834
+ "width": "",
835
+ "class": "",
836
+ "id": ""
837
+ },
838
+ "placement": "top",
839
+ "endpoint": 0,
840
+ "no_preference": 0,
841
+ "selected": 0
842
+ },
843
+ {
844
+ "key": "field_691251abeb756",
845
+ "label": "Grid layout fields",
846
+ "name": "grid_layout_fields",
847
+ "aria-label": "",
848
+ "type": "clone",
849
+ "instructions": "",
850
+ "required": 0,
851
+ "conditional_logic": 0,
852
+ "wrapper": {
853
+ "width": "",
854
+ "class": "",
855
+ "id": ""
856
+ },
857
+ "clone": [
858
+ "group_68822860bda9f"
859
+ ],
860
+ "display": "seamless",
861
+ "layout": "block",
862
+ "prefix_label": 0,
863
+ "prefix_name": 0,
864
+ "acfe_seamless_style": 0,
865
+ "acfe_clone_modal": 0,
866
+ "acfe_clone_modal_close": 0,
867
+ "acfe_clone_modal_button": "",
868
+ "acfe_clone_modal_size": "large"
869
+ },
870
+ {
871
+ "key": "field_691251b9eb757",
872
+ "label": "Settings",
873
+ "name": "",
874
+ "aria-label": "",
875
+ "type": "tab",
876
+ "instructions": "",
877
+ "required": 0,
878
+ "conditional_logic": 0,
879
+ "wrapper": {
880
+ "width": "",
881
+ "class": "",
882
+ "id": ""
883
+ },
884
+ "placement": "top",
885
+ "endpoint": 0,
886
+ "no_preference": 0,
887
+ "selected": 0
888
+ },
889
+ {
890
+ "key": "field_691251c9eb758",
891
+ "label": "Size desktop",
892
+ "name": "size_desktop",
893
+ "aria-label": "",
894
+ "type": "number",
895
+ "instructions": "",
896
+ "required": 0,
897
+ "conditional_logic": 0,
898
+ "wrapper": {
899
+ "width": "",
900
+ "class": "",
901
+ "id": ""
902
+ },
903
+ "default_value": "0.25",
904
+ "min": "",
905
+ "max": "",
906
+ "allow_in_bindings": 0,
907
+ "placeholder": "",
908
+ "step": "0.125",
909
+ "prepend": "",
910
+ "append": ""
911
+ },
912
+ {
913
+ "key": "field_691251f0eb759",
914
+ "label": "Size portrait",
915
+ "name": "size_portrait",
916
+ "aria-label": "",
917
+ "type": "number",
918
+ "instructions": "",
919
+ "required": 0,
920
+ "conditional_logic": 0,
921
+ "wrapper": {
922
+ "width": "",
923
+ "class": "",
924
+ "id": ""
925
+ },
926
+ "default_value": "0.25",
927
+ "min": "",
928
+ "max": "",
929
+ "allow_in_bindings": 0,
930
+ "placeholder": "",
931
+ "step": "0.125",
932
+ "prepend": "",
933
+ "append": ""
934
+ },
935
+ {
936
+ "key": "field_691251f5eb75a",
937
+ "label": "Size mobile",
938
+ "name": "size_mobile",
939
+ "aria-label": "",
940
+ "type": "number",
941
+ "instructions": "",
942
+ "required": 0,
943
+ "conditional_logic": 0,
944
+ "wrapper": {
945
+ "width": "",
946
+ "class": "",
947
+ "id": ""
948
+ },
949
+ "default_value": "0.25",
950
+ "min": "",
951
+ "max": "",
952
+ "allow_in_bindings": 0,
953
+ "placeholder": "",
954
+ "step": "0.125",
955
+ "prepend": "",
956
+ "append": ""
957
+ }
958
+ ],
959
+ "min": "",
960
+ "max": "",
961
+ "acfe_flexible_render_template": false,
962
+ "acfe_flexible_render_style": false,
963
+ "acfe_flexible_render_script": false,
964
+ "acfe_flexible_thumbnail": false,
965
+ "acfe_flexible_settings": false,
966
+ "acfe_flexible_settings_size": "medium",
967
+ "acfe_layout_locations": [],
968
+ "acfe_flexible_modal_edit_size": false,
969
+ "acfe_flexible_category": false,
970
+ "acfe_layout_col": "auto",
971
+ "acfe_layout_allowed_col": false
818
972
  }
819
973
  },
820
974
  "min": "",
@@ -929,15 +1083,10 @@
929
1083
  "class": "",
930
1084
  "id": ""
931
1085
  },
932
- "wpml_cf_preferences": 3,
933
1086
  "choices": {
934
- "__1": "Layout 1",
935
- "__2": "Layout 2",
936
- "__3": "Layout 3",
937
- "__4": "Layout 4",
938
- "__5": "Layout 5"
1087
+ "1": "1"
939
1088
  },
940
- "default_value": "__1",
1089
+ "default_value": 1,
941
1090
  "return_format": "value",
942
1091
  "multiple": 0,
943
1092
  "max": "",
@@ -946,12 +1095,13 @@
946
1095
  "prepend": "",
947
1096
  "append": "",
948
1097
  "allow_null": 0,
1098
+ "allow_in_bindings": 1,
949
1099
  "ui": 1,
950
1100
  "ajax": 1,
951
1101
  "placeholder": "",
952
- "min": "",
953
1102
  "create_options": 0,
954
- "save_options": 0
1103
+ "save_options": 0,
1104
+ "min": ""
955
1105
  },
956
1106
  {
957
1107
  "key": "field_6762aaace9a5c",
@@ -1252,13 +1402,12 @@
1252
1402
  "class": "",
1253
1403
  "id": ""
1254
1404
  },
1255
- "wpml_cf_preferences": 3,
1256
1405
  "choices": {
1257
- "__default": "Default",
1258
- "__menu-order": "Menu order",
1259
- "__postorder": "Post order"
1406
+ "default": "Default",
1407
+ "menu-order": "Menu order",
1408
+ "postorder": "Post order"
1260
1409
  },
1261
- "default_value": "__default",
1410
+ "default_value": "default",
1262
1411
  "return_format": "value",
1263
1412
  "multiple": 0,
1264
1413
  "max": "",
@@ -1267,12 +1416,13 @@
1267
1416
  "prepend": "",
1268
1417
  "append": "",
1269
1418
  "allow_null": 0,
1419
+ "allow_in_bindings": 1,
1270
1420
  "ui": 1,
1271
1421
  "ajax": 1,
1272
1422
  "placeholder": "",
1273
- "min": "",
1274
1423
  "create_options": 0,
1275
- "save_options": 0
1424
+ "save_options": 0,
1425
+ "min": ""
1276
1426
  },
1277
1427
  {
1278
1428
  "key": "field_652ad198acb03",
@@ -2967,31 +3117,28 @@
2967
3117
  "class": "",
2968
3118
  "id": ""
2969
3119
  },
2970
- "wpml_cf_preferences": 3,
2971
- "user_roles": [
2972
- "administrator"
2973
- ],
2974
3120
  "choices": {
2975
- "__none": "None",
2976
- "__colour-palette": "Colour palette",
2977
- "__post-colour": "Post colour primary",
2978
- "__post-colour-secondary": "Post colour secondary"
3121
+ "none": "None",
3122
+ "colour-palette": "Colour palette",
3123
+ "post-colour": "Post colour primary",
3124
+ "post-colour-secondary": "Post colour secondary"
2979
3125
  },
2980
- "default_value": "__none",
3126
+ "default_value": "none",
2981
3127
  "return_format": "value",
2982
3128
  "multiple": 0,
2983
3129
  "max": "",
2984
3130
  "prepend": "",
2985
3131
  "append": "",
2986
3132
  "allow_null": 0,
3133
+ "allow_in_bindings": 1,
2987
3134
  "ui": 0,
2988
3135
  "ajax": 0,
2989
3136
  "placeholder": "",
3137
+ "create_options": 0,
3138
+ "save_options": 0,
2990
3139
  "allow_custom": 0,
2991
3140
  "search_placeholder": "",
2992
- "min": "",
2993
- "create_options": 0,
2994
- "save_options": 0
3141
+ "min": ""
2995
3142
  },
2996
3143
  {
2997
3144
  "key": "field_651163bbd2bde",
@@ -3195,31 +3342,28 @@
3195
3342
  "class": "",
3196
3343
  "id": ""
3197
3344
  },
3198
- "wpml_cf_preferences": 3,
3199
- "user_roles": [
3200
- "administrator"
3201
- ],
3202
3345
  "choices": {
3203
- "__flex-start": "Top",
3204
- "__center": "Center",
3205
- "__flex-end": "Bottom",
3206
- "__stretch": "Stretch"
3346
+ "flex-start": "Top",
3347
+ "center": "Center",
3348
+ "flex-end": "Bottom",
3349
+ "stretch": "Stretch"
3207
3350
  },
3208
- "default_value": "__flex-start",
3351
+ "default_value": "flex-start",
3209
3352
  "return_format": "value",
3210
3353
  "multiple": 0,
3211
3354
  "max": "",
3212
3355
  "prepend": "",
3213
3356
  "append": "",
3214
3357
  "allow_null": 0,
3358
+ "allow_in_bindings": 1,
3215
3359
  "ui": 0,
3216
3360
  "ajax": 0,
3217
3361
  "placeholder": "",
3362
+ "create_options": 0,
3363
+ "save_options": 0,
3218
3364
  "allow_custom": 0,
3219
3365
  "search_placeholder": "",
3220
- "min": "",
3221
- "create_options": 0,
3222
- "save_options": 0
3366
+ "min": ""
3223
3367
  },
3224
3368
  {
3225
3369
  "key": "field_64eb8a98c094b",
@@ -3235,30 +3379,27 @@
3235
3379
  "class": "",
3236
3380
  "id": ""
3237
3381
  },
3238
- "wpml_cf_preferences": 3,
3239
- "user_roles": [
3240
- "administrator"
3241
- ],
3242
3382
  "choices": {
3243
- "__auto": "Auto",
3244
- "__1fr": "1fr",
3245
- "__max-content": "Max content"
3383
+ "auto": "Auto",
3384
+ "1fr": "1fr",
3385
+ "max-content": "Max content"
3246
3386
  },
3247
- "default_value": "__auto",
3387
+ "default_value": "auto",
3248
3388
  "return_format": "value",
3249
3389
  "multiple": 0,
3250
3390
  "max": "",
3251
3391
  "prepend": "",
3252
3392
  "append": "",
3253
3393
  "allow_null": 0,
3394
+ "allow_in_bindings": 1,
3254
3395
  "ui": 0,
3255
3396
  "ajax": 0,
3256
3397
  "placeholder": "",
3398
+ "create_options": 0,
3399
+ "save_options": 0,
3257
3400
  "allow_custom": 0,
3258
3401
  "search_placeholder": "",
3259
- "min": "",
3260
- "create_options": 0,
3261
- "save_options": 0
3402
+ "min": ""
3262
3403
  },
3263
3404
  {
3264
3405
  "key": "field_651a989d3476c",
@@ -3305,16 +3446,12 @@
3305
3446
  "class": "",
3306
3447
  "id": ""
3307
3448
  },
3308
- "wpml_cf_preferences": 3,
3309
- "user_roles": [
3310
- "administrator"
3311
- ],
3312
3449
  "choices": {
3313
- "__auto": "Auto",
3314
- "__1fr": "1fr",
3315
- "__max-content": "Max content"
3450
+ "auto": "Auto",
3451
+ "1fr": "1fr",
3452
+ "max-content": "Max content"
3316
3453
  },
3317
- "default_value": "__auto",
3454
+ "default_value": "auto",
3318
3455
  "return_format": "value",
3319
3456
  "multiple": 0,
3320
3457
  "max": "",
@@ -3323,12 +3460,13 @@
3323
3460
  "prepend": "",
3324
3461
  "append": "",
3325
3462
  "allow_null": 0,
3463
+ "allow_in_bindings": 1,
3326
3464
  "ui": 1,
3327
3465
  "ajax": 1,
3328
3466
  "placeholder": "",
3329
- "min": "",
3330
3467
  "create_options": 0,
3331
- "save_options": 0
3468
+ "save_options": 0,
3469
+ "min": ""
3332
3470
  },
3333
3471
  {
3334
3472
  "key": "field_651a98cb3476d",
@@ -3475,16 +3613,12 @@
3475
3613
  "class": "",
3476
3614
  "id": ""
3477
3615
  },
3478
- "wpml_cf_preferences": 3,
3479
- "user_roles": [
3480
- "administrator"
3481
- ],
3482
3616
  "choices": {
3483
- "__colour-palette": "Colour palette",
3484
- "__post-colour": "Post colour",
3485
- "__post-colour-secondary": "Secondary post colour"
3617
+ "colour-palette": "Colour palette",
3618
+ "post-colour": "Post colour",
3619
+ "post-colour-secondary": "Secondary post colour"
3486
3620
  },
3487
- "default_value": "__none",
3621
+ "default_value": "none",
3488
3622
  "return_format": "value",
3489
3623
  "multiple": 0,
3490
3624
  "max": "",
@@ -3493,12 +3627,13 @@
3493
3627
  "prepend": "",
3494
3628
  "append": "",
3495
3629
  "allow_null": 0,
3630
+ "allow_in_bindings": 1,
3496
3631
  "ui": 1,
3497
3632
  "ajax": 1,
3498
3633
  "placeholder": "",
3499
- "min": "",
3500
3634
  "create_options": 0,
3501
- "save_options": 0
3635
+ "save_options": 0,
3636
+ "min": ""
3502
3637
  },
3503
3638
  {
3504
3639
  "key": "field_64ea83f40a9ea",
@@ -3568,19 +3703,15 @@
3568
3703
  "class": "",
3569
3704
  "id": ""
3570
3705
  },
3571
- "wpml_cf_preferences": 3,
3572
- "user_roles": [
3573
- "administrator"
3574
- ],
3575
3706
  "choices": {
3576
- "__top": "Top",
3577
- "__right": "Right",
3578
- "__bottom": "Bottom",
3579
- "__left": "Left",
3707
+ "top": "Top",
3708
+ "right": "Right",
3709
+ "bottom": "Bottom",
3710
+ "left": "Left",
3580
3711
  "__vertical": "Vertical",
3581
3712
  "__horizontal": "Horizontal"
3582
3713
  },
3583
- "default_value": "__bottom",
3714
+ "default_value": "bottom",
3584
3715
  "return_format": "value",
3585
3716
  "multiple": 0,
3586
3717
  "max": "",
@@ -3589,12 +3720,13 @@
3589
3720
  "prepend": "",
3590
3721
  "append": "",
3591
3722
  "allow_null": 0,
3723
+ "allow_in_bindings": 1,
3592
3724
  "ui": 1,
3593
3725
  "ajax": 1,
3594
3726
  "placeholder": "",
3595
- "min": "",
3596
3727
  "create_options": 0,
3597
- "save_options": 0
3728
+ "save_options": 0,
3729
+ "min": ""
3598
3730
  },
3599
3731
  {
3600
3732
  "key": "field_64ea83ec0a9e9",
@@ -4036,5 +4168,5 @@
4036
4168
  "acfe_display_title": "",
4037
4169
  "acfe_meta": "",
4038
4170
  "acfe_note": "",
4039
- "modified": 1762792712
4171
+ "modified": 1762809187
4040
4172
  }
@@ -31,7 +31,7 @@ if (productEANs !== '') {
31
31
  :style="`--post-colour: ${postColour}; --post-text-colour-style: ${postTextColourStyle}; ${gridLayoutString}`">
32
32
  <a href="#"
33
33
  :class="`${blockClassname}__cta cmpl-cta-style-${ctaStyle} ${blockClassname}__cta-animation-style-${ctaAnimationStyle} ctb`"
34
- v-if="element.buy_now_text && post.post_data.buy_now_option_select.slice(2) == 'ctb'" data-ctbuy
34
+ v-if="element.buy_now_text && post.post_data.buy_now_option_select.replace('__', '') == 'ctb'" data-ctbuy
35
35
  :data-ctbuy-variant="click2buyPimId">
36
36
  <span :class="`${blockClassname}__cta-span`">{{ element.buy_now_text }}</span>
37
37
  <span :class="`${blockClassname}__cta-icon`" v-if="element.enable_cta_icon">
@@ -40,7 +40,7 @@ if (productEANs !== '') {
40
40
  </a>
41
41
  <a href="#"
42
42
  :class="`dloc-link ${blockClassname}__cta cmpl-cta-style-${ctaStyle} ${blockClassname}__cta-animation-style-${ctaAnimationStyle} wtb`"
43
- v-if="element.buy_now_text && post.post_data.buy_now_option_select.slice(2) == 'wtb'" data-ctbuy
43
+ v-if="element.buy_now_text && post.post_data.buy_now_option_select.replace('__', '') == 'wtb'" data-ctbuy
44
44
  :data-filter="debrainId" data-action="where-to-buy">
45
45
  <span :class="`${blockClassname}__cta-span`">{{ element.buy_now_text }}</span>
46
46
  <span :class="`${blockClassname}__cta-icon`" v-if="element.enable_cta_icon">
@@ -49,19 +49,19 @@ if (productEANs !== '') {
49
49
  </a>
50
50
  <a :href="directLinkURL[0]"
51
51
  :class="`${blockClassname}__cta cmpl-cta-style-${ctaStyle} ${blockClassname}__cta-animation-style-${ctaAnimationStyle} link`"
52
- v-if="element.buy_now_text && post.post_data.buy_now_option_select.slice(2) == 'link'"
52
+ v-if="element.buy_now_text && post.post_data.buy_now_option_select.replace('__', '') == 'link'"
53
53
  :target="(directLinkURL[2] !== '' ? directLinkURL[2] : '_blank')">
54
54
  <span :class="`${blockClassname}__cta-span`">{{ element.buy_now_text }}</span>
55
55
  <span :class="`${blockClassname}__cta-icon`" v-if="element.enable_cta_icon">
56
56
  <img :class="`${blockClassname}__icon-image style-svg`" :src="ctaIcons.cta_link_icon">
57
57
  </span>
58
58
  </a>
59
- <wtb-button v-if="post.post_data.buy_now_option_select.slice(2) == 'wtb-v2' && productDebrainSkuId"
59
+ <wtb-button v-if="post.post_data.buy_now_option_select.replace('__', '') == 'wtb-v2' && productDebrainSkuId"
60
60
  :sku="productDebrainSkuId"></wtb-button>
61
61
  <a href="#" :data-mm-wtbid="`${mikmakDrawerWidgetID}`" :data-mm-ids="`${totalProductEANs}`"
62
62
  :data-mm-default-id="`${productEANs}`"
63
63
  :class="`${blockClassname}__cta cmpl-cta-style-${ctaStyle} ${blockClassname}__cta-animation-style-${ctaAnimationStyle} mikmak-buy-now`"
64
- v-if="element.buy_now_text && post.post_data.buy_now_option_select.slice(2) == 'mikmak'"
64
+ v-if="element.buy_now_text && post.post_data.buy_now_option_select.replace('__', '') == 'mikmak'"
65
65
  :data-filter="debrainId">
66
66
  <span :class="`${blockClassname}__cta-span`">{{ element.buy_now_text }}</span>
67
67
  <span :class="`${blockClassname}__cta-icon`" v-if="element.enable_cta_icon">
@@ -3,7 +3,7 @@ import { gridLayoutElement } from "./ptfg-utils.vue";
3
3
 
4
4
  const props = defineProps(["post", "element", "fields", "globalImages"]);
5
5
  const blockClassname = "post-type-filter-grid-v3";
6
- const imageSelect = props.element.image_select?.slice(2);
6
+ const imageSelect = props.element.image_select?.replace('__', '');
7
7
  let globalImage = '';
8
8
  if (props.globalImages[imageSelect]) {
9
9
  globalImage = props.globalImages[imageSelect]['global_image'];
@@ -8,7 +8,7 @@ const textEditorStylesString = textEditorStyles(props);
8
8
 
9
9
  </script>
10
10
  <template>
11
- <p :class="`${blockClassname}__post-author ${blockClassname}__info-item ${element.text_style?.typography_style.slice(2)}`"
11
+ <p :class="`${blockClassname}__post-author ${blockClassname}__info-item ${element.text_style?.typography_style.replace('__', '')}`"
12
12
  :style="`${gridLayoutString} ${textEditorStylesString}`">
13
13
  {{ post.author_display_name }}
14
14
  </p>
@@ -13,7 +13,7 @@ const textEditorStylesString = textEditorStyles(props);
13
13
  :style="`${gridLayoutString} ${textEditorStylesString}`">
14
14
  <template v-for="(category, index) in props.post.categories" :key="index">
15
15
  <p v-if="category.taxonomy != 'translation_priority'" v-html="category.name"
16
- :class="`${blockClassname}__post-category--item ${element.text_style?.typography_style.slice(2)}`">
16
+ :class="`${blockClassname}__post-category--item ${element.text_style?.typography_style.replace('__', '')}`">
17
17
  </p>
18
18
  </template>
19
19
  </div>
@@ -9,38 +9,13 @@ import PostHeadline from "./post-headline-widget.vue";
9
9
  import PostLink from "./post-link-widget.vue";
10
10
  import PostPublishDate from "./post-publish-widget.vue";
11
11
  import PostTitle from "./post-title-widget.vue";
12
- import SpacerV2 from "./spacer-widget.vue";
12
+ import Spacer from "./spacer-widget.vue";
13
13
  import PostInfoDescription from "./post-info-description.vue";
14
14
  import PostInfoSubtitle from "./post-info-subtitle.vue";
15
15
  import PostTextAlternativeStyle from "./post-text-alternative-style.vue";
16
16
  import MediaImage from "./media-widget.vue";
17
17
  import BetterReviews from "./better-reviews-widget.vue";
18
- import ProductDetailsDescription from "./product-description.vue";
19
- import ProductDetailsName from "./product-details-name.vue";
20
- import ProductDetailsBrand from "./product-brand.vue";
21
- import ProductAbv from "./product-abv.vue";
22
- import ProductAgeStatement from "./product-age-statement.vue";
23
- import ProductBazaarvoice from "./product-bazaarvoice.vue";
24
- import ProductCaskType from "./product-cask-type.vue";
25
- import ProductCountry from "./product-country.vue";
26
- import ProductFinish from "./product-finish.vue";
27
- import ProductHistory from "./product-history.vue";
28
- import ProductLink from "./product-link.vue";
29
- import ProductDetailsPrice from "./product-details-price.vue";
30
- import ProductPrice from "./product-price.vue";
31
- import ProductNose from "./product-nose.vue";
32
- import ProductName from "./product-name.vue";
33
- import ProductSlug from "./product-slug.vue";
34
- import ProductTaste from "./product-taste.vue";
35
- import ProductWhiskyType from "./product-whisky-type.vue";
36
- import PersonName from "./person-name-widget.vue";
37
- import PersonEmail from "./person-email-widget.vue";
38
- import PersonRating from "./person-rating-widget.vue";
39
- import SocialMediaItem from "./social-media-item.vue";
40
18
  import BuyNow from "./buy-now-widget.vue";
41
- import DrinkTastes from "./drink-tastes.vue";
42
- import CocktailTastingNotes from "./cocktail-tasting-notes.vue";
43
- import CocktailCategories from "./cocktail-category.vue";
44
19
  import ShopifyAddToCart from "./shopify-add-to-cart.vue";
45
20
  const widgetComponents = {
46
21
  PostAuthor,
@@ -52,38 +27,13 @@ const widgetComponents = {
52
27
  PostLink,
53
28
  PostPublishDate,
54
29
  PostTitle,
55
- SpacerV2,
30
+ Spacer,
56
31
  PostInfoDescription,
57
32
  PostTextAlternativeStyle,
58
33
  MediaImage,
59
34
  GlobalImage,
60
35
  BetterReviews,
61
- ProductDetailsDescription,
62
- ProductDetailsBrand,
63
- ProductDetailsName,
64
- ProductDetailsPrice,
65
- ProductPrice,
66
- ProductAbv,
67
- ProductAgeStatement,
68
- ProductBazaarvoice,
69
- ProductCaskType,
70
- ProductCountry,
71
- ProductFinish,
72
- ProductHistory,
73
- ProductLink,
74
- ProductNose,
75
- ProductName,
76
- ProductSlug,
77
- ProductTaste,
78
- ProductWhiskyType,
79
- PersonEmail,
80
- PersonName,
81
- PersonRating,
82
- SocialMediaItem,
83
36
  BuyNow,
84
- CocktailTastingNotes,
85
- CocktailCategories,
86
- DrinkTastes,
87
37
  PostInfoSubtitle,
88
38
  ShopifyAddToCart,
89
39
  };
@@ -114,13 +64,6 @@ const blockClassname = "post-type-filter-grid-v3";
114
64
  </script>
115
65
 
116
66
  <template>
117
- <div :class="`${blockClassname}__overlay ${blockClassname}__overlay--gradient-overlay-top`"
118
- v-if="fields.enable_gradient_overlay"
119
- :style="`--gradient-colour: ${props.gradientOverlayColour}; --gradient-origin: 180deg; --gradient-amount: ${fields.gradient_overlay_amount}%; --gradient-zindex: 5; --gradient-spread: ${fields.gradient_overlay_spread}%; --gradient-opacity: ${fields.gradient_overlay_opacity};--gradient-overlay-row-end: ${fields.gradient_overlay_row_end}; --gradient-overlay-row-start: ${fields.gradient_overlay_row_start};`">
120
- </div>
121
- <a v-if="fields.enable_post_cover_link" :href="post.link" target="_self"
122
- :class="`${blockClassname}__post-cover-link`, fields.enable_post_cover_link_hover_effect ? 'post-cover-link-hover-effect' : ''"
123
- :aria-label="post.title"></a>
124
67
  <template v-for="(widget, index) in widgetNames" :key="index">
125
68
  <component :is="widgetComponents[widget]" :post="props.post" :fields="fields" :options="options"
126
69
  :element="props.postDataConfig[index]" :blockClassname="blockClassname" :ctaIcons="ctaIcons"