-
Notifications
You must be signed in to change notification settings - Fork 0
/
layobj.js
3450 lines (3448 loc) · 221 KB
/
layobj.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
layObj = {
"styleObject": {
background: 'red'
},
"layout": {
"childrens": [{
"isActive": false,
"name": "Container",
"shortcode": "fusion_builder_container",
"hide_from_builder": true,
"params": {
"groups": {
"General": {
"hundred_percent": {
"type": "radio_button_set",
"heading": "Interior Content Width",
"description": "Select if the interior content is contained to site width or 100% width.",
"param_name": "hundred_percent",
"value": {
"yes": "100% Width",
"no": "Site Width"
},
"default": "no",
"group": "General"
},
"hundred_percent_height": {
"type": "radio_button_set",
"heading": "100% Height",
"description": "Select if the container should be fixed to 100% height of the viewport. Larger content that is taller than the screen height will be cut off, this option works best with minimal content. <strong>Important:</strong> Mobile devices are even shorter in height so this option can be disabled on mobile in <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#container_hundred_percent_height_mobile\" target=\"_blank\" rel=\"noopener noreferrer\">theme options</a> while still being active on desktop.",
"param_name": "hundred_percent_height",
"value": {
"yes": "Yes",
"no": "No"
},
"default": "no",
"group": "General"
},
"hundred_percent_height_scroll": {
"type": "radio_button_set",
"heading": "Enable 100% Height Scroll",
"description": "Select to add this container to a collection of 100% height containers that share scrolling navigation. <strong>Important:</strong> When this option is used, the mobile visibility settings are disabled.",
"param_name": "hundred_percent_height_scroll",
"value": {
"yes": "Yes",
"no": "No"
},
"default": "no",
"group": "General",
"dependency": [{
"element": "hundred_percent_height",
"value": "yes",
"operator": "=="
}]
},
"hundred_percent_height_center_content": {
"type": "radio_button_set",
"heading": "Center Content",
"description": "Set to "Yes" to center the content vertically on 100% height containers.",
"param_name": "hundred_percent_height_center_content",
"default": "yes",
"group": "General",
"value": {
"yes": "Yes",
"no": "No"
},
"dependency": [{
"element": "hundred_percent_height",
"value": "yes",
"operator": "=="
}]
},
"equal_height_columns": {
"type": "radio_button_set",
"heading": "Set Columns to Equal Height",
"description": "Select to set all columns that are used inside the container to have equal height.",
"param_name": "equal_height_columns",
"value": {
"yes": "Yes",
"no": "No"
},
"default": "no",
"group": "General"
},
"menu_anchor": {
"type": "textfield",
"heading": "Name Of Menu Anchor",
"description": "This name will be the id you will have to use in your one page menu.",
"param_name": "menu_anchor",
"value": "",
"group": "General"
},
"hide_on_mobile": {
"type": "checkbox_button_set",
"heading": "Container Visibility",
"param_name": "hide_on_mobile",
"value": {
"small-visibility": "Small Screen",
"medium-visibility": "Medium Screen",
"large-visibility": "Large Screen"
},
"default": ["small-visibility", "medium-visibility", "large-visibility"],
"description": "Choose to show or hide the section on small, medium or large screens. You can choose more than one at a time. Each of the 3 sizes has a custom width setting on the Fusion Builder Elements tab in the <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#visibility_small\" target=\"_blank\" rel=\"noopener noreferrer\">Element Options</a>.",
"or": true,
"dependency": [{
"element": "hundred_percent_height",
"value": "yes",
"operator": "!="
}, {
"element": "hundred_percent_height_scroll",
"value": "yes",
"operator": "!="
}]
},
"class": {
"type": "textfield",
"heading": "CSS Class",
"description": "Add a class to the wrapping HTML element.",
"param_name": "class",
"value": "",
"group": "General"
},
"id": {
"type": "textfield",
"heading": "CSS ID",
"description": "Add an ID to the wrapping HTML element.",
"param_name": "id",
"value": "",
"group": "General"
}
},
"Background": {
"background_color": {
"type": "colorpickeralpha",
"heading": "Container Background Color",
"param_name": "background_color",
"value": "",
"description": "Controls the background color of the container element. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#full_width_bg_color\" target=\"_blank\" rel=\"noopener noreferrer\">rgba(255,255,255,0)</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-background_color\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"background_color\" value=\"\" data-default=\"rgba(255,255,255,0)\">Reset to default.</a><span>Using default value.</span></span>",
"group": "Background",
"default": "rgba(255,255,255,0)"
},
"background_image": {
"type": "upload",
"heading": "Background Image",
"description": "Upload an image to display in the background.",
"param_name": "background_image",
"value": "",
"group": "Background"
},
"background_position": {
"type": "select",
"heading": "Background Position",
"description": "Choose the postion of the background image.",
"param_name": "background_position",
"value": {
"left top": "Left Top",
"left center": "Left Center",
"left bottom": "Left Bottom",
"right top": "Right Top",
"right center": "Right Center",
"right bottom": "Right Bottom",
"center top": "Center Top",
"center center": "Center Center",
"center bottom": "Center Bottom"
},
"default": "center center",
"group": "Background",
"dependency": [{
"element": "background_image",
"value": "",
"operator": "!="
}]
},
"background_repeat": {
"type": "select",
"heading": "Background Repeat",
"description": "Choose how the background image repeats.",
"param_name": "background_repeat",
"value": {
"no-repeat": "No Repeat",
"repeat": "Repeat Vertically and Horizontally",
"repeat-x": "Repeat Horizontally",
"repeat-y": "Repeat Vertically"
},
"default": "no-repeat",
"group": "Background",
"dependency": [{
"element": "background_image",
"value": "",
"operator": "!="
}]
},
"fade": {
"type": "radio_button_set",
"heading": "Fading Animation",
"description": "Choose to have the background image fade and blur on scroll. WARNING: Only works for images.",
"param_name": "fade",
"value": {
"yes": "Yes",
"no": "No"
},
"default": "no",
"group": "Background",
"dependency": [{
"element": "background_image",
"value": "",
"operator": "!="
}]
},
"background_parallax": {
"type": "select",
"heading": "Background Parallax",
"description": "Choose how the background image scrolls and responds. This does not work for videos and must be set to "No Parallax" for the video to show.",
"param_name": "background_parallax",
"value": {
"none": "No Parallax (no effects)",
"fixed": "Fixed (fixed on desktop, non-fixed on mobile)",
"up": "Up (moves up on desktop and mobile)",
"down": "Down (moves down on desktop and mobile)",
"left": "Left (moves left on desktop and mobile)",
"right": "Right (moves right on desktop and mobile)"
},
"default": "none",
"group": "Background",
"dependency": [{
"element": "background_image",
"value": "",
"operator": "!="
}]
},
"enable_mobile": {
"type": "radio_button_set",
"heading": "Enable Parallax on Mobile",
"description": "Works for up/down/left/right only. Parallax effects would most probably cause slowdowns when your site is viewed in mobile devices. If the device width is less than 980 pixels, then it is assumed that the site is being viewed in a mobile device.",
"param_name": "enable_mobile",
"value": {
"yes": "Yes",
"no": "No"
},
"default": "no",
"group": "Background",
"dependency": [{
"element": "background_image",
"value": "",
"operator": "!="
}]
},
"parallax_speed": {
"type": "range",
"heading": "Parallax Speed",
"description": "The movement speed, value should be between 0.1 and 1.0. A lower number means slower scrolling speed. Higher scrolling speeds will enlarge the image more.",
"param_name": "parallax_speed",
"value": "0.3",
"min": "0",
"max": "1",
"step": "0.1",
"group": "Background",
"dependency": [{
"element": "background_image",
"value": "",
"operator": "!="
}]
},
"video_mp4": {
"type": "uploadfile",
"heading": "Video MP4 Upload",
"description": "Video must be in a 16:9 aspect ratio. Add your WebM video file. WebM and MP4 format must be included to render your video with cross browser compatibility. OGV is optional.",
"param_name": "video_mp4",
"value": "",
"group": "Background"
},
"video_webm": {
"type": "uploadfile",
"heading": "Video WebM Upload",
"description": "Video must be in a 16:9 aspect ratio. Add your WebM video file. WebM and MP4 format must be included to render your video with cross browser compatibility. OGV is optional.",
"param_name": "video_webm",
"value": "",
"group": "Background"
},
"video_ogv": {
"type": "uploadfile",
"heading": "Video OGV Upload",
"description": "Add your OGV video file. This is optional.",
"param_name": "video_ogv",
"value": "",
"group": "Background"
},
"video_url": {
"type": "textfield",
"heading": "YouTube/Vimeo Video URL or ID",
"description": "Enter the URL to the video or the video ID of your YouTube or Vimeo video you want to use as your background. If your URL isn't showing a video, try inputting the video ID instead. Ads will show up in the video if it has them.",
"param_name": "video_url",
"value": "",
"group": "Background"
},
"video_aspect_ratio": {
"type": "textfield",
"heading": "Video Aspect Ratio",
"description": "The video will be resized to maintain this aspect ratio, this is to prevent the video from showing any black bars. Enter an aspect ratio here such as: "16:9", "4:3" or "16:10". The default is "16:9".",
"param_name": "video_aspect_ratio",
"value": "16:9",
"group": "Background",
"or": true,
"dependency": [{
"element": "video_mp4",
"value": "",
"operator": "!="
}, {
"element": "video_ogv",
"value": "",
"operator": "!="
}, {
"element": "video_webm",
"value": "",
"operator": "!="
}, {
"element": "video_url",
"value": "",
"operator": "!="
}]
},
"video_loop": {
"type": "radio_button_set",
"heading": "Loop Video",
"param_name": "video_loop",
"value": {
"yes": "Yes",
"no": "No"
},
"default": "yes",
"group": "Background",
"or": true,
"dependency": [{
"element": "video_mp4",
"value": "",
"operator": "!="
}, {
"element": "video_ogv",
"value": "",
"operator": "!="
}, {
"element": "video_webm",
"value": "",
"operator": "!="
}, {
"element": "video_url",
"value": "",
"operator": "!="
}]
},
"video_mute": {
"type": "radio_button_set",
"heading": "Mute Video",
"param_name": "video_mute",
"value": {
"yes": "Yes",
"no": "No"
},
"default": "yes",
"group": "Background",
"or": true,
"dependency": [{
"element": "video_mp4",
"value": "",
"operator": "!="
}, {
"element": "video_ogv",
"value": "",
"operator": "!="
}, {
"element": "video_webm",
"value": "",
"operator": "!="
}, {
"element": "video_url",
"value": "",
"operator": "!="
}]
},
"video_preview_image": {
"type": "upload",
"heading": "Video Preview Image",
"description": "IMPORTANT: This field must be used for self hosted videos. Self hosted videos do not work correctly on mobile devices. The preview image will be seen in place of your video on older browsers or mobile devices.",
"param_name": "video_preview_image",
"value": "",
"group": "Background",
"or": true,
"dependency": [{
"element": "video_mp4",
"value": "",
"operator": "!="
}, {
"element": "video_ogv",
"value": "",
"operator": "!="
}, {
"element": "video_webm",
"value": "",
"operator": "!="
}, {
"element": "video_url",
"value": "",
"operator": "!="
}]
}
},
"Design": {
"border_size": {
"type": "range",
"heading": "Container Border Size",
"description": "Controls the border size of the container element. In pixels. Default currently set to <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#full_width_border_size\" target=\"_blank\" rel=\"noopener noreferrer\">0</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-border_size\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"border_size\" value=\"\" data-default=\"0\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "border_size",
"value": "",
"min": "0",
"max": "50",
"default": "0",
"group": "Design"
},
"border_color": {
"type": "colorpickeralpha",
"heading": "Container Border Color",
"description": "Controls the border color of the container element. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#full_width_border_color\" target=\"_blank\" rel=\"noopener noreferrer\">#eae9e9</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-border_color\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"border_color\" value=\"\" data-default=\"#eae9e9\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "border_color",
"value": "",
"group": "Design",
"default": "#eae9e9",
"dependency": [{
"element": "border_size",
"value": "0",
"operator": "!="
}, {
"element": "border_size",
"value": "",
"operator": "!="
}]
},
"border_style": {
"type": "radio_button_set",
"heading": "Border Style",
"description": "Controls the border style.",
"param_name": "border_style",
"value": {
"solid": "Solid",
"dashed": "Dashed",
"dotted": "Dotted"
},
"default": "solid",
"group": "Design",
"dependency": [{
"element": "border_size",
"value": "0",
"operator": "!="
}, {
"element": "border_size",
"value": "",
"operator": "!="
}]
},
"spacing": {
"type": "dimension",
"remove_from_atts": true,
"heading": "Margin",
"param_name": "spacing",
"value": {
"margin_top": "",
"margin_bottom": ""
},
"description": "Spacing above and below the section. In pixels. Use a number without px.",
"group": "Design"
},
"dimensions": {
"type": "dimension",
"remove_from_atts": true,
"heading": "Padding",
"description": "In pixels or percentage, ex: 10px or 10%. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#container_padding_default\" target=\"_blank\" rel=\"noopener noreferrer\">0px, 0px, 0px, 0px</a> on default template. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#container_padding_100\" target=\"_blank\" rel=\"noopener noreferrer\">0px, 30px, 0px, 30px</a> on 100% width template.",
"param_name": "dimensions",
"value": {
"padding_top": "",
"padding_right": "",
"padding_bottom": "",
"padding_left": ""
},
"group": "Design"
}
}
}
},
"remove_from_atts": ["spacing", "dimensions"],
"childrens": [{
"isActive": false,
"name": "Row",
"shortcode": "fusion_builder_row",
"hide_from_builder": true,
"childrens": [{
"isActive": false,
"name": "Column",
"shortcode": "fusion_builder_column",
"hide_from_builder": true,
"params": {
"groups": {
"General": {
"type": "1_2",
"center_content": {
"type": "radio_button_set",
"heading": "Center Content",
"description": "Set to "Yes" to center the content vertically. Equal heights on the parent container must be turned on.",
"param_name": "center_content",
"default": "no",
"group": "General",
"value": {
"yes": "Yes",
"no": "No"
}
},
"link": {
"type": "link_selector",
"heading": "Link URL",
"description": "Add the URL the column will link to, ex: http://example.com. IMPORTANT: This will disable links on elements inside the column.",
"param_name": "link",
"value": ""
},
"target": {
"type": "radio_button_set",
"heading": "Link Target",
"description": "_self = open in same browser tab, _blank = open in new browser tab.",
"param_name": "target",
"default": "_self",
"value": {
"_self": "_self",
"_blank": "_blank"
}
},
"min_height": {
"type": "radio_button_set",
"heading": "Ignore Equal Heights",
"description": "Choose to ignore equal heights on this column if you are using equal heights on the surrounding container.",
"param_name": "min_height",
"default": "",
"group": "General",
"value": {
"none": "Yes",
"": "No"
}
},
"hide_on_mobile": {
"type": "checkbox_button_set",
"heading": "Column Visibility",
"param_name": "hide_on_mobile",
"value": {
"small-visibility": "Small Screen",
"medium-visibility": "Medium Screen",
"large-visibility": "Large Screen"
},
"default": ["small-visibility", "medium-visibility", "large-visibility"],
"description": "Choose to show or hide the column on small, medium or large screens. You can choose more than one at a time. Each of the 3 sizes has a custom width setting on the Fusion Builder Elements tab in the <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#visibility_small\" target=\"_blank\" rel=\"noopener noreferrer\">Element Options</a>."
},
"class": {
"type": "textfield",
"heading": "CSS Class",
"description": "Add a class to the wrapping HTML element.",
"param_name": "class",
"value": "",
"group": "General"
},
"id": {
"type": "textfield",
"heading": "CSS ID",
"description": "Add an ID to the wrapping HTML element.",
"param_name": "id",
"value": "",
"group": "General"
}
},
"Design": {
"background_color": {
"type": "colorpickeralpha",
"heading": "Background Color",
"description": "Controls the background color.",
"param_name": "background_color",
"value": "",
"group": "Design"
},
"background_image": {
"type": "upload",
"heading": "Background Image",
"description": "Upload an image to display in the background.",
"param_name": "background_image",
"value": "",
"group": "Design"
},
"background_position": {
"type": "select",
"heading": "Background Position",
"description": "Choose the postion of the background image.",
"param_name": "background_position",
"default": "left top",
"group": "Design",
"dependency": [{
"element": "background_image",
"value": "",
"operator": "!="
}],
"value": {
"left top": "Left Top",
"left center": "Left Center",
"left bottom": "Left Bottom",
"right top": "Right Top",
"right center": "Right Center",
"right bottom": "Right Bottom",
"center top": "Center Top",
"center center": "Center Center",
"center bottom": "Center Bottom"
}
},
"background_repeat": {
"type": "select",
"heading": "Background Repeat",
"description": "Choose how the background image repeats.",
"param_name": "background_repeat",
"default": "no-repeat",
"group": "Design",
"dependency": [{
"element": "background_image",
"value": "",
"operator": "!="
}],
"value": {
"no-repeat": "No Repeat",
"repeat": "Repeat Vertically and Horizontally",
"repeat-x": "Repeat Horizontally",
"repeat-y": "Repeat Vertically"
}
},
"hover_type": {
"type": "radio_button_set",
"heading": "Hover Type",
"description": "Select the hover effect type. IMPORTANT: For the effect to be noticeable, you'll need a background color/image, and/or a border enabled. This will disable links and hover effects on elements inside the column.",
"param_name": "hover_type",
"default": "none",
"value": {
"none": "None",
"zoomin": "Zoom In",
"zoomout": "Zoom Out",
"liftup": "Lift Up"
},
"group": "Design"
},
"border_size": {
"type": "range",
"heading": "Border Size",
"description": "Controls the border size of the column. In pixels.",
"param_name": "border_size",
"value": "0",
"min": "0",
"max": "50",
"step": "1",
"group": "Design"
},
"border_color": {
"type": "colorpicker",
"heading": "Border Color",
"description": "Controls the border color.",
"param_name": "border_color",
"value": "",
"group": "Design",
"dependency": [{
"element": "border_size",
"value": "0",
"operator": "!="
}]
},
"border_style": {
"type": "radio_button_set",
"heading": "Border Style",
"description": "Controls the border style.",
"param_name": "border_style",
"default": "solid",
"group": "Design",
"dependency": [{
"element": "border_size",
"value": "0",
"operator": "!="
}],
"value": {
"solid": "Solid",
"dashed": "Dashed",
"dotted": "Dotted"
}
},
"border_position": {
"type": "radio_button_set",
"heading": "Border Position",
"description": "Choose the postion of the border.",
"param_name": "border_position",
"default": "all",
"group": "Design",
"dependency": [{
"element": "border_size",
"value": "0",
"operator": "!="
}],
"value": {
"all": "All",
"top": "Top",
"right": "Right",
"bottom": "Bottom",
"left": "Left"
}
},
"padding": {
"type": "dimension",
"remove_from_atts": true,
"heading": "Padding",
"description": "In pixels (px), ex: 10px.",
"param_name": "padding",
"value": {
"padding_top": "",
"padding_right": "",
"padding_bottom": "",
"padding_left": ""
},
"group": "Design"
},
"dimension_margin": {
"type": "dimension",
"remove_from_atts": true,
"heading": "Margin",
"description": "In pixels (px), ex: 10px. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#col_margin\" target=\"_blank\" rel=\"noopener noreferrer\">0px, 20px</a>.",
"param_name": "dimension_margin",
"value": {
"margin_top": "",
"margin_bottom": ""
},
"group": "Design"
}
},
"Animation": {
"animation_type": {
"type": "select",
"heading": "Animation Type",
"description": "Select the type of animation to use on the element.",
"param_name": "animation_type",
"value": {
"": "None",
"bounce": "Bounce",
"fade": "Fade",
"flash": "Flash",
"rubberBand": "Rubberband",
"shake": "Shake",
"slide": "Slide",
"zoom": "Zoom"
},
"default": "",
"group": "Animation"
},
"animation_direction": {
"type": "radio_button_set",
"heading": "Direction of Animation",
"description": "Select the incoming direction for the animation.",
"param_name": "animation_direction",
"value": {
"down": "Top",
"right": "Right",
"up": "Bottom",
"left": "Left",
"static": "Static"
},
"default": "left",
"group": "Animation",
"dependency": [{
"element": "animation_type",
"value": "",
"operator": "!="
}]
},
"animation_speed": {
"type": "range",
"heading": "Speed of Animation",
"description": "Type in speed of animation in seconds (0.1 - 1).",
"param_name": "animation_speed",
"min": "0.1",
"max": "1",
"step": "0.1",
"value": "0.3",
"group": "Animation",
"dependency": [{
"element": "animation_type",
"value": "",
"operator": "!="
}]
},
"animation_offset": {
"type": "select",
"heading": "Offset of Animation",
"description": "Controls when the animation should start. Default currently set to <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#animation_offset\" target=\"_blank\" rel=\"noopener noreferrer\">Top Of Element Hits Bottom Of Viewport</a>.",
"param_name": "animation_offset",
"default": "",
"group": "Animation",
"dependency": [{
"element": "animation_type",
"value": "",
"operator": "!="
}],
"value": {
"": "Default",
"top-into-view": "Top of element hits bottom of viewport",
"top-mid-of-view": "Top of element hits middle of viewport",
"bottom-in-view": "Bottom of element enters viewport"
}
}
}
}
},
"remove_from_atts": ["padding", "dimension_margin"],
"childrens": [
{
"isActive": false,
"name": "Pricing Table",
"shortcode": "fusion_pricing_table",
"icon": "fusiona-dollar",
"preview": "C:/xamppp/htdocs/wp_avada542/wp-content/plugins/fusion-builder/inc/templates/previews/fusion-pricing-table-preview.php",
"preview_id": "fusion-builder-block-module-pricing-table-preview-template",
"custom_settings_view_name": "ModuleSettingsTableView",
"custom_settings_view_js": "http://127.0.0.1/wp_avada542/wp-content/plugins/fusion-builder/inc/templates/custom/js/fusion-pricing-table-settings.js",
"custom_settings_template_file": "C:/xamppp/htdocs/wp_avada542/wp-content/plugins/fusion-builder/inc/templates/custom/fusion-pricing-table-settings.php",
"on_save": "pricingTableShortcodeFilter",
"admin_enqueue_js": "http://127.0.0.1/wp_avada542/wp-content/plugins/fusion-builder/shortcodes/js/fusion-pricing-table.js",
"params": {
"groups": {
"General": {
"type": {
"type": "radio_button_set",
"heading": "Type",
"description": "Select the type of pricing table.",
"param_name": "type",
"value": {
"Classic": "0", //name: image
"Minimal": "1",
"Card": "2"
},
"default": "0"
},
"style": {
"type": "radio_button_set",
"heading": "Style",
"description": "Select the style of pricing table.",
"param_name": "box_style",
"value": {
"box": "Box", //name: image
"table": "Table"
},
"default": "box"
},
"decimal_pos":{
"type": "radio_button_set",
"heading": "Decimal Currency Position",
"description": "Cents of price will be showed in up or down position",
"param_name": "decimal_pos",
"value": {
"up": "Up", //name: image
"down": "Down"
},
"default": "up"
},
"backgroundcolor": {
"type": "colorpickeralpha",
"heading": "Background Color",
"description": "Set pricing table background color. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#pricing_bg_color\" target=\"_blank\" rel=\"noopener noreferrer\">#ffffff</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-backgroundcolor\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"backgroundcolor\" value=\"\" data-default=\"#ffffff\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "backgroundcolor",
"value": "",
"default": "#ffffff"
},
"headingcolor": {
"type": "colorpickeralpha",
"heading": "Price Title Color",
"description": "Set pricing table title color. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#pricing_bg_color\" target=\"_blank\" rel=\"noopener noreferrer\">#ffffff</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-backgroundcolor\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"backgroundcolor\" value=\"\" data-default=\"#ffffff\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "headingcolor",
"value": "",
"default": "#000000"
},
"background_color_hover": {
"type": "colorpickeralpha",
"heading": "Background Hover Color",
"description": "Set pricing table background hover color. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#pricing_background_color_hover\" target=\"_blank\" rel=\"noopener noreferrer\">#f8f8f8</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-background_color_hover\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"background_color_hover\" value=\"\" data-default=\"#f8f8f8\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "background_color_hover",
"value": "",
"default": "#f8f8f8"
},
"bordercolor": {
"type": "colorpickeralpha",
"heading": "Border Color",
"description": "Set pricing table border color. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#pricing_border_color\" target=\"_blank\" rel=\"noopener noreferrer\">#f8f8f8</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-bordercolor\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"bordercolor\" value=\"\" data-default=\"#f8f8f8\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "bordercolor",
"value": "",
"default": "#f8f8f8"
},
"dividercolor": {
"type": "colorpickeralpha",
"heading": "Divider Color",
"description": "Set pricing table divider color. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#pricing_divider_color\" target=\"_blank\" rel=\"noopener noreferrer\">#ededed</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-dividercolor\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"dividercolor\" value=\"\" data-default=\"#ededed\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "dividercolor",
"value": "",
"default": "#ededed"
},
"heading_color_style_1": {
"type": "colorpicker",
"heading": "Heading Color",
"description": "Set pricing table headings color. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#full_boxed_pricing_box_heading_color\" target=\"_blank\" rel=\"noopener noreferrer\">#333333</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-heading_color_style_1\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"heading_color_style_1\" value=\"\" data-default=\"#333333\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "heading_color_style_1",
"value": "",
"default": "#333333",
"dependency": [{
"element": "type",
"value": "1",
"operator": "=="
}]
},
"heading_color_style_2": {
"type": "colorpicker",
"heading": "Heading Color",
"description": "Set pricing table headings color. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#sep_pricing_box_heading_color\" target=\"_blank\" rel=\"noopener noreferrer\">#333333</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-heading_color_style_2\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"heading_color_style_2\" value=\"\" data-default=\"#333333\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "heading_color_style_2",
"value": "",
"default": "#333333",
"dependency": [{
"element": "type",
"value": "2",
"operator": "=="
}]
},
"pricing_color": {
"type": "colorpicker",
"heading": "Pricing Text Color",
"description": "Set pricing table price text color. Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#pricing_box_color\" target=\"_blank\" rel=\"noopener noreferrer\">#a0ce4e</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-pricing_color\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"pricing_color\" value=\"\" data-default=\"#a0ce4e\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "pricing_color",
"value": "",
"default": "#a0ce4e"
},
"body_text_color": {
"type": "colorpicker",
"heading": "Body Text Color",
"description": "Set pricing table body text color Leave empty for default value of <a href=\"http://127.0.0.1/wp_avada542/wp-admin/admin.php?page=fusion-element-options&lang=en#body_typography\" target=\"_blank\" rel=\"noopener noreferrer\">#747474</a>. <span class=\"fusion-builder-default-reset\"><a href=\"#\" id=\"default-body_text_color\" class=\"fusion-range-default fusion-hide-from-atts\" type=\"radio\" name=\"body_text_color\" value=\"\" data-default=\"#747474\">Reset to default.</a><span>Using default value.</span></span>",
"param_name": "body_text_color",
"value": "",
"default": "#747474"
},
"element_content": {
"type": "textarea",
"heading": "Short Code",
"description": "Pricing Table short code content.",
"param_name": "element_content",
"value": "[fusion_pricing_column title=\"Standard\" standout=\"no\" class=\"\" id=\"\"][fusion_pricing_price currency=\"$\" price=\"15.55\" time=\"monthly\"][/fusion_pricing_price][fusion_pricing_row]Feature 1[/fusion_pricing_row][fusion_pricing_footer][/fusion_pricing_footer][/fusion_pricing_column][fusion_pricing_column title=\"Premium\" standout=\"yes\" class=\"\" id=\"\"][fusion_pricing_price currency=\"$\" price=\"25.55\" time=\"monthly\"][/fusion_pricing_price][fusion_pricing_row]Feature 1[/fusion_pricing_row][fusion_pricing_footer][/fusion_pricing_footer][/fusion_pricing_column]",
"hidden": true,
"overtitles": {
"super_title": "Super Title",
"super_subtitle": "Super Subtitle Centered"
},
"gchildrens": [
{
"shortcode": "fusion_pricing_column",
"title": "Standard",
"subtitle": "Pricing Subtitle",
"standout": "no",
"class": "",
"id": "",
"gchildrens": [
{
"shortcode": "fusion_pricing_price",
"currency": "$",
"currency_position": "right",
"price": "15",
"time": "monthly"
},
{
"shortcode": "fusion_pricing_row",
"text": "Feature 1" /*v-if?*/
},
{
"shortcode": "fusion_pricing_footer"
}
]
},
{
"shortcode": "fusion_pricing_column",
"title": "Premium",
"subtitle": "Pricing Subtitle",
"standout": "yes",
"class": "",
"id": "",
"gchildrens": [
{
"shortcode": "fusion_pricing_price",
"currency": "$",
"currency_position": "left",
"price": "25.55",
"time": "monthly"
},
{
"shortcode": "fusion_pricing_row",
"text": "Feature 1" /*v-if?*/