Version Description
- New: Tabs Block. Read More
- New: Added ability to import pre-made pages, patterns for block editor.
- Improvement: Block Conditions - Now user can add conditions of visibility to blocks with respect to User State, Responsive Visibility, User Role, Browser, and Operating System.
- Improvement: Added Transform Compatibility in Advanced Heading and Blockquote Block.
- Improvement: Added hooks for automatic Toolset Dynamic Sources.
- Fix: RTL issues in a few of the blocks.
- Fix: Content Timeline - Connector issue on Tablet and mobile.
- Fix: Content Timeline - Font size not applying for date on left/right layout.
- Fix: Price List - Block encountered an error when used as a reusable block.
- Fix: Heading Color issue in some blocks when used with Cover block.
- Deprecated: Removed Transform Compatibility from Icon List Block.
Download this release
Release Info
Developer | brainstormworg |
Plugin | Gutenberg Blocks – Ultimate Addons for Gutenberg |
Version | 1.21.0 |
Comparing to | |
See all releases |
Code changes from version 1.20.1 to 1.21.0
- admin/assets/images/uag-white-logo.svg +19 -0
- admin/uagb-general.php +6 -0
- assets/css/blocks/extensions.css +1 -0
- assets/css/blocks/tabs-child.css +1 -0
- assets/css/blocks/tabs.css +1 -0
- assets/js/tabs.js +25 -0
- classes/class-uagb-block-helper.php +191 -37
- classes/class-uagb-block-js.php +1 -2
- classes/class-uagb-config.php +117 -0
- classes/class-uagb-helper.php +15 -5
- classes/class-uagb-init-blocks.php +208 -0
- classes/class-uagb-loader.php +2 -2
- dist/blocks.build.js +3834 -3795
admin/assets/images/uag-white-logo.svg
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
+
viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
|
5 |
+
<image overflow="visible" width="526" height="118" xlink:href="D8DA74DD.jpg" transform="matrix(1 0 0 1 -7692 -7692)">
|
6 |
+
</image>
|
7 |
+
<circle fill="#FFFFFF" cx="508.2" cy="500" r="344.7"/>
|
8 |
+
<g>
|
9 |
+
<path fill="#007CBB" d="M480.1,386v141.4c0,31.8-8.5,55.7-25.4,71.6c-17,15.9-41.7,23.9-74.2,23.9s-57.3-8-74.2-23.9
|
10 |
+
c-17-15.9-25.4-39.8-25.4-71.6V386h48.8v139.3c0,19.6,4.2,34.1,12.5,43.5c8.4,9.4,21.1,14.1,38.3,14.1c17.2,0,29.9-4.7,38.2-14.1
|
11 |
+
c8.2-9.4,12.4-23.9,12.4-43.5V386H480.1z"/>
|
12 |
+
<path fill="#007CBB" d="M632,622.8c-21.4,0-40.2-4.7-56.4-14.1c-16.1-9.4-28.7-23.1-37.6-41c-9-17.9-13.4-39.5-13.4-64.7
|
13 |
+
c0-25,4.7-46.5,14.1-64.5c9.4-18,22.7-31.9,39.9-41.5c17.2-9.7,37.3-14.5,60.4-14.5c25.2,0,45.6,4.7,61.1,14
|
14 |
+
c15.6,9.3,27.9,23.7,37.1,43.3l-45.2,19.4c-3.8-12.5-10.2-21.7-19.3-27.7c-9.1-6-20.2-9-33.4-9c-13.2,0-24.6,3.1-34.3,9.4
|
15 |
+
c-9.7,6.2-17.1,15.3-22.3,27.2c-5.2,11.9-7.8,26.5-7.8,43.6c0,17.7,2.5,32.6,7.4,44.7c4.9,12.1,12.3,21.2,22.1,27.2
|
16 |
+
c9.8,6,21.9,9,36.2,9c7.8,0,15-0.9,21.7-2.8c6.7-1.9,12.5-4.7,17.5-8.5c4.9-3.8,8.8-8.6,11.7-14.5c2.8-5.9,4.2-12.7,4.2-20.5V532
|
17 |
+
h-61.1v-35.7h103.2v123h-34.3l-3.5-50.9l8.5,6c-5.2,15.6-14.3,27.5-27.4,35.9C668.3,618.6,651.8,622.8,632,622.8z"/>
|
18 |
+
</g>
|
19 |
+
</svg>
|
admin/uagb-general.php
CHANGED
@@ -102,7 +102,13 @@ array_multisort(
|
|
102 |
'post-meta',
|
103 |
'restaurant-menu-child',
|
104 |
'content-timeline-child',
|
|
|
105 |
);
|
|
|
|
|
|
|
|
|
|
|
106 |
if ( in_array( $addon, $child_blocks, true ) ) {
|
107 |
continue;
|
108 |
}
|
102 |
'post-meta',
|
103 |
'restaurant-menu-child',
|
104 |
'content-timeline-child',
|
105 |
+
'tabs-child',
|
106 |
);
|
107 |
+
|
108 |
+
if ( array_key_exists( 'extension', $info ) && $info['extension'] ) {
|
109 |
+
continue;
|
110 |
+
}
|
111 |
+
|
112 |
if ( in_array( $addon, $child_blocks, true ) ) {
|
113 |
continue;
|
114 |
}
|
assets/css/blocks/extensions.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
@media (min-width: 1025px){.entry-content .uag-hide-desktop.uagb-google-map__wrap,.entry-content .uag-hide-desktop{display:none}}@media (min-width: 768px) and (max-width: 1024px){.entry-content .uag-hide-tab.uagb-google-map__wrap,.entry-content .uag-hide-tab{display:none}}@media (max-width: 767px){.entry-content .uag-hide-mob.uagb-google-map__wrap,.entry-content .uag-hide-mob{display:none}}
|
assets/css/blocks/tabs-child.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.uagb-tabs__body{cursor:pointer;padding:10px 15px;display:none}
|
assets/css/blocks/tabs.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.uagb-tabs__wrap{display:flex;margin:15px}.uagb-tabs__wrap ul.uagb-tabs__panel{list-style-type:none;display:inherit}.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab{float:left;position:relative}.uagb-tabs__wrap ul.uagb-tabs__panel .uagb-tabs__icon-position-left{display:inline-flex}.uagb-tabs__wrap ul.uagb-tabs__panel .uagb-tabs__icon-position-left .uagb-tabs__icon{margin-top:3px}.uagb-tabs__wrap ul.uagb-tabs__panel .uagb-tabs__icon-position-top{display:block}.uagb-tabs__wrap ul.uagb-tabs__panel .uagb-tabs__icon-position-top .uagb-tabs__icon{display:block;text-align:center}.uagb-tabs__wrap ul.uagb-tabs__panel .uagb-tabs__icon-position-bottom{display:block}.uagb-tabs__wrap ul.uagb-tabs__panel .uagb-tabs__icon-position-bottom .uagb-tabs__icon{display:block;text-align:center}.uagb-tabs__wrap ul.uagb-tabs__panel .uagb-tabs__icon-position-right{display:inline-flex}.uagb-tabs__wrap ul.uagb-tabs__panel .uagb-tabs__icon-position-right .uagb-tabs__icon{margin-top:3px}.uagb-tabs__wrap .uagb-tabs__body-wrap{position:relative;max-width:100%;padding:10px}.uagb-tabs__wrap.uagb-tabs__hstyle1-desktop{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle1-desktop ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle1-desktop .uagb-tab{border-style:solid;margin:10px 10px 10px 0px;padding:6px 12px;border-radius:4px}.uagb-tabs__wrap.uagb-tabs__hstyle1-desktop p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle1-desktop .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle2-desktop{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle2-desktop ul.uagb-tabs__panel{margin:0px;padding:0px;border-bottom:1px solid #b3b6b9}.uagb-tabs__wrap.uagb-tabs__hstyle2-desktop .uagb-tab{margin:10px 10px -1px 0px;padding:6px 12px;border-top-left-radius:4px;border-top-right-radius:4px}.uagb-tabs__wrap.uagb-tabs__hstyle2-desktop p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle2-desktop .uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle2-desktop .uagb-tabs__body-wrap{border:none}.uagb-tabs__wrap.uagb-tabs__hstyle3-desktop{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle3-desktop ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle3-desktop .uagb-tab{border-top-right-radius:7px;border-top-left-radius:7px;border-top-style:solid;border-left-style:solid;border-right-style:solid;margin:10px 10px 0px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__hstyle3-desktop .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle3-desktop .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle4-desktop{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle4-desktop ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle4-desktop .uagb-tab{border-radius:30px;border-style:solid;margin:10px 10px 10px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__hstyle4-desktop .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle4-desktop .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle5-desktop{flex-direction:column;border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle5-desktop ul.uagb-tabs__panel{justify-content:space-between;margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle5-desktop .uagb-tab{padding:6px 12px;margin:10px 10px 10px 10px;text-align:center;width:100%}.uagb-tabs__wrap.uagb-tabs__hstyle5-desktop .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle5-desktop .uagb-tab.uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle6-desktop ul.uagb-tabs__panel{margin:0px;padding:0px;display:flex;flex-direction:column;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle6-desktop ul.uagb-tabs__panel .uagb-tab{border-style:solid;margin:0px 10px 10px 0px;padding:6px 12px;border-radius:4px}.uagb-tabs__wrap.uagb-tabs__vstyle6-desktop ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle6-desktop .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle7-desktop{flex-direction:row}.uagb-tabs__wrap.uagb-tabs__vstyle7-desktop ul.uagb-tabs__panel{display:flex;flex-direction:column;flex-grow:1;min-width:25%;max-width:25%;margin:0px;padding:0px;border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle7-desktop ul.uagb-tabs__panel .uagb-tab{margin:10px 10px 0px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__vstyle7-desktop ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle7-desktop ul.uagb-tabs__panel .uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle7-desktop .uagb-tabs__body-wrap{border:none;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle8-desktop{flex-direction:row;display:flex}.uagb-tabs__wrap.uagb-tabs__vstyle8-desktop ul.uagb-tabs__panel{margin:0px;padding:0px;display:grid;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle8-desktop ul.uagb-tabs__panel .uagb-tab{border-top-style:solid;border-left-style:solid;border-bottom-style:none;padding:6px 12px;border-top-left-radius:4px}.uagb-tabs__wrap.uagb-tabs__vstyle8-desktop ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle8-desktop ul.uagb-tabs__panel .uagb-tab:last-child{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle8-desktop .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle9-desktop{flex-direction:row;display:flex}.uagb-tabs__wrap.uagb-tabs__vstyle9-desktop ul.uagb-tabs__panel{margin:0px;padding:0px;display:grid;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle9-desktop ul.uagb-tabs__panel .uagb-tab{border-radius:30px;border-style:solid;margin:0px 10px 10px 0px;padding:6px 12px 6px 12px}.uagb-tabs__wrap.uagb-tabs__vstyle9-desktop ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle9-desktop .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle10-desktop{border-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle10-desktop ul.uagb-tabs__panel{display:grid;flex-grow:1;min-width:25%;max-width:25%;margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__vstyle10-desktop ul.uagb-tabs__panel .uagb-tab{padding:6px 12px;margin:10px 10px 10px 10px;text-align:center}.uagb-tabs__wrap.uagb-tabs__vstyle10-desktop ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle10-desktop ul.uagb-tabs__panel .uagb-tab.uagb-tabs__active{border-right-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle10-desktop .uagb-tabs__body-wrap{flex-grow:3;max-width:75%}@media (max-width: 1023px){.uagb-tabs__wrap.uagb-tabs__hstyle1-tablet{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle1-tablet ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle1-tablet .uagb-tab{border-style:solid;margin:10px 10px 10px 0px;padding:6px 12px;border-radius:4px}.uagb-tabs__wrap.uagb-tabs__hstyle1-tablet p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle1-tablet .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle2-tablet{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle2-tablet ul.uagb-tabs__panel{margin:0px;padding:0px;border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle2-tablet .uagb-tab{margin:10px 10px -1px 0px;padding:6px 12px;border-top-left-radius:4px;border-top-right-radius:4px}.uagb-tabs__wrap.uagb-tabs__hstyle2-tablet p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle2-tablet .uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle2-tablet .uagb-tabs__body-wrap{border:none}.uagb-tabs__wrap.uagb-tabs__hstyle3-tablet{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle3-tablet ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle3-tablet .uagb-tab{border-top-right-radius:7px;border-top-left-radius:7px;border-top-style:solid;border-left-style:solid;border-right-style:solid;margin:10px 10px 0px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__hstyle3-tablet .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle3-tablet .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle4-tablet{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle4-tablet ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle4-tablet .uagb-tab{border-radius:30px;border-style:solid;margin:10px 10px 10px 0px;padding:6px 12px 6px 12px}.uagb-tabs__wrap.uagb-tabs__hstyle4-tablet .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle4-tablet .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle5-tablet{flex-direction:column;border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle5-tablet ul.uagb-tabs__panel{justify-content:space-between;margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle5-tablet .uagb-tab{padding:6px 12px;margin:10px 10px 10px 10px;width:100%;text-align:center}.uagb-tabs__wrap.uagb-tabs__hstyle5-tablet .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle5-tablet .uagb-tab.uagb-tabs__active{border-bottom:1px solid}.uagb-tabs__wrap.uagb-tabs__vstyle6-tablet ul.uagb-tabs__panel{margin:0px;padding:0px;display:flex;flex-direction:column;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle6-tablet ul.uagb-tabs__panel .uagb-tab{border-style:solid;margin:0px 10px 10px 0px;padding:6px 12px;border-radius:4px}.uagb-tabs__wrap.uagb-tabs__vstyle6-tablet ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle6-tablet .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle7-tablet{flex-direction:row}.uagb-tabs__wrap.uagb-tabs__vstyle7-tablet ul.uagb-tabs__panel{display:flex;flex-direction:column;flex-grow:1;min-width:25%;max-width:25%;margin:0px;padding:0px;border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle7-tablet ul.uagb-tabs__panel .uagb-tab{margin:10px 10px 0px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__vstyle7-tablet ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle7-tablet ul.uagb-tabs__panel .uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle7-tablet .uagb-tabs__body-wrap{border:none;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle8-tablet{flex-direction:row;display:flex}.uagb-tabs__wrap.uagb-tabs__vstyle8-tablet ul.uagb-tabs__panel{margin:0px;padding:0px;display:grid;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle8-tablet ul.uagb-tabs__panel .uagb-tab{border-top-style:solid;border-left-style:solid;border-bottom-style:none;padding:6px 12px;border-top-left-radius:4px}.uagb-tabs__wrap.uagb-tabs__vstyle8-tablet ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle8-tablet ul.uagb-tabs__panel .uagb-tab:last-child{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle8-tablet .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle9-tablet{flex-direction:row;display:flex}.uagb-tabs__wrap.uagb-tabs__vstyle9-tablet ul.uagb-tabs__panel{margin:0px;padding:0px;display:grid;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle9-tablet ul.uagb-tabs__panel .uagb-tab{border-radius:30px;border-style:solid;margin:0px 10px 10px 0px;padding:6px 12px 6px 12px}.uagb-tabs__wrap.uagb-tabs__vstyle9-tablet ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle9-tablet .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle10-tablet{border-style:solid;flex-direction:row}.uagb-tabs__wrap.uagb-tabs__vstyle10-tablet ul.uagb-tabs__panel{display:grid;flex-grow:1;min-width:25%;max-width:25%;margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__vstyle10-tablet ul.uagb-tabs__panel .uagb-tab{padding:6px 12px;margin:10px 10px 10px 10px;text-align:center}.uagb-tabs__wrap.uagb-tabs__vstyle10-tablet ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle10-tablet ul.uagb-tabs__panel .uagb-tab.uagb-tabs__active{border-right-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle10-tablet .uagb-tabs__body-wrap{flex-grow:3;max-width:75%}}@media (max-width: 767px){.uagb-tabs__wrap.uagb-tabs__hstyle1-mobile{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle1-mobile ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle1-mobile .uagb-tab{border-style:solid;margin:10px 10px 10px 0px;padding:6px 12px;border-radius:4px}.uagb-tabs__wrap.uagb-tabs__hstyle1-mobile p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle1-mobile .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle2-mobile{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle2-mobile ul.uagb-tabs__panel{margin:0px;padding:0px;border-bottom:1px solid #b3b6b9}.uagb-tabs__wrap.uagb-tabs__hstyle2-mobile .uagb-tab{margin:10px 10px -1px 0px;padding:6px 12px;border-top-left-radius:4px;border-top-right-radius:4px}.uagb-tabs__wrap.uagb-tabs__hstyle2-mobile p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle2-mobile .uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle2-mobile .uagb-tabs__body-wrap{border:none}.uagb-tabs__wrap.uagb-tabs__hstyle3-mobile{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle3-mobile ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle3-mobile .uagb-tab{border-top-right-radius:7px;border-top-left-radius:7px;border-top-style:solid;border-left-style:solid;border-right-style:solid;margin:10px 10px 0px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__hstyle3-mobile .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle3-mobile .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle4-mobile{flex-direction:column}.uagb-tabs__wrap.uagb-tabs__hstyle4-mobile ul.uagb-tabs__panel{margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle4-mobile .uagb-tab{border-radius:30px;border-style:solid;margin:10px 10px 10px 0px;padding:6px 12px 6px 12px}.uagb-tabs__wrap.uagb-tabs__hstyle4-mobile .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle4-mobile .uagb-tabs__body-wrap{border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle5-mobile{flex-direction:column;border-style:solid}.uagb-tabs__wrap.uagb-tabs__hstyle5-mobile ul.uagb-tabs__panel{justify-content:space-between;margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__hstyle5-mobile .uagb-tab{padding:6px 12px;margin:10px 10px 10px 10px;text-align:center;width:100%}.uagb-tabs__wrap.uagb-tabs__hstyle5-mobile .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__hstyle5-mobile .uagb-tab.uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle6-mobile ul.uagb-tabs__panel{margin:0px;padding:0px;display:flex;flex-direction:column;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle6-mobile ul.uagb-tabs__panel .uagb-tab{border-style:solid;margin:0px 10px 10px 0px;padding:6px 12px;border-radius:4px}.uagb-tabs__wrap.uagb-tabs__vstyle6-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle6-mobile .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle7-mobile{flex-direction:row}.uagb-tabs__wrap.uagb-tabs__vstyle7-mobile ul.uagb-tabs__panel{display:flex;flex-direction:column;flex-grow:1;min-width:25%;max-width:25%;margin:0px;padding:0px;border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle7-mobile ul.uagb-tabs__panel .uagb-tab{margin:10px 10px 0px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__vstyle7-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle7-mobile ul.uagb-tabs__panel .uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle7-mobile .uagb-tabs__body-wrap{border:none;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle8-mobile{flex-direction:row;display:flex}.uagb-tabs__wrap.uagb-tabs__vstyle8-mobile ul.uagb-tabs__panel{margin:0px;padding:0px;display:grid;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle8-mobile ul.uagb-tabs__panel .uagb-tab{border-top-style:solid;border-left-style:solid;border-bottom-style:none;padding:6px 12px;border-top-left-radius:4px}.uagb-tabs__wrap.uagb-tabs__vstyle8-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle8-mobile ul.uagb-tabs__panel .uagb-tab:last-child{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle8-mobile .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle9-mobile{flex-direction:row;display:flex}.uagb-tabs__wrap.uagb-tabs__vstyle9-mobile ul.uagb-tabs__panel{margin:0px;padding:0px;display:grid;flex-grow:1;min-width:25%;max-width:25%}.uagb-tabs__wrap.uagb-tabs__vstyle9-mobile ul.uagb-tabs__panel .uagb-tab{border-radius:30px;border-style:solid;margin:0px 10px 10px 0px;padding:6px 12px 6px 12px}.uagb-tabs__wrap.uagb-tabs__vstyle9-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle9-mobile .uagb-tabs__body-wrap{border-style:solid;flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__vstyle10-mobile{border-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle10-mobile ul.uagb-tabs__panel{display:grid;flex-grow:1;min-width:25%;max-width:25%;margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__vstyle10-mobile ul.uagb-tabs__panel .uagb-tab{padding:6px 12px;margin:10px 10px 10px 10px;text-align:center}.uagb-tabs__wrap.uagb-tabs__vstyle10-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__vstyle10-mobile ul.uagb-tabs__panel .uagb-tab.uagb-tabs__active{border-right-style:solid}.uagb-tabs__wrap.uagb-tabs__vstyle10-mobile .uagb-tabs__body-wrap{flex-grow:3;max-width:75%}.uagb-tabs__wrap.uagb-tabs__stack1-mobile{display:grid}.uagb-tabs__wrap.uagb-tabs__stack1-mobile ul.uagb-tabs__panel{margin:0px;padding:0px;display:flex;flex-direction:column;max-width:100%;flex-grow:unset}.uagb-tabs__wrap.uagb-tabs__stack1-mobile ul.uagb-tabs__panel .uagb-tab{border-style:solid;margin:0px 0px 10px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__stack1-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__stack1-mobile .uagb-tabs__body-wrap{border-style:solid;max-width:100%}.uagb-tabs__wrap.uagb-tabs__stack2-mobile{display:grid}.uagb-tabs__wrap.uagb-tabs__stack2-mobile ul.uagb-tabs__panel{display:flex;flex-direction:column;max-width:100%;flex-grow:unset;width:100%;margin:0px;padding:0px;border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__stack2-mobile ul.uagb-tabs__panel .uagb-tab{margin:0px 0px 10px 0px;padding:6px 12px}.uagb-tabs__wrap.uagb-tabs__stack2-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__stack2-mobile ul.uagb-tabs__panel .uagb-tabs__active{border-bottom-style:solid}.uagb-tabs__wrap.uagb-tabs__stack2-mobile .uagb-tabs__body-wrap{max-width:100%}.uagb-tabs__wrap.uagb-tabs__stack3-mobile{display:grid}.uagb-tabs__wrap.uagb-tabs__stack3-mobile ul.uagb-tabs__panel{margin:0px;padding:0px;display:flex;flex-direction:column;max-width:100%;flex-grow:unset;width:100%}.uagb-tabs__wrap.uagb-tabs__stack3-mobile ul.uagb-tabs__panel .uagb-tab{border-radius:30px;border-style:solid;margin:0px 0px 10px 0px;padding:6px 12px 6px 12px}.uagb-tabs__wrap.uagb-tabs__stack3-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__stack3-mobile .uagb-tabs__body-wrap{border-style:solid;max-width:100%}.uagb-tabs__wrap.uagb-tabs__stack4-mobile{display:grid;border-style:solid;margin:auto}.uagb-tabs__wrap.uagb-tabs__stack4-mobile ul.uagb-tabs__panel{display:flex;flex-direction:column;max-width:100%;flex-grow:unset;width:100%;margin:0px;padding:0px}.uagb-tabs__wrap.uagb-tabs__stack4-mobile ul.uagb-tabs__panel .uagb-tab{padding:6px 12px;margin:0px 0px 10px 0px;text-align:center}.uagb-tabs__wrap.uagb-tabs__stack4-mobile ul.uagb-tabs__panel .uagb-tab p{margin:0px}.uagb-tabs__wrap.uagb-tabs__stack4-mobile ul.uagb-tabs__panel .uagb-tab.uagb-tabs__active{border-right-style:solid}.uagb-tabs__wrap.uagb-tabs__stack4-mobile .uagb-tabs__body-wrap{max-width:100%}}
|
assets/js/tabs.js
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
(function ($) {
|
3 |
+
$ = jQuery;
|
4 |
+
jQuery('.uagb-tabs__wrap').each(function () {
|
5 |
+
|
6 |
+
var activeTab = jQuery(this).data('tab-active');
|
7 |
+
var tabs = jQuery(this).find('.uagb-tab');
|
8 |
+
var bodyContainers = jQuery(this).find('.uagb-tabs__body-container');
|
9 |
+
|
10 |
+
tabs.on( 'click', function ( event ) {
|
11 |
+
event.preventDefault();
|
12 |
+
var currentTabActive = jQuery( event.target ).closest( '.uagb-tab' );
|
13 |
+
var href = currentTabActive.find( 'a' ).attr( 'href' );
|
14 |
+
|
15 |
+
tabs.removeClass( 'uagb-tabs__active' );
|
16 |
+
currentTabActive.addClass( 'uagb-tabs__active' );
|
17 |
+
bodyContainers.find( '.uagb-tabs__body' ).hide();
|
18 |
+
bodyContainers.find( '.uagb-tabs__body[aria-labelledby="' + href.replace( /^#/, "" ) + '"]' ).show();
|
19 |
+
} );
|
20 |
+
|
21 |
+
tabs.eq( activeTab ).trigger( 'click' ); // Default
|
22 |
+
|
23 |
+
});
|
24 |
+
|
25 |
+
})( jQuery )
|
classes/class-uagb-block-helper.php
CHANGED
@@ -34,26 +34,26 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
34 |
$selectors = array();
|
35 |
|
36 |
$selectors = array(
|
37 |
-
' .uagb-rating-title'
|
38 |
'color' => $attr['titleColor'],
|
39 |
),
|
40 |
-
' .uagb-rating-desc'
|
41 |
'color' => $attr['descColor'],
|
42 |
),
|
43 |
-
' .uagb-rating-author'
|
44 |
'color' => $attr['authorColor'],
|
45 |
),
|
46 |
-
' .uagb_review_entry'
|
47 |
'color' => $attr['contentColor'],
|
48 |
),
|
49 |
-
' .uagb_review_block'
|
50 |
'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
51 |
'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
52 |
'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
|
53 |
'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
|
54 |
'text-align' => $attr['overallAlignment'],
|
55 |
),
|
56 |
-
' .uagb_review_summary'
|
57 |
'color' => $attr['summaryColor'],
|
58 |
),
|
59 |
' .uagb_review_entry .star, .uagb_review_average_stars .star' => array(
|
@@ -114,12 +114,14 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
114 |
|
115 |
$selectors = array(
|
116 |
' .uagb-notice-title' => array(
|
117 |
-
'color' => $attr['titleColor'],
|
118 |
'padding-left' => UAGB_Helper::get_css_value( $lPadding, 'px' ),
|
119 |
'padding-right' => UAGB_Helper::get_css_value( $rPadding, 'px' ),
|
120 |
'padding-top' => UAGB_Helper::get_css_value( $attr['titleVrPadding'], 'px' ),
|
121 |
'padding-bottom' => UAGB_Helper::get_css_value( $attr['titleVrPadding'], 'px' ),
|
122 |
),
|
|
|
|
|
|
|
123 |
' .uagb-notice-text' => array(
|
124 |
'color' => $attr['textColor'],
|
125 |
'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
@@ -185,7 +187,6 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
185 |
' .uagb-how-to-main-wrap' => array(
|
186 |
'text-align' => $attr['overallAlignment'],
|
187 |
),
|
188 |
-
|
189 |
' .uagb-how-to-main-wrap p.uagb-howto-desc-text' => array(
|
190 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['row_gap'], 'px' ),
|
191 |
),
|
@@ -226,11 +227,11 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
226 |
'margin-left' => UAGB_Helper::get_css_value( $attr['costSpace'], 'px' ),
|
227 |
),
|
228 |
|
229 |
-
' .
|
230 |
'color' => $attr['headingColor'],
|
231 |
),
|
232 |
|
233 |
-
' .uagb-howto-desc-text'
|
234 |
'color' => $attr['subHeadingColor'],
|
235 |
),
|
236 |
|
@@ -836,7 +837,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
836 |
$t_selectors = array();
|
837 |
|
838 |
$selectors = array(
|
839 |
-
' .uagb-heading-text'
|
840 |
'text-align' => $attr['headingAlign'],
|
841 |
'color' => $attr['headingColor'],
|
842 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
|
@@ -844,7 +845,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
844 |
' .uagb-separator-wrap' => array(
|
845 |
'text-align' => $attr['headingAlign'],
|
846 |
),
|
847 |
-
' .uagb-desc-text'
|
848 |
'text-align' => $attr['headingAlign'],
|
849 |
'color' => $attr['subHeadingColor'],
|
850 |
),
|
@@ -1166,25 +1167,25 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
1166 |
$icon_size = UAGB_Helper::get_css_value( $attr['iconSize'], 'px' );
|
1167 |
|
1168 |
$selectors = array(
|
1169 |
-
' .uagb-ifb-icon'
|
1170 |
'height' => $icon_size,
|
1171 |
'width' => $icon_size,
|
1172 |
'line-height' => $icon_size,
|
1173 |
),
|
1174 |
-
' .uagb-ifb-icon > span'
|
1175 |
'font-size' => $icon_size,
|
1176 |
'height' => $icon_size,
|
1177 |
'width' => $icon_size,
|
1178 |
'line-height' => $icon_size,
|
1179 |
'color' => $attr['iconColor'],
|
1180 |
),
|
1181 |
-
' .uagb-ifb-icon svg'
|
1182 |
'fill' => $attr['iconColor'],
|
1183 |
),
|
1184 |
-
' .uagb-ifb-icon:hover > span'
|
1185 |
'color' => $attr['iconHover'],
|
1186 |
),
|
1187 |
-
' .uagb-ifb-icon:hover svg'
|
1188 |
'fill' => $attr['iconHover'],
|
1189 |
),
|
1190 |
|
@@ -1202,38 +1203,36 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
1202 |
'border-radius' => UAGB_Helper::get_css_value( $attr['iconimgBorderRadius'], 'px' ),
|
1203 |
),
|
1204 |
// Prefix Style.
|
1205 |
-
' .uagb-ifb-title-prefix'
|
1206 |
'color' => $attr['prefixColor'],
|
1207 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
|
1208 |
),
|
1209 |
// Title Style.
|
1210 |
-
|
1211 |
-
|
1212 |
-
),
|
1213 |
-
' .uagb-ifb-title' => array(
|
1214 |
'color' => $attr['headingColor'],
|
1215 |
'margin-bottom' => $attr['headSpace'] . 'px',
|
1216 |
),
|
1217 |
// Description Style.
|
1218 |
-
' .uagb-ifb-desc'
|
1219 |
'color' => $attr['subHeadingColor'],
|
1220 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['subHeadSpace'], 'px' ),
|
1221 |
),
|
1222 |
// Seperator.
|
1223 |
-
' .uagb-ifb-separator'
|
1224 |
'width' => UAGB_Helper::get_css_value( $attr['seperatorWidth'], $attr['separatorWidthType'] ),
|
1225 |
'border-top-width' => UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
|
1226 |
'border-top-color' => $attr['seperatorColor'],
|
1227 |
'border-top-style' => $attr['seperatorStyle'],
|
1228 |
),
|
1229 |
-
' .uagb-ifb-separator-parent'
|
1230 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['seperatorSpace'], 'px' ),
|
1231 |
),
|
1232 |
// CTA icon space.
|
1233 |
-
' .uagb-ifb-align-icon-after'
|
1234 |
'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
|
1235 |
),
|
1236 |
-
' .uagb-ifb-align-icon-before'
|
1237 |
'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
|
1238 |
),
|
1239 |
);
|
@@ -2385,7 +2384,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
2385 |
$connector_size = UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' );
|
2386 |
|
2387 |
$selectors = array(
|
2388 |
-
' .uagb-timeline__heading'
|
2389 |
'text-align' => $attr['align'],
|
2390 |
'color' => $attr['headingColor'],
|
2391 |
),
|
@@ -2398,7 +2397,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
2398 |
' .uagb-timeline__heading-text' => array(
|
2399 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
|
2400 |
),
|
2401 |
-
'
|
2402 |
'text-align' => $attr['align'],
|
2403 |
'color' => $attr['subHeadingColor'],
|
2404 |
),
|
@@ -2495,6 +2494,12 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
2495 |
'color' => $attr['dateColor'],
|
2496 |
'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
|
2497 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
2498 |
' .uagb-timeline__events-inner-new' => array(
|
2499 |
'background-color' => $attr['backgroundColor'],
|
2500 |
'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
|
@@ -2523,12 +2528,20 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
2523 |
' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
|
2524 |
'border-right-color' => $attr['backgroundColor'],
|
2525 |
),
|
|
|
|
|
|
|
|
|
2526 |
);
|
2527 |
|
2528 |
$t_selectors = array(
|
2529 |
' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
|
2530 |
'border-right-color' => $attr['backgroundColor'],
|
2531 |
),
|
|
|
|
|
|
|
|
|
2532 |
);
|
2533 |
|
2534 |
$combined_selectors = array(
|
@@ -2587,7 +2600,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
2587 |
'color' => $attr['ctaColor'],
|
2588 |
'background-color' => $attr['ctaBackground'],
|
2589 |
),
|
2590 |
-
' .uagb-timeline__heading a'
|
2591 |
'text-align' => $attr['align'],
|
2592 |
'color' => $attr['headingColor'],
|
2593 |
),
|
@@ -2688,7 +2701,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
2688 |
}
|
2689 |
|
2690 |
$selectors = array(
|
2691 |
-
' .uagb-rest_menu__wrap'
|
2692 |
'padding-left' => UAGB_Helper::get_css_value( ( $attr['columnGap'] / 2 ), 'px' ),
|
2693 |
'padding-right' => UAGB_Helper::get_css_value( ( $attr['columnGap'] / 2 ), 'px' ),
|
2694 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' ),
|
@@ -2699,28 +2712,28 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
2699 |
'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
|
2700 |
'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
|
2701 |
),
|
2702 |
-
' .uagb-rm__image img'
|
2703 |
'width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
|
2704 |
'max-width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
|
2705 |
),
|
2706 |
-
' .uagb-rm__separator-parent'
|
2707 |
'justify-content' => $align,
|
2708 |
),
|
2709 |
-
' .uagb-rm__content'
|
2710 |
'text-align' => $attr['headingAlign'],
|
2711 |
'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
2712 |
'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
2713 |
'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
|
2714 |
'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
|
2715 |
),
|
2716 |
-
' .uagb-rm__title'
|
2717 |
'color' => $attr['titleColor'],
|
2718 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
|
2719 |
),
|
2720 |
-
' .uagb-rm__price'
|
2721 |
'color' => $attr['priceColor'],
|
2722 |
),
|
2723 |
-
' .uagb-rm__desc'
|
2724 |
'color' => $attr['descColor'],
|
2725 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
|
2726 |
),
|
@@ -3142,7 +3155,148 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
|
|
3142 |
return array();
|
3143 |
|
3144 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3146 |
/**
|
3147 |
* Get Blockquote CSS
|
3148 |
*
|
34 |
$selectors = array();
|
35 |
|
36 |
$selectors = array(
|
37 |
+
' .uagb_review_block .uagb-rating-title' => array(
|
38 |
'color' => $attr['titleColor'],
|
39 |
),
|
40 |
+
' .uagb_review_block .uagb-rating-desc' => array(
|
41 |
'color' => $attr['descColor'],
|
42 |
),
|
43 |
+
' .uagb_review_block .uagb-rating-author' => array(
|
44 |
'color' => $attr['authorColor'],
|
45 |
),
|
46 |
+
' .uagb_review_entry' => array(
|
47 |
'color' => $attr['contentColor'],
|
48 |
),
|
49 |
+
' .uagb_review_block' => array(
|
50 |
'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
51 |
'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
52 |
'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
|
53 |
'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
|
54 |
'text-align' => $attr['overallAlignment'],
|
55 |
),
|
56 |
+
' .uagb_review_summary' => array(
|
57 |
'color' => $attr['summaryColor'],
|
58 |
),
|
59 |
' .uagb_review_entry .star, .uagb_review_average_stars .star' => array(
|
114 |
|
115 |
$selectors = array(
|
116 |
' .uagb-notice-title' => array(
|
|
|
117 |
'padding-left' => UAGB_Helper::get_css_value( $lPadding, 'px' ),
|
118 |
'padding-right' => UAGB_Helper::get_css_value( $rPadding, 'px' ),
|
119 |
'padding-top' => UAGB_Helper::get_css_value( $attr['titleVrPadding'], 'px' ),
|
120 |
'padding-bottom' => UAGB_Helper::get_css_value( $attr['titleVrPadding'], 'px' ),
|
121 |
),
|
122 |
+
'.uagb-inline_notice__outer-wrap .uagb-notice-title' => array(
|
123 |
+
'color' => $attr['titleColor'],
|
124 |
+
),
|
125 |
' .uagb-notice-text' => array(
|
126 |
'color' => $attr['textColor'],
|
127 |
'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
187 |
' .uagb-how-to-main-wrap' => array(
|
188 |
'text-align' => $attr['overallAlignment'],
|
189 |
),
|
|
|
190 |
' .uagb-how-to-main-wrap p.uagb-howto-desc-text' => array(
|
191 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['row_gap'], 'px' ),
|
192 |
),
|
227 |
'margin-left' => UAGB_Helper::get_css_value( $attr['costSpace'], 'px' ),
|
228 |
),
|
229 |
|
230 |
+
' ' . $attr['headingTag'] . '.uagb-howto-heading-text' => array(
|
231 |
'color' => $attr['headingColor'],
|
232 |
),
|
233 |
|
234 |
+
' p.uagb-howto-desc-text' => array(
|
235 |
'color' => $attr['subHeadingColor'],
|
236 |
),
|
237 |
|
837 |
$t_selectors = array();
|
838 |
|
839 |
$selectors = array(
|
840 |
+
'.wp-block-uagb-advanced-heading .uagb-heading-text' => array(
|
841 |
'text-align' => $attr['headingAlign'],
|
842 |
'color' => $attr['headingColor'],
|
843 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
|
845 |
' .uagb-separator-wrap' => array(
|
846 |
'text-align' => $attr['headingAlign'],
|
847 |
),
|
848 |
+
'.wp-block-uagb-advanced-heading .uagb-desc-text' => array(
|
849 |
'text-align' => $attr['headingAlign'],
|
850 |
'color' => $attr['subHeadingColor'],
|
851 |
),
|
1167 |
$icon_size = UAGB_Helper::get_css_value( $attr['iconSize'], 'px' );
|
1168 |
|
1169 |
$selectors = array(
|
1170 |
+
' .uagb-ifb-icon' => array(
|
1171 |
'height' => $icon_size,
|
1172 |
'width' => $icon_size,
|
1173 |
'line-height' => $icon_size,
|
1174 |
),
|
1175 |
+
' .uagb-ifb-icon > span' => array(
|
1176 |
'font-size' => $icon_size,
|
1177 |
'height' => $icon_size,
|
1178 |
'width' => $icon_size,
|
1179 |
'line-height' => $icon_size,
|
1180 |
'color' => $attr['iconColor'],
|
1181 |
),
|
1182 |
+
' .uagb-ifb-icon svg' => array(
|
1183 |
'fill' => $attr['iconColor'],
|
1184 |
),
|
1185 |
+
' .uagb-ifb-icon:hover > span' => array(
|
1186 |
'color' => $attr['iconHover'],
|
1187 |
),
|
1188 |
+
' .uagb-ifb-icon:hover svg' => array(
|
1189 |
'fill' => $attr['iconHover'],
|
1190 |
),
|
1191 |
|
1203 |
'border-radius' => UAGB_Helper::get_css_value( $attr['iconimgBorderRadius'], 'px' ),
|
1204 |
),
|
1205 |
// Prefix Style.
|
1206 |
+
' .uagb-ifb-title-prefix' => array(
|
1207 |
'color' => $attr['prefixColor'],
|
1208 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
|
1209 |
),
|
1210 |
// Title Style.
|
1211 |
+
|
1212 |
+
' .uagb-ifb-title-wrap .uagb-ifb-title' => array(
|
|
|
|
|
1213 |
'color' => $attr['headingColor'],
|
1214 |
'margin-bottom' => $attr['headSpace'] . 'px',
|
1215 |
),
|
1216 |
// Description Style.
|
1217 |
+
' .uagb-ifb-text-wrap .uagb-ifb-desc' => array(
|
1218 |
'color' => $attr['subHeadingColor'],
|
1219 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['subHeadSpace'], 'px' ),
|
1220 |
),
|
1221 |
// Seperator.
|
1222 |
+
' .uagb-ifb-separator' => array(
|
1223 |
'width' => UAGB_Helper::get_css_value( $attr['seperatorWidth'], $attr['separatorWidthType'] ),
|
1224 |
'border-top-width' => UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
|
1225 |
'border-top-color' => $attr['seperatorColor'],
|
1226 |
'border-top-style' => $attr['seperatorStyle'],
|
1227 |
),
|
1228 |
+
' .uagb-ifb-separator-parent' => array(
|
1229 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['seperatorSpace'], 'px' ),
|
1230 |
),
|
1231 |
// CTA icon space.
|
1232 |
+
' .uagb-ifb-align-icon-after' => array(
|
1233 |
'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
|
1234 |
),
|
1235 |
+
' .uagb-ifb-align-icon-before' => array(
|
1236 |
'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
|
1237 |
),
|
1238 |
);
|
2384 |
$connector_size = UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' );
|
2385 |
|
2386 |
$selectors = array(
|
2387 |
+
' .uagb-timeline-content .uagb-timeline__heading' => array(
|
2388 |
'text-align' => $attr['align'],
|
2389 |
'color' => $attr['headingColor'],
|
2390 |
),
|
2397 |
' .uagb-timeline__heading-text' => array(
|
2398 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
|
2399 |
),
|
2400 |
+
' .uagb-timeline-content .uagb-timeline-desc-content' => array(
|
2401 |
'text-align' => $attr['align'],
|
2402 |
'color' => $attr['subHeadingColor'],
|
2403 |
),
|
2494 |
'color' => $attr['dateColor'],
|
2495 |
'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
|
2496 |
),
|
2497 |
+
' .uagb-timeline__right-block .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
|
2498 |
+
'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
|
2499 |
+
),
|
2500 |
+
' .uagb-timeline__left-block .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
|
2501 |
+
'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
|
2502 |
+
),
|
2503 |
' .uagb-timeline__events-inner-new' => array(
|
2504 |
'background-color' => $attr['backgroundColor'],
|
2505 |
'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
|
2528 |
' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
|
2529 |
'border-right-color' => $attr['backgroundColor'],
|
2530 |
),
|
2531 |
+
' .uagb-timeline__center-block .uagb-timeline__marker' => array(
|
2532 |
+
'margin-left' => 0,
|
2533 |
+
'margin-right' => 0,
|
2534 |
+
),
|
2535 |
);
|
2536 |
|
2537 |
$t_selectors = array(
|
2538 |
' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
|
2539 |
'border-right-color' => $attr['backgroundColor'],
|
2540 |
),
|
2541 |
+
' .uagb-timeline__center-block .uagb-timeline__marker' => array(
|
2542 |
+
'margin-left' => 0,
|
2543 |
+
'margin-right' => 0,
|
2544 |
+
),
|
2545 |
);
|
2546 |
|
2547 |
$combined_selectors = array(
|
2600 |
'color' => $attr['ctaColor'],
|
2601 |
'background-color' => $attr['ctaBackground'],
|
2602 |
),
|
2603 |
+
' .uagb-timeline-content .uagb-timeline__heading a' => array(
|
2604 |
'text-align' => $attr['align'],
|
2605 |
'color' => $attr['headingColor'],
|
2606 |
),
|
2701 |
}
|
2702 |
|
2703 |
$selectors = array(
|
2704 |
+
' .uagb-rest_menu__wrap' => array(
|
2705 |
'padding-left' => UAGB_Helper::get_css_value( ( $attr['columnGap'] / 2 ), 'px' ),
|
2706 |
'padding-right' => UAGB_Helper::get_css_value( ( $attr['columnGap'] / 2 ), 'px' ),
|
2707 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' ),
|
2712 |
'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
|
2713 |
'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
|
2714 |
),
|
2715 |
+
' .uagb-rm__image img' => array(
|
2716 |
'width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
|
2717 |
'max-width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
|
2718 |
),
|
2719 |
+
' .uagb-rm__separator-parent' => array(
|
2720 |
'justify-content' => $align,
|
2721 |
),
|
2722 |
+
' .uagb-rm__content' => array(
|
2723 |
'text-align' => $attr['headingAlign'],
|
2724 |
'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
2725 |
'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
|
2726 |
'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
|
2727 |
'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
|
2728 |
),
|
2729 |
+
' .uagb-rm-details .uagb-rm__title' => array(
|
2730 |
'color' => $attr['titleColor'],
|
2731 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
|
2732 |
),
|
2733 |
+
' .uagb-rm__price' => array(
|
2734 |
'color' => $attr['priceColor'],
|
2735 |
),
|
2736 |
+
' .uagb-rm__desc' => array(
|
2737 |
'color' => $attr['descColor'],
|
2738 |
'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
|
2739 |
),
|
3155 |
return array();
|
3156 |
|
3157 |
}
|
3158 |
+
/**
|
3159 |
+
* Get Tabs CSS
|
3160 |
+
*
|
3161 |
+
* @since 1.21.0
|
3162 |
+
* @param array $attr The block attributes.
|
3163 |
+
* @param string $id The selector ID.
|
3164 |
+
* @return array The Widget List.
|
3165 |
+
*/
|
3166 |
+
public static function get_tabs_css( $attr, $id ) {
|
3167 |
+
|
3168 |
+
$defaults = UAGB_Helper::$block_list['uagb/tabs']['attributes'];
|
3169 |
+
|
3170 |
+
$attr = array_merge( $defaults, (array) $attr );
|
3171 |
+
|
3172 |
+
$selectors = array(
|
3173 |
+
' .uagb-tabs__panel .uagb-tab ' => array(
|
3174 |
+
'background' => $attr['headerBgColor'],
|
3175 |
+
'text-align' => $attr['titleAlign'],
|
3176 |
+
'padding-top' => UAGB_Helper::get_css_value( $attr['tabTitleVertPadding'], 'px' ),
|
3177 |
+
'padding-bottom' => UAGB_Helper::get_css_value( $attr['tabTitleVertPadding'], 'px' ),
|
3178 |
+
'padding-left' => UAGB_Helper::get_css_value( $attr['tabTitleHrPadding'], 'px' ),
|
3179 |
+
'padding-right' => UAGB_Helper::get_css_value( $attr['tabTitleHrPadding'], 'px' ),
|
3180 |
+
'margin-top' => UAGB_Helper::get_css_value( $attr['tabTitleTopMargin'], 'px' ),
|
3181 |
+
'margin-left' => UAGB_Helper::get_css_value( $attr['tabTitleLeftMargin'], 'px' ),
|
3182 |
+
'margin-right' => UAGB_Helper::get_css_value( $attr['tabTitleRightMargin'], 'px' ),
|
3183 |
+
'margin-bottom' => UAGB_Helper::get_css_value( $attr['tabTitleBottomMargin'], 'px' ),
|
3184 |
+
'border-color' => $attr['borderColor'],
|
3185 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3186 |
+
),
|
3187 |
+
' .uagb-tabs__panel .uagb-tab span' => array(
|
3188 |
+
'color' => $attr['headerTextColor'],
|
3189 |
+
),
|
3190 |
+
' .uagb-tabs__panel .uagb-tab.uagb-tabs__active' => array(
|
3191 |
+
'background' => $attr['activeTabBgColor'],
|
3192 |
+
),
|
3193 |
+
|
3194 |
+
' .uagb-tabs__panel .uagb-tab.uagb-tabs__active span' => array(
|
3195 |
+
'color' => $attr['activeTabTextColor'],
|
3196 |
+
),
|
3197 |
+
" .uagb-tabs__panel .uagb-tab.uagb-tabs__active .uagb-tabs__icon svg" => array(
|
3198 |
+
'fill' => $attr['activeiconColor'],
|
3199 |
+
),
|
3200 |
+
|
3201 |
+
' .uagb-tabs__body-wrap ' => array(
|
3202 |
+
'background' => $attr['bodyBgColor'],
|
3203 |
+
'padding-top' => UAGB_Helper::get_css_value( $attr['tabBodyVertPadding'], 'px' ),
|
3204 |
+
'padding-bottom' => UAGB_Helper::get_css_value( $attr['tabBodyVertPadding'], 'px' ),
|
3205 |
+
'padding-left' => UAGB_Helper::get_css_value( $attr['tabBodyHrPadding'], 'px' ),
|
3206 |
+
'padding-right' => UAGB_Helper::get_css_value( $attr['tabBodyHrPadding'], 'px' ),
|
3207 |
+
'margin-top' => UAGB_Helper::get_css_value( $attr['tabBodyTopMargin'], 'px' ),
|
3208 |
+
'margin-left' => UAGB_Helper::get_css_value( $attr['tabBodyLeftMargin'], 'px' ),
|
3209 |
+
'margin-right' => UAGB_Helper::get_css_value( $attr['tabBodyRightMargin'], 'px' ),
|
3210 |
+
'margin-bottom' => UAGB_Helper::get_css_value( $attr['tabBodyBottomMargin'], 'px' ),
|
3211 |
+
'border-color' => $attr['borderColor'],
|
3212 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3213 |
+
),
|
3214 |
|
3215 |
+
' .uagb-tabs__body-wrap p ' => array(
|
3216 |
+
'color' => $attr['bodyTextColor'],
|
3217 |
+
),
|
3218 |
+
' .uagb-tabs__icon svg' => array(
|
3219 |
+
'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
|
3220 |
+
'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
|
3221 |
+
'fill' => $attr['iconColor'],
|
3222 |
+
),
|
3223 |
+
' .uagb-tabs__icon-position-left > .uagb-tabs__icon' => array(
|
3224 |
+
'margin-right' => UAGB_Helper::get_css_value( $attr['iconSpacing'], 'px' ),
|
3225 |
+
),
|
3226 |
+
' .uagb-tabs__icon-position-right > .uagb-tabs__icon' => array(
|
3227 |
+
'margin-left' => UAGB_Helper::get_css_value( $attr['iconSpacing'], 'px' ),
|
3228 |
+
),
|
3229 |
+
' .uagb-tabs__icon-position-bottom > .uagb-tabs__icon' => array(
|
3230 |
+
'margin-top' => UAGB_Helper::get_css_value( $attr['iconSpacing'], 'px' ),
|
3231 |
+
),
|
3232 |
+
' .uagb-tabs__icon-position-top > .uagb-tabs__icon' => array(
|
3233 |
+
'margin-bottom' => UAGB_Helper::get_css_value( $attr['iconSpacing'], 'px' ),
|
3234 |
+
),
|
3235 |
+
);
|
3236 |
+
$m_selectors = array();
|
3237 |
+
$t_selectors = array();
|
3238 |
+
|
3239 |
+
//Desktop
|
3240 |
+
if ( 'hstyle5' === $attr['tabsStyleD'] ){
|
3241 |
+
$selectors['.uagb-tabs__wrap.uagb-tabs__hstyle5-desktop'] = array(
|
3242 |
+
'background' => $attr['bodyBgColor'],
|
3243 |
+
'border-color' => $attr['borderColor'],
|
3244 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3245 |
+
);
|
3246 |
+
}
|
3247 |
+
if( 'vstyle10' === $attr['tabsStyleD']){
|
3248 |
+
$selectors['.uagb-tabs__wrap.uagb-tabs__vstyle10-desktop'] = array(
|
3249 |
+
'background' => $attr['bodyBgColor'],
|
3250 |
+
'border-color' => $attr['borderColor'],
|
3251 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3252 |
+
);
|
3253 |
+
}
|
3254 |
+
//Mobile
|
3255 |
+
if( 'hstyle5' === $attr['tabsStyleM'] ){
|
3256 |
+
$m_selectors['.uagb-tabs__wrap.uagb-tabs__hstyle5-mobile '] = array(
|
3257 |
+
'background' => $attr['bodyBgColor'],
|
3258 |
+
'border-color' => $attr['borderColor'],
|
3259 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3260 |
+
);
|
3261 |
+
}
|
3262 |
+
if('vstyle10' === $attr['tabsStyleM'] ){
|
3263 |
+
$m_selectors['.uagb-tabs__wrap.uagb-tabs__vstyle10-mobile ' ] = array(
|
3264 |
+
'background' => $attr['bodyBgColor'],
|
3265 |
+
'border-color' => $attr['borderColor'],
|
3266 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3267 |
+
);
|
3268 |
+
}
|
3269 |
+
if( 'stack4' === $attr['tabsStyleM']){
|
3270 |
+
$m_selectors['.uagb-tabs__wrap.uagb-tabs__stack4-mobile'] = array(
|
3271 |
+
'background' => $attr['bodyBgColor'],
|
3272 |
+
'border-color' => $attr['borderColor'],
|
3273 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3274 |
+
);
|
3275 |
+
}
|
3276 |
+
//Tablet.
|
3277 |
+
if( 'hstyle5' === $attr['tabsStyleT'] ){
|
3278 |
+
$t_selectors['.uagb-tabs__wrap.uagb-tabs__hstyle5-tablet '] = array(
|
3279 |
+
'background' => $attr['bodyBgColor'],
|
3280 |
+
'border-color' => $attr['borderColor'],
|
3281 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3282 |
+
);
|
3283 |
+
}
|
3284 |
+
if( 'vstyle10' === $attr['tabsStyleT']){
|
3285 |
+
$t_selectors['.uagb-tabs__wrap.uagb-tabs__vstyle10-tablet'] = array(
|
3286 |
+
'background' => $attr['bodyBgColor'],
|
3287 |
+
'border-color' => $attr['borderColor'],
|
3288 |
+
'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
|
3289 |
+
);
|
3290 |
+
}
|
3291 |
+
$combined_selectors = array(
|
3292 |
+
'desktop' => $selectors,
|
3293 |
+
'mobile' => $m_selectors,
|
3294 |
+
'tablet' => $t_selectors,
|
3295 |
+
);
|
3296 |
+
$combined_selectors = UAGB_Helper::get_typography_css( $attr, 'title', ' .uagb-tabs__panel .uagb-tab span', $combined_selectors );
|
3297 |
+
|
3298 |
+
return UAGB_Helper::generate_all_css( $combined_selectors, '.uagb-block-' . $id );
|
3299 |
+
}
|
3300 |
/**
|
3301 |
* Get Blockquote CSS
|
3302 |
*
|
classes/class-uagb-block-js.php
CHANGED
@@ -31,7 +31,6 @@ if ( ! class_exists( 'UAGB_Block_JS' ) ) {
|
|
31 |
|
32 |
$dots = ( 'dots' === $attr['arrowDots'] || 'arrowDots' === $attr['arrowDots'] ) ? true : false;
|
33 |
$arrows = ( 'arrows' === $attr['arrowDots'] || 'arrowDots' === $attr['arrowDots'] ) ? true : false;
|
34 |
-
$is_rtl = is_rtl();
|
35 |
|
36 |
$slick_options = apply_filters(
|
37 |
'uagb_testimonials_slick_options',
|
@@ -45,7 +44,7 @@ if ( ! class_exists( 'UAGB_Block_JS' ) ) {
|
|
45 |
'speed' => $attr['transitionSpeed'],
|
46 |
'arrows' => $arrows,
|
47 |
'dots' => $dots,
|
48 |
-
'rtl' =>
|
49 |
'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: ' . $attr['arrowColor'] . ';border-radius:' . $attr['arrowBorderRadius'] . 'px;border-width:' . $attr['arrowBorderSize'] . 'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="' . $attr['arrowSize'] . '" width = "' . $attr['arrowSize'] . '" fill ="' . $attr['arrowColor'] . '" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
|
50 |
'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: ' . $attr['arrowColor'] . ';border-radius:' . $attr['arrowBorderRadius'] . 'px;border-width:' . $attr['arrowBorderSize'] . 'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="' . $attr['arrowSize'] . '" width = "' . $attr['arrowSize'] . '" fill ="' . $attr['arrowColor'] . '" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
|
51 |
'responsive' => array(
|
31 |
|
32 |
$dots = ( 'dots' === $attr['arrowDots'] || 'arrowDots' === $attr['arrowDots'] ) ? true : false;
|
33 |
$arrows = ( 'arrows' === $attr['arrowDots'] || 'arrowDots' === $attr['arrowDots'] ) ? true : false;
|
|
|
34 |
|
35 |
$slick_options = apply_filters(
|
36 |
'uagb_testimonials_slick_options',
|
44 |
'speed' => $attr['transitionSpeed'],
|
45 |
'arrows' => $arrows,
|
46 |
'dots' => $dots,
|
47 |
+
'rtl' => is_rtl(),
|
48 |
'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: ' . $attr['arrowColor'] . ';border-radius:' . $attr['arrowBorderRadius'] . 'px;border-width:' . $attr['arrowBorderSize'] . 'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="' . $attr['arrowSize'] . '" width = "' . $attr['arrowSize'] . '" fill ="' . $attr['arrowColor'] . '" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
|
49 |
'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: ' . $attr['arrowColor'] . ';border-radius:' . $attr['arrowBorderRadius'] . 'px;border-width:' . $attr['arrowBorderSize'] . 'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="' . $attr['arrowSize'] . '" width = "' . $attr['arrowSize'] . '" fill ="' . $attr['arrowColor'] . '" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
|
50 |
'responsive' => array(
|
classes/class-uagb-config.php
CHANGED
@@ -46,6 +46,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
46 |
'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
|
47 |
'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
|
48 |
'default' => true,
|
|
|
49 |
'attributes' => array(
|
50 |
'classMigrate' => false,
|
51 |
'headingAlign' => 'center',
|
@@ -89,6 +90,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
89 |
'title' => __( 'Advanced Columns', 'ultimate-addons-for-gutenberg' ),
|
90 |
'description' => __( 'This block gives you advanced options to insert a number of columns within a single row.', 'ultimate-addons-for-gutenberg' ),
|
91 |
'default' => true,
|
|
|
92 |
'attributes' => array(
|
93 |
'classMigrate' => false,
|
94 |
'block_id' => '',
|
@@ -177,6 +179,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
177 |
'description' => __( 'This block is an immediate child of Advanced Columns.', 'ultimate-addons-for-gutenberg' ),
|
178 |
'default' => true,
|
179 |
'is_child' => true,
|
|
|
180 |
'attributes' => array(
|
181 |
'classMigrate' => false,
|
182 |
'block_id' => '',
|
@@ -251,6 +254,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
251 |
'title' => __( 'Blockquote', 'ultimate-addons-for-gutenberg' ),
|
252 |
'description' => __( 'This block allows you to display your Blockquote.', 'ultimate-addons-for-gutenberg' ),
|
253 |
'default' => true,
|
|
|
254 |
'attributes' => array(
|
255 |
'classMigrate' => false,
|
256 |
'block_id ' => '',
|
@@ -346,6 +350,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
346 |
'title' => __( 'Call To Action', 'ultimate-addons-for-gutenberg' ),
|
347 |
'description' => __( 'This block allows you to place an CTA along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
|
348 |
'default' => true,
|
|
|
349 |
'attributes' => array(
|
350 |
'classMigrate' => false,
|
351 |
'inheritFromTheme' => false,
|
@@ -419,6 +424,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
419 |
'description' => __( 'This block allows you to add and style your Contact Form 7 forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
|
420 |
'is_active' => class_exists( 'WPCF7_ContactForm' ),
|
421 |
'default' => true,
|
|
|
422 |
'attributes' => array(
|
423 |
'block_id' => '',
|
424 |
'align' => 'left',
|
@@ -554,6 +560,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
554 |
'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
|
555 |
'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
|
556 |
'default' => true,
|
|
|
557 |
'js_assets' => array( 'uagb-timeline-js' ),
|
558 |
'attributes' => array(
|
559 |
'classMigrate' => false,
|
@@ -652,6 +659,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
652 |
'title' => __( 'FAQ - Schema', 'ultimate-addons-for-gutenberg' ),
|
653 |
'description' => __( 'This block helps you add FAQ or Accordion with automatically adding FAQ Schema to your page.', 'ultimate-addons-for-gutenberg' ),
|
654 |
'default' => true,
|
|
|
655 |
'js_assets' => array( 'uagb-faq-js' ),
|
656 |
'attributes' => array(
|
657 |
'block_id' => '',
|
@@ -747,6 +755,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
747 |
'description' => __( 'This block helps you add single FAQ.', 'ultimate-addons-for-gutenberg' ),
|
748 |
'default' => true,
|
749 |
'is_child' => true,
|
|
|
750 |
'attributes' => array(
|
751 |
'block_id' => '',
|
752 |
'question' => '',
|
@@ -761,6 +770,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
761 |
'title' => __( 'Gravity Form Styler', 'ultimate-addons-for-gutenberg' ),
|
762 |
'description' => __( 'This block allows you to add and style your Gravity Forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
|
763 |
'default' => true,
|
|
|
764 |
'is_active' => class_exists( 'GFForms' ),
|
765 |
'attributes' => array(
|
766 |
'block_id' => '',
|
@@ -914,6 +924,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
914 |
'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
|
915 |
'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
|
916 |
'default' => true,
|
|
|
917 |
'attributes' => array(
|
918 |
'block_id' => '',
|
919 |
'height' => '300',
|
@@ -925,6 +936,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
925 |
'title' => __( 'How-to Schema', 'ultimate-addons-for-gutenberg' ),
|
926 |
'description' => __( 'This block allows you to design attractive How-to pages or articles with automatically adding How-to Schema to your page.', 'ultimate-addons-for-gutenberg' ),
|
927 |
'default' => true,
|
|
|
928 |
'attributes' => array(
|
929 |
'block_id' => '',
|
930 |
'overallAlignment' => 'left',
|
@@ -998,6 +1010,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
998 |
'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
|
999 |
'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
|
1000 |
'default' => true,
|
|
|
1001 |
'attributes' => array(
|
1002 |
'classMigrate' => false,
|
1003 |
'childMigrate' => false,
|
@@ -1052,6 +1065,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1052 |
'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
|
1053 |
'default' => true,
|
1054 |
'is_child' => true,
|
|
|
1055 |
'attributes' => array(
|
1056 |
'image_icon' => 'icon',
|
1057 |
'icon' => 'fab fa-facebook',
|
@@ -1073,6 +1087,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1073 |
'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
|
1074 |
'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
|
1075 |
'default' => true,
|
|
|
1076 |
'attributes' => array(
|
1077 |
'classMigrate' => false,
|
1078 |
'inheritFromTheme' => false,
|
@@ -1170,6 +1185,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1170 |
'title' => __( 'Inline Notice', 'ultimate-addons-for-gutenberg' ),
|
1171 |
'description' => __( 'This block helps you add an inline notice.', 'ultimate-addons-for-gutenberg' ),
|
1172 |
'default' => true,
|
|
|
1173 |
'js_assets' => array( 'uagb-inline-notice-js', 'uagb-cookie-lib' ),
|
1174 |
'attributes' => array(
|
1175 |
'block_id' => '',
|
@@ -1223,6 +1239,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1223 |
'title' => __( 'Marketing Button', 'ultimate-addons-for-gutenberg' ),
|
1224 |
'description' => __( 'This block allows you to place a Marketing Button with small description.', 'ultimate-addons-for-gutenberg' ),
|
1225 |
'default' => true,
|
|
|
1226 |
'attributes' => array(
|
1227 |
'classMigrate' => false,
|
1228 |
'block_id' => '',
|
@@ -1298,6 +1315,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1298 |
'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
|
1299 |
'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
|
1300 |
'default' => true,
|
|
|
1301 |
'attributes' => array(
|
1302 |
'classMigrate' => false,
|
1303 |
'childMigrate' => false,
|
@@ -1318,6 +1336,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1318 |
'title' => __( 'Button', 'ultimate-addons-for-gutenberg' ),
|
1319 |
'description' => __( 'This block allows you to style button.', 'ultimate-addons-for-gutenberg' ),
|
1320 |
'default' => true,
|
|
|
1321 |
'attributes' => array(
|
1322 |
'inheritFromTheme' => false,
|
1323 |
'block_id' => '',
|
@@ -1354,6 +1373,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1354 |
'title' => __( 'Post Carousel', 'ultimate-addons-for-gutenberg' ),
|
1355 |
'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a carousel layout.', 'ultimate-addons-for-gutenberg' ),
|
1356 |
'default' => true,
|
|
|
1357 |
'js_assets' => array( 'uagb-slick-js', 'uagb-post-js', 'uagb-imagesloaded' ),
|
1358 |
'css_assets' => array( 'uagb-slick-css' ),
|
1359 |
'attributes' => array(
|
@@ -1455,6 +1475,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1455 |
'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
|
1456 |
'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
|
1457 |
'default' => true,
|
|
|
1458 |
'attributes' => array(
|
1459 |
'inheritFromTheme' => false,
|
1460 |
'align' => 'left',
|
@@ -1565,6 +1586,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1565 |
'title' => __( 'Post Masonry', 'ultimate-addons-for-gutenberg' ),
|
1566 |
'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a masonry layout.', 'ultimate-addons-for-gutenberg' ),
|
1567 |
'default' => true,
|
|
|
1568 |
'js_assets' => array( 'uagb-masonry', 'uagb-imagesloaded', 'uagb-post-js' ),
|
1569 |
'attributes' => array(
|
1570 |
'postType' => 'post',
|
@@ -1718,6 +1740,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1718 |
'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
|
1719 |
'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
|
1720 |
'default' => true,
|
|
|
1721 |
'js_assets' => array( 'uagb-timeline-js' ),
|
1722 |
'attributes' => array(
|
1723 |
'align' => 'center',
|
@@ -1819,6 +1842,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1819 |
'title' => __( 'Price List', 'ultimate-addons-for-gutenberg' ),
|
1820 |
'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
|
1821 |
'default' => true,
|
|
|
1822 |
'attributes' => array(
|
1823 |
'classMigrate' => false,
|
1824 |
'block_id' => '',
|
@@ -1892,6 +1916,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1892 |
'title' => __( 'Review Schema', 'ultimate-addons-for-gutenberg' ),
|
1893 |
'description' => __( 'This block helps you to add a review for various items with schema support.', 'ultimate-addons-for-gutenberg' ),
|
1894 |
'default' => true,
|
|
|
1895 |
'attributes' => array(
|
1896 |
'block_id' => '',
|
1897 |
'enableSchema' => '',
|
@@ -1987,6 +2012,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
1987 |
'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
|
1988 |
'default' => true,
|
1989 |
'is_child' => true,
|
|
|
1990 |
'attributes' => array(
|
1991 |
'classMigrate' => false,
|
1992 |
'childMigrate' => false,
|
@@ -2016,6 +2042,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2016 |
'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
|
2017 |
'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
|
2018 |
'default' => true,
|
|
|
2019 |
'attributes' => array(
|
2020 |
'classMigrate' => false,
|
2021 |
'topPadding' => '20',
|
@@ -2098,6 +2125,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2098 |
'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
|
2099 |
'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
|
2100 |
'default' => true,
|
|
|
2101 |
'attributes' => array(
|
2102 |
'classMigrate' => false,
|
2103 |
'childMigrate' => false,
|
@@ -2135,6 +2163,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2135 |
'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
|
2136 |
'default' => true,
|
2137 |
'is_child' => true,
|
|
|
2138 |
'attributes' => array(
|
2139 |
'type' => 'facebook',
|
2140 |
'image_icon' => 'icon',
|
@@ -2146,11 +2175,84 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2146 |
'icon_bg_hover_color' => '',
|
2147 |
),
|
2148 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2149 |
'uagb/table-of-contents' => array(
|
2150 |
'slug' => '',
|
2151 |
'title' => __( 'Table of Contents', 'ultimate-addons-for-gutenberg' ),
|
2152 |
'description' => __( 'This block allows you to place a Table of Contents for Pages/Posts.', 'ultimate-addons-for-gutenberg' ),
|
2153 |
'default' => true,
|
|
|
2154 |
'js_assets' => array( 'uagb-table-of-contents' ),
|
2155 |
'attributes' => array(
|
2156 |
'classMigrate' => false,
|
@@ -2250,6 +2352,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2250 |
'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
|
2251 |
'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
|
2252 |
'default' => true,
|
|
|
2253 |
'attributes' => array(
|
2254 |
'classMigrate' => false,
|
2255 |
'block_id' => '',
|
@@ -2322,6 +2425,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2322 |
'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
|
2323 |
'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
|
2324 |
'default' => true,
|
|
|
2325 |
'js_assets' => array( 'uagb-slick-js' ),
|
2326 |
'css_assets' => array( 'uagb-slick-css' ),
|
2327 |
'attributes' => array(
|
@@ -2407,6 +2511,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2407 |
'title' => __( 'WP - Search', 'ultimate-addons-for-gutenberg' ),
|
2408 |
'description' => __( 'This block helps you add a Search field.', 'ultimate-addons-for-gutenberg' ),
|
2409 |
'default' => true,
|
|
|
2410 |
'attributes' => array(
|
2411 |
'block_id' => '',
|
2412 |
'layout' => 'input-button',
|
@@ -2560,6 +2665,14 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2560 |
'listDisplayStyle' => 'list',
|
2561 |
),
|
2562 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2563 |
'uagb/lottie' => array(
|
2564 |
'slug' => '',
|
2565 |
'title' => __( 'Lottie', 'ultimate-addons-for-gutenberg' ),
|
@@ -2643,6 +2756,10 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
|
|
2643 |
'dep' => array( 'jquery', 'uagb-cookie-lib' ),
|
2644 |
'skipEditor' => true,
|
2645 |
),
|
|
|
|
|
|
|
|
|
2646 |
'uagb-bodymovin-min' => array(
|
2647 |
'src' => UAGB_URL . 'assets/js/uagb-bodymovin.min.js',
|
2648 |
'dep' => array(),
|
46 |
'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
|
47 |
'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
|
48 |
'default' => true,
|
49 |
+
'extension' => false,
|
50 |
'attributes' => array(
|
51 |
'classMigrate' => false,
|
52 |
'headingAlign' => 'center',
|
90 |
'title' => __( 'Advanced Columns', 'ultimate-addons-for-gutenberg' ),
|
91 |
'description' => __( 'This block gives you advanced options to insert a number of columns within a single row.', 'ultimate-addons-for-gutenberg' ),
|
92 |
'default' => true,
|
93 |
+
'extension' => false,
|
94 |
'attributes' => array(
|
95 |
'classMigrate' => false,
|
96 |
'block_id' => '',
|
179 |
'description' => __( 'This block is an immediate child of Advanced Columns.', 'ultimate-addons-for-gutenberg' ),
|
180 |
'default' => true,
|
181 |
'is_child' => true,
|
182 |
+
'extension' => false,
|
183 |
'attributes' => array(
|
184 |
'classMigrate' => false,
|
185 |
'block_id' => '',
|
254 |
'title' => __( 'Blockquote', 'ultimate-addons-for-gutenberg' ),
|
255 |
'description' => __( 'This block allows you to display your Blockquote.', 'ultimate-addons-for-gutenberg' ),
|
256 |
'default' => true,
|
257 |
+
'extension' => false,
|
258 |
'attributes' => array(
|
259 |
'classMigrate' => false,
|
260 |
'block_id ' => '',
|
350 |
'title' => __( 'Call To Action', 'ultimate-addons-for-gutenberg' ),
|
351 |
'description' => __( 'This block allows you to place an CTA along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
|
352 |
'default' => true,
|
353 |
+
'extension' => false,
|
354 |
'attributes' => array(
|
355 |
'classMigrate' => false,
|
356 |
'inheritFromTheme' => false,
|
424 |
'description' => __( 'This block allows you to add and style your Contact Form 7 forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
|
425 |
'is_active' => class_exists( 'WPCF7_ContactForm' ),
|
426 |
'default' => true,
|
427 |
+
'extension' => false,
|
428 |
'attributes' => array(
|
429 |
'block_id' => '',
|
430 |
'align' => 'left',
|
560 |
'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
|
561 |
'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
|
562 |
'default' => true,
|
563 |
+
'extension' => false,
|
564 |
'js_assets' => array( 'uagb-timeline-js' ),
|
565 |
'attributes' => array(
|
566 |
'classMigrate' => false,
|
659 |
'title' => __( 'FAQ - Schema', 'ultimate-addons-for-gutenberg' ),
|
660 |
'description' => __( 'This block helps you add FAQ or Accordion with automatically adding FAQ Schema to your page.', 'ultimate-addons-for-gutenberg' ),
|
661 |
'default' => true,
|
662 |
+
'extension' => false,
|
663 |
'js_assets' => array( 'uagb-faq-js' ),
|
664 |
'attributes' => array(
|
665 |
'block_id' => '',
|
755 |
'description' => __( 'This block helps you add single FAQ.', 'ultimate-addons-for-gutenberg' ),
|
756 |
'default' => true,
|
757 |
'is_child' => true,
|
758 |
+
'extension' => false,
|
759 |
'attributes' => array(
|
760 |
'block_id' => '',
|
761 |
'question' => '',
|
770 |
'title' => __( 'Gravity Form Styler', 'ultimate-addons-for-gutenberg' ),
|
771 |
'description' => __( 'This block allows you to add and style your Gravity Forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
|
772 |
'default' => true,
|
773 |
+
'extension' => false,
|
774 |
'is_active' => class_exists( 'GFForms' ),
|
775 |
'attributes' => array(
|
776 |
'block_id' => '',
|
924 |
'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
|
925 |
'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
|
926 |
'default' => true,
|
927 |
+
'extension' => false,
|
928 |
'attributes' => array(
|
929 |
'block_id' => '',
|
930 |
'height' => '300',
|
936 |
'title' => __( 'How-to Schema', 'ultimate-addons-for-gutenberg' ),
|
937 |
'description' => __( 'This block allows you to design attractive How-to pages or articles with automatically adding How-to Schema to your page.', 'ultimate-addons-for-gutenberg' ),
|
938 |
'default' => true,
|
939 |
+
'extension' => false,
|
940 |
'attributes' => array(
|
941 |
'block_id' => '',
|
942 |
'overallAlignment' => 'left',
|
1010 |
'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
|
1011 |
'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
|
1012 |
'default' => true,
|
1013 |
+
'extension' => false,
|
1014 |
'attributes' => array(
|
1015 |
'classMigrate' => false,
|
1016 |
'childMigrate' => false,
|
1065 |
'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
|
1066 |
'default' => true,
|
1067 |
'is_child' => true,
|
1068 |
+
'extension' => false,
|
1069 |
'attributes' => array(
|
1070 |
'image_icon' => 'icon',
|
1071 |
'icon' => 'fab fa-facebook',
|
1087 |
'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
|
1088 |
'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
|
1089 |
'default' => true,
|
1090 |
+
'extension' => false,
|
1091 |
'attributes' => array(
|
1092 |
'classMigrate' => false,
|
1093 |
'inheritFromTheme' => false,
|
1185 |
'title' => __( 'Inline Notice', 'ultimate-addons-for-gutenberg' ),
|
1186 |
'description' => __( 'This block helps you add an inline notice.', 'ultimate-addons-for-gutenberg' ),
|
1187 |
'default' => true,
|
1188 |
+
'extension' => false,
|
1189 |
'js_assets' => array( 'uagb-inline-notice-js', 'uagb-cookie-lib' ),
|
1190 |
'attributes' => array(
|
1191 |
'block_id' => '',
|
1239 |
'title' => __( 'Marketing Button', 'ultimate-addons-for-gutenberg' ),
|
1240 |
'description' => __( 'This block allows you to place a Marketing Button with small description.', 'ultimate-addons-for-gutenberg' ),
|
1241 |
'default' => true,
|
1242 |
+
'extension' => false,
|
1243 |
'attributes' => array(
|
1244 |
'classMigrate' => false,
|
1245 |
'block_id' => '',
|
1315 |
'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
|
1316 |
'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
|
1317 |
'default' => true,
|
1318 |
+
'extension' => false,
|
1319 |
'attributes' => array(
|
1320 |
'classMigrate' => false,
|
1321 |
'childMigrate' => false,
|
1336 |
'title' => __( 'Button', 'ultimate-addons-for-gutenberg' ),
|
1337 |
'description' => __( 'This block allows you to style button.', 'ultimate-addons-for-gutenberg' ),
|
1338 |
'default' => true,
|
1339 |
+
'extension' => false,
|
1340 |
'attributes' => array(
|
1341 |
'inheritFromTheme' => false,
|
1342 |
'block_id' => '',
|
1373 |
'title' => __( 'Post Carousel', 'ultimate-addons-for-gutenberg' ),
|
1374 |
'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a carousel layout.', 'ultimate-addons-for-gutenberg' ),
|
1375 |
'default' => true,
|
1376 |
+
'extension' => false,
|
1377 |
'js_assets' => array( 'uagb-slick-js', 'uagb-post-js', 'uagb-imagesloaded' ),
|
1378 |
'css_assets' => array( 'uagb-slick-css' ),
|
1379 |
'attributes' => array(
|
1475 |
'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
|
1476 |
'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
|
1477 |
'default' => true,
|
1478 |
+
'extension' => false,
|
1479 |
'attributes' => array(
|
1480 |
'inheritFromTheme' => false,
|
1481 |
'align' => 'left',
|
1586 |
'title' => __( 'Post Masonry', 'ultimate-addons-for-gutenberg' ),
|
1587 |
'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a masonry layout.', 'ultimate-addons-for-gutenberg' ),
|
1588 |
'default' => true,
|
1589 |
+
'extension' => false,
|
1590 |
'js_assets' => array( 'uagb-masonry', 'uagb-imagesloaded', 'uagb-post-js' ),
|
1591 |
'attributes' => array(
|
1592 |
'postType' => 'post',
|
1740 |
'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
|
1741 |
'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
|
1742 |
'default' => true,
|
1743 |
+
'extension' => false,
|
1744 |
'js_assets' => array( 'uagb-timeline-js' ),
|
1745 |
'attributes' => array(
|
1746 |
'align' => 'center',
|
1842 |
'title' => __( 'Price List', 'ultimate-addons-for-gutenberg' ),
|
1843 |
'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
|
1844 |
'default' => true,
|
1845 |
+
'extension' => false,
|
1846 |
'attributes' => array(
|
1847 |
'classMigrate' => false,
|
1848 |
'block_id' => '',
|
1916 |
'title' => __( 'Review Schema', 'ultimate-addons-for-gutenberg' ),
|
1917 |
'description' => __( 'This block helps you to add a review for various items with schema support.', 'ultimate-addons-for-gutenberg' ),
|
1918 |
'default' => true,
|
1919 |
+
'extension' => false,
|
1920 |
'attributes' => array(
|
1921 |
'block_id' => '',
|
1922 |
'enableSchema' => '',
|
2012 |
'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
|
2013 |
'default' => true,
|
2014 |
'is_child' => true,
|
2015 |
+
'extension' => false,
|
2016 |
'attributes' => array(
|
2017 |
'classMigrate' => false,
|
2018 |
'childMigrate' => false,
|
2042 |
'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
|
2043 |
'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
|
2044 |
'default' => true,
|
2045 |
+
'extension' => false,
|
2046 |
'attributes' => array(
|
2047 |
'classMigrate' => false,
|
2048 |
'topPadding' => '20',
|
2125 |
'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
|
2126 |
'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
|
2127 |
'default' => true,
|
2128 |
+
'extension' => false,
|
2129 |
'attributes' => array(
|
2130 |
'classMigrate' => false,
|
2131 |
'childMigrate' => false,
|
2163 |
'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
|
2164 |
'default' => true,
|
2165 |
'is_child' => true,
|
2166 |
+
'extension' => false,
|
2167 |
'attributes' => array(
|
2168 |
'type' => 'facebook',
|
2169 |
'image_icon' => 'icon',
|
2175 |
'icon_bg_hover_color' => '',
|
2176 |
),
|
2177 |
),
|
2178 |
+
'uagb/tabs' => array(
|
2179 |
+
'slug' => '',
|
2180 |
+
'title' => __( 'Tabs', 'ultimate-addons-for-gutenberg' ),
|
2181 |
+
'description' => __( 'This block allows you to display your content in tabs layout.', 'ultimate-addons-for-gutenberg' ),
|
2182 |
+
'default' => true,
|
2183 |
+
'extension' => false,
|
2184 |
+
'js_assets' => array( 'uagb-tabs-js' ),
|
2185 |
+
'attributes' => array(
|
2186 |
+
'tabHeaders' => array( 'Tab 1', 'Tab 2', 'Tab 3' ),
|
2187 |
+
'tabActive' => 0,
|
2188 |
+
'tabActiveFrontend' => 0,
|
2189 |
+
'tabsStyleD' => 'hstyle1',
|
2190 |
+
'tabsStyleT' => 'vstyle6',
|
2191 |
+
'tabsStyleM' => 'vstyle6',
|
2192 |
+
'headerBgColor' => '',
|
2193 |
+
'headerTextColor' => '#007cba',
|
2194 |
+
'bodyBgColor' => '',
|
2195 |
+
'bodyTextColor' => '',
|
2196 |
+
'borderWidth' => 1,
|
2197 |
+
'borderColor' => '#e0e0e0',
|
2198 |
+
'borderRadius' => '',
|
2199 |
+
'activeTabBgColor' => '#007cba',
|
2200 |
+
'activeTabTextColor' => '#fff',
|
2201 |
+
'activeiconColor' => '#fff',
|
2202 |
+
'tabTitleLeftMargin' => '',
|
2203 |
+
'tabTitleRightMargin' => '',
|
2204 |
+
'tabTitleTopMargin' => '',
|
2205 |
+
'tabTitleBottomMargin' => '',
|
2206 |
+
'tabBodyLeftMargin' => '',
|
2207 |
+
'tabBodyRightMargin' => '',
|
2208 |
+
'tabBodyTopMargin' => '',
|
2209 |
+
'tabBodyBottomMargin' => '',
|
2210 |
+
'tabBodyVertPadding' => '',
|
2211 |
+
'tabBodyHrPadding' => '',
|
2212 |
+
'tabTitleVertPadding' => '',
|
2213 |
+
'tabTitleHrPadding' => '',
|
2214 |
+
'titleFontSize' => '',
|
2215 |
+
'titleFontSizeType' => 'px',
|
2216 |
+
'titleFontSizeTablet' => '',
|
2217 |
+
'titleFontSizeMobile' => '',
|
2218 |
+
'titleFontFamily' => 'Default',
|
2219 |
+
'titleFontWeight' => '',
|
2220 |
+
'titleFontSubset' => '',
|
2221 |
+
'titleLineHeightType' => 'em',
|
2222 |
+
'titleLineHeight' => '',
|
2223 |
+
'titleLineHeightTablet' => '',
|
2224 |
+
'titleLineHeightMobile' => '',
|
2225 |
+
'titleLoadGoogleFonts' => false,
|
2226 |
+
'titleAlign' => 'center',
|
2227 |
+
'showIcon' => false,
|
2228 |
+
'icon' => '',
|
2229 |
+
'iconColor' => '',
|
2230 |
+
'iconSize' => 12,
|
2231 |
+
'iconPosition' => 'left',
|
2232 |
+
'iconSpacing' => 10,
|
2233 |
+
),
|
2234 |
+
),
|
2235 |
+
'uagb/tabs-child' => array(
|
2236 |
+
'slug' => '',
|
2237 |
+
'title' => __( 'Tabs child', 'ultimate-addons-for-gutenberg' ),
|
2238 |
+
'description' => __( 'This block allows you to display your content in tabs layout.', 'ultimate-addons-for-gutenberg' ),
|
2239 |
+
'default' => true,
|
2240 |
+
'extension' => false,
|
2241 |
+
'is_child' => true,
|
2242 |
+
'attributes' => array(
|
2243 |
+
'block_id' => '',
|
2244 |
+
'id' => 0, //Unique Tab Body ID
|
2245 |
+
'header' => '',
|
2246 |
+
'tabActive' => 0,
|
2247 |
+
'tabHeaders' => '',
|
2248 |
+
),
|
2249 |
+
),
|
2250 |
'uagb/table-of-contents' => array(
|
2251 |
'slug' => '',
|
2252 |
'title' => __( 'Table of Contents', 'ultimate-addons-for-gutenberg' ),
|
2253 |
'description' => __( 'This block allows you to place a Table of Contents for Pages/Posts.', 'ultimate-addons-for-gutenberg' ),
|
2254 |
'default' => true,
|
2255 |
+
'extension' => false,
|
2256 |
'js_assets' => array( 'uagb-table-of-contents' ),
|
2257 |
'attributes' => array(
|
2258 |
'classMigrate' => false,
|
2352 |
'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
|
2353 |
'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
|
2354 |
'default' => true,
|
2355 |
+
'extension' => false,
|
2356 |
'attributes' => array(
|
2357 |
'classMigrate' => false,
|
2358 |
'block_id' => '',
|
2425 |
'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
|
2426 |
'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
|
2427 |
'default' => true,
|
2428 |
+
'extension' => false,
|
2429 |
'js_assets' => array( 'uagb-slick-js' ),
|
2430 |
'css_assets' => array( 'uagb-slick-css' ),
|
2431 |
'attributes' => array(
|
2511 |
'title' => __( 'WP - Search', 'ultimate-addons-for-gutenberg' ),
|
2512 |
'description' => __( 'This block helps you add a Search field.', 'ultimate-addons-for-gutenberg' ),
|
2513 |
'default' => true,
|
2514 |
+
'extension' => false,
|
2515 |
'attributes' => array(
|
2516 |
'block_id' => '',
|
2517 |
'layout' => 'input-button',
|
2665 |
'listDisplayStyle' => 'list',
|
2666 |
),
|
2667 |
),
|
2668 |
+
'uagb/condition-block' => array(
|
2669 |
+
'slug' => '',
|
2670 |
+
'title' => __( 'Condition Block', 'ultimate-addons-for-gutenberg' ),
|
2671 |
+
'description' => __( 'This block helps you add a Condition field in the Advanced Tab.', 'ultimate-addons-for-gutenberg' ),
|
2672 |
+
'default' => true,
|
2673 |
+
'extension' => true,
|
2674 |
+
'attributes' => array(),
|
2675 |
+
),
|
2676 |
'uagb/lottie' => array(
|
2677 |
'slug' => '',
|
2678 |
'title' => __( 'Lottie', 'ultimate-addons-for-gutenberg' ),
|
2756 |
'dep' => array( 'jquery', 'uagb-cookie-lib' ),
|
2757 |
'skipEditor' => true,
|
2758 |
),
|
2759 |
+
'uagb-tabs-js' => array(
|
2760 |
+
'src' => UAGB_URL . 'assets/js/tabs.js',
|
2761 |
+
'dep' => array( 'jquery' ),
|
2762 |
+
),
|
2763 |
'uagb-bodymovin-min' => array(
|
2764 |
'src' => UAGB_URL . 'assets/js/uagb-bodymovin.min.js',
|
2765 |
'dep' => array(),
|
classes/class-uagb-helper.php
CHANGED
@@ -271,11 +271,11 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
|
|
271 |
return;
|
272 |
}
|
273 |
|
274 |
-
|
275 |
?>
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
}
|
280 |
|
281 |
/**
|
@@ -414,7 +414,13 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
|
|
414 |
}
|
415 |
|
416 |
if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
|
417 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
if ( isset( $blockattr['block_id'] ) ) {
|
419 |
$block_id = $blockattr['block_id'];
|
420 |
}
|
@@ -472,6 +478,10 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
|
|
472 |
$js .= UAGB_Block_JS::get_blockquote_js( $blockattr, $block_id );
|
473 |
break;
|
474 |
|
|
|
|
|
|
|
|
|
475 |
case 'uagb/testimonial':
|
476 |
$css += UAGB_Block_Helper::get_testimonial_css( $blockattr, $block_id );
|
477 |
UAGB_Block_JS::blocks_testimonial_gfont( $blockattr );
|
271 |
return;
|
272 |
}
|
273 |
|
274 |
+
ob_start();
|
275 |
?>
|
276 |
+
<style id="uagb-style-frontend"><?php echo self::$stylesheet; //phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?></style>
|
277 |
+
<?php
|
278 |
+
ob_end_flush();
|
279 |
}
|
280 |
|
281 |
/**
|
414 |
}
|
415 |
|
416 |
if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
|
417 |
+
/**
|
418 |
+
* Filters the block attributes for CSS and JS generation.
|
419 |
+
*
|
420 |
+
* @param array $block_attributes The block attributes to be filtered.
|
421 |
+
* @param string $name The block name.
|
422 |
+
*/
|
423 |
+
$blockattr = apply_filters( 'uagb_block_attributes_for_css_and_js', $block['attrs'], $name );
|
424 |
if ( isset( $blockattr['block_id'] ) ) {
|
425 |
$block_id = $blockattr['block_id'];
|
426 |
}
|
478 |
$js .= UAGB_Block_JS::get_blockquote_js( $blockattr, $block_id );
|
479 |
break;
|
480 |
|
481 |
+
case 'uagb/tabs':
|
482 |
+
$css += UAGB_Block_Helper::get_tabs_css( $blockattr, $block_id );
|
483 |
+
break;
|
484 |
+
|
485 |
case 'uagb/testimonial':
|
486 |
$css += UAGB_Block_Helper::get_testimonial_css( $blockattr, $block_id );
|
487 |
UAGB_Block_JS::blocks_testimonial_gfont( $blockattr );
|
classes/class-uagb-init-blocks.php
CHANGED
@@ -54,6 +54,176 @@ class UAGB_Init_Blocks {
|
|
54 |
|
55 |
add_action( 'wp_ajax_uagb_cf7_shortcode', array( $this, 'cf7_shortcode' ) );
|
56 |
add_action( 'wp_ajax_nopriv_uagb_cf7_shortcode', array( $this, 'cf7_shortcode' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
/**
|
@@ -155,6 +325,15 @@ class UAGB_Init_Blocks {
|
|
155 |
UAGB_VER
|
156 |
);
|
157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
$blocks = UAGB_Config::get_block_attributes();
|
159 |
$disabled_blocks = UAGB_Admin_Helper::get_admin_settings_option( '_uagb_blocks', array() );
|
160 |
$block_assets = UAGB_Config::get_block_assets();
|
@@ -240,6 +419,8 @@ class UAGB_Init_Blocks {
|
|
240 |
true // Enqueue the script in the footer.
|
241 |
);
|
242 |
|
|
|
|
|
243 |
// Styles.
|
244 |
wp_enqueue_style(
|
245 |
'uagb-block-editor-css', // Handle.
|
@@ -307,13 +488,40 @@ class UAGB_Init_Blocks {
|
|
307 |
'taxonomy_list' => UAGB_Helper::get_taxonomy_list(),
|
308 |
'uagb_ajax_nonce' => $uagb_ajax_nonce,
|
309 |
'uagb_home_url' => home_url(),
|
|
|
310 |
'uagb_url' => UAGB_URL,
|
311 |
'uagb_mime_type' => UAGB_Helper::get_mime_type(),
|
312 |
'uagb_site_url' => UAGB_URI,
|
313 |
)
|
314 |
);
|
315 |
} // End function editor_assets().
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
|
318 |
/**
|
319 |
* Function to integrate CF7 Forms.
|
54 |
|
55 |
add_action( 'wp_ajax_uagb_cf7_shortcode', array( $this, 'cf7_shortcode' ) );
|
56 |
add_action( 'wp_ajax_nopriv_uagb_cf7_shortcode', array( $this, 'cf7_shortcode' ) );
|
57 |
+
|
58 |
+
if ( ! is_admin() ) {
|
59 |
+
add_action( 'render_block', array( $this, 'render_block' ), 5, 2 );
|
60 |
+
}
|
61 |
+
}
|
62 |
+
/**
|
63 |
+
* Render block.
|
64 |
+
*
|
65 |
+
* @param mixed $block_content The block content.
|
66 |
+
* @param array $block The block data.
|
67 |
+
* @since 1.21.0
|
68 |
+
* @return mixed Returns the new block content.
|
69 |
+
*/
|
70 |
+
public function render_block( $block_content, $block ) {
|
71 |
+
|
72 |
+
$block_attributes = $block['attrs'];
|
73 |
+
|
74 |
+
if ( isset( $block_attributes['UAGDisplayConditions'] ) && array_key_exists( 'UAGDisplayConditions', $block_attributes ) ) {
|
75 |
+
|
76 |
+
switch ( $block_attributes['UAGDisplayConditions'] ) {
|
77 |
+
|
78 |
+
case 'userstate':
|
79 |
+
$block_content = $this->user_state_visibility( $block_attributes, $block_content );
|
80 |
+
break;
|
81 |
+
|
82 |
+
case 'userRole':
|
83 |
+
$block_content = $this->user_role_visibility( $block_attributes, $block_content );
|
84 |
+
break;
|
85 |
+
|
86 |
+
case 'browser':
|
87 |
+
$block_content = $this->browser_visibility( $block_attributes, $block_content );
|
88 |
+
break;
|
89 |
+
|
90 |
+
case 'os':
|
91 |
+
$block_content = $this->os_visibility( $block_attributes, $block_content );
|
92 |
+
break;
|
93 |
+
|
94 |
+
default:
|
95 |
+
// code...
|
96 |
+
break;
|
97 |
+
}
|
98 |
+
}
|
99 |
+
return $block_content;
|
100 |
+
}
|
101 |
+
/**
|
102 |
+
* User State Visibility.
|
103 |
+
*
|
104 |
+
* @param array $block_attributes The block data.
|
105 |
+
* @param mixed $block_content The block content.
|
106 |
+
*
|
107 |
+
* @since 1.21.0
|
108 |
+
* @return mixed Returns the new block content.
|
109 |
+
*/
|
110 |
+
public function user_role_visibility( $block_attributes, $block_content ) {
|
111 |
+
|
112 |
+
$user = wp_get_current_user();
|
113 |
+
|
114 |
+
if ( isset( $block_attributes['UAGUserRole'] ) && array_key_exists( 'UAGUserRole', $block_attributes ) ) {
|
115 |
+
|
116 |
+
$value = $block_attributes['UAGUserRole'];
|
117 |
+
|
118 |
+
if ( is_user_logged_in() && in_array( $value, $user->roles, true ) ) {
|
119 |
+
return '';
|
120 |
+
}
|
121 |
+
}
|
122 |
+
return $block_content;
|
123 |
+
}
|
124 |
+
/**
|
125 |
+
* User State Visibility.
|
126 |
+
*
|
127 |
+
* @param array $block_attributes The block data.
|
128 |
+
* @param mixed $block_content The block content.
|
129 |
+
* @since 1.21.0
|
130 |
+
* @return mixed Returns the new block content.
|
131 |
+
*/
|
132 |
+
public function os_visibility( $block_attributes, $block_content ) {
|
133 |
+
|
134 |
+
if ( ! array_key_exists( 'UAGSystem', $block_attributes ) ) {
|
135 |
+
return $block_content;
|
136 |
+
}
|
137 |
+
|
138 |
+
$value = $block_attributes['UAGSystem'];
|
139 |
+
|
140 |
+
$os = array(
|
141 |
+
'iphone' => '(iPhone)',
|
142 |
+
'android' => '(Android)',
|
143 |
+
'windows' => 'Win16|(Windows 95)|(Win95)|(Windows_95)|(Windows 98)|(Win98)|(Windows NT 5.0)|(Windows 2000)|(Windows NT 5.1)|(Windows XP)|(Windows NT 5.2)|(Windows NT 6.0)|(Windows Vista)|(Windows NT 6.1)|(Windows 7)|(Windows NT 4.0)|(WinNT4.0)|(WinNT)|(Windows NT)|Windows ME',
|
144 |
+
'open_bsd' => 'OpenBSD',
|
145 |
+
'sun_os' => 'SunOS',
|
146 |
+
'linux' => '(Linux)|(X11)',
|
147 |
+
'mac_os' => '(Mac_PowerPC)|(Macintosh)',
|
148 |
+
);
|
149 |
+
|
150 |
+
if ( preg_match( '@' . $os[ $value ] . '@', $_SERVER['HTTP_USER_AGENT'] ) ) {
|
151 |
+
return '';
|
152 |
+
}
|
153 |
+
|
154 |
+
return $block_content;
|
155 |
+
}
|
156 |
+
/**
|
157 |
+
* User State Visibility.
|
158 |
+
*
|
159 |
+
* @param array $block_attributes The block data.
|
160 |
+
* @param mixed $block_content The block content.
|
161 |
+
*
|
162 |
+
* @since 1.21.0
|
163 |
+
* @return mixed Returns the new block content.
|
164 |
+
*/
|
165 |
+
public function browser_visibility( $block_attributes, $block_content ) {
|
166 |
+
|
167 |
+
if ( ! array_key_exists( 'UAGBrowser', $block_attributes ) ) {
|
168 |
+
return $block_content;
|
169 |
+
}
|
170 |
+
|
171 |
+
$browsers = array(
|
172 |
+
'ie' => array(
|
173 |
+
'MSIE',
|
174 |
+
'Trident',
|
175 |
+
),
|
176 |
+
'firefox' => 'Firefox',
|
177 |
+
'chrome' => 'Chrome',
|
178 |
+
'opera_mini' => 'Opera Mini',
|
179 |
+
'opera' => 'Opera',
|
180 |
+
'safari' => 'Safari',
|
181 |
+
);
|
182 |
+
|
183 |
+
$value = $block_attributes['UAGBrowser'];
|
184 |
+
|
185 |
+
$show = false;
|
186 |
+
|
187 |
+
if ( 'ie' === $value ) {
|
188 |
+
if ( false !== strpos( $_SERVER['HTTP_USER_AGENT'], $browsers[ $value ][0] ) || false !== strpos( $_SERVER['HTTP_USER_AGENT'], $browsers[ $value ][1] ) ) {
|
189 |
+
$show = true;
|
190 |
+
}
|
191 |
+
} else {
|
192 |
+
if ( false !== strpos( $_SERVER['HTTP_USER_AGENT'], $browsers[ $value ] ) ) {
|
193 |
+
$show = true;
|
194 |
+
|
195 |
+
// Additional check for Chrome that returns Safari.
|
196 |
+
if ( 'safari' === $value || 'firefox' === $value ) {
|
197 |
+
if ( false !== strpos( $_SERVER['HTTP_USER_AGENT'], 'Chrome' ) ) {
|
198 |
+
$show = false;
|
199 |
+
}
|
200 |
+
}
|
201 |
+
}
|
202 |
+
}
|
203 |
+
|
204 |
+
return ( $show ) ? '' : $block_content;
|
205 |
+
}
|
206 |
+
/**
|
207 |
+
* User State Visibility.
|
208 |
+
*
|
209 |
+
* @param array $block_attributes The block data.
|
210 |
+
* @param mixed $block_content The block content.
|
211 |
+
*
|
212 |
+
* @since 1.21.0
|
213 |
+
* @return mixed Returns the new block content.
|
214 |
+
*/
|
215 |
+
public function user_state_visibility( $block_attributes, $block_content ) {
|
216 |
+
|
217 |
+
if ( isset( $block_attributes['UAGLoggedIn'] ) && $block_attributes['UAGLoggedIn'] && is_user_logged_in() ) {
|
218 |
+
return '';
|
219 |
+
}
|
220 |
+
|
221 |
+
if ( isset( $block_attributes['UAGLoggedOut'] ) && $block_attributes['UAGLoggedOut'] && ! is_user_logged_in() ) {
|
222 |
+
return '';
|
223 |
+
}
|
224 |
+
|
225 |
+
return $block_content;
|
226 |
+
|
227 |
}
|
228 |
|
229 |
/**
|
325 |
UAGB_VER
|
326 |
);
|
327 |
|
328 |
+
if ( is_rtl() ) {
|
329 |
+
wp_enqueue_style(
|
330 |
+
'uagb-style-rtl', // Handle.
|
331 |
+
UAGB_URL . 'dist/blocks.style.rtl.css', // RTL style CSS.
|
332 |
+
array(),
|
333 |
+
UAGB_VER
|
334 |
+
);
|
335 |
+
}
|
336 |
+
|
337 |
$blocks = UAGB_Config::get_block_attributes();
|
338 |
$disabled_blocks = UAGB_Admin_Helper::get_admin_settings_option( '_uagb_blocks', array() );
|
339 |
$block_assets = UAGB_Config::get_block_assets();
|
419 |
true // Enqueue the script in the footer.
|
420 |
);
|
421 |
|
422 |
+
wp_set_script_translations( 'uagb-block-editor-js', 'ultimate-addons-for-gutenberg' );
|
423 |
+
|
424 |
// Styles.
|
425 |
wp_enqueue_style(
|
426 |
'uagb-block-editor-css', // Handle.
|
488 |
'taxonomy_list' => UAGB_Helper::get_taxonomy_list(),
|
489 |
'uagb_ajax_nonce' => $uagb_ajax_nonce,
|
490 |
'uagb_home_url' => home_url(),
|
491 |
+
'user_role' => $this->get_user_role(),
|
492 |
'uagb_url' => UAGB_URL,
|
493 |
'uagb_mime_type' => UAGB_Helper::get_mime_type(),
|
494 |
'uagb_site_url' => UAGB_URI,
|
495 |
)
|
496 |
);
|
497 |
} // End function editor_assets().
|
498 |
+
/**
|
499 |
+
* Get the User Roles
|
500 |
+
*
|
501 |
+
* @since 1.21.0
|
502 |
+
*/
|
503 |
+
public function get_user_role() {
|
504 |
|
505 |
+
global $wp_roles;
|
506 |
+
|
507 |
+
$field_options = array();
|
508 |
+
|
509 |
+
$role_lists = $wp_roles->get_names();
|
510 |
+
|
511 |
+
$field_options[0] = array(
|
512 |
+
'value' => '',
|
513 |
+
'label' => __( 'None', 'ultimate-addons-for-gutenberg' ),
|
514 |
+
);
|
515 |
+
|
516 |
+
foreach ( $role_lists as $key => $role_list ) {
|
517 |
+
$field_options[] = array(
|
518 |
+
'value' => $key,
|
519 |
+
'label' => $role_list,
|
520 |
+
);
|
521 |
+
}
|
522 |
+
|
523 |
+
return $field_options;
|
524 |
+
}
|
525 |
|
526 |
/**
|
527 |
* Function to integrate CF7 Forms.
|
classes/class-uagb-loader.php
CHANGED
@@ -69,9 +69,9 @@ if ( ! class_exists( 'UAGB_Loader' ) ) {
|
|
69 |
require_once UAGB_DIR . 'classes/class-uagb-helper.php';
|
70 |
require_once UAGB_DIR . 'classes/class-uagb-update.php';
|
71 |
require_once UAGB_DIR . 'admin/bsf-analytics/class-bsf-analytics.php';
|
|
|
72 |
|
73 |
if ( 'twentyseventeen' === get_template() ) {
|
74 |
-
|
75 |
require_once UAGB_DIR . 'classes/class-uagb-twenty-seventeen-compatibility.php';
|
76 |
}
|
77 |
}
|
@@ -85,7 +85,7 @@ if ( ! class_exists( 'UAGB_Loader' ) ) {
|
|
85 |
define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
|
86 |
define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
|
87 |
define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
|
88 |
-
define( 'UAGB_VER', '1.
|
89 |
define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
|
90 |
define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
|
91 |
define( 'UAGB_SLUG', 'uag' );
|
69 |
require_once UAGB_DIR . 'classes/class-uagb-helper.php';
|
70 |
require_once UAGB_DIR . 'classes/class-uagb-update.php';
|
71 |
require_once UAGB_DIR . 'admin/bsf-analytics/class-bsf-analytics.php';
|
72 |
+
require_once UAGB_DIR . 'lib/class-uagb-ast-block-templates.php';
|
73 |
|
74 |
if ( 'twentyseventeen' === get_template() ) {
|
|
|
75 |
require_once UAGB_DIR . 'classes/class-uagb-twenty-seventeen-compatibility.php';
|
76 |
}
|
77 |
}
|
85 |
define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
|
86 |
define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
|
87 |
define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
|
88 |
+
define( 'UAGB_VER', '1.21.0' );
|
89 |
define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
|
90 |
define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
|
91 |
define( 'UAGB_SLUG', 'uag' );
|
dist/blocks.build.js
CHANGED
@@ -137,8 +137,8 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
137 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
138 |
|
139 |
"use strict";
|
140 |
-
/**
|
141 |
-
* Block Icons
|
142 |
*/
|
143 |
|
144 |
var el = wp.element.createElement;
|
@@ -163,6 +163,7 @@ var UAGB_Block_Icons = {
|
|
163 |
"icon_list": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M15.625 0h-11.25c-2.416 0-4.375 1.959-4.375 4.375v11.25c0 2.416 1.959 4.375 4.375 4.375h11.25c2.416 0 4.375-1.959 4.375-4.375v-11.25c0-2.416-1.959-4.375-4.375-4.375zM18.75 15.625c0 1.726-1.399 3.125-3.125 3.125h-11.25c-1.726 0-3.125-1.399-3.125-3.125v-11.25c0-1.726 1.399-3.125 3.125-3.125h11.25c1.726 0 3.125 1.399 3.125 3.125v11.25z" }), el("path", { fill: "#4a00e0", d: "M6.25 4.375h-1.25c-0.345 0-0.625 0.28-0.625 0.625v1.25c0 0.345 0.28 0.625 0.625 0.625h1.25c0.345 0 0.625-0.28 0.625-0.625v-1.25c0-0.345-0.28-0.625-0.625-0.625z" }), el("path", { fill: "#4a00e0", d: "M6.25 8.75h-1.25c-0.345 0-0.625 0.28-0.625 0.625v1.25c0 0.345 0.28 0.625 0.625 0.625h1.25c0.345 0 0.625-0.28 0.625-0.625v-1.25c0-0.345-0.28-0.625-0.625-0.625z" }), el("path", { fill: "#4a00e0", d: "M6.25 13.125h-1.25c-0.345 0-0.625 0.28-0.625 0.625v1.25c0 0.345 0.28 0.625 0.625 0.625h1.25c0.345 0 0.625-0.28 0.625-0.625v-1.25c0-0.345-0.28-0.625-0.625-0.625z" }), el("path", { fill: "#4a00e0", d: "M8.125 5h7.5v1.25h-7.5v-1.25z" }), el("path", { fill: "#4a00e0", d: "M8.125 9.375h7.5v1.25h-7.5v-1.25z" }), el("path", { fill: "#4a00e0", d: "M8.125 13.75h7.5v1.25h-7.5v-1.25z" })),
|
164 |
"icon_list_child": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M18.069 4.961c0 0.444-0.36 0.805-0.805 0.805h-10.792c-0.446 0-0.807-0.361-0.807-0.805s0.36-0.806 0.807-0.806h10.792c0.445 0.001 0.805 0.362 0.805 0.806z" }), el("path", { fill: "#4a00e0", d: "M18.069 10.017c0 0.445-0.36 0.805-0.805 0.805h-10.792c-0.446 0-0.807-0.359-0.807-0.805s0.36-0.806 0.807-0.806h10.792c0.445 0 0.805 0.36 0.805 0.806z" }), el("path", { fill: "#4a00e0", d: "M18.069 15.071c0 0.444-0.36 0.805-0.805 0.805h-10.792c-0.446 0-0.807-0.36-0.807-0.805s0.36-0.805 0.807-0.805h10.792c0.445 0.001 0.805 0.361 0.805 0.805z" }), el("path", { fill: "#4a00e0", d: "M4.093 15.009c0 0.597-0.484 1.081-1.081 1.081s-1.081-0.484-1.081-1.081c0-0.597 0.484-1.081 1.081-1.081s1.081 0.484 1.081 1.081z" }), el("path", { fill: "#4a00e0", d: "M4.093 10.017c0 0.597-0.484 1.081-1.081 1.081s-1.081-0.484-1.081-1.081c0-0.597 0.484-1.081 1.081-1.081s1.081 0.484 1.081 1.081z" }), el("path", { fill: "#4a00e0", d: "M4.093 5.024c0 0.597-0.484 1.081-1.081 1.081s-1.081-0.484-1.081-1.081c0-0.597 0.484-1.081 1.081-1.081s1.081 0.484 1.081 1.081z" })),
|
165 |
"team": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M20 14.124c0-1.17-0.35-2.3-1.013-3.268-0.477-0.696-1.091-1.274-1.803-1.703 0.838-0.794 1.362-1.915 1.362-3.158 0-2.399-1.952-4.351-4.351-4.351-1.423 0-2.755 0.704-3.565 1.859-0.206-0.030-0.416-0.046-0.63-0.046s-0.424 0.016-0.63 0.046c-0.81-1.155-2.142-1.859-3.565-1.859-2.399 0-4.351 1.952-4.351 4.351 0 1.242 0.524 2.364 1.362 3.158-0.712 0.429-1.326 1.008-1.803 1.703-0.663 0.968-1.014 2.098-1.014 3.268v2.42h4.195v1.813h11.611v-1.813h4.194v-2.42h-0zM14.195 2.717c1.807 0 3.277 1.47 3.277 3.278s-1.47 3.277-3.277 3.277c-0.032 0-0.065-0-0.097-0.001 0.002-0.007 0.005-0.014 0.007-0.021 0.056-0.159 0.102-0.322 0.14-0.488 0.003-0.012 0.006-0.024 0.008-0.035 0.010-0.045 0.018-0.090 0.027-0.136 0.004-0.021 0.008-0.043 0.012-0.064 0.007-0.041 0.013-0.081 0.018-0.122 0.004-0.029 0.008-0.057 0.011-0.085 0.004-0.036 0.009-0.072 0.012-0.109s0.006-0.074 0.008-0.111c0.002-0.029 0.004-0.059 0.006-0.088 0.003-0.063 0.004-0.127 0.005-0.19 0-0.004 0-0.009 0-0.014 0-0.002-0-0.005-0-0.007 0-0.065-0.002-0.129-0.005-0.193-0.001-0.019-0.002-0.037-0.003-0.056-0.003-0.054-0.007-0.109-0.012-0.163-0.001-0.012-0.002-0.024-0.004-0.037-0.162-1.568-1.153-2.911-2.582-3.531 0.616-0.692 1.507-1.103 2.45-1.103v0zM8.866 4.732c0.010-0.004 0.021-0.008 0.031-0.011 0.033-0.012 0.066-0.023 0.099-0.033 0.025-0.008 0.050-0.016 0.075-0.023 0.018-0.005 0.037-0.011 0.055-0.016 0.033-0.009 0.066-0.018 0.1-0.026 0.248-0.060 0.507-0.093 0.773-0.093s0.525 0.033 0.773 0.094c0.033 0.008 0.066 0.017 0.099 0.026 0.019 0.005 0.038 0.010 0.056 0.016 0.025 0.007 0.050 0.015 0.075 0.023 0.033 0.011 0.066 0.022 0.1 0.034 0.010 0.004 0.020 0.007 0.030 0.011 1.096 0.405 1.918 1.381 2.104 2.565 0.002 0.009 0.003 0.019 0.004 0.028 0.006 0.040 0.011 0.080 0.015 0.121 0.002 0.015 0.003 0.030 0.005 0.045 0.004 0.037 0.006 0.074 0.009 0.112 0.001 0.016 0.002 0.032 0.003 0.048 0.002 0.048 0.003 0.096 0.004 0.144 0 0.004 0 0.008 0 0.012 0 0.002-0 0.004-0 0.006 0 0.047-0.002 0.093-0.003 0.139-0.001 0.015-0.001 0.029-0.002 0.044-0.002 0.045-0.006 0.089-0.010 0.133-0.002 0.017-0.004 0.034-0.006 0.051-0.003 0.029-0.007 0.057-0.011 0.085-0.003 0.022-0.006 0.044-0.010 0.066-0.005 0.033-0.011 0.066-0.018 0.1-0.006 0.029-0.012 0.059-0.019 0.088-0.004 0.018-0.008 0.035-0.012 0.053-0.010 0.044-0.022 0.087-0.034 0.13-0.005 0.017-0.010 0.034-0.014 0.051-0.008 0.025-0.016 0.049-0.024 0.074-0.006 0.020-0.013 0.039-0.020 0.058-0.007 0.022-0.015 0.044-0.023 0.066-0.014 0.037-0.029 0.074-0.044 0.111-0.007 0.016-0.014 0.032-0.021 0.049-0.013 0.031-0.027 0.061-0.041 0.091l-0.005 0.011c-0.005 0.011-0.010 0.021-0.015 0.032-0.016 0.032-0.032 0.064-0.049 0.096-0.007 0.012-0.013 0.025-0.020 0.037-0 0.001-0.001 0.002-0.001 0.002-0.019 0.034-0.038 0.067-0.058 0.1-0.008 0.013-0.016 0.026-0.024 0.039-0.021 0.035-0.044 0.070-0.066 0.103-0.014 0.021-0.029 0.042-0.043 0.063-0.013 0.018-0.025 0.035-0.038 0.052-0.017 0.023-0.033 0.045-0.050 0.067-0.012 0.015-0.023 0.030-0.035 0.045-0.018 0.022-0.036 0.045-0.055 0.067-0.012 0.014-0.023 0.027-0.035 0.041-0.020 0.022-0.039 0.044-0.059 0.066-0.012 0.013-0.024 0.025-0.036 0.038-0.032 0.034-0.065 0.067-0.099 0.1-0.020 0.019-0.040 0.039-0.061 0.058-0.014 0.013-0.029 0.026-0.043 0.038-0.024 0.021-0.047 0.041-0.071 0.062-0.012 0.011-0.025 0.021-0.037 0.031-0.029 0.024-0.059 0.047-0.089 0.070-0.008 0.006-0.016 0.012-0.025 0.019-0.545 0.405-1.221 0.646-1.951 0.646s-1.406-0.24-1.951-0.646c-0.008-0.006-0.016-0.012-0.024-0.018-0.030-0.023-0.060-0.046-0.089-0.070-0.012-0.010-0.025-0.020-0.037-0.030-0.024-0.021-0.048-0.041-0.072-0.062-0.014-0.013-0.029-0.025-0.043-0.038-0.021-0.019-0.041-0.038-0.061-0.058-0.034-0.033-0.067-0.066-0.1-0.101-0.012-0.012-0.024-0.025-0.036-0.037-0.020-0.022-0.039-0.044-0.058-0.066-0.012-0.013-0.024-0.027-0.035-0.040-0.019-0.022-0.037-0.045-0.055-0.067-0.012-0.015-0.024-0.030-0.035-0.045-0.017-0.022-0.034-0.044-0.050-0.067-0.013-0.017-0.025-0.035-0.037-0.053-0.015-0.021-0.029-0.041-0.044-0.062-0.023-0.034-0.045-0.069-0.066-0.104-0.008-0.013-0.016-0.026-0.023-0.039-0.020-0.034-0.040-0.067-0.058-0.102-0.007-0.013-0.013-0.025-0.020-0.038-0.017-0.032-0.034-0.064-0.050-0.096-0.006-0.012-0.011-0.023-0.017-0.035-0.001-0.002-0.002-0.003-0.003-0.005-0.015-0.031-0.029-0.063-0.043-0.095-0.007-0.015-0.013-0.030-0.020-0.046-0.015-0.038-0.030-0.075-0.045-0.113-0.008-0.021-0.015-0.041-0.022-0.062s-0.015-0.043-0.022-0.064c-0.008-0.023-0.015-0.046-0.022-0.069-0.010-0.035-0.020-0.070-0.030-0.105-0.007-0.025-0.013-0.049-0.019-0.074-0.005-0.020-0.009-0.039-0.014-0.059-0.005-0.024-0.011-0.048-0.016-0.073-0.007-0.038-0.014-0.076-0.020-0.114-0.003-0.020-0.006-0.041-0.009-0.062-0.004-0.030-0.008-0.061-0.012-0.092-0.002-0.015-0.004-0.030-0.005-0.046-0.004-0.046-0.008-0.091-0.010-0.137-0.001-0.013-0.001-0.026-0.002-0.039-0.002-0.049-0.004-0.098-0.004-0.148 0-0.053 0.002-0.105 0.004-0.158 0-0.014 0.002-0.028 0.003-0.042 0.002-0.039 0.005-0.079 0.009-0.118 0.001-0.014 0.003-0.027 0.004-0.041 0.005-0.042 0.010-0.084 0.016-0.126 0.001-0.008 0.002-0.016 0.004-0.024 0.186-1.185 1.008-2.161 2.105-2.566v0zM2.528 5.995c0-1.807 1.47-3.278 3.277-3.278 0.943 0 1.834 0.411 2.45 1.103-1.43 0.621-2.421 1.964-2.582 3.533-0.001 0.011-0.002 0.021-0.003 0.032-0.005 0.056-0.009 0.112-0.013 0.168-0.001 0.017-0.002 0.034-0.003 0.052-0.003 0.067-0.005 0.135-0.005 0.202s0.002 0.137 0.005 0.205c0.001 0.027 0.003 0.055 0.005 0.082 0.003 0.039 0.005 0.079 0.009 0.118 0.003 0.035 0.007 0.070 0.011 0.104 0.004 0.030 0.007 0.060 0.012 0.090 0.005 0.040 0.011 0.079 0.018 0.118 0.004 0.023 0.008 0.046 0.013 0.070 0.008 0.044 0.016 0.088 0.025 0.131 0.003 0.014 0.007 0.028 0.010 0.043 0.036 0.161 0.082 0.319 0.136 0.473 0.003 0.010 0.007 0.020 0.010 0.030-0.032 0.001-0.065 0.001-0.097 0.001-1.807-0-3.277-1.47-3.277-3.277v0zM5.095 12.841c-0.012 0.019-0.023 0.038-0.035 0.056-0.025 0.040-0.049 0.079-0.072 0.12-0.013 0.022-0.026 0.045-0.039 0.067-0.021 0.037-0.042 0.075-0.062 0.112-0.013 0.024-0.025 0.047-0.038 0.071-0.019 0.037-0.039 0.075-0.057 0.113-0.012 0.024-0.024 0.048-0.035 0.071-0.019 0.040-0.037 0.080-0.055 0.12-0.010 0.022-0.020 0.044-0.030 0.065-0.021 0.048-0.041 0.097-0.060 0.145-0.006 0.014-0.012 0.028-0.018 0.043-0.025 0.063-0.048 0.127-0.071 0.191-0.005 0.015-0.010 0.029-0.015 0.044-0.017 0.049-0.034 0.098-0.049 0.148-0.007 0.023-0.014 0.046-0.021 0.069-0.013 0.042-0.025 0.084-0.037 0.127-0.007 0.025-0.014 0.051-0.020 0.076-0.010 0.041-0.021 0.082-0.030 0.122-0.006 0.026-0.012 0.052-0.018 0.078-0.009 0.041-0.018 0.083-0.026 0.125-0.005 0.025-0.010 0.050-0.015 0.075-0.008 0.046-0.016 0.091-0.023 0.137-0.003 0.021-0.007 0.043-0.011 0.064-0.010 0.067-0.019 0.134-0.027 0.202 0 0.001-0 0.002-0 0.002-0.007 0.062-0.013 0.123-0.018 0.185h-3.139v-1.346c0-1.839 1.057-3.491 2.714-4.276 0.604 0.317 1.29 0.498 2.017 0.498 0.211 0 0.422-0.015 0.631-0.046 0.033 0.047 0.066 0.093 0.1 0.138 0.012 0.015 0.024 0.030 0.036 0.045 0.034 0.043 0.068 0.086 0.104 0.128 0.014 0.017 0.029 0.034 0.044 0.051 0.033 0.038 0.067 0.076 0.102 0.113 0.018 0.020 0.036 0.039 0.055 0.058 0.031 0.032 0.064 0.065 0.096 0.096 0.012 0.012 0.024 0.024 0.036 0.036-0.047 0.028-0.093 0.057-0.139 0.087-0.008 0.005-0.015 0.010-0.022 0.015-0.046 0.030-0.091 0.060-0.136 0.091-0.016 0.011-0.031 0.021-0.046 0.032-0.040 0.028-0.079 0.057-0.119 0.086-0.012 0.009-0.025 0.018-0.037 0.028-0.050 0.038-0.099 0.076-0.148 0.116-0.011 0.008-0.021 0.017-0.032 0.026-0.039 0.032-0.077 0.064-0.115 0.097-0.015 0.013-0.029 0.025-0.044 0.038-0.038 0.034-0.075 0.067-0.113 0.102-0.010 0.009-0.020 0.018-0.029 0.027-0.046 0.043-0.091 0.087-0.135 0.131-0.012 0.012-0.023 0.023-0.034 0.035-0.034 0.035-0.067 0.070-0.1 0.105-0.013 0.014-0.026 0.028-0.039 0.043-0.037 0.041-0.074 0.081-0.11 0.123-0.006 0.006-0.012 0.013-0.017 0.019-0.041 0.048-0.081 0.097-0.121 0.146-0.011 0.014-0.022 0.028-0.033 0.042-0.029 0.038-0.059 0.076-0.088 0.115-0.011 0.015-0.023 0.030-0.034 0.045-0.038 0.052-0.075 0.104-0.111 0.157-0.039 0.057-0.076 0.114-0.113 0.172v0zM5.268 17.283v-1.346c0-0.060 0.001-0.119 0.003-0.178 0.001-0.020 0.002-0.039 0.003-0.058 0.002-0.039 0.004-0.079 0.007-0.118 0.002-0.024 0.004-0.048 0.007-0.071 0.003-0.035 0.006-0.070 0.010-0.104 0.003-0.025 0.007-0.050 0.010-0.076 0.004-0.033 0.008-0.065 0.013-0.098 0.004-0.026 0.009-0.052 0.013-0.078 0.005-0.031 0.010-0.063 0.016-0.094 0.005-0.027 0.011-0.053 0.016-0.079 0.006-0.030 0.012-0.061 0.019-0.091 0.006-0.027 0.013-0.053 0.019-0.079 0.007-0.030 0.014-0.059 0.022-0.089 0.007-0.027 0.015-0.053 0.023-0.080 0.008-0.029 0.016-0.058 0.025-0.086 0.008-0.027 0.017-0.053 0.026-0.079 0.009-0.028 0.018-0.056 0.028-0.084 0.009-0.026 0.019-0.053 0.029-0.079 0.010-0.028 0.020-0.055 0.030-0.082s0.021-0.052 0.031-0.078c0.011-0.027 0.022-0.054 0.033-0.081s0.023-0.051 0.034-0.077c0.012-0.026 0.024-0.053 0.036-0.079s0.025-0.051 0.037-0.076c0.013-0.026 0.025-0.051 0.039-0.077s0.026-0.050 0.040-0.075c0.014-0.025 0.027-0.050 0.041-0.075s0.028-0.049 0.043-0.073c0.014-0.025 0.029-0.049 0.044-0.074s0.030-0.048 0.046-0.072c0.015-0.024 0.031-0.048 0.046-0.072s0.032-0.047 0.048-0.071c0.016-0.024 0.032-0.047 0.049-0.070s0.034-0.046 0.051-0.069c0.017-0.023 0.034-0.046 0.051-0.068s0.036-0.045 0.054-0.067c0.018-0.022 0.036-0.044 0.054-0.066s0.037-0.044 0.056-0.065 0.038-0.043 0.056-0.064 0.039-0.042 0.058-0.063c0.019-0.021 0.039-0.042 0.058-0.062s0.040-0.041 0.061-0.061c0.020-0.020 0.041-0.040 0.061-0.060s0.041-0.039 0.063-0.059c0.021-0.020 0.042-0.039 0.063-0.058s0.043-0.038 0.065-0.057c0.022-0.019 0.044-0.038 0.066-0.056s0.045-0.036 0.067-0.054c0.023-0.018 0.045-0.036 0.068-0.054s0.046-0.035 0.069-0.052c0.023-0.017 0.047-0.035 0.071-0.052s0.047-0.033 0.071-0.050c0.024-0.016 0.049-0.033 0.073-0.049s0.048-0.031 0.072-0.047c0.025-0.016 0.050-0.032 0.075-0.047s0.049-0.029 0.074-0.044c0.026-0.015 0.052-0.030 0.078-0.045 0.025-0.014 0.050-0.028 0.075-0.041 0.027-0.014 0.054-0.028 0.080-0.042 0.025-0.013 0.051-0.026 0.077-0.039 0.020-0.010 0.041-0.020 0.061-0.029 0.603 0.317 1.289 0.498 2.017 0.498s1.414-0.18 2.017-0.498c0.021 0.010 0.041 0.019 0.061 0.029 0.026 0.013 0.052 0.026 0.078 0.039s0.053 0.028 0.079 0.042c0.026 0.014 0.051 0.028 0.077 0.042s0.052 0.029 0.077 0.044c0.025 0.015 0.050 0.030 0.075 0.045s0.050 0.031 0.075 0.047c0.025 0.015 0.049 0.031 0.073 0.047s0.048 0.032 0.072 0.049c0.024 0.017 0.048 0.033 0.071 0.050s0.047 0.034 0.070 0.051c0.023 0.017 0.047 0.035 0.069 0.053s0.046 0.035 0.068 0.053c0.022 0.018 0.045 0.036 0.067 0.055s0.044 0.037 0.066 0.055c0.022 0.019 0.043 0.038 0.065 0.057s0.042 0.039 0.063 0.058c0.021 0.020 0.042 0.039 0.063 0.059s0.041 0.040 0.061 0.060c0.020 0.021 0.041 0.041 0.061 0.062s0.039 0.041 0.058 0.062c0.020 0.021 0.039 0.043 0.058 0.064s0.038 0.043 0.056 0.064c0.019 0.022 0.038 0.043 0.056 0.066s0.036 0.043 0.054 0.065c0.018 0.022 0.036 0.045 0.054 0.068s0.034 0.045 0.051 0.067c0.017 0.023 0.034 0.046 0.051 0.070s0.032 0.046 0.049 0.070c0.016 0.023 0.033 0.047 0.048 0.071s0.031 0.047 0.046 0.071c0.015 0.024 0.031 0.048 0.046 0.072s0.029 0.049 0.044 0.073c0.014 0.024 0.029 0.049 0.043 0.074s0.027 0.050 0.041 0.075c0.013 0.025 0.027 0.050 0.040 0.075s0.026 0.051 0.038 0.077c0.013 0.025 0.025 0.050 0.037 0.076s0.024 0.052 0.036 0.079c0.012 0.026 0.023 0.051 0.034 0.077s0.022 0.054 0.033 0.080c0.011 0.026 0.021 0.052 0.032 0.079s0.020 0.055 0.030 0.082c0.010 0.026 0.020 0.052 0.029 0.079 0.010 0.028 0.019 0.056 0.028 0.084 0.009 0.027 0.017 0.053 0.026 0.079 0.009 0.029 0.017 0.058 0.025 0.087 0.008 0.026 0.015 0.053 0.022 0.079 0.008 0.029 0.015 0.059 0.022 0.089 0.006 0.027 0.013 0.053 0.019 0.079 0.007 0.030 0.013 0.061 0.019 0.091 0.005 0.026 0.011 0.053 0.016 0.079 0.006 0.031 0.011 0.062 0.016 0.094 0.004 0.026 0.009 0.052 0.013 0.079 0.005 0.032 0.009 0.065 0.013 0.097 0.003 0.025 0.007 0.051 0.010 0.076 0.004 0.034 0.007 0.069 0.010 0.104 0.002 0.024 0.005 0.047 0.007 0.071 0.003 0.040 0.005 0.079 0.006 0.119 0.001 0.019 0.003 0.039 0.003 0.058 0.002 0.059 0.003 0.119 0.003 0.178v1.346h-9.463zM15.787 15.47c-0.010-0.13-0.026-0.261-0.045-0.39-0.003-0.021-0.007-0.041-0.010-0.061-0.008-0.047-0.015-0.094-0.024-0.14-0.005-0.024-0.010-0.049-0.014-0.074-0.008-0.042-0.017-0.085-0.027-0.127-0.006-0.025-0.012-0.051-0.018-0.076-0.010-0.041-0.020-0.083-0.031-0.124-0.007-0.025-0.013-0.050-0.020-0.075-0.012-0.043-0.024-0.086-0.037-0.128-0.007-0.023-0.013-0.045-0.020-0.067-0.016-0.050-0.033-0.101-0.050-0.151-0.005-0.014-0.009-0.028-0.014-0.042-0.023-0.064-0.047-0.128-0.072-0.191-0.005-0.013-0.011-0.027-0.017-0.041-0.020-0.049-0.040-0.098-0.061-0.147-0.009-0.021-0.019-0.043-0.029-0.064-0.018-0.041-0.037-0.081-0.056-0.121-0.011-0.024-0.023-0.047-0.034-0.070-0.019-0.038-0.038-0.076-0.058-0.114-0.012-0.023-0.025-0.047-0.038-0.071-0.021-0.038-0.041-0.075-0.063-0.113-0.013-0.022-0.025-0.045-0.038-0.067-0.023-0.040-0.048-0.080-0.073-0.12-0.012-0.019-0.022-0.038-0.034-0.056-0.037-0.058-0.074-0.115-0.113-0.172-0.037-0.053-0.074-0.105-0.111-0.157-0.011-0.015-0.022-0.029-0.033-0.045-0.029-0.039-0.058-0.077-0.088-0.115-0.011-0.014-0.021-0.028-0.032-0.041-0.040-0.049-0.080-0.098-0.121-0.146-0.005-0.006-0.011-0.012-0.016-0.018-0.036-0.042-0.073-0.084-0.111-0.125-0.013-0.014-0.026-0.028-0.039-0.042-0.033-0.036-0.067-0.071-0.101-0.105-0.011-0.012-0.022-0.023-0.034-0.034-0.044-0.044-0.089-0.088-0.135-0.131-0.010-0.009-0.019-0.018-0.029-0.027-0.037-0.035-0.075-0.069-0.113-0.102-0.015-0.013-0.029-0.025-0.044-0.038-0.038-0.033-0.076-0.065-0.115-0.097-0.011-0.009-0.021-0.018-0.032-0.026-0.048-0.039-0.098-0.078-0.148-0.116-0.012-0.009-0.025-0.018-0.037-0.028-0.039-0.029-0.079-0.057-0.119-0.085-0.015-0.011-0.031-0.022-0.047-0.033-0.044-0.031-0.089-0.061-0.134-0.090-0.008-0.005-0.016-0.011-0.024-0.016-0.046-0.029-0.092-0.058-0.138-0.086 0.012-0.012 0.023-0.024 0.035-0.035 0.033-0.032 0.066-0.065 0.098-0.098 0.018-0.019 0.036-0.037 0.054-0.056 0.035-0.038 0.070-0.076 0.103-0.115 0.014-0.017 0.029-0.033 0.043-0.050 0.036-0.043 0.071-0.086 0.105-0.13 0.011-0.014 0.023-0.029 0.034-0.043 0.034-0.046 0.068-0.092 0.101-0.138 0.21 0.031 0.421 0.046 0.631 0.046 0.728 0 1.414-0.18 2.017-0.498 1.657 0.785 2.714 2.436 2.714 4.276v1.346h-3.139z" })),
|
|
|
166 |
"social_share": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M12.724 17.582c-2.53 1.063-5.462 0.552-7.49-1.313 1.713-1.814 0.438-4.835-2.084-4.835-1.582 0-2.868 1.287-2.868 2.868 0 1.946 1.91 3.335 3.763 2.724 2.433 2.44 6.086 3.134 9.21 1.82 0.349-0.146 0.513-0.549 0.366-0.897s-0.548-0.513-0.897-0.367v0zM1.652 14.302c0-0.825 0.672-1.497 1.498-1.497 0.825 0 1.497 0.672 1.497 1.497s-0.672 1.497-1.497 1.497c-0.826 0-1.498-0.672-1.498-1.497z" }), el("path", { fill: "#4a00e0", d: "M2.506 9.096c0.357 0.13 0.749-0.055 0.878-0.409 0.683-1.876 2.162-3.392 4.006-4.131 0.453 0.99 1.452 1.68 2.609 1.68 1.582 0 2.868-1.286 2.868-2.868 0-1.581-1.286-2.868-2.868-2.868-1.52 0-2.767 1.188-2.861 2.685-2.346 0.851-4.195 2.705-5.042 5.033-0.129 0.355 0.054 0.749 0.41 0.878zM10 1.871c0.826 0 1.498 0.671 1.498 1.497s-0.672 1.498-1.498 1.498-1.497-0.672-1.497-1.498 0.671-1.497 1.497-1.497z" }), el("path", { fill: "#4a00e0", d: "M18.368 11.871c0.024-0.136 0.039-0.573 0.039-0.779 0-2.375-1.013-4.651-2.777-6.244-0.281-0.253-0.715-0.231-0.968 0.050s-0.231 0.714 0.049 0.968c1.546 1.395 2.421 3.432 2.316 5.575-1.666-0.103-3.045 1.226-3.045 2.861 0 1.581 1.286 2.868 2.867 2.868s2.868-1.287 2.868-2.868c0.001-1.024-0.539-1.924-1.349-2.431zM16.85 15.799c-0.825 0-1.497-0.672-1.497-1.497s0.672-1.497 1.497-1.497c0.826 0 1.497 0.672 1.497 1.497s-0.671 1.497-1.497 1.497z" })),
|
167 |
"social_share_child": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M13.717 11.663c-0.79 0-1.498 0.36-1.968 0.926l-3.055-1.734c0.096-0.268 0.148-0.554 0.148-0.854s-0.052-0.586-0.148-0.854l3.055-1.735c0.47 0.565 1.178 0.927 1.968 0.927 1.41 0 2.557-1.147 2.557-2.559 0-1.41-1.146-2.558-2.557-2.558s-2.558 1.147-2.558 2.558c0 0.3 0.053 0.588 0.147 0.854l-3.055 1.736c-0.468-0.566-1.177-0.927-1.967-0.927-1.411 0-2.558 1.147-2.558 2.558s1.147 2.558 2.558 2.558c0.79 0 1.499-0.359 1.967-0.926l3.055 1.734c-0.095 0.268-0.147 0.556-0.147 0.855 0 1.409 1.147 2.557 2.558 2.557s2.557-1.147 2.557-2.557c-0.001-1.411-1.147-2.559-2.557-2.559zM13.717 4.116c0.917 0 1.663 0.746 1.663 1.663s-0.746 1.663-1.663 1.663c-0.916 0-1.662-0.745-1.662-1.663 0-0.917 0.746-1.663 1.662-1.663zM6.285 11.663c-0.917 0-1.663-0.746-1.663-1.663 0-0.916 0.746-1.662 1.663-1.662s1.663 0.746 1.663 1.662c-0.001 0.917-0.747 1.663-1.663 1.663zM13.717 15.884c-0.916 0-1.662-0.746-1.662-1.662 0-0.918 0.746-1.664 1.662-1.664s1.663 0.746 1.663 1.664c0 0.916-0.746 1.662-1.663 1.662z" })),
|
168 |
"restaurant_menu": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M0 2.136v15.729h20v-15.729h-20zM18.828 7.038h-8.242v-3.73h8.242v3.73zM1.172 3.307h8.242v13.385h-8.242v-13.385zM10.586 16.693v-8.483h8.242v8.483h-8.242z" }), el("path", { fill: "#4a00e0", d: "M2.742 4.661v4.492c0 1.188 0.826 2.185 1.934 2.45v2.563h-0.898v1.172h2.969v-1.172h-0.898v-2.563c1.108-0.265 1.934-1.263 1.934-2.45v-4.492h-5.039zM6.61 9.154c0 0.743-0.605 1.348-1.348 1.348s-1.348-0.604-1.348-1.348v-3.32h2.695v3.32z" }), el("path", { fill: "#4a00e0", d: "M13.050 4.661h3.275v1.172h-3.275v-1.172z" }), el("path", { fill: "#4a00e0", d: "M12.109 9.414h5.156v1.172h-5.156v-1.172z" }), el("path", { fill: "#4a00e0", d: "M12.109 11.79h5.156v1.172h-5.156v-1.172z" }), el("path", { fill: "#4a00e0", d: "M12.109 14.167h5.156v1.172h-5.156v-1.172z" })),
|
@@ -212,10 +213,10 @@ var UAGB_Block_Icons = {
|
|
212 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__UAGBIcon__ = __webpack_require__(/*! ./UAGBIcon */ 9);
|
213 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__UAGBIcon___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__UAGBIcon__);
|
214 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__parseIcon__ = __webpack_require__(/*! ./parseIcon */ 517);
|
215 |
-
/**
|
216 |
-
* Set inline CSS class.
|
217 |
-
* @param {object} props - The block object.
|
218 |
-
* @return {array} The inline CSS class.
|
219 |
*/
|
220 |
|
221 |
|
@@ -354,9 +355,9 @@ function generateCSS(selectors, id) {
|
|
354 |
/* WEBPACK VAR INJECTION */(function(process) {
|
355 |
|
356 |
if (process.env.NODE_ENV === 'production') {
|
357 |
-
module.exports = __webpack_require__(/*! ./cjs/react.production.min.js */
|
358 |
} else {
|
359 |
-
module.exports = __webpack_require__(/*! ./cjs/react.development.js */
|
360 |
}
|
361 |
|
362 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
@@ -566,10 +567,10 @@ process.umask = function() { return 0; };
|
|
566 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
567 |
|
568 |
"use strict";
|
569 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__font_typography__ = __webpack_require__(/*! ./font-typography */
|
570 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__range_typography__ = __webpack_require__(/*! ./range-typography */
|
571 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__inline_styles__ = __webpack_require__(/*! ./inline-styles */
|
572 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
573 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
574 |
/* unused harmony reexport TypographyStyles */
|
575 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
@@ -584,13 +585,13 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
584 |
|
585 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
586 |
|
587 |
-
/**
|
588 |
-
* WordPress dependencies
|
589 |
*/
|
590 |
var __ = wp.i18n.__;
|
591 |
|
592 |
-
/**
|
593 |
-
* Internal dependencies
|
594 |
*/
|
595 |
|
596 |
|
@@ -630,11 +631,11 @@ var TypographyControl = function (_Component) {
|
|
630 |
value: function onAdvancedControlClick() {
|
631 |
|
632 |
var control = true;
|
633 |
-
var label = __("Hide Advanced");
|
634 |
|
635 |
if (this.state !== null && this.state.showAdvancedControls === true) {
|
636 |
control = false;
|
637 |
-
label = __("Advanced");
|
638 |
}
|
639 |
|
640 |
this.setState({
|
@@ -702,9 +703,9 @@ var TypographyControl = function (_Component) {
|
|
702 |
sizeTabletLabel: this.props.lineHeightTablet.label,
|
703 |
size: this.props.lineHeight,
|
704 |
sizeLabel: this.props.lineHeight.label,
|
705 |
-
sizeMobileText: __("Line Height"),
|
706 |
-
sizeTabletText: __("Line Height"),
|
707 |
-
sizeText: __("Line Height"),
|
708 |
steps: 0.1
|
709 |
}, this.props));
|
710 |
}
|
@@ -719,9 +720,9 @@ var TypographyControl = function (_Component) {
|
|
719 |
sizeTabletLabel: this.props.fontSizeTablet.label,
|
720 |
size: this.props.fontSize,
|
721 |
sizeLabel: this.props.fontSize.label,
|
722 |
-
sizeMobileText: !this.props.fontSizeLabel ? __("Font Size") : this.props.fontSizeLabel,
|
723 |
-
sizeTabletText: !this.props.fontSizeLabel ? __("Font Size") : this.props.fontSizeLabel,
|
724 |
-
sizeText: !this.props.fontSizeLabel ? __("Font Size") : this.props.fontSizeLabel,
|
725 |
steps: 0.1
|
726 |
}, this.props));
|
727 |
}
|
@@ -813,7 +814,7 @@ var TypographyControl = function (_Component) {
|
|
813 |
"use strict";
|
814 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(/*! prop-types */ 15);
|
815 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
|
816 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_webfontloader__ = __webpack_require__(/*! webfontloader */
|
817 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_webfontloader___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_webfontloader__);
|
818 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
819 |
|
@@ -970,6 +971,68 @@ module.exports = {"500px":{"changes":["4.4","5.0.0"],"ligatures":[],"search":{"t
|
|
970 |
|
971 |
/***/ }),
|
972 |
/* 11 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
973 |
/*!**************************************!*\
|
974 |
!*** ./node_modules/lodash/_root.js ***!
|
975 |
\**************************************/
|
@@ -989,7 +1052,7 @@ module.exports = root;
|
|
989 |
|
990 |
|
991 |
/***/ }),
|
992 |
-
/*
|
993 |
/*!*****************************************!*\
|
994 |
!*** ./node_modules/lodash/isObject.js ***!
|
995 |
\*****************************************/
|
@@ -1031,7 +1094,7 @@ module.exports = isObject;
|
|
1031 |
|
1032 |
|
1033 |
/***/ }),
|
1034 |
-
/*
|
1035 |
/*!****************************************!*\
|
1036 |
!*** ./node_modules/lodash/isArray.js ***!
|
1037 |
\****************************************/
|
@@ -1067,68 +1130,6 @@ var isArray = Array.isArray;
|
|
1067 |
module.exports = isArray;
|
1068 |
|
1069 |
|
1070 |
-
/***/ }),
|
1071 |
-
/* 14 */
|
1072 |
-
/*!**************************************!*\
|
1073 |
-
!*** ./node_modules/lodash/times.js ***!
|
1074 |
-
\**************************************/
|
1075 |
-
/*! dynamic exports provided */
|
1076 |
-
/*! exports used: default */
|
1077 |
-
/***/ (function(module, exports, __webpack_require__) {
|
1078 |
-
|
1079 |
-
var baseTimes = __webpack_require__(/*! ./_baseTimes */ 154),
|
1080 |
-
castFunction = __webpack_require__(/*! ./_castFunction */ 499),
|
1081 |
-
toInteger = __webpack_require__(/*! ./toInteger */ 92);
|
1082 |
-
|
1083 |
-
/** Used as references for various `Number` constants. */
|
1084 |
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
1085 |
-
|
1086 |
-
/** Used as references for the maximum length and index of an array. */
|
1087 |
-
var MAX_ARRAY_LENGTH = 4294967295;
|
1088 |
-
|
1089 |
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
1090 |
-
var nativeMin = Math.min;
|
1091 |
-
|
1092 |
-
/**
|
1093 |
-
* Invokes the iteratee `n` times, returning an array of the results of
|
1094 |
-
* each invocation. The iteratee is invoked with one argument; (index).
|
1095 |
-
*
|
1096 |
-
* @static
|
1097 |
-
* @since 0.1.0
|
1098 |
-
* @memberOf _
|
1099 |
-
* @category Util
|
1100 |
-
* @param {number} n The number of times to invoke `iteratee`.
|
1101 |
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
1102 |
-
* @returns {Array} Returns the array of results.
|
1103 |
-
* @example
|
1104 |
-
*
|
1105 |
-
* _.times(3, String);
|
1106 |
-
* // => ['0', '1', '2']
|
1107 |
-
*
|
1108 |
-
* _.times(4, _.constant(0));
|
1109 |
-
* // => [0, 0, 0, 0]
|
1110 |
-
*/
|
1111 |
-
function times(n, iteratee) {
|
1112 |
-
n = toInteger(n);
|
1113 |
-
if (n < 1 || n > MAX_SAFE_INTEGER) {
|
1114 |
-
return [];
|
1115 |
-
}
|
1116 |
-
var index = MAX_ARRAY_LENGTH,
|
1117 |
-
length = nativeMin(n, MAX_ARRAY_LENGTH);
|
1118 |
-
|
1119 |
-
iteratee = castFunction(iteratee);
|
1120 |
-
n -= MAX_ARRAY_LENGTH;
|
1121 |
-
|
1122 |
-
var result = baseTimes(length, iteratee);
|
1123 |
-
while (++index < n) {
|
1124 |
-
iteratee(index);
|
1125 |
-
}
|
1126 |
-
return result;
|
1127 |
-
}
|
1128 |
-
|
1129 |
-
module.exports = times;
|
1130 |
-
|
1131 |
-
|
1132 |
/***/ }),
|
1133 |
/* 15 */
|
1134 |
/*!******************************************!*\
|
@@ -1151,11 +1152,11 @@ if (process.env.NODE_ENV !== 'production') {
|
|
1151 |
// By explicitly using `prop-types` you are opting into new development behavior.
|
1152 |
// http://fb.me/prop-types-in-prod
|
1153 |
var throwOnDirectAccess = true;
|
1154 |
-
module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */
|
1155 |
} else {
|
1156 |
// By explicitly using `prop-types` you are opting into new production behavior.
|
1157 |
// http://fb.me/prop-types-in-prod
|
1158 |
-
module.exports = __webpack_require__(/*! ./factoryWithThrowingShims */
|
1159 |
}
|
1160 |
|
1161 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
@@ -1184,8 +1185,8 @@ if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
1184 |
|
1185 |
var arrayMap = __webpack_require__(/*! ./_arrayMap */ 44),
|
1186 |
baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 143),
|
1187 |
-
baseMap = __webpack_require__(/*! ./_baseMap */
|
1188 |
-
isArray = __webpack_require__(/*! ./isArray */
|
1189 |
|
1190 |
/**
|
1191 |
* Creates an array of values by running each element in `collection` thru
|
@@ -1482,8 +1483,8 @@ if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
1482 |
/*! all exports used */
|
1483 |
/***/ (function(module, exports, __webpack_require__) {
|
1484 |
|
1485 |
-
var baseIsNative = __webpack_require__(/*! ./_baseIsNative */
|
1486 |
-
getValue = __webpack_require__(/*! ./_getValue */
|
1487 |
|
1488 |
/**
|
1489 |
* Gets the native function at `key` of `object`.
|
@@ -1511,8 +1512,8 @@ module.exports = getNative;
|
|
1511 |
/***/ (function(module, exports, __webpack_require__) {
|
1512 |
|
1513 |
var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
|
1514 |
-
getRawTag = __webpack_require__(/*! ./_getRawTag */
|
1515 |
-
objectToString = __webpack_require__(/*! ./_objectToString */
|
1516 |
|
1517 |
/** `Object#toString` result references. */
|
1518 |
var nullTag = '[object Null]',
|
@@ -1679,7 +1680,7 @@ module.exports = function (it, key) {
|
|
1679 |
/*! all exports used */
|
1680 |
/***/ (function(module, exports, __webpack_require__) {
|
1681 |
|
1682 |
-
var root = __webpack_require__(/*! ./_root */
|
1683 |
|
1684 |
/** Built-in value references. */
|
1685 |
var Symbol = root.Symbol;
|
@@ -1697,7 +1698,7 @@ module.exports = Symbol;
|
|
1697 |
/***/ (function(module, exports, __webpack_require__) {
|
1698 |
|
1699 |
var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ 153),
|
1700 |
-
baseKeys = __webpack_require__(/*! ./_baseKeys */
|
1701 |
isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29);
|
1702 |
|
1703 |
/**
|
@@ -1788,9 +1789,9 @@ module.exports = isArrayLike;
|
|
1788 |
/*! all exports used */
|
1789 |
/***/ (function(module, exports, __webpack_require__) {
|
1790 |
|
1791 |
-
var isArray = __webpack_require__(/*! ./isArray */
|
1792 |
isKey = __webpack_require__(/*! ./_isKey */ 82),
|
1793 |
-
stringToPath = __webpack_require__(/*! ./_stringToPath */
|
1794 |
toString = __webpack_require__(/*! ./toString */ 160);
|
1795 |
|
1796 |
/**
|
@@ -1989,9 +1990,9 @@ if (process.env.NODE_ENV === 'production') {
|
|
1989 |
// DCE check should happen before ReactDOM bundle executes so that
|
1990 |
// DevTools can report bad minification during injection.
|
1991 |
checkDCE();
|
1992 |
-
module.exports = __webpack_require__(/*! ./cjs/react-dom.production.min.js */
|
1993 |
} else {
|
1994 |
-
module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */
|
1995 |
}
|
1996 |
|
1997 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
@@ -2026,8 +2027,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
2026 |
|
2027 |
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
|
2028 |
|
2029 |
-
/**
|
2030 |
-
* External dependencies
|
2031 |
*/
|
2032 |
|
2033 |
|
@@ -2184,10 +2185,10 @@ function getRegisteredBlockComponents(context) {
|
|
2184 |
return _extends({}, parentInnerBlocks, registeredBlockComponents.any);
|
2185 |
}
|
2186 |
|
2187 |
-
/**
|
2188 |
-
* Converts innerblocks to a list of layout configs.
|
2189 |
-
*
|
2190 |
-
* @param {Object[]} innerBlocks Inner block components.
|
2191 |
*/
|
2192 |
var getPostLayoutConfig = function getPostLayoutConfig(innerBlocks) {
|
2193 |
if (!innerBlocks || innerBlocks.length === 0) {
|
@@ -3374,11 +3375,11 @@ module.exports = arrayMap;
|
|
3374 |
/*! all exports used */
|
3375 |
/***/ (function(module, exports, __webpack_require__) {
|
3376 |
|
3377 |
-
var listCacheClear = __webpack_require__(/*! ./_listCacheClear */
|
3378 |
-
listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */
|
3379 |
-
listCacheGet = __webpack_require__(/*! ./_listCacheGet */
|
3380 |
-
listCacheHas = __webpack_require__(/*! ./_listCacheHas */
|
3381 |
-
listCacheSet = __webpack_require__(/*! ./_listCacheSet */
|
3382 |
|
3383 |
/**
|
3384 |
* Creates an list cache object.
|
@@ -3514,7 +3515,7 @@ module.exports = nativeCreate;
|
|
3514 |
/*! all exports used */
|
3515 |
/***/ (function(module, exports, __webpack_require__) {
|
3516 |
|
3517 |
-
var isKeyable = __webpack_require__(/*! ./_isKeyable */
|
3518 |
|
3519 |
/**
|
3520 |
* Gets the data for `map`.
|
@@ -3675,11 +3676,11 @@ module.exports = isPrototype;
|
|
3675 |
/*! all exports used */
|
3676 |
/***/ (function(module, exports, __webpack_require__) {
|
3677 |
|
3678 |
-
var DataView = __webpack_require__(/*! ./_DataView */
|
3679 |
Map = __webpack_require__(/*! ./_Map */ 73),
|
3680 |
-
Promise = __webpack_require__(/*! ./_Promise */
|
3681 |
-
Set = __webpack_require__(/*! ./_Set */
|
3682 |
-
WeakMap = __webpack_require__(/*! ./_WeakMap */
|
3683 |
baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 22),
|
3684 |
toSource = __webpack_require__(/*! ./_toSource */ 146);
|
3685 |
|
@@ -3897,7 +3898,7 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
3897 |
|
3898 |
"use strict";
|
3899 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _inherits;
|
3900 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_setPrototypeOf__ = __webpack_require__(/*! @babel/runtime/helpers/esm/setPrototypeOf */
|
3901 |
|
3902 |
function _inherits(subClass, superClass) {
|
3903 |
if (typeof superClass !== "function" && superClass !== null) {
|
@@ -4012,9 +4013,9 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
4012 |
|
4013 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
4014 |
|
4015 |
-
/**
|
4016 |
-
* Box-Shadow reusable component.
|
4017 |
-
*
|
4018 |
*/
|
4019 |
var __ = wp.i18n.__;
|
4020 |
var ColorPalette = wp.blockEditor.ColorPalette;
|
@@ -4048,11 +4049,11 @@ var BoxShadowControl = function (_Component) {
|
|
4048 |
value: function onAdvancedControlClick() {
|
4049 |
|
4050 |
var control = true;
|
4051 |
-
var label = __("Hide Advanced");
|
4052 |
|
4053 |
if (this.state !== null && this.state.showAdvancedControls === true) {
|
4054 |
control = false;
|
4055 |
-
label = __("Advanced");
|
4056 |
}
|
4057 |
|
4058 |
this.setState({
|
@@ -4195,7 +4196,7 @@ var BoxShadowControl = function (_Component) {
|
|
4195 |
onChange: function onChange(value) {
|
4196 |
return setAttributes({ boxShadowPosition: value });
|
4197 |
},
|
4198 |
-
options: [{ value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }]
|
4199 |
})
|
4200 |
)
|
4201 |
);
|
@@ -4252,8 +4253,8 @@ var BoxShadowControl = function (_Component) {
|
|
4252 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4253 |
|
4254 |
"use strict";
|
4255 |
-
/**
|
4256 |
-
* Returns Dynamic Generated Classes
|
4257 |
*/
|
4258 |
|
4259 |
function PositionClasses(attributes) {
|
@@ -4310,8 +4311,8 @@ function PositionClasses(attributes) {
|
|
4310 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4311 |
|
4312 |
"use strict";
|
4313 |
-
/**
|
4314 |
-
* Returns Dynamic Generated Classes
|
4315 |
*/
|
4316 |
|
4317 |
function ContentTmClasses(attributes) {
|
@@ -4426,11 +4427,11 @@ exports.f = {}.propertyIsEnumerable;
|
|
4426 |
/***/ (function(module, exports, __webpack_require__) {
|
4427 |
|
4428 |
var ListCache = __webpack_require__(/*! ./_ListCache */ 45),
|
4429 |
-
stackClear = __webpack_require__(/*! ./_stackClear */
|
4430 |
-
stackDelete = __webpack_require__(/*! ./_stackDelete */
|
4431 |
-
stackGet = __webpack_require__(/*! ./_stackGet */
|
4432 |
-
stackHas = __webpack_require__(/*! ./_stackHas */
|
4433 |
-
stackSet = __webpack_require__(/*! ./_stackSet */
|
4434 |
|
4435 |
/**
|
4436 |
* Creates a stack cache object to store key-value pairs.
|
@@ -4464,7 +4465,7 @@ module.exports = Stack;
|
|
4464 |
/***/ (function(module, exports, __webpack_require__) {
|
4465 |
|
4466 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
4467 |
-
root = __webpack_require__(/*! ./_root */
|
4468 |
|
4469 |
/* Built-in method references that are verified to be native. */
|
4470 |
var Map = getNative(root, 'Map');
|
@@ -4481,27 +4482,27 @@ module.exports = Map;
|
|
4481 |
/*! all exports used */
|
4482 |
/***/ (function(module, exports) {
|
4483 |
|
4484 |
-
var g;
|
4485 |
-
|
4486 |
-
// This works in non-strict mode
|
4487 |
-
g = (function() {
|
4488 |
-
return this;
|
4489 |
-
})();
|
4490 |
-
|
4491 |
-
try {
|
4492 |
-
// This works if eval is allowed (see CSP)
|
4493 |
-
g = g || Function("return this")() || (1,eval)("this");
|
4494 |
-
} catch(e) {
|
4495 |
-
// This works if the window reference is available
|
4496 |
-
if(typeof window === "object")
|
4497 |
-
g = window;
|
4498 |
-
}
|
4499 |
-
|
4500 |
-
// g can still be undefined, but nothing to do about it...
|
4501 |
-
// We return undefined, instead of nothing here, so it's
|
4502 |
-
// easier to handle this case. if(!global) { ...}
|
4503 |
-
|
4504 |
-
module.exports = g;
|
4505 |
|
4506 |
|
4507 |
/***/ }),
|
@@ -4513,11 +4514,11 @@ module.exports = g;
|
|
4513 |
/*! all exports used */
|
4514 |
/***/ (function(module, exports, __webpack_require__) {
|
4515 |
|
4516 |
-
var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */
|
4517 |
-
mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */
|
4518 |
-
mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */
|
4519 |
-
mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */
|
4520 |
-
mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */
|
4521 |
|
4522 |
/**
|
4523 |
* Creates a map cache object to store key-value pairs.
|
@@ -4587,7 +4588,7 @@ module.exports = arrayPush;
|
|
4587 |
/*! all exports used */
|
4588 |
/***/ (function(module, exports, __webpack_require__) {
|
4589 |
|
4590 |
-
var arrayFilter = __webpack_require__(/*! ./_arrayFilter */
|
4591 |
stubArray = __webpack_require__(/*! ./stubArray */ 152);
|
4592 |
|
4593 |
/** Used for built-in method references. */
|
@@ -4628,7 +4629,7 @@ module.exports = getSymbols;
|
|
4628 |
/*! all exports used */
|
4629 |
/***/ (function(module, exports, __webpack_require__) {
|
4630 |
|
4631 |
-
var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */
|
4632 |
isObjectLike = __webpack_require__(/*! ./isObjectLike */ 18);
|
4633 |
|
4634 |
/** Used for built-in method references. */
|
@@ -4675,8 +4676,8 @@ module.exports = isArguments;
|
|
4675 |
/*! all exports used */
|
4676 |
/***/ (function(module, exports, __webpack_require__) {
|
4677 |
|
4678 |
-
/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */
|
4679 |
-
stubFalse = __webpack_require__(/*! ./stubFalse */
|
4680 |
|
4681 |
/** Detect free variable `exports`. */
|
4682 |
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
@@ -4725,28 +4726,28 @@ module.exports = isBuffer;
|
|
4725 |
/*! all exports used */
|
4726 |
/***/ (function(module, exports) {
|
4727 |
|
4728 |
-
module.exports = function(module) {
|
4729 |
-
if(!module.webpackPolyfill) {
|
4730 |
-
module.deprecate = function() {};
|
4731 |
-
module.paths = [];
|
4732 |
-
// module.parent = undefined by default
|
4733 |
-
if(!module.children) module.children = [];
|
4734 |
-
Object.defineProperty(module, "loaded", {
|
4735 |
-
enumerable: true,
|
4736 |
-
get: function() {
|
4737 |
-
return module.l;
|
4738 |
-
}
|
4739 |
-
});
|
4740 |
-
Object.defineProperty(module, "id", {
|
4741 |
-
enumerable: true,
|
4742 |
-
get: function() {
|
4743 |
-
return module.i;
|
4744 |
-
}
|
4745 |
-
});
|
4746 |
-
module.webpackPolyfill = 1;
|
4747 |
-
}
|
4748 |
-
return module;
|
4749 |
-
};
|
4750 |
|
4751 |
|
4752 |
/***/ }),
|
@@ -4804,7 +4805,7 @@ module.exports = isLength;
|
|
4804 |
/*! all exports used */
|
4805 |
/***/ (function(module, exports, __webpack_require__) {
|
4806 |
|
4807 |
-
var isArray = __webpack_require__(/*! ./isArray */
|
4808 |
isSymbol = __webpack_require__(/*! ./isSymbol */ 56);
|
4809 |
|
4810 |
/** Used to match property names within property paths. */
|
@@ -4989,7 +4990,7 @@ module.exports = ReactPropTypesSecret;
|
|
4989 |
/* unused harmony export createElement */
|
4990 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
|
4991 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
|
4992 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */
|
4993 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(/*! react */ 5);
|
4994 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
4995 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(/*! @emotion/cache */ 86);
|
@@ -5263,8 +5264,8 @@ var ClassNames = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_br
|
|
5263 |
|
5264 |
"use strict";
|
5265 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__ = __webpack_require__(/*! @emotion/sheet */ 168);
|
5266 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__ = __webpack_require__(/*! @emotion/stylis */
|
5267 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_weak_memoize__ = __webpack_require__(/*! @emotion/weak-memoize */
|
5268 |
|
5269 |
|
5270 |
|
@@ -5489,9 +5490,9 @@ var createCache = function createCache(options) {
|
|
5489 |
|
5490 |
"use strict";
|
5491 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return serializeStyles; });
|
5492 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_hash__ = __webpack_require__(/*! @emotion/hash */
|
5493 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_unitless__ = __webpack_require__(/*! @emotion/unitless */
|
5494 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_memoize__ = __webpack_require__(/*! @emotion/memoize */
|
5495 |
|
5496 |
|
5497 |
|
@@ -5828,7 +5829,7 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
5828 |
|
5829 |
"use strict";
|
5830 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutProperties;
|
5831 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */
|
5832 |
|
5833 |
function _objectWithoutProperties(source, excluded) {
|
5834 |
if (source == null) return {};
|
@@ -6016,10 +6017,10 @@ module.exports = toInteger;
|
|
6016 |
"use strict";
|
6017 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
6018 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
6019 |
-
/**
|
6020 |
-
* Set inline styles.
|
6021 |
-
* @param {object} props - The block object.
|
6022 |
-
* @return {object} The inline background type CSS.
|
6023 |
*/
|
6024 |
|
6025 |
|
@@ -6987,10 +6988,10 @@ function GradientSettings(_ref) {
|
|
6987 |
};
|
6988 |
|
6989 |
return wp.element.createElement(__experimentalPanelColorGradientSettings, {
|
6990 |
-
title: __("Color Settings"),
|
6991 |
initialOpen: true,
|
6992 |
settings: [{
|
6993 |
-
label: __("Overlay Color"),
|
6994 |
gradientValue: gradientValue,
|
6995 |
onGradientChange: onGradientChange
|
6996 |
}]
|
@@ -7009,10 +7010,10 @@ function GradientSettings(_ref) {
|
|
7009 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7010 |
|
7011 |
"use strict";
|
7012 |
-
/**
|
7013 |
-
* Get HEX color and return RGBA. Default return RGB color.
|
7014 |
-
* @param {string} color - The color string.
|
7015 |
-
* @return {boolean} opacity The inline CSS class.
|
7016 |
*/
|
7017 |
|
7018 |
function hexToRgba(color, opacity) {
|
@@ -7358,8 +7359,8 @@ var InfoBoxDesc = function (_React$Component) {
|
|
7358 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7359 |
|
7360 |
"use strict";
|
7361 |
-
/**
|
7362 |
-
* Returns Dynamic Generated Classes
|
7363 |
*/
|
7364 |
|
7365 |
function InfoBoxPositionClasses(attributes) {
|
@@ -7650,7 +7651,7 @@ var AuthorName = function (_React$Component) {
|
|
7650 |
return wp.element.createElement(RichText, {
|
7651 |
tagName: "div",
|
7652 |
value: author_name,
|
7653 |
-
placeholder: __("Author Name"),
|
7654 |
className: "uagb-tm__author-name",
|
7655 |
onChange: function onChange(value) {
|
7656 |
var new_content = { "description": data_copy[index_value]["description"], "name": value, "company": data_copy[index_value]["company"], "image": data_copy[index_value]["image"] };
|
@@ -7747,7 +7748,7 @@ var Company = function (_React$Component) {
|
|
7747 |
setAttributes({ "test_block": data_copy });
|
7748 |
},
|
7749 |
multiline: false,
|
7750 |
-
placeholder: __("Company Name"),
|
7751 |
onMerge: props.mergeBlocks,
|
7752 |
unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
|
7753 |
for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
@@ -7831,7 +7832,7 @@ var Description = function (_React$Component) {
|
|
7831 |
return wp.element.createElement(RichText, {
|
7832 |
tagName: "div",
|
7833 |
value: description,
|
7834 |
-
placeholder: __("Write Description"),
|
7835 |
className: "uagb-tm__desc",
|
7836 |
onChange: function onChange(value) {
|
7837 |
|
@@ -7877,8 +7878,8 @@ var Description = function (_React$Component) {
|
|
7877 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7878 |
|
7879 |
"use strict";
|
7880 |
-
/**
|
7881 |
-
* Returns Dynamic Generated CSS
|
7882 |
*/
|
7883 |
|
7884 |
function PositionClasses(attributes) {
|
@@ -8432,8 +8433,8 @@ var Description = function (_React$Component) {
|
|
8432 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8433 |
|
8434 |
"use strict";
|
8435 |
-
/**
|
8436 |
-
* Returns Dynamic Generated Classes
|
8437 |
*/
|
8438 |
|
8439 |
function CtaPositionClasses(attributes) {
|
@@ -8718,7 +8719,7 @@ var Description = function (_React$Component) {
|
|
8718 |
return wp.element.createElement(RichText, {
|
8719 |
tagName: "div",
|
8720 |
value: attributes.descriptionText,
|
8721 |
-
placeholder: __("Write a Quote"),
|
8722 |
className: "uagb-blockquote__content",
|
8723 |
onChange: function onChange(value) {
|
8724 |
return setAttributes({ descriptionText: value });
|
@@ -8795,7 +8796,7 @@ var AuthorText = function (_React$Component) {
|
|
8795 |
return wp.element.createElement(RichText, {
|
8796 |
tagName: "div",
|
8797 |
value: attributes.author,
|
8798 |
-
placeholder: __("Author"),
|
8799 |
className: "uagb-blockquote__author",
|
8800 |
onChange: function onChange(value) {
|
8801 |
return setAttributes({ author: value });
|
@@ -9058,7 +9059,7 @@ module.exports = {};
|
|
9058 |
|
9059 |
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
9060 |
var anObject = __webpack_require__(/*! ./_an-object */ 43);
|
9061 |
-
var dPs = __webpack_require__(/*! ./_object-dps */
|
9062 |
var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ 134);
|
9063 |
var IE_PROTO = __webpack_require__(/*! ./_shared-key */ 132)('IE_PROTO');
|
9064 |
var Empty = function () { /* empty */ };
|
@@ -9073,7 +9074,7 @@ var createDict = function () {
|
|
9073 |
var gt = '>';
|
9074 |
var iframeDocument;
|
9075 |
iframe.style.display = 'none';
|
9076 |
-
__webpack_require__(/*! ./_html */
|
9077 |
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
9078 |
// createDict = iframe.contentWindow.Object;
|
9079 |
// html.removeChild(iframe);
|
@@ -9315,11 +9316,11 @@ var attributes = {
|
|
9315 |
/*! all exports used */
|
9316 |
/***/ (function(module, exports, __webpack_require__) {
|
9317 |
|
9318 |
-
var baseMatches = __webpack_require__(/*! ./_baseMatches */
|
9319 |
-
baseMatchesProperty = __webpack_require__(/*! ./_baseMatchesProperty */
|
9320 |
identity = __webpack_require__(/*! ./identity */ 57),
|
9321 |
-
isArray = __webpack_require__(/*! ./isArray */
|
9322 |
-
property = __webpack_require__(/*! ./property */
|
9323 |
|
9324 |
/**
|
9325 |
* The base implementation of `_.iteratee`.
|
@@ -9358,7 +9359,7 @@ module.exports = baseIteratee;
|
|
9358 |
/***/ (function(module, exports, __webpack_require__) {
|
9359 |
|
9360 |
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 22),
|
9361 |
-
isObject = __webpack_require__(/*! ./isObject */
|
9362 |
|
9363 |
/** `Object#toString` result references. */
|
9364 |
var asyncTag = '[object AsyncFunction]',
|
@@ -9458,7 +9459,7 @@ module.exports = toSource;
|
|
9458 |
/*! all exports used */
|
9459 |
/***/ (function(module, exports, __webpack_require__) {
|
9460 |
|
9461 |
-
var baseIsEqualDeep = __webpack_require__(/*! ./_baseIsEqualDeep */
|
9462 |
isObjectLike = __webpack_require__(/*! ./isObjectLike */ 18);
|
9463 |
|
9464 |
/**
|
@@ -9497,9 +9498,9 @@ module.exports = baseIsEqual;
|
|
9497 |
/*! all exports used */
|
9498 |
/***/ (function(module, exports, __webpack_require__) {
|
9499 |
|
9500 |
-
var SetCache = __webpack_require__(/*! ./_SetCache */
|
9501 |
-
arraySome = __webpack_require__(/*! ./_arraySome */
|
9502 |
-
cacheHas = __webpack_require__(/*! ./_cacheHas */
|
9503 |
|
9504 |
/** Used to compose bitmasks for value comparisons. */
|
9505 |
var COMPARE_PARTIAL_FLAG = 1,
|
@@ -9591,7 +9592,7 @@ module.exports = equalArrays;
|
|
9591 |
/*! all exports used */
|
9592 |
/***/ (function(module, exports, __webpack_require__) {
|
9593 |
|
9594 |
-
var root = __webpack_require__(/*! ./_root */
|
9595 |
|
9596 |
/** Built-in value references. */
|
9597 |
var Uint8Array = root.Uint8Array;
|
@@ -9636,7 +9637,7 @@ module.exports = getAllKeys;
|
|
9636 |
/***/ (function(module, exports, __webpack_require__) {
|
9637 |
|
9638 |
var arrayPush = __webpack_require__(/*! ./_arrayPush */ 76),
|
9639 |
-
isArray = __webpack_require__(/*! ./isArray */
|
9640 |
|
9641 |
/**
|
9642 |
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
@@ -9702,7 +9703,7 @@ module.exports = stubArray;
|
|
9702 |
|
9703 |
var baseTimes = __webpack_require__(/*! ./_baseTimes */ 154),
|
9704 |
isArguments = __webpack_require__(/*! ./isArguments */ 78),
|
9705 |
-
isArray = __webpack_require__(/*! ./isArray */
|
9706 |
isBuffer = __webpack_require__(/*! ./isBuffer */ 79),
|
9707 |
isIndex = __webpack_require__(/*! ./_isIndex */ 50),
|
9708 |
isTypedArray = __webpack_require__(/*! ./isTypedArray */ 155);
|
@@ -9791,7 +9792,7 @@ module.exports = baseTimes;
|
|
9791 |
/*! all exports used */
|
9792 |
/***/ (function(module, exports, __webpack_require__) {
|
9793 |
|
9794 |
-
var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */
|
9795 |
baseUnary = __webpack_require__(/*! ./_baseUnary */ 51),
|
9796 |
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ 52);
|
9797 |
|
@@ -9855,7 +9856,7 @@ module.exports = overArg;
|
|
9855 |
/*! all exports used */
|
9856 |
/***/ (function(module, exports, __webpack_require__) {
|
9857 |
|
9858 |
-
var isObject = __webpack_require__(/*! ./isObject */
|
9859 |
|
9860 |
/**
|
9861 |
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
@@ -9997,7 +9998,7 @@ module.exports = toString;
|
|
9997 |
|
9998 |
var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
|
9999 |
arrayMap = __webpack_require__(/*! ./_arrayMap */ 44),
|
10000 |
-
isArray = __webpack_require__(/*! ./isArray */
|
10001 |
isSymbol = __webpack_require__(/*! ./isSymbol */ 56);
|
10002 |
|
10003 |
/** Used as references for various `Number` constants. */
|
@@ -10361,7 +10362,7 @@ function () {
|
|
10361 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createEmotionProps; });
|
10362 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return hasOwnProperty; });
|
10363 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return withEmotionCache; });
|
10364 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(/*! @babel/runtime/helpers/inheritsLoose */
|
10365 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
|
10366 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(/*! react */ 5);
|
10367 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
@@ -10574,9 +10575,9 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
|
|
10574 |
/* WEBPACK VAR INJECTION */(function(process) {
|
10575 |
|
10576 |
if (process.env.NODE_ENV === 'production') {
|
10577 |
-
module.exports = __webpack_require__(/*! ./cjs/scheduler.production.min.js */
|
10578 |
} else {
|
10579 |
-
module.exports = __webpack_require__(/*! ./cjs/scheduler.development.js */
|
10580 |
}
|
10581 |
|
10582 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
@@ -10640,7 +10641,7 @@ if (process.env.NODE_ENV === 'production') {
|
|
10640 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_react_dom__);
|
10641 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__babel_runtime_helpers_esm_typeof__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 165);
|
10642 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__emotion_css__ = __webpack_require__(/*! @emotion/css */ 41);
|
10643 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__babel_runtime_helpers_esm_taggedTemplateLiteral__ = __webpack_require__(/*! @babel/runtime/helpers/esm/taggedTemplateLiteral */
|
10644 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_input_autosize__ = __webpack_require__(/*! react-input-autosize */ 174);
|
10645 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_react_input_autosize__);
|
10646 |
|
@@ -12448,9 +12449,9 @@ exports.default = AutosizeInput;
|
|
12448 |
/* WEBPACK VAR INJECTION */(function(process) {
|
12449 |
|
12450 |
if (process.env.NODE_ENV === 'production') {
|
12451 |
-
module.exports = __webpack_require__(/*! ./cjs/react-is.production.min.js */
|
12452 |
} else {
|
12453 |
-
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */
|
12454 |
}
|
12455 |
|
12456 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
@@ -12472,8 +12473,8 @@ if (process.env.NODE_ENV === 'production') {
|
|
12472 |
/* unused harmony export m */
|
12473 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 88);
|
12474 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 89);
|
12475 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */
|
12476 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */
|
12477 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 173);
|
12478 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 58);
|
12479 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_createClass__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 59);
|
@@ -15605,7 +15606,7 @@ var PostExcerpt = function PostExcerpt(props) {
|
|
15605 |
/*! all exports used */
|
15606 |
/***/ (function(module, exports, __webpack_require__) {
|
15607 |
|
15608 |
-
var isObject = __webpack_require__(/*! ./isObject */
|
15609 |
isSymbol = __webpack_require__(/*! ./isSymbol */ 56);
|
15610 |
|
15611 |
/** Used as references for various `Number` constants. */
|
@@ -16107,8 +16108,8 @@ module.exports = {
|
|
16107 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16108 |
|
16109 |
"use strict";
|
16110 |
-
/**
|
16111 |
-
* BLOCK: UAGB Section Attributes
|
16112 |
*/
|
16113 |
var attributes = {
|
16114 |
classMigrate: {
|
@@ -16419,8 +16420,8 @@ var attributes = {
|
|
16419 |
|
16420 |
"use strict";
|
16421 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
16422 |
-
/**
|
16423 |
-
* Returns Dynamic Generated CSS
|
16424 |
*/
|
16425 |
|
16426 |
|
@@ -16622,8 +16623,8 @@ var attributes = {
|
|
16622 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16623 |
|
16624 |
"use strict";
|
16625 |
-
/**
|
16626 |
-
* BLOCK: Buttons Child - Attributes
|
16627 |
*/
|
16628 |
|
16629 |
var attributes = {
|
@@ -17831,8 +17832,8 @@ module.exports = exports["default"];
|
|
17831 |
"use strict";
|
17832 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
17833 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
17834 |
-
/**
|
17835 |
-
* Returns Dynamic Generated CSS
|
17836 |
*/
|
17837 |
|
17838 |
|
@@ -18229,8 +18230,8 @@ var InfoBoxIconImage = function (_React$Component) {
|
|
18229 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18230 |
|
18231 |
"use strict";
|
18232 |
-
/**
|
18233 |
-
* BLOCK: Info Box - Attributes
|
18234 |
*/
|
18235 |
|
18236 |
var attributes = {
|
@@ -18735,8 +18736,8 @@ var _attributes;
|
|
18735 |
|
18736 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
18737 |
|
18738 |
-
/**
|
18739 |
-
* BLOCK: Testimonial - Attributes
|
18740 |
*/
|
18741 |
|
18742 |
var ITEM_COUNT = 3;
|
@@ -19093,8 +19094,8 @@ var attributes = (_attributes = {
|
|
19093 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19094 |
|
19095 |
"use strict";
|
19096 |
-
/**
|
19097 |
-
* BLOCK: UAGB Team Block Attributes
|
19098 |
*/
|
19099 |
|
19100 |
var attributes = {
|
@@ -19388,8 +19389,8 @@ var attributes = {
|
|
19388 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19389 |
|
19390 |
"use strict";
|
19391 |
-
/**
|
19392 |
-
* BLOCK: UAGB Social Share Attributes
|
19393 |
*/
|
19394 |
|
19395 |
var ITEM_COUNT = 1;
|
@@ -19494,8 +19495,8 @@ var attributes = {
|
|
19494 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19495 |
|
19496 |
"use strict";
|
19497 |
-
/**
|
19498 |
-
* BLOCK: Social Share Child - Attributes
|
19499 |
*/
|
19500 |
|
19501 |
var attributes = {
|
@@ -19582,8 +19583,8 @@ var links = {
|
|
19582 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19583 |
|
19584 |
"use strict";
|
19585 |
-
/**
|
19586 |
-
* BLOCK: Icon List - Attributes
|
19587 |
*/
|
19588 |
|
19589 |
var ITEM_COUNT = 1;
|
@@ -19739,8 +19740,8 @@ var attributes = {
|
|
19739 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19740 |
|
19741 |
"use strict";
|
19742 |
-
/**
|
19743 |
-
* BLOCK: Icon List Child - Attributes
|
19744 |
*/
|
19745 |
|
19746 |
var attributes = {
|
@@ -19818,8 +19819,8 @@ var attributes = {
|
|
19818 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19819 |
|
19820 |
"use strict";
|
19821 |
-
/**
|
19822 |
-
* BLOCK: Price List - Attributes
|
19823 |
*/
|
19824 |
var __ = wp.i18n.__;
|
19825 |
|
@@ -20109,8 +20110,8 @@ var attributes = {
|
|
20109 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20110 |
|
20111 |
"use strict";
|
20112 |
-
/**
|
20113 |
-
* BLOCK: UAGB Timeline Attributes
|
20114 |
*/
|
20115 |
|
20116 |
var __ = wp.i18n.__;
|
@@ -20124,8 +20125,8 @@ var date_arr = [];
|
|
20124 |
for (var i = 1; i <= ITEM_COUNT; i++) {
|
20125 |
|
20126 |
item.push({
|
20127 |
-
"time_heading": __("Timeline Heading ") + i,
|
20128 |
-
"time_desc": __("This is Timeline description, you can change me anytime click here ")
|
20129 |
});
|
20130 |
|
20131 |
var j = i - 1;
|
@@ -20440,8 +20441,8 @@ var attributes = {
|
|
20440 |
"use strict";
|
20441 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
20442 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
20443 |
-
/**
|
20444 |
-
* Returns Dynamic Generated CSS
|
20445 |
*/
|
20446 |
|
20447 |
|
@@ -20882,10 +20883,10 @@ function contentTimelineStyle(props) {
|
|
20882 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20883 |
|
20884 |
"use strict";
|
20885 |
-
/**
|
20886 |
-
* Function name: AlignClass
|
20887 |
-
* @param array attributes settign array of attributes.
|
20888 |
-
* @param int index_val index values.
|
20889 |
*/
|
20890 |
function AlignClass(attributes, index_val) {
|
20891 |
|
@@ -20917,8 +20918,8 @@ function AlignClass(attributes, index_val) {
|
|
20917 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20918 |
|
20919 |
"use strict";
|
20920 |
-
/**
|
20921 |
-
* Returns Dynamic Generated Classes
|
20922 |
*/
|
20923 |
|
20924 |
function DayAlignClass(attributes, index_val) {
|
@@ -20956,8 +20957,8 @@ function DayAlignClass(attributes, index_val) {
|
|
20956 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
20957 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
20958 |
|
20959 |
-
/**
|
20960 |
-
* Returns Dynamic Generated CSS
|
20961 |
*/
|
20962 |
|
20963 |
|
@@ -21373,8 +21374,8 @@ function contentTimelineStyle(props) {
|
|
21373 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21374 |
|
21375 |
"use strict";
|
21376 |
-
/**
|
21377 |
-
* BLOCK: UAGB Timeline Child Attributes
|
21378 |
*/
|
21379 |
|
21380 |
var __ = wp.i18n.__;
|
@@ -21389,11 +21390,11 @@ var attributes = {
|
|
21389 |
},
|
21390 |
time_heading: {
|
21391 |
type: "string",
|
21392 |
-
default: __("Timeline Heading ")
|
21393 |
},
|
21394 |
time_desc: {
|
21395 |
type: "string",
|
21396 |
-
default: __("This is Timeline description, you can change me anytime click here ")
|
21397 |
},
|
21398 |
dateFormat: {
|
21399 |
type: "string",
|
@@ -21460,8 +21461,8 @@ var attributes = {
|
|
21460 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21461 |
|
21462 |
"use strict";
|
21463 |
-
/**
|
21464 |
-
* BLOCK: Call To Action - Attributes
|
21465 |
*/
|
21466 |
|
21467 |
var attributes = {
|
@@ -21990,8 +21991,8 @@ var attributes = {
|
|
21990 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21991 |
|
21992 |
"use strict";
|
21993 |
-
/**
|
21994 |
-
* BLOCK: Columns - Attributes
|
21995 |
*/
|
21996 |
|
21997 |
var attributes = {
|
@@ -22311,16 +22312,16 @@ var attributes = {
|
|
22311 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
22312 |
|
22313 |
"use strict";
|
22314 |
-
/**
|
22315 |
-
* WordPress dependencies
|
22316 |
*/
|
22317 |
|
22318 |
var _wp$components = wp.components,
|
22319 |
Path = _wp$components.Path,
|
22320 |
SVG = _wp$components.SVG,
|
22321 |
G = _wp$components.G;
|
22322 |
-
/**
|
22323 |
-
* Custom icons
|
22324 |
*/
|
22325 |
|
22326 |
var rowIcons = {};
|
@@ -22432,8 +22433,8 @@ rowIcons.layout255025 = wp.element.createElement(
|
|
22432 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
22433 |
|
22434 |
"use strict";
|
22435 |
-
/**
|
22436 |
-
* BLOCK: UAGB Quote Block Attributes
|
22437 |
*/
|
22438 |
|
22439 |
var attributes = {
|
@@ -23802,8 +23803,8 @@ var __WEBPACK_AMD_DEFINE_RESULT__;
|
|
23802 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
23803 |
|
23804 |
"use strict";
|
23805 |
-
/**
|
23806 |
-
* BLOCK: UAGB How-To Schema Attributes
|
23807 |
*/
|
23808 |
|
23809 |
var __ = wp.i18n.__;
|
@@ -23814,11 +23815,11 @@ var tools = [];
|
|
23814 |
var materials = [];
|
23815 |
|
23816 |
tools.push({
|
23817 |
-
"add_required_tools": __("- A Computer.")
|
23818 |
});
|
23819 |
|
23820 |
materials.push({
|
23821 |
-
"add_required_materials": __("- A WordPress Website.")
|
23822 |
});
|
23823 |
|
23824 |
var attributes = {
|
@@ -23831,15 +23832,15 @@ var attributes = {
|
|
23831 |
},
|
23832 |
toolsTitle: {
|
23833 |
type: "html",
|
23834 |
-
default: __("Required Tools:")
|
23835 |
},
|
23836 |
materialTitle: {
|
23837 |
type: "html",
|
23838 |
-
default: __("Things Needed?")
|
23839 |
},
|
23840 |
stepsTitle: {
|
23841 |
type: "html",
|
23842 |
-
default: __("Steps to configure the How-to Schema:")
|
23843 |
},
|
23844 |
tools_count: {
|
23845 |
type: "number",
|
@@ -23881,15 +23882,15 @@ var attributes = {
|
|
23881 |
},
|
23882 |
estCost: {
|
23883 |
type: "html",
|
23884 |
-
default: __("Total Cost:")
|
23885 |
},
|
23886 |
timeNeeded: {
|
23887 |
type: "html",
|
23888 |
-
default: __("Total Time Needed :")
|
23889 |
},
|
23890 |
timeIn: {
|
23891 |
type: "html",
|
23892 |
-
default: __(" Minutes")
|
23893 |
},
|
23894 |
imgSize: {
|
23895 |
type: "string",
|
@@ -23914,7 +23915,7 @@ var attributes = {
|
|
23914 |
headingTitle: {
|
23915 |
source: "html",
|
23916 |
selector: "h1,h2,h3,h4,h5,h6",
|
23917 |
-
default: __("How To Configure How-To Schema In Ultimate Addons For Gutenberg?")
|
23918 |
},
|
23919 |
currencyType: {
|
23920 |
type: "html",
|
@@ -23923,7 +23924,7 @@ var attributes = {
|
|
23923 |
headingDesc: {
|
23924 |
source: "html",
|
23925 |
selector: "p",
|
23926 |
-
default: __("So to get started, you will just need to drag-n-drop the How-to Schema block in the Gutenberg editor. The How-to Schema block can be used on pages that contain a How-to in their title and describe steps to achieve certain requirements.")
|
23927 |
},
|
23928 |
headingAlign: {
|
23929 |
type: "string",
|
@@ -24484,11 +24485,11 @@ var attributes = {
|
|
24484 |
},
|
24485 |
question: {
|
24486 |
type: "html",
|
24487 |
-
default: __("What is FAQ?")
|
24488 |
},
|
24489 |
answer: {
|
24490 |
type: "html",
|
24491 |
-
default: __("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.")
|
24492 |
},
|
24493 |
icon: {
|
24494 |
type: "html",
|
@@ -24879,7 +24880,7 @@ var ReviewBody = function (_Component2) {
|
|
24879 |
{ className: "uagb_review_summary" },
|
24880 |
wp.element.createElement(RichText, {
|
24881 |
className: "uagb_review_summary_title",
|
24882 |
-
placeholder: __("Title of the summary goes here"),
|
24883 |
tagName: "p",
|
24884 |
onChange: function onChange(text) {
|
24885 |
return setSummaryTitle(text);
|
@@ -24890,7 +24891,7 @@ var ReviewBody = function (_Component2) {
|
|
24890 |
"div",
|
24891 |
{ className: "uagb_review_overall_value" },
|
24892 |
wp.element.createElement(RichText, {
|
24893 |
-
placeholder: __("Summary of the review goes here"),
|
24894 |
onChange: function onChange(text) {
|
24895 |
return setSummaryDescription(text);
|
24896 |
},
|
@@ -24940,7 +24941,7 @@ var ReviewBody = function (_Component2) {
|
|
24940 |
/***/ (function(module, exports, __webpack_require__) {
|
24941 |
|
24942 |
// optional / simple context binding
|
24943 |
-
var aFunction = __webpack_require__(/*! ./_a-function */
|
24944 |
module.exports = function (fn, that, length) {
|
24945 |
aFunction(fn);
|
24946 |
if (that === undefined) return fn;
|
@@ -25004,7 +25005,7 @@ module.exports = function (it) {
|
|
25004 |
|
25005 |
var has = __webpack_require__(/*! ./_has */ 26);
|
25006 |
var toIObject = __webpack_require__(/*! ./_to-iobject */ 39);
|
25007 |
-
var arrayIndexOf = __webpack_require__(/*! ./_array-includes */
|
25008 |
var IE_PROTO = __webpack_require__(/*! ./_shared-key */ 132)('IE_PROTO');
|
25009 |
|
25010 |
module.exports = function (object, names) {
|
@@ -25092,11 +25093,11 @@ module.exports = Object.getPrototypeOf || function (O) {
|
|
25092 |
|
25093 |
exports.__esModule = true;
|
25094 |
|
25095 |
-
var _iterator = __webpack_require__(/*! ../core-js/symbol/iterator */
|
25096 |
|
25097 |
var _iterator2 = _interopRequireDefault(_iterator);
|
25098 |
|
25099 |
-
var _symbol = __webpack_require__(/*! ../core-js/symbol */
|
25100 |
|
25101 |
var _symbol2 = _interopRequireDefault(_symbol);
|
25102 |
|
@@ -25126,7 +25127,7 @@ var $export = __webpack_require__(/*! ./_export */ 23);
|
|
25126 |
var redefine = __webpack_require__(/*! ./_redefine */ 245);
|
25127 |
var hide = __webpack_require__(/*! ./_hide */ 36);
|
25128 |
var Iterators = __webpack_require__(/*! ./_iterators */ 137);
|
25129 |
-
var $iterCreate = __webpack_require__(/*! ./_iter-create */
|
25130 |
var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ 139);
|
25131 |
var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ 242);
|
25132 |
var ITERATOR = __webpack_require__(/*! ./_wks */ 40)('iterator');
|
@@ -25259,48 +25260,53 @@ exports.f = __webpack_require__(/*! ./_descriptors */ 25) ? gOPD : function getO
|
|
25259 |
|
25260 |
"use strict";
|
25261 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
25262 |
-
/* harmony import */ var
|
25263 |
-
/* harmony import */ var
|
25264 |
-
/* harmony import */ var
|
25265 |
-
/* harmony import */ var
|
25266 |
-
/* harmony import */ var
|
25267 |
-
/* harmony import */ var
|
25268 |
-
/* harmony import */ var
|
25269 |
-
/* harmony import */ var
|
25270 |
-
/* harmony import */ var
|
25271 |
-
/* harmony import */ var
|
25272 |
-
/* harmony import */ var
|
25273 |
-
/* harmony import */ var
|
25274 |
-
/* harmony import */ var
|
25275 |
-
/* harmony import */ var
|
25276 |
-
/* harmony import */ var
|
25277 |
-
/* harmony import */ var
|
25278 |
-
/* harmony import */ var
|
25279 |
-
/* harmony import */ var
|
25280 |
-
/* harmony import */ var
|
25281 |
-
/* harmony import */ var
|
25282 |
-
/* harmony import */ var
|
25283 |
-
/* harmony import */ var
|
25284 |
-
/* harmony import */ var
|
25285 |
-
/* harmony import */ var
|
25286 |
-
/* harmony import */ var
|
25287 |
-
/* harmony import */ var
|
25288 |
-
/* harmony import */ var
|
25289 |
-
/* harmony import */ var
|
25290 |
-
/* harmony import */ var
|
25291 |
-
/* harmony import */ var
|
25292 |
-
/* harmony import */ var
|
25293 |
-
/* harmony import */ var
|
25294 |
-
/* harmony import */ var
|
25295 |
-
|
25296 |
-
|
25297 |
-
|
25298 |
-
|
25299 |
-
|
25300 |
-
|
25301 |
-
*
|
25302 |
-
*
|
25303 |
-
*
|
|
|
|
|
|
|
|
|
|
|
25304 |
*/
|
25305 |
|
25306 |
|
@@ -25320,6 +25326,10 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
25320 |
|
25321 |
|
25322 |
|
|
|
|
|
|
|
|
|
25323 |
|
25324 |
|
25325 |
|
@@ -25341,11 +25351,62 @@ var updateCategory = wp.blocks.updateCategory;
|
|
25341 |
|
25342 |
|
25343 |
updateCategory("uagb", {
|
25344 |
-
icon:
|
25345 |
});
|
25346 |
|
25347 |
/***/ }),
|
25348 |
/* 249 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25349 |
/*!**********************************************!*\
|
25350 |
!*** ./src/blocks/advanced-heading/block.js ***!
|
25351 |
\**********************************************/
|
@@ -25355,14 +25416,13 @@ updateCategory("uagb", {
|
|
25355 |
"use strict";
|
25356 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
25357 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 142);
|
25358 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */
|
25359 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */
|
25360 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */
|
25361 |
-
/* harmony import */ var
|
25362 |
-
/* harmony import */ var
|
25363 |
-
|
25364 |
-
|
25365 |
-
* BLOCK: Advanced Heading
|
25366 |
*/
|
25367 |
|
25368 |
|
@@ -25372,9 +25432,10 @@ updateCategory("uagb", {
|
|
25372 |
|
25373 |
|
25374 |
|
25375 |
-
|
25376 |
var __ = wp.i18n.__;
|
25377 |
-
var
|
|
|
|
|
25378 |
|
25379 |
|
25380 |
registerBlockType("uagb/advanced-heading", {
|
@@ -25382,26 +25443,69 @@ registerBlockType("uagb/advanced-heading", {
|
|
25382 |
title: uagb_blocks_info.blocks["uagb/advanced-heading"]["title"],
|
25383 |
description: uagb_blocks_info.blocks["uagb/advanced-heading"]["description"],
|
25384 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].advanced_heading,
|
25385 |
-
keywords: [__("advanced heading"), __("uag"), __("heading")],
|
25386 |
supports: {
|
25387 |
anchor: true
|
25388 |
},
|
25389 |
example: {
|
25390 |
attributes: {
|
25391 |
-
headingTitle: __('Write a Heading'),
|
25392 |
-
headingDesc: __('Write a Description')
|
25393 |
}
|
25394 |
},
|
25395 |
category: uagb_blocks_info.category,
|
25396 |
attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
|
25397 |
-
transform: __WEBPACK_IMPORTED_MODULE_5__transform__["a" /* default */],
|
25398 |
edit: __WEBPACK_IMPORTED_MODULE_2__edit__["a" /* default */],
|
25399 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
25400 |
-
deprecated: __WEBPACK_IMPORTED_MODULE_4__deprecated__["a" /* default */]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25401 |
});
|
25402 |
|
25403 |
/***/ }),
|
25404 |
-
/*
|
25405 |
/*!*********************************************!*\
|
25406 |
!*** ./src/blocks/advanced-heading/edit.js ***!
|
25407 |
\*********************************************/
|
@@ -25412,7 +25516,7 @@ registerBlockType("uagb/advanced-heading", {
|
|
25412 |
"use strict";
|
25413 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
25414 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
25415 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__styling__ = __webpack_require__(/*! ./styling */
|
25416 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
|
25417 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
25418 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */ 179);
|
@@ -25425,8 +25529,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
25425 |
|
25426 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
25427 |
|
25428 |
-
/**
|
25429 |
-
* BLOCK: Advanced Heading
|
25430 |
*/
|
25431 |
|
25432 |
// Import block dependencies and components.
|
@@ -25501,8 +25605,8 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25501 |
}
|
25502 |
}
|
25503 |
|
25504 |
-
/*
|
25505 |
-
* Heading Tag Change
|
25506 |
*/
|
25507 |
|
25508 |
}, {
|
@@ -25647,22 +25751,22 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25647 |
null,
|
25648 |
wp.element.createElement(
|
25649 |
PanelBody,
|
25650 |
-
{ title: __("Advanced Heading") },
|
25651 |
wp.element.createElement(
|
25652 |
"h2",
|
25653 |
null,
|
25654 |
-
__("Heading")
|
25655 |
),
|
25656 |
wp.element.createElement(SelectControl, {
|
25657 |
-
label: __("Heading Tag"),
|
25658 |
value: headingTag,
|
25659 |
onChange: function onChange(value) {
|
25660 |
_this2.onTagChange(value);
|
25661 |
},
|
25662 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }]
|
25663 |
}),
|
25664 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
25665 |
-
label: __("Typography"),
|
25666 |
attributes: attributes,
|
25667 |
setAttributes: setAttributes,
|
25668 |
loadGoogleFonts: { value: headLoadGoogleFonts, label: 'headLoadGoogleFonts' },
|
@@ -25681,7 +25785,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25681 |
wp.element.createElement(
|
25682 |
"p",
|
25683 |
{ className: "uagb-setting-label" },
|
25684 |
-
__("Heading Color"),
|
25685 |
wp.element.createElement(
|
25686 |
"span",
|
25687 |
{ className: "components-base-control__label" },
|
@@ -25699,10 +25803,10 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25699 |
wp.element.createElement(
|
25700 |
"h2",
|
25701 |
null,
|
25702 |
-
__("Sub-Heading")
|
25703 |
),
|
25704 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
25705 |
-
label: __("Typography"),
|
25706 |
attributes: attributes,
|
25707 |
setAttributes: setAttributes,
|
25708 |
loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: 'subHeadLoadGoogleFonts' },
|
@@ -25721,7 +25825,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25721 |
wp.element.createElement(
|
25722 |
"p",
|
25723 |
{ className: "uagb-setting-label" },
|
25724 |
-
__("Sub Heading Color"),
|
25725 |
wp.element.createElement(
|
25726 |
"span",
|
25727 |
{ className: "components-base-control__label" },
|
@@ -25738,20 +25842,20 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25738 |
),
|
25739 |
wp.element.createElement(
|
25740 |
PanelBody,
|
25741 |
-
{ title: __("Separator"), initialOpen: false },
|
25742 |
wp.element.createElement(SelectControl, {
|
25743 |
-
label: __("Style"),
|
25744 |
value: seperatorStyle,
|
25745 |
onChange: function onChange(value) {
|
25746 |
return setAttributes({ seperatorStyle: value });
|
25747 |
},
|
25748 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "double", label: __("Double") }, { value: "dashed", label: __("Dashed") }, { value: "dotted", label: __("Dotted") }]
|
25749 |
}),
|
25750 |
seperatorStyle !== "none" && wp.element.createElement(
|
25751 |
Fragment,
|
25752 |
null,
|
25753 |
wp.element.createElement(RangeControl, {
|
25754 |
-
label: __("Thickness (px)"),
|
25755 |
value: separatorHeight,
|
25756 |
onChange: function onChange(value) {
|
25757 |
return setAttributes({ separatorHeight: value });
|
@@ -25764,7 +25868,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25764 |
}),
|
25765 |
wp.element.createElement(
|
25766 |
ButtonGroup,
|
25767 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
25768 |
wp.element.createElement(
|
25769 |
Button,
|
25770 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: separatorWidthType === "px", "aria-pressed": separatorWidthType === "px", onClick: function onClick() {
|
@@ -25781,7 +25885,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25781 |
)
|
25782 |
),
|
25783 |
wp.element.createElement(RangeControl, {
|
25784 |
-
label: __("Width"),
|
25785 |
value: separatorWidth,
|
25786 |
onChange: function onChange(value) {
|
25787 |
return setAttributes({ separatorWidth: value });
|
@@ -25798,7 +25902,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25798 |
wp.element.createElement(
|
25799 |
"p",
|
25800 |
{ className: "uagb-setting-label" },
|
25801 |
-
__("Separator Color"),
|
25802 |
wp.element.createElement(
|
25803 |
"span",
|
25804 |
{ className: "components-base-control__label" },
|
@@ -25817,9 +25921,9 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25817 |
),
|
25818 |
wp.element.createElement(
|
25819 |
PanelBody,
|
25820 |
-
{ title: __("Spacing"), initialOpen: false },
|
25821 |
wp.element.createElement(RangeControl, {
|
25822 |
-
label: __("Heading Bottom Spacing (px)"),
|
25823 |
value: headSpace,
|
25824 |
onChange: function onChange(value) {
|
25825 |
return setAttributes({ headSpace: value });
|
@@ -25831,7 +25935,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25831 |
initialPosition: 0
|
25832 |
}),
|
25833 |
seperatorStyle !== "none" && wp.element.createElement(RangeControl, {
|
25834 |
-
label: __("Separator Bottom Spacing (px)"),
|
25835 |
value: separatorSpace,
|
25836 |
onChange: function onChange(value) {
|
25837 |
return setAttributes({ separatorSpace: value });
|
@@ -25851,7 +25955,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25851 |
},
|
25852 |
wp.element.createElement(RichText, {
|
25853 |
tagName: headingTag,
|
25854 |
-
placeholder: __("Write a Heading"),
|
25855 |
value: headingTitle,
|
25856 |
className: "uagb-heading-text",
|
25857 |
multiline: false,
|
@@ -25878,7 +25982,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25878 |
),
|
25879 |
wp.element.createElement(RichText, {
|
25880 |
tagName: "p",
|
25881 |
-
placeholder: __("Write a Description"),
|
25882 |
value: headingDesc,
|
25883 |
className: "uagb-desc-text",
|
25884 |
onChange: function onChange(value) {
|
@@ -25909,7 +26013,7 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25909 |
})(UAGBAdvancedHeading));
|
25910 |
|
25911 |
/***/ }),
|
25912 |
-
/*
|
25913 |
/*!************************************************!*\
|
25914 |
!*** ./src/blocks/advanced-heading/styling.js ***!
|
25915 |
\************************************************/
|
@@ -25920,8 +26024,8 @@ var UAGBAdvancedHeading = function (_Component) {
|
|
25920 |
"use strict";
|
25921 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
25922 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
25923 |
-
/**
|
25924 |
-
* Returns Dynamic Generated CSS
|
25925 |
*/
|
25926 |
|
25927 |
|
@@ -26032,7 +26136,7 @@ function styling(props) {
|
|
26032 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
26033 |
|
26034 |
/***/ }),
|
26035 |
-
/*
|
26036 |
/*!******************************************************!*\
|
26037 |
!*** ./src/components/typography/font-typography.js ***!
|
26038 |
\******************************************************/
|
@@ -26043,14 +26147,14 @@ function styling(props) {
|
|
26043 |
"use strict";
|
26044 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
26045 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_map__);
|
26046 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__fonts__ = __webpack_require__(/*! ./fonts */
|
26047 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_select__ = __webpack_require__(/*! react-select */
|
26048 |
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
26049 |
|
26050 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
26051 |
|
26052 |
-
/**
|
26053 |
-
* WordPress dependencies
|
26054 |
*/
|
26055 |
var __ = wp.i18n.__;
|
26056 |
var SelectControl = wp.components.SelectControl;
|
@@ -26061,8 +26165,8 @@ var _wp$element = wp.element,
|
|
26061 |
Component = _wp$element.Component,
|
26062 |
Fragment = _wp$element.Fragment;
|
26063 |
|
26064 |
-
/**
|
26065 |
-
* Internal dependencies
|
26066 |
*/
|
26067 |
|
26068 |
|
@@ -26071,7 +26175,7 @@ var _wp$element = wp.element,
|
|
26071 |
|
26072 |
function FontFamilyControl(props) {
|
26073 |
|
26074 |
-
var fonts = [{ value: "", label: __("Default"), weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Arial", label: "Arial", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Helvetica", label: "Helvetica", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Times New Roman", label: "Times New Roman", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Georgia", label: "Georgia", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }];
|
26075 |
|
26076 |
var fontWeight = "";
|
26077 |
var fontSubset = "";
|
@@ -26174,7 +26278,7 @@ function FontFamilyControl(props) {
|
|
26174 |
wp.element.createElement(
|
26175 |
"label",
|
26176 |
{ className: "uag-typography-font-family-label" },
|
26177 |
-
__("Font Family")
|
26178 |
),
|
26179 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2_react_select__["a" /* default */], {
|
26180 |
options: fonts,
|
@@ -26186,7 +26290,7 @@ function FontFamilyControl(props) {
|
|
26186 |
classNamePrefix: "react-select"
|
26187 |
}),
|
26188 |
wp.element.createElement(SelectControl, {
|
26189 |
-
label: __("Font Weight"),
|
26190 |
value: props.fontWeight.value,
|
26191 |
onChange: function onChange(value) {
|
26192 |
return props.setAttributes(_defineProperty({}, props.fontWeight.label, value));
|
@@ -26194,7 +26298,7 @@ function FontFamilyControl(props) {
|
|
26194 |
options: fontWeightObj
|
26195 |
}),
|
26196 |
wp.element.createElement(SelectControl, {
|
26197 |
-
label: __("Font Subset"),
|
26198 |
value: props.fontSubset.value,
|
26199 |
onChange: function onChange(value) {
|
26200 |
return props.setAttributes(_defineProperty({}, props.fontSubset.label, value));
|
@@ -26207,7 +26311,7 @@ function FontFamilyControl(props) {
|
|
26207 |
/* harmony default export */ __webpack_exports__["a"] = (FontFamilyControl);
|
26208 |
|
26209 |
/***/ }),
|
26210 |
-
/*
|
26211 |
/*!*********************************************!*\
|
26212 |
!*** ./node_modules/lodash/_baseMatches.js ***!
|
26213 |
\*********************************************/
|
@@ -26215,8 +26319,8 @@ function FontFamilyControl(props) {
|
|
26215 |
/*! all exports used */
|
26216 |
/***/ (function(module, exports, __webpack_require__) {
|
26217 |
|
26218 |
-
var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */
|
26219 |
-
getMatchData = __webpack_require__(/*! ./_getMatchData */
|
26220 |
matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 158);
|
26221 |
|
26222 |
/**
|
@@ -26240,7 +26344,7 @@ module.exports = baseMatches;
|
|
26240 |
|
26241 |
|
26242 |
/***/ }),
|
26243 |
-
/*
|
26244 |
/*!*********************************************!*\
|
26245 |
!*** ./node_modules/lodash/_baseIsMatch.js ***!
|
26246 |
\*********************************************/
|
@@ -26313,7 +26417,7 @@ module.exports = baseIsMatch;
|
|
26313 |
|
26314 |
|
26315 |
/***/ }),
|
26316 |
-
/*
|
26317 |
/*!************************************************!*\
|
26318 |
!*** ./node_modules/lodash/_listCacheClear.js ***!
|
26319 |
\************************************************/
|
@@ -26337,7 +26441,7 @@ module.exports = listCacheClear;
|
|
26337 |
|
26338 |
|
26339 |
/***/ }),
|
26340 |
-
/*
|
26341 |
/*!*************************************************!*\
|
26342 |
!*** ./node_modules/lodash/_listCacheDelete.js ***!
|
26343 |
\*************************************************/
|
@@ -26383,7 +26487,7 @@ module.exports = listCacheDelete;
|
|
26383 |
|
26384 |
|
26385 |
/***/ }),
|
26386 |
-
/*
|
26387 |
/*!**********************************************!*\
|
26388 |
!*** ./node_modules/lodash/_listCacheGet.js ***!
|
26389 |
\**********************************************/
|
@@ -26413,7 +26517,7 @@ module.exports = listCacheGet;
|
|
26413 |
|
26414 |
|
26415 |
/***/ }),
|
26416 |
-
/*
|
26417 |
/*!**********************************************!*\
|
26418 |
!*** ./node_modules/lodash/_listCacheHas.js ***!
|
26419 |
\**********************************************/
|
@@ -26440,7 +26544,7 @@ module.exports = listCacheHas;
|
|
26440 |
|
26441 |
|
26442 |
/***/ }),
|
26443 |
-
/*
|
26444 |
/*!**********************************************!*\
|
26445 |
!*** ./node_modules/lodash/_listCacheSet.js ***!
|
26446 |
\**********************************************/
|
@@ -26477,7 +26581,7 @@ module.exports = listCacheSet;
|
|
26477 |
|
26478 |
|
26479 |
/***/ }),
|
26480 |
-
/*
|
26481 |
/*!********************************************!*\
|
26482 |
!*** ./node_modules/lodash/_stackClear.js ***!
|
26483 |
\********************************************/
|
@@ -26503,7 +26607,7 @@ module.exports = stackClear;
|
|
26503 |
|
26504 |
|
26505 |
/***/ }),
|
26506 |
-
/*
|
26507 |
/*!*********************************************!*\
|
26508 |
!*** ./node_modules/lodash/_stackDelete.js ***!
|
26509 |
\*********************************************/
|
@@ -26532,7 +26636,7 @@ module.exports = stackDelete;
|
|
26532 |
|
26533 |
|
26534 |
/***/ }),
|
26535 |
-
/*
|
26536 |
/*!******************************************!*\
|
26537 |
!*** ./node_modules/lodash/_stackGet.js ***!
|
26538 |
\******************************************/
|
@@ -26557,7 +26661,7 @@ module.exports = stackGet;
|
|
26557 |
|
26558 |
|
26559 |
/***/ }),
|
26560 |
-
/*
|
26561 |
/*!******************************************!*\
|
26562 |
!*** ./node_modules/lodash/_stackHas.js ***!
|
26563 |
\******************************************/
|
@@ -26582,7 +26686,7 @@ module.exports = stackHas;
|
|
26582 |
|
26583 |
|
26584 |
/***/ }),
|
26585 |
-
/*
|
26586 |
/*!******************************************!*\
|
26587 |
!*** ./node_modules/lodash/_stackSet.js ***!
|
26588 |
\******************************************/
|
@@ -26627,7 +26731,7 @@ module.exports = stackSet;
|
|
26627 |
|
26628 |
|
26629 |
/***/ }),
|
26630 |
-
/*
|
26631 |
/*!**********************************************!*\
|
26632 |
!*** ./node_modules/lodash/_baseIsNative.js ***!
|
26633 |
\**********************************************/
|
@@ -26636,8 +26740,8 @@ module.exports = stackSet;
|
|
26636 |
/***/ (function(module, exports, __webpack_require__) {
|
26637 |
|
26638 |
var isFunction = __webpack_require__(/*! ./isFunction */ 144),
|
26639 |
-
isMasked = __webpack_require__(/*! ./_isMasked */
|
26640 |
-
isObject = __webpack_require__(/*! ./isObject */
|
26641 |
toSource = __webpack_require__(/*! ./_toSource */ 146);
|
26642 |
|
26643 |
/**
|
@@ -26685,7 +26789,7 @@ module.exports = baseIsNative;
|
|
26685 |
|
26686 |
|
26687 |
/***/ }),
|
26688 |
-
/*
|
26689 |
/*!*******************************************!*\
|
26690 |
!*** ./node_modules/lodash/_getRawTag.js ***!
|
26691 |
\*******************************************/
|
@@ -26742,7 +26846,7 @@ module.exports = getRawTag;
|
|
26742 |
|
26743 |
|
26744 |
/***/ }),
|
26745 |
-
/*
|
26746 |
/*!************************************************!*\
|
26747 |
!*** ./node_modules/lodash/_objectToString.js ***!
|
26748 |
\************************************************/
|
@@ -26775,7 +26879,7 @@ module.exports = objectToString;
|
|
26775 |
|
26776 |
|
26777 |
/***/ }),
|
26778 |
-
/*
|
26779 |
/*!******************************************!*\
|
26780 |
!*** ./node_modules/lodash/_isMasked.js ***!
|
26781 |
\******************************************/
|
@@ -26783,7 +26887,7 @@ module.exports = objectToString;
|
|
26783 |
/*! all exports used */
|
26784 |
/***/ (function(module, exports, __webpack_require__) {
|
26785 |
|
26786 |
-
var coreJsData = __webpack_require__(/*! ./_coreJsData */
|
26787 |
|
26788 |
/** Used to detect methods masquerading as native. */
|
26789 |
var maskSrcKey = (function() {
|
@@ -26806,7 +26910,7 @@ module.exports = isMasked;
|
|
26806 |
|
26807 |
|
26808 |
/***/ }),
|
26809 |
-
/*
|
26810 |
/*!********************************************!*\
|
26811 |
!*** ./node_modules/lodash/_coreJsData.js ***!
|
26812 |
\********************************************/
|
@@ -26814,7 +26918,7 @@ module.exports = isMasked;
|
|
26814 |
/*! all exports used */
|
26815 |
/***/ (function(module, exports, __webpack_require__) {
|
26816 |
|
26817 |
-
var root = __webpack_require__(/*! ./_root */
|
26818 |
|
26819 |
/** Used to detect overreaching core-js shims. */
|
26820 |
var coreJsData = root['__core-js_shared__'];
|
@@ -26823,7 +26927,7 @@ module.exports = coreJsData;
|
|
26823 |
|
26824 |
|
26825 |
/***/ }),
|
26826 |
-
/*
|
26827 |
/*!******************************************!*\
|
26828 |
!*** ./node_modules/lodash/_getValue.js ***!
|
26829 |
\******************************************/
|
@@ -26847,7 +26951,7 @@ module.exports = getValue;
|
|
26847 |
|
26848 |
|
26849 |
/***/ }),
|
26850 |
-
/*
|
26851 |
/*!***********************************************!*\
|
26852 |
!*** ./node_modules/lodash/_mapCacheClear.js ***!
|
26853 |
\***********************************************/
|
@@ -26855,7 +26959,7 @@ module.exports = getValue;
|
|
26855 |
/*! all exports used */
|
26856 |
/***/ (function(module, exports, __webpack_require__) {
|
26857 |
|
26858 |
-
var Hash = __webpack_require__(/*! ./_Hash */
|
26859 |
ListCache = __webpack_require__(/*! ./_ListCache */ 45),
|
26860 |
Map = __webpack_require__(/*! ./_Map */ 73);
|
26861 |
|
@@ -26879,7 +26983,7 @@ module.exports = mapCacheClear;
|
|
26879 |
|
26880 |
|
26881 |
/***/ }),
|
26882 |
-
/*
|
26883 |
/*!**************************************!*\
|
26884 |
!*** ./node_modules/lodash/_Hash.js ***!
|
26885 |
\**************************************/
|
@@ -26887,11 +26991,11 @@ module.exports = mapCacheClear;
|
|
26887 |
/*! all exports used */
|
26888 |
/***/ (function(module, exports, __webpack_require__) {
|
26889 |
|
26890 |
-
var hashClear = __webpack_require__(/*! ./_hashClear */
|
26891 |
-
hashDelete = __webpack_require__(/*! ./_hashDelete */
|
26892 |
-
hashGet = __webpack_require__(/*! ./_hashGet */
|
26893 |
-
hashHas = __webpack_require__(/*! ./_hashHas */
|
26894 |
-
hashSet = __webpack_require__(/*! ./_hashSet */
|
26895 |
|
26896 |
/**
|
26897 |
* Creates a hash object.
|
@@ -26922,7 +27026,7 @@ module.exports = Hash;
|
|
26922 |
|
26923 |
|
26924 |
/***/ }),
|
26925 |
-
/*
|
26926 |
/*!*******************************************!*\
|
26927 |
!*** ./node_modules/lodash/_hashClear.js ***!
|
26928 |
\*******************************************/
|
@@ -26948,7 +27052,7 @@ module.exports = hashClear;
|
|
26948 |
|
26949 |
|
26950 |
/***/ }),
|
26951 |
-
/*
|
26952 |
/*!********************************************!*\
|
26953 |
!*** ./node_modules/lodash/_hashDelete.js ***!
|
26954 |
\********************************************/
|
@@ -26976,7 +27080,7 @@ module.exports = hashDelete;
|
|
26976 |
|
26977 |
|
26978 |
/***/ }),
|
26979 |
-
/*
|
26980 |
/*!*****************************************!*\
|
26981 |
!*** ./node_modules/lodash/_hashGet.js ***!
|
26982 |
\*****************************************/
|
@@ -27017,7 +27121,7 @@ module.exports = hashGet;
|
|
27017 |
|
27018 |
|
27019 |
/***/ }),
|
27020 |
-
/*
|
27021 |
/*!*****************************************!*\
|
27022 |
!*** ./node_modules/lodash/_hashHas.js ***!
|
27023 |
\*****************************************/
|
@@ -27051,7 +27155,7 @@ module.exports = hashHas;
|
|
27051 |
|
27052 |
|
27053 |
/***/ }),
|
27054 |
-
/*
|
27055 |
/*!*****************************************!*\
|
27056 |
!*** ./node_modules/lodash/_hashSet.js ***!
|
27057 |
\*****************************************/
|
@@ -27085,7 +27189,7 @@ module.exports = hashSet;
|
|
27085 |
|
27086 |
|
27087 |
/***/ }),
|
27088 |
-
/*
|
27089 |
/*!************************************************!*\
|
27090 |
!*** ./node_modules/lodash/_mapCacheDelete.js ***!
|
27091 |
\************************************************/
|
@@ -27114,7 +27218,7 @@ module.exports = mapCacheDelete;
|
|
27114 |
|
27115 |
|
27116 |
/***/ }),
|
27117 |
-
/*
|
27118 |
/*!*******************************************!*\
|
27119 |
!*** ./node_modules/lodash/_isKeyable.js ***!
|
27120 |
\*******************************************/
|
@@ -27140,7 +27244,7 @@ module.exports = isKeyable;
|
|
27140 |
|
27141 |
|
27142 |
/***/ }),
|
27143 |
-
/*
|
27144 |
/*!*********************************************!*\
|
27145 |
!*** ./node_modules/lodash/_mapCacheGet.js ***!
|
27146 |
\*********************************************/
|
@@ -27167,7 +27271,7 @@ module.exports = mapCacheGet;
|
|
27167 |
|
27168 |
|
27169 |
/***/ }),
|
27170 |
-
/*
|
27171 |
/*!*********************************************!*\
|
27172 |
!*** ./node_modules/lodash/_mapCacheHas.js ***!
|
27173 |
\*********************************************/
|
@@ -27194,7 +27298,7 @@ module.exports = mapCacheHas;
|
|
27194 |
|
27195 |
|
27196 |
/***/ }),
|
27197 |
-
/*
|
27198 |
/*!*********************************************!*\
|
27199 |
!*** ./node_modules/lodash/_mapCacheSet.js ***!
|
27200 |
\*********************************************/
|
@@ -27227,7 +27331,7 @@ module.exports = mapCacheSet;
|
|
27227 |
|
27228 |
|
27229 |
/***/ }),
|
27230 |
-
/*
|
27231 |
/*!*************************************************!*\
|
27232 |
!*** ./node_modules/lodash/_baseIsEqualDeep.js ***!
|
27233 |
\*************************************************/
|
@@ -27237,10 +27341,10 @@ module.exports = mapCacheSet;
|
|
27237 |
|
27238 |
var Stack = __webpack_require__(/*! ./_Stack */ 72),
|
27239 |
equalArrays = __webpack_require__(/*! ./_equalArrays */ 148),
|
27240 |
-
equalByTag = __webpack_require__(/*! ./_equalByTag */
|
27241 |
-
equalObjects = __webpack_require__(/*! ./_equalObjects */
|
27242 |
getTag = __webpack_require__(/*! ./_getTag */ 54),
|
27243 |
-
isArray = __webpack_require__(/*! ./isArray */
|
27244 |
isBuffer = __webpack_require__(/*! ./isBuffer */ 79),
|
27245 |
isTypedArray = __webpack_require__(/*! ./isTypedArray */ 155);
|
27246 |
|
@@ -27321,7 +27425,7 @@ module.exports = baseIsEqualDeep;
|
|
27321 |
|
27322 |
|
27323 |
/***/ }),
|
27324 |
-
/*
|
27325 |
/*!******************************************!*\
|
27326 |
!*** ./node_modules/lodash/_SetCache.js ***!
|
27327 |
\******************************************/
|
@@ -27330,8 +27434,8 @@ module.exports = baseIsEqualDeep;
|
|
27330 |
/***/ (function(module, exports, __webpack_require__) {
|
27331 |
|
27332 |
var MapCache = __webpack_require__(/*! ./_MapCache */ 75),
|
27333 |
-
setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */
|
27334 |
-
setCacheHas = __webpack_require__(/*! ./_setCacheHas */
|
27335 |
|
27336 |
/**
|
27337 |
*
|
@@ -27359,7 +27463,7 @@ module.exports = SetCache;
|
|
27359 |
|
27360 |
|
27361 |
/***/ }),
|
27362 |
-
/*
|
27363 |
/*!*********************************************!*\
|
27364 |
!*** ./node_modules/lodash/_setCacheAdd.js ***!
|
27365 |
\*********************************************/
|
@@ -27389,7 +27493,7 @@ module.exports = setCacheAdd;
|
|
27389 |
|
27390 |
|
27391 |
/***/ }),
|
27392 |
-
/*
|
27393 |
/*!*********************************************!*\
|
27394 |
!*** ./node_modules/lodash/_setCacheHas.js ***!
|
27395 |
\*********************************************/
|
@@ -27414,7 +27518,7 @@ module.exports = setCacheHas;
|
|
27414 |
|
27415 |
|
27416 |
/***/ }),
|
27417 |
-
/*
|
27418 |
/*!*******************************************!*\
|
27419 |
!*** ./node_modules/lodash/_arraySome.js ***!
|
27420 |
\*******************************************/
|
@@ -27448,7 +27552,7 @@ module.exports = arraySome;
|
|
27448 |
|
27449 |
|
27450 |
/***/ }),
|
27451 |
-
/*
|
27452 |
/*!******************************************!*\
|
27453 |
!*** ./node_modules/lodash/_cacheHas.js ***!
|
27454 |
\******************************************/
|
@@ -27472,7 +27576,7 @@ module.exports = cacheHas;
|
|
27472 |
|
27473 |
|
27474 |
/***/ }),
|
27475 |
-
/*
|
27476 |
/*!********************************************!*\
|
27477 |
!*** ./node_modules/lodash/_equalByTag.js ***!
|
27478 |
\********************************************/
|
@@ -27484,8 +27588,8 @@ var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
|
|
27484 |
Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 149),
|
27485 |
eq = __webpack_require__(/*! ./eq */ 47),
|
27486 |
equalArrays = __webpack_require__(/*! ./_equalArrays */ 148),
|
27487 |
-
mapToArray = __webpack_require__(/*! ./_mapToArray */
|
27488 |
-
setToArray = __webpack_require__(/*! ./_setToArray */
|
27489 |
|
27490 |
/** Used to compose bitmasks for value comparisons. */
|
27491 |
var COMPARE_PARTIAL_FLAG = 1,
|
@@ -27595,7 +27699,7 @@ module.exports = equalByTag;
|
|
27595 |
|
27596 |
|
27597 |
/***/ }),
|
27598 |
-
/*
|
27599 |
/*!********************************************!*\
|
27600 |
!*** ./node_modules/lodash/_mapToArray.js ***!
|
27601 |
\********************************************/
|
@@ -27624,7 +27728,7 @@ module.exports = mapToArray;
|
|
27624 |
|
27625 |
|
27626 |
/***/ }),
|
27627 |
-
/*
|
27628 |
/*!********************************************!*\
|
27629 |
!*** ./node_modules/lodash/_setToArray.js ***!
|
27630 |
\********************************************/
|
@@ -27653,7 +27757,7 @@ module.exports = setToArray;
|
|
27653 |
|
27654 |
|
27655 |
/***/ }),
|
27656 |
-
/*
|
27657 |
/*!**********************************************!*\
|
27658 |
!*** ./node_modules/lodash/_equalObjects.js ***!
|
27659 |
\**********************************************/
|
@@ -27753,7 +27857,7 @@ module.exports = equalObjects;
|
|
27753 |
|
27754 |
|
27755 |
/***/ }),
|
27756 |
-
/*
|
27757 |
/*!*********************************************!*\
|
27758 |
!*** ./node_modules/lodash/_arrayFilter.js ***!
|
27759 |
\*********************************************/
|
@@ -27789,7 +27893,7 @@ module.exports = arrayFilter;
|
|
27789 |
|
27790 |
|
27791 |
/***/ }),
|
27792 |
-
/*
|
27793 |
/*!*************************************************!*\
|
27794 |
!*** ./node_modules/lodash/_baseIsArguments.js ***!
|
27795 |
\*************************************************/
|
@@ -27818,7 +27922,7 @@ module.exports = baseIsArguments;
|
|
27818 |
|
27819 |
|
27820 |
/***/ }),
|
27821 |
-
/*
|
27822 |
/*!******************************************!*\
|
27823 |
!*** ./node_modules/lodash/stubFalse.js ***!
|
27824 |
\******************************************/
|
@@ -27847,7 +27951,7 @@ module.exports = stubFalse;
|
|
27847 |
|
27848 |
|
27849 |
/***/ }),
|
27850 |
-
/*
|
27851 |
/*!**************************************************!*\
|
27852 |
!*** ./node_modules/lodash/_baseIsTypedArray.js ***!
|
27853 |
\**************************************************/
|
@@ -27918,7 +28022,7 @@ module.exports = baseIsTypedArray;
|
|
27918 |
|
27919 |
|
27920 |
/***/ }),
|
27921 |
-
/*
|
27922 |
/*!******************************************!*\
|
27923 |
!*** ./node_modules/lodash/_baseKeys.js ***!
|
27924 |
\******************************************/
|
@@ -27927,7 +28031,7 @@ module.exports = baseIsTypedArray;
|
|
27927 |
/***/ (function(module, exports, __webpack_require__) {
|
27928 |
|
27929 |
var isPrototype = __webpack_require__(/*! ./_isPrototype */ 53),
|
27930 |
-
nativeKeys = __webpack_require__(/*! ./_nativeKeys */
|
27931 |
|
27932 |
/** Used for built-in method references. */
|
27933 |
var objectProto = Object.prototype;
|
@@ -27959,7 +28063,7 @@ module.exports = baseKeys;
|
|
27959 |
|
27960 |
|
27961 |
/***/ }),
|
27962 |
-
/*
|
27963 |
/*!********************************************!*\
|
27964 |
!*** ./node_modules/lodash/_nativeKeys.js ***!
|
27965 |
\********************************************/
|
@@ -27976,7 +28080,7 @@ module.exports = nativeKeys;
|
|
27976 |
|
27977 |
|
27978 |
/***/ }),
|
27979 |
-
/*
|
27980 |
/*!******************************************!*\
|
27981 |
!*** ./node_modules/lodash/_DataView.js ***!
|
27982 |
\******************************************/
|
@@ -27985,7 +28089,7 @@ module.exports = nativeKeys;
|
|
27985 |
/***/ (function(module, exports, __webpack_require__) {
|
27986 |
|
27987 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
27988 |
-
root = __webpack_require__(/*! ./_root */
|
27989 |
|
27990 |
/* Built-in method references that are verified to be native. */
|
27991 |
var DataView = getNative(root, 'DataView');
|
@@ -27994,7 +28098,7 @@ module.exports = DataView;
|
|
27994 |
|
27995 |
|
27996 |
/***/ }),
|
27997 |
-
/*
|
27998 |
/*!*****************************************!*\
|
27999 |
!*** ./node_modules/lodash/_Promise.js ***!
|
28000 |
\*****************************************/
|
@@ -28003,7 +28107,7 @@ module.exports = DataView;
|
|
28003 |
/***/ (function(module, exports, __webpack_require__) {
|
28004 |
|
28005 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
28006 |
-
root = __webpack_require__(/*! ./_root */
|
28007 |
|
28008 |
/* Built-in method references that are verified to be native. */
|
28009 |
var Promise = getNative(root, 'Promise');
|
@@ -28012,7 +28116,7 @@ module.exports = Promise;
|
|
28012 |
|
28013 |
|
28014 |
/***/ }),
|
28015 |
-
/*
|
28016 |
/*!*************************************!*\
|
28017 |
!*** ./node_modules/lodash/_Set.js ***!
|
28018 |
\*************************************/
|
@@ -28021,7 +28125,7 @@ module.exports = Promise;
|
|
28021 |
/***/ (function(module, exports, __webpack_require__) {
|
28022 |
|
28023 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
28024 |
-
root = __webpack_require__(/*! ./_root */
|
28025 |
|
28026 |
/* Built-in method references that are verified to be native. */
|
28027 |
var Set = getNative(root, 'Set');
|
@@ -28030,7 +28134,7 @@ module.exports = Set;
|
|
28030 |
|
28031 |
|
28032 |
/***/ }),
|
28033 |
-
/*
|
28034 |
/*!*****************************************!*\
|
28035 |
!*** ./node_modules/lodash/_WeakMap.js ***!
|
28036 |
\*****************************************/
|
@@ -28039,7 +28143,7 @@ module.exports = Set;
|
|
28039 |
/***/ (function(module, exports, __webpack_require__) {
|
28040 |
|
28041 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
28042 |
-
root = __webpack_require__(/*! ./_root */
|
28043 |
|
28044 |
/* Built-in method references that are verified to be native. */
|
28045 |
var WeakMap = getNative(root, 'WeakMap');
|
@@ -28048,7 +28152,7 @@ module.exports = WeakMap;
|
|
28048 |
|
28049 |
|
28050 |
/***/ }),
|
28051 |
-
/*
|
28052 |
/*!**********************************************!*\
|
28053 |
!*** ./node_modules/lodash/_getMatchData.js ***!
|
28054 |
\**********************************************/
|
@@ -28083,7 +28187,7 @@ module.exports = getMatchData;
|
|
28083 |
|
28084 |
|
28085 |
/***/ }),
|
28086 |
-
/*
|
28087 |
/*!*****************************************************!*\
|
28088 |
!*** ./node_modules/lodash/_baseMatchesProperty.js ***!
|
28089 |
\*****************************************************/
|
@@ -28093,7 +28197,7 @@ module.exports = getMatchData;
|
|
28093 |
|
28094 |
var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ 147),
|
28095 |
get = __webpack_require__(/*! ./get */ 159),
|
28096 |
-
hasIn = __webpack_require__(/*! ./hasIn */
|
28097 |
isKey = __webpack_require__(/*! ./_isKey */ 82),
|
28098 |
isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ 157),
|
28099 |
matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 158),
|
@@ -28127,7 +28231,7 @@ module.exports = baseMatchesProperty;
|
|
28127 |
|
28128 |
|
28129 |
/***/ }),
|
28130 |
-
/*
|
28131 |
/*!**********************************************!*\
|
28132 |
!*** ./node_modules/lodash/_stringToPath.js ***!
|
28133 |
\**********************************************/
|
@@ -28135,7 +28239,7 @@ module.exports = baseMatchesProperty;
|
|
28135 |
/*! all exports used */
|
28136 |
/***/ (function(module, exports, __webpack_require__) {
|
28137 |
|
28138 |
-
var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */
|
28139 |
|
28140 |
/** Used to match property names within property paths. */
|
28141 |
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
@@ -28165,7 +28269,7 @@ module.exports = stringToPath;
|
|
28165 |
|
28166 |
|
28167 |
/***/ }),
|
28168 |
-
/*
|
28169 |
/*!***********************************************!*\
|
28170 |
!*** ./node_modules/lodash/_memoizeCapped.js ***!
|
28171 |
\***********************************************/
|
@@ -28173,7 +28277,7 @@ module.exports = stringToPath;
|
|
28173 |
/*! all exports used */
|
28174 |
/***/ (function(module, exports, __webpack_require__) {
|
28175 |
|
28176 |
-
var memoize = __webpack_require__(/*! ./memoize */
|
28177 |
|
28178 |
/** Used as the maximum memoize cache size. */
|
28179 |
var MAX_MEMOIZE_SIZE = 500;
|
@@ -28202,7 +28306,7 @@ module.exports = memoizeCapped;
|
|
28202 |
|
28203 |
|
28204 |
/***/ }),
|
28205 |
-
/*
|
28206 |
/*!****************************************!*\
|
28207 |
!*** ./node_modules/lodash/memoize.js ***!
|
28208 |
\****************************************/
|
@@ -28286,7 +28390,7 @@ module.exports = memoize;
|
|
28286 |
|
28287 |
|
28288 |
/***/ }),
|
28289 |
-
/*
|
28290 |
/*!**************************************!*\
|
28291 |
!*** ./node_modules/lodash/hasIn.js ***!
|
28292 |
\**************************************/
|
@@ -28294,8 +28398,8 @@ module.exports = memoize;
|
|
28294 |
/*! all exports used */
|
28295 |
/***/ (function(module, exports, __webpack_require__) {
|
28296 |
|
28297 |
-
var baseHasIn = __webpack_require__(/*! ./_baseHasIn */
|
28298 |
-
hasPath = __webpack_require__(/*! ./_hasPath */
|
28299 |
|
28300 |
/**
|
28301 |
* Checks if `path` is a direct or inherited property of `object`.
|
@@ -28331,7 +28435,7 @@ module.exports = hasIn;
|
|
28331 |
|
28332 |
|
28333 |
/***/ }),
|
28334 |
-
/*
|
28335 |
/*!*******************************************!*\
|
28336 |
!*** ./node_modules/lodash/_baseHasIn.js ***!
|
28337 |
\*******************************************/
|
@@ -28355,7 +28459,7 @@ module.exports = baseHasIn;
|
|
28355 |
|
28356 |
|
28357 |
/***/ }),
|
28358 |
-
/*
|
28359 |
/*!*****************************************!*\
|
28360 |
!*** ./node_modules/lodash/_hasPath.js ***!
|
28361 |
\*****************************************/
|
@@ -28365,7 +28469,7 @@ module.exports = baseHasIn;
|
|
28365 |
|
28366 |
var castPath = __webpack_require__(/*! ./_castPath */ 30),
|
28367 |
isArguments = __webpack_require__(/*! ./isArguments */ 78),
|
28368 |
-
isArray = __webpack_require__(/*! ./isArray */
|
28369 |
isIndex = __webpack_require__(/*! ./_isIndex */ 50),
|
28370 |
isLength = __webpack_require__(/*! ./isLength */ 81),
|
28371 |
toKey = __webpack_require__(/*! ./_toKey */ 31);
|
@@ -28405,7 +28509,7 @@ module.exports = hasPath;
|
|
28405 |
|
28406 |
|
28407 |
/***/ }),
|
28408 |
-
/*
|
28409 |
/*!*****************************************!*\
|
28410 |
!*** ./node_modules/lodash/property.js ***!
|
28411 |
\*****************************************/
|
@@ -28414,7 +28518,7 @@ module.exports = hasPath;
|
|
28414 |
/***/ (function(module, exports, __webpack_require__) {
|
28415 |
|
28416 |
var baseProperty = __webpack_require__(/*! ./_baseProperty */ 162),
|
28417 |
-
basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */
|
28418 |
isKey = __webpack_require__(/*! ./_isKey */ 82),
|
28419 |
toKey = __webpack_require__(/*! ./_toKey */ 31);
|
28420 |
|
@@ -28448,7 +28552,7 @@ module.exports = property;
|
|
28448 |
|
28449 |
|
28450 |
/***/ }),
|
28451 |
-
/*
|
28452 |
/*!**************************************************!*\
|
28453 |
!*** ./node_modules/lodash/_basePropertyDeep.js ***!
|
28454 |
\**************************************************/
|
@@ -28475,7 +28579,7 @@ module.exports = basePropertyDeep;
|
|
28475 |
|
28476 |
|
28477 |
/***/ }),
|
28478 |
-
/*
|
28479 |
/*!*****************************************!*\
|
28480 |
!*** ./node_modules/lodash/_baseMap.js ***!
|
28481 |
\*****************************************/
|
@@ -28483,7 +28587,7 @@ module.exports = basePropertyDeep;
|
|
28483 |
/*! all exports used */
|
28484 |
/***/ (function(module, exports, __webpack_require__) {
|
28485 |
|
28486 |
-
var baseEach = __webpack_require__(/*! ./_baseEach */
|
28487 |
isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29);
|
28488 |
|
28489 |
/**
|
@@ -28508,7 +28612,7 @@ module.exports = baseMap;
|
|
28508 |
|
28509 |
|
28510 |
/***/ }),
|
28511 |
-
/*
|
28512 |
/*!******************************************!*\
|
28513 |
!*** ./node_modules/lodash/_baseEach.js ***!
|
28514 |
\******************************************/
|
@@ -28516,8 +28620,8 @@ module.exports = baseMap;
|
|
28516 |
/*! all exports used */
|
28517 |
/***/ (function(module, exports, __webpack_require__) {
|
28518 |
|
28519 |
-
var baseForOwn = __webpack_require__(/*! ./_baseForOwn */
|
28520 |
-
createBaseEach = __webpack_require__(/*! ./_createBaseEach */
|
28521 |
|
28522 |
/**
|
28523 |
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
@@ -28533,7 +28637,7 @@ module.exports = baseEach;
|
|
28533 |
|
28534 |
|
28535 |
/***/ }),
|
28536 |
-
/*
|
28537 |
/*!********************************************!*\
|
28538 |
!*** ./node_modules/lodash/_baseForOwn.js ***!
|
28539 |
\********************************************/
|
@@ -28541,7 +28645,7 @@ module.exports = baseEach;
|
|
28541 |
/*! all exports used */
|
28542 |
/***/ (function(module, exports, __webpack_require__) {
|
28543 |
|
28544 |
-
var baseFor = __webpack_require__(/*! ./_baseFor */
|
28545 |
keys = __webpack_require__(/*! ./keys */ 28);
|
28546 |
|
28547 |
/**
|
@@ -28560,7 +28664,7 @@ module.exports = baseForOwn;
|
|
28560 |
|
28561 |
|
28562 |
/***/ }),
|
28563 |
-
/*
|
28564 |
/*!*****************************************!*\
|
28565 |
!*** ./node_modules/lodash/_baseFor.js ***!
|
28566 |
\*****************************************/
|
@@ -28568,7 +28672,7 @@ module.exports = baseForOwn;
|
|
28568 |
/*! all exports used */
|
28569 |
/***/ (function(module, exports, __webpack_require__) {
|
28570 |
|
28571 |
-
var createBaseFor = __webpack_require__(/*! ./_createBaseFor */
|
28572 |
|
28573 |
/**
|
28574 |
* The base implementation of `baseForOwn` which iterates over `object`
|
@@ -28587,7 +28691,7 @@ module.exports = baseFor;
|
|
28587 |
|
28588 |
|
28589 |
/***/ }),
|
28590 |
-
/*
|
28591 |
/*!***********************************************!*\
|
28592 |
!*** ./node_modules/lodash/_createBaseFor.js ***!
|
28593 |
\***********************************************/
|
@@ -28623,7 +28727,7 @@ module.exports = createBaseFor;
|
|
28623 |
|
28624 |
|
28625 |
/***/ }),
|
28626 |
-
/*
|
28627 |
/*!************************************************!*\
|
28628 |
!*** ./node_modules/lodash/_createBaseEach.js ***!
|
28629 |
\************************************************/
|
@@ -28666,7 +28770,7 @@ module.exports = createBaseEach;
|
|
28666 |
|
28667 |
|
28668 |
/***/ }),
|
28669 |
-
/*
|
28670 |
/*!********************************************!*\
|
28671 |
!*** ./src/components/typography/fonts.js ***!
|
28672 |
\********************************************/
|
@@ -28675,8 +28779,8 @@ module.exports = createBaseEach;
|
|
28675 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
28676 |
|
28677 |
"use strict";
|
28678 |
-
/**
|
28679 |
-
* Google Fonts for the FontFamily component.
|
28680 |
*/
|
28681 |
|
28682 |
var fonts = {};
|
@@ -29571,7 +29675,7 @@ fonts["Zilla Slab Highlight"] = { "v": ["regular", "700"], "subset": ["latin-ext
|
|
29571 |
/* harmony default export */ __webpack_exports__["a"] = (fonts);
|
29572 |
|
29573 |
/***/ }),
|
29574 |
-
/*
|
29575 |
/*!********************************************************************!*\
|
29576 |
!*** ./node_modules/react-select/dist/react-select.browser.esm.js ***!
|
29577 |
\********************************************************************/
|
@@ -29581,19 +29685,19 @@ fonts["Zilla Slab Highlight"] = { "v": ["regular", "700"], "subset": ["latin-ext
|
|
29581 |
|
29582 |
"use strict";
|
29583 |
/* unused harmony export NonceProvider */
|
29584 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */
|
29585 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties__);
|
29586 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends__ = __webpack_require__(/*! @babel/runtime/helpers/extends */
|
29587 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends__);
|
29588 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */
|
29589 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray__);
|
29590 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */
|
29591 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray__);
|
29592 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */
|
29593 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty__);
|
29594 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 58);
|
29595 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_createClass__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 59);
|
29596 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */
|
29597 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized__);
|
29598 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_inherits__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60);
|
29599 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_possibleConstructorReturn__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ 61);
|
@@ -29604,7 +29708,7 @@ fonts["Zilla Slab Highlight"] = { "v": ["regular", "700"], "subset": ["latin-ext
|
|
29604 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__emotion_core__ = __webpack_require__(/*! @emotion/core */ 85);
|
29605 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom__ = __webpack_require__(/*! react-dom */ 33);
|
29606 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_react_dom__);
|
29607 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */
|
29608 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof__);
|
29609 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__index_4b37608a_browser_esm_js__ = __webpack_require__(/*! ./index-4b37608a.browser.esm.js */ 172);
|
29610 |
/* unused harmony reexport components */
|
@@ -29613,11 +29717,11 @@ fonts["Zilla Slab Highlight"] = { "v": ["regular", "700"], "subset": ["latin-ext
|
|
29613 |
/* unused harmony reexport defaultTheme */
|
29614 |
/* unused harmony reexport mergeStyles */
|
29615 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__emotion_css__ = __webpack_require__(/*! @emotion/css */ 41);
|
29616 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */
|
29617 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral__);
|
29618 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_react_input_autosize__ = __webpack_require__(/*! react-input-autosize */ 174);
|
29619 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_20_react_input_autosize__);
|
29620 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__stateManager_2f2b6f5b_browser_esm_js__ = __webpack_require__(/*! ./stateManager-2f2b6f5b.browser.esm.js */
|
29621 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__emotion_cache__ = __webpack_require__(/*! @emotion/cache */ 86);
|
29622 |
|
29623 |
|
@@ -29690,14 +29794,14 @@ var index = Object(__WEBPACK_IMPORTED_MODULE_21__stateManager_2f2b6f5b_browser_e
|
|
29690 |
|
29691 |
|
29692 |
/***/ }),
|
29693 |
-
/*
|
29694 |
/*!**************************************************************************************************!*\
|
29695 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***!
|
29696 |
\**************************************************************************************************/
|
29697 |
/*! dynamic exports provided */
|
29698 |
/***/ (function(module, exports, __webpack_require__) {
|
29699 |
|
29700 |
-
var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose */
|
29701 |
|
29702 |
function _objectWithoutProperties(source, excluded) {
|
29703 |
if (source == null) return {};
|
@@ -29721,7 +29825,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
29721 |
module.exports = _objectWithoutProperties;
|
29722 |
|
29723 |
/***/ }),
|
29724 |
-
/*
|
29725 |
/*!*******************************************************************************************************!*\
|
29726 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
|
29727 |
\*******************************************************************************************************/
|
@@ -29747,7 +29851,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
29747 |
module.exports = _objectWithoutPropertiesLoose;
|
29748 |
|
29749 |
/***/ }),
|
29750 |
-
/*
|
29751 |
/*!**********************************************************************************!*\
|
29752 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/extends.js ***!
|
29753 |
\**********************************************************************************/
|
@@ -29775,20 +29879,20 @@ function _extends() {
|
|
29775 |
module.exports = _extends;
|
29776 |
|
29777 |
/***/ }),
|
29778 |
-
/*
|
29779 |
/*!****************************************************************************************!*\
|
29780 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/slicedToArray.js ***!
|
29781 |
\****************************************************************************************/
|
29782 |
/*! dynamic exports provided */
|
29783 |
/***/ (function(module, exports, __webpack_require__) {
|
29784 |
|
29785 |
-
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles */
|
29786 |
|
29787 |
-
var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit */
|
29788 |
|
29789 |
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray */ 163);
|
29790 |
|
29791 |
-
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest */
|
29792 |
|
29793 |
function _slicedToArray(arr, i) {
|
29794 |
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
@@ -29797,7 +29901,7 @@ function _slicedToArray(arr, i) {
|
|
29797 |
module.exports = _slicedToArray;
|
29798 |
|
29799 |
/***/ }),
|
29800 |
-
/*
|
29801 |
/*!*****************************************************************************************!*\
|
29802 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
|
29803 |
\*****************************************************************************************/
|
@@ -29812,7 +29916,7 @@ function _arrayWithHoles(arr) {
|
|
29812 |
module.exports = _arrayWithHoles;
|
29813 |
|
29814 |
/***/ }),
|
29815 |
-
/*
|
29816 |
/*!***********************************************************************************************!*\
|
29817 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
|
29818 |
\***********************************************************************************************/
|
@@ -29850,7 +29954,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
29850 |
module.exports = _iterableToArrayLimit;
|
29851 |
|
29852 |
/***/ }),
|
29853 |
-
/*
|
29854 |
/*!******************************************************************************************!*\
|
29855 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
|
29856 |
\******************************************************************************************/
|
@@ -29865,20 +29969,20 @@ function _nonIterableRest() {
|
|
29865 |
module.exports = _nonIterableRest;
|
29866 |
|
29867 |
/***/ }),
|
29868 |
-
/*
|
29869 |
/*!********************************************************************************************!*\
|
29870 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
|
29871 |
\********************************************************************************************/
|
29872 |
/*! dynamic exports provided */
|
29873 |
/***/ (function(module, exports, __webpack_require__) {
|
29874 |
|
29875 |
-
var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles */
|
29876 |
|
29877 |
-
var iterableToArray = __webpack_require__(/*! ./iterableToArray */
|
29878 |
|
29879 |
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray */ 163);
|
29880 |
|
29881 |
-
var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread */
|
29882 |
|
29883 |
function _toConsumableArray(arr) {
|
29884 |
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
@@ -29887,7 +29991,7 @@ function _toConsumableArray(arr) {
|
|
29887 |
module.exports = _toConsumableArray;
|
29888 |
|
29889 |
/***/ }),
|
29890 |
-
/*
|
29891 |
/*!********************************************************************************************!*\
|
29892 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
|
29893 |
\********************************************************************************************/
|
@@ -29904,7 +30008,7 @@ function _arrayWithoutHoles(arr) {
|
|
29904 |
module.exports = _arrayWithoutHoles;
|
29905 |
|
29906 |
/***/ }),
|
29907 |
-
/*
|
29908 |
/*!******************************************************************************************!*\
|
29909 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
|
29910 |
\******************************************************************************************/
|
@@ -29919,7 +30023,7 @@ function _iterableToArray(iter) {
|
|
29919 |
module.exports = _iterableToArray;
|
29920 |
|
29921 |
/***/ }),
|
29922 |
-
/*
|
29923 |
/*!********************************************************************************************!*\
|
29924 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
|
29925 |
\********************************************************************************************/
|
@@ -29934,7 +30038,7 @@ function _nonIterableSpread() {
|
|
29934 |
module.exports = _nonIterableSpread;
|
29935 |
|
29936 |
/***/ }),
|
29937 |
-
/*
|
29938 |
/*!*****************************************************************************************!*\
|
29939 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/defineProperty.js ***!
|
29940 |
\*****************************************************************************************/
|
@@ -29959,7 +30063,7 @@ function _defineProperty(obj, key, value) {
|
|
29959 |
module.exports = _defineProperty;
|
29960 |
|
29961 |
/***/ }),
|
29962 |
-
/*
|
29963 |
/*!************************************************************************************************!*\
|
29964 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
|
29965 |
\************************************************************************************************/
|
@@ -29977,7 +30081,7 @@ function _assertThisInitialized(self) {
|
|
29977 |
module.exports = _assertThisInitialized;
|
29978 |
|
29979 |
/***/ }),
|
29980 |
-
/*
|
29981 |
/*!*********************************************************************************************!*\
|
29982 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
29983 |
\*********************************************************************************************/
|
@@ -29997,7 +30101,7 @@ function _setPrototypeOf(o, p) {
|
|
29997 |
}
|
29998 |
|
29999 |
/***/ }),
|
30000 |
-
/*
|
30001 |
/*!********************************************************!*\
|
30002 |
!*** ./node_modules/react/cjs/react.production.min.js ***!
|
30003 |
\********************************************************/
|
@@ -30034,7 +30138,7 @@ exports.useLayoutEffect=function(a,b){return Z().useLayoutEffect(a,b)};exports.u
|
|
30034 |
|
30035 |
|
30036 |
/***/ }),
|
30037 |
-
/*
|
30038 |
/*!*****************************************************!*\
|
30039 |
!*** ./node_modules/react/cjs/react.development.js ***!
|
30040 |
\*****************************************************/
|
@@ -31959,7 +32063,7 @@ exports.version = ReactVersion;
|
|
31959 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
31960 |
|
31961 |
/***/ }),
|
31962 |
-
/*
|
31963 |
/*!*********************************************************************************************!*\
|
31964 |
!*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js ***!
|
31965 |
\*********************************************************************************************/
|
@@ -31976,7 +32080,7 @@ function _inheritsLoose(subClass, superClass) {
|
|
31976 |
}
|
31977 |
|
31978 |
/***/ }),
|
31979 |
-
/*
|
31980 |
/*!*****************************************************************!*\
|
31981 |
!*** ./node_modules/@emotion/stylis/dist/stylis.browser.esm.js ***!
|
31982 |
\*****************************************************************/
|
@@ -32603,7 +32707,7 @@ function stylis_min (W) {
|
|
32603 |
|
32604 |
|
32605 |
/***/ }),
|
32606 |
-
/*
|
32607 |
/*!*****************************************************************************!*\
|
32608 |
!*** ./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js ***!
|
32609 |
\*****************************************************************************/
|
@@ -32630,7 +32734,7 @@ var weakMemoize = function weakMemoize(func) {
|
|
32630 |
|
32631 |
|
32632 |
/***/ }),
|
32633 |
-
/*
|
32634 |
/*!*****************************************************************************************!*\
|
32635 |
!*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/inheritsLoose.js ***!
|
32636 |
\*****************************************************************************************/
|
@@ -32646,7 +32750,7 @@ function _inheritsLoose(subClass, superClass) {
|
|
32646 |
module.exports = _inheritsLoose;
|
32647 |
|
32648 |
/***/ }),
|
32649 |
-
/*
|
32650 |
/*!*************************************************************!*\
|
32651 |
!*** ./node_modules/@emotion/hash/dist/hash.browser.esm.js ***!
|
32652 |
\*************************************************************/
|
@@ -32713,7 +32817,7 @@ function murmur2(str) {
|
|
32713 |
|
32714 |
|
32715 |
/***/ }),
|
32716 |
-
/*
|
32717 |
/*!*********************************************************************!*\
|
32718 |
!*** ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js ***!
|
32719 |
\*********************************************************************/
|
@@ -32775,7 +32879,7 @@ var unitlessKeys = {
|
|
32775 |
|
32776 |
|
32777 |
/***/ }),
|
32778 |
-
/*
|
32779 |
/*!*******************************************************************!*\
|
32780 |
!*** ./node_modules/@emotion/memoize/dist/memoize.browser.esm.js ***!
|
32781 |
\*******************************************************************/
|
@@ -32796,7 +32900,7 @@ function memoize(fn) {
|
|
32796 |
|
32797 |
|
32798 |
/***/ }),
|
32799 |
-
/*
|
32800 |
/*!****************************************************************!*\
|
32801 |
!*** ./node_modules/react-dom/cjs/react-dom.production.min.js ***!
|
32802 |
\****************************************************************/
|
@@ -33100,7 +33204,7 @@ exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!gk(c))throw Er
|
|
33100 |
|
33101 |
|
33102 |
/***/ }),
|
33103 |
-
/*
|
33104 |
/*!****************************************************************!*\
|
33105 |
!*** ./node_modules/scheduler/cjs/scheduler.production.min.js ***!
|
33106 |
\****************************************************************/
|
@@ -33133,7 +33237,7 @@ exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=
|
|
33133 |
|
33134 |
|
33135 |
/***/ }),
|
33136 |
-
/*
|
33137 |
/*!*************************************************************!*\
|
33138 |
!*** ./node_modules/scheduler/cjs/scheduler.development.js ***!
|
33139 |
\*************************************************************/
|
@@ -34004,7 +34108,7 @@ exports.unstable_wrapCallback = unstable_wrapCallback;
|
|
34004 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
34005 |
|
34006 |
/***/ }),
|
34007 |
-
/*
|
34008 |
/*!*************************************************************!*\
|
34009 |
!*** ./node_modules/react-dom/cjs/react-dom.development.js ***!
|
34010 |
\*************************************************************/
|
@@ -34034,7 +34138,7 @@ var React = __webpack_require__(/*! react */ 5);
|
|
34034 |
var _assign = __webpack_require__(/*! object-assign */ 32);
|
34035 |
var Scheduler = __webpack_require__(/*! scheduler */ 171);
|
34036 |
var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ 83);
|
34037 |
-
var tracing = __webpack_require__(/*! scheduler/tracing */
|
34038 |
|
34039 |
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; // Prevent newer renderers from RTE when used with older react package versions.
|
34040 |
// Current owner and dispatcher used to share the same ref,
|
@@ -59029,7 +59133,7 @@ exports.version = ReactVersion;
|
|
59029 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
59030 |
|
59031 |
/***/ }),
|
59032 |
-
/*
|
59033 |
/*!*******************************************!*\
|
59034 |
!*** ./node_modules/scheduler/tracing.js ***!
|
59035 |
\*******************************************/
|
@@ -59041,15 +59145,15 @@ exports.version = ReactVersion;
|
|
59041 |
/* WEBPACK VAR INJECTION */(function(process) {
|
59042 |
|
59043 |
if (process.env.NODE_ENV === 'production') {
|
59044 |
-
module.exports = __webpack_require__(/*! ./cjs/scheduler-tracing.production.min.js */
|
59045 |
} else {
|
59046 |
-
module.exports = __webpack_require__(/*! ./cjs/scheduler-tracing.development.js */
|
59047 |
}
|
59048 |
|
59049 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
59050 |
|
59051 |
/***/ }),
|
59052 |
-
/*
|
59053 |
/*!************************************************************************!*\
|
59054 |
!*** ./node_modules/scheduler/cjs/scheduler-tracing.production.min.js ***!
|
59055 |
\************************************************************************/
|
@@ -59071,7 +59175,7 @@ var b=0;exports.__interactionsRef=null;exports.__subscriberRef=null;exports.unst
|
|
59071 |
|
59072 |
|
59073 |
/***/ }),
|
59074 |
-
/*
|
59075 |
/*!*********************************************************************!*\
|
59076 |
!*** ./node_modules/scheduler/cjs/scheduler-tracing.development.js ***!
|
59077 |
\*********************************************************************/
|
@@ -59433,7 +59537,7 @@ exports.unstable_wrap = unstable_wrap;
|
|
59433 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
59434 |
|
59435 |
/***/ }),
|
59436 |
-
/*
|
59437 |
/*!*********************************************************************************!*\
|
59438 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/typeof.js ***!
|
59439 |
\*********************************************************************************/
|
@@ -59459,7 +59563,7 @@ function _typeof(obj) {
|
|
59459 |
module.exports = _typeof;
|
59460 |
|
59461 |
/***/ }),
|
59462 |
-
/*
|
59463 |
/*!***********************************************************************************************************!*\
|
59464 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
|
59465 |
\***********************************************************************************************************/
|
@@ -59485,7 +59589,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
59485 |
}
|
59486 |
|
59487 |
/***/ }),
|
59488 |
-
/*
|
59489 |
/*!****************************************************************************************************!*\
|
59490 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js ***!
|
59491 |
\****************************************************************************************************/
|
@@ -59508,7 +59612,7 @@ function _taggedTemplateLiteral(strings, raw) {
|
|
59508 |
}
|
59509 |
|
59510 |
/***/ }),
|
59511 |
-
/*
|
59512 |
/*!**************************************************************!*\
|
59513 |
!*** ./node_modules/react-is/cjs/react-is.production.min.js ***!
|
59514 |
\**************************************************************/
|
@@ -59535,7 +59639,7 @@ exports.isSuspense=function(a){return t(a)===p};
|
|
59535 |
|
59536 |
|
59537 |
/***/ }),
|
59538 |
-
/*
|
59539 |
/*!***********************************************************!*\
|
59540 |
!*** ./node_modules/react-is/cjs/react-is.development.js ***!
|
59541 |
\***********************************************************/
|
@@ -59775,7 +59879,7 @@ exports.isSuspense = isSuspense;
|
|
59775 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
59776 |
|
59777 |
/***/ }),
|
59778 |
-
/*
|
59779 |
/*!************************************************************!*\
|
59780 |
!*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
|
59781 |
\************************************************************/
|
@@ -60379,7 +60483,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
60379 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
60380 |
|
60381 |
/***/ }),
|
60382 |
-
/*
|
60383 |
/*!*************************************************************!*\
|
60384 |
!*** ./node_modules/prop-types/factoryWithThrowingShims.js ***!
|
60385 |
\*************************************************************/
|
@@ -60455,7 +60559,7 @@ module.exports = function() {
|
|
60455 |
|
60456 |
|
60457 |
/***/ }),
|
60458 |
-
/*
|
60459 |
/*!********************************************************************************************!*\
|
60460 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
|
60461 |
\********************************************************************************************/
|
@@ -60465,10 +60569,10 @@ module.exports = function() {
|
|
60465 |
|
60466 |
"use strict";
|
60467 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _slicedToArray;
|
60468 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_arrayWithHoles__ = __webpack_require__(/*! @babel/runtime/helpers/esm/arrayWithHoles */
|
60469 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_iterableToArrayLimit__ = __webpack_require__(/*! @babel/runtime/helpers/esm/iterableToArrayLimit */
|
60470 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_unsupportedIterableToArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/unsupportedIterableToArray */ 177);
|
60471 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_nonIterableRest__ = __webpack_require__(/*! @babel/runtime/helpers/esm/nonIterableRest */
|
60472 |
|
60473 |
|
60474 |
|
@@ -60478,7 +60582,7 @@ function _slicedToArray(arr, i) {
|
|
60478 |
}
|
60479 |
|
60480 |
/***/ }),
|
60481 |
-
/*
|
60482 |
/*!*********************************************************************************************!*\
|
60483 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
60484 |
\*********************************************************************************************/
|
@@ -60493,7 +60597,7 @@ function _arrayWithHoles(arr) {
|
|
60493 |
}
|
60494 |
|
60495 |
/***/ }),
|
60496 |
-
/*
|
60497 |
/*!***************************************************************************************************!*\
|
60498 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
|
60499 |
\***************************************************************************************************/
|
@@ -60531,7 +60635,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
60531 |
}
|
60532 |
|
60533 |
/***/ }),
|
60534 |
-
/*
|
60535 |
/*!**********************************************************************************************!*\
|
60536 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
60537 |
\**********************************************************************************************/
|
@@ -60546,7 +60650,7 @@ function _nonIterableRest() {
|
|
60546 |
}
|
60547 |
|
60548 |
/***/ }),
|
60549 |
-
/*
|
60550 |
/*!************************************************************************************************!*\
|
60551 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***!
|
60552 |
\************************************************************************************************/
|
@@ -60556,10 +60660,10 @@ function _nonIterableRest() {
|
|
60556 |
|
60557 |
"use strict";
|
60558 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _toConsumableArray;
|
60559 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_arrayWithoutHoles__ = __webpack_require__(/*! @babel/runtime/helpers/esm/arrayWithoutHoles */
|
60560 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_iterableToArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/iterableToArray */
|
60561 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_unsupportedIterableToArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/unsupportedIterableToArray */ 177);
|
60562 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_nonIterableSpread__ = __webpack_require__(/*! @babel/runtime/helpers/esm/nonIterableSpread */
|
60563 |
|
60564 |
|
60565 |
|
@@ -60569,7 +60673,7 @@ function _toConsumableArray(arr) {
|
|
60569 |
}
|
60570 |
|
60571 |
/***/ }),
|
60572 |
-
/*
|
60573 |
/*!************************************************************************************************!*\
|
60574 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***!
|
60575 |
\************************************************************************************************/
|
@@ -60586,7 +60690,7 @@ function _arrayWithoutHoles(arr) {
|
|
60586 |
}
|
60587 |
|
60588 |
/***/ }),
|
60589 |
-
/*
|
60590 |
/*!**********************************************************************************************!*\
|
60591 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
60592 |
\**********************************************************************************************/
|
@@ -60601,7 +60705,7 @@ function _iterableToArray(iter) {
|
|
60601 |
}
|
60602 |
|
60603 |
/***/ }),
|
60604 |
-
/*
|
60605 |
/*!************************************************************************************************!*\
|
60606 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***!
|
60607 |
\************************************************************************************************/
|
@@ -60616,7 +60720,7 @@ function _nonIterableSpread() {
|
|
60616 |
}
|
60617 |
|
60618 |
/***/ }),
|
60619 |
-
/*
|
60620 |
/*!************************************************************************************************!*\
|
60621 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js ***!
|
60622 |
\************************************************************************************************/
|
@@ -60638,7 +60742,7 @@ function _taggedTemplateLiteral(strings, raw) {
|
|
60638 |
module.exports = _taggedTemplateLiteral;
|
60639 |
|
60640 |
/***/ }),
|
60641 |
-
/*
|
60642 |
/*!*****************************************************************************!*\
|
60643 |
!*** ./node_modules/react-select/dist/stateManager-2f2b6f5b.browser.esm.js ***!
|
60644 |
\*****************************************************************************/
|
@@ -60801,7 +60905,7 @@ var manageState = function manageState(SelectComponent) {
|
|
60801 |
|
60802 |
|
60803 |
/***/ }),
|
60804 |
-
/*
|
60805 |
/*!*******************************************************!*\
|
60806 |
!*** ./src/components/typography/range-typography.js ***!
|
60807 |
\*******************************************************/
|
@@ -60814,8 +60918,8 @@ var manageState = function manageState(SelectComponent) {
|
|
60814 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_map__);
|
60815 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
60816 |
|
60817 |
-
/**
|
60818 |
-
* WordPress dependencies
|
60819 |
*/
|
60820 |
var __ = wp.i18n.__;
|
60821 |
var _wp$components = wp.components,
|
@@ -60831,8 +60935,8 @@ var _wp$element = wp.element,
|
|
60831 |
Component = _wp$element.Component,
|
60832 |
Fragment = _wp$element.Fragment;
|
60833 |
|
60834 |
-
/**
|
60835 |
-
* Internal dependencies
|
60836 |
*/
|
60837 |
|
60838 |
|
@@ -60844,12 +60948,12 @@ function RangeTypographyControl(props) {
|
|
60844 |
if ("sizeTypes" in props) {
|
60845 |
sizeTypes = props.sizeTypes;
|
60846 |
} else {
|
60847 |
-
sizeTypes = [{ key: "px", name: __("px") }, { key: "em", name: __("em") }];
|
60848 |
}
|
60849 |
|
60850 |
var sizeTypesControls = wp.element.createElement(
|
60851 |
ButtonGroup,
|
60852 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
60853 |
__WEBPACK_IMPORTED_MODULE_0_lodash_map___default()(sizeTypes, function (_ref) {
|
60854 |
var name = _ref.name,
|
60855 |
key = _ref.key;
|
@@ -60964,7 +61068,7 @@ function RangeTypographyControl(props) {
|
|
60964 |
/* harmony default export */ __webpack_exports__["a"] = (RangeTypographyControl);
|
60965 |
|
60966 |
/***/ }),
|
60967 |
-
/*
|
60968 |
/*!****************************************************!*\
|
60969 |
!*** ./src/components/typography/inline-styles.js ***!
|
60970 |
\****************************************************/
|
@@ -60972,10 +61076,10 @@ function RangeTypographyControl(props) {
|
|
60972 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
60973 |
|
60974 |
"use strict";
|
60975 |
-
/**
|
60976 |
-
* Set inline styles.
|
60977 |
-
* @param {object} props - The block object.
|
60978 |
-
* @return {object} The inline text color CSS.
|
60979 |
*/
|
60980 |
function TypographyStyles(props) {
|
60981 |
return {};
|
@@ -60984,7 +61088,7 @@ function TypographyStyles(props) {
|
|
60984 |
/* unused harmony default export */ var _unused_webpack_default_export = (TypographyStyles);
|
60985 |
|
60986 |
/***/ }),
|
60987 |
-
/*
|
60988 |
/*!***********************************************!*\
|
60989 |
!*** ./src/components/typography/editor.scss ***!
|
60990 |
\***********************************************/
|
@@ -60994,7 +61098,7 @@ function TypographyStyles(props) {
|
|
60994 |
// removed by extract-text-webpack-plugin
|
60995 |
|
60996 |
/***/ }),
|
60997 |
-
/*
|
60998 |
/*!*****************************************************!*\
|
60999 |
!*** ./node_modules/webfontloader/webfontloader.js ***!
|
61000 |
\*****************************************************/
|
@@ -61023,7 +61127,7 @@ g,0<d.length&&(d=za[d[0]])&&(a.c[e]=d))}a.c[e]||(d=za[e])&&(a.c[e]=d);for(d=0;d<
|
|
61023 |
|
61024 |
|
61025 |
/***/ }),
|
61026 |
-
/*
|
61027 |
/*!*********************************************!*\
|
61028 |
!*** ./src/blocks/advanced-heading/save.js ***!
|
61029 |
\*********************************************/
|
@@ -61035,8 +61139,8 @@ g,0<d.length&&(d=za[d[0]])&&(a.c[e]=d))}a.c[e]||(d=za[e])&&(a.c[e]=d);for(d=0;d<
|
|
61035 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
61036 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
61037 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
61038 |
-
/**
|
61039 |
-
* BLOCK: Advanced Heading - Save Block
|
61040 |
*/
|
61041 |
|
61042 |
|
@@ -61083,7 +61187,7 @@ function save(props) {
|
|
61083 |
}
|
61084 |
|
61085 |
/***/ }),
|
61086 |
-
/*
|
61087 |
/*!***************************************************!*\
|
61088 |
!*** ./src/blocks/advanced-heading/deprecated.js ***!
|
61089 |
\***************************************************/
|
@@ -61093,8 +61197,8 @@ function save(props) {
|
|
61093 |
|
61094 |
"use strict";
|
61095 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__attributes__ = __webpack_require__(/*! ./attributes */ 142);
|
61096 |
-
/**
|
61097 |
-
* BLOCK: Advanced Heading - Deprecated Block
|
61098 |
*/
|
61099 |
|
61100 |
|
@@ -61178,71 +61282,6 @@ var deprecated = [{
|
|
61178 |
|
61179 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
61180 |
|
61181 |
-
/***/ }),
|
61182 |
-
/* 374 */
|
61183 |
-
/*!**************************************************!*\
|
61184 |
-
!*** ./src/blocks/advanced-heading/transform.js ***!
|
61185 |
-
\**************************************************/
|
61186 |
-
/*! exports provided: default */
|
61187 |
-
/*! exports used: default */
|
61188 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
61189 |
-
|
61190 |
-
"use strict";
|
61191 |
-
/**
|
61192 |
-
* BLOCK: Advanced Heading - Transform Block
|
61193 |
-
*/
|
61194 |
-
|
61195 |
-
var transform = [{
|
61196 |
-
from: [{
|
61197 |
-
type: "block",
|
61198 |
-
blocks: ["core/paragraph"],
|
61199 |
-
transform: function transform(_ref) {
|
61200 |
-
var content = _ref.content;
|
61201 |
-
|
61202 |
-
return createBlock("uagb/advanced-heading", {
|
61203 |
-
headingDesc: content
|
61204 |
-
});
|
61205 |
-
}
|
61206 |
-
}, {
|
61207 |
-
type: "block",
|
61208 |
-
blocks: ["core/heading"],
|
61209 |
-
transform: function transform(_ref2) {
|
61210 |
-
var content = _ref2.content,
|
61211 |
-
level = _ref2.level;
|
61212 |
-
|
61213 |
-
return createBlock("uagb/advanced-heading", {
|
61214 |
-
headingTitle: content,
|
61215 |
-
level: level
|
61216 |
-
});
|
61217 |
-
}
|
61218 |
-
}],
|
61219 |
-
to: [{
|
61220 |
-
type: "block",
|
61221 |
-
blocks: ["core/paragraph"],
|
61222 |
-
transform: function transform(_ref3) {
|
61223 |
-
var content = _ref3.content;
|
61224 |
-
|
61225 |
-
return createBlock("core/paragraph", {
|
61226 |
-
content: content
|
61227 |
-
});
|
61228 |
-
}
|
61229 |
-
}, {
|
61230 |
-
type: "block",
|
61231 |
-
blocks: ["core/heading"],
|
61232 |
-
transform: function transform(_ref4) {
|
61233 |
-
var content = _ref4.content,
|
61234 |
-
level = _ref4.level;
|
61235 |
-
|
61236 |
-
return createBlock("core/heading", {
|
61237 |
-
content: content,
|
61238 |
-
level: level
|
61239 |
-
});
|
61240 |
-
}
|
61241 |
-
}]
|
61242 |
-
}];
|
61243 |
-
|
61244 |
-
/* harmony default export */ __webpack_exports__["a"] = (transform);
|
61245 |
-
|
61246 |
/***/ }),
|
61247 |
/* 375 */
|
61248 |
/*!**********************************!*\
|
@@ -61260,15 +61299,15 @@ var transform = [{
|
|
61260 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__post_button_block_js__ = __webpack_require__(/*! ./post-button/block.js */ 480);
|
61261 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__post_excerpt_block_js__ = __webpack_require__(/*! ./post-excerpt/block.js */ 483);
|
61262 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__post_meta_block_js__ = __webpack_require__(/*! ./post-meta/block.js */ 486);
|
61263 |
-
/**
|
61264 |
-
* Gutenberg Blocks
|
61265 |
-
*
|
61266 |
-
* All blocks related JavaScript files should be imported here.
|
61267 |
-
* You can create a new block folder in this dir and include code
|
61268 |
-
* for that block here as well.
|
61269 |
-
*
|
61270 |
-
* All blocks should be included here since this is the file that
|
61271 |
-
* Webpack is compiling as the input file.
|
61272 |
*/
|
61273 |
|
61274 |
|
@@ -61295,8 +61334,8 @@ var transform = [{
|
|
61295 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
61296 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! .././editor.scss */ 95);
|
61297 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
61298 |
-
/**
|
61299 |
-
* BLOCK: UAGB - post-grid
|
61300 |
*/
|
61301 |
|
61302 |
// Import block dependencies and components
|
@@ -61320,7 +61359,7 @@ registerBlockType("uagb/post-grid", {
|
|
61320 |
description: uagb_blocks_info.blocks["uagb/post-grid"]["description"],
|
61321 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].post_grid,
|
61322 |
category: uagb_blocks_info.category,
|
61323 |
-
keywords: [__("post"), __("grid"), __("uag")],
|
61324 |
edit: __WEBPACK_IMPORTED_MODULE_0__edit__["a" /* default */],
|
61325 |
example: {},
|
61326 |
// Render via PHP
|
@@ -61357,8 +61396,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
61357 |
|
61358 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
61359 |
|
61360 |
-
/**
|
61361 |
-
* External dependencies
|
61362 |
*/
|
61363 |
|
61364 |
|
@@ -61808,7 +61847,7 @@ var UAGBPostGrid = function (_Component) {
|
|
61808 |
wp.element.createElement(
|
61809 |
"p",
|
61810 |
{ className: "uagb-setting-label" },
|
61811 |
-
__("Hover Color"),
|
61812 |
wp.element.createElement(
|
61813 |
"span",
|
61814 |
{ className: "components-base-control__label" },
|
@@ -61825,7 +61864,7 @@ var UAGBPostGrid = function (_Component) {
|
|
61825 |
wp.element.createElement(
|
61826 |
"p",
|
61827 |
{ className: "uagb-setting-label" },
|
61828 |
-
__("Background Hover Color"),
|
61829 |
wp.element.createElement(
|
61830 |
"span",
|
61831 |
{ className: "components-base-control__label" },
|
@@ -61842,7 +61881,7 @@ var UAGBPostGrid = function (_Component) {
|
|
61842 |
wp.element.createElement(
|
61843 |
"p",
|
61844 |
{ className: "uagb-setting-label" },
|
61845 |
-
__("Border Hover Color"),
|
61846 |
wp.element.createElement(
|
61847 |
"span",
|
61848 |
{ className: "components-base-control__label" },
|
@@ -61864,7 +61903,7 @@ var UAGBPostGrid = function (_Component) {
|
|
61864 |
wp.element.createElement(
|
61865 |
"p",
|
61866 |
{ className: "uagb-setting-label" },
|
61867 |
-
__("Color"),
|
61868 |
wp.element.createElement(
|
61869 |
"span",
|
61870 |
{ className: "components-base-control__label" },
|
@@ -61881,7 +61920,7 @@ var UAGBPostGrid = function (_Component) {
|
|
61881 |
wp.element.createElement(
|
61882 |
"p",
|
61883 |
{ className: "uagb-setting-label" },
|
61884 |
-
__("Background Color"),
|
61885 |
wp.element.createElement(
|
61886 |
"span",
|
61887 |
{ className: "components-base-control__label" },
|
@@ -61898,7 +61937,7 @@ var UAGBPostGrid = function (_Component) {
|
|
61898 |
wp.element.createElement(
|
61899 |
"p",
|
61900 |
{ className: "uagb-setting-label" },
|
61901 |
-
__("Border Color"),
|
61902 |
wp.element.createElement(
|
61903 |
"span",
|
61904 |
{ className: "components-base-control__label" },
|
@@ -61965,7 +62004,7 @@ var UAGBPostGrid = function (_Component) {
|
|
61965 |
|
61966 |
var taxonomyListOptions = [];
|
61967 |
|
61968 |
-
var categoryListOptions = [{ value: "", label: __("All") }];
|
61969 |
|
61970 |
if ("" != taxonomyList) {
|
61971 |
Object.keys(taxonomyList).map(function (item, thisIndex) {
|
@@ -61985,9 +62024,9 @@ var UAGBPostGrid = function (_Component) {
|
|
61985 |
null,
|
61986 |
wp.element.createElement(
|
61987 |
PanelBody,
|
61988 |
-
{ title: __("General") },
|
61989 |
wp.element.createElement(SelectControl, {
|
61990 |
-
label: __("Post Type"),
|
61991 |
value: postType,
|
61992 |
onChange: function onChange(value) {
|
61993 |
return _this4.onSelectPostType(value);
|
@@ -61996,7 +62035,7 @@ var UAGBPostGrid = function (_Component) {
|
|
61996 |
}),
|
61997 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
61998 |
"" != taxonomyList && wp.element.createElement(SelectControl, {
|
61999 |
-
label: __("Taxonomy"),
|
62000 |
value: taxonomyType,
|
62001 |
onChange: function onChange(value) {
|
62002 |
return _this4.onSelectTaxonomyType(value);
|
@@ -62017,14 +62056,14 @@ var UAGBPostGrid = function (_Component) {
|
|
62017 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
62018 |
),
|
62019 |
wp.element.createElement(ToggleControl, {
|
62020 |
-
label: __("Exclude Current Post"),
|
62021 |
checked: excludeCurrentPost,
|
62022 |
onChange: function onChange(value) {
|
62023 |
return setAttributes({ excludeCurrentPost: !excludeCurrentPost });
|
62024 |
}
|
62025 |
}),
|
62026 |
wp.element.createElement(RangeControl, {
|
62027 |
-
label: __("Posts Per Page"),
|
62028 |
value: postsToShow,
|
62029 |
onChange: this.onChangePostsPerPage,
|
62030 |
min: 0,
|
@@ -62036,7 +62075,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62036 |
onChange: function onChange(value) {
|
62037 |
return setAttributes({ orderBy: value });
|
62038 |
},
|
62039 |
-
options: [{ value: "date", label: __("Date") }, { value: "title", label: __("Title") }, { value: "rand", label: __("Random") }, { value: "menu_order", label: __("Menu Order") }]
|
62040 |
}),
|
62041 |
wp.element.createElement(SelectControl, {
|
62042 |
label: __("Order"),
|
@@ -62044,7 +62083,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62044 |
onChange: function onChange(value) {
|
62045 |
return setAttributes({ order: value });
|
62046 |
},
|
62047 |
-
options: [{ value: "desc", label: __("Descending") }, { value: "asc", label: __("Ascending") }]
|
62048 |
}),
|
62049 |
wp.element.createElement(
|
62050 |
TabPanel,
|
@@ -62067,7 +62106,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62067 |
|
62068 |
if ("mobile" === tab.name) {
|
62069 |
tabout = wp.element.createElement(RangeControl, {
|
62070 |
-
label: __("Columns"),
|
62071 |
value: mcolumns,
|
62072 |
onChange: function onChange(value) {
|
62073 |
return setAttributes({ mcolumns: value });
|
@@ -62077,7 +62116,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62077 |
});
|
62078 |
} else if ("tablet" === tab.name) {
|
62079 |
tabout = wp.element.createElement(RangeControl, {
|
62080 |
-
label: __("Columns"),
|
62081 |
value: tcolumns,
|
62082 |
onChange: function onChange(value) {
|
62083 |
return setAttributes({ tcolumns: value });
|
@@ -62087,7 +62126,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62087 |
});
|
62088 |
} else {
|
62089 |
tabout = wp.element.createElement(RangeControl, {
|
62090 |
-
label: __("Columns"),
|
62091 |
value: columns,
|
62092 |
onChange: function onChange(value) {
|
62093 |
return setAttributes({ columns: value });
|
@@ -62105,19 +62144,19 @@ var UAGBPostGrid = function (_Component) {
|
|
62105 |
}
|
62106 |
),
|
62107 |
wp.element.createElement(ToggleControl, {
|
62108 |
-
label: __("Equal Height"),
|
62109 |
checked: equalHeight,
|
62110 |
onChange: function onChange(value) {
|
62111 |
return setAttributes({ equalHeight: !equalHeight });
|
62112 |
}
|
62113 |
}),
|
62114 |
wp.element.createElement(ToggleControl, {
|
62115 |
-
label: __("Post Pagination"),
|
62116 |
checked: postPagination,
|
62117 |
onChange: this.onSelectPagination
|
62118 |
}),
|
62119 |
postPagination == true && wp.element.createElement(RangeControl, {
|
62120 |
-
label: __("Page Limit"),
|
62121 |
value: pageLimit,
|
62122 |
onChange: this.onChangePageLimit,
|
62123 |
min: 0,
|
@@ -62127,11 +62166,11 @@ var UAGBPostGrid = function (_Component) {
|
|
62127 |
wp.element.createElement(
|
62128 |
"h2",
|
62129 |
null,
|
62130 |
-
__("If Posts Not Found")
|
62131 |
),
|
62132 |
wp.element.createElement(TextControl, {
|
62133 |
autoComplete: "off",
|
62134 |
-
label: __('Display Message'),
|
62135 |
value: postDisplaytext,
|
62136 |
onChange: function onChange(value) {
|
62137 |
return setAttributes({ postDisplaytext: value });
|
@@ -62139,33 +62178,33 @@ var UAGBPostGrid = function (_Component) {
|
|
62139 |
}),
|
62140 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62141 |
wp.element.createElement(ToggleControl, {
|
62142 |
-
label: __("Inherit Styling from Theme"),
|
62143 |
checked: inheritFromTheme,
|
62144 |
onChange: function onChange(value) {
|
62145 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
62146 |
},
|
62147 |
-
help: __("This will inherit all the Typography and colors for Title, Meta, Excerpt and Read More button from the theme.")
|
62148 |
})
|
62149 |
),
|
62150 |
postPagination == true && wp.element.createElement(
|
62151 |
PanelBody,
|
62152 |
-
{ title: __("Pagination"), initialOpen: false },
|
62153 |
wp.element.createElement(
|
62154 |
Fragment,
|
62155 |
null,
|
62156 |
wp.element.createElement(SelectControl, {
|
62157 |
-
label: __("Pagination Layout"),
|
62158 |
value: paginationLayout,
|
62159 |
onChange: function onChange(value) {
|
62160 |
return setAttributes({ paginationLayout: value });
|
62161 |
},
|
62162 |
-
options: [{ value: "border", label: __("Border") }, { value: "filled", label: __("Filled") }]
|
62163 |
}),
|
62164 |
wp.element.createElement(
|
62165 |
"h2",
|
62166 |
null,
|
62167 |
" ",
|
62168 |
-
__("Pagination Alignment")
|
62169 |
),
|
62170 |
wp.element.createElement(Button, {
|
62171 |
key: "left",
|
@@ -62204,7 +62243,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62204 |
wp.element.createElement(
|
62205 |
"p",
|
62206 |
{ className: "uagb-setting-label" },
|
62207 |
-
__("Background Color"),
|
62208 |
wp.element.createElement(
|
62209 |
"span",
|
62210 |
{ className: "components-base-control__label" },
|
@@ -62220,7 +62259,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62220 |
wp.element.createElement(
|
62221 |
"p",
|
62222 |
{ className: "uagb-setting-label" },
|
62223 |
-
__("Background Active Color"),
|
62224 |
wp.element.createElement(
|
62225 |
"span",
|
62226 |
{ className: "components-base-control__label" },
|
@@ -62238,7 +62277,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62238 |
Fragment,
|
62239 |
null,
|
62240 |
wp.element.createElement(RangeControl, {
|
62241 |
-
label: __("Border Size"),
|
62242 |
value: paginationBorderSize,
|
62243 |
onChange: function onChange(value) {
|
62244 |
return setAttributes({ paginationBorderSize: value });
|
@@ -62247,7 +62286,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62247 |
max: 10
|
62248 |
}),
|
62249 |
wp.element.createElement(RangeControl, {
|
62250 |
-
label: __("Border Radius"),
|
62251 |
value: paginationBorderRadius,
|
62252 |
onChange: function onChange(value) {
|
62253 |
return setAttributes({ paginationBorderRadius: value });
|
@@ -62258,7 +62297,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62258 |
wp.element.createElement(
|
62259 |
"p",
|
62260 |
{ className: "uagb-setting-label" },
|
62261 |
-
__("Border Color"),
|
62262 |
wp.element.createElement(
|
62263 |
"span",
|
62264 |
{ className: "components-base-control__label" },
|
@@ -62274,7 +62313,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62274 |
wp.element.createElement(
|
62275 |
"p",
|
62276 |
{ className: "uagb-setting-label" },
|
62277 |
-
__("Border Active Color"),
|
62278 |
wp.element.createElement(
|
62279 |
"span",
|
62280 |
{ className: "components-base-control__label" },
|
@@ -62291,7 +62330,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62291 |
wp.element.createElement(
|
62292 |
"p",
|
62293 |
{ className: "uagb-setting-label" },
|
62294 |
-
__("Text Color"),
|
62295 |
wp.element.createElement(
|
62296 |
"span",
|
62297 |
{ className: "components-base-control__label" },
|
@@ -62307,7 +62346,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62307 |
wp.element.createElement(
|
62308 |
"p",
|
62309 |
{ className: "uagb-setting-label" },
|
62310 |
-
__("Text Active Color"),
|
62311 |
wp.element.createElement(
|
62312 |
"span",
|
62313 |
{ className: "components-base-control__label" },
|
@@ -62322,23 +62361,23 @@ var UAGBPostGrid = function (_Component) {
|
|
62322 |
}),
|
62323 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62324 |
wp.element.createElement(RangeControl, {
|
62325 |
-
label: __("Spacing"),
|
62326 |
value: paginationSpacing,
|
62327 |
onChange: function onChange(value) {
|
62328 |
return setAttributes({ paginationSpacing: value });
|
62329 |
},
|
62330 |
-
help: __("This spacing is between the Post Grid and the Pagination"),
|
62331 |
min: 0,
|
62332 |
max: 500
|
62333 |
}),
|
62334 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62335 |
wp.element.createElement(TextControl, {
|
62336 |
-
label: __("Previous Text"),
|
62337 |
value: paginationPrevText,
|
62338 |
onChange: this.onChangePrevText
|
62339 |
}),
|
62340 |
wp.element.createElement(TextControl, {
|
62341 |
-
label: __("Next Text"),
|
62342 |
value: paginationNextText,
|
62343 |
onChange: this.onChangeNextText
|
62344 |
})
|
@@ -62346,16 +62385,16 @@ var UAGBPostGrid = function (_Component) {
|
|
62346 |
),
|
62347 |
wp.element.createElement(
|
62348 |
PanelBody,
|
62349 |
-
{ title: __("Image"), initialOpen: false },
|
62350 |
wp.element.createElement(ToggleControl, {
|
62351 |
-
label: __("Show Featured Image"),
|
62352 |
checked: displayPostImage,
|
62353 |
onChange: function onChange(value) {
|
62354 |
return setAttributes({ displayPostImage: !displayPostImage });
|
62355 |
}
|
62356 |
}),
|
62357 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
62358 |
-
label: __("Image Sizes"),
|
62359 |
value: imgSize,
|
62360 |
onChange: function onChange(value) {
|
62361 |
return setAttributes({ imgSize: value });
|
@@ -62363,12 +62402,12 @@ var UAGBPostGrid = function (_Component) {
|
|
62363 |
options: uagb_blocks_info.image_sizes
|
62364 |
}),
|
62365 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
62366 |
-
label: __("Image Position"),
|
62367 |
value: imgPosition,
|
62368 |
onChange: function onChange(value) {
|
62369 |
return setAttributes({ imgPosition: value });
|
62370 |
},
|
62371 |
-
options: [{ value: "top", label: __("Top") }, { value: "background", label: __("Background") }]
|
62372 |
}),
|
62373 |
displayPostImage == true && imgPosition == "background" && wp.element.createElement(
|
62374 |
Fragment,
|
@@ -62376,7 +62415,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62376 |
wp.element.createElement(
|
62377 |
"p",
|
62378 |
{ className: "uagb-setting-label" },
|
62379 |
-
__("Background Overlay Color"),
|
62380 |
wp.element.createElement(
|
62381 |
"span",
|
62382 |
{ className: "components-base-control__label" },
|
@@ -62391,7 +62430,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62391 |
allowReset: true
|
62392 |
}),
|
62393 |
wp.element.createElement(RangeControl, {
|
62394 |
-
label: __("Overlay Opacity"),
|
62395 |
value: overlayOpacity,
|
62396 |
onChange: function onChange(value) {
|
62397 |
return setAttributes({ overlayOpacity: value });
|
@@ -62401,7 +62440,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62401 |
allowReset: true
|
62402 |
}),
|
62403 |
wp.element.createElement(ToggleControl, {
|
62404 |
-
label: __("Link Complete Box"),
|
62405 |
checked: linkBox,
|
62406 |
onChange: function onChange(value) {
|
62407 |
return setAttributes({ linkBox: !linkBox });
|
@@ -62411,53 +62450,53 @@ var UAGBPostGrid = function (_Component) {
|
|
62411 |
),
|
62412 |
wp.element.createElement(
|
62413 |
PanelBody,
|
62414 |
-
{ title: __("Content"), initialOpen: false },
|
62415 |
wp.element.createElement(ToggleControl, {
|
62416 |
-
label: __("Show Title"),
|
62417 |
checked: displayPostTitle,
|
62418 |
onChange: function onChange(value) {
|
62419 |
return setAttributes({ displayPostTitle: !displayPostTitle });
|
62420 |
}
|
62421 |
}),
|
62422 |
wp.element.createElement(ToggleControl, {
|
62423 |
-
label: __("Show Author"),
|
62424 |
checked: displayPostAuthor,
|
62425 |
onChange: function onChange(value) {
|
62426 |
return setAttributes({ displayPostAuthor: !displayPostAuthor });
|
62427 |
}
|
62428 |
}),
|
62429 |
wp.element.createElement(ToggleControl, {
|
62430 |
-
label: __("Show Date"),
|
62431 |
checked: displayPostDate,
|
62432 |
onChange: function onChange(value) {
|
62433 |
return setAttributes({ displayPostDate: !displayPostDate });
|
62434 |
}
|
62435 |
}),
|
62436 |
wp.element.createElement(ToggleControl, {
|
62437 |
-
label: __("Show Comment"),
|
62438 |
checked: displayPostComment,
|
62439 |
onChange: function onChange(value) {
|
62440 |
return setAttributes({ displayPostComment: !displayPostComment });
|
62441 |
}
|
62442 |
}),
|
62443 |
wp.element.createElement(ToggleControl, {
|
62444 |
-
label: __("Show Taxonomy"),
|
62445 |
checked: displayPostTaxonomy,
|
62446 |
onChange: function onChange(value) {
|
62447 |
return setAttributes({ displayPostTaxonomy: !displayPostTaxonomy });
|
62448 |
}
|
62449 |
}),
|
62450 |
wp.element.createElement(ToggleControl, {
|
62451 |
-
label: __("Show Excerpt"),
|
62452 |
checked: displayPostExcerpt,
|
62453 |
onChange: function onChange(value) {
|
62454 |
return setAttributes({ displayPostExcerpt: !displayPostExcerpt });
|
62455 |
}
|
62456 |
}),
|
62457 |
displayPostExcerpt && wp.element.createElement(RadioControl, {
|
62458 |
-
label: __('Show:'),
|
62459 |
selected: displayPostContentRadio,
|
62460 |
-
options: [{ label: __('Excerpt'), value: "excerpt" }, { label: __('Full post'), value: "full_post" }],
|
62461 |
onChange: function onChange(value) {
|
62462 |
return setAttributes({
|
62463 |
displayPostContentRadio: value
|
@@ -62465,7 +62504,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62465 |
}
|
62466 |
}),
|
62467 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(RangeControl, {
|
62468 |
-
label: __('Max number of words in excerpt'),
|
62469 |
value: excerptLength,
|
62470 |
onChange: function onChange(value) {
|
62471 |
return setAttributes({ excerptLength: value });
|
@@ -62477,16 +62516,16 @@ var UAGBPostGrid = function (_Component) {
|
|
62477 |
),
|
62478 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(
|
62479 |
PanelBody,
|
62480 |
-
{ title: __("Read More Link"), initialOpen: false },
|
62481 |
wp.element.createElement(ToggleControl, {
|
62482 |
-
label: __("Show Read More Link"),
|
62483 |
checked: displayPostLink,
|
62484 |
onChange: function onChange(value) {
|
62485 |
return setAttributes({ displayPostLink: !displayPostLink });
|
62486 |
}
|
62487 |
}),
|
62488 |
wp.element.createElement(ToggleControl, {
|
62489 |
-
label: __("Open links in New Tab"),
|
62490 |
checked: newTab,
|
62491 |
onChange: function onChange(value) {
|
62492 |
return setAttributes({ newTab: !newTab });
|
@@ -62499,10 +62538,10 @@ var UAGBPostGrid = function (_Component) {
|
|
62499 |
wp.element.createElement(
|
62500 |
"h2",
|
62501 |
null,
|
62502 |
-
__("Button Text")
|
62503 |
),
|
62504 |
wp.element.createElement(TextControl, {
|
62505 |
-
label: __("Text"),
|
62506 |
value: ctaText,
|
62507 |
onChange: function onChange(value) {
|
62508 |
return setAttributes({ ctaText: value });
|
@@ -62512,7 +62551,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62512 |
Fragment,
|
62513 |
null,
|
62514 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
62515 |
-
label: __("Typography"),
|
62516 |
attributes: attributes,
|
62517 |
setAttributes: setAttributes,
|
62518 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: "ctaLoadGoogleFonts" },
|
@@ -62532,18 +62571,18 @@ var UAGBPostGrid = function (_Component) {
|
|
62532 |
wp.element.createElement(
|
62533 |
"h2",
|
62534 |
null,
|
62535 |
-
__("Button Border")
|
62536 |
),
|
62537 |
wp.element.createElement(SelectControl, {
|
62538 |
-
label: __("Style"),
|
62539 |
value: borderStyle,
|
62540 |
onChange: function onChange(value) {
|
62541 |
return setAttributes({ borderStyle: value });
|
62542 |
},
|
62543 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dashed", label: __("Dashed") }, { value: "dotted", label: __("Dotted") }, { value: "double", label: __("Double") }]
|
62544 |
}),
|
62545 |
wp.element.createElement(RangeControl, {
|
62546 |
-
label: __("Width"),
|
62547 |
value: borderWidth,
|
62548 |
onChange: function onChange(value) {
|
62549 |
return setAttributes({ borderWidth: value });
|
@@ -62553,7 +62592,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62553 |
allowReset: true
|
62554 |
}),
|
62555 |
wp.element.createElement(RangeControl, {
|
62556 |
-
label: __("Rounded Corner"),
|
62557 |
value: borderRadius,
|
62558 |
onChange: function onChange(value) {
|
62559 |
return setAttributes({ borderRadius: value });
|
@@ -62566,7 +62605,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62566 |
wp.element.createElement(
|
62567 |
"h2",
|
62568 |
null,
|
62569 |
-
__("Button Padding (px)")
|
62570 |
),
|
62571 |
wp.element.createElement(RangeControl, {
|
62572 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -62594,7 +62633,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62594 |
wp.element.createElement(
|
62595 |
"h2",
|
62596 |
null,
|
62597 |
-
__("Button Colors")
|
62598 |
),
|
62599 |
wp.element.createElement(
|
62600 |
TabPanel,
|
@@ -62602,11 +62641,11 @@ var UAGBPostGrid = function (_Component) {
|
|
62602 |
activeClass: "active-tab",
|
62603 |
tabs: [{
|
62604 |
name: "normal",
|
62605 |
-
title: __("Normal"),
|
62606 |
className: "uagb-normal-tab"
|
62607 |
}, {
|
62608 |
name: "hover",
|
62609 |
-
title: __("Hover"),
|
62610 |
className: "uagb-hover-tab"
|
62611 |
}] },
|
62612 |
function (tabName) {
|
@@ -62628,25 +62667,25 @@ var UAGBPostGrid = function (_Component) {
|
|
62628 |
),
|
62629 |
wp.element.createElement(
|
62630 |
PanelBody,
|
62631 |
-
{ title: __("Typography"), initialOpen: false },
|
62632 |
wp.element.createElement(
|
62633 |
"h2",
|
62634 |
null,
|
62635 |
-
__("Title")
|
62636 |
),
|
62637 |
wp.element.createElement(SelectControl, {
|
62638 |
-
label: __("Title Tag"),
|
62639 |
value: titleTag,
|
62640 |
onChange: function onChange(value) {
|
62641 |
return setAttributes({ titleTag: value });
|
62642 |
},
|
62643 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }, { value: "span", label: __("span") }, { value: "p", label: __("p") }]
|
62644 |
}),
|
62645 |
!inheritFromTheme && wp.element.createElement(
|
62646 |
Fragment,
|
62647 |
null,
|
62648 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
62649 |
-
label: __("Typography"),
|
62650 |
attributes: attributes,
|
62651 |
setAttributes: setAttributes,
|
62652 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: "titleLoadGoogleFonts" },
|
@@ -62669,10 +62708,10 @@ var UAGBPostGrid = function (_Component) {
|
|
62669 |
wp.element.createElement(
|
62670 |
"h2",
|
62671 |
null,
|
62672 |
-
__("Meta")
|
62673 |
),
|
62674 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
62675 |
-
label: __("Typography"),
|
62676 |
attributes: attributes,
|
62677 |
setAttributes: setAttributes,
|
62678 |
loadGoogleFonts: { value: metaLoadGoogleFonts, label: "metaLoadGoogleFonts" },
|
@@ -62696,10 +62735,10 @@ var UAGBPostGrid = function (_Component) {
|
|
62696 |
wp.element.createElement(
|
62697 |
"h2",
|
62698 |
null,
|
62699 |
-
__("Excerpt")
|
62700 |
),
|
62701 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
62702 |
-
label: __("Typography"),
|
62703 |
attributes: attributes,
|
62704 |
setAttributes: setAttributes,
|
62705 |
loadGoogleFonts: { value: excerptLoadGoogleFonts, label: "excerptLoadGoogleFonts" },
|
@@ -62720,11 +62759,11 @@ var UAGBPostGrid = function (_Component) {
|
|
62720 |
),
|
62721 |
wp.element.createElement(
|
62722 |
PanelBody,
|
62723 |
-
{ title: __("Colors"), initialOpen: false },
|
62724 |
wp.element.createElement(
|
62725 |
"p",
|
62726 |
{ className: "uagb-setting-label" },
|
62727 |
-
__("Blog Background Color"),
|
62728 |
wp.element.createElement(
|
62729 |
"span",
|
62730 |
{ className: "components-base-control__label" },
|
@@ -62744,7 +62783,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62744 |
wp.element.createElement(
|
62745 |
"p",
|
62746 |
{ className: "uagb-setting-label" },
|
62747 |
-
__("Title Color"),
|
62748 |
wp.element.createElement(
|
62749 |
"span",
|
62750 |
{ className: "components-base-control__label" },
|
@@ -62761,7 +62800,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62761 |
wp.element.createElement(
|
62762 |
"p",
|
62763 |
{ className: "uagb-setting-label" },
|
62764 |
-
__("Meta Color"),
|
62765 |
wp.element.createElement(
|
62766 |
"span",
|
62767 |
{ className: "components-base-control__label" },
|
@@ -62780,7 +62819,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62780 |
wp.element.createElement(
|
62781 |
"p",
|
62782 |
{ className: "uagb-setting-label" },
|
62783 |
-
__("Excerpt Color"),
|
62784 |
wp.element.createElement(
|
62785 |
"span",
|
62786 |
{ className: "components-base-control__label" },
|
@@ -62799,9 +62838,9 @@ var UAGBPostGrid = function (_Component) {
|
|
62799 |
),
|
62800 |
wp.element.createElement(
|
62801 |
PanelBody,
|
62802 |
-
{ title: __("Spacing"), initialOpen: false },
|
62803 |
wp.element.createElement(RangeControl, {
|
62804 |
-
label: __("Vertical Spacing"),
|
62805 |
value: rowGap,
|
62806 |
onChange: function onChange(value) {
|
62807 |
return setAttributes({ rowGap: value });
|
@@ -62811,7 +62850,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62811 |
allowReset: true
|
62812 |
}),
|
62813 |
wp.element.createElement(RangeControl, {
|
62814 |
-
label: __("Horizontal Spacing"),
|
62815 |
value: columnGap,
|
62816 |
onChange: function onChange(value) {
|
62817 |
return setAttributes({ columnGap: value });
|
@@ -62822,7 +62861,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62822 |
}),
|
62823 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62824 |
wp.element.createElement(RangeControl, {
|
62825 |
-
label: __("Content Padding"),
|
62826 |
value: contentPadding,
|
62827 |
onChange: function onChange(value) {
|
62828 |
return setAttributes({ contentPadding: value });
|
@@ -62832,7 +62871,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62832 |
allowReset: true
|
62833 |
}),
|
62834 |
wp.element.createElement(RangeControl, {
|
62835 |
-
label: __("Content Padding (Mobile)"),
|
62836 |
value: contentPaddingMobile,
|
62837 |
onChange: function onChange(value) {
|
62838 |
return setAttributes({ contentPaddingMobile: value });
|
@@ -62843,7 +62882,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62843 |
}),
|
62844 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62845 |
wp.element.createElement(RangeControl, {
|
62846 |
-
label: __("Image Bottom Spacing"),
|
62847 |
value: imageBottomSpace,
|
62848 |
onChange: function onChange(value) {
|
62849 |
return setAttributes({ imageBottomSpace: value });
|
@@ -62853,7 +62892,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62853 |
allowReset: true
|
62854 |
}),
|
62855 |
wp.element.createElement(RangeControl, {
|
62856 |
-
label: __("Title Bottom Spacing"),
|
62857 |
value: titleBottomSpace,
|
62858 |
onChange: function onChange(value) {
|
62859 |
return setAttributes({ titleBottomSpace: value });
|
@@ -62863,7 +62902,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62863 |
allowReset: true
|
62864 |
}),
|
62865 |
wp.element.createElement(RangeControl, {
|
62866 |
-
label: __("Meta Bottom Spacing"),
|
62867 |
value: metaBottomSpace,
|
62868 |
onChange: function onChange(value) {
|
62869 |
return setAttributes({ metaBottomSpace: value });
|
@@ -62873,7 +62912,7 @@ var UAGBPostGrid = function (_Component) {
|
|
62873 |
allowReset: true
|
62874 |
}),
|
62875 |
wp.element.createElement(RangeControl, {
|
62876 |
-
label: __("Excerpt Bottom Spacing"),
|
62877 |
value: excerptBottomSpace,
|
62878 |
onChange: function onChange(value) {
|
62879 |
return setAttributes({ excerptBottomSpace: value });
|
@@ -63143,7 +63182,7 @@ var Blog = function (_React$Component) {
|
|
63143 |
var baseToString = __webpack_require__(/*! ./_baseToString */ 161),
|
63144 |
castSlice = __webpack_require__(/*! ./_castSlice */ 380),
|
63145 |
hasUnicode = __webpack_require__(/*! ./_hasUnicode */ 91),
|
63146 |
-
isObject = __webpack_require__(/*! ./isObject */
|
63147 |
isRegExp = __webpack_require__(/*! ./isRegExp */ 381),
|
63148 |
stringSize = __webpack_require__(/*! ./_stringSize */ 383),
|
63149 |
stringToArray = __webpack_require__(/*! ./_stringToArray */ 386),
|
@@ -63627,8 +63666,8 @@ module.exports = toFinite;
|
|
63627 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
63628 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! .././editor.scss */ 95);
|
63629 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
63630 |
-
/**
|
63631 |
-
* BLOCK: UAGB - post-masonry
|
63632 |
*/
|
63633 |
|
63634 |
// Import block dependencies and components
|
@@ -63653,7 +63692,7 @@ registerBlockType("uagb/post-masonry", {
|
|
63653 |
description: uagb_blocks_info.blocks["uagb/post-masonry"]["description"],
|
63654 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].post_masonry,
|
63655 |
category: uagb_blocks_info.category,
|
63656 |
-
keywords: [__("post"), __("masonry"), __("uag")],
|
63657 |
edit: __WEBPACK_IMPORTED_MODULE_0__edit__["a" /* default */],
|
63658 |
example: {},
|
63659 |
// Render via PHP
|
@@ -63690,8 +63729,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
63690 |
|
63691 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
63692 |
|
63693 |
-
/**
|
63694 |
-
* External dependencies
|
63695 |
*/
|
63696 |
|
63697 |
// Import all of our Text Options requirements.
|
@@ -64088,7 +64127,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64088 |
wp.element.createElement(
|
64089 |
"p",
|
64090 |
{ className: "uagb-setting-label" },
|
64091 |
-
__("Hover Color"),
|
64092 |
wp.element.createElement(
|
64093 |
"span",
|
64094 |
{ className: "components-base-control__label" },
|
@@ -64105,7 +64144,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64105 |
wp.element.createElement(
|
64106 |
"p",
|
64107 |
{ className: "uagb-setting-label" },
|
64108 |
-
__("Background Hover Color"),
|
64109 |
wp.element.createElement(
|
64110 |
"span",
|
64111 |
{ className: "components-base-control__label" },
|
@@ -64122,7 +64161,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64122 |
wp.element.createElement(
|
64123 |
"p",
|
64124 |
{ className: "uagb-setting-label" },
|
64125 |
-
__("Border Hover Color"),
|
64126 |
wp.element.createElement(
|
64127 |
"span",
|
64128 |
{ className: "components-base-control__label" },
|
@@ -64144,7 +64183,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64144 |
wp.element.createElement(
|
64145 |
"p",
|
64146 |
{ className: "uagb-setting-label" },
|
64147 |
-
__("Color"),
|
64148 |
wp.element.createElement(
|
64149 |
"span",
|
64150 |
{ className: "components-base-control__label" },
|
@@ -64161,7 +64200,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64161 |
wp.element.createElement(
|
64162 |
"p",
|
64163 |
{ className: "uagb-setting-label" },
|
64164 |
-
__("Background Color"),
|
64165 |
wp.element.createElement(
|
64166 |
"span",
|
64167 |
{ className: "components-base-control__label" },
|
@@ -64178,7 +64217,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64178 |
wp.element.createElement(
|
64179 |
"p",
|
64180 |
{ className: "uagb-setting-label" },
|
64181 |
-
__("Border Color"),
|
64182 |
wp.element.createElement(
|
64183 |
"span",
|
64184 |
{ className: "components-base-control__label" },
|
@@ -64245,7 +64284,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64245 |
|
64246 |
var taxonomyListOptions = [];
|
64247 |
|
64248 |
-
var categoryListOptions = [{ value: "", label: __("All") }];
|
64249 |
|
64250 |
if ("" != taxonomyList) {
|
64251 |
Object.keys(taxonomyList).map(function (item, thisIndex) {
|
@@ -64264,7 +64303,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64264 |
return wp.element.createElement(
|
64265 |
PanelBody,
|
64266 |
{
|
64267 |
-
title: __("Pagination"),
|
64268 |
initialOpen: false,
|
64269 |
className: "uagb__url-panel-body"
|
64270 |
},
|
@@ -64275,7 +64314,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64275 |
"h2",
|
64276 |
null,
|
64277 |
" ",
|
64278 |
-
__("Alignment")
|
64279 |
),
|
64280 |
wp.element.createElement(IconButton, {
|
64281 |
key: "left",
|
@@ -64311,7 +64350,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64311 |
"h2",
|
64312 |
null,
|
64313 |
" ",
|
64314 |
-
__("Font Size (px) "),
|
64315 |
" "
|
64316 |
),
|
64317 |
wp.element.createElement(RangeControl, {
|
@@ -64348,7 +64387,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64348 |
null,
|
64349 |
wp.element.createElement(
|
64350 |
ButtonGroup,
|
64351 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
64352 |
wp.element.createElement(
|
64353 |
Button,
|
64354 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paginationButtonPaddingType === "px", "aria-pressed": paginationButtonPaddingType === "px", onClick: function onClick() {
|
@@ -64367,7 +64406,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64367 |
wp.element.createElement(
|
64368 |
"h2",
|
64369 |
null,
|
64370 |
-
__("Padding")
|
64371 |
),
|
64372 |
wp.element.createElement(RangeControl, {
|
64373 |
label: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -64398,7 +64437,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64398 |
null,
|
64399 |
wp.element.createElement(
|
64400 |
ButtonGroup,
|
64401 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
64402 |
wp.element.createElement(
|
64403 |
Button,
|
64404 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paginationButtonPaddingType === "px", "aria-pressed": paginationButtonPaddingType === "px", onClick: function onClick() {
|
@@ -64417,7 +64456,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64417 |
wp.element.createElement(
|
64418 |
"h2",
|
64419 |
null,
|
64420 |
-
__("Padding")
|
64421 |
),
|
64422 |
wp.element.createElement(RangeControl, {
|
64423 |
label: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -64448,7 +64487,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64448 |
null,
|
64449 |
wp.element.createElement(
|
64450 |
ButtonGroup,
|
64451 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
64452 |
wp.element.createElement(
|
64453 |
Button,
|
64454 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paginationButtonPaddingType === "px", "aria-pressed": paginationButtonPaddingType === "px", onClick: function onClick() {
|
@@ -64467,7 +64506,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64467 |
wp.element.createElement(
|
64468 |
"h2",
|
64469 |
null,
|
64470 |
-
__("Padding")
|
64471 |
),
|
64472 |
wp.element.createElement(RangeControl, {
|
64473 |
label: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -64507,11 +64546,11 @@ var UAGBPostMasonry = function (_Component) {
|
|
64507 |
activeClass: "active-tab",
|
64508 |
tabs: [{
|
64509 |
name: "normal",
|
64510 |
-
title: __("Normal"),
|
64511 |
className: "uagb-normal-tab"
|
64512 |
}, {
|
64513 |
name: "hover",
|
64514 |
-
title: __("Hover"),
|
64515 |
className: "uagb-hover-tab"
|
64516 |
}] },
|
64517 |
function (tabName) {
|
@@ -64524,7 +64563,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64524 |
wp.element.createElement(
|
64525 |
"p",
|
64526 |
{ className: "uagb-setting-label" },
|
64527 |
-
__("Text Color"),
|
64528 |
wp.element.createElement(
|
64529 |
"span",
|
64530 |
{ className: "components-base-control__label" },
|
@@ -64541,7 +64580,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64541 |
wp.element.createElement(
|
64542 |
"p",
|
64543 |
{ className: "uagb-setting-label" },
|
64544 |
-
__("Background Color"),
|
64545 |
wp.element.createElement(
|
64546 |
"span",
|
64547 |
{ className: "components-base-control__label" },
|
@@ -64563,7 +64602,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64563 |
wp.element.createElement(
|
64564 |
"p",
|
64565 |
{ className: "uagb-setting-label" },
|
64566 |
-
__("Text Color"),
|
64567 |
wp.element.createElement(
|
64568 |
"span",
|
64569 |
{ className: "components-base-control__label" },
|
@@ -64580,7 +64619,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64580 |
wp.element.createElement(
|
64581 |
"p",
|
64582 |
{ className: "uagb-setting-label" },
|
64583 |
-
__("Background Color"),
|
64584 |
wp.element.createElement(
|
64585 |
"span",
|
64586 |
{ className: "components-base-control__label" },
|
@@ -64603,13 +64642,13 @@ var UAGBPostMasonry = function (_Component) {
|
|
64603 |
"h2",
|
64604 |
null,
|
64605 |
" ",
|
64606 |
-
__("Border"),
|
64607 |
" "
|
64608 |
),
|
64609 |
wp.element.createElement(SelectControl, {
|
64610 |
-
label: __("Style"),
|
64611 |
value: paginationMasonryBorderStyle,
|
64612 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }],
|
64613 |
onChange: function onChange(value) {
|
64614 |
setAttributes({ paginationMasonryBorderStyle: value });
|
64615 |
}
|
@@ -64618,7 +64657,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64618 |
Fragment,
|
64619 |
null,
|
64620 |
wp.element.createElement(RangeControl, {
|
64621 |
-
label: __("Thickness (px)"),
|
64622 |
value: paginationMasonryBorderWidth,
|
64623 |
onChange: function onChange(value) {
|
64624 |
setAttributes({ paginationMasonryBorderWidth: value });
|
@@ -64627,7 +64666,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64627 |
max: 20
|
64628 |
}),
|
64629 |
wp.element.createElement(RangeControl, {
|
64630 |
-
label: __("Rounded Corners (px)"),
|
64631 |
value: paginationMasonryBorderRadius,
|
64632 |
onChange: function onChange(value) {
|
64633 |
setAttributes({ paginationMasonryBorderRadius: value });
|
@@ -64638,7 +64677,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64638 |
wp.element.createElement(
|
64639 |
"p",
|
64640 |
{ className: "uagb-setting-label" },
|
64641 |
-
__("Color"),
|
64642 |
wp.element.createElement(
|
64643 |
"span",
|
64644 |
{ className: "components-base-control__label" },
|
@@ -64660,7 +64699,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64660 |
wp.element.createElement(
|
64661 |
"p",
|
64662 |
{ className: "uagb-setting-label" },
|
64663 |
-
__(" Loader Color"),
|
64664 |
wp.element.createElement(
|
64665 |
"span",
|
64666 |
{ className: "components-base-control__label" },
|
@@ -64675,7 +64714,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64675 |
allowReset: true
|
64676 |
}),
|
64677 |
wp.element.createElement(RangeControl, {
|
64678 |
-
label: __("Loader Size"),
|
64679 |
value: loaderSize,
|
64680 |
onChange: function onChange(value) {
|
64681 |
return setAttributes({ loaderSize: value });
|
@@ -64694,9 +64733,9 @@ var UAGBPostMasonry = function (_Component) {
|
|
64694 |
null,
|
64695 |
wp.element.createElement(
|
64696 |
PanelBody,
|
64697 |
-
{ title: __("General") },
|
64698 |
wp.element.createElement(SelectControl, {
|
64699 |
-
label: __("Post Type"),
|
64700 |
value: postType,
|
64701 |
onChange: function onChange(value) {
|
64702 |
return _this4.onSelectPostType(value);
|
@@ -64705,7 +64744,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64705 |
}),
|
64706 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
64707 |
"" != taxonomyList && wp.element.createElement(SelectControl, {
|
64708 |
-
label: __("Taxonomy"),
|
64709 |
value: taxonomyType,
|
64710 |
onChange: function onChange(value) {
|
64711 |
return _this4.onSelectTaxonomyType(value);
|
@@ -64726,7 +64765,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64726 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
64727 |
),
|
64728 |
wp.element.createElement(ToggleControl, {
|
64729 |
-
label: __("Exclude Current Post"),
|
64730 |
checked: excludeCurrentPost,
|
64731 |
onChange: function onChange(value) {
|
64732 |
return setAttributes({ excludeCurrentPost: !excludeCurrentPost });
|
@@ -64739,20 +64778,20 @@ var UAGBPostMasonry = function (_Component) {
|
|
64739 |
}
|
64740 |
})),
|
64741 |
wp.element.createElement(SelectControl, {
|
64742 |
-
label: __("Order By"),
|
64743 |
value: orderBy,
|
64744 |
onChange: function onChange(value) {
|
64745 |
return setAttributes({ orderBy: value });
|
64746 |
},
|
64747 |
-
options: [{ value: "date", label: __("Date") }, { value: "title", label: __("Title") }, { value: "rand", label: __("Random") }, { value: "menu_order", label: __("Menu Order") }]
|
64748 |
}),
|
64749 |
wp.element.createElement(SelectControl, {
|
64750 |
-
label: __("Order"),
|
64751 |
value: order,
|
64752 |
onChange: function onChange(value) {
|
64753 |
return setAttributes({ order: value });
|
64754 |
},
|
64755 |
-
options: [{ value: "desc", label: __("Descending") }, { value: "asc", label: __("Ascending") }]
|
64756 |
}),
|
64757 |
wp.element.createElement(
|
64758 |
TabPanel,
|
@@ -64775,7 +64814,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64775 |
|
64776 |
if ("mobile" === tab.name) {
|
64777 |
tabout = wp.element.createElement(RangeControl, {
|
64778 |
-
label: __("Columns"),
|
64779 |
value: mcolumns,
|
64780 |
onChange: function onChange(value) {
|
64781 |
return setAttributes({ mcolumns: value });
|
@@ -64785,7 +64824,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64785 |
});
|
64786 |
} else if ("tablet" === tab.name) {
|
64787 |
tabout = wp.element.createElement(RangeControl, {
|
64788 |
-
label: __("Columns"),
|
64789 |
value: tcolumns,
|
64790 |
onChange: function onChange(value) {
|
64791 |
return setAttributes({ tcolumns: value });
|
@@ -64795,7 +64834,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64795 |
});
|
64796 |
} else {
|
64797 |
tabout = wp.element.createElement(RangeControl, {
|
64798 |
-
label: __("Columns"),
|
64799 |
value: columns,
|
64800 |
onChange: function onChange(value) {
|
64801 |
return setAttributes({ columns: value });
|
@@ -64813,24 +64852,24 @@ var UAGBPostMasonry = function (_Component) {
|
|
64813 |
}
|
64814 |
),
|
64815 |
wp.element.createElement(SelectControl, {
|
64816 |
-
label: __("Pagination"),
|
64817 |
value: paginationType,
|
64818 |
onChange: function onChange(value) {
|
64819 |
return setAttributes({ paginationType: value });
|
64820 |
},
|
64821 |
-
options: [{ value: "none", label: __("None") }, { value: "infinite", label: __("Infinite") }]
|
64822 |
}),
|
64823 |
'infinite' === paginationType && wp.element.createElement(SelectControl, {
|
64824 |
-
label: __("Infinite Load Event"),
|
64825 |
value: paginationEventType,
|
64826 |
onChange: function onChange(value) {
|
64827 |
return setAttributes({ paginationEventType: value });
|
64828 |
},
|
64829 |
-
options: [{ value: "button", label: __("Button") }, { value: "scroll", label: __("Scroll") }]
|
64830 |
}),
|
64831 |
'infinite' === paginationType && 'button' === paginationEventType && wp.element.createElement(TextControl, {
|
64832 |
autoComplete: "off",
|
64833 |
-
label: __('Button Text'),
|
64834 |
value: buttonText,
|
64835 |
onChange: function onChange(value) {
|
64836 |
return setAttributes({ buttonText: value });
|
@@ -64840,11 +64879,11 @@ var UAGBPostMasonry = function (_Component) {
|
|
64840 |
wp.element.createElement(
|
64841 |
"h2",
|
64842 |
null,
|
64843 |
-
__("If Posts Not Found")
|
64844 |
),
|
64845 |
wp.element.createElement(TextControl, {
|
64846 |
autoComplete: "off",
|
64847 |
-
label: __('Display Message'),
|
64848 |
value: postDisplaytext,
|
64849 |
onChange: function onChange(value) {
|
64850 |
return setAttributes({ postDisplaytext: value });
|
@@ -64852,27 +64891,27 @@ var UAGBPostMasonry = function (_Component) {
|
|
64852 |
}),
|
64853 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
64854 |
wp.element.createElement(ToggleControl, {
|
64855 |
-
label: __("Inherit Styling from Theme"),
|
64856 |
checked: inheritFromTheme,
|
64857 |
onChange: function onChange(value) {
|
64858 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
64859 |
},
|
64860 |
-
help: __("This will inherit all the Typography and colors for Title, Meta, Excerpt and Read More button from the theme.")
|
64861 |
})
|
64862 |
),
|
64863 |
paginationSettings(),
|
64864 |
wp.element.createElement(
|
64865 |
PanelBody,
|
64866 |
-
{ title: __("Image"), initialOpen: false },
|
64867 |
wp.element.createElement(ToggleControl, {
|
64868 |
-
label: __("Show Featured Image"),
|
64869 |
checked: displayPostImage,
|
64870 |
onChange: function onChange(value) {
|
64871 |
return setAttributes({ displayPostImage: !displayPostImage });
|
64872 |
}
|
64873 |
}),
|
64874 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
64875 |
-
label: __("Image Sizes"),
|
64876 |
value: imgSize,
|
64877 |
onChange: function onChange(value) {
|
64878 |
return setAttributes({ imgSize: value });
|
@@ -64880,12 +64919,12 @@ var UAGBPostMasonry = function (_Component) {
|
|
64880 |
options: uagb_blocks_info.image_sizes
|
64881 |
}),
|
64882 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
64883 |
-
label: __("Image Position"),
|
64884 |
value: imgPosition,
|
64885 |
onChange: function onChange(value) {
|
64886 |
return setAttributes({ imgPosition: value });
|
64887 |
},
|
64888 |
-
options: [{ value: "top", label: __("Top") }, { value: "background", label: __("Background") }]
|
64889 |
}),
|
64890 |
displayPostImage == true && imgPosition == "background" && wp.element.createElement(
|
64891 |
Fragment,
|
@@ -64893,7 +64932,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64893 |
wp.element.createElement(
|
64894 |
"p",
|
64895 |
{ className: "uagb-setting-label" },
|
64896 |
-
__("Background Overlay Color"),
|
64897 |
wp.element.createElement(
|
64898 |
"span",
|
64899 |
{ className: "components-base-control__label" },
|
@@ -64908,7 +64947,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64908 |
allowReset: true
|
64909 |
}),
|
64910 |
wp.element.createElement(RangeControl, {
|
64911 |
-
label: __("Overlay Opacity"),
|
64912 |
value: overlayOpacity,
|
64913 |
onChange: function onChange(value) {
|
64914 |
return setAttributes({ overlayOpacity: value });
|
@@ -64918,7 +64957,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64918 |
allowReset: true
|
64919 |
}),
|
64920 |
wp.element.createElement(ToggleControl, {
|
64921 |
-
label: __("Link Complete Box"),
|
64922 |
checked: linkBox,
|
64923 |
onChange: function onChange(value) {
|
64924 |
return setAttributes({ linkBox: !linkBox });
|
@@ -64928,53 +64967,53 @@ var UAGBPostMasonry = function (_Component) {
|
|
64928 |
),
|
64929 |
wp.element.createElement(
|
64930 |
PanelBody,
|
64931 |
-
{ title: __("Content"), initialOpen: false },
|
64932 |
wp.element.createElement(ToggleControl, {
|
64933 |
-
label: __("Show Title"),
|
64934 |
checked: displayPostTitle,
|
64935 |
onChange: function onChange(value) {
|
64936 |
return setAttributes({ displayPostTitle: !displayPostTitle });
|
64937 |
}
|
64938 |
}),
|
64939 |
wp.element.createElement(ToggleControl, {
|
64940 |
-
label: __("Show Author"),
|
64941 |
checked: displayPostAuthor,
|
64942 |
onChange: function onChange(value) {
|
64943 |
return setAttributes({ displayPostAuthor: !displayPostAuthor });
|
64944 |
}
|
64945 |
}),
|
64946 |
wp.element.createElement(ToggleControl, {
|
64947 |
-
label: __("Show Date"),
|
64948 |
checked: displayPostDate,
|
64949 |
onChange: function onChange(value) {
|
64950 |
return setAttributes({ displayPostDate: !displayPostDate });
|
64951 |
}
|
64952 |
}),
|
64953 |
wp.element.createElement(ToggleControl, {
|
64954 |
-
label: __("Show Comment"),
|
64955 |
checked: displayPostComment,
|
64956 |
onChange: function onChange(value) {
|
64957 |
return setAttributes({ displayPostComment: !displayPostComment });
|
64958 |
}
|
64959 |
}),
|
64960 |
wp.element.createElement(ToggleControl, {
|
64961 |
-
label: __("Show Taxonomy"),
|
64962 |
checked: displayPostTaxonomy,
|
64963 |
onChange: function onChange(value) {
|
64964 |
return setAttributes({ displayPostTaxonomy: !displayPostTaxonomy });
|
64965 |
}
|
64966 |
}),
|
64967 |
wp.element.createElement(ToggleControl, {
|
64968 |
-
label: __("Show Excerpt"),
|
64969 |
checked: displayPostExcerpt,
|
64970 |
onChange: function onChange(value) {
|
64971 |
return setAttributes({ displayPostExcerpt: !displayPostExcerpt });
|
64972 |
}
|
64973 |
}),
|
64974 |
displayPostExcerpt && wp.element.createElement(RadioControl, {
|
64975 |
-
label: __('Show:'),
|
64976 |
selected: displayPostContentRadio,
|
64977 |
-
options: [{ label: __('Excerpt'), value: "excerpt" }, { label: __('Full post'), value: "full_post" }],
|
64978 |
onChange: function onChange(value) {
|
64979 |
return setAttributes({
|
64980 |
displayPostContentRadio: value
|
@@ -64982,7 +65021,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
64982 |
}
|
64983 |
}),
|
64984 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(RangeControl, {
|
64985 |
-
label: __('Max number of words in excerpt'),
|
64986 |
value: excerptLength,
|
64987 |
onChange: function onChange(value) {
|
64988 |
return setAttributes({ excerptLength: value });
|
@@ -64994,16 +65033,16 @@ var UAGBPostMasonry = function (_Component) {
|
|
64994 |
),
|
64995 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(
|
64996 |
PanelBody,
|
64997 |
-
{ title: __("Read More Link"), initialOpen: false },
|
64998 |
wp.element.createElement(ToggleControl, {
|
64999 |
-
label: __("Show Read More Link"),
|
65000 |
checked: displayPostLink,
|
65001 |
onChange: function onChange(value) {
|
65002 |
return setAttributes({ displayPostLink: !displayPostLink });
|
65003 |
}
|
65004 |
}),
|
65005 |
wp.element.createElement(ToggleControl, {
|
65006 |
-
label: __("Open links in New Tab"),
|
65007 |
checked: newTab,
|
65008 |
onChange: function onChange(value) {
|
65009 |
return setAttributes({ newTab: !newTab });
|
@@ -65016,10 +65055,10 @@ var UAGBPostMasonry = function (_Component) {
|
|
65016 |
wp.element.createElement(
|
65017 |
"h2",
|
65018 |
null,
|
65019 |
-
__("Button Text")
|
65020 |
),
|
65021 |
wp.element.createElement(TextControl, {
|
65022 |
-
label: __("Text"),
|
65023 |
value: ctaText,
|
65024 |
onChange: function onChange(value) {
|
65025 |
return setAttributes({ ctaText: value });
|
@@ -65029,7 +65068,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65029 |
Fragment,
|
65030 |
null,
|
65031 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_typography__["a" /* default */], {
|
65032 |
-
label: __("Typography"),
|
65033 |
attributes: attributes,
|
65034 |
setAttributes: setAttributes,
|
65035 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: "ctaLoadGoogleFonts" },
|
@@ -65049,18 +65088,18 @@ var UAGBPostMasonry = function (_Component) {
|
|
65049 |
wp.element.createElement(
|
65050 |
"h2",
|
65051 |
null,
|
65052 |
-
__("Button Border")
|
65053 |
),
|
65054 |
wp.element.createElement(SelectControl, {
|
65055 |
-
label: __("Style"),
|
65056 |
value: borderStyle,
|
65057 |
onChange: function onChange(value) {
|
65058 |
return setAttributes({ borderStyle: value });
|
65059 |
},
|
65060 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dashed", label: __("Dashed") }, { value: "dotted", label: __("Dotted") }, { value: "double", label: __("Double") }]
|
65061 |
}),
|
65062 |
wp.element.createElement(RangeControl, {
|
65063 |
-
label: __("Width"),
|
65064 |
value: borderWidth,
|
65065 |
onChange: function onChange(value) {
|
65066 |
return setAttributes({ borderWidth: value });
|
@@ -65070,7 +65109,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65070 |
allowReset: true
|
65071 |
}),
|
65072 |
wp.element.createElement(RangeControl, {
|
65073 |
-
label: __("Rounded Corner"),
|
65074 |
value: borderRadius,
|
65075 |
onChange: function onChange(value) {
|
65076 |
return setAttributes({ borderRadius: value });
|
@@ -65083,7 +65122,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65083 |
wp.element.createElement(
|
65084 |
"h2",
|
65085 |
null,
|
65086 |
-
__("Button Padding (px)")
|
65087 |
),
|
65088 |
wp.element.createElement(RangeControl, {
|
65089 |
label: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -65111,7 +65150,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65111 |
wp.element.createElement(
|
65112 |
"h2",
|
65113 |
null,
|
65114 |
-
__("Button Colors")
|
65115 |
),
|
65116 |
wp.element.createElement(
|
65117 |
TabPanel,
|
@@ -65119,11 +65158,11 @@ var UAGBPostMasonry = function (_Component) {
|
|
65119 |
activeClass: "active-tab",
|
65120 |
tabs: [{
|
65121 |
name: "normal",
|
65122 |
-
title: __("Normal"),
|
65123 |
className: "uagb-normal-tab"
|
65124 |
}, {
|
65125 |
name: "hover",
|
65126 |
-
title: __("Hover"),
|
65127 |
className: "uagb-hover-tab"
|
65128 |
}] },
|
65129 |
function (tabName) {
|
@@ -65145,20 +65184,20 @@ var UAGBPostMasonry = function (_Component) {
|
|
65145 |
),
|
65146 |
wp.element.createElement(
|
65147 |
PanelBody,
|
65148 |
-
{ title: __("Typography"), initialOpen: false },
|
65149 |
wp.element.createElement(SelectControl, {
|
65150 |
-
label: __("Title Tag"),
|
65151 |
value: titleTag,
|
65152 |
onChange: function onChange(value) {
|
65153 |
return setAttributes({ titleTag: value });
|
65154 |
},
|
65155 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }, { value: "span", label: __("span") }, { value: "p", label: __("p") }]
|
65156 |
}),
|
65157 |
!inheritFromTheme && wp.element.createElement(
|
65158 |
Fragment,
|
65159 |
null,
|
65160 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_typography__["a" /* default */], {
|
65161 |
-
label: __("Typography"),
|
65162 |
attributes: attributes,
|
65163 |
setAttributes: setAttributes,
|
65164 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: "titleLoadGoogleFonts" },
|
@@ -65181,10 +65220,10 @@ var UAGBPostMasonry = function (_Component) {
|
|
65181 |
wp.element.createElement(
|
65182 |
"h2",
|
65183 |
null,
|
65184 |
-
__("Meta")
|
65185 |
),
|
65186 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_typography__["a" /* default */], {
|
65187 |
-
label: __("Typography"),
|
65188 |
attributes: attributes,
|
65189 |
setAttributes: setAttributes,
|
65190 |
loadGoogleFonts: { value: metaLoadGoogleFonts, label: "metaLoadGoogleFonts" },
|
@@ -65208,10 +65247,10 @@ var UAGBPostMasonry = function (_Component) {
|
|
65208 |
wp.element.createElement(
|
65209 |
"h2",
|
65210 |
null,
|
65211 |
-
__("Excerpt")
|
65212 |
),
|
65213 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_typography__["a" /* default */], {
|
65214 |
-
label: __("Typography"),
|
65215 |
attributes: attributes,
|
65216 |
setAttributes: setAttributes,
|
65217 |
loadGoogleFonts: { value: excerptLoadGoogleFonts, label: "excerptLoadGoogleFonts" },
|
@@ -65232,11 +65271,11 @@ var UAGBPostMasonry = function (_Component) {
|
|
65232 |
),
|
65233 |
wp.element.createElement(
|
65234 |
PanelBody,
|
65235 |
-
{ title: __("Colors"), initialOpen: false },
|
65236 |
wp.element.createElement(
|
65237 |
"p",
|
65238 |
{ className: "uagb-setting-label" },
|
65239 |
-
__("Blog Background Color"),
|
65240 |
wp.element.createElement(
|
65241 |
"span",
|
65242 |
{ className: "components-base-control__label" },
|
@@ -65256,7 +65295,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65256 |
wp.element.createElement(
|
65257 |
"p",
|
65258 |
{ className: "uagb-setting-label" },
|
65259 |
-
__("Title Color"),
|
65260 |
wp.element.createElement(
|
65261 |
"span",
|
65262 |
{ className: "components-base-control__label" },
|
@@ -65273,7 +65312,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65273 |
wp.element.createElement(
|
65274 |
"p",
|
65275 |
{ className: "uagb-setting-label" },
|
65276 |
-
__("Meta Color"),
|
65277 |
wp.element.createElement(
|
65278 |
"span",
|
65279 |
{ className: "components-base-control__label" },
|
@@ -65292,7 +65331,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65292 |
wp.element.createElement(
|
65293 |
"p",
|
65294 |
{ className: "uagb-setting-label" },
|
65295 |
-
__("Excerpt Color"),
|
65296 |
wp.element.createElement(
|
65297 |
"span",
|
65298 |
{ className: "components-base-control__label" },
|
@@ -65311,9 +65350,9 @@ var UAGBPostMasonry = function (_Component) {
|
|
65311 |
),
|
65312 |
wp.element.createElement(
|
65313 |
PanelBody,
|
65314 |
-
{ title: __("Spacing"), initialOpen: false },
|
65315 |
wp.element.createElement(RangeControl, {
|
65316 |
-
label: __("Row Gap"),
|
65317 |
value: rowGap,
|
65318 |
onChange: function onChange(value) {
|
65319 |
return setAttributes({ rowGap: value });
|
@@ -65323,7 +65362,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65323 |
allowReset: true
|
65324 |
}),
|
65325 |
wp.element.createElement(RangeControl, {
|
65326 |
-
label: __("Column Gap"),
|
65327 |
value: columnGap,
|
65328 |
onChange: function onChange(value) {
|
65329 |
return setAttributes({ columnGap: value });
|
@@ -65334,7 +65373,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65334 |
}),
|
65335 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
65336 |
wp.element.createElement(RangeControl, {
|
65337 |
-
label: __("Content Padding"),
|
65338 |
value: contentPadding,
|
65339 |
onChange: function onChange(value) {
|
65340 |
return setAttributes({ contentPadding: value });
|
@@ -65344,7 +65383,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65344 |
allowReset: true
|
65345 |
}),
|
65346 |
wp.element.createElement(RangeControl, {
|
65347 |
-
label: __("Content Padding (Mobile)"),
|
65348 |
value: contentPaddingMobile,
|
65349 |
onChange: function onChange(value) {
|
65350 |
return setAttributes({ contentPaddingMobile: value });
|
@@ -65355,7 +65394,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65355 |
}),
|
65356 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
65357 |
wp.element.createElement(RangeControl, {
|
65358 |
-
label: __("Image Bottom Spacing"),
|
65359 |
value: imageBottomSpace,
|
65360 |
onChange: function onChange(value) {
|
65361 |
return setAttributes({ imageBottomSpace: value });
|
@@ -65365,7 +65404,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65365 |
allowReset: true
|
65366 |
}),
|
65367 |
wp.element.createElement(RangeControl, {
|
65368 |
-
label: __("Title Bottom Spacing"),
|
65369 |
value: titleBottomSpace,
|
65370 |
onChange: function onChange(value) {
|
65371 |
return setAttributes({ titleBottomSpace: value });
|
@@ -65375,7 +65414,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65375 |
allowReset: true
|
65376 |
}),
|
65377 |
wp.element.createElement(RangeControl, {
|
65378 |
-
label: __("Meta Bottom Spacing"),
|
65379 |
value: metaBottomSpace,
|
65380 |
onChange: function onChange(value) {
|
65381 |
return setAttributes({ metaBottomSpace: value });
|
@@ -65385,7 +65424,7 @@ var UAGBPostMasonry = function (_Component) {
|
|
65385 |
allowReset: true
|
65386 |
}),
|
65387 |
wp.element.createElement(RangeControl, {
|
65388 |
-
label: __("Excerpt Bottom Spacing"),
|
65389 |
value: excerptBottomSpace,
|
65390 |
onChange: function onChange(value) {
|
65391 |
return setAttributes({ excerptBottomSpace: value });
|
@@ -68767,7 +68806,7 @@ module.exports = shortOut;
|
|
68767 |
var eq = __webpack_require__(/*! ./eq */ 47),
|
68768 |
isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29),
|
68769 |
isIndex = __webpack_require__(/*! ./_isIndex */ 50),
|
68770 |
-
isObject = __webpack_require__(/*! ./isObject */
|
68771 |
|
68772 |
/**
|
68773 |
* Checks if the given arguments are from an iteratee call.
|
@@ -70567,7 +70606,7 @@ module.exports = function(options) {
|
|
70567 |
/*! all exports used */
|
70568 |
/***/ (function(module, exports, __webpack_require__) {
|
70569 |
|
70570 |
-
var isObject = __webpack_require__(/*! ./isObject */
|
70571 |
now = __webpack_require__(/*! ./now */ 420),
|
70572 |
toNumber = __webpack_require__(/*! ./toNumber */ 184);
|
70573 |
|
@@ -70769,7 +70808,7 @@ module.exports = debounce;
|
|
70769 |
/*! all exports used */
|
70770 |
/***/ (function(module, exports, __webpack_require__) {
|
70771 |
|
70772 |
-
var root = __webpack_require__(/*! ./_root */
|
70773 |
|
70774 |
/**
|
70775 |
* Gets the timestamp of the number of milliseconds that have elapsed since
|
@@ -70886,10 +70925,10 @@ var Stack = __webpack_require__(/*! ./_Stack */ 72),
|
|
70886 |
initCloneArray = __webpack_require__(/*! ./_initCloneArray */ 432),
|
70887 |
initCloneByTag = __webpack_require__(/*! ./_initCloneByTag */ 433),
|
70888 |
initCloneObject = __webpack_require__(/*! ./_initCloneObject */ 438),
|
70889 |
-
isArray = __webpack_require__(/*! ./isArray */
|
70890 |
isBuffer = __webpack_require__(/*! ./isBuffer */ 79),
|
70891 |
isMap = __webpack_require__(/*! ./isMap */ 440),
|
70892 |
-
isObject = __webpack_require__(/*! ./isObject */
|
70893 |
isSet = __webpack_require__(/*! ./isSet */ 442),
|
70894 |
keys = __webpack_require__(/*! ./keys */ 28);
|
70895 |
|
@@ -71136,7 +71175,7 @@ module.exports = baseAssignIn;
|
|
71136 |
/*! all exports used */
|
71137 |
/***/ (function(module, exports, __webpack_require__) {
|
71138 |
|
71139 |
-
var isObject = __webpack_require__(/*! ./isObject */
|
71140 |
isPrototype = __webpack_require__(/*! ./_isPrototype */ 53),
|
71141 |
nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ 427);
|
71142 |
|
@@ -71211,7 +71250,7 @@ module.exports = nativeKeysIn;
|
|
71211 |
/*! all exports used */
|
71212 |
/***/ (function(module, exports, __webpack_require__) {
|
71213 |
|
71214 |
-
/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */
|
71215 |
|
71216 |
/** Detect free variable `exports`. */
|
71217 |
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
@@ -71608,7 +71647,7 @@ module.exports = initCloneObject;
|
|
71608 |
/*! all exports used */
|
71609 |
/***/ (function(module, exports, __webpack_require__) {
|
71610 |
|
71611 |
-
var isObject = __webpack_require__(/*! ./isObject */
|
71612 |
|
71613 |
/** Built-in value references. */
|
71614 |
var objectCreate = Object.create;
|
@@ -72083,7 +72122,7 @@ module.exports = baseFlatten;
|
|
72083 |
|
72084 |
var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
|
72085 |
isArguments = __webpack_require__(/*! ./isArguments */ 78),
|
72086 |
-
isArray = __webpack_require__(/*! ./isArray */
|
72087 |
|
72088 |
/** Built-in value references. */
|
72089 |
var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;
|
@@ -73173,8 +73212,8 @@ module.exports = factory;
|
|
73173 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
73174 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! .././editor.scss */ 95);
|
73175 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
73176 |
-
/**
|
73177 |
-
* BLOCK: UAGb - post-carousel
|
73178 |
*/
|
73179 |
|
73180 |
// Import block dependencies and components
|
@@ -73199,7 +73238,7 @@ registerBlockType("uagb/post-carousel", {
|
|
73199 |
description: uagb_blocks_info.blocks["uagb/post-carousel"]["description"],
|
73200 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].post_carousel,
|
73201 |
category: uagb_blocks_info.category,
|
73202 |
-
keywords: [__("post"), __("carousel"), __("uag")],
|
73203 |
edit: __WEBPACK_IMPORTED_MODULE_0__edit__["a" /* default */],
|
73204 |
example: {},
|
73205 |
// Render via PHP
|
@@ -73240,8 +73279,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
73240 |
|
73241 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
73242 |
|
73243 |
-
/**
|
73244 |
-
* External dependencies
|
73245 |
*/
|
73246 |
|
73247 |
|
@@ -73647,7 +73686,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73647 |
wp.element.createElement(
|
73648 |
"p",
|
73649 |
{ className: "uagb-setting-label" },
|
73650 |
-
__("Hover Color"),
|
73651 |
wp.element.createElement(
|
73652 |
"span",
|
73653 |
{ className: "components-base-control__label" },
|
@@ -73664,7 +73703,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73664 |
wp.element.createElement(
|
73665 |
"p",
|
73666 |
{ className: "uagb-setting-label" },
|
73667 |
-
__("Background Hover Color"),
|
73668 |
wp.element.createElement(
|
73669 |
"span",
|
73670 |
{ className: "components-base-control__label" },
|
@@ -73681,7 +73720,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73681 |
wp.element.createElement(
|
73682 |
"p",
|
73683 |
{ className: "uagb-setting-label" },
|
73684 |
-
__("Border Hover Color"),
|
73685 |
wp.element.createElement(
|
73686 |
"span",
|
73687 |
{ className: "components-base-control__label" },
|
@@ -73703,7 +73742,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73703 |
wp.element.createElement(
|
73704 |
"p",
|
73705 |
{ className: "uagb-setting-label" },
|
73706 |
-
__("Color"),
|
73707 |
wp.element.createElement(
|
73708 |
"span",
|
73709 |
{ className: "components-base-control__label" },
|
@@ -73720,7 +73759,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73720 |
wp.element.createElement(
|
73721 |
"p",
|
73722 |
{ className: "uagb-setting-label" },
|
73723 |
-
__("Background Color"),
|
73724 |
wp.element.createElement(
|
73725 |
"span",
|
73726 |
{ className: "components-base-control__label" },
|
@@ -73737,7 +73776,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73737 |
wp.element.createElement(
|
73738 |
"p",
|
73739 |
{ className: "uagb-setting-label" },
|
73740 |
-
__("Border Color"),
|
73741 |
wp.element.createElement(
|
73742 |
"span",
|
73743 |
{ className: "components-base-control__label" },
|
@@ -73804,7 +73843,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73804 |
|
73805 |
var taxonomyListOptions = [];
|
73806 |
|
73807 |
-
var categoryListOptions = [{ value: "", label: __("All") }];
|
73808 |
|
73809 |
if ("" != taxonomyList) {
|
73810 |
Object.keys(taxonomyList).map(function (item, thisIndex) {
|
@@ -73823,9 +73862,9 @@ var UAGBPostCarousel = function (_Component) {
|
|
73823 |
null,
|
73824 |
wp.element.createElement(
|
73825 |
PanelBody,
|
73826 |
-
{ title: __("General") },
|
73827 |
wp.element.createElement(SelectControl, {
|
73828 |
-
label: __("Post Type"),
|
73829 |
value: postType,
|
73830 |
onChange: function onChange(value) {
|
73831 |
return _this4.onSelectPostType(value);
|
@@ -73834,7 +73873,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73834 |
}),
|
73835 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
73836 |
"" != taxonomyList && wp.element.createElement(SelectControl, {
|
73837 |
-
label: __("Taxonomy"),
|
73838 |
value: taxonomyType,
|
73839 |
onChange: function onChange(value) {
|
73840 |
return _this4.onSelectTaxonomyType(value);
|
@@ -73855,7 +73894,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73855 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
73856 |
),
|
73857 |
wp.element.createElement(ToggleControl, {
|
73858 |
-
label: __("Exclude Current Post"),
|
73859 |
checked: excludeCurrentPost,
|
73860 |
onChange: function onChange(value) {
|
73861 |
return setAttributes({ excludeCurrentPost: !excludeCurrentPost });
|
@@ -73873,15 +73912,15 @@ var UAGBPostCarousel = function (_Component) {
|
|
73873 |
onChange: function onChange(value) {
|
73874 |
return setAttributes({ orderBy: value });
|
73875 |
},
|
73876 |
-
options: [{ value: "date", label: __("Date") }, { value: "title", label: __("Title") }, { value: "rand", label: __("Random") }, { value: "menu_order", label: __("Menu Order") }]
|
73877 |
}),
|
73878 |
wp.element.createElement(SelectControl, {
|
73879 |
-
label: __("Order"),
|
73880 |
value: order,
|
73881 |
onChange: function onChange(value) {
|
73882 |
return setAttributes({ order: value });
|
73883 |
},
|
73884 |
-
options: [{ value: "desc", label: __("Descending") }, { value: "asc", label: __("Ascending") }]
|
73885 |
}),
|
73886 |
wp.element.createElement(
|
73887 |
TabPanel,
|
@@ -73904,7 +73943,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73904 |
|
73905 |
if ("mobile" === tab.name) {
|
73906 |
tabout = wp.element.createElement(RangeControl, {
|
73907 |
-
label: __("Columns"),
|
73908 |
value: mcolumns,
|
73909 |
onChange: function onChange(value) {
|
73910 |
return setAttributes({ mcolumns: value });
|
@@ -73914,7 +73953,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73914 |
});
|
73915 |
} else if ("tablet" === tab.name) {
|
73916 |
tabout = wp.element.createElement(RangeControl, {
|
73917 |
-
label: __("Columns"),
|
73918 |
value: tcolumns,
|
73919 |
onChange: function onChange(value) {
|
73920 |
return setAttributes({ tcolumns: value });
|
@@ -73924,7 +73963,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73924 |
});
|
73925 |
} else {
|
73926 |
tabout = wp.element.createElement(RangeControl, {
|
73927 |
-
label: __("Columns"),
|
73928 |
value: columns,
|
73929 |
onChange: function onChange(value) {
|
73930 |
return setAttributes({ columns: value });
|
@@ -73942,7 +73981,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
73942 |
}
|
73943 |
),
|
73944 |
wp.element.createElement(ToggleControl, {
|
73945 |
-
label: __("Equal Height"),
|
73946 |
checked: equalHeight,
|
73947 |
onChange: function onChange(value) {
|
73948 |
return setAttributes({ equalHeight: !equalHeight });
|
@@ -73952,11 +73991,11 @@ var UAGBPostCarousel = function (_Component) {
|
|
73952 |
wp.element.createElement(
|
73953 |
"h2",
|
73954 |
null,
|
73955 |
-
__("If Posts Not Found")
|
73956 |
),
|
73957 |
wp.element.createElement(TextControl, {
|
73958 |
autoComplete: "off",
|
73959 |
-
label: __('Display Message'),
|
73960 |
value: postDisplaytext,
|
73961 |
onChange: function onChange(value) {
|
73962 |
return setAttributes({ postDisplaytext: value });
|
@@ -73964,33 +74003,33 @@ var UAGBPostCarousel = function (_Component) {
|
|
73964 |
}),
|
73965 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
73966 |
wp.element.createElement(ToggleControl, {
|
73967 |
-
label: __("Inherit Styling from Theme"),
|
73968 |
checked: inheritFromTheme,
|
73969 |
onChange: function onChange(value) {
|
73970 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
73971 |
},
|
73972 |
-
help: __("This will inherit all the Typography and colors for Title, Meta, Excerpt and Read More button from the theme.")
|
73973 |
})
|
73974 |
),
|
73975 |
wp.element.createElement(
|
73976 |
PanelBody,
|
73977 |
-
{ title: __("Carousel"), initialOpen: false },
|
73978 |
wp.element.createElement(ToggleControl, {
|
73979 |
-
label: __("Pause On Hover"),
|
73980 |
checked: pauseOnHover,
|
73981 |
onChange: function onChange(value) {
|
73982 |
return setAttributes({ pauseOnHover: !pauseOnHover });
|
73983 |
}
|
73984 |
}),
|
73985 |
wp.element.createElement(ToggleControl, {
|
73986 |
-
label: __("Autoplay"),
|
73987 |
checked: autoplay,
|
73988 |
onChange: function onChange(value) {
|
73989 |
return setAttributes({ autoplay: !autoplay });
|
73990 |
}
|
73991 |
}),
|
73992 |
autoplay == true && wp.element.createElement(RangeControl, {
|
73993 |
-
label: __("Autoplay Speed (ms)"),
|
73994 |
value: autoplaySpeed,
|
73995 |
onChange: function onChange(value) {
|
73996 |
return setAttributes({ autoplaySpeed: value });
|
@@ -73999,14 +74038,14 @@ var UAGBPostCarousel = function (_Component) {
|
|
73999 |
max: 10000
|
74000 |
}),
|
74001 |
wp.element.createElement(ToggleControl, {
|
74002 |
-
label: __("Infinite Loop"),
|
74003 |
checked: infiniteLoop,
|
74004 |
onChange: function onChange(value) {
|
74005 |
return setAttributes({ infiniteLoop: !infiniteLoop });
|
74006 |
}
|
74007 |
}),
|
74008 |
wp.element.createElement(RangeControl, {
|
74009 |
-
label: __("Transition Speed (ms)"),
|
74010 |
value: transitionSpeed,
|
74011 |
onChange: function onChange(value) {
|
74012 |
return setAttributes({ transitionSpeed: value });
|
@@ -74018,21 +74057,21 @@ var UAGBPostCarousel = function (_Component) {
|
|
74018 |
wp.element.createElement(
|
74019 |
"h2",
|
74020 |
null,
|
74021 |
-
__("Arrows & Dots")
|
74022 |
),
|
74023 |
wp.element.createElement(SelectControl, {
|
74024 |
-
label: __("Show Arrows & Dots"),
|
74025 |
value: arrowDots,
|
74026 |
onChange: function onChange(value) {
|
74027 |
return setAttributes({ arrowDots: value });
|
74028 |
},
|
74029 |
-
options: [{ value: "arrows", label: __("Only Arrows") }, { value: "dots", label: __("Only Dots") }, { value: "arrows_dots", label: __("Both Arrows & Dots") }]
|
74030 |
}),
|
74031 |
"dots" != arrowDots && wp.element.createElement(
|
74032 |
Fragment,
|
74033 |
null,
|
74034 |
wp.element.createElement(RangeControl, {
|
74035 |
-
label: __("Arrow Size"),
|
74036 |
value: arrowSize,
|
74037 |
onChange: function onChange(value) {
|
74038 |
return setAttributes({ arrowSize: value });
|
@@ -74041,7 +74080,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74041 |
max: 50
|
74042 |
}),
|
74043 |
wp.element.createElement(RangeControl, {
|
74044 |
-
label: __("Arrow Border Size"),
|
74045 |
value: arrowBorderSize,
|
74046 |
onChange: function onChange(value) {
|
74047 |
return setAttributes({ arrowBorderSize: value });
|
@@ -74050,7 +74089,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74050 |
max: 50
|
74051 |
}),
|
74052 |
wp.element.createElement(RangeControl, {
|
74053 |
-
label: __("Arrow Border Radius"),
|
74054 |
value: arrowBorderRadius,
|
74055 |
onChange: function onChange(value) {
|
74056 |
return setAttributes({ arrowBorderRadius: value });
|
@@ -74062,16 +74101,16 @@ var UAGBPostCarousel = function (_Component) {
|
|
74062 |
),
|
74063 |
wp.element.createElement(
|
74064 |
PanelBody,
|
74065 |
-
{ title: __("Image"), initialOpen: false },
|
74066 |
wp.element.createElement(ToggleControl, {
|
74067 |
-
label: __("Show Featured Image"),
|
74068 |
checked: displayPostImage,
|
74069 |
onChange: function onChange(value) {
|
74070 |
return setAttributes({ displayPostImage: !displayPostImage });
|
74071 |
}
|
74072 |
}),
|
74073 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
74074 |
-
label: __("Image Sizes"),
|
74075 |
value: imgSize,
|
74076 |
onChange: function onChange(value) {
|
74077 |
return setAttributes({ imgSize: value });
|
@@ -74079,12 +74118,12 @@ var UAGBPostCarousel = function (_Component) {
|
|
74079 |
options: uagb_blocks_info.image_sizes
|
74080 |
}),
|
74081 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
74082 |
-
label: __("Image Position"),
|
74083 |
value: imgPosition,
|
74084 |
onChange: function onChange(value) {
|
74085 |
return setAttributes({ imgPosition: value });
|
74086 |
},
|
74087 |
-
options: [{ value: "top", label: __("Top") }, { value: "background", label: __("Background") }]
|
74088 |
}),
|
74089 |
displayPostImage == true && imgPosition == "background" && wp.element.createElement(
|
74090 |
Fragment,
|
@@ -74092,7 +74131,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74092 |
wp.element.createElement(
|
74093 |
"p",
|
74094 |
{ className: "uagb-setting-label" },
|
74095 |
-
__("Background Overlay Color"),
|
74096 |
wp.element.createElement(
|
74097 |
"span",
|
74098 |
{ className: "components-base-control__label" },
|
@@ -74107,7 +74146,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74107 |
allowReset: true
|
74108 |
}),
|
74109 |
wp.element.createElement(RangeControl, {
|
74110 |
-
label: __("Overlay Opacity"),
|
74111 |
value: overlayOpacity,
|
74112 |
onChange: function onChange(value) {
|
74113 |
return setAttributes({ overlayOpacity: value });
|
@@ -74117,7 +74156,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74117 |
allowReset: true
|
74118 |
}),
|
74119 |
wp.element.createElement(ToggleControl, {
|
74120 |
-
label: __("Link Complete Box"),
|
74121 |
checked: linkBox,
|
74122 |
onChange: function onChange(value) {
|
74123 |
return setAttributes({ linkBox: !linkBox });
|
@@ -74127,53 +74166,53 @@ var UAGBPostCarousel = function (_Component) {
|
|
74127 |
),
|
74128 |
wp.element.createElement(
|
74129 |
PanelBody,
|
74130 |
-
{ title: __("Content"), initialOpen: false },
|
74131 |
wp.element.createElement(ToggleControl, {
|
74132 |
-
label: __("Show Title"),
|
74133 |
checked: displayPostTitle,
|
74134 |
onChange: function onChange(value) {
|
74135 |
return setAttributes({ displayPostTitle: !displayPostTitle });
|
74136 |
}
|
74137 |
}),
|
74138 |
wp.element.createElement(ToggleControl, {
|
74139 |
-
label: __("Show Author"),
|
74140 |
checked: displayPostAuthor,
|
74141 |
onChange: function onChange(value) {
|
74142 |
return setAttributes({ displayPostAuthor: !displayPostAuthor });
|
74143 |
}
|
74144 |
}),
|
74145 |
wp.element.createElement(ToggleControl, {
|
74146 |
-
label: __("Show Date"),
|
74147 |
checked: displayPostDate,
|
74148 |
onChange: function onChange(value) {
|
74149 |
return setAttributes({ displayPostDate: !displayPostDate });
|
74150 |
}
|
74151 |
}),
|
74152 |
wp.element.createElement(ToggleControl, {
|
74153 |
-
label: __("Show Comment"),
|
74154 |
checked: displayPostComment,
|
74155 |
onChange: function onChange(value) {
|
74156 |
return setAttributes({ displayPostComment: !displayPostComment });
|
74157 |
}
|
74158 |
}),
|
74159 |
wp.element.createElement(ToggleControl, {
|
74160 |
-
label: __("Show Taxonomy"),
|
74161 |
checked: displayPostTaxonomy,
|
74162 |
onChange: function onChange(value) {
|
74163 |
return setAttributes({ displayPostTaxonomy: !displayPostTaxonomy });
|
74164 |
}
|
74165 |
}),
|
74166 |
wp.element.createElement(ToggleControl, {
|
74167 |
-
label: __("Show Excerpt"),
|
74168 |
checked: displayPostExcerpt,
|
74169 |
onChange: function onChange(value) {
|
74170 |
return setAttributes({ displayPostExcerpt: !displayPostExcerpt });
|
74171 |
}
|
74172 |
}),
|
74173 |
displayPostExcerpt && wp.element.createElement(RadioControl, {
|
74174 |
-
label: __('Show:'),
|
74175 |
selected: displayPostContentRadio,
|
74176 |
-
options: [{ label: __('Excerpt'), value: "excerpt" }, { label: __('Full post'), value: "full_post" }],
|
74177 |
onChange: function onChange(value) {
|
74178 |
return setAttributes({
|
74179 |
displayPostContentRadio: value
|
@@ -74181,7 +74220,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74181 |
}
|
74182 |
}),
|
74183 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(RangeControl, {
|
74184 |
-
label: __('Max number of words in excerpt'),
|
74185 |
value: excerptLength,
|
74186 |
onChange: function onChange(value) {
|
74187 |
return setAttributes({ excerptLength: value });
|
@@ -74193,16 +74232,16 @@ var UAGBPostCarousel = function (_Component) {
|
|
74193 |
),
|
74194 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(
|
74195 |
PanelBody,
|
74196 |
-
{ title: __("Read More Link"), initialOpen: false },
|
74197 |
wp.element.createElement(ToggleControl, {
|
74198 |
-
label: __("Show Read More Link"),
|
74199 |
checked: displayPostLink,
|
74200 |
onChange: function onChange(value) {
|
74201 |
return setAttributes({ displayPostLink: !displayPostLink });
|
74202 |
}
|
74203 |
}),
|
74204 |
wp.element.createElement(ToggleControl, {
|
74205 |
-
label: __("Open links in New Tab"),
|
74206 |
checked: newTab,
|
74207 |
onChange: function onChange(value) {
|
74208 |
return setAttributes({ newTab: !newTab });
|
@@ -74215,10 +74254,10 @@ var UAGBPostCarousel = function (_Component) {
|
|
74215 |
wp.element.createElement(
|
74216 |
"h2",
|
74217 |
null,
|
74218 |
-
__("Button Text")
|
74219 |
),
|
74220 |
wp.element.createElement(TextControl, {
|
74221 |
-
label: __("Text"),
|
74222 |
value: ctaText,
|
74223 |
onChange: function onChange(value) {
|
74224 |
return setAttributes({ ctaText: value });
|
@@ -74228,7 +74267,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74228 |
Fragment,
|
74229 |
null,
|
74230 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography__["a" /* default */], {
|
74231 |
-
label: __("CTA Tag"),
|
74232 |
attributes: attributes,
|
74233 |
setAttributes: setAttributes,
|
74234 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: "ctaLoadGoogleFonts" },
|
@@ -74256,10 +74295,10 @@ var UAGBPostCarousel = function (_Component) {
|
|
74256 |
onChange: function onChange(value) {
|
74257 |
return setAttributes({ borderStyle: value });
|
74258 |
},
|
74259 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dashed", label: __("Dashed") }, { value: "dotted", label: __("Dotted") }, { value: "double", label: __("Double") }]
|
74260 |
}),
|
74261 |
wp.element.createElement(RangeControl, {
|
74262 |
-
label: __("Width"),
|
74263 |
value: borderWidth,
|
74264 |
onChange: function onChange(value) {
|
74265 |
return setAttributes({ borderWidth: value });
|
@@ -74269,7 +74308,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74269 |
allowReset: true
|
74270 |
}),
|
74271 |
wp.element.createElement(RangeControl, {
|
74272 |
-
label: __("Rounded Corner"),
|
74273 |
value: borderRadius,
|
74274 |
onChange: function onChange(value) {
|
74275 |
return setAttributes({ borderRadius: value });
|
@@ -74282,7 +74321,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74282 |
wp.element.createElement(
|
74283 |
"h2",
|
74284 |
null,
|
74285 |
-
__("Button Padding (px)")
|
74286 |
),
|
74287 |
wp.element.createElement(RangeControl, {
|
74288 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -74318,11 +74357,11 @@ var UAGBPostCarousel = function (_Component) {
|
|
74318 |
activeClass: "active-tab",
|
74319 |
tabs: [{
|
74320 |
name: "normal",
|
74321 |
-
title: __("Normal"),
|
74322 |
className: "uagb-normal-tab"
|
74323 |
}, {
|
74324 |
name: "hover",
|
74325 |
-
title: __("Hover"),
|
74326 |
className: "uagb-hover-tab"
|
74327 |
}] },
|
74328 |
function (tabName) {
|
@@ -74344,20 +74383,20 @@ var UAGBPostCarousel = function (_Component) {
|
|
74344 |
),
|
74345 |
wp.element.createElement(
|
74346 |
PanelBody,
|
74347 |
-
{ title: __("Typography"), initialOpen: false },
|
74348 |
wp.element.createElement(SelectControl, {
|
74349 |
label: __("Title Tag"),
|
74350 |
value: titleTag,
|
74351 |
onChange: function onChange(value) {
|
74352 |
return setAttributes({ titleTag: value });
|
74353 |
},
|
74354 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }, { value: "span", label: __("span") }, { value: "p", label: __("p") }]
|
74355 |
}),
|
74356 |
!inheritFromTheme && wp.element.createElement(
|
74357 |
Fragment,
|
74358 |
null,
|
74359 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography__["a" /* default */], {
|
74360 |
-
label: __("Typography"),
|
74361 |
attributes: attributes,
|
74362 |
setAttributes: setAttributes,
|
74363 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: "titleLoadGoogleFonts" },
|
@@ -74380,10 +74419,10 @@ var UAGBPostCarousel = function (_Component) {
|
|
74380 |
wp.element.createElement(
|
74381 |
"h2",
|
74382 |
null,
|
74383 |
-
__("Meta")
|
74384 |
),
|
74385 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography__["a" /* default */], {
|
74386 |
-
label: __("Typography"),
|
74387 |
attributes: attributes,
|
74388 |
setAttributes: setAttributes,
|
74389 |
loadGoogleFonts: { value: metaLoadGoogleFonts, label: "metaLoadGoogleFonts" },
|
@@ -74407,10 +74446,10 @@ var UAGBPostCarousel = function (_Component) {
|
|
74407 |
wp.element.createElement(
|
74408 |
"h2",
|
74409 |
null,
|
74410 |
-
__("Excerpt")
|
74411 |
),
|
74412 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography__["a" /* default */], {
|
74413 |
-
label: __("Typography"),
|
74414 |
attributes: attributes,
|
74415 |
setAttributes: setAttributes,
|
74416 |
loadGoogleFonts: { value: excerptLoadGoogleFonts, label: "excerptLoadGoogleFonts" },
|
@@ -74431,11 +74470,11 @@ var UAGBPostCarousel = function (_Component) {
|
|
74431 |
),
|
74432 |
wp.element.createElement(
|
74433 |
PanelBody,
|
74434 |
-
{ title: __("Colors"), initialOpen: false },
|
74435 |
wp.element.createElement(
|
74436 |
"p",
|
74437 |
{ className: "uagb-setting-label" },
|
74438 |
-
__("Blog Background Color"),
|
74439 |
wp.element.createElement(
|
74440 |
"span",
|
74441 |
{ className: "components-base-control__label" },
|
@@ -74455,7 +74494,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74455 |
wp.element.createElement(
|
74456 |
"p",
|
74457 |
{ className: "uagb-setting-label" },
|
74458 |
-
__("Title Color"),
|
74459 |
wp.element.createElement(
|
74460 |
"span",
|
74461 |
{ className: "components-base-control__label" },
|
@@ -74472,7 +74511,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74472 |
wp.element.createElement(
|
74473 |
"p",
|
74474 |
{ className: "uagb-setting-label" },
|
74475 |
-
__("Meta Color"),
|
74476 |
wp.element.createElement(
|
74477 |
"span",
|
74478 |
{ className: "components-base-control__label" },
|
@@ -74491,7 +74530,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74491 |
wp.element.createElement(
|
74492 |
"p",
|
74493 |
{ className: "uagb-setting-label" },
|
74494 |
-
__("Excerpt Color"),
|
74495 |
wp.element.createElement(
|
74496 |
"span",
|
74497 |
{ className: "components-base-control__label" },
|
@@ -74510,7 +74549,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74510 |
wp.element.createElement(
|
74511 |
"p",
|
74512 |
{ className: "uagb-setting-label" },
|
74513 |
-
__("Arrows & Dots Color"),
|
74514 |
wp.element.createElement(
|
74515 |
"span",
|
74516 |
{ className: "components-base-control__label" },
|
@@ -74527,9 +74566,9 @@ var UAGBPostCarousel = function (_Component) {
|
|
74527 |
),
|
74528 |
wp.element.createElement(
|
74529 |
PanelBody,
|
74530 |
-
{ title: __("Spacing"), initialOpen: false },
|
74531 |
wp.element.createElement(RangeControl, {
|
74532 |
-
label: __("Row Gap"),
|
74533 |
value: rowGap,
|
74534 |
onChange: function onChange(value) {
|
74535 |
return setAttributes({ rowGap: value });
|
@@ -74539,7 +74578,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74539 |
allowReset: true
|
74540 |
}),
|
74541 |
wp.element.createElement(RangeControl, {
|
74542 |
-
label: __("Gap Between Posts & Dots"),
|
74543 |
value: columnGap,
|
74544 |
onChange: function onChange(value) {
|
74545 |
return setAttributes({ columnGap: value });
|
@@ -74550,7 +74589,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74550 |
}),
|
74551 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
74552 |
wp.element.createElement(RangeControl, {
|
74553 |
-
label: __("Content Padding"),
|
74554 |
value: contentPadding,
|
74555 |
onChange: function onChange(value) {
|
74556 |
return setAttributes({ contentPadding: value });
|
@@ -74560,7 +74599,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74560 |
allowReset: true
|
74561 |
}),
|
74562 |
wp.element.createElement(RangeControl, {
|
74563 |
-
label: __("Content Padding (Mobile)"),
|
74564 |
value: contentPaddingMobile,
|
74565 |
onChange: function onChange(value) {
|
74566 |
return setAttributes({ contentPaddingMobile: value });
|
@@ -74571,7 +74610,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74571 |
}),
|
74572 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
74573 |
wp.element.createElement(RangeControl, {
|
74574 |
-
label: __("Image Bottom Spacing"),
|
74575 |
value: imageBottomSpace,
|
74576 |
onChange: function onChange(value) {
|
74577 |
return setAttributes({ imageBottomSpace: value });
|
@@ -74581,7 +74620,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74581 |
allowReset: true
|
74582 |
}),
|
74583 |
wp.element.createElement(RangeControl, {
|
74584 |
-
label: __("Title Bottom Spacing"),
|
74585 |
value: titleBottomSpace,
|
74586 |
onChange: function onChange(value) {
|
74587 |
return setAttributes({ titleBottomSpace: value });
|
@@ -74591,7 +74630,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74591 |
allowReset: true
|
74592 |
}),
|
74593 |
wp.element.createElement(RangeControl, {
|
74594 |
-
label: __("Meta Bottom Spacing"),
|
74595 |
value: metaBottomSpace,
|
74596 |
onChange: function onChange(value) {
|
74597 |
return setAttributes({ metaBottomSpace: value });
|
@@ -74601,7 +74640,7 @@ var UAGBPostCarousel = function (_Component) {
|
|
74601 |
allowReset: true
|
74602 |
}),
|
74603 |
wp.element.createElement(RangeControl, {
|
74604 |
-
label: __("Excerpt Bottom Spacing"),
|
74605 |
value: excerptBottomSpace,
|
74606 |
onChange: function onChange(value) {
|
74607 |
return setAttributes({ excerptBottomSpace: value });
|
@@ -77196,931 +77235,931 @@ exports.NextArrow = NextArrow;
|
|
77196 |
|
77197 |
"use strict";
|
77198 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
77199 |
-
/* WEBPACK VAR INJECTION */(function(global) {/**
|
77200 |
-
* A collection of shims that provide minimal functionality of the ES6 collections.
|
77201 |
-
*
|
77202 |
-
* These implementations are not meant to be used outside of the ResizeObserver
|
77203 |
-
* modules as they cover only a limited range of use cases.
|
77204 |
-
*/
|
77205 |
-
/* eslint-disable require-jsdoc, valid-jsdoc */
|
77206 |
-
var MapShim = (function () {
|
77207 |
-
if (typeof Map !== 'undefined') {
|
77208 |
-
return Map;
|
77209 |
-
}
|
77210 |
-
/**
|
77211 |
-
* Returns index in provided array that matches the specified key.
|
77212 |
-
*
|
77213 |
-
* @param {Array<Array>} arr
|
77214 |
-
* @param {*} key
|
77215 |
-
* @returns {number}
|
77216 |
-
*/
|
77217 |
-
function getIndex(arr, key) {
|
77218 |
-
var result = -1;
|
77219 |
-
arr.some(function (entry, index) {
|
77220 |
-
if (entry[0] === key) {
|
77221 |
-
result = index;
|
77222 |
-
return true;
|
77223 |
-
}
|
77224 |
-
return false;
|
77225 |
-
});
|
77226 |
-
return result;
|
77227 |
-
}
|
77228 |
-
return /** @class */ (function () {
|
77229 |
-
function class_1() {
|
77230 |
-
this.__entries__ = [];
|
77231 |
-
}
|
77232 |
-
Object.defineProperty(class_1.prototype, "size", {
|
77233 |
-
/**
|
77234 |
-
* @returns {boolean}
|
77235 |
-
*/
|
77236 |
-
get: function () {
|
77237 |
-
return this.__entries__.length;
|
77238 |
-
},
|
77239 |
-
enumerable: true,
|
77240 |
-
configurable: true
|
77241 |
-
});
|
77242 |
-
/**
|
77243 |
-
* @param {*} key
|
77244 |
-
* @returns {*}
|
77245 |
-
*/
|
77246 |
-
class_1.prototype.get = function (key) {
|
77247 |
-
var index = getIndex(this.__entries__, key);
|
77248 |
-
var entry = this.__entries__[index];
|
77249 |
-
return entry && entry[1];
|
77250 |
-
};
|
77251 |
-
/**
|
77252 |
-
* @param {*} key
|
77253 |
-
* @param {*} value
|
77254 |
-
* @returns {void}
|
77255 |
-
*/
|
77256 |
-
class_1.prototype.set = function (key, value) {
|
77257 |
-
var index = getIndex(this.__entries__, key);
|
77258 |
-
if (~index) {
|
77259 |
-
this.__entries__[index][1] = value;
|
77260 |
-
}
|
77261 |
-
else {
|
77262 |
-
this.__entries__.push([key, value]);
|
77263 |
-
}
|
77264 |
-
};
|
77265 |
-
/**
|
77266 |
-
* @param {*} key
|
77267 |
-
* @returns {void}
|
77268 |
-
*/
|
77269 |
-
class_1.prototype.delete = function (key) {
|
77270 |
-
var entries = this.__entries__;
|
77271 |
-
var index = getIndex(entries, key);
|
77272 |
-
if (~index) {
|
77273 |
-
entries.splice(index, 1);
|
77274 |
-
}
|
77275 |
-
};
|
77276 |
-
/**
|
77277 |
-
* @param {*} key
|
77278 |
-
* @returns {void}
|
77279 |
-
*/
|
77280 |
-
class_1.prototype.has = function (key) {
|
77281 |
-
return !!~getIndex(this.__entries__, key);
|
77282 |
-
};
|
77283 |
-
/**
|
77284 |
-
* @returns {void}
|
77285 |
-
*/
|
77286 |
-
class_1.prototype.clear = function () {
|
77287 |
-
this.__entries__.splice(0);
|
77288 |
-
};
|
77289 |
-
/**
|
77290 |
-
* @param {Function} callback
|
77291 |
-
* @param {*} [ctx=null]
|
77292 |
-
* @returns {void}
|
77293 |
-
*/
|
77294 |
-
class_1.prototype.forEach = function (callback, ctx) {
|
77295 |
-
if (ctx === void 0) { ctx = null; }
|
77296 |
-
for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
|
77297 |
-
var entry = _a[_i];
|
77298 |
-
callback.call(ctx, entry[1], entry[0]);
|
77299 |
-
}
|
77300 |
-
};
|
77301 |
-
return class_1;
|
77302 |
-
}());
|
77303 |
})();
|
77304 |
|
77305 |
-
/**
|
77306 |
-
* Detects whether window and document objects are available in current environment.
|
77307 |
-
*/
|
77308 |
var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;
|
77309 |
|
77310 |
-
// Returns global object of a current environment.
|
77311 |
-
var global$1 = (function () {
|
77312 |
-
if (typeof global !== 'undefined' && global.Math === Math) {
|
77313 |
-
return global;
|
77314 |
-
}
|
77315 |
-
if (typeof self !== 'undefined' && self.Math === Math) {
|
77316 |
-
return self;
|
77317 |
-
}
|
77318 |
-
if (typeof window !== 'undefined' && window.Math === Math) {
|
77319 |
-
return window;
|
77320 |
-
}
|
77321 |
-
// eslint-disable-next-line no-new-func
|
77322 |
-
return Function('return this')();
|
77323 |
})();
|
77324 |
|
77325 |
-
/**
|
77326 |
-
* A shim for the requestAnimationFrame which falls back to the setTimeout if
|
77327 |
-
* first one is not supported.
|
77328 |
-
*
|
77329 |
-
* @returns {number} Requests' identifier.
|
77330 |
-
*/
|
77331 |
-
var requestAnimationFrame$1 = (function () {
|
77332 |
-
if (typeof requestAnimationFrame === 'function') {
|
77333 |
-
// It's required to use a bounded function because IE sometimes throws
|
77334 |
-
// an "Invalid calling object" error if rAF is invoked without the global
|
77335 |
-
// object on the left hand side.
|
77336 |
-
return requestAnimationFrame.bind(global$1);
|
77337 |
-
}
|
77338 |
-
return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };
|
77339 |
})();
|
77340 |
|
77341 |
-
// Defines minimum timeout before adding a trailing call.
|
77342 |
-
var trailingTimeout = 2;
|
77343 |
-
/**
|
77344 |
-
* Creates a wrapper function which ensures that provided callback will be
|
77345 |
-
* invoked only once during the specified delay period.
|
77346 |
-
*
|
77347 |
-
* @param {Function} callback - Function to be invoked after the delay period.
|
77348 |
-
* @param {number} delay - Delay after which to invoke callback.
|
77349 |
-
* @returns {Function}
|
77350 |
-
*/
|
77351 |
-
function throttle (callback, delay) {
|
77352 |
-
var leadingCall = false, trailingCall = false, lastCallTime = 0;
|
77353 |
-
/**
|
77354 |
-
* Invokes the original callback function and schedules new invocation if
|
77355 |
-
* the "proxy" was called during current request.
|
77356 |
-
*
|
77357 |
-
* @returns {void}
|
77358 |
-
*/
|
77359 |
-
function resolvePending() {
|
77360 |
-
if (leadingCall) {
|
77361 |
-
leadingCall = false;
|
77362 |
-
callback();
|
77363 |
-
}
|
77364 |
-
if (trailingCall) {
|
77365 |
-
proxy();
|
77366 |
-
}
|
77367 |
-
}
|
77368 |
-
/**
|
77369 |
-
* Callback invoked after the specified delay. It will further postpone
|
77370 |
-
* invocation of the original function delegating it to the
|
77371 |
-
* requestAnimationFrame.
|
77372 |
-
*
|
77373 |
-
* @returns {void}
|
77374 |
-
*/
|
77375 |
-
function timeoutCallback() {
|
77376 |
-
requestAnimationFrame$1(resolvePending);
|
77377 |
-
}
|
77378 |
-
/**
|
77379 |
-
* Schedules invocation of the original function.
|
77380 |
-
*
|
77381 |
-
* @returns {void}
|
77382 |
-
*/
|
77383 |
-
function proxy() {
|
77384 |
-
var timeStamp = Date.now();
|
77385 |
-
if (leadingCall) {
|
77386 |
-
// Reject immediately following calls.
|
77387 |
-
if (timeStamp - lastCallTime < trailingTimeout) {
|
77388 |
-
return;
|
77389 |
-
}
|
77390 |
-
// Schedule new call to be in invoked when the pending one is resolved.
|
77391 |
-
// This is important for "transitions" which never actually start
|
77392 |
-
// immediately so there is a chance that we might miss one if change
|
77393 |
-
// happens amids the pending invocation.
|
77394 |
-
trailingCall = true;
|
77395 |
-
}
|
77396 |
-
else {
|
77397 |
-
leadingCall = true;
|
77398 |
-
trailingCall = false;
|
77399 |
-
setTimeout(timeoutCallback, delay);
|
77400 |
-
}
|
77401 |
-
lastCallTime = timeStamp;
|
77402 |
-
}
|
77403 |
-
return proxy;
|
77404 |
-
}
|
77405 |
-
|
77406 |
-
// Minimum delay before invoking the update of observers.
|
77407 |
-
var REFRESH_DELAY = 20;
|
77408 |
-
// A list of substrings of CSS properties used to find transition events that
|
77409 |
-
// might affect dimensions of observed elements.
|
77410 |
-
var transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];
|
77411 |
-
// Check if MutationObserver is available.
|
77412 |
-
var mutationObserverSupported = typeof MutationObserver !== 'undefined';
|
77413 |
-
/**
|
77414 |
-
* Singleton controller class which handles updates of ResizeObserver instances.
|
77415 |
-
*/
|
77416 |
-
var ResizeObserverController = /** @class */ (function () {
|
77417 |
-
/**
|
77418 |
-
* Creates a new instance of ResizeObserverController.
|
77419 |
-
*
|
77420 |
-
* @private
|
77421 |
-
*/
|
77422 |
-
function ResizeObserverController() {
|
77423 |
-
/**
|
77424 |
-
* Indicates whether DOM listeners have been added.
|
77425 |
-
*
|
77426 |
-
* @private {boolean}
|
77427 |
-
*/
|
77428 |
-
this.connected_ = false;
|
77429 |
-
/**
|
77430 |
-
* Tells that controller has subscribed for Mutation Events.
|
77431 |
-
*
|
77432 |
-
* @private {boolean}
|
77433 |
-
*/
|
77434 |
-
this.mutationEventsAdded_ = false;
|
77435 |
-
/**
|
77436 |
-
* Keeps reference to the instance of MutationObserver.
|
77437 |
-
*
|
77438 |
-
* @private {MutationObserver}
|
77439 |
-
*/
|
77440 |
-
this.mutationsObserver_ = null;
|
77441 |
-
/**
|
77442 |
-
* A list of connected observers.
|
77443 |
-
*
|
77444 |
-
* @private {Array<ResizeObserverSPI>}
|
77445 |
-
*/
|
77446 |
-
this.observers_ = [];
|
77447 |
-
this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);
|
77448 |
-
this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
|
77449 |
-
}
|
77450 |
-
/**
|
77451 |
-
* Adds observer to observers list.
|
77452 |
-
*
|
77453 |
-
* @param {ResizeObserverSPI} observer - Observer to be added.
|
77454 |
-
* @returns {void}
|
77455 |
-
*/
|
77456 |
-
ResizeObserverController.prototype.addObserver = function (observer) {
|
77457 |
-
if (!~this.observers_.indexOf(observer)) {
|
77458 |
-
this.observers_.push(observer);
|
77459 |
-
}
|
77460 |
-
// Add listeners if they haven't been added yet.
|
77461 |
-
if (!this.connected_) {
|
77462 |
-
this.connect_();
|
77463 |
-
}
|
77464 |
-
};
|
77465 |
-
/**
|
77466 |
-
* Removes observer from observers list.
|
77467 |
-
*
|
77468 |
-
* @param {ResizeObserverSPI} observer - Observer to be removed.
|
77469 |
-
* @returns {void}
|
77470 |
-
*/
|
77471 |
-
ResizeObserverController.prototype.removeObserver = function (observer) {
|
77472 |
-
var observers = this.observers_;
|
77473 |
-
var index = observers.indexOf(observer);
|
77474 |
-
// Remove observer if it's present in registry.
|
77475 |
-
if (~index) {
|
77476 |
-
observers.splice(index, 1);
|
77477 |
-
}
|
77478 |
-
// Remove listeners if controller has no connected observers.
|
77479 |
-
if (!observers.length && this.connected_) {
|
77480 |
-
this.disconnect_();
|
77481 |
-
}
|
77482 |
-
};
|
77483 |
-
/**
|
77484 |
-
* Invokes the update of observers. It will continue running updates insofar
|
77485 |
-
* it detects changes.
|
77486 |
-
*
|
77487 |
-
* @returns {void}
|
77488 |
-
*/
|
77489 |
-
ResizeObserverController.prototype.refresh = function () {
|
77490 |
-
var changesDetected = this.updateObservers_();
|
77491 |
-
// Continue running updates if changes have been detected as there might
|
77492 |
-
// be future ones caused by CSS transitions.
|
77493 |
-
if (changesDetected) {
|
77494 |
-
this.refresh();
|
77495 |
-
}
|
77496 |
-
};
|
77497 |
-
/**
|
77498 |
-
* Updates every observer from observers list and notifies them of queued
|
77499 |
-
* entries.
|
77500 |
-
*
|
77501 |
-
* @private
|
77502 |
-
* @returns {boolean} Returns "true" if any observer has detected changes in
|
77503 |
-
* dimensions of it's elements.
|
77504 |
-
*/
|
77505 |
-
ResizeObserverController.prototype.updateObservers_ = function () {
|
77506 |
-
// Collect observers that have active observations.
|
77507 |
-
var activeObservers = this.observers_.filter(function (observer) {
|
77508 |
-
return observer.gatherActive(), observer.hasActive();
|
77509 |
-
});
|
77510 |
-
// Deliver notifications in a separate cycle in order to avoid any
|
77511 |
-
// collisions between observers, e.g. when multiple instances of
|
77512 |
-
// ResizeObserver are tracking the same element and the callback of one
|
77513 |
-
// of them changes content dimensions of the observed target. Sometimes
|
77514 |
-
// this may result in notifications being blocked for the rest of observers.
|
77515 |
-
activeObservers.forEach(function (observer) { return observer.broadcastActive(); });
|
77516 |
-
return activeObservers.length > 0;
|
77517 |
-
};
|
77518 |
-
/**
|
77519 |
-
* Initializes DOM listeners.
|
77520 |
-
*
|
77521 |
-
* @private
|
77522 |
-
* @returns {void}
|
77523 |
-
*/
|
77524 |
-
ResizeObserverController.prototype.connect_ = function () {
|
77525 |
-
// Do nothing if running in a non-browser environment or if listeners
|
77526 |
-
// have been already added.
|
77527 |
-
if (!isBrowser || this.connected_) {
|
77528 |
-
return;
|
77529 |
-
}
|
77530 |
-
// Subscription to the "Transitionend" event is used as a workaround for
|
77531 |
-
// delayed transitions. This way it's possible to capture at least the
|
77532 |
-
// final state of an element.
|
77533 |
-
document.addEventListener('transitionend', this.onTransitionEnd_);
|
77534 |
-
window.addEventListener('resize', this.refresh);
|
77535 |
-
if (mutationObserverSupported) {
|
77536 |
-
this.mutationsObserver_ = new MutationObserver(this.refresh);
|
77537 |
-
this.mutationsObserver_.observe(document, {
|
77538 |
-
attributes: true,
|
77539 |
-
childList: true,
|
77540 |
-
characterData: true,
|
77541 |
-
subtree: true
|
77542 |
-
});
|
77543 |
-
}
|
77544 |
-
else {
|
77545 |
-
document.addEventListener('DOMSubtreeModified', this.refresh);
|
77546 |
-
this.mutationEventsAdded_ = true;
|
77547 |
-
}
|
77548 |
-
this.connected_ = true;
|
77549 |
-
};
|
77550 |
-
/**
|
77551 |
-
* Removes DOM listeners.
|
77552 |
-
*
|
77553 |
-
* @private
|
77554 |
-
* @returns {void}
|
77555 |
-
*/
|
77556 |
-
ResizeObserverController.prototype.disconnect_ = function () {
|
77557 |
-
// Do nothing if running in a non-browser environment or if listeners
|
77558 |
-
// have been already removed.
|
77559 |
-
if (!isBrowser || !this.connected_) {
|
77560 |
-
return;
|
77561 |
-
}
|
77562 |
-
document.removeEventListener('transitionend', this.onTransitionEnd_);
|
77563 |
-
window.removeEventListener('resize', this.refresh);
|
77564 |
-
if (this.mutationsObserver_) {
|
77565 |
-
this.mutationsObserver_.disconnect();
|
77566 |
-
}
|
77567 |
-
if (this.mutationEventsAdded_) {
|
77568 |
-
document.removeEventListener('DOMSubtreeModified', this.refresh);
|
77569 |
-
}
|
77570 |
-
this.mutationsObserver_ = null;
|
77571 |
-
this.mutationEventsAdded_ = false;
|
77572 |
-
this.connected_ = false;
|
77573 |
-
};
|
77574 |
-
/**
|
77575 |
-
* "Transitionend" event handler.
|
77576 |
-
*
|
77577 |
-
* @private
|
77578 |
-
* @param {TransitionEvent} event
|
77579 |
-
* @returns {void}
|
77580 |
-
*/
|
77581 |
-
ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {
|
77582 |
-
var _b = _a.propertyName, propertyName = _b === void 0 ? '' : _b;
|
77583 |
-
// Detect whether transition may affect dimensions of an element.
|
77584 |
-
var isReflowProperty = transitionKeys.some(function (key) {
|
77585 |
-
return !!~propertyName.indexOf(key);
|
77586 |
-
});
|
77587 |
-
if (isReflowProperty) {
|
77588 |
-
this.refresh();
|
77589 |
-
}
|
77590 |
-
};
|
77591 |
-
/**
|
77592 |
-
* Returns instance of the ResizeObserverController.
|
77593 |
-
*
|
77594 |
-
* @returns {ResizeObserverController}
|
77595 |
-
*/
|
77596 |
-
ResizeObserverController.getInstance = function () {
|
77597 |
-
if (!this.instance_) {
|
77598 |
-
this.instance_ = new ResizeObserverController();
|
77599 |
-
}
|
77600 |
-
return this.instance_;
|
77601 |
-
};
|
77602 |
-
/**
|
77603 |
-
* Holds reference to the controller's instance.
|
77604 |
-
*
|
77605 |
-
* @private {ResizeObserverController}
|
77606 |
-
*/
|
77607 |
-
ResizeObserverController.instance_ = null;
|
77608 |
-
return ResizeObserverController;
|
77609 |
}());
|
77610 |
|
77611 |
-
/**
|
77612 |
-
* Defines non-writable/enumerable properties of the provided target object.
|
77613 |
-
*
|
77614 |
-
* @param {Object} target - Object for which to define properties.
|
77615 |
-
* @param {Object} props - Properties to be defined.
|
77616 |
-
* @returns {Object} Target object.
|
77617 |
-
*/
|
77618 |
-
var defineConfigurable = (function (target, props) {
|
77619 |
-
for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {
|
77620 |
-
var key = _a[_i];
|
77621 |
-
Object.defineProperty(target, key, {
|
77622 |
-
value: props[key],
|
77623 |
-
enumerable: false,
|
77624 |
-
writable: false,
|
77625 |
-
configurable: true
|
77626 |
-
});
|
77627 |
-
}
|
77628 |
-
return target;
|
77629 |
});
|
77630 |
|
77631 |
-
/**
|
77632 |
-
* Returns the global object associated with provided element.
|
77633 |
-
*
|
77634 |
-
* @param {Object} target
|
77635 |
-
* @returns {Object}
|
77636 |
-
*/
|
77637 |
-
var getWindowOf = (function (target) {
|
77638 |
-
// Assume that the element is an instance of Node, which means that it
|
77639 |
-
// has the "ownerDocument" property from which we can retrieve a
|
77640 |
-
// corresponding global object.
|
77641 |
-
var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;
|
77642 |
-
// Return the local global object if it's not possible extract one from
|
77643 |
-
// provided element.
|
77644 |
-
return ownerGlobal || global$1;
|
77645 |
});
|
77646 |
|
77647 |
-
// Placeholder of an empty content rectangle.
|
77648 |
-
var emptyRect = createRectInit(0, 0, 0, 0);
|
77649 |
-
/**
|
77650 |
-
* Converts provided string to a number.
|
77651 |
-
*
|
77652 |
-
* @param {number|string} value
|
77653 |
-
* @returns {number}
|
77654 |
-
*/
|
77655 |
-
function toFloat(value) {
|
77656 |
-
return parseFloat(value) || 0;
|
77657 |
-
}
|
77658 |
-
/**
|
77659 |
-
* Extracts borders size from provided styles.
|
77660 |
-
*
|
77661 |
-
* @param {CSSStyleDeclaration} styles
|
77662 |
-
* @param {...string} positions - Borders positions (top, right, ...)
|
77663 |
-
* @returns {number}
|
77664 |
-
*/
|
77665 |
-
function getBordersSize(styles) {
|
77666 |
-
var positions = [];
|
77667 |
-
for (var _i = 1; _i < arguments.length; _i++) {
|
77668 |
-
positions[_i - 1] = arguments[_i];
|
77669 |
-
}
|
77670 |
-
return positions.reduce(function (size, position) {
|
77671 |
-
var value = styles['border-' + position + '-width'];
|
77672 |
-
return size + toFloat(value);
|
77673 |
-
}, 0);
|
77674 |
-
}
|
77675 |
-
/**
|
77676 |
-
* Extracts paddings sizes from provided styles.
|
77677 |
-
*
|
77678 |
-
* @param {CSSStyleDeclaration} styles
|
77679 |
-
* @returns {Object} Paddings box.
|
77680 |
-
*/
|
77681 |
-
function getPaddings(styles) {
|
77682 |
-
var positions = ['top', 'right', 'bottom', 'left'];
|
77683 |
-
var paddings = {};
|
77684 |
-
for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {
|
77685 |
-
var position = positions_1[_i];
|
77686 |
-
var value = styles['padding-' + position];
|
77687 |
-
paddings[position] = toFloat(value);
|
77688 |
-
}
|
77689 |
-
return paddings;
|
77690 |
-
}
|
77691 |
-
/**
|
77692 |
-
* Calculates content rectangle of provided SVG element.
|
77693 |
-
*
|
77694 |
-
* @param {SVGGraphicsElement} target - Element content rectangle of which needs
|
77695 |
-
* to be calculated.
|
77696 |
-
* @returns {DOMRectInit}
|
77697 |
-
*/
|
77698 |
-
function getSVGContentRect(target) {
|
77699 |
-
var bbox = target.getBBox();
|
77700 |
-
return createRectInit(0, 0, bbox.width, bbox.height);
|
77701 |
-
}
|
77702 |
-
/**
|
77703 |
-
* Calculates content rectangle of provided HTMLElement.
|
77704 |
-
*
|
77705 |
-
* @param {HTMLElement} target - Element for which to calculate the content rectangle.
|
77706 |
-
* @returns {DOMRectInit}
|
77707 |
-
*/
|
77708 |
-
function getHTMLElementContentRect(target) {
|
77709 |
-
// Client width & height properties can't be
|
77710 |
-
// used exclusively as they provide rounded values.
|
77711 |
-
var clientWidth = target.clientWidth, clientHeight = target.clientHeight;
|
77712 |
-
// By this condition we can catch all non-replaced inline, hidden and
|
77713 |
-
// detached elements. Though elements with width & height properties less
|
77714 |
-
// than 0.5 will be discarded as well.
|
77715 |
-
//
|
77716 |
-
// Without it we would need to implement separate methods for each of
|
77717 |
-
// those cases and it's not possible to perform a precise and performance
|
77718 |
-
// effective test for hidden elements. E.g. even jQuery's ':visible' filter
|
77719 |
-
// gives wrong results for elements with width & height less than 0.5.
|
77720 |
-
if (!clientWidth && !clientHeight) {
|
77721 |
-
return emptyRect;
|
77722 |
-
}
|
77723 |
-
var styles = getWindowOf(target).getComputedStyle(target);
|
77724 |
-
var paddings = getPaddings(styles);
|
77725 |
-
var horizPad = paddings.left + paddings.right;
|
77726 |
-
var vertPad = paddings.top + paddings.bottom;
|
77727 |
-
// Computed styles of width & height are being used because they are the
|
77728 |
-
// only dimensions available to JS that contain non-rounded values. It could
|
77729 |
-
// be possible to utilize the getBoundingClientRect if only it's data wasn't
|
77730 |
-
// affected by CSS transformations let alone paddings, borders and scroll bars.
|
77731 |
-
var width = toFloat(styles.width), height = toFloat(styles.height);
|
77732 |
-
// Width & height include paddings and borders when the 'border-box' box
|
77733 |
-
// model is applied (except for IE).
|
77734 |
-
if (styles.boxSizing === 'border-box') {
|
77735 |
-
// Following conditions are required to handle Internet Explorer which
|
77736 |
-
// doesn't include paddings and borders to computed CSS dimensions.
|
77737 |
-
//
|
77738 |
-
// We can say that if CSS dimensions + paddings are equal to the "client"
|
77739 |
-
// properties then it's either IE, and thus we don't need to subtract
|
77740 |
-
// anything, or an element merely doesn't have paddings/borders styles.
|
77741 |
-
if (Math.round(width + horizPad) !== clientWidth) {
|
77742 |
-
width -= getBordersSize(styles, 'left', 'right') + horizPad;
|
77743 |
-
}
|
77744 |
-
if (Math.round(height + vertPad) !== clientHeight) {
|
77745 |
-
height -= getBordersSize(styles, 'top', 'bottom') + vertPad;
|
77746 |
-
}
|
77747 |
-
}
|
77748 |
-
// Following steps can't be applied to the document's root element as its
|
77749 |
-
// client[Width/Height] properties represent viewport area of the window.
|
77750 |
-
// Besides, it's as well not necessary as the <html> itself neither has
|
77751 |
-
// rendered scroll bars nor it can be clipped.
|
77752 |
-
if (!isDocumentElement(target)) {
|
77753 |
-
// In some browsers (only in Firefox, actually) CSS width & height
|
77754 |
-
// include scroll bars size which can be removed at this step as scroll
|
77755 |
-
// bars are the only difference between rounded dimensions + paddings
|
77756 |
-
// and "client" properties, though that is not always true in Chrome.
|
77757 |
-
var vertScrollbar = Math.round(width + horizPad) - clientWidth;
|
77758 |
-
var horizScrollbar = Math.round(height + vertPad) - clientHeight;
|
77759 |
-
// Chrome has a rather weird rounding of "client" properties.
|
77760 |
-
// E.g. for an element with content width of 314.2px it sometimes gives
|
77761 |
-
// the client width of 315px and for the width of 314.7px it may give
|
77762 |
-
// 314px. And it doesn't happen all the time. So just ignore this delta
|
77763 |
-
// as a non-relevant.
|
77764 |
-
if (Math.abs(vertScrollbar) !== 1) {
|
77765 |
-
width -= vertScrollbar;
|
77766 |
-
}
|
77767 |
-
if (Math.abs(horizScrollbar) !== 1) {
|
77768 |
-
height -= horizScrollbar;
|
77769 |
-
}
|
77770 |
-
}
|
77771 |
-
return createRectInit(paddings.left, paddings.top, width, height);
|
77772 |
-
}
|
77773 |
-
/**
|
77774 |
-
* Checks whether provided element is an instance of the SVGGraphicsElement.
|
77775 |
-
*
|
77776 |
-
* @param {Element} target - Element to be checked.
|
77777 |
-
* @returns {boolean}
|
77778 |
-
*/
|
77779 |
-
var isSVGGraphicsElement = (function () {
|
77780 |
-
// Some browsers, namely IE and Edge, don't have the SVGGraphicsElement
|
77781 |
-
// interface.
|
77782 |
-
if (typeof SVGGraphicsElement !== 'undefined') {
|
77783 |
-
return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };
|
77784 |
-
}
|
77785 |
-
// If it's so, then check that element is at least an instance of the
|
77786 |
-
// SVGElement and that it has the "getBBox" method.
|
77787 |
-
// eslint-disable-next-line no-extra-parens
|
77788 |
-
return function (target) { return (target instanceof getWindowOf(target).SVGElement &&
|
77789 |
-
typeof target.getBBox === 'function'); };
|
77790 |
-
})();
|
77791 |
-
/**
|
77792 |
-
* Checks whether provided element is a document element (<html>).
|
77793 |
-
*
|
77794 |
-
* @param {Element} target - Element to be checked.
|
77795 |
-
* @returns {boolean}
|
77796 |
-
*/
|
77797 |
-
function isDocumentElement(target) {
|
77798 |
-
return target === getWindowOf(target).document.documentElement;
|
77799 |
-
}
|
77800 |
-
/**
|
77801 |
-
* Calculates an appropriate content rectangle for provided html or svg element.
|
77802 |
-
*
|
77803 |
-
* @param {Element} target - Element content rectangle of which needs to be calculated.
|
77804 |
-
* @returns {DOMRectInit}
|
77805 |
-
*/
|
77806 |
-
function getContentRect(target) {
|
77807 |
-
if (!isBrowser) {
|
77808 |
-
return emptyRect;
|
77809 |
-
}
|
77810 |
-
if (isSVGGraphicsElement(target)) {
|
77811 |
-
return getSVGContentRect(target);
|
77812 |
-
}
|
77813 |
-
return getHTMLElementContentRect(target);
|
77814 |
-
}
|
77815 |
-
/**
|
77816 |
-
* Creates rectangle with an interface of the DOMRectReadOnly.
|
77817 |
-
* Spec: https://drafts.fxtf.org/geometry/#domrectreadonly
|
77818 |
-
*
|
77819 |
-
* @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.
|
77820 |
-
* @returns {DOMRectReadOnly}
|
77821 |
-
*/
|
77822 |
-
function createReadOnlyRect(_a) {
|
77823 |
-
var x = _a.x, y = _a.y, width = _a.width, height = _a.height;
|
77824 |
-
// If DOMRectReadOnly is available use it as a prototype for the rectangle.
|
77825 |
-
var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;
|
77826 |
-
var rect = Object.create(Constr.prototype);
|
77827 |
-
// Rectangle's properties are not writable and non-enumerable.
|
77828 |
-
defineConfigurable(rect, {
|
77829 |
-
x: x, y: y, width: width, height: height,
|
77830 |
-
top: y,
|
77831 |
-
right: x + width,
|
77832 |
-
bottom: height + y,
|
77833 |
-
left: x
|
77834 |
-
});
|
77835 |
-
return rect;
|
77836 |
-
}
|
77837 |
-
/**
|
77838 |
-
* Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.
|
77839 |
-
* Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit
|
77840 |
-
*
|
77841 |
-
* @param {number} x - X coordinate.
|
77842 |
-
* @param {number} y - Y coordinate.
|
77843 |
-
* @param {number} width - Rectangle's width.
|
77844 |
-
* @param {number} height - Rectangle's height.
|
77845 |
-
* @returns {DOMRectInit}
|
77846 |
-
*/
|
77847 |
-
function createRectInit(x, y, width, height) {
|
77848 |
-
return { x: x, y: y, width: width, height: height };
|
77849 |
-
}
|
77850 |
-
|
77851 |
-
/**
|
77852 |
-
* Class that is responsible for computations of the content rectangle of
|
77853 |
-
* provided DOM element and for keeping track of it's changes.
|
77854 |
-
*/
|
77855 |
-
var ResizeObservation = /** @class */ (function () {
|
77856 |
-
/**
|
77857 |
-
* Creates an instance of ResizeObservation.
|
77858 |
-
*
|
77859 |
-
* @param {Element} target - Element to be observed.
|
77860 |
-
*/
|
77861 |
-
function ResizeObservation(target) {
|
77862 |
-
/**
|
77863 |
-
* Broadcasted width of content rectangle.
|
77864 |
-
*
|
77865 |
-
* @type {number}
|
77866 |
-
*/
|
77867 |
-
this.broadcastWidth = 0;
|
77868 |
-
/**
|
77869 |
-
* Broadcasted height of content rectangle.
|
77870 |
-
*
|
77871 |
-
* @type {number}
|
77872 |
-
*/
|
77873 |
-
this.broadcastHeight = 0;
|
77874 |
-
/**
|
77875 |
-
* Reference to the last observed content rectangle.
|
77876 |
-
*
|
77877 |
-
* @private {DOMRectInit}
|
77878 |
-
*/
|
77879 |
-
this.contentRect_ = createRectInit(0, 0, 0, 0);
|
77880 |
-
this.target = target;
|
77881 |
-
}
|
77882 |
-
/**
|
77883 |
-
* Updates content rectangle and tells whether it's width or height properties
|
77884 |
-
* have changed since the last broadcast.
|
77885 |
-
*
|
77886 |
-
* @returns {boolean}
|
77887 |
-
*/
|
77888 |
-
ResizeObservation.prototype.isActive = function () {
|
77889 |
-
var rect = getContentRect(this.target);
|
77890 |
-
this.contentRect_ = rect;
|
77891 |
-
return (rect.width !== this.broadcastWidth ||
|
77892 |
-
rect.height !== this.broadcastHeight);
|
77893 |
-
};
|
77894 |
-
/**
|
77895 |
-
* Updates 'broadcastWidth' and 'broadcastHeight' properties with a data
|
77896 |
-
* from the corresponding properties of the last observed content rectangle.
|
77897 |
-
*
|
77898 |
-
* @returns {DOMRectInit} Last observed content rectangle.
|
77899 |
-
*/
|
77900 |
-
ResizeObservation.prototype.broadcastRect = function () {
|
77901 |
-
var rect = this.contentRect_;
|
77902 |
-
this.broadcastWidth = rect.width;
|
77903 |
-
this.broadcastHeight = rect.height;
|
77904 |
-
return rect;
|
77905 |
-
};
|
77906 |
-
return ResizeObservation;
|
77907 |
}());
|
77908 |
|
77909 |
-
var ResizeObserverEntry = /** @class */ (function () {
|
77910 |
-
/**
|
77911 |
-
* Creates an instance of ResizeObserverEntry.
|
77912 |
-
*
|
77913 |
-
* @param {Element} target - Element that is being observed.
|
77914 |
-
* @param {DOMRectInit} rectInit - Data of the element's content rectangle.
|
77915 |
-
*/
|
77916 |
-
function ResizeObserverEntry(target, rectInit) {
|
77917 |
-
var contentRect = createReadOnlyRect(rectInit);
|
77918 |
-
// According to the specification following properties are not writable
|
77919 |
-
// and are also not enumerable in the native implementation.
|
77920 |
-
//
|
77921 |
-
// Property accessors are not being used as they'd require to define a
|
77922 |
-
// private WeakMap storage which may cause memory leaks in browsers that
|
77923 |
-
// don't support this type of collections.
|
77924 |
-
defineConfigurable(this, { target: target, contentRect: contentRect });
|
77925 |
-
}
|
77926 |
-
return ResizeObserverEntry;
|
77927 |
}());
|
77928 |
|
77929 |
-
var ResizeObserverSPI = /** @class */ (function () {
|
77930 |
-
/**
|
77931 |
-
* Creates a new instance of ResizeObserver.
|
77932 |
-
*
|
77933 |
-
* @param {ResizeObserverCallback} callback - Callback function that is invoked
|
77934 |
-
* when one of the observed elements changes it's content dimensions.
|
77935 |
-
* @param {ResizeObserverController} controller - Controller instance which
|
77936 |
-
* is responsible for the updates of observer.
|
77937 |
-
* @param {ResizeObserver} callbackCtx - Reference to the public
|
77938 |
-
* ResizeObserver instance which will be passed to callback function.
|
77939 |
-
*/
|
77940 |
-
function ResizeObserverSPI(callback, controller, callbackCtx) {
|
77941 |
-
/**
|
77942 |
-
* Collection of resize observations that have detected changes in dimensions
|
77943 |
-
* of elements.
|
77944 |
-
*
|
77945 |
-
* @private {Array<ResizeObservation>}
|
77946 |
-
*/
|
77947 |
-
this.activeObservations_ = [];
|
77948 |
-
/**
|
77949 |
-
* Registry of the ResizeObservation instances.
|
77950 |
-
*
|
77951 |
-
* @private {Map<Element, ResizeObservation>}
|
77952 |
-
*/
|
77953 |
-
this.observations_ = new MapShim();
|
77954 |
-
if (typeof callback !== 'function') {
|
77955 |
-
throw new TypeError('The callback provided as parameter 1 is not a function.');
|
77956 |
-
}
|
77957 |
-
this.callback_ = callback;
|
77958 |
-
this.controller_ = controller;
|
77959 |
-
this.callbackCtx_ = callbackCtx;
|
77960 |
-
}
|
77961 |
-
/**
|
77962 |
-
* Starts observing provided element.
|
77963 |
-
*
|
77964 |
-
* @param {Element} target - Element to be observed.
|
77965 |
-
* @returns {void}
|
77966 |
-
*/
|
77967 |
-
ResizeObserverSPI.prototype.observe = function (target) {
|
77968 |
-
if (!arguments.length) {
|
77969 |
-
throw new TypeError('1 argument required, but only 0 present.');
|
77970 |
-
}
|
77971 |
-
// Do nothing if current environment doesn't have the Element interface.
|
77972 |
-
if (typeof Element === 'undefined' || !(Element instanceof Object)) {
|
77973 |
-
return;
|
77974 |
-
}
|
77975 |
-
if (!(target instanceof getWindowOf(target).Element)) {
|
77976 |
-
throw new TypeError('parameter 1 is not of type "Element".');
|
77977 |
-
}
|
77978 |
-
var observations = this.observations_;
|
77979 |
-
// Do nothing if element is already being observed.
|
77980 |
-
if (observations.has(target)) {
|
77981 |
-
return;
|
77982 |
-
}
|
77983 |
-
observations.set(target, new ResizeObservation(target));
|
77984 |
-
this.controller_.addObserver(this);
|
77985 |
-
// Force the update of observations.
|
77986 |
-
this.controller_.refresh();
|
77987 |
-
};
|
77988 |
-
/**
|
77989 |
-
* Stops observing provided element.
|
77990 |
-
*
|
77991 |
-
* @param {Element} target - Element to stop observing.
|
77992 |
-
* @returns {void}
|
77993 |
-
*/
|
77994 |
-
ResizeObserverSPI.prototype.unobserve = function (target) {
|
77995 |
-
if (!arguments.length) {
|
77996 |
-
throw new TypeError('1 argument required, but only 0 present.');
|
77997 |
-
}
|
77998 |
-
// Do nothing if current environment doesn't have the Element interface.
|
77999 |
-
if (typeof Element === 'undefined' || !(Element instanceof Object)) {
|
78000 |
-
return;
|
78001 |
-
}
|
78002 |
-
if (!(target instanceof getWindowOf(target).Element)) {
|
78003 |
-
throw new TypeError('parameter 1 is not of type "Element".');
|
78004 |
-
}
|
78005 |
-
var observations = this.observations_;
|
78006 |
-
// Do nothing if element is not being observed.
|
78007 |
-
if (!observations.has(target)) {
|
78008 |
-
return;
|
78009 |
-
}
|
78010 |
-
observations.delete(target);
|
78011 |
-
if (!observations.size) {
|
78012 |
-
this.controller_.removeObserver(this);
|
78013 |
-
}
|
78014 |
-
};
|
78015 |
-
/**
|
78016 |
-
* Stops observing all elements.
|
78017 |
-
*
|
78018 |
-
* @returns {void}
|
78019 |
-
*/
|
78020 |
-
ResizeObserverSPI.prototype.disconnect = function () {
|
78021 |
-
this.clearActive();
|
78022 |
-
this.observations_.clear();
|
78023 |
-
this.controller_.removeObserver(this);
|
78024 |
-
};
|
78025 |
-
/**
|
78026 |
-
* Collects observation instances the associated element of which has changed
|
78027 |
-
* it's content rectangle.
|
78028 |
-
*
|
78029 |
-
* @returns {void}
|
78030 |
-
*/
|
78031 |
-
ResizeObserverSPI.prototype.gatherActive = function () {
|
78032 |
-
var _this = this;
|
78033 |
-
this.clearActive();
|
78034 |
-
this.observations_.forEach(function (observation) {
|
78035 |
-
if (observation.isActive()) {
|
78036 |
-
_this.activeObservations_.push(observation);
|
78037 |
-
}
|
78038 |
-
});
|
78039 |
-
};
|
78040 |
-
/**
|
78041 |
-
* Invokes initial callback function with a list of ResizeObserverEntry
|
78042 |
-
* instances collected from active resize observations.
|
78043 |
-
*
|
78044 |
-
* @returns {void}
|
78045 |
-
*/
|
78046 |
-
ResizeObserverSPI.prototype.broadcastActive = function () {
|
78047 |
-
// Do nothing if observer doesn't have active observations.
|
78048 |
-
if (!this.hasActive()) {
|
78049 |
-
return;
|
78050 |
-
}
|
78051 |
-
var ctx = this.callbackCtx_;
|
78052 |
-
// Create ResizeObserverEntry instance for every active observation.
|
78053 |
-
var entries = this.activeObservations_.map(function (observation) {
|
78054 |
-
return new ResizeObserverEntry(observation.target, observation.broadcastRect());
|
78055 |
-
});
|
78056 |
-
this.callback_.call(ctx, entries, ctx);
|
78057 |
-
this.clearActive();
|
78058 |
-
};
|
78059 |
-
/**
|
78060 |
-
* Clears the collection of active observations.
|
78061 |
-
*
|
78062 |
-
* @returns {void}
|
78063 |
-
*/
|
78064 |
-
ResizeObserverSPI.prototype.clearActive = function () {
|
78065 |
-
this.activeObservations_.splice(0);
|
78066 |
-
};
|
78067 |
-
/**
|
78068 |
-
* Tells whether observer has active observations.
|
78069 |
-
*
|
78070 |
-
* @returns {boolean}
|
78071 |
-
*/
|
78072 |
-
ResizeObserverSPI.prototype.hasActive = function () {
|
78073 |
-
return this.activeObservations_.length > 0;
|
78074 |
-
};
|
78075 |
-
return ResizeObserverSPI;
|
78076 |
}());
|
78077 |
|
78078 |
-
// Registry of internal observers. If WeakMap is not available use current shim
|
78079 |
-
// for the Map collection as it has all required methods and because WeakMap
|
78080 |
-
// can't be fully polyfilled anyway.
|
78081 |
-
var observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();
|
78082 |
-
/**
|
78083 |
-
* ResizeObserver API. Encapsulates the ResizeObserver SPI implementation
|
78084 |
-
* exposing only those methods and properties that are defined in the spec.
|
78085 |
-
*/
|
78086 |
-
var ResizeObserver = /** @class */ (function () {
|
78087 |
-
/**
|
78088 |
-
* Creates a new instance of ResizeObserver.
|
78089 |
-
*
|
78090 |
-
* @param {ResizeObserverCallback} callback - Callback that is invoked when
|
78091 |
-
* dimensions of the observed elements change.
|
78092 |
-
*/
|
78093 |
-
function ResizeObserver(callback) {
|
78094 |
-
if (!(this instanceof ResizeObserver)) {
|
78095 |
-
throw new TypeError('Cannot call a class as a function.');
|
78096 |
-
}
|
78097 |
-
if (!arguments.length) {
|
78098 |
-
throw new TypeError('1 argument required, but only 0 present.');
|
78099 |
-
}
|
78100 |
-
var controller = ResizeObserverController.getInstance();
|
78101 |
-
var observer = new ResizeObserverSPI(callback, controller, this);
|
78102 |
-
observers.set(this, observer);
|
78103 |
-
}
|
78104 |
-
return ResizeObserver;
|
78105 |
-
}());
|
78106 |
-
// Expose public methods of ResizeObserver.
|
78107 |
-
[
|
78108 |
-
'observe',
|
78109 |
-
'unobserve',
|
78110 |
-
'disconnect'
|
78111 |
-
].forEach(function (method) {
|
78112 |
-
ResizeObserver.prototype[method] = function () {
|
78113 |
-
var _a;
|
78114 |
-
return (_a = observers.get(this))[method].apply(_a, arguments);
|
78115 |
-
};
|
78116 |
});
|
78117 |
|
78118 |
-
var index = (function () {
|
78119 |
-
// Export existing implementation if available.
|
78120 |
-
if (typeof global$1.ResizeObserver !== 'undefined') {
|
78121 |
-
return global$1.ResizeObserver;
|
78122 |
-
}
|
78123 |
-
return ResizeObserver;
|
78124 |
})();
|
78125 |
|
78126 |
/* harmony default export */ __webpack_exports__["default"] = (index);
|
@@ -78605,8 +78644,8 @@ module.exports = QueryHandler;
|
|
78605 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
78606 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 476);
|
78607 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
78608 |
-
/**
|
78609 |
-
* BLOCK: Post Title
|
78610 |
*/
|
78611 |
|
78612 |
// Import block dependencies and components
|
@@ -78697,8 +78736,8 @@ function save() {
|
|
78697 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
78698 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 479);
|
78699 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
78700 |
-
/**
|
78701 |
-
* BLOCK: Post Image
|
78702 |
*/
|
78703 |
|
78704 |
// Import block dependencies and components
|
@@ -78772,8 +78811,8 @@ function save() {
|
|
78772 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
78773 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 482);
|
78774 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
78775 |
-
/**
|
78776 |
-
* BLOCK: Post Button
|
78777 |
*/
|
78778 |
|
78779 |
// Import block dependencies and components
|
@@ -78849,8 +78888,8 @@ function save() {
|
|
78849 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
78850 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(/*! ./style.scss */ 485);
|
78851 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
|
78852 |
-
/**
|
78853 |
-
* BLOCK: Post Excerpt
|
78854 |
*/
|
78855 |
|
78856 |
// Import block dependencies and components
|
@@ -78927,8 +78966,8 @@ function save() {
|
|
78927 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
|
78928 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 489);
|
78929 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__editor_scss__);
|
78930 |
-
/**
|
78931 |
-
* BLOCK: Post Meta
|
78932 |
*/
|
78933 |
|
78934 |
// Import block dependencies and components
|
@@ -79043,8 +79082,8 @@ function save() {
|
|
79043 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__save__ = __webpack_require__(/*! ./save */ 495);
|
79044 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__deprecated__ = __webpack_require__(/*! ./deprecated */ 496);
|
79045 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 197);
|
79046 |
-
/**
|
79047 |
-
* BLOCK: Section
|
79048 |
*/
|
79049 |
|
79050 |
|
@@ -79066,7 +79105,7 @@ registerBlockType("uagb/section", {
|
|
79066 |
description: uagb_blocks_info.blocks["uagb/section"]["description"],
|
79067 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].section,
|
79068 |
category: uagb_blocks_info.category,
|
79069 |
-
keywords: [__("section"), __("wrapper"), __("uag")],
|
79070 |
supports: {
|
79071 |
anchor: true
|
79072 |
},
|
@@ -79132,8 +79171,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
79132 |
|
79133 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
79134 |
|
79135 |
-
/**
|
79136 |
-
* BLOCK: UAGB - Section Edit Class
|
79137 |
*/
|
79138 |
|
79139 |
// Import classes
|
@@ -79205,8 +79244,8 @@ var UAGBSectionEdit = function (_Component) {
|
|
79205 |
document.head.appendChild($style);
|
79206 |
}
|
79207 |
|
79208 |
-
/*
|
79209 |
-
* Event to set Image as null while removing.
|
79210 |
*/
|
79211 |
|
79212 |
}, {
|
@@ -79218,8 +79257,8 @@ var UAGBSectionEdit = function (_Component) {
|
|
79218 |
setAttributes({ backgroundImage: null });
|
79219 |
}
|
79220 |
|
79221 |
-
/*
|
79222 |
-
* Event to set Image as while adding.
|
79223 |
*/
|
79224 |
|
79225 |
}, {
|
@@ -79240,8 +79279,8 @@ var UAGBSectionEdit = function (_Component) {
|
|
79240 |
setAttributes({ backgroundImage: media });
|
79241 |
}
|
79242 |
|
79243 |
-
/*
|
79244 |
-
* Event to set Video as null while removing.
|
79245 |
*/
|
79246 |
|
79247 |
}, {
|
@@ -79253,8 +79292,8 @@ var UAGBSectionEdit = function (_Component) {
|
|
79253 |
setAttributes({ backgroundVideo: null });
|
79254 |
}
|
79255 |
|
79256 |
-
/*
|
79257 |
-
* Event to set Video while adding.
|
79258 |
*/
|
79259 |
|
79260 |
}, {
|
@@ -79391,17 +79430,17 @@ var UAGBSectionEdit = function (_Component) {
|
|
79391 |
null,
|
79392 |
wp.element.createElement(
|
79393 |
PanelBody,
|
79394 |
-
{ title: __("Layout") },
|
79395 |
wp.element.createElement(SelectControl, {
|
79396 |
-
label: __("Content Width"),
|
79397 |
value: contentWidth,
|
79398 |
onChange: function onChange(value) {
|
79399 |
return setAttributes({ contentWidth: value });
|
79400 |
},
|
79401 |
-
options: [{ value: "boxed", label: __("Boxed") }, { value: "full_width", label: __("Full Width") }]
|
79402 |
}),
|
79403 |
contentWidth == "boxed" && wp.element.createElement(RangeControl, {
|
79404 |
-
label: __("Width"),
|
79405 |
value: width,
|
79406 |
min: 0,
|
79407 |
max: 2000,
|
@@ -79410,7 +79449,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79410 |
}
|
79411 |
}),
|
79412 |
contentWidth != "boxed" && wp.element.createElement(ToggleControl, {
|
79413 |
-
label: __("Inherit Inner Width from Theme"),
|
79414 |
checked: themeWidth,
|
79415 |
onChange: function onChange(value) {
|
79416 |
return setAttributes({ themeWidth: !themeWidth });
|
@@ -79421,7 +79460,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79421 |
null,
|
79422 |
wp.element.createElement(
|
79423 |
ButtonGroup,
|
79424 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
79425 |
wp.element.createElement(
|
79426 |
Button,
|
79427 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: innerWidthType === "px", "aria-pressed": innerWidthType === "px", onClick: function onClick() {
|
@@ -79438,7 +79477,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79438 |
)
|
79439 |
),
|
79440 |
wp.element.createElement(RangeControl, {
|
79441 |
-
label: __("Inner Width"),
|
79442 |
value: innerWidth,
|
79443 |
min: 0,
|
79444 |
max: 2000,
|
@@ -79448,17 +79487,17 @@ var UAGBSectionEdit = function (_Component) {
|
|
79448 |
})
|
79449 |
),
|
79450 |
wp.element.createElement(SelectControl, {
|
79451 |
-
label: __("HTML Tag"),
|
79452 |
value: tag,
|
79453 |
onChange: function onChange(value) {
|
79454 |
return setAttributes({ tag: value });
|
79455 |
},
|
79456 |
-
options: [{ value: "div", label: __("div") }, { value: "header", label: __("header") }, { value: "footer", label: __("footer") }, { value: "main", label: __("main") }, { value: "article", label: __("article") }, { value: "section", label: __("section") }, { value: "aside", label: __("aside") }, { value: "nav", label: __("nav") }]
|
79457 |
})
|
79458 |
),
|
79459 |
wp.element.createElement(
|
79460 |
PanelBody,
|
79461 |
-
{ title: __("Spacing"), initialOpen: false },
|
79462 |
wp.element.createElement(
|
79463 |
TabPanel,
|
79464 |
{ className: "uagb-size-type-field-tabs uagb-size-type-field__common-tabs uagb-inline-margin", activeClass: "active-tab",
|
@@ -79484,7 +79523,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79484 |
null,
|
79485 |
wp.element.createElement(
|
79486 |
ButtonGroup,
|
79487 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
79488 |
wp.element.createElement(
|
79489 |
Button,
|
79490 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobilePaddingType === "px", "aria-pressed": mobilePaddingType === "px", onClick: function onClick() {
|
@@ -79556,7 +79595,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79556 |
null,
|
79557 |
wp.element.createElement(
|
79558 |
ButtonGroup,
|
79559 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
79560 |
wp.element.createElement(
|
79561 |
Button,
|
79562 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletPaddingType === "px", "aria-pressed": tabletPaddingType === "px", onClick: function onClick() {
|
@@ -79575,7 +79614,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79575 |
wp.element.createElement(
|
79576 |
"h2",
|
79577 |
null,
|
79578 |
-
__("Padding Tablet")
|
79579 |
),
|
79580 |
wp.element.createElement(RangeControl, {
|
79581 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -79628,7 +79667,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79628 |
null,
|
79629 |
wp.element.createElement(
|
79630 |
ButtonGroup,
|
79631 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
79632 |
wp.element.createElement(
|
79633 |
Button,
|
79634 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: desktopPaddingType === "px", "aria-pressed": desktopPaddingType === "px", onClick: function onClick() {
|
@@ -79647,7 +79686,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79647 |
wp.element.createElement(
|
79648 |
"h2",
|
79649 |
null,
|
79650 |
-
__("Padding")
|
79651 |
),
|
79652 |
wp.element.createElement(RangeControl, {
|
79653 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -79729,7 +79768,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79729 |
null,
|
79730 |
wp.element.createElement(
|
79731 |
ButtonGroup,
|
79732 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
79733 |
wp.element.createElement(
|
79734 |
Button,
|
79735 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobileMarginType === "px", "aria-pressed": mobileMarginType === "px", onClick: function onClick() {
|
@@ -79748,7 +79787,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79748 |
wp.element.createElement(
|
79749 |
"h2",
|
79750 |
null,
|
79751 |
-
__("Margin Mobile")
|
79752 |
),
|
79753 |
wp.element.createElement(RangeControl, {
|
79754 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -79801,7 +79840,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79801 |
null,
|
79802 |
wp.element.createElement(
|
79803 |
ButtonGroup,
|
79804 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
79805 |
wp.element.createElement(
|
79806 |
Button,
|
79807 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletMarginType === "px", "aria-pressed": tabletMarginType === "px", onClick: function onClick() {
|
@@ -79820,7 +79859,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79820 |
wp.element.createElement(
|
79821 |
"h2",
|
79822 |
null,
|
79823 |
-
__("Margin Tablet")
|
79824 |
),
|
79825 |
wp.element.createElement(RangeControl, {
|
79826 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -79873,7 +79912,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79873 |
null,
|
79874 |
wp.element.createElement(
|
79875 |
ButtonGroup,
|
79876 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
79877 |
wp.element.createElement(
|
79878 |
Button,
|
79879 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: desktopMarginType === "px", "aria-pressed": desktopMarginType === "px", onClick: function onClick() {
|
@@ -79892,7 +79931,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79892 |
wp.element.createElement(
|
79893 |
"h2",
|
79894 |
null,
|
79895 |
-
__("Margin")
|
79896 |
),
|
79897 |
wp.element.createElement(RangeControl, {
|
79898 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -79951,14 +79990,14 @@ var UAGBSectionEdit = function (_Component) {
|
|
79951 |
),
|
79952 |
wp.element.createElement(
|
79953 |
PanelBody,
|
79954 |
-
{ title: __("Background"), initialOpen: false },
|
79955 |
wp.element.createElement(SelectControl, {
|
79956 |
-
label: __("Background Type"),
|
79957 |
value: backgroundType,
|
79958 |
onChange: function onChange(value) {
|
79959 |
return setAttributes({ backgroundType: value });
|
79960 |
},
|
79961 |
-
options: [{ value: "none", label: __("None") }, { value: "color", label: __("Color") }, { value: "gradient", label: __("Gradient") }, { value: "image", label: __("Image") }, { value: "video", label: __("Video") }]
|
79962 |
}),
|
79963 |
"color" == backgroundType && wp.element.createElement(
|
79964 |
Fragment,
|
@@ -79966,7 +80005,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79966 |
wp.element.createElement(
|
79967 |
"p",
|
79968 |
{ className: "uagb-setting-label" },
|
79969 |
-
__("Background Color"),
|
79970 |
wp.element.createElement(
|
79971 |
"span",
|
79972 |
{ className: "components-base-control__label" },
|
@@ -79988,9 +80027,9 @@ var UAGBSectionEdit = function (_Component) {
|
|
79988 |
BaseControl,
|
79989 |
{
|
79990 |
className: "editor-bg-image-control",
|
79991 |
-
label: __("Background Image") },
|
79992 |
wp.element.createElement(MediaUpload, {
|
79993 |
-
title: __("Select Background Image"),
|
79994 |
onSelect: this.onSelectImage,
|
79995 |
allowedTypes: ["image"],
|
79996 |
value: backgroundImage,
|
@@ -79999,7 +80038,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
79999 |
return wp.element.createElement(
|
80000 |
Button,
|
80001 |
{ isDefault: true, onClick: open },
|
80002 |
-
!backgroundImage ? __("Select Background Image") : __("Replace image")
|
80003 |
);
|
80004 |
}
|
80005 |
}),
|
@@ -80013,44 +80052,44 @@ var UAGBSectionEdit = function (_Component) {
|
|
80013 |
Fragment,
|
80014 |
null,
|
80015 |
wp.element.createElement(SelectControl, {
|
80016 |
-
label: __("Image Position"),
|
80017 |
value: backgroundPosition,
|
80018 |
onChange: function onChange(value) {
|
80019 |
return setAttributes({ backgroundPosition: value });
|
80020 |
},
|
80021 |
-
options: [{ value: "top-left", label: __("Top Left") }, { value: "top-center", label: __("Top Center") }, { value: "top-right", label: __("Top Right") }, { value: "center-left", label: __("Center Left") }, { value: "center-center", label: __("Center Center") }, { value: "center-right", label: __("Center Right") }, { value: "bottom-left", label: __("Bottom Left") }, { value: "bottom-center", label: __("Bottom Center") }, { value: "bottom-right", label: __("Bottom Right") }]
|
80022 |
}),
|
80023 |
wp.element.createElement(SelectControl, {
|
80024 |
-
label: __("Attachment"),
|
80025 |
value: backgroundAttachment,
|
80026 |
onChange: function onChange(value) {
|
80027 |
return setAttributes({ backgroundAttachment: value });
|
80028 |
},
|
80029 |
-
options: [{ value: "fixed", label: __("Fixed") }, { value: "scroll", label: __("Scroll") }]
|
80030 |
}),
|
80031 |
wp.element.createElement(SelectControl, {
|
80032 |
-
label: __("Repeat"),
|
80033 |
value: backgroundRepeat,
|
80034 |
onChange: function onChange(value) {
|
80035 |
return setAttributes({ backgroundRepeat: value });
|
80036 |
},
|
80037 |
-
options: [{ value: "no-repeat", label: __("No Repeat") }, { value: "repeat", label: __("Repeat") }, { value: "repeat-x", label: __("Repeat-x") }, { value: "repeat-y", label: __("Repeat-y") }]
|
80038 |
}),
|
80039 |
wp.element.createElement(SelectControl, {
|
80040 |
-
label: __("Size"),
|
80041 |
value: backgroundSize,
|
80042 |
onChange: function onChange(value) {
|
80043 |
return setAttributes({ backgroundSize: value });
|
80044 |
},
|
80045 |
-
options: [{ value: "auto", label: __("Auto") }, { value: "cover", label: __("Cover") }, { value: "contain", label: __("Contain") }]
|
80046 |
}),
|
80047 |
wp.element.createElement(SelectControl, {
|
80048 |
-
label: __("Image Overlay Type"),
|
80049 |
value: overlayType,
|
80050 |
onChange: function onChange(value) {
|
80051 |
return setAttributes({ overlayType: value });
|
80052 |
},
|
80053 |
-
options: [{ value: "color", label: __("Color") }, { value: "gradient", label: __("Gradient") }]
|
80054 |
}),
|
80055 |
overlayType == 'color' && wp.element.createElement(
|
80056 |
Fragment,
|
@@ -80058,7 +80097,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80058 |
wp.element.createElement(
|
80059 |
"p",
|
80060 |
{ className: "uagb-setting-label" },
|
80061 |
-
__("Image Overlay Color"),
|
80062 |
wp.element.createElement(
|
80063 |
"span",
|
80064 |
{ className: "components-base-control__label" },
|
@@ -80079,7 +80118,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80079 |
wp.element.createElement(
|
80080 |
"p",
|
80081 |
{ className: "uagb-setting-label" },
|
80082 |
-
__("Color 1"),
|
80083 |
wp.element.createElement(
|
80084 |
"span",
|
80085 |
{ className: "components-base-control__label" },
|
@@ -80094,7 +80133,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80094 |
allowReset: true
|
80095 |
}),
|
80096 |
wp.element.createElement(RangeControl, {
|
80097 |
-
label: __("Location 1"),
|
80098 |
value: gradientOverlayLocation1,
|
80099 |
onChange: function onChange(value) {
|
80100 |
return setAttributes({ gradientOverlayLocation1: value });
|
@@ -80106,7 +80145,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80106 |
wp.element.createElement(
|
80107 |
"p",
|
80108 |
{ className: "uagb-setting-label" },
|
80109 |
-
__("Color 2"),
|
80110 |
wp.element.createElement(
|
80111 |
"span",
|
80112 |
{ className: "components-base-control__label" },
|
@@ -80121,7 +80160,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80121 |
allowReset: true
|
80122 |
}),
|
80123 |
wp.element.createElement(RangeControl, {
|
80124 |
-
label: __("Location 2"),
|
80125 |
value: gradientOverlayLocation2,
|
80126 |
onChange: function onChange(value) {
|
80127 |
return setAttributes({ gradientOverlayLocation2: value });
|
@@ -80131,15 +80170,15 @@ var UAGBSectionEdit = function (_Component) {
|
|
80131 |
allowReset: true
|
80132 |
}),
|
80133 |
wp.element.createElement(SelectControl, {
|
80134 |
-
label: __("Type"),
|
80135 |
value: gradientOverlayType,
|
80136 |
onChange: function onChange(value) {
|
80137 |
return setAttributes({ gradientOverlayType: value });
|
80138 |
},
|
80139 |
-
options: [{ value: "linear", label: __("Linear") }, { value: "radial", label: __("Radial") }]
|
80140 |
}),
|
80141 |
"linear" == gradientOverlayType && wp.element.createElement(RangeControl, {
|
80142 |
-
label: __("Angle"),
|
80143 |
value: gradientOverlayAngle,
|
80144 |
onChange: function onChange(value) {
|
80145 |
return setAttributes({ gradientOverlayAngle: value });
|
@@ -80149,12 +80188,12 @@ var UAGBSectionEdit = function (_Component) {
|
|
80149 |
allowReset: true
|
80150 |
}),
|
80151 |
"radial" == gradientOverlayType && wp.element.createElement(SelectControl, {
|
80152 |
-
label: __("Type"),
|
80153 |
value: gradientOverlayPosition,
|
80154 |
onChange: function onChange(value) {
|
80155 |
return setAttributes({ gradientOverlayPosition: value });
|
80156 |
},
|
80157 |
-
options: [{ value: "center center", label: __("Center Center") }, { value: "center left", label: __("Center Left") }, { value: "center right", label: __("Center Right") }, { value: "top center", label: __("Top Center") }, { value: "top left", label: __("Top Left") }, { value: "top right", label: __("Top Right") }, { value: "bottom center", label: __("Bottom Center") }, { value: "bottom left", label: __("Bottom Left") }, { value: "bottom right", label: __("Bottom Right") }]
|
80158 |
})
|
80159 |
)
|
80160 |
)
|
@@ -80168,10 +80207,10 @@ var UAGBSectionEdit = function (_Component) {
|
|
80168 |
BaseControl,
|
80169 |
{
|
80170 |
className: "editor-bg-video-control",
|
80171 |
-
label: __("Background Video")
|
80172 |
},
|
80173 |
wp.element.createElement(MediaUpload, {
|
80174 |
-
title: __("Select Background Video"),
|
80175 |
onSelect: this.onSelectVideo,
|
80176 |
allowedTypes: ["video"],
|
80177 |
value: backgroundVideo,
|
@@ -80180,7 +80219,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80180 |
return wp.element.createElement(
|
80181 |
Button,
|
80182 |
{ isDefault: true, onClick: open },
|
80183 |
-
!backgroundVideo ? __("Select Background Video") : __("Replace Video")
|
80184 |
);
|
80185 |
}
|
80186 |
}),
|
@@ -80191,7 +80230,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80191 |
)
|
80192 |
),
|
80193 |
("color" == backgroundType || "image" == backgroundType && backgroundImage || "gradient" == backgroundType) && wp.element.createElement(RangeControl, {
|
80194 |
-
label: __("Opacity"),
|
80195 |
value: backgroundOpacity,
|
80196 |
onChange: function onChange(value) {
|
80197 |
return setAttributes({ backgroundOpacity: value });
|
@@ -80223,7 +80262,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80223 |
})
|
80224 |
),
|
80225 |
"video" == backgroundType && backgroundVideo && wp.element.createElement(RangeControl, {
|
80226 |
-
label: __("Opacity"),
|
80227 |
value: backgroundVideoOpacity,
|
80228 |
onChange: function onChange(value) {
|
80229 |
return setAttributes({ backgroundVideoOpacity: value });
|
@@ -80236,17 +80275,17 @@ var UAGBSectionEdit = function (_Component) {
|
|
80236 |
),
|
80237 |
wp.element.createElement(
|
80238 |
PanelBody,
|
80239 |
-
{ title: __("Border"), initialOpen: false },
|
80240 |
wp.element.createElement(SelectControl, {
|
80241 |
-
label: __("Border Style"),
|
80242 |
value: borderStyle,
|
80243 |
onChange: function onChange(value) {
|
80244 |
return setAttributes({ borderStyle: value });
|
80245 |
},
|
80246 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
80247 |
}),
|
80248 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
80249 |
-
label: __("Border Width"),
|
80250 |
value: borderWidth,
|
80251 |
onChange: function onChange(value) {
|
80252 |
return setAttributes({ borderWidth: value });
|
@@ -80256,7 +80295,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80256 |
allowReset: true
|
80257 |
}),
|
80258 |
wp.element.createElement(RangeControl, {
|
80259 |
-
label: __("Border Radius"),
|
80260 |
value: borderRadius,
|
80261 |
onChange: function onChange(value) {
|
80262 |
return setAttributes({ borderRadius: value });
|
@@ -80271,7 +80310,7 @@ var UAGBSectionEdit = function (_Component) {
|
|
80271 |
wp.element.createElement(
|
80272 |
"p",
|
80273 |
{ className: "uagb-setting-label" },
|
80274 |
-
__("Border Color"),
|
80275 |
wp.element.createElement(
|
80276 |
"span",
|
80277 |
{ className: "components-base-control__label" },
|
@@ -80288,13 +80327,13 @@ var UAGBSectionEdit = function (_Component) {
|
|
80288 |
),
|
80289 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_box_shadow__["a" /* default */], {
|
80290 |
setAttributes: setAttributes,
|
80291 |
-
label: __("Box Shadow"),
|
80292 |
-
boxShadowColor: { value: boxShadowColor, label: __("Color") },
|
80293 |
-
boxShadowHOffset: { value: boxShadowHOffset, label: __("Horizontal") },
|
80294 |
-
boxShadowVOffset: { value: boxShadowVOffset, label: __("Vertical") },
|
80295 |
-
boxShadowBlur: { value: boxShadowBlur, label: __("Blur") },
|
80296 |
-
boxShadowSpread: { value: boxShadowSpread, label: __("Spread") },
|
80297 |
-
boxShadowPosition: { value: boxShadowPosition, label: __("Position") }
|
80298 |
|
80299 |
})
|
80300 |
)
|
@@ -80342,8 +80381,8 @@ var UAGBSectionEdit = function (_Component) {
|
|
80342 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 197);
|
80343 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
80344 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
80345 |
-
/**
|
80346 |
-
* Returns Dynamic Generated CSS
|
80347 |
*/
|
80348 |
|
80349 |
|
@@ -80556,8 +80595,8 @@ function styling(props) {
|
|
80556 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
80557 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
80558 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
80559 |
-
/**
|
80560 |
-
* BLOCK: Column - Save Block
|
80561 |
*/
|
80562 |
|
80563 |
// Import block dependencies and components.
|
@@ -80626,8 +80665,8 @@ function save(props) {
|
|
80626 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
80627 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
80628 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 196);
|
80629 |
-
/**
|
80630 |
-
* BLOCK: Price List - Deprecated Block
|
80631 |
*/
|
80632 |
|
80633 |
// Import block dependencies and components.
|
@@ -80751,8 +80790,8 @@ var deprecated = [{
|
|
80751 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
80752 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 504);
|
80753 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
80754 |
-
/**
|
80755 |
-
* BLOCK: Multi Buttons
|
80756 |
*/
|
80757 |
|
80758 |
|
@@ -80773,7 +80812,7 @@ registerBlockType("uagb/buttons", {
|
|
80773 |
description: uagb_blocks_info.blocks["uagb/buttons"]["description"],
|
80774 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].buttons,
|
80775 |
category: uagb_blocks_info.category,
|
80776 |
-
keywords: [__("buttons"), __("multi buttons"), __("uag")],
|
80777 |
supports: {
|
80778 |
anchor: true
|
80779 |
},
|
@@ -80814,7 +80853,7 @@ registerBlockType("uagb/buttons", {
|
|
80814 |
"use strict";
|
80815 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
80816 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
80817 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */
|
80818 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
80819 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__styling__ = __webpack_require__(/*! ./styling */ 500);
|
80820 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_memize__ = __webpack_require__(/*! memize */ 19);
|
@@ -80829,8 +80868,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
80829 |
|
80830 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
80831 |
|
80832 |
-
/**
|
80833 |
-
* BLOCK: Multi Buttons
|
80834 |
*/
|
80835 |
|
80836 |
|
@@ -80949,14 +80988,14 @@ var UAGBMultiButtonEdit = function (_Component) {
|
|
80949 |
null,
|
80950 |
wp.element.createElement(
|
80951 |
PanelBody,
|
80952 |
-
{ title: __("General"), initialOpen: true },
|
80953 |
wp.element.createElement(
|
80954 |
BaseControl,
|
80955 |
null,
|
80956 |
wp.element.createElement(
|
80957 |
BaseControl.VisualLabel,
|
80958 |
null,
|
80959 |
-
__('Alignment')
|
80960 |
),
|
80961 |
wp.element.createElement(BlockAlignmentToolbar, {
|
80962 |
value: align,
|
@@ -80972,36 +81011,36 @@ var UAGBMultiButtonEdit = function (_Component) {
|
|
80972 |
wp.element.createElement(
|
80973 |
"h2",
|
80974 |
null,
|
80975 |
-
__("Spacing")
|
80976 |
),
|
80977 |
wp.element.createElement(RangeControl, {
|
80978 |
-
label: __("Gap Between Buttons"),
|
80979 |
value: gap,
|
80980 |
onChange: function onChange(value) {
|
80981 |
return setAttributes({ gap: value });
|
80982 |
},
|
80983 |
-
help: __("Note: The gap between the buttons will seem larger in the editor, for better user edit experience. But at frontend the gap will be exactly what is set from here."),
|
80984 |
min: 0,
|
80985 |
max: 500
|
80986 |
}),
|
80987 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
80988 |
wp.element.createElement(SelectControl, {
|
80989 |
-
label: __("Stack on"),
|
80990 |
value: stack,
|
80991 |
-
options: [{ value: "none", label: __("None") }, { value: "desktop", label: __("Desktop") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
80992 |
onChange: function onChange(value) {
|
80993 |
return setAttributes({ stack: value });
|
80994 |
},
|
80995 |
-
help: __("Note: Choose on what breakpoint the buttons will stack.")
|
80996 |
}),
|
80997 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
80998 |
wp.element.createElement(
|
80999 |
"h2",
|
81000 |
null,
|
81001 |
-
__("Typography")
|
81002 |
),
|
81003 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_typography__["a" /* default */], {
|
81004 |
-
label: __("Typography"),
|
81005 |
attributes: attributes,
|
81006 |
setAttributes: setAttributes,
|
81007 |
loadGoogleFonts: { value: loadGoogleFonts, label: "loadGoogleFonts" },
|
@@ -81075,8 +81114,8 @@ module.exports = castFunction;
|
|
81075 |
"use strict";
|
81076 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
81077 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
81078 |
-
/**
|
81079 |
-
* Returns Dynamic Generated CSS
|
81080 |
*/
|
81081 |
|
81082 |
|
@@ -81199,11 +81238,11 @@ function styling(props) {
|
|
81199 |
"use strict";
|
81200 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
81201 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
81202 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */
|
81203 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
81204 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 198);
|
81205 |
-
/**
|
81206 |
-
* BLOCK: Buttons - Deprecated Block
|
81207 |
*/
|
81208 |
|
81209 |
|
@@ -81378,10 +81417,10 @@ var deprecated = [{
|
|
81378 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
81379 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
81380 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
81381 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */
|
81382 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
81383 |
-
/**
|
81384 |
-
* BLOCK: Buttons - Save Block
|
81385 |
*/
|
81386 |
|
81387 |
|
@@ -81447,8 +81486,8 @@ function save(props) {
|
|
81447 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__save__ = __webpack_require__(/*! ./save */ 518);
|
81448 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 519);
|
81449 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
81450 |
-
/**
|
81451 |
-
* BLOCK: Buttons - Child
|
81452 |
*/
|
81453 |
|
81454 |
|
@@ -81486,8 +81525,8 @@ registerBlockType("uagb/buttons-child", {
|
|
81486 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
81487 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
81488 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 199);
|
81489 |
-
/**
|
81490 |
-
* BLOCK: Button Child - Deprecated Block
|
81491 |
*/
|
81492 |
|
81493 |
|
@@ -81563,8 +81602,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
81563 |
|
81564 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
81565 |
|
81566 |
-
/**
|
81567 |
-
* BLOCK: Buttons Child - Edit Class
|
81568 |
*/
|
81569 |
|
81570 |
// Import classes
|
@@ -81708,7 +81747,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81708 |
},
|
81709 |
isMulti: false,
|
81710 |
renderFunc: __WEBPACK_IMPORTED_MODULE_5__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
81711 |
-
noSelectedPlaceholder: __("Select Icon")
|
81712 |
};
|
81713 |
|
81714 |
var linkControl = this.state.isURLPickerOpen && wp.element.createElement(
|
@@ -81738,12 +81777,12 @@ var UAGBButtonsChild = function (_Component) {
|
|
81738 |
return wp.element.createElement(
|
81739 |
PanelBody,
|
81740 |
{
|
81741 |
-
title: __("Button Settings"),
|
81742 |
initialOpen: true,
|
81743 |
className: "uagb__url-panel-body"
|
81744 |
},
|
81745 |
wp.element.createElement(ToggleControl, {
|
81746 |
-
label: __("Inherit from Theme"),
|
81747 |
checked: inheritFromTheme,
|
81748 |
onChange: function onChange(value) {
|
81749 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
@@ -81752,22 +81791,22 @@ var UAGBButtonsChild = function (_Component) {
|
|
81752 |
wp.element.createElement(
|
81753 |
"h2",
|
81754 |
null,
|
81755 |
-
__("Button Icon")
|
81756 |
),
|
81757 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
81758 |
"" !== icon && wp.element.createElement(
|
81759 |
Fragment,
|
81760 |
null,
|
81761 |
wp.element.createElement(SelectControl, {
|
81762 |
-
label: __("Icon Position"),
|
81763 |
value: iconPosition,
|
81764 |
onChange: function onChange(value) {
|
81765 |
return setAttributes({ iconPosition: value });
|
81766 |
},
|
81767 |
-
options: [{ value: "before", label: __("Before Text") }, { value: "after", label: __("After Text") }]
|
81768 |
}),
|
81769 |
wp.element.createElement(RangeControl, {
|
81770 |
-
label: __("Icon Spacing"),
|
81771 |
value: iconSpace,
|
81772 |
onChange: function onChange(value) {
|
81773 |
return setAttributes({ iconSpace: value });
|
@@ -81784,7 +81823,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81784 |
wp.element.createElement(
|
81785 |
"h2",
|
81786 |
null,
|
81787 |
-
__(" Color Settings")
|
81788 |
),
|
81789 |
wp.element.createElement(
|
81790 |
TabPanel,
|
@@ -81792,11 +81831,11 @@ var UAGBButtonsChild = function (_Component) {
|
|
81792 |
activeClass: "active-tab",
|
81793 |
tabs: [{
|
81794 |
name: "normal",
|
81795 |
-
title: __("Normal"),
|
81796 |
className: "uagb-normal-tab"
|
81797 |
}, {
|
81798 |
name: "hover",
|
81799 |
-
title: __("Hover"),
|
81800 |
className: "uagb-hover-tab"
|
81801 |
}] },
|
81802 |
function (tabName) {
|
@@ -81808,7 +81847,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81808 |
wp.element.createElement(
|
81809 |
"p",
|
81810 |
{ className: "uagb-setting-label" },
|
81811 |
-
__("Text Color"),
|
81812 |
wp.element.createElement(
|
81813 |
"span",
|
81814 |
{ className: "components-base-control__label" },
|
@@ -81825,7 +81864,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81825 |
wp.element.createElement(
|
81826 |
"p",
|
81827 |
{ className: "uagb-setting-label" },
|
81828 |
-
__("Background Color"),
|
81829 |
wp.element.createElement(
|
81830 |
"span",
|
81831 |
{ className: "components-base-control__label" },
|
@@ -81842,7 +81881,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81842 |
wp.element.createElement(
|
81843 |
"p",
|
81844 |
{ className: "uagb-setting-label" },
|
81845 |
-
__("Border Color"),
|
81846 |
wp.element.createElement(
|
81847 |
"span",
|
81848 |
{ className: "components-base-control__label" },
|
@@ -81864,7 +81903,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81864 |
wp.element.createElement(
|
81865 |
"p",
|
81866 |
{ className: "uagb-setting-label" },
|
81867 |
-
__("Text Hover Color"),
|
81868 |
wp.element.createElement(
|
81869 |
"span",
|
81870 |
{ className: "components-base-control__label" },
|
@@ -81881,7 +81920,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81881 |
wp.element.createElement(
|
81882 |
"p",
|
81883 |
{ className: "uagb-setting-label" },
|
81884 |
-
__("Background Hover Color"),
|
81885 |
wp.element.createElement(
|
81886 |
"span",
|
81887 |
{ className: "components-base-control__label" },
|
@@ -81898,7 +81937,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81898 |
wp.element.createElement(
|
81899 |
"p",
|
81900 |
{ className: "uagb-setting-label" },
|
81901 |
-
__("Border Hover Color"),
|
81902 |
wp.element.createElement(
|
81903 |
"span",
|
81904 |
{ className: "components-base-control__label" },
|
@@ -81925,7 +81964,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81925 |
wp.element.createElement(
|
81926 |
"h2",
|
81927 |
null,
|
81928 |
-
__("Padding (px)")
|
81929 |
),
|
81930 |
wp.element.createElement(RangeControl, {
|
81931 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -81950,18 +81989,18 @@ var UAGBButtonsChild = function (_Component) {
|
|
81950 |
wp.element.createElement(
|
81951 |
"h2",
|
81952 |
null,
|
81953 |
-
__("Border")
|
81954 |
),
|
81955 |
wp.element.createElement(SelectControl, {
|
81956 |
-
label: __("Style"),
|
81957 |
value: borderStyle,
|
81958 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }],
|
81959 |
onChange: function onChange(value) {
|
81960 |
setAttributes({ borderStyle: value });
|
81961 |
}
|
81962 |
}),
|
81963 |
borderStyle != "none" && wp.element.createElement(RangeControl, {
|
81964 |
-
label: __("Thickness"),
|
81965 |
value: borderWidth,
|
81966 |
onChange: function onChange(value) {
|
81967 |
setAttributes({ borderWidth: value });
|
@@ -81970,7 +82009,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
81970 |
max: 20
|
81971 |
}),
|
81972 |
wp.element.createElement(RangeControl, {
|
81973 |
-
label: __("Rounded Corners"),
|
81974 |
value: borderRadius,
|
81975 |
onChange: function onChange(value) {
|
81976 |
setAttributes({ borderRadius: value });
|
@@ -82004,7 +82043,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
82004 |
null,
|
82005 |
wp.element.createElement(
|
82006 |
ButtonGroup,
|
82007 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
82008 |
wp.element.createElement(
|
82009 |
Button,
|
82010 |
{
|
@@ -82179,7 +82218,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
82179 |
null,
|
82180 |
wp.element.createElement(
|
82181 |
ButtonGroup,
|
82182 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
82183 |
wp.element.createElement(
|
82184 |
Button,
|
82185 |
{
|
@@ -82210,7 +82249,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
82210 |
)
|
82211 |
),
|
82212 |
wp.element.createElement(RangeControl, {
|
82213 |
-
label: __("Line Height"),
|
82214 |
value: lineHeightMobile,
|
82215 |
onChange: function onChange(value) {
|
82216 |
setAttributes({ lineHeightMobile: value });
|
@@ -82228,7 +82267,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
82228 |
null,
|
82229 |
wp.element.createElement(
|
82230 |
ButtonGroup,
|
82231 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
82232 |
wp.element.createElement(
|
82233 |
Button,
|
82234 |
{
|
@@ -82259,7 +82298,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
82259 |
)
|
82260 |
),
|
82261 |
wp.element.createElement(RangeControl, {
|
82262 |
-
label: __("Line Height"),
|
82263 |
value: lineHeightTablet,
|
82264 |
onChange: function onChange(value) {
|
82265 |
setAttributes({ lineHeightTablet: value });
|
@@ -82278,7 +82317,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
82278 |
null,
|
82279 |
wp.element.createElement(
|
82280 |
ButtonGroup,
|
82281 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
82282 |
wp.element.createElement(
|
82283 |
Button,
|
82284 |
{
|
@@ -82309,7 +82348,7 @@ var UAGBButtonsChild = function (_Component) {
|
|
82309 |
)
|
82310 |
),
|
82311 |
wp.element.createElement(RangeControl, {
|
82312 |
-
label: __("Line Height"),
|
82313 |
value: lineHeight,
|
82314 |
onChange: function onChange(value) {
|
82315 |
setAttributes({ lineHeight: value });
|
@@ -82417,8 +82456,8 @@ var UAGBButtonsChild = function (_Component) {
|
|
82417 |
"use strict";
|
82418 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
82419 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
82420 |
-
/**
|
82421 |
-
* Returns Dynamic Generated CSS
|
82422 |
*/
|
82423 |
|
82424 |
|
@@ -83386,8 +83425,8 @@ function parseSVG(svg) {
|
|
83386 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
83387 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
83388 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
83389 |
-
/**
|
83390 |
-
* BLOCK: Buttons - Save Block
|
83391 |
*/
|
83392 |
|
83393 |
|
@@ -83476,8 +83515,8 @@ function save(props) {
|
|
83476 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
83477 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */ 528);
|
83478 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
|
83479 |
-
/**
|
83480 |
-
* BLOCK: Info Box
|
83481 |
*/
|
83482 |
|
83483 |
|
@@ -83496,7 +83535,7 @@ registerBlockType("uagb/info-box", {
|
|
83496 |
title: uagb_blocks_info.blocks["uagb/info-box"]["title"],
|
83497 |
description: uagb_blocks_info.blocks["uagb/info-box"]["description"],
|
83498 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].info_box,
|
83499 |
-
keywords: [__("info box"), __("uag")],
|
83500 |
supports: {
|
83501 |
anchor: true
|
83502 |
},
|
@@ -83547,8 +83586,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
83547 |
|
83548 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
83549 |
|
83550 |
-
/**
|
83551 |
-
* BLOCK: Info Box - Edit Class
|
83552 |
*/
|
83553 |
|
83554 |
|
@@ -83596,7 +83635,7 @@ var _wp$element = wp.element,
|
|
83596 |
Fragment = _wp$element.Fragment;
|
83597 |
|
83598 |
|
83599 |
-
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail") }, { value: "medium", label: __("Medium") }, { value: "full", label: __("Large") }];
|
83600 |
|
83601 |
$ = jQuery;
|
83602 |
|
@@ -83629,8 +83668,8 @@ var UAGBinfoBox = function (_Component) {
|
|
83629 |
this.props.setAttributes({ ctaIcon: value });
|
83630 |
}
|
83631 |
|
83632 |
-
/*
|
83633 |
-
* Event to set Image as while adding.
|
83634 |
*/
|
83635 |
|
83636 |
}, {
|
@@ -83667,8 +83706,8 @@ var UAGBinfoBox = function (_Component) {
|
|
83667 |
return size_arr;
|
83668 |
}
|
83669 |
|
83670 |
-
/*
|
83671 |
-
* Event to set Image as null while removing.
|
83672 |
*/
|
83673 |
|
83674 |
}, {
|
@@ -83680,8 +83719,8 @@ var UAGBinfoBox = function (_Component) {
|
|
83680 |
setAttributes({ iconImage: '' });
|
83681 |
}
|
83682 |
|
83683 |
-
/**
|
83684 |
-
* Function Name: toggleTarget.
|
83685 |
*/
|
83686 |
|
83687 |
}, {
|
@@ -83694,8 +83733,8 @@ var UAGBinfoBox = function (_Component) {
|
|
83694 |
setAttributes({ ctaTarget: !ctaTarget });
|
83695 |
}
|
83696 |
|
83697 |
-
/**
|
83698 |
-
* Function Name: toggleResponsive.
|
83699 |
*/
|
83700 |
|
83701 |
}, {
|
@@ -83825,7 +83864,7 @@ var UAGBinfoBox = function (_Component) {
|
|
83825 |
onChange: this.getIfbIcon,
|
83826 |
isMulti: false,
|
83827 |
renderFunc: __WEBPACK_IMPORTED_MODULE_12__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
83828 |
-
noSelectedPlaceholder: __("Select Icon")
|
83829 |
|
83830 |
// Icon properties.
|
83831 |
};var cta_icon_props = {
|
@@ -83834,7 +83873,7 @@ var UAGBinfoBox = function (_Component) {
|
|
83834 |
value: ctaIcon,
|
83835 |
onChange: this.getCtaicon,
|
83836 |
isMulti: false,
|
83837 |
-
noSelectedPlaceholder: __("Select Icon")
|
83838 |
};
|
83839 |
|
83840 |
if (iconImage && iconImage["sizes"]) {
|
@@ -83896,7 +83935,7 @@ var UAGBinfoBox = function (_Component) {
|
|
83896 |
null,
|
83897 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
83898 |
wp.element.createElement(RangeControl, {
|
83899 |
-
label: __("Icon Size"),
|
83900 |
value: iconSize,
|
83901 |
onChange: function onChange(value) {
|
83902 |
return setAttributes({ iconSize: value });
|
@@ -83912,11 +83951,11 @@ var UAGBinfoBox = function (_Component) {
|
|
83912 |
activeClass: "active-tab",
|
83913 |
tabs: [{
|
83914 |
name: "normal",
|
83915 |
-
title: __("Normal"),
|
83916 |
className: "uagb-normal-tab"
|
83917 |
}, {
|
83918 |
name: "hover",
|
83919 |
-
title: __("Hover"),
|
83920 |
className: "uagb-focus-tab"
|
83921 |
}] },
|
83922 |
function (tabName) {
|
@@ -83928,7 +83967,7 @@ var UAGBinfoBox = function (_Component) {
|
|
83928 |
wp.element.createElement(
|
83929 |
"p",
|
83930 |
{ className: "uagb-setting-label" },
|
83931 |
-
__("Icon Color"),
|
83932 |
wp.element.createElement(
|
83933 |
"span",
|
83934 |
{ className: "components-base-control__label" },
|
@@ -83950,7 +83989,7 @@ var UAGBinfoBox = function (_Component) {
|
|
83950 |
wp.element.createElement(
|
83951 |
"p",
|
83952 |
{ className: "uagb-setting-label" },
|
83953 |
-
__("Icon Hover Color"),
|
83954 |
wp.element.createElement(
|
83955 |
"span",
|
83956 |
{ className: "components-base-control__label" },
|
@@ -83979,15 +84018,15 @@ var UAGBinfoBox = function (_Component) {
|
|
83979 |
var seperatorSettings = wp.element.createElement(
|
83980 |
PanelBody,
|
83981 |
{
|
83982 |
-
title: __("Separator"),
|
83983 |
initialOpen: false },
|
83984 |
wp.element.createElement(SelectControl, {
|
83985 |
-
label: __("Position"),
|
83986 |
value: seperatorPosition,
|
83987 |
onChange: function onChange(value) {
|
83988 |
return setAttributes({ seperatorPosition: value });
|
83989 |
},
|
83990 |
-
options: [{ value: "after_icon", label: __("After Icon/Image") }, { value: "after_prefix", label: __("After Prefix") }, { value: "after_title", label: __("After Title") }, { value: "after_desc", label: __("After Description") }]
|
83991 |
}),
|
83992 |
wp.element.createElement(SelectControl, {
|
83993 |
label: __("Style"),
|
@@ -83995,13 +84034,13 @@ var UAGBinfoBox = function (_Component) {
|
|
83995 |
onChange: function onChange(value) {
|
83996 |
return setAttributes({ seperatorStyle: value });
|
83997 |
},
|
83998 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "double", label: __("Double") }, { value: "dashed", label: __("Dashed") }, { value: "dotted", label: __("Dotted") }]
|
83999 |
}),
|
84000 |
"none" !== seperatorStyle && wp.element.createElement(
|
84001 |
Fragment,
|
84002 |
null,
|
84003 |
wp.element.createElement(RangeControl, {
|
84004 |
-
label: __("Thickness"),
|
84005 |
value: seperatorThickness,
|
84006 |
onChange: function onChange(value) {
|
84007 |
return setAttributes({ seperatorThickness: value });
|
@@ -84013,7 +84052,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84013 |
}),
|
84014 |
wp.element.createElement(
|
84015 |
ButtonGroup,
|
84016 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
84017 |
wp.element.createElement(
|
84018 |
Button,
|
84019 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: separatorWidthType === "px", "aria-pressed": separatorWidthType === "px", onClick: function onClick() {
|
@@ -84030,7 +84069,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84030 |
)
|
84031 |
),
|
84032 |
wp.element.createElement(RangeControl, {
|
84033 |
-
label: __("Width"),
|
84034 |
value: seperatorWidth,
|
84035 |
onChange: function onChange(value) {
|
84036 |
return setAttributes({ seperatorWidth: value });
|
@@ -84043,7 +84082,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84043 |
wp.element.createElement(
|
84044 |
"p",
|
84045 |
{ className: "uagb-setting-label" },
|
84046 |
-
__("Separator Color"),
|
84047 |
wp.element.createElement(
|
84048 |
"span",
|
84049 |
{ className: "components-base-control__label" },
|
@@ -84063,34 +84102,34 @@ var UAGBinfoBox = function (_Component) {
|
|
84063 |
// CTA settings.
|
84064 |
var ctaSettings = wp.element.createElement(
|
84065 |
PanelBody,
|
84066 |
-
{ title: __("Call To Action"), initialOpen: false },
|
84067 |
wp.element.createElement(SelectControl, {
|
84068 |
-
label: __("Type"),
|
84069 |
value: ctaType,
|
84070 |
onChange: function onChange(value) {
|
84071 |
return setAttributes({ ctaType: value });
|
84072 |
},
|
84073 |
-
options: [{ value: "none", label: __("None") }, { value: "text", label: __("Text") }, { value: "button", label: __("Button") }, { value: "all", label: __("Complete Box") }]
|
84074 |
}),
|
84075 |
(ctaType === "text" || ctaType === "button") && wp.element.createElement(
|
84076 |
Fragment,
|
84077 |
null,
|
84078 |
wp.element.createElement(TextControl, {
|
84079 |
-
label: __("Text"),
|
84080 |
value: ctaText,
|
84081 |
onChange: function onChange(value) {
|
84082 |
return setAttributes({ ctaText: value });
|
84083 |
}
|
84084 |
}),
|
84085 |
wp.element.createElement(ToggleControl, {
|
84086 |
-
label: __("Inherit from Theme"),
|
84087 |
checked: inheritFromTheme,
|
84088 |
onChange: function onChange(value) {
|
84089 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
84090 |
}
|
84091 |
}),
|
84092 |
ctaType === "text" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84093 |
-
label: __("Typography"),
|
84094 |
attributes: attributes,
|
84095 |
setAttributes: setAttributes,
|
84096 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: 'ctaLoadGoogleFonts' },
|
@@ -84104,7 +84143,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84104 |
disableLineHeight: true
|
84105 |
}),
|
84106 |
!inheritFromTheme && ctaType === "button" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84107 |
-
label: __("Typography"),
|
84108 |
attributes: attributes,
|
84109 |
setAttributes: setAttributes,
|
84110 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: 'ctaLoadGoogleFonts' },
|
@@ -84122,14 +84161,14 @@ var UAGBinfoBox = function (_Component) {
|
|
84122 |
Fragment,
|
84123 |
null,
|
84124 |
wp.element.createElement(TextControl, {
|
84125 |
-
label: __("Link"),
|
84126 |
value: ctaLink,
|
84127 |
onChange: function onChange(value) {
|
84128 |
return setAttributes({ ctaLink: value });
|
84129 |
}
|
84130 |
}),
|
84131 |
wp.element.createElement(ToggleControl, {
|
84132 |
-
label: __("Open in new Window"),
|
84133 |
checked: ctaTarget,
|
84134 |
onChange: this.toggleTarget
|
84135 |
})
|
@@ -84141,22 +84180,22 @@ var UAGBinfoBox = function (_Component) {
|
|
84141 |
wp.element.createElement(
|
84142 |
"h2",
|
84143 |
null,
|
84144 |
-
__("Button Icon")
|
84145 |
),
|
84146 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, cta_icon_props),
|
84147 |
ctaIcon != "" && wp.element.createElement(
|
84148 |
Fragment,
|
84149 |
null,
|
84150 |
wp.element.createElement(SelectControl, {
|
84151 |
-
label: __("Icon Position"),
|
84152 |
value: ctaIconPosition,
|
84153 |
onChange: function onChange(value) {
|
84154 |
return setAttributes({ ctaIconPosition: value });
|
84155 |
},
|
84156 |
-
options: [{ value: "before", label: __("Before Text") }, { value: "after", label: __("After Text") }]
|
84157 |
}),
|
84158 |
wp.element.createElement(RangeControl, {
|
84159 |
-
label: __("Icon Spacing"),
|
84160 |
value: ctaIconSpace,
|
84161 |
onChange: function onChange(value) {
|
84162 |
return setAttributes({ ctaIconSpace: value });
|
@@ -84175,7 +84214,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84175 |
wp.element.createElement(
|
84176 |
"h2",
|
84177 |
null,
|
84178 |
-
__("Button Padding")
|
84179 |
),
|
84180 |
wp.element.createElement(RangeControl, {
|
84181 |
label: __WEBPACK_IMPORTED_MODULE_13__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -84203,21 +84242,21 @@ var UAGBinfoBox = function (_Component) {
|
|
84203 |
wp.element.createElement(
|
84204 |
"h2",
|
84205 |
null,
|
84206 |
-
__("Button Border")
|
84207 |
),
|
84208 |
wp.element.createElement(SelectControl, {
|
84209 |
-
label: __("Style"),
|
84210 |
value: ctaBorderStyle,
|
84211 |
onChange: function onChange(value) {
|
84212 |
return setAttributes({ ctaBorderStyle: value });
|
84213 |
},
|
84214 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "double", label: __("Double") }, { value: "dashed", label: __("Dashed") }, { value: "dotted", label: __("Dotted") }]
|
84215 |
}),
|
84216 |
ctaBorderStyle !== "none" && wp.element.createElement(
|
84217 |
Fragment,
|
84218 |
null,
|
84219 |
wp.element.createElement(RangeControl, {
|
84220 |
-
label: __("Width"),
|
84221 |
value: ctaBorderWidth,
|
84222 |
onChange: function onChange(value) {
|
84223 |
return setAttributes({ ctaBorderWidth: value });
|
@@ -84229,7 +84268,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84229 |
})
|
84230 |
),
|
84231 |
wp.element.createElement(RangeControl, {
|
84232 |
-
label: __("Rounded Corner"),
|
84233 |
value: ctaBorderRadius,
|
84234 |
onChange: function onChange(value) {
|
84235 |
return setAttributes({ ctaBorderRadius: value });
|
@@ -84247,11 +84286,11 @@ var UAGBinfoBox = function (_Component) {
|
|
84247 |
activeClass: "active-tab",
|
84248 |
tabs: [{
|
84249 |
name: "normal",
|
84250 |
-
title: __("Normal"),
|
84251 |
className: "uagb-normal-tab"
|
84252 |
}, {
|
84253 |
name: "hover",
|
84254 |
-
title: __("Hover"),
|
84255 |
className: "uagb-focus-tab"
|
84256 |
}] },
|
84257 |
function (tabName) {
|
@@ -84263,7 +84302,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84263 |
wp.element.createElement(
|
84264 |
"p",
|
84265 |
{ className: "uagb-setting-label" },
|
84266 |
-
__("Text Color"),
|
84267 |
wp.element.createElement(
|
84268 |
"span",
|
84269 |
{ className: "components-base-control__label" },
|
@@ -84285,7 +84324,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84285 |
wp.element.createElement(
|
84286 |
"p",
|
84287 |
{ className: "uagb-setting-label" },
|
84288 |
-
__("Text Hover Color"),
|
84289 |
wp.element.createElement(
|
84290 |
"span",
|
84291 |
{ className: "components-base-control__label" },
|
@@ -84314,11 +84353,11 @@ var UAGBinfoBox = function (_Component) {
|
|
84314 |
activeClass: "active-tab",
|
84315 |
tabs: [{
|
84316 |
name: "normal",
|
84317 |
-
title: __("Normal"),
|
84318 |
className: "uagb-normal-tab"
|
84319 |
}, {
|
84320 |
name: "hover",
|
84321 |
-
title: __("Hover"),
|
84322 |
className: "uagb-focus-tab"
|
84323 |
}] },
|
84324 |
function (tabName) {
|
@@ -84343,7 +84382,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84343 |
wp.element.createElement(
|
84344 |
"p",
|
84345 |
{ className: "uagb-setting-label" },
|
84346 |
-
__("Text Color"),
|
84347 |
wp.element.createElement(
|
84348 |
"span",
|
84349 |
{ className: "components-base-control__label" },
|
@@ -84360,7 +84399,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84360 |
wp.element.createElement(
|
84361 |
"p",
|
84362 |
{ className: "uagb-setting-label" },
|
84363 |
-
__("Background Color"),
|
84364 |
wp.element.createElement(
|
84365 |
"span",
|
84366 |
{ className: "components-base-control__label" },
|
@@ -84380,7 +84419,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84380 |
wp.element.createElement(
|
84381 |
"p",
|
84382 |
{ className: "uagb-setting-label" },
|
84383 |
-
__("Border Color"),
|
84384 |
wp.element.createElement(
|
84385 |
"span",
|
84386 |
{ className: "components-base-control__label" },
|
@@ -84403,7 +84442,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84403 |
wp.element.createElement(
|
84404 |
"p",
|
84405 |
{ className: "uagb-setting-label" },
|
84406 |
-
__("Text Hover Color"),
|
84407 |
wp.element.createElement(
|
84408 |
"span",
|
84409 |
{ className: "components-base-control__label" },
|
@@ -84420,7 +84459,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84420 |
wp.element.createElement(
|
84421 |
"p",
|
84422 |
{ className: "uagb-setting-label" },
|
84423 |
-
__("Background Hover Color"),
|
84424 |
wp.element.createElement(
|
84425 |
"span",
|
84426 |
{ className: "components-base-control__label" },
|
@@ -84440,7 +84479,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84440 |
wp.element.createElement(
|
84441 |
"p",
|
84442 |
{ className: "uagb-setting-label" },
|
84443 |
-
__("Border Hover Color"),
|
84444 |
wp.element.createElement(
|
84445 |
"span",
|
84446 |
{ className: "components-base-control__label" },
|
@@ -84460,9 +84499,9 @@ var UAGBinfoBox = function (_Component) {
|
|
84460 |
// Typography settings.
|
84461 |
var TypographySettings = wp.element.createElement(
|
84462 |
PanelBody,
|
84463 |
-
{ title: __("Content"), initialOpen: false },
|
84464 |
wp.element.createElement(ToggleControl, {
|
84465 |
-
label: __("Enable Prefix"),
|
84466 |
checked: showPrefix,
|
84467 |
onChange: function onChange(value) {
|
84468 |
return setAttributes({ showPrefix: !showPrefix });
|
@@ -84472,7 +84511,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84472 |
Fragment,
|
84473 |
null,
|
84474 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84475 |
-
label: __("Typography"),
|
84476 |
attributes: attributes,
|
84477 |
setAttributes: setAttributes,
|
84478 |
loadGoogleFonts: { value: prefixLoadGoogleFonts, label: 'prefixLoadGoogleFonts' },
|
@@ -84491,7 +84530,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84491 |
wp.element.createElement(
|
84492 |
"p",
|
84493 |
{ className: "uagb-setting-label" },
|
84494 |
-
__("Prefix Color"),
|
84495 |
wp.element.createElement(
|
84496 |
"span",
|
84497 |
{ className: "components-base-control__label" },
|
@@ -84508,7 +84547,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84508 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
84509 |
),
|
84510 |
wp.element.createElement(ToggleControl, {
|
84511 |
-
label: __("Enable Title"),
|
84512 |
checked: showTitle,
|
84513 |
onChange: function onChange(value) {
|
84514 |
return setAttributes({ showTitle: !showTitle });
|
@@ -84518,7 +84557,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84518 |
Fragment,
|
84519 |
null,
|
84520 |
wp.element.createElement(SelectControl, {
|
84521 |
-
label: __("Title Tag"),
|
84522 |
value: headingTag,
|
84523 |
onChange: function onChange(value) {
|
84524 |
return setAttributes({ headingTag: value });
|
@@ -84526,7 +84565,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84526 |
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }]
|
84527 |
}),
|
84528 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84529 |
-
label: __("Typography"),
|
84530 |
attributes: attributes,
|
84531 |
setAttributes: setAttributes,
|
84532 |
loadGoogleFonts: { value: headLoadGoogleFonts, label: 'headLoadGoogleFonts' },
|
@@ -84545,7 +84584,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84545 |
wp.element.createElement(
|
84546 |
"p",
|
84547 |
{ className: "uagb-setting-label" },
|
84548 |
-
__("Title Color"),
|
84549 |
wp.element.createElement(
|
84550 |
"span",
|
84551 |
{ className: "components-base-control__label" },
|
@@ -84562,7 +84601,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84562 |
wp.element.createElement("hr", { "class": "uagb-editor__separator" })
|
84563 |
),
|
84564 |
wp.element.createElement(ToggleControl, {
|
84565 |
-
label: __("Enable Description"),
|
84566 |
checked: showDesc,
|
84567 |
onChange: function onChange(value) {
|
84568 |
return setAttributes({ showDesc: !showDesc });
|
@@ -84572,7 +84611,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84572 |
Fragment,
|
84573 |
null,
|
84574 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84575 |
-
label: __("Typography"),
|
84576 |
attributes: attributes,
|
84577 |
setAttributes: setAttributes,
|
84578 |
loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: 'subHeadLoadGoogleFonts' },
|
@@ -84591,7 +84630,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84591 |
wp.element.createElement(
|
84592 |
"p",
|
84593 |
{ className: "uagb-setting-label" },
|
84594 |
-
__("Description Color"),
|
84595 |
wp.element.createElement(
|
84596 |
"span",
|
84597 |
{ className: "components-base-control__label" },
|
@@ -84611,9 +84650,9 @@ var UAGBinfoBox = function (_Component) {
|
|
84611 |
// Margin Settings.
|
84612 |
var marginSettings = wp.element.createElement(
|
84613 |
PanelBody,
|
84614 |
-
{ title: __("Spacing"), initialOpen: false },
|
84615 |
showPrefix && wp.element.createElement(RangeControl, {
|
84616 |
-
label: __("Prefix Bottom Margin"),
|
84617 |
value: prefixSpace,
|
84618 |
onChange: function onChange(value) {
|
84619 |
return setAttributes({ prefixSpace: value });
|
@@ -84624,7 +84663,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84624 |
allowReset: true
|
84625 |
}),
|
84626 |
showTitle && wp.element.createElement(RangeControl, {
|
84627 |
-
label: __("Title Bottom Margin"),
|
84628 |
value: headSpace,
|
84629 |
onChange: function onChange(value) {
|
84630 |
return setAttributes({ headSpace: value });
|
@@ -84635,7 +84674,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84635 |
allowReset: true
|
84636 |
}),
|
84637 |
"none" !== seperatorStyle && wp.element.createElement(RangeControl, {
|
84638 |
-
label: __("Separator Bottom Margin"),
|
84639 |
value: seperatorSpace,
|
84640 |
onChange: function onChange(value) {
|
84641 |
return setAttributes({ seperatorSpace: value });
|
@@ -84646,7 +84685,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84646 |
allowReset: true
|
84647 |
}),
|
84648 |
showDesc && wp.element.createElement(RangeControl, {
|
84649 |
-
label: __("Description Bottom Margin"),
|
84650 |
value: subHeadSpace,
|
84651 |
onChange: function onChange(value) {
|
84652 |
return setAttributes({ subHeadSpace: value });
|
@@ -84660,7 +84699,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84660 |
wp.element.createElement(
|
84661 |
"h2",
|
84662 |
null,
|
84663 |
-
__("Image/Icon Margin (px)")
|
84664 |
),
|
84665 |
wp.element.createElement(RangeControl, {
|
84666 |
label: __WEBPACK_IMPORTED_MODULE_13__dist_blocks_uagb_controls_block_icons__["a" /* default */].left_margin,
|
@@ -84708,12 +84747,12 @@ var UAGBinfoBox = function (_Component) {
|
|
84708 |
})
|
84709 |
);
|
84710 |
|
84711 |
-
var image_name = __("Select Image");
|
84712 |
if (iconImage) {
|
84713 |
if (iconImage.url == null || iconImage.url == "") {
|
84714 |
-
image_name = __("Select Image");
|
84715 |
} else {
|
84716 |
-
image_name = __("Replace Image");
|
84717 |
}
|
84718 |
}
|
84719 |
|
@@ -84723,9 +84762,9 @@ var UAGBinfoBox = function (_Component) {
|
|
84723 |
null,
|
84724 |
wp.element.createElement(
|
84725 |
BaseControl,
|
84726 |
-
{ className: "editor-bg-image-control", label: __("Image") },
|
84727 |
wp.element.createElement(MediaUpload, {
|
84728 |
-
title: __("Select Image"),
|
84729 |
onSelect: this.onSelectImage,
|
84730 |
allowedTypes: ["image"],
|
84731 |
value: iconImage,
|
@@ -84741,14 +84780,14 @@ var UAGBinfoBox = function (_Component) {
|
|
84741 |
iconImage && iconImage.url !== "null" && iconImage.url !== "" && wp.element.createElement(
|
84742 |
Button,
|
84743 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
84744 |
-
__("Remove Image")
|
84745 |
)
|
84746 |
),
|
84747 |
iconImage && iconImage.url !== "null" && iconImage.url !== "" && wp.element.createElement(
|
84748 |
Fragment,
|
84749 |
null,
|
84750 |
wp.element.createElement(SelectControl, {
|
84751 |
-
label: __("Image Size"),
|
84752 |
options: imageSizeOptions,
|
84753 |
value: imageSize,
|
84754 |
onChange: function onChange(value) {
|
@@ -84756,15 +84795,15 @@ var UAGBinfoBox = function (_Component) {
|
|
84756 |
}
|
84757 |
}),
|
84758 |
wp.element.createElement(ToggleControl, {
|
84759 |
-
label: __("Custom Width"),
|
84760 |
checked: imageWidthType,
|
84761 |
onChange: function onChange(value) {
|
84762 |
return setAttributes({ imageWidthType: !imageWidthType });
|
84763 |
},
|
84764 |
-
help: __("Turn this off to inherit the natural width of Image.")
|
84765 |
}),
|
84766 |
imageWidthType && wp.element.createElement(RangeControl, {
|
84767 |
-
label: __("Width (px)"),
|
84768 |
value: imageWidth,
|
84769 |
onChange: function onChange(value) {
|
84770 |
return setAttributes({ imageWidth: value });
|
@@ -84775,7 +84814,7 @@ var UAGBinfoBox = function (_Component) {
|
|
84775 |
allowReset: true
|
84776 |
}),
|
84777 |
wp.element.createElement(RangeControl, {
|
84778 |
-
label: __("Rounded Corners (px)"),
|
84779 |
value: iconimgBorderRadius,
|
84780 |
onChange: function onChange(value) {
|
84781 |
return setAttributes({ iconimgBorderRadius: value });
|
@@ -84794,40 +84833,40 @@ var UAGBinfoBox = function (_Component) {
|
|
84794 |
null,
|
84795 |
wp.element.createElement(
|
84796 |
PanelBody,
|
84797 |
-
{ title: __("Image/Icon") },
|
84798 |
wp.element.createElement(SelectControl, {
|
84799 |
-
label: __("Select Position"),
|
84800 |
value: iconimgPosition,
|
84801 |
onChange: function onChange(value) {
|
84802 |
return setAttributes({ iconimgPosition: value });
|
84803 |
},
|
84804 |
-
options: [{ value: "above-title", label: __("Above Title") }, { value: "below-title", label: __("Below Title") }, { value: "left-title", label: __("Left of Title") }, { value: "right-title", label: __("Right of Title") }, { value: "left", label: __("Left of Text and Title") }, { value: "right", label: __("Right of Text and Title") }]
|
84805 |
}),
|
84806 |
(iconimgPosition == "left" || iconimgPosition == "right") && wp.element.createElement(SelectControl, {
|
84807 |
-
label: __("Stack on"),
|
84808 |
value: stack,
|
84809 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
84810 |
-
help: __("Note: Choose on what breakpoint the Info Box will stack."),
|
84811 |
onChange: function onChange(value) {
|
84812 |
return setAttributes({ stack: value });
|
84813 |
}
|
84814 |
}),
|
84815 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
84816 |
wp.element.createElement(SelectControl, {
|
84817 |
-
label: __("Select Source"),
|
84818 |
value: source_type,
|
84819 |
onChange: function onChange(value) {
|
84820 |
return setAttributes({ source_type: value });
|
84821 |
},
|
84822 |
-
options: [{ value: "icon", label: __("Icon") }, { value: "image", label: __("Image") }]
|
84823 |
}),
|
84824 |
iconimgPosition && iconimgPosition !== "above-title" && iconimgPosition !== "below-title" && wp.element.createElement(SelectControl, {
|
84825 |
-
label: __("Vertical Alignment"),
|
84826 |
value: sourceAlign,
|
84827 |
onChange: function onChange(value) {
|
84828 |
return setAttributes({ sourceAlign: value });
|
84829 |
},
|
84830 |
-
options: [{ value: "top", label: __("Top") }, { value: "middle", label: __("Middle") }]
|
84831 |
}),
|
84832 |
source_type && source_type == "icon" && iconControls,
|
84833 |
source_type && source_type == "image" && imageControls
|
@@ -85035,8 +85074,8 @@ var UAGBinfoBox = function (_Component) {
|
|
85035 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__components_IconImage__ = __webpack_require__(/*! ./components/IconImage */ 205);
|
85036 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
85037 |
|
85038 |
-
/**
|
85039 |
-
* BLOCK: Column - Save Block
|
85040 |
*/
|
85041 |
|
85042 |
// Import block dependencies and components.
|
@@ -85220,8 +85259,8 @@ function save(props) {
|
|
85220 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__attributes__ = __webpack_require__(/*! ./attributes */ 206);
|
85221 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
85222 |
|
85223 |
-
/**
|
85224 |
-
* BLOCK: Columns - Deprecated Block
|
85225 |
*/
|
85226 |
|
85227 |
// Import block dependencies and components.
|
@@ -86521,8 +86560,8 @@ var InfoBoxIconImage = function (_React$Component) {
|
|
86521 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
|
86522 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 536);
|
86523 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__editor_scss__);
|
86524 |
-
/**
|
86525 |
-
* BLOCK: Testimonial
|
86526 |
*/
|
86527 |
|
86528 |
|
@@ -86541,7 +86580,7 @@ registerBlockType("uagb/testimonial", {
|
|
86541 |
title: uagb_blocks_info.blocks["uagb/testimonial"]["title"], // Block title.
|
86542 |
description: uagb_blocks_info.blocks["uagb/testimonial"]["description"], // Block description.
|
86543 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].testimonial, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
|
86544 |
-
keywords: [__("testimonial"), __("uag")],
|
86545 |
supports: {
|
86546 |
anchor: true
|
86547 |
},
|
@@ -86571,7 +86610,7 @@ registerBlockType("uagb/testimonial", {
|
|
86571 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__classes__ = __webpack_require__(/*! ./classes */ 113);
|
86572 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 531);
|
86573 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_Image__ = __webpack_require__(/*! ./components/Image */ 207);
|
86574 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_times__ = __webpack_require__(/*! lodash/times */
|
86575 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_times__);
|
86576 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_slick__ = __webpack_require__(/*! react-slick */ 194);
|
86577 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_slick___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_react_slick__);
|
@@ -86590,8 +86629,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
86590 |
|
86591 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
86592 |
|
86593 |
-
/**
|
86594 |
-
* BLOCK: Testimonial
|
86595 |
*/
|
86596 |
|
86597 |
|
@@ -86651,8 +86690,8 @@ var UAGBtestimonial = function (_Component) {
|
|
86651 |
return _this;
|
86652 |
}
|
86653 |
|
86654 |
-
/*
|
86655 |
-
* Event to set Image as while adding.
|
86656 |
*/
|
86657 |
|
86658 |
|
@@ -86686,8 +86725,8 @@ var UAGBtestimonial = function (_Component) {
|
|
86686 |
});
|
86687 |
}
|
86688 |
|
86689 |
-
/*
|
86690 |
-
* Event to set Image as null while removing.
|
86691 |
*/
|
86692 |
|
86693 |
}, {
|
@@ -86709,8 +86748,8 @@ var UAGBtestimonial = function (_Component) {
|
|
86709 |
});
|
86710 |
}
|
86711 |
|
86712 |
-
/*
|
86713 |
-
* Event to set Image selectot label.
|
86714 |
*/
|
86715 |
|
86716 |
}, {
|
@@ -86719,12 +86758,12 @@ var UAGBtestimonial = function (_Component) {
|
|
86719 |
var test_block = this.props.attributes.test_block;
|
86720 |
|
86721 |
|
86722 |
-
var image_name = __("Select Image");
|
86723 |
if (image) {
|
86724 |
if (image.url == null || image.url == "") {
|
86725 |
-
image_name = __("Select Image");
|
86726 |
} else {
|
86727 |
-
image_name = __("Replace Image");
|
86728 |
}
|
86729 |
}
|
86730 |
return image_name;
|
@@ -86757,8 +86796,8 @@ var UAGBtestimonial = function (_Component) {
|
|
86757 |
setAttributes({ autoplay: !autoplay });
|
86758 |
}
|
86759 |
|
86760 |
-
/*
|
86761 |
-
* Event to set Image as null while removing.
|
86762 |
*/
|
86763 |
|
86764 |
}, {
|
@@ -86770,8 +86809,8 @@ var UAGBtestimonial = function (_Component) {
|
|
86770 |
setAttributes({ backgroundImage: null });
|
86771 |
}
|
86772 |
|
86773 |
-
/*
|
86774 |
-
* Event to set Image as while adding.
|
86775 |
*/
|
86776 |
|
86777 |
}, {
|
@@ -86929,14 +86968,14 @@ var UAGBtestimonial = function (_Component) {
|
|
86929 |
null,
|
86930 |
wp.element.createElement(
|
86931 |
PanelBody,
|
86932 |
-
{ title: __("Typography"), initialOpen: false },
|
86933 |
wp.element.createElement(
|
86934 |
"h2",
|
86935 |
null,
|
86936 |
-
__("Testimonial")
|
86937 |
),
|
86938 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
86939 |
-
label: __("Typography"),
|
86940 |
attributes: attributes,
|
86941 |
setAttributes: setAttributes,
|
86942 |
loadGoogleFonts: { value: descLoadGoogleFonts, label: "descLoadGoogleFonts" },
|
@@ -86956,10 +86995,10 @@ var UAGBtestimonial = function (_Component) {
|
|
86956 |
wp.element.createElement(
|
86957 |
"h2",
|
86958 |
null,
|
86959 |
-
__("Name")
|
86960 |
),
|
86961 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
86962 |
-
label: __("Typography"),
|
86963 |
attributes: attributes,
|
86964 |
setAttributes: setAttributes,
|
86965 |
loadGoogleFonts: { value: nameLoadGoogleFonts, label: "nameLoadGoogleFonts" },
|
@@ -86979,10 +87018,10 @@ var UAGBtestimonial = function (_Component) {
|
|
86979 |
wp.element.createElement(
|
86980 |
"h2",
|
86981 |
null,
|
86982 |
-
__("Company")
|
86983 |
),
|
86984 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
86985 |
-
label: __("Typography"),
|
86986 |
attributes: attributes,
|
86987 |
setAttributes: setAttributes,
|
86988 |
loadGoogleFonts: { value: companyLoadGoogleFonts, label: "companyLoadGoogleFonts" },
|
@@ -87000,32 +87039,32 @@ var UAGBtestimonial = function (_Component) {
|
|
87000 |
})
|
87001 |
),
|
87002 |
wp.element.createElement(PanelColorSettings, {
|
87003 |
-
title: __("Color Settings"),
|
87004 |
initialOpen: false,
|
87005 |
colorSettings: [{
|
87006 |
value: descColor,
|
87007 |
onChange: function onChange(colorValue) {
|
87008 |
return setAttributes({ descColor: colorValue });
|
87009 |
},
|
87010 |
-
label: __("Testimonial Color")
|
87011 |
}, {
|
87012 |
value: authorColor,
|
87013 |
onChange: function onChange(colorValue) {
|
87014 |
return setAttributes({ authorColor: colorValue });
|
87015 |
},
|
87016 |
-
label: __("Name Color")
|
87017 |
}, {
|
87018 |
value: companyColor,
|
87019 |
onChange: function onChange(colorValue) {
|
87020 |
return setAttributes({ companyColor: colorValue });
|
87021 |
},
|
87022 |
-
label: __("Company Color")
|
87023 |
}, {
|
87024 |
value: arrowColor,
|
87025 |
onChange: function onChange(colorValue) {
|
87026 |
return setAttributes({ arrowColor: colorValue });
|
87027 |
},
|
87028 |
-
label: __("Arrow & Dots Color")
|
87029 |
}]
|
87030 |
})
|
87031 |
);
|
@@ -87033,9 +87072,9 @@ var UAGBtestimonial = function (_Component) {
|
|
87033 |
// Margin Settings.
|
87034 |
var marginSettings = wp.element.createElement(
|
87035 |
PanelBody,
|
87036 |
-
{ title: __("Spacing"), initialOpen: false },
|
87037 |
wp.element.createElement(RangeControl, {
|
87038 |
-
label: __("Gap Between Content & Dots"),
|
87039 |
value: rowGap,
|
87040 |
onChange: function onChange(value) {
|
87041 |
return setAttributes({ rowGap: value });
|
@@ -87045,7 +87084,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87045 |
allowReset: true
|
87046 |
}),
|
87047 |
wp.element.createElement(RangeControl, {
|
87048 |
-
label: __("Row Gap"),
|
87049 |
value: columnGap,
|
87050 |
onChange: function onChange(value) {
|
87051 |
return setAttributes({ columnGap: value });
|
@@ -87055,7 +87094,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87055 |
allowReset: true
|
87056 |
}),
|
87057 |
wp.element.createElement(RangeControl, {
|
87058 |
-
label: __("Content Padding"),
|
87059 |
value: contentPadding,
|
87060 |
onChange: function onChange(value) {
|
87061 |
return setAttributes({ contentPadding: value });
|
@@ -87065,7 +87104,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87065 |
allowReset: true
|
87066 |
}),
|
87067 |
wp.element.createElement(RangeControl, {
|
87068 |
-
label: __("Testimonial Bottom Margin"),
|
87069 |
value: descSpace,
|
87070 |
onChange: function onChange(value) {
|
87071 |
return setAttributes({ descSpace: value });
|
@@ -87075,7 +87114,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87075 |
allowReset: true
|
87076 |
}),
|
87077 |
wp.element.createElement(RangeControl, {
|
87078 |
-
label: __("Name Bottom Margin"),
|
87079 |
value: nameSpace,
|
87080 |
onChange: function onChange(value) {
|
87081 |
return setAttributes({ nameSpace: value });
|
@@ -87085,7 +87124,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87085 |
allowReset: true
|
87086 |
}),
|
87087 |
wp.element.createElement(RangeControl, {
|
87088 |
-
label: __("Image Horizontal Padding"),
|
87089 |
value: imgHrPadding,
|
87090 |
onChange: function onChange(value) {
|
87091 |
return setAttributes({ imgHrPadding: value });
|
@@ -87095,7 +87134,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87095 |
allowReset: true
|
87096 |
}),
|
87097 |
wp.element.createElement(RangeControl, {
|
87098 |
-
label: __("Image Vertical Padding"),
|
87099 |
value: imgVrPadding,
|
87100 |
onChange: function onChange(value) {
|
87101 |
return setAttributes({ imgVrPadding: value });
|
@@ -87111,14 +87150,14 @@ var UAGBtestimonial = function (_Component) {
|
|
87111 |
null,
|
87112 |
wp.element.createElement(
|
87113 |
PanelBody,
|
87114 |
-
{ title: __("Background"), initialOpen: false },
|
87115 |
wp.element.createElement(SelectControl, {
|
87116 |
-
label: __("Background Type"),
|
87117 |
value: backgroundType,
|
87118 |
onChange: function onChange(value) {
|
87119 |
return setAttributes({ backgroundType: value });
|
87120 |
},
|
87121 |
-
options: [{ value: "none", label: __("None") }, { value: "color", label: __("Color") }, { value: "image", label: __("Image") }]
|
87122 |
}),
|
87123 |
"color" == backgroundType && wp.element.createElement(
|
87124 |
Fragment,
|
@@ -87126,7 +87165,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87126 |
wp.element.createElement(
|
87127 |
"p",
|
87128 |
{ className: "uagb-setting-label" },
|
87129 |
-
__("Background Color"),
|
87130 |
wp.element.createElement(
|
87131 |
"span",
|
87132 |
{ className: "components-base-control__label" },
|
@@ -87148,9 +87187,9 @@ var UAGBtestimonial = function (_Component) {
|
|
87148 |
BaseControl,
|
87149 |
{
|
87150 |
className: "editor-bg-image-control",
|
87151 |
-
label: __("Background Image") },
|
87152 |
wp.element.createElement(MediaUpload, {
|
87153 |
-
title: __("Select Background Image"),
|
87154 |
onSelect: this.onSelectImage,
|
87155 |
allowedTypes: ["image"],
|
87156 |
value: backgroundImage,
|
@@ -87159,34 +87198,34 @@ var UAGBtestimonial = function (_Component) {
|
|
87159 |
return wp.element.createElement(
|
87160 |
Button,
|
87161 |
{ isDefault: true, onClick: open },
|
87162 |
-
!backgroundImage ? __("Select Background Image") : __("Replace image")
|
87163 |
);
|
87164 |
}
|
87165 |
}),
|
87166 |
backgroundImage && wp.element.createElement(
|
87167 |
Button,
|
87168 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
87169 |
-
__("Remove Image")
|
87170 |
)
|
87171 |
),
|
87172 |
backgroundImage && wp.element.createElement(
|
87173 |
Fragment,
|
87174 |
null,
|
87175 |
wp.element.createElement(SelectControl, {
|
87176 |
-
label: __("Image Position"),
|
87177 |
value: backgroundPosition,
|
87178 |
onChange: function onChange(value) {
|
87179 |
return setAttributes({ backgroundPosition: value });
|
87180 |
},
|
87181 |
-
options: [{ value: "top-left", label: __("Top Left") }, { value: "top-center", label: __("Top Center") }, { value: "top-right", label: __("Top Right") }, { value: "center-left", label: __("Center Left") }, { value: "center-center", label: __("Center Center") }, { value: "center-right", label: __("Center Right") }, { value: "bottom-left", label: __("Bottom Left") }, { value: "bottom-center", label: __("Bottom Center") }, { value: "bottom-right", label: __("Bottom Right") }]
|
87182 |
}),
|
87183 |
wp.element.createElement(SelectControl, {
|
87184 |
-
label: __("Repeat"),
|
87185 |
value: backgroundRepeat,
|
87186 |
onChange: function onChange(value) {
|
87187 |
return setAttributes({ backgroundRepeat: value });
|
87188 |
},
|
87189 |
-
options: [{ value: "no-repeat", label: __("No Repeat") }, { value: "repeat", label: __("Repeat") }, { value: "repeat-x", label: __("Repeat-x") }, { value: "repeat-y", label: __("Repeat-y") }]
|
87190 |
}),
|
87191 |
wp.element.createElement(SelectControl, {
|
87192 |
label: __("Size"),
|
@@ -87194,7 +87233,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87194 |
onChange: function onChange(value) {
|
87195 |
return setAttributes({ backgroundSize: value });
|
87196 |
},
|
87197 |
-
options: [{ value: "auto", label: __("Auto") }, { value: "cover", label: __("Cover") }, { value: "contain", label: __("Contain") }]
|
87198 |
}),
|
87199 |
wp.element.createElement(
|
87200 |
Fragment,
|
@@ -87202,7 +87241,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87202 |
wp.element.createElement(
|
87203 |
"p",
|
87204 |
{ className: "uagb-setting-label" },
|
87205 |
-
__("Image Overlay Color"),
|
87206 |
wp.element.createElement(
|
87207 |
"span",
|
87208 |
{ className: "components-base-control__label" },
|
@@ -87220,7 +87259,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87220 |
)
|
87221 |
),
|
87222 |
"image" == backgroundType && backgroundImage && wp.element.createElement(RangeControl, {
|
87223 |
-
label: __("Opacity"),
|
87224 |
value: backgroundOpacity,
|
87225 |
onChange: function onChange(value) {
|
87226 |
return setAttributes({ backgroundOpacity: value });
|
@@ -87233,20 +87272,20 @@ var UAGBtestimonial = function (_Component) {
|
|
87233 |
),
|
87234 |
wp.element.createElement(
|
87235 |
PanelBody,
|
87236 |
-
{ title: __("Border"), initialOpen: false },
|
87237 |
wp.element.createElement(SelectControl, {
|
87238 |
-
label: __("Border Style"),
|
87239 |
value: borderStyle,
|
87240 |
onChange: function onChange(value) {
|
87241 |
return setAttributes({ borderStyle: value });
|
87242 |
},
|
87243 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
87244 |
}),
|
87245 |
"none" != borderStyle && wp.element.createElement(
|
87246 |
Fragment,
|
87247 |
null,
|
87248 |
wp.element.createElement(RangeControl, {
|
87249 |
-
label: __("Border Width"),
|
87250 |
value: borderWidth,
|
87251 |
onChange: function onChange(value) {
|
87252 |
return setAttributes({ borderWidth: value });
|
@@ -87261,7 +87300,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87261 |
wp.element.createElement(
|
87262 |
"p",
|
87263 |
{ className: "uagb-setting-label" },
|
87264 |
-
__("Border Color"),
|
87265 |
wp.element.createElement(
|
87266 |
"span",
|
87267 |
{ className: "components-base-control__label" },
|
@@ -87278,7 +87317,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87278 |
)
|
87279 |
),
|
87280 |
wp.element.createElement(RangeControl, {
|
87281 |
-
label: __("Border Radius"),
|
87282 |
value: borderRadius,
|
87283 |
onChange: function onChange(value) {
|
87284 |
return setAttributes({ borderRadius: value });
|
@@ -87291,7 +87330,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87291 |
);
|
87292 |
|
87293 |
// Image sizes.
|
87294 |
-
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail") }, { value: "medium", label: __("Medium") }, { value: "full", label: __("Large") }];
|
87295 |
|
87296 |
function NextArrow(props) {
|
87297 |
return wp.element.createElement(
|
@@ -87351,7 +87390,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87351 |
return wp.element.createElement(
|
87352 |
PanelBody,
|
87353 |
{ key: index,
|
87354 |
-
title: __("Image") + " " + (index + 1) + " " + __("Settings"),
|
87355 |
initialOpen: true,
|
87356 |
className: "uagb-repeater-panel"
|
87357 |
},
|
@@ -87390,9 +87429,9 @@ var UAGBtestimonial = function (_Component) {
|
|
87390 |
|
87391 |
var carousal_settings = wp.element.createElement(
|
87392 |
PanelBody,
|
87393 |
-
{ title: __("Carousel"), initialOpen: false },
|
87394 |
wp.element.createElement(ToggleControl, {
|
87395 |
-
label: __("Pause On Hover"),
|
87396 |
checked: pauseOnHover,
|
87397 |
onChange: this.togglePauseOnHover
|
87398 |
}),
|
@@ -87402,7 +87441,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87402 |
onChange: this.toggleAutoplay
|
87403 |
}),
|
87404 |
autoplay == true && wp.element.createElement(RangeControl, {
|
87405 |
-
label: __("Autoplay Speed (ms)"),
|
87406 |
value: autoplaySpeed,
|
87407 |
onChange: function onChange(value) {
|
87408 |
return setAttributes({ autoplaySpeed: value });
|
@@ -87411,12 +87450,12 @@ var UAGBtestimonial = function (_Component) {
|
|
87411 |
max: 10000
|
87412 |
}),
|
87413 |
wp.element.createElement(ToggleControl, {
|
87414 |
-
label: __("Infinite Loop"),
|
87415 |
checked: infiniteLoop,
|
87416 |
onChange: this.toggleInfiniteLoop
|
87417 |
}),
|
87418 |
wp.element.createElement(RangeControl, {
|
87419 |
-
label: __("Transition Speed (ms)"),
|
87420 |
value: transitionSpeed,
|
87421 |
onChange: function onChange(value) {
|
87422 |
return setAttributes({ transitionSpeed: value });
|
@@ -87425,18 +87464,18 @@ var UAGBtestimonial = function (_Component) {
|
|
87425 |
max: 5000
|
87426 |
}),
|
87427 |
wp.element.createElement(SelectControl, {
|
87428 |
-
label: __("Show Arrows & Dots"),
|
87429 |
value: arrowDots,
|
87430 |
onChange: function onChange(value) {
|
87431 |
return setAttributes({ arrowDots: value });
|
87432 |
},
|
87433 |
-
options: [{ value: "arrows", label: __("Only Arrows") }, { value: "dots", label: __("Only Dots") }, { value: "arrows_dots", label: __("Both Arrows & Dots") }]
|
87434 |
}),
|
87435 |
"dots" != arrowDots && wp.element.createElement(
|
87436 |
Fragment,
|
87437 |
null,
|
87438 |
wp.element.createElement(RangeControl, {
|
87439 |
-
label: __("Arrow Size"),
|
87440 |
value: arrowSize,
|
87441 |
onChange: function onChange(value) {
|
87442 |
return setAttributes({ arrowSize: value });
|
@@ -87445,7 +87484,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87445 |
max: 50
|
87446 |
}),
|
87447 |
wp.element.createElement(RangeControl, {
|
87448 |
-
label: __("Arrow Border Size"),
|
87449 |
value: arrowBorderSize,
|
87450 |
onChange: function onChange(value) {
|
87451 |
return setAttributes({ arrowBorderSize: value });
|
@@ -87454,7 +87493,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87454 |
max: 50
|
87455 |
}),
|
87456 |
wp.element.createElement(RangeControl, {
|
87457 |
-
label: __("Arrow Border Radius"),
|
87458 |
value: arrowBorderRadius,
|
87459 |
onChange: function onChange(value) {
|
87460 |
return setAttributes({ arrowBorderRadius: value });
|
@@ -87484,7 +87523,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87484 |
PanelBody,
|
87485 |
{ title: __("General"), initialOpen: true },
|
87486 |
wp.element.createElement(RangeControl, {
|
87487 |
-
label: __("Number of Testimonials"),
|
87488 |
value: test_item_count,
|
87489 |
onChange: function onChange(newCount) {
|
87490 |
var cloneTest_block = [].concat(_toConsumableArray(test_block));
|
@@ -87538,7 +87577,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87538 |
|
87539 |
if ("mobile" === tab.name) {
|
87540 |
tabout = wp.element.createElement(RangeControl, {
|
87541 |
-
label: __("Columns"),
|
87542 |
value: mcolumns,
|
87543 |
onChange: function onChange(value) {
|
87544 |
return setAttributes({ mcolumns: value });
|
@@ -87548,7 +87587,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87548 |
});
|
87549 |
} else if ("tablet" === tab.name) {
|
87550 |
tabout = wp.element.createElement(RangeControl, {
|
87551 |
-
label: __("Columns"),
|
87552 |
value: tcolumns,
|
87553 |
onChange: function onChange(value) {
|
87554 |
return setAttributes({ tcolumns: value });
|
@@ -87558,7 +87597,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87558 |
});
|
87559 |
} else {
|
87560 |
tabout = wp.element.createElement(RangeControl, {
|
87561 |
-
label: __("Columns"),
|
87562 |
value: columns,
|
87563 |
onChange: function onChange(value) {
|
87564 |
return setAttributes({ columns: value });
|
@@ -87580,7 +87619,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87580 |
wp.element.createElement(
|
87581 |
PanelBody,
|
87582 |
{
|
87583 |
-
title: __("Image"),
|
87584 |
initialOpen: false
|
87585 |
},
|
87586 |
__WEBPACK_IMPORTED_MODULE_7_lodash_times___default()(test_item_count, function (n) {
|
@@ -87596,39 +87635,39 @@ var UAGBtestimonial = function (_Component) {
|
|
87596 |
onChange: function onChange(value) {
|
87597 |
return setAttributes({ imagePosition: value });
|
87598 |
},
|
87599 |
-
options: [{ value: "top", label: __("Top") }, { value: "bottom", label: __("Bottom") }, { value: "left", label: __("Left") }, { value: "right", label: __("Right") }]
|
87600 |
}),
|
87601 |
(imagePosition == "left" || imagePosition == "right") && wp.element.createElement(
|
87602 |
Fragment,
|
87603 |
null,
|
87604 |
wp.element.createElement(SelectControl, {
|
87605 |
-
label: __("Vertical ALignment"),
|
87606 |
value: imageAlignment,
|
87607 |
onChange: function onChange(value) {
|
87608 |
return setAttributes({ imageAlignment: value });
|
87609 |
},
|
87610 |
-
options: [{ value: "top", label: __("Top") }, { value: "middle", label: __("Middle") }]
|
87611 |
}),
|
87612 |
wp.element.createElement(SelectControl, {
|
87613 |
-
label: __("Stack on"),
|
87614 |
value: stack,
|
87615 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
87616 |
-
help: __("Note: Choose on what breakpoint the Info Box will stack."),
|
87617 |
onChange: function onChange(value) {
|
87618 |
return setAttributes({ stack: value });
|
87619 |
}
|
87620 |
})
|
87621 |
),
|
87622 |
wp.element.createElement(SelectControl, {
|
87623 |
-
label: __("Image Style"),
|
87624 |
value: iconimgStyle,
|
87625 |
onChange: function onChange(value) {
|
87626 |
return setAttributes({ iconimgStyle: value });
|
87627 |
},
|
87628 |
-
options: [{ value: "normal", label: __("Normal") }, { value: "circle", label: __("Circle") }, { value: "square", label: __("Square") }]
|
87629 |
}),
|
87630 |
wp.element.createElement(SelectControl, {
|
87631 |
-
label: __("Image Size"),
|
87632 |
options: imageSizeOptions,
|
87633 |
value: imageSize,
|
87634 |
onChange: function onChange(value) {
|
@@ -87636,7 +87675,7 @@ var UAGBtestimonial = function (_Component) {
|
|
87636 |
}
|
87637 |
}),
|
87638 |
wp.element.createElement(RangeControl, {
|
87639 |
-
label: __("Width"),
|
87640 |
value: imageWidth,
|
87641 |
onChange: function onChange(value) {
|
87642 |
return setAttributes({ imageWidth: value });
|
@@ -87771,8 +87810,8 @@ var UAGBtestimonial = function (_Component) {
|
|
87771 |
"use strict";
|
87772 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
87773 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
87774 |
-
/**
|
87775 |
-
* Returns Dynamic Generated CSS
|
87776 |
*/
|
87777 |
|
87778 |
|
@@ -88024,8 +88063,8 @@ function TestimonialStyle(props) {
|
|
88024 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_Image__ = __webpack_require__(/*! ./components/Image */ 207);
|
88025 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
88026 |
|
88027 |
-
/**
|
88028 |
-
* BLOCK: Testimonial - Save Block
|
88029 |
*/
|
88030 |
|
88031 |
|
@@ -88057,65 +88096,61 @@ function save(props) {
|
|
88057 |
|
88058 |
|
88059 |
return wp.element.createElement(
|
88060 |
-
|
88061 |
-
|
|
|
88062 |
wp.element.createElement(
|
88063 |
"div",
|
88064 |
-
{
|
|
|
88065 |
},
|
88066 |
-
|
88067 |
-
|
88068 |
-
|
88069 |
-
className: __WEBPACK_IMPORTED_MODULE_0_classnames___default(
|
88070 |
-
|
88071 |
-
test_block.map(function (test, index) {
|
88072 |
-
return wp.element.createElement(
|
88073 |
"div",
|
88074 |
-
{ className:
|
|
|
|
|
88075 |
wp.element.createElement(
|
88076 |
"div",
|
88077 |
-
{ className: "uagb-
|
88078 |
-
|
88079 |
-
(imagePosition == "top" || imagePosition == "left") && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_Image__["a" /* default */], { attributes: props.attributes, index_value: index }),
|
88080 |
wp.element.createElement(
|
88081 |
-
|
88082 |
-
|
88083 |
-
// Get description.
|
88084 |
wp.element.createElement(
|
88085 |
-
|
88086 |
-
|
88087 |
-
wp.element.createElement(
|
88088 |
-
|
88089 |
-
|
88090 |
-
|
88091 |
-
|
88092 |
-
|
88093 |
wp.element.createElement(
|
88094 |
"div",
|
88095 |
-
{ className: "uagb-tm__meta" },
|
|
|
|
|
88096 |
wp.element.createElement(
|
88097 |
-
|
88098 |
-
|
88099 |
-
imagePosition == "bottom" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_Image__["a" /* default */], { attributes: props.attributes, index_value: index }),
|
88100 |
-
//title_text
|
88101 |
wp.element.createElement(
|
88102 |
-
|
88103 |
-
|
88104 |
-
wp.element.createElement(
|
88105 |
-
|
88106 |
-
{ className: "uagb-testimonial-details", key: "tm_wraps-" + index },
|
88107 |
-
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_AuthorName__["a" /* default */], { attributes: props.attributes, setAttributes: "not_set", props: props, index_value: index }),
|
88108 |
-
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_Company__["a" /* default */], { attributes: props.attributes, setAttributes: "not_set", props: props, index_value: index })
|
88109 |
-
)
|
88110 |
)
|
88111 |
)
|
88112 |
)
|
88113 |
-
)
|
88114 |
-
|
88115 |
-
)
|
88116 |
-
)
|
88117 |
-
|
88118 |
-
)
|
88119 |
)
|
88120 |
);
|
88121 |
}
|
@@ -88141,8 +88176,8 @@ function save(props) {
|
|
88141 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_TestimonialImage__ = __webpack_require__(/*! ./components/TestimonialImage */ 534);
|
88142 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
88143 |
|
88144 |
-
/**
|
88145 |
-
* BLOCK: Testimonial - Deprecated Block
|
88146 |
*/
|
88147 |
|
88148 |
|
@@ -88555,8 +88590,8 @@ var TestimonialImage = function (_React$Component) {
|
|
88555 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__editor_scss__);
|
88556 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__style_scss__ = __webpack_require__(/*! ./style.scss */ 543);
|
88557 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__style_scss__);
|
88558 |
-
/**
|
88559 |
-
* BLOCK: Team
|
88560 |
*/
|
88561 |
|
88562 |
|
@@ -88577,7 +88612,7 @@ registerBlockType("uagb/team", {
|
|
88577 |
title: uagb_blocks_info.blocks["uagb/team"]["title"],
|
88578 |
description: uagb_blocks_info.blocks["uagb/team"]["description"],
|
88579 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].team,
|
88580 |
-
keywords: [__("team"), __("members"), __("uag")],
|
88581 |
supports: {
|
88582 |
anchor: true
|
88583 |
},
|
@@ -88620,8 +88655,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
88620 |
|
88621 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
88622 |
|
88623 |
-
/**
|
88624 |
-
* BLOCK: Team
|
88625 |
*/
|
88626 |
|
88627 |
|
@@ -88661,7 +88696,7 @@ var _wp$element = wp.element,
|
|
88661 |
|
88662 |
var svg_icons = Object.keys(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_UAGBIcon_json___default.a);
|
88663 |
|
88664 |
-
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail") }, { value: "medium", label: __("Medium") }, { value: "full", label: __("Large") }];
|
88665 |
|
88666 |
var UAGBTeam = function (_Component) {
|
88667 |
_inherits(UAGBTeam, _Component);
|
@@ -88897,13 +88932,13 @@ var UAGBTeam = function (_Component) {
|
|
88897 |
wp.element.createElement(RichText, (_wp$element$createEle = {
|
88898 |
tagName: "p",
|
88899 |
value: description_text,
|
88900 |
-
placeholder: __("Write a Description"),
|
88901 |
className: "uagb-team__desc",
|
88902 |
onChange: function onChange(value) {
|
88903 |
return setAttributes({ description_text: value });
|
88904 |
},
|
88905 |
onMerge: mergeBlocks
|
88906 |
-
}, _defineProperty(_wp$element$createEle, "placeholder", __("Write a Description")), _defineProperty(_wp$element$createEle, "unstableOnSplit", insertBlocksAfter ? function (before, after) {
|
88907 |
for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
88908 |
blocks[_key - 2] = arguments[_key];
|
88909 |
}
|
@@ -88940,7 +88975,7 @@ var UAGBTeam = function (_Component) {
|
|
88940 |
return setAttributes({ title: value });
|
88941 |
},
|
88942 |
multiline: false,
|
88943 |
-
placeholder: __("Write a Title"),
|
88944 |
onMerge: mergeBlocks,
|
88945 |
unstableOnSplit: insertBlocksAfter ? function (before, after) {
|
88946 |
for (var _len2 = arguments.length, blocks = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
@@ -88957,13 +88992,13 @@ var UAGBTeam = function (_Component) {
|
|
88957 |
wp.element.createElement(RichText, (_wp$element$createEle2 = {
|
88958 |
tagName: "div",
|
88959 |
value: prefix,
|
88960 |
-
placeholder: __("Enter Prefix"),
|
88961 |
className: "uagb-team__prefix",
|
88962 |
onChange: function onChange(value) {
|
88963 |
return setAttributes({ prefix: value });
|
88964 |
},
|
88965 |
onMerge: mergeBlocks
|
88966 |
-
}, _defineProperty(_wp$element$createEle2, "placeholder", __("Write a Designation")), _defineProperty(_wp$element$createEle2, "unstableOnSplit", insertBlocksAfter ? function (before, after) {
|
88967 |
for (var _len3 = arguments.length, blocks = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
|
88968 |
blocks[_key3 - 2] = arguments[_key3];
|
88969 |
}
|
@@ -89000,9 +89035,9 @@ var UAGBTeam = function (_Component) {
|
|
89000 |
BaseControl,
|
89001 |
{
|
89002 |
className: "editor-bg-image-control",
|
89003 |
-
label: __("Team Member Image") },
|
89004 |
wp.element.createElement(MediaUpload, {
|
89005 |
-
title: __("Select Image"),
|
89006 |
onSelect: this.onSelectImage,
|
89007 |
allowedTypes: ["image"],
|
89008 |
value: image,
|
@@ -89011,54 +89046,54 @@ var UAGBTeam = function (_Component) {
|
|
89011 |
return wp.element.createElement(
|
89012 |
Button,
|
89013 |
{ isDefault: true, onClick: open },
|
89014 |
-
!image ? __("Select Image") : __("Replace image")
|
89015 |
);
|
89016 |
}
|
89017 |
}),
|
89018 |
image && wp.element.createElement(
|
89019 |
Button,
|
89020 |
{ className: "uagb-rm-btn", onClick: onRemoveImage, isLink: true, isDestructive: true },
|
89021 |
-
__("Remove Image")
|
89022 |
)
|
89023 |
),
|
89024 |
image && wp.element.createElement(SelectControl, {
|
89025 |
-
label: __("Position"),
|
89026 |
value: imgPosition,
|
89027 |
onChange: function onChange(value) {
|
89028 |
return setAttributes({ imgPosition: value });
|
89029 |
},
|
89030 |
-
options: [{ value: "above", label: __("Above") }, { value: "left", label: __("Left") }, { value: "right", label: __("Right") }]
|
89031 |
}),
|
89032 |
imgPosition != "above" && image && wp.element.createElement(SelectControl, {
|
89033 |
-
label: __("Stack on"),
|
89034 |
value: stack,
|
89035 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
89036 |
help: __("Note: Choose on what breakpoint the Team will stack."),
|
89037 |
onChange: function onChange(value) {
|
89038 |
return setAttributes({ stack: value });
|
89039 |
}
|
89040 |
}),
|
89041 |
image && wp.element.createElement(SelectControl, {
|
89042 |
-
label: __("Image Style"),
|
89043 |
value: imgStyle,
|
89044 |
onChange: function onChange(value) {
|
89045 |
return setAttributes({ imgStyle: value });
|
89046 |
},
|
89047 |
-
options: [{ value: "normal", label: __("Normal") }, { value: "circle", label: __("Circle") }, { value: "square", label: __("Square") }]
|
89048 |
}),
|
89049 |
imgPosition && imgPosition !== "above" && image && wp.element.createElement(SelectControl, {
|
89050 |
-
label: __("Vertical Alignment"),
|
89051 |
value: imgAlign,
|
89052 |
onChange: function onChange(value) {
|
89053 |
return setAttributes({ imgAlign: value });
|
89054 |
},
|
89055 |
-
options: [{ value: "top", label: __("Top") }, { value: "middle", label: __("Middle") }]
|
89056 |
}),
|
89057 |
image && wp.element.createElement(
|
89058 |
Fragment,
|
89059 |
null,
|
89060 |
wp.element.createElement(SelectControl, {
|
89061 |
-
label: __("Size"),
|
89062 |
options: imageSizeOptions,
|
89063 |
value: imgSize,
|
89064 |
onChange: function onChange(value) {
|
@@ -89066,7 +89101,7 @@ var UAGBTeam = function (_Component) {
|
|
89066 |
}
|
89067 |
}),
|
89068 |
wp.element.createElement(RangeControl, {
|
89069 |
-
label: __("Width"),
|
89070 |
value: imgWidth,
|
89071 |
onChange: function onChange(value) {
|
89072 |
return setAttributes({ imgWidth: value });
|
@@ -89079,10 +89114,10 @@ var UAGBTeam = function (_Component) {
|
|
89079 |
),
|
89080 |
wp.element.createElement(
|
89081 |
PanelBody,
|
89082 |
-
{ title: __("Social Links"),
|
89083 |
initialOpen: false },
|
89084 |
wp.element.createElement(ToggleControl, {
|
89085 |
-
label: __("Enable Social Links"),
|
89086 |
checked: socialEnable,
|
89087 |
onChange: function onChange(value) {
|
89088 |
return setAttributes({ socialEnable: !socialEnable });
|
@@ -89092,7 +89127,7 @@ var UAGBTeam = function (_Component) {
|
|
89092 |
Fragment,
|
89093 |
null,
|
89094 |
wp.element.createElement(ToggleControl, {
|
89095 |
-
label: __("Open Links in New Window"),
|
89096 |
checked: socialTarget,
|
89097 |
onChange: function onChange(value) {
|
89098 |
return setAttributes({ socialTarget: !socialTarget });
|
@@ -89100,11 +89135,11 @@ var UAGBTeam = function (_Component) {
|
|
89100 |
}),
|
89101 |
wp.element.createElement(
|
89102 |
PanelBody,
|
89103 |
-
{ title: __("Twitter"), initialOpen: false },
|
89104 |
wp.element.createElement(
|
89105 |
"p",
|
89106 |
{ className: "components-base-control__label" },
|
89107 |
-
__("Icon")
|
89108 |
),
|
89109 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
89110 |
icons: svg_icons,
|
@@ -89115,28 +89150,28 @@ var UAGBTeam = function (_Component) {
|
|
89115 |
return setAttributes({ twitterIcon: value });
|
89116 |
},
|
89117 |
isMulti: false,
|
89118 |
-
noSelectedPlaceholder: __("Select Icon")
|
89119 |
}),
|
89120 |
wp.element.createElement(
|
89121 |
"p",
|
89122 |
{ className: "components-base-control__label" },
|
89123 |
-
__("URL")
|
89124 |
),
|
89125 |
wp.element.createElement(TextControl, {
|
89126 |
value: twitterLink,
|
89127 |
onChange: function onChange(value) {
|
89128 |
return setAttributes({ twitterLink: value });
|
89129 |
},
|
89130 |
-
placeholder: __("Enter Twitter URL")
|
89131 |
})
|
89132 |
),
|
89133 |
wp.element.createElement(
|
89134 |
PanelBody,
|
89135 |
-
{ title: __("Facebook"), initialOpen: false },
|
89136 |
wp.element.createElement(
|
89137 |
"p",
|
89138 |
{ className: "components-base-control__label" },
|
89139 |
-
__("Icon")
|
89140 |
),
|
89141 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
89142 |
icons: svg_icons,
|
@@ -89147,33 +89182,33 @@ var UAGBTeam = function (_Component) {
|
|
89147 |
return setAttributes({ fbIcon: value });
|
89148 |
},
|
89149 |
isMulti: false,
|
89150 |
-
noSelectedPlaceholder: __("Select Icon")
|
89151 |
}),
|
89152 |
wp.element.createElement(
|
89153 |
"p",
|
89154 |
{ className: "components-base-control__label" },
|
89155 |
-
__("URL")
|
89156 |
),
|
89157 |
wp.element.createElement(TextControl, {
|
89158 |
value: fbLink,
|
89159 |
onChange: function onChange(value) {
|
89160 |
return setAttributes({ fbLink: value });
|
89161 |
},
|
89162 |
-
placeholder: __("Enter Facebook URL")
|
89163 |
})
|
89164 |
),
|
89165 |
wp.element.createElement(
|
89166 |
PanelBody,
|
89167 |
-
{ title: __("LinkedIn"), initialOpen: false },
|
89168 |
wp.element.createElement(
|
89169 |
"p",
|
89170 |
{ className: "components-base-control__label" },
|
89171 |
-
__("Icon")
|
89172 |
),
|
89173 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
89174 |
icons: svg_icons,
|
89175 |
renderFunc: __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
89176 |
-
noSelectedPlaceholder: __("Select Icon"),
|
89177 |
theme: "default",
|
89178 |
value: linkedinIcon,
|
89179 |
onChange: function onChange(value) {
|
@@ -89184,28 +89219,28 @@ var UAGBTeam = function (_Component) {
|
|
89184 |
wp.element.createElement(
|
89185 |
"p",
|
89186 |
{ className: "components-base-control__label" },
|
89187 |
-
__("URL")
|
89188 |
),
|
89189 |
wp.element.createElement(TextControl, {
|
89190 |
value: linkedinLink,
|
89191 |
onChange: function onChange(value) {
|
89192 |
return setAttributes({ linkedinLink: value });
|
89193 |
},
|
89194 |
-
placeholder: __("Enter LinkedIn URL")
|
89195 |
})
|
89196 |
),
|
89197 |
wp.element.createElement(
|
89198 |
PanelBody,
|
89199 |
-
{ title: __("Pinterest"), initialOpen: false },
|
89200 |
wp.element.createElement(
|
89201 |
"p",
|
89202 |
{ className: "components-base-control__label" },
|
89203 |
-
__("Icon")
|
89204 |
),
|
89205 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
89206 |
icons: svg_icons,
|
89207 |
renderFunc: __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
89208 |
-
noSelectedPlaceholder: __("Select Icon"),
|
89209 |
theme: "default",
|
89210 |
value: pinIcon,
|
89211 |
onChange: function onChange(value) {
|
@@ -89216,14 +89251,14 @@ var UAGBTeam = function (_Component) {
|
|
89216 |
wp.element.createElement(
|
89217 |
"p",
|
89218 |
{ className: "components-base-control__label" },
|
89219 |
-
__("URL")
|
89220 |
),
|
89221 |
wp.element.createElement(TextControl, {
|
89222 |
value: pinLink,
|
89223 |
onChange: function onChange(value) {
|
89224 |
return setAttributes({ pinLink: value });
|
89225 |
},
|
89226 |
-
placeholder: __("Enter Pinterest URL")
|
89227 |
})
|
89228 |
)
|
89229 |
)
|
@@ -89231,24 +89266,24 @@ var UAGBTeam = function (_Component) {
|
|
89231 |
wp.element.createElement(
|
89232 |
PanelBody,
|
89233 |
{
|
89234 |
-
title: __("Typography"),
|
89235 |
initialOpen: false },
|
89236 |
wp.element.createElement(SelectControl, {
|
89237 |
-
label: __("Title Tag"),
|
89238 |
value: tag,
|
89239 |
onChange: function onChange(value) {
|
89240 |
return setAttributes({ tag: value });
|
89241 |
},
|
89242 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }]
|
89243 |
}),
|
89244 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
89245 |
wp.element.createElement(
|
89246 |
"h2",
|
89247 |
null,
|
89248 |
-
__("Title")
|
89249 |
),
|
89250 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
89251 |
-
label: __("Typography"),
|
89252 |
attributes: attributes,
|
89253 |
setAttributes: setAttributes,
|
89254 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: 'titleLoadGoogleFonts' },
|
@@ -89268,10 +89303,10 @@ var UAGBTeam = function (_Component) {
|
|
89268 |
wp.element.createElement(
|
89269 |
"h2",
|
89270 |
null,
|
89271 |
-
__("Prefix")
|
89272 |
),
|
89273 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
89274 |
-
label: __("Typography"),
|
89275 |
attributes: attributes,
|
89276 |
setAttributes: setAttributes,
|
89277 |
loadGoogleFonts: { value: prefixLoadGoogleFonts, label: 'prefixLoadGoogleFonts' },
|
@@ -89291,10 +89326,10 @@ var UAGBTeam = function (_Component) {
|
|
89291 |
wp.element.createElement(
|
89292 |
"h2",
|
89293 |
null,
|
89294 |
-
__("Description")
|
89295 |
),
|
89296 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
89297 |
-
label: __("Typography"),
|
89298 |
attributes: attributes,
|
89299 |
setAttributes: setAttributes,
|
89300 |
loadGoogleFonts: { value: descLoadGoogleFonts, label: 'descLoadGoogleFonts' },
|
@@ -89314,10 +89349,10 @@ var UAGBTeam = function (_Component) {
|
|
89314 |
wp.element.createElement(
|
89315 |
"h2",
|
89316 |
null,
|
89317 |
-
__("Social Icons")
|
89318 |
),
|
89319 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
89320 |
-
label: __("Typography"),
|
89321 |
attributes: attributes,
|
89322 |
setAttributes: setAttributes,
|
89323 |
fontSizeType: { value: socialFontSizeType, label: 'socialFontSizeType' },
|
@@ -89329,47 +89364,47 @@ var UAGBTeam = function (_Component) {
|
|
89329 |
})
|
89330 |
),
|
89331 |
wp.element.createElement(PanelColorSettings, {
|
89332 |
-
title: __("Color Settings"),
|
89333 |
initialOpen: false,
|
89334 |
colorSettings: [{
|
89335 |
value: titleColor,
|
89336 |
onChange: function onChange(colorValue) {
|
89337 |
return setAttributes({ titleColor: colorValue });
|
89338 |
},
|
89339 |
-
label: __("Title Color")
|
89340 |
}, {
|
89341 |
value: prefixColor,
|
89342 |
onChange: function onChange(colorValue) {
|
89343 |
return setAttributes({ prefixColor: colorValue });
|
89344 |
},
|
89345 |
-
label: __("Designation Color")
|
89346 |
}, {
|
89347 |
value: descColor,
|
89348 |
onChange: function onChange(colorValue) {
|
89349 |
return setAttributes({ descColor: colorValue });
|
89350 |
},
|
89351 |
-
label: __("Description Color")
|
89352 |
}, {
|
89353 |
value: socialColor,
|
89354 |
onChange: function onChange(colorValue) {
|
89355 |
return setAttributes({ socialColor: colorValue });
|
89356 |
},
|
89357 |
-
label: __("Social Icon Color")
|
89358 |
}, {
|
89359 |
value: socialHoverColor,
|
89360 |
onChange: function onChange(colorValue) {
|
89361 |
return setAttributes({ socialHoverColor: colorValue });
|
89362 |
},
|
89363 |
-
label: __("Social Icon Hover Color")
|
89364 |
}]
|
89365 |
}),
|
89366 |
wp.element.createElement(
|
89367 |
PanelBody,
|
89368 |
{
|
89369 |
-
title: __("Spacing"),
|
89370 |
initialOpen: false },
|
89371 |
wp.element.createElement(RangeControl, {
|
89372 |
-
label: __("Title Bottom Spacing"),
|
89373 |
value: titleSpace,
|
89374 |
onChange: function onChange(value) {
|
89375 |
return setAttributes({ titleSpace: value });
|
@@ -89380,7 +89415,7 @@ var UAGBTeam = function (_Component) {
|
|
89380 |
initialPosition: 0
|
89381 |
}),
|
89382 |
wp.element.createElement(RangeControl, {
|
89383 |
-
label: __("Designation Bottom Spacing"),
|
89384 |
value: prefixSpace,
|
89385 |
onChange: function onChange(value) {
|
89386 |
return setAttributes({ prefixSpace: value });
|
@@ -89391,7 +89426,7 @@ var UAGBTeam = function (_Component) {
|
|
89391 |
initialPosition: 0
|
89392 |
}),
|
89393 |
wp.element.createElement(RangeControl, {
|
89394 |
-
label: __("Description Bottom Spacing"),
|
89395 |
value: descSpace,
|
89396 |
onChange: function onChange(value) {
|
89397 |
return setAttributes({ descSpace: value });
|
@@ -89401,7 +89436,7 @@ var UAGBTeam = function (_Component) {
|
|
89401 |
allowReset: true
|
89402 |
}),
|
89403 |
wp.element.createElement(RangeControl, {
|
89404 |
-
label: __("Inter Social Icon Spacing"),
|
89405 |
value: socialSpace,
|
89406 |
onChange: function onChange(value) {
|
89407 |
return setAttributes({ socialSpace: value });
|
@@ -89417,7 +89452,7 @@ var UAGBTeam = function (_Component) {
|
|
89417 |
wp.element.createElement(
|
89418 |
"h2",
|
89419 |
null,
|
89420 |
-
__("Image Margin (px)")
|
89421 |
),
|
89422 |
imgPosition != "above" && wp.element.createElement(RangeControl, {
|
89423 |
label: __WEBPACK_IMPORTED_MODULE_5__dist_blocks_uagb_controls_block_icons__["a" /* default */].left_margin,
|
@@ -89531,8 +89566,8 @@ var UAGBTeam = function (_Component) {
|
|
89531 |
"use strict";
|
89532 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
89533 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
89534 |
-
/**
|
89535 |
-
* Returns Dynamic Generated CSS
|
89536 |
*/
|
89537 |
|
89538 |
|
@@ -89759,8 +89794,8 @@ function styling(props) {
|
|
89759 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
89760 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
89761 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
89762 |
-
/**
|
89763 |
-
* BLOCK: Table of Contents - Save Block
|
89764 |
*/
|
89765 |
|
89766 |
|
@@ -89903,8 +89938,8 @@ function save(props) {
|
|
89903 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
89904 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 209);
|
89905 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
89906 |
-
/**
|
89907 |
-
* BLOCK: Table of Contents - Deprecated Block
|
89908 |
*/
|
89909 |
|
89910 |
|
@@ -90308,8 +90343,8 @@ var deprecated = [{
|
|
90308 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__links__ = __webpack_require__(/*! ./links */ 114);
|
90309 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__save__ = __webpack_require__(/*! ./save */ 550);
|
90310 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__deprecated__ = __webpack_require__(/*! ./deprecated */ 551);
|
90311 |
-
/**
|
90312 |
-
* BLOCK: Social Share
|
90313 |
*/
|
90314 |
|
90315 |
|
@@ -90333,7 +90368,7 @@ registerBlockType("uagb/social-share", {
|
|
90333 |
description: uagb_blocks_info.blocks["uagb/social-share"]["description"],
|
90334 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].social_share,
|
90335 |
category: uagb_blocks_info.category,
|
90336 |
-
keywords: [__("social share"), __("icon"), __("uag")],
|
90337 |
supports: {
|
90338 |
anchor: true
|
90339 |
},
|
@@ -90383,15 +90418,15 @@ registerBlockType("uagb/social-share", {
|
|
90383 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
90384 |
|
90385 |
"use strict";
|
90386 |
-
/**
|
90387 |
-
* WordPress dependencies
|
90388 |
*/
|
90389 |
var _wp$blocks = wp.blocks,
|
90390 |
createBlock = _wp$blocks.createBlock,
|
90391 |
getBlockAttributes = _wp$blocks.getBlockAttributes;
|
90392 |
|
90393 |
-
/**
|
90394 |
-
* Internal dependencies
|
90395 |
*/
|
90396 |
|
90397 |
var transform = {
|
@@ -90439,7 +90474,7 @@ var transform = {
|
|
90439 |
"use strict";
|
90440 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
90441 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
90442 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */
|
90443 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
90444 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
90445 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
|
@@ -90456,8 +90491,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
90456 |
|
90457 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
90458 |
|
90459 |
-
/**
|
90460 |
-
* BLOCK: UAGB - Social Share Edit Class
|
90461 |
*/
|
90462 |
|
90463 |
|
@@ -90544,11 +90579,11 @@ var UAGBSocialShare = function (_Component) {
|
|
90544 |
bgSizeType = attributes.bgSizeType;
|
90545 |
|
90546 |
|
90547 |
-
var sizeTypes = [{ key: "px", name: __("px") }, { key: "em", name: __("em") }];
|
90548 |
|
90549 |
var sizeTypesControls = wp.element.createElement(
|
90550 |
ButtonGroup,
|
90551 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
90552 |
__WEBPACK_IMPORTED_MODULE_2_lodash_map___default()(sizeTypes, function (_ref) {
|
90553 |
var name = _ref.name,
|
90554 |
key = _ref.key;
|
@@ -90571,7 +90606,7 @@ var UAGBSocialShare = function (_Component) {
|
|
90571 |
|
90572 |
var bgSizeTypesControls = wp.element.createElement(
|
90573 |
ButtonGroup,
|
90574 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
90575 |
__WEBPACK_IMPORTED_MODULE_2_lodash_map___default()(sizeTypes, function (_ref2) {
|
90576 |
var name = _ref2.name,
|
90577 |
key = _ref2.key;
|
@@ -90617,11 +90652,11 @@ var UAGBSocialShare = function (_Component) {
|
|
90617 |
null,
|
90618 |
wp.element.createElement(
|
90619 |
PanelBody,
|
90620 |
-
{ title: __("General"), initialOpen: true },
|
90621 |
wp.element.createElement(SelectControl, {
|
90622 |
-
label: __("Layout"),
|
90623 |
value: social_layout,
|
90624 |
-
options: [{ value: "horizontal", label: __("Horizontal") }, { value: "vertical", label: __("Vertical") }],
|
90625 |
onChange: function onChange(value) {
|
90626 |
return setAttributes({ social_layout: value });
|
90627 |
}
|
@@ -90630,13 +90665,13 @@ var UAGBSocialShare = function (_Component) {
|
|
90630 |
Fragment,
|
90631 |
null,
|
90632 |
wp.element.createElement(SelectControl, {
|
90633 |
-
label: __("Stack on"),
|
90634 |
value: stack,
|
90635 |
-
options: [{ value: "none", label: __("None") }, { value: "desktop", label: __("Desktop") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
90636 |
onChange: function onChange(value) {
|
90637 |
return setAttributes({ stack: value });
|
90638 |
},
|
90639 |
-
help: __("Note: Choose on what breakpoint the Icons will stack.")
|
90640 |
})
|
90641 |
),
|
90642 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
@@ -90665,7 +90700,7 @@ var UAGBSocialShare = function (_Component) {
|
|
90665 |
null,
|
90666 |
sizeTypesControls,
|
90667 |
wp.element.createElement(RangeControl, {
|
90668 |
-
label: __("Size"),
|
90669 |
value: sizeMobile,
|
90670 |
onChange: function onChange(value) {
|
90671 |
return setAttributes({ sizeMobile: value });
|
@@ -90682,7 +90717,7 @@ var UAGBSocialShare = function (_Component) {
|
|
90682 |
null,
|
90683 |
sizeTypesControls,
|
90684 |
wp.element.createElement(RangeControl, {
|
90685 |
-
label: __("Size"),
|
90686 |
value: sizeTablet,
|
90687 |
onChange: function onChange(value) {
|
90688 |
return setAttributes({ sizeTablet: value });
|
@@ -90699,7 +90734,7 @@ var UAGBSocialShare = function (_Component) {
|
|
90699 |
null,
|
90700 |
sizeTypesControls,
|
90701 |
wp.element.createElement(RangeControl, {
|
90702 |
-
label: __("Size"),
|
90703 |
value: size,
|
90704 |
onChange: function onChange(value) {
|
90705 |
return setAttributes({ size: value });
|
@@ -90720,33 +90755,33 @@ var UAGBSocialShare = function (_Component) {
|
|
90720 |
}
|
90721 |
),
|
90722 |
wp.element.createElement(RangeControl, {
|
90723 |
-
label: __("Background Size"),
|
90724 |
value: bgSize,
|
90725 |
onChange: function onChange(value) {
|
90726 |
return setAttributes({ bgSize: value });
|
90727 |
},
|
90728 |
-
help: __("Note: Background Size option is useful when one adds background color to the icons."),
|
90729 |
min: 0,
|
90730 |
max: 500
|
90731 |
}),
|
90732 |
wp.element.createElement(RangeControl, {
|
90733 |
-
label: __("Border Radius"),
|
90734 |
value: borderRadius,
|
90735 |
onChange: function onChange(value) {
|
90736 |
return setAttributes({ borderRadius: value });
|
90737 |
},
|
90738 |
-
help: __("Note: Border Radius option is useful when one adds background color to the icons."),
|
90739 |
min: 0,
|
90740 |
max: 500
|
90741 |
}),
|
90742 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
90743 |
wp.element.createElement(RangeControl, {
|
90744 |
-
label: __("Gap between Items"),
|
90745 |
value: gap,
|
90746 |
onChange: function onChange(value) {
|
90747 |
return setAttributes({ gap: value });
|
90748 |
},
|
90749 |
-
help: __("Note: The gap between the items will seem larger in the editor, for better user edit experience. But at frontend the gap will be exactly what is set from here."),
|
90750 |
min: 0,
|
90751 |
max: 100
|
90752 |
})
|
@@ -90788,8 +90823,8 @@ var UAGBSocialShare = function (_Component) {
|
|
90788 |
"use strict";
|
90789 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
90790 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
90791 |
-
/**
|
90792 |
-
* Returns Dynamic Generated CSS
|
90793 |
*/
|
90794 |
|
90795 |
|
@@ -91001,8 +91036,8 @@ function styling(props) {
|
|
91001 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
91002 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
91003 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__links__ = __webpack_require__(/*! ./links */ 114);
|
91004 |
-
/**
|
91005 |
-
* BLOCK: Column - Save Block
|
91006 |
*/
|
91007 |
|
91008 |
// Import block dependencies and components.
|
@@ -91051,8 +91086,8 @@ function save(props) {
|
|
91051 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 210);
|
91052 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
91053 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__links__ = __webpack_require__(/*! ./links */ 114);
|
91054 |
-
/**
|
91055 |
-
* BLOCK: Social Share - Deprecated Block
|
91056 |
*/
|
91057 |
|
91058 |
// Import block dependencies and components.
|
@@ -91289,8 +91324,8 @@ var deprecated = [{
|
|
91289 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 557);
|
91290 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
91291 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */ 558);
|
91292 |
-
/**
|
91293 |
-
* BLOCK: Social Share Child
|
91294 |
*/
|
91295 |
|
91296 |
|
@@ -91311,7 +91346,7 @@ registerBlockType("uagb/social-share-child", {
|
|
91311 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].social_share_child,
|
91312 |
category: uagb_blocks_info.category,
|
91313 |
parent: ["uagb/social-share"],
|
91314 |
-
keywords: [__("social share"), __("icon"), __("uag")],
|
91315 |
attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
|
91316 |
edit: __WEBPACK_IMPORTED_MODULE_2__edit__["a" /* default */],
|
91317 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
@@ -91344,8 +91379,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
91344 |
|
91345 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
91346 |
|
91347 |
-
/**
|
91348 |
-
* BLOCK: Social Share Child - Edit Class
|
91349 |
*/
|
91350 |
|
91351 |
// Import classes
|
@@ -91409,8 +91444,8 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91409 |
}
|
91410 |
}
|
91411 |
|
91412 |
-
/*
|
91413 |
-
* Event to set Image as null while removing.
|
91414 |
*/
|
91415 |
|
91416 |
}, {
|
@@ -91421,8 +91456,8 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91421 |
setAttributes({ image: null });
|
91422 |
}
|
91423 |
|
91424 |
-
/*
|
91425 |
-
* Event to set Image as while adding.
|
91426 |
*/
|
91427 |
|
91428 |
}, {
|
@@ -91508,7 +91543,7 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91508 |
wp.element.createElement(
|
91509 |
"p",
|
91510 |
{ className: "uagb-setting-label" },
|
91511 |
-
__("Image Background Color"),
|
91512 |
wp.element.createElement(
|
91513 |
"span",
|
91514 |
{ className: "components-base-control__label" },
|
@@ -91529,7 +91564,7 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91529 |
wp.element.createElement(
|
91530 |
"p",
|
91531 |
{ className: "uagb-setting-label" },
|
91532 |
-
__("Image Background Hover Color"),
|
91533 |
wp.element.createElement(
|
91534 |
"span",
|
91535 |
{ className: "components-base-control__label" },
|
@@ -91569,7 +91604,7 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91569 |
wp.element.createElement(
|
91570 |
"p",
|
91571 |
{ className: "uagb-setting-label" },
|
91572 |
-
__("Icon Background Color"),
|
91573 |
wp.element.createElement(
|
91574 |
"span",
|
91575 |
{ className: "components-base-control__label" },
|
@@ -91590,7 +91625,7 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91590 |
wp.element.createElement(
|
91591 |
"p",
|
91592 |
{ className: "uagb-setting-label" },
|
91593 |
-
__("Icon Hover Color"),
|
91594 |
wp.element.createElement(
|
91595 |
"span",
|
91596 |
{ className: "components-base-control__label" },
|
@@ -91607,7 +91642,7 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91607 |
wp.element.createElement(
|
91608 |
"p",
|
91609 |
{ className: "uagb-setting-label" },
|
91610 |
-
__("Icon Background Hover Color"),
|
91611 |
wp.element.createElement(
|
91612 |
"span",
|
91613 |
{ className: "components-base-control__label" },
|
@@ -91630,11 +91665,11 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91630 |
activeClass: "active-tab",
|
91631 |
tabs: [{
|
91632 |
name: "normal",
|
91633 |
-
title: __("Normal"),
|
91634 |
className: "uagb-normal-tab"
|
91635 |
}, {
|
91636 |
name: "hover",
|
91637 |
-
title: __("Hover"),
|
91638 |
className: "uagb-hover-tab"
|
91639 |
}] },
|
91640 |
function (tabName) {
|
@@ -91696,17 +91731,17 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91696 |
null,
|
91697 |
wp.element.createElement(
|
91698 |
PanelBody,
|
91699 |
-
{ title: __("Social Share Settings"), initialOpen: true },
|
91700 |
wp.element.createElement(SelectControl, {
|
91701 |
label: __("Type"),
|
91702 |
value: type,
|
91703 |
-
options: [{ value: "facebook", label: __("Facebook") }, { value: "twitter", label: __("Twitter") }, { value: "google", label: __("Google Currents") }, { value: "pinterest", label: __("Pinterest") }, { value: "linkedin", label: __("LinkedIn") }, { value: "digg", label: __("Digg") }, { value: "blogger", label: __("Blogger") }, { value: "reddit", label: __("Reddit") }, { value: "stumbleupon", label: __("StumbleUpon") }, { value: "tumblr", label: __("Tumblr") }, { value: "myspace", label: __("Myspace") }, { value: "email", label: __("Email") }, { value: "pocket", label: __("Pocket") }, { value: "vk", label: __("VK") }, { value: "odnoklassniki", label: __("Odnoklassniki") }, { value: "skype", label: __("Skype") }, { value: "telegram", label: __("Telegram") }, { value: "whatsapp", label: __("WhatsApp") }, { value: "xing", label: __("Xing") }, { value: "buffer", label: __("Buffer") }],
|
91704 |
onChange: this.onChangeType
|
91705 |
}),
|
91706 |
wp.element.createElement(SelectControl, {
|
91707 |
-
label: __("Image / Icon"),
|
91708 |
value: image_icon,
|
91709 |
-
options: [{ value: "icon", label: __("Icon") }, { value: "image", label: __("Image") }],
|
91710 |
onChange: function onChange(value) {
|
91711 |
return setAttributes({ image_icon: value });
|
91712 |
}
|
@@ -91717,7 +91752,7 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91717 |
wp.element.createElement(
|
91718 |
"p",
|
91719 |
{ className: "components-base-control__label" },
|
91720 |
-
__("Icon")
|
91721 |
),
|
91722 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
91723 |
icons: svg_icons,
|
@@ -91728,14 +91763,14 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91728 |
return setAttributes({ icon: value });
|
91729 |
},
|
91730 |
isMulti: false,
|
91731 |
-
noSelectedPlaceholder: __("Select Icon")
|
91732 |
})
|
91733 |
),
|
91734 |
"image" == image_icon && wp.element.createElement(
|
91735 |
Fragment,
|
91736 |
null,
|
91737 |
wp.element.createElement(MediaUpload, {
|
91738 |
-
title: __("Select Image"),
|
91739 |
onSelect: function onSelect(value) {
|
91740 |
return setAttributes({ image: value });
|
91741 |
},
|
@@ -91746,7 +91781,7 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91746 |
return wp.element.createElement(
|
91747 |
Button,
|
91748 |
{ isDefault: true, onClick: open },
|
91749 |
-
!image ? __("Select Image") : __("Replace image")
|
91750 |
);
|
91751 |
}
|
91752 |
}),
|
@@ -91758,14 +91793,14 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91758 |
return setAttributes({ image: null });
|
91759 |
},
|
91760 |
isLink: true, isDestructive: true },
|
91761 |
-
__("Remove Image")
|
91762 |
)
|
91763 |
),
|
91764 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
91765 |
wp.element.createElement(
|
91766 |
"h2",
|
91767 |
null,
|
91768 |
-
__("Icon Color Settings")
|
91769 |
),
|
91770 |
iconColorControls()
|
91771 |
)
|
@@ -91791,8 +91826,8 @@ var UAGBSocialShareChild = function (_Component) {
|
|
91791 |
|
91792 |
"use strict";
|
91793 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
91794 |
-
/**
|
91795 |
-
* Returns Dynamic Generated CSS
|
91796 |
*/
|
91797 |
|
91798 |
|
@@ -91851,8 +91886,8 @@ function styling(props) {
|
|
91851 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
91852 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
91853 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__links__ = __webpack_require__(/*! ./links */ 212);
|
91854 |
-
/**
|
91855 |
-
* BLOCK: Social Share - Save Block
|
91856 |
*/
|
91857 |
|
91858 |
// Import block dependencies and components.
|
@@ -91945,8 +91980,8 @@ function save(props) {
|
|
91945 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 211);
|
91946 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
91947 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__links__ = __webpack_require__(/*! ./links */ 212);
|
91948 |
-
/**
|
91949 |
-
* BLOCK: Social Share child - Deprecated Block
|
91950 |
*/
|
91951 |
|
91952 |
// Import block dependencies and components.
|
@@ -92034,8 +92069,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
92034 |
|
92035 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
92036 |
|
92037 |
-
/**
|
92038 |
-
* BLOCK: Google Map
|
92039 |
*/
|
92040 |
|
92041 |
|
@@ -92101,26 +92136,26 @@ var UAGBGoogleMap = function (_Component) {
|
|
92101 |
null,
|
92102 |
wp.element.createElement(
|
92103 |
PanelBody,
|
92104 |
-
{ title: __("General") },
|
92105 |
wp.element.createElement(
|
92106 |
"p",
|
92107 |
{ className: "uagb-settings-notice" },
|
92108 |
-
__("This block uses Ultimate Addon for Gutenberg's API key to display the map. You don't need to create your own API key or worry about renewing it.")
|
92109 |
),
|
92110 |
wp.element.createElement(
|
92111 |
"p",
|
92112 |
{ className: "components-base-control__label" },
|
92113 |
-
__("Address")
|
92114 |
),
|
92115 |
wp.element.createElement(TextControl, {
|
92116 |
value: address,
|
92117 |
onChange: function onChange(value) {
|
92118 |
return setAttributes({ address: value });
|
92119 |
},
|
92120 |
-
placeholder: __("Type the address")
|
92121 |
}),
|
92122 |
wp.element.createElement(RangeControl, {
|
92123 |
-
label: __("Zoom"),
|
92124 |
value: zoom,
|
92125 |
onChange: function onChange(value) {
|
92126 |
return setAttributes({ zoom: value });
|
@@ -92131,7 +92166,7 @@ var UAGBGoogleMap = function (_Component) {
|
|
92131 |
allowReset: true
|
92132 |
}),
|
92133 |
wp.element.createElement(RangeControl, {
|
92134 |
-
label: __("Height"),
|
92135 |
value: height,
|
92136 |
onChange: function onChange(value) {
|
92137 |
return setAttributes({ height: value });
|
@@ -92141,12 +92176,12 @@ var UAGBGoogleMap = function (_Component) {
|
|
92141 |
allowReset: true
|
92142 |
}),
|
92143 |
wp.element.createElement(SelectControl, {
|
92144 |
-
label: __("Language"),
|
92145 |
value: language,
|
92146 |
onChange: function onChange(value) {
|
92147 |
return setAttributes({ language: value });
|
92148 |
},
|
92149 |
-
options: [{ value: "af", label: __("Afrikaans") }, { value: "sq", label: __("Albanian") }, { value: "am", label: __("Amharic") }, { value: "ar", label: __("Arabic") }, { value: "hy", label: __("Armenian") }, { value: "az", label: __("Azerbaijani") }, { value: "eu", label: __("Basque") }, { value: "be", label: __("Belarusian") }, { value: "bn", label: __("Bengali") }, { value: "bs", label: __("Bosnian") }, { value: "bg", label: __("Bulgarian") }, { value: "my", label: __("Burmese") }, { value: "ca", label: __("Catalan") }, { value: "zh", label: __("Chinese") }, { value: "hr", label: __("Croatian") }, { value: "cs", label: __("Czech") }, { value: "da", label: __("Danish") }, { value: "nl", label: __("Dutch") }, { value: "en", label: __("English") }, { value: "et", label: __("Estonian") }, { value: "fa", label: __("Farsi") }, { value: "fi", label: __("Finnish") }, { value: "fr", label: __("French") }, { value: "gl", label: __("Galician") }, { value: "ka", label: __("Georgian") }, { value: "de", label: __("German") }, { value: "el", label: __("Greek") }, { value: "gu", label: __("Gujarati") }, { value: "iw", label: __("Hebrew") }, { value: "hi", label: __("Hindi") }, { value: "hu", label: __("Hungarian") }, { value: "is", label: __("Icelandic") }, { value: "id", label: __("Indonesian") }, { value: "it", label: __("Italian") }, { value: "ja", label: __("Japanese") }, { value: "kn", label: __("Kannada") }, { value: "kk", label: __("Kazakh") }, { value: "km", label: __("Khmer") }, { value: "ko", label: __("Korean") }, { value: "ky", label: __("Kyrgyz") }, { value: "lo", label: __("Lao") }, { value: "lv", label: __("Latvian") }, { value: "lt", label: __("Lithuanian") }, { value: "mk", label: __("Macedonian") }, { value: "ms", label: __("Malay") }, { value: "ml", label: __("Malayalam") }, { value: "mr", label: __("Marathi") }, { value: "mn", label: __("Mongolian") }, { value: "ne", label: __("Nepali") }, { value: "no", label: __("Norwegian") }, { value: "pl", label: __("Polish") }, { value: "pt", label: __("Portuguese") }, { value: "pa", label: __("Punjabi") }, { value: "ro", label: __("Romanian") }, { value: "ru", label: __("Russian") }, { value: "sr", label: __("Serbian") }, { value: "si", label: __("Sinhalese") }, { value: "sk", label: __("Slovak") }, { value: "sl", label: __("Slovenian") }, { value: "es", label: __("Spanish") }, { value: "sw", label: __("Swahili") }, { value: "sv", label: __("Swedish") }, { value: "ta", label: __("Tamil") }, { value: "te", label: __("Telugu") }, { value: "th", label: __("Thai") }, { value: "tr", label: __("Turkish") }, { value: "uk", label: __("Ukrainian") }, { value: "ur", label: __("Urdu") }, { value: "uz", label: __("Uzbek") }, { value: "vi", label: __("Vietnamese") }, { value: "zu", label: __("Zulu") }]
|
92150 |
})
|
92151 |
)
|
92152 |
),
|
@@ -92170,7 +92205,7 @@ registerBlockType("uagb/google-map", {
|
|
92170 |
title: uagb_blocks_info.blocks["uagb/google-map"]["title"],
|
92171 |
description: uagb_blocks_info.blocks["uagb/google-map"]["description"],
|
92172 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].google_map,
|
92173 |
-
keywords: [__("google map"), __("uag"), __("map")],
|
92174 |
supports: {
|
92175 |
anchor: true
|
92176 |
},
|
@@ -92367,14 +92402,13 @@ registerBlockType("uagb/google-map", {
|
|
92367 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 213);
|
92368 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 562);
|
92369 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 564);
|
92370 |
-
/* harmony import */ var
|
92371 |
-
/* harmony import */ var
|
92372 |
-
/* harmony import */ var
|
92373 |
-
/* harmony import */ var
|
92374 |
-
/* harmony import */ var
|
92375 |
-
|
92376 |
-
|
92377 |
-
* BLOCK: Icon List
|
92378 |
*/
|
92379 |
|
92380 |
|
@@ -92385,7 +92419,6 @@ registerBlockType("uagb/google-map", {
|
|
92385 |
|
92386 |
|
92387 |
|
92388 |
-
|
92389 |
var __ = wp.i18n.__;
|
92390 |
var registerBlockType = wp.blocks.registerBlockType;
|
92391 |
|
@@ -92395,7 +92428,7 @@ registerBlockType("uagb/icon-list", {
|
|
92395 |
description: uagb_blocks_info.blocks["uagb/icon-list"]["description"],
|
92396 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].icon_list,
|
92397 |
category: uagb_blocks_info.category,
|
92398 |
-
keywords: [__("icon list"), __("image list"), __("uag")],
|
92399 |
supports: {
|
92400 |
anchor: true
|
92401 |
},
|
@@ -92411,8 +92444,7 @@ registerBlockType("uagb/icon-list", {
|
|
92411 |
attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
|
92412 |
edit: __WEBPACK_IMPORTED_MODULE_2__edit__["a" /* default */],
|
92413 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
92414 |
-
|
92415 |
-
deprecated: __WEBPACK_IMPORTED_MODULE_5__deprecated__["a" /* default */]
|
92416 |
});
|
92417 |
|
92418 |
/***/ }),
|
@@ -92427,7 +92459,7 @@ registerBlockType("uagb/icon-list", {
|
|
92427 |
"use strict";
|
92428 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
92429 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
92430 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */
|
92431 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
92432 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
92433 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
|
@@ -92444,8 +92476,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
92444 |
|
92445 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
92446 |
|
92447 |
-
/**
|
92448 |
-
* BLOCK: Icon List - Edit Class
|
92449 |
*/
|
92450 |
|
92451 |
// Import classes
|
@@ -92588,11 +92620,11 @@ var UAGBIconList = function (_Component) {
|
|
92588 |
|
92589 |
var labelClass = hideLabel ? "uagb-icon-list__no-label" : "";
|
92590 |
|
92591 |
-
var sizeTypes = [{ key: "px", name: __("px") }, { key: "em", name: __("em") }];
|
92592 |
|
92593 |
var sizeTypeControls = wp.element.createElement(
|
92594 |
ButtonGroup,
|
92595 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
92596 |
__WEBPACK_IMPORTED_MODULE_2_lodash_map___default()(sizeTypes, function (_ref) {
|
92597 |
var name = _ref.name,
|
92598 |
key = _ref.key;
|
@@ -92638,11 +92670,11 @@ var UAGBIconList = function (_Component) {
|
|
92638 |
null,
|
92639 |
wp.element.createElement(
|
92640 |
PanelBody,
|
92641 |
-
{ title: __("General"), initialOpen: true },
|
92642 |
wp.element.createElement(SelectControl, {
|
92643 |
-
label: __("Layout"),
|
92644 |
value: icon_layout,
|
92645 |
-
options: [{ value: "horizontal", label: __("Horizontal") }, { value: "vertical", label: __("Vertical") }],
|
92646 |
onChange: function onChange(value) {
|
92647 |
return setAttributes({ icon_layout: value });
|
92648 |
}
|
@@ -92653,15 +92685,15 @@ var UAGBIconList = function (_Component) {
|
|
92653 |
wp.element.createElement(SelectControl, {
|
92654 |
label: __("Stack on"),
|
92655 |
value: stack,
|
92656 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
92657 |
onChange: function onChange(value) {
|
92658 |
return setAttributes({ stack: value });
|
92659 |
},
|
92660 |
-
help: __("Note: Choose on what breakpoint the Icons will stack.")
|
92661 |
})
|
92662 |
),
|
92663 |
wp.element.createElement(ToggleControl, {
|
92664 |
-
label: __("Hide Labels"),
|
92665 |
checked: hideLabel,
|
92666 |
onChange: function onChange(value) {
|
92667 |
return _this2.changeChildAttr(value);
|
@@ -92669,17 +92701,17 @@ var UAGBIconList = function (_Component) {
|
|
92669 |
}),
|
92670 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
92671 |
wp.element.createElement(RangeControl, {
|
92672 |
-
label: __("Gap between Items"),
|
92673 |
value: gap,
|
92674 |
onChange: function onChange(value) {
|
92675 |
return setAttributes({ gap: value });
|
92676 |
},
|
92677 |
-
help: __("Note: For better editing experience, the gap between items might look larger than applied. Viewing in frontend will show the actual results."),
|
92678 |
min: 0,
|
92679 |
max: 100
|
92680 |
}),
|
92681 |
!hideLabel && wp.element.createElement(RangeControl, {
|
92682 |
-
label: __("Gap between Icon and Label"),
|
92683 |
value: inner_gap,
|
92684 |
onChange: function onChange(value) {
|
92685 |
return setAttributes({ inner_gap: value });
|
@@ -92689,13 +92721,13 @@ var UAGBIconList = function (_Component) {
|
|
92689 |
}),
|
92690 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
92691 |
wp.element.createElement(SelectControl, {
|
92692 |
-
label: __("Icon Alignment"),
|
92693 |
value: iconPosition,
|
92694 |
-
options: [{ value: "top", label: __("Top") }, { value: "middle", label: __("Middle") }],
|
92695 |
onChange: function onChange(value) {
|
92696 |
return setAttributes({ iconPosition: value });
|
92697 |
},
|
92698 |
-
help: __("Note: This manages the Icon Position with respect to the Label.")
|
92699 |
}),
|
92700 |
wp.element.createElement(
|
92701 |
TabPanel,
|
@@ -92722,7 +92754,7 @@ var UAGBIconList = function (_Component) {
|
|
92722 |
null,
|
92723 |
sizeTypeControls,
|
92724 |
wp.element.createElement(RangeControl, {
|
92725 |
-
label: __("Size"),
|
92726 |
value: sizeMobile,
|
92727 |
onChange: function onChange(value) {
|
92728 |
return setAttributes({ sizeMobile: value });
|
@@ -92739,7 +92771,7 @@ var UAGBIconList = function (_Component) {
|
|
92739 |
null,
|
92740 |
sizeTypeControls,
|
92741 |
wp.element.createElement(RangeControl, {
|
92742 |
-
label: __("Size"),
|
92743 |
value: sizeTablet,
|
92744 |
onChange: function onChange(value) {
|
92745 |
return setAttributes({ sizeTablet: value });
|
@@ -92756,7 +92788,7 @@ var UAGBIconList = function (_Component) {
|
|
92756 |
null,
|
92757 |
sizeTypeControls,
|
92758 |
wp.element.createElement(RangeControl, {
|
92759 |
-
label: __("Icon Size"),
|
92760 |
value: size,
|
92761 |
onChange: function onChange(value) {
|
92762 |
return setAttributes({ size: value });
|
@@ -92778,7 +92810,7 @@ var UAGBIconList = function (_Component) {
|
|
92778 |
),
|
92779 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
92780 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_typography__["a" /* default */], {
|
92781 |
-
label: __("Typography"),
|
92782 |
attributes: attributes,
|
92783 |
setAttributes: setAttributes,
|
92784 |
loadGoogleFonts: { value: loadGoogleFonts, label: 'loadGoogleFonts' },
|
@@ -92796,32 +92828,32 @@ var UAGBIconList = function (_Component) {
|
|
92796 |
}),
|
92797 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
92798 |
wp.element.createElement(RangeControl, {
|
92799 |
-
label: __("Background Size"),
|
92800 |
value: bgSize,
|
92801 |
onChange: function onChange(value) {
|
92802 |
return setAttributes({ bgSize: value });
|
92803 |
},
|
92804 |
-
help: __("Note: Background Size option is useful when one adds background color to the icons."),
|
92805 |
min: 0,
|
92806 |
max: 500
|
92807 |
}),
|
92808 |
wp.element.createElement(RangeControl, {
|
92809 |
-
label: __("Border"),
|
92810 |
value: border,
|
92811 |
onChange: function onChange(value) {
|
92812 |
return setAttributes({ border: value });
|
92813 |
},
|
92814 |
-
help: __("Note: Border option is useful when one adds border color to the icons."),
|
92815 |
min: 0,
|
92816 |
max: 10
|
92817 |
}),
|
92818 |
wp.element.createElement(RangeControl, {
|
92819 |
-
label: __("Border Radius"),
|
92820 |
value: borderRadius,
|
92821 |
onChange: function onChange(value) {
|
92822 |
return setAttributes({ borderRadius: value });
|
92823 |
},
|
92824 |
-
help: __("Note: Border Radius option is useful when one adds background color to the icons."),
|
92825 |
min: 0,
|
92826 |
max: 500
|
92827 |
})
|
@@ -92865,8 +92897,8 @@ var UAGBIconList = function (_Component) {
|
|
92865 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
92866 |
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
92867 |
|
92868 |
-
/**
|
92869 |
-
* Returns Dynamic Generated CSS
|
92870 |
*/
|
92871 |
|
92872 |
|
@@ -93097,8 +93129,8 @@ function styling(props) {
|
|
93097 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
93098 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
93099 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
93100 |
-
/**
|
93101 |
-
* BLOCK: Column - Save Block
|
93102 |
*/
|
93103 |
|
93104 |
// Import block dependencies and components.
|
@@ -93132,60 +93164,6 @@ function save(props) {
|
|
93132 |
|
93133 |
/***/ }),
|
93134 |
/* 565 */
|
93135 |
-
/*!*******************************************!*\
|
93136 |
-
!*** ./src/blocks/icon-list/transform.js ***!
|
93137 |
-
\*******************************************/
|
93138 |
-
/*! exports provided: default */
|
93139 |
-
/*! exports used: default */
|
93140 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
93141 |
-
|
93142 |
-
"use strict";
|
93143 |
-
/**
|
93144 |
-
* WordPress dependencies
|
93145 |
-
*/
|
93146 |
-
var _wp$blocks = wp.blocks,
|
93147 |
-
createBlock = _wp$blocks.createBlock,
|
93148 |
-
getBlockAttributes = _wp$blocks.getBlockAttributes;
|
93149 |
-
|
93150 |
-
/**
|
93151 |
-
* Internal dependencies
|
93152 |
-
*/
|
93153 |
-
|
93154 |
-
var transform = {
|
93155 |
-
from: [{
|
93156 |
-
type: 'raw',
|
93157 |
-
// Paragraph is a fallback and should be matched last.
|
93158 |
-
priority: 20,
|
93159 |
-
selector: 'p',
|
93160 |
-
schema: function schema(_ref) {
|
93161 |
-
var phrasingContentSchema = _ref.phrasingContentSchema,
|
93162 |
-
isPaste = _ref.isPaste;
|
93163 |
-
return {
|
93164 |
-
p: {
|
93165 |
-
children: phrasingContentSchema,
|
93166 |
-
attributes: isPaste ? [] : ['style']
|
93167 |
-
}
|
93168 |
-
};
|
93169 |
-
},
|
93170 |
-
transform: function transform(node) {
|
93171 |
-
var attributes = getBlockAttributes('uagb/icon-list', node.outerHTML);
|
93172 |
-
|
93173 |
-
var _ref2 = node.style || {},
|
93174 |
-
textAlign = _ref2.textAlign;
|
93175 |
-
|
93176 |
-
if (textAlign === 'left' || textAlign === 'center' || textAlign === 'right') {
|
93177 |
-
attributes.align = textAlign;
|
93178 |
-
}
|
93179 |
-
|
93180 |
-
return createBlock('uagb/icon-list', attributes);
|
93181 |
-
}
|
93182 |
-
}]
|
93183 |
-
};
|
93184 |
-
|
93185 |
-
/* harmony default export */ __webpack_exports__["a"] = (transform);
|
93186 |
-
|
93187 |
-
/***/ }),
|
93188 |
-
/* 566 */
|
93189 |
/*!********************************************!*\
|
93190 |
!*** ./src/blocks/icon-list/deprecated.js ***!
|
93191 |
\********************************************/
|
@@ -93198,8 +93176,8 @@ var transform = {
|
|
93198 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
93199 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
93200 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 213);
|
93201 |
-
/**
|
93202 |
-
* BLOCK: Columns - Deprecated Block
|
93203 |
*/
|
93204 |
|
93205 |
// Import block dependencies and components.
|
@@ -93641,7 +93619,7 @@ var deprecated = [{
|
|
93641 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
93642 |
|
93643 |
/***/ }),
|
93644 |
-
/*
|
93645 |
/*!*****************************************!*\
|
93646 |
!*** ./src/blocks/icon-list/style.scss ***!
|
93647 |
\*****************************************/
|
@@ -93651,7 +93629,7 @@ var deprecated = [{
|
|
93651 |
// removed by extract-text-webpack-plugin
|
93652 |
|
93653 |
/***/ }),
|
93654 |
-
/*
|
93655 |
/*!******************************************!*\
|
93656 |
!*** ./src/blocks/icon-list/editor.scss ***!
|
93657 |
\******************************************/
|
@@ -93661,7 +93639,7 @@ var deprecated = [{
|
|
93661 |
// removed by extract-text-webpack-plugin
|
93662 |
|
93663 |
/***/ }),
|
93664 |
-
/*
|
93665 |
/*!*********************************************!*\
|
93666 |
!*** ./src/blocks/icon-list-child/block.js ***!
|
93667 |
\*********************************************/
|
@@ -93671,15 +93649,15 @@ var deprecated = [{
|
|
93671 |
"use strict";
|
93672 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
93673 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 214);
|
93674 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */
|
93675 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */
|
93676 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */
|
93677 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__style_scss__);
|
93678 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
93679 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
93680 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */
|
93681 |
-
/**
|
93682 |
-
* BLOCK: Icon List - Child
|
93683 |
*/
|
93684 |
|
93685 |
|
@@ -93707,7 +93685,7 @@ registerBlockType("uagb/icon-list-child", {
|
|
93707 |
});
|
93708 |
|
93709 |
/***/ }),
|
93710 |
-
/*
|
93711 |
/*!********************************************!*\
|
93712 |
!*** ./src/blocks/icon-list-child/edit.js ***!
|
93713 |
\********************************************/
|
@@ -93722,7 +93700,7 @@ registerBlockType("uagb/icon-list-child", {
|
|
93722 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_UAGBIcon_json___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_UAGBIcon_json__);
|
93723 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker__ = __webpack_require__(/*! @fonticonpicker/react-fonticonpicker */ 10);
|
93724 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker__);
|
93725 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__styling__ = __webpack_require__(/*! ./styling */
|
93726 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
93727 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
93728 |
|
@@ -93734,8 +93712,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
93734 |
|
93735 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
93736 |
|
93737 |
-
/**
|
93738 |
-
* BLOCK: Icon List - Edit Class
|
93739 |
*/
|
93740 |
|
93741 |
// Import classes
|
@@ -93800,8 +93778,8 @@ var UAGBIconListChild = function (_Component) {
|
|
93800 |
}
|
93801 |
}
|
93802 |
|
93803 |
-
/*
|
93804 |
-
* Event to set Image as null while removing.
|
93805 |
*/
|
93806 |
|
93807 |
}, {
|
@@ -93812,8 +93790,8 @@ var UAGBIconListChild = function (_Component) {
|
|
93812 |
setAttributes({ image: null });
|
93813 |
}
|
93814 |
|
93815 |
-
/*
|
93816 |
-
* Event to set Image as while adding.
|
93817 |
*/
|
93818 |
|
93819 |
}, {
|
@@ -93873,7 +93851,7 @@ var UAGBIconListChild = function (_Component) {
|
|
93873 |
wp.element.createElement(
|
93874 |
"p",
|
93875 |
{ className: "uagb-setting-label" },
|
93876 |
-
__("Text Color"),
|
93877 |
wp.element.createElement(
|
93878 |
"span",
|
93879 |
{ className: "components-base-control__label" },
|
@@ -93890,7 +93868,7 @@ var UAGBIconListChild = function (_Component) {
|
|
93890 |
wp.element.createElement(
|
93891 |
"p",
|
93892 |
{ className: "uagb-setting-label" },
|
93893 |
-
__("Image Background Color"),
|
93894 |
wp.element.createElement(
|
93895 |
"span",
|
93896 |
{ className: "components-base-control__label" },
|
@@ -93907,7 +93885,7 @@ var UAGBIconListChild = function (_Component) {
|
|
93907 |
wp.element.createElement(
|
93908 |
"p",
|
93909 |
{ className: "uagb-setting-label" },
|
93910 |
-
__("Image Border Color"),
|
93911 |
wp.element.createElement(
|
93912 |
"span",
|
93913 |
{ className: "components-base-control__label" },
|
@@ -93928,7 +93906,7 @@ var UAGBIconListChild = function (_Component) {
|
|
93928 |
wp.element.createElement(
|
93929 |
"p",
|
93930 |
{ className: "uagb-setting-label" },
|
93931 |
-
__("Text Hover Color"),
|
93932 |
wp.element.createElement(
|
93933 |
"span",
|
93934 |
{ className: "components-base-control__label" },
|
@@ -93945,7 +93923,7 @@ var UAGBIconListChild = function (_Component) {
|
|
93945 |
wp.element.createElement(
|
93946 |
"p",
|
93947 |
{ className: "uagb-setting-label" },
|
93948 |
-
__("Image Background Hover Color"),
|
93949 |
wp.element.createElement(
|
93950 |
"span",
|
93951 |
{ className: "components-base-control__label" },
|
@@ -93962,7 +93940,7 @@ var UAGBIconListChild = function (_Component) {
|
|
93962 |
wp.element.createElement(
|
93963 |
"p",
|
93964 |
{ className: "uagb-setting-label" },
|
93965 |
-
__("Image Border Hover Color"),
|
93966 |
wp.element.createElement(
|
93967 |
"span",
|
93968 |
{ className: "components-base-control__label" },
|
@@ -93985,7 +93963,7 @@ var UAGBIconListChild = function (_Component) {
|
|
93985 |
wp.element.createElement(
|
93986 |
"p",
|
93987 |
{ className: "uagb-setting-label" },
|
93988 |
-
__("Text Color"),
|
93989 |
wp.element.createElement(
|
93990 |
"span",
|
93991 |
{ className: "components-base-control__label" },
|
@@ -94002,7 +93980,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94002 |
wp.element.createElement(
|
94003 |
"p",
|
94004 |
{ className: "uagb-setting-label" },
|
94005 |
-
__("Icon Color"),
|
94006 |
wp.element.createElement(
|
94007 |
"span",
|
94008 |
{ className: "components-base-control__label" },
|
@@ -94019,7 +93997,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94019 |
wp.element.createElement(
|
94020 |
"p",
|
94021 |
{ className: "uagb-setting-label" },
|
94022 |
-
__("Icon Background Color"),
|
94023 |
wp.element.createElement(
|
94024 |
"span",
|
94025 |
{ className: "components-base-control__label" },
|
@@ -94036,7 +94014,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94036 |
wp.element.createElement(
|
94037 |
"p",
|
94038 |
{ className: "uagb-setting-label" },
|
94039 |
-
__("Icon Border Color"),
|
94040 |
wp.element.createElement(
|
94041 |
"span",
|
94042 |
{ className: "components-base-control__label" },
|
@@ -94057,7 +94035,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94057 |
wp.element.createElement(
|
94058 |
"p",
|
94059 |
{ className: "uagb-setting-label" },
|
94060 |
-
__("Text Hover Color"),
|
94061 |
wp.element.createElement(
|
94062 |
"span",
|
94063 |
{ className: "components-base-control__label" },
|
@@ -94074,7 +94052,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94074 |
wp.element.createElement(
|
94075 |
"p",
|
94076 |
{ className: "uagb-setting-label" },
|
94077 |
-
__("Icon Hover Color"),
|
94078 |
wp.element.createElement(
|
94079 |
"span",
|
94080 |
{ className: "components-base-control__label" },
|
@@ -94091,7 +94069,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94091 |
wp.element.createElement(
|
94092 |
"p",
|
94093 |
{ className: "uagb-setting-label" },
|
94094 |
-
__("Icon Background Hover Color"),
|
94095 |
wp.element.createElement(
|
94096 |
"span",
|
94097 |
{ className: "components-base-control__label" },
|
@@ -94108,7 +94086,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94108 |
wp.element.createElement(
|
94109 |
"p",
|
94110 |
{ className: "uagb-setting-label" },
|
94111 |
-
__("Icon Border Hover Color"),
|
94112 |
wp.element.createElement(
|
94113 |
"span",
|
94114 |
{ className: "components-base-control__label" },
|
@@ -94131,11 +94109,11 @@ var UAGBIconListChild = function (_Component) {
|
|
94131 |
activeClass: "active-tab",
|
94132 |
tabs: [{
|
94133 |
name: "normal",
|
94134 |
-
title: __("Normal"),
|
94135 |
className: "uagb-normal-tab"
|
94136 |
}, {
|
94137 |
name: "hover",
|
94138 |
-
title: __("Hover"),
|
94139 |
className: "uagb-hover-tab"
|
94140 |
}] },
|
94141 |
function (tabName) {
|
@@ -94195,7 +94173,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94195 |
{ className: "uagb-icon-list__label-wrap" },
|
94196 |
wp.element.createElement(RichText, (_wp$element$createEle = {
|
94197 |
tagName: "div",
|
94198 |
-
placeholder: __("Label Name"),
|
94199 |
value: label,
|
94200 |
onChange: function onChange(value) {
|
94201 |
return setAttributes({ label: value });
|
@@ -94215,11 +94193,11 @@ var UAGBIconListChild = function (_Component) {
|
|
94215 |
null,
|
94216 |
wp.element.createElement(
|
94217 |
PanelBody,
|
94218 |
-
{ title: __("Icon Settings"), initialOpen: true },
|
94219 |
wp.element.createElement(SelectControl, {
|
94220 |
-
label: __("Image / Icon"),
|
94221 |
value: image_icon,
|
94222 |
-
options: [{ value: "icon", label: __("Icon") }, { value: "image", label: __("Image") }],
|
94223 |
onChange: function onChange(value) {
|
94224 |
return setAttributes({ image_icon: value });
|
94225 |
}
|
@@ -94230,7 +94208,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94230 |
wp.element.createElement(
|
94231 |
"p",
|
94232 |
{ className: "components-base-control__label" },
|
94233 |
-
__("Icon")
|
94234 |
),
|
94235 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
94236 |
icons: svg_icons,
|
@@ -94241,14 +94219,14 @@ var UAGBIconListChild = function (_Component) {
|
|
94241 |
return setAttributes({ icon: value });
|
94242 |
},
|
94243 |
isMulti: false,
|
94244 |
-
noSelectedPlaceholder: __("Select Icon")
|
94245 |
})
|
94246 |
),
|
94247 |
"image" == image_icon && wp.element.createElement(
|
94248 |
Fragment,
|
94249 |
null,
|
94250 |
wp.element.createElement(MediaUpload, {
|
94251 |
-
title: __("Select Image"),
|
94252 |
onSelect: this.onSelectImage,
|
94253 |
allowedTypes: ["image"],
|
94254 |
value: image,
|
@@ -94264,17 +94242,17 @@ var UAGBIconListChild = function (_Component) {
|
|
94264 |
image && wp.element.createElement(
|
94265 |
Button,
|
94266 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
94267 |
-
__("Remove Image")
|
94268 |
)
|
94269 |
),
|
94270 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
94271 |
wp.element.createElement(
|
94272 |
"h2",
|
94273 |
null,
|
94274 |
-
__("List Item Link")
|
94275 |
),
|
94276 |
wp.element.createElement(ToggleControl, {
|
94277 |
-
label: __("Disable Link"),
|
94278 |
checked: disableLink,
|
94279 |
onChange: function onChange(value) {
|
94280 |
return setAttributes({ disableLink: !disableLink });
|
@@ -94286,17 +94264,17 @@ var UAGBIconListChild = function (_Component) {
|
|
94286 |
wp.element.createElement(
|
94287 |
"p",
|
94288 |
{ className: "components-base-control__label" },
|
94289 |
-
__("URL")
|
94290 |
),
|
94291 |
wp.element.createElement(TextControl, {
|
94292 |
value: link,
|
94293 |
onChange: function onChange(value) {
|
94294 |
return setAttributes({ link: value });
|
94295 |
},
|
94296 |
-
placeholder: __("Enter URL")
|
94297 |
}),
|
94298 |
wp.element.createElement(ToggleControl, {
|
94299 |
-
label: __("Open in New Tab"),
|
94300 |
checked: target,
|
94301 |
onChange: function onChange(value) {
|
94302 |
return setAttributes({ target: !target });
|
@@ -94307,7 +94285,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94307 |
wp.element.createElement(
|
94308 |
"h2",
|
94309 |
null,
|
94310 |
-
__("Icon Color Settings")
|
94311 |
),
|
94312 |
iconColorControls()
|
94313 |
)
|
@@ -94323,7 +94301,7 @@ var UAGBIconListChild = function (_Component) {
|
|
94323 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBIconListChild);
|
94324 |
|
94325 |
/***/ }),
|
94326 |
-
/*
|
94327 |
/*!***********************************************!*\
|
94328 |
!*** ./src/blocks/icon-list-child/styling.js ***!
|
94329 |
\***********************************************/
|
@@ -94333,8 +94311,8 @@ var UAGBIconListChild = function (_Component) {
|
|
94333 |
|
94334 |
"use strict";
|
94335 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
94336 |
-
/**
|
94337 |
-
* Returns Dynamic Generated CSS
|
94338 |
*/
|
94339 |
|
94340 |
|
@@ -94391,7 +94369,7 @@ function styling(props) {
|
|
94391 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
94392 |
|
94393 |
/***/ }),
|
94394 |
-
/*
|
94395 |
/*!********************************************!*\
|
94396 |
!*** ./src/blocks/icon-list-child/save.js ***!
|
94397 |
\********************************************/
|
@@ -94404,8 +94382,8 @@ function styling(props) {
|
|
94404 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
94405 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
94406 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
94407 |
-
/**
|
94408 |
-
* BLOCK: Icon List - Child - Save Block
|
94409 |
*/
|
94410 |
|
94411 |
// Import block dependencies and components.
|
@@ -94475,7 +94453,7 @@ function save(props) {
|
|
94475 |
}
|
94476 |
|
94477 |
/***/ }),
|
94478 |
-
/*
|
94479 |
/*!***********************************************!*\
|
94480 |
!*** ./src/blocks/icon-list-child/style.scss ***!
|
94481 |
\***********************************************/
|
@@ -94485,7 +94463,7 @@ function save(props) {
|
|
94485 |
// removed by extract-text-webpack-plugin
|
94486 |
|
94487 |
/***/ }),
|
94488 |
-
/*
|
94489 |
/*!************************************************!*\
|
94490 |
!*** ./src/blocks/icon-list-child/editor.scss ***!
|
94491 |
\************************************************/
|
@@ -94495,7 +94473,7 @@ function save(props) {
|
|
94495 |
// removed by extract-text-webpack-plugin
|
94496 |
|
94497 |
/***/ }),
|
94498 |
-
/*
|
94499 |
/*!**************************************************!*\
|
94500 |
!*** ./src/blocks/icon-list-child/deprecated.js ***!
|
94501 |
\**************************************************/
|
@@ -94508,8 +94486,8 @@ function save(props) {
|
|
94508 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
94509 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
94510 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 214);
|
94511 |
-
/**
|
94512 |
-
* BLOCK: Icon List - Child - Deprecated Block
|
94513 |
*/
|
94514 |
|
94515 |
|
@@ -94584,7 +94562,7 @@ var deprecated = [{
|
|
94584 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
94585 |
|
94586 |
/***/ }),
|
94587 |
-
/*
|
94588 |
/*!****************************************!*\
|
94589 |
!*** ./src/blocks/price-list/block.js ***!
|
94590 |
\****************************************/
|
@@ -94593,13 +94571,13 @@ var deprecated = [{
|
|
94593 |
|
94594 |
"use strict";
|
94595 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
94596 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */
|
94597 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__save__ = __webpack_require__(/*! ./save */
|
94598 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__deprecated__ = __webpack_require__(/*! ./deprecated */
|
94599 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__attributes__ = __webpack_require__(/*! ./attributes */ 215);
|
94600 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */
|
94601 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
94602 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
94603 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
94604 |
var _registerBlockType;
|
94605 |
|
@@ -94607,8 +94585,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
94607 |
|
94608 |
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
94609 |
|
94610 |
-
/**
|
94611 |
-
* BLOCK: Price List
|
94612 |
*/
|
94613 |
|
94614 |
|
@@ -94628,11 +94606,11 @@ var _wp$compose = wp.compose,
|
|
94628 |
compose = _wp$compose.compose,
|
94629 |
createHigherOrderComponent = _wp$compose.createHigherOrderComponent;
|
94630 |
|
94631 |
-
/**
|
94632 |
-
* Override the default block element to add wrapper props.
|
94633 |
-
*
|
94634 |
-
* @param {Function} BlockListBlock Original component
|
94635 |
-
* @return {Function} Wrapped component
|
94636 |
*/
|
94637 |
|
94638 |
var enhance = compose(withSelect(function (select) {
|
@@ -94640,11 +94618,11 @@ var enhance = compose(withSelect(function (select) {
|
|
94640 |
selected: select('core/block-editor').getSelectedBlock()
|
94641 |
};
|
94642 |
}));
|
94643 |
-
/**
|
94644 |
-
* Add custom UAG attributes to selected blocks
|
94645 |
-
*
|
94646 |
-
* @param {Function} BlockEdit Original component.
|
94647 |
-
* @return {string} Wrapped component.
|
94648 |
*/
|
94649 |
var withPriceList = createHigherOrderComponent(function (BlockEdit) {
|
94650 |
return enhance(function (_ref) {
|
@@ -94677,7 +94655,7 @@ registerBlockType("uagb/restaurant-menu", (_registerBlockType = {
|
|
94677 |
addFilter('editor.BlockEdit', 'uagb/restaurant-menu', withPriceList);
|
94678 |
|
94679 |
/***/ }),
|
94680 |
-
/*
|
94681 |
/*!***************************************!*\
|
94682 |
!*** ./src/blocks/price-list/edit.js ***!
|
94683 |
\***************************************/
|
@@ -94689,8 +94667,8 @@ addFilter('editor.BlockEdit', 'uagb/restaurant-menu', withPriceList);
|
|
94689 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
94690 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
94691 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__classes__ = __webpack_require__(/*! ./classes */ 65);
|
94692 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__inline_styles__ = __webpack_require__(/*! ./inline-styles */
|
94693 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_times__ = __webpack_require__(/*! lodash/times */
|
94694 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_times__);
|
94695 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
94696 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_memize__ = __webpack_require__(/*! memize */ 19);
|
@@ -94707,8 +94685,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
94707 |
|
94708 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
94709 |
|
94710 |
-
/**
|
94711 |
-
* BLOCK: Price List - Edit Class
|
94712 |
*/
|
94713 |
|
94714 |
|
@@ -94832,8 +94810,8 @@ var UAGBRestaurantMenu = function (_Component) {
|
|
94832 |
setAttributes({ imageAlignment: value });
|
94833 |
}
|
94834 |
|
94835 |
-
/*
|
94836 |
-
* Event to set Image as null while removing.
|
94837 |
*/
|
94838 |
|
94839 |
}, {
|
@@ -94845,8 +94823,8 @@ var UAGBRestaurantMenu = function (_Component) {
|
|
94845 |
setAttributes({ backgroundImage: null });
|
94846 |
}
|
94847 |
|
94848 |
-
/*
|
94849 |
-
* Event to set Image as while adding.
|
94850 |
*/
|
94851 |
|
94852 |
}, {
|
@@ -95509,7 +95487,7 @@ var UAGBRestaurantMenu = function (_Component) {
|
|
95509 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBRestaurantMenu);
|
95510 |
|
95511 |
/***/ }),
|
95512 |
-
/*
|
95513 |
/*!************************************************!*\
|
95514 |
!*** ./src/blocks/price-list/inline-styles.js ***!
|
95515 |
\************************************************/
|
@@ -95520,8 +95498,8 @@ var UAGBRestaurantMenu = function (_Component) {
|
|
95520 |
"use strict";
|
95521 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
95522 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
95523 |
-
/**
|
95524 |
-
* Returns Dynamic Generated CSS
|
95525 |
*/
|
95526 |
|
95527 |
|
@@ -95726,7 +95704,7 @@ function RestMenuStyle(props) {
|
|
95726 |
/* harmony default export */ __webpack_exports__["a"] = (RestMenuStyle);
|
95727 |
|
95728 |
/***/ }),
|
95729 |
-
/*
|
95730 |
/*!***************************************!*\
|
95731 |
!*** ./src/blocks/price-list/save.js ***!
|
95732 |
\***************************************/
|
@@ -95738,14 +95716,13 @@ function RestMenuStyle(props) {
|
|
95738 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
95739 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
95740 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
95741 |
-
/**
|
95742 |
-
* BLOCK: Column - Save Block
|
95743 |
*/
|
95744 |
|
95745 |
// Import block dependencies and components.
|
95746 |
|
95747 |
|
95748 |
-
var Fragment = wp.element.Fragment;
|
95749 |
var InnerBlocks = wp.blockEditor.InnerBlocks;
|
95750 |
|
95751 |
|
@@ -95756,19 +95733,15 @@ function save(props) {
|
|
95756 |
|
95757 |
|
95758 |
return wp.element.createElement(
|
95759 |
-
|
95760 |
-
|
95761 |
-
|
95762 |
-
|
95763 |
-
{ className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, "uagb-rest_menu__outer-wrap", "uagb-block-" + block_id)
|
95764 |
-
},
|
95765 |
-
wp.element.createElement(InnerBlocks.Content, null)
|
95766 |
-
)
|
95767 |
);
|
95768 |
}
|
95769 |
|
95770 |
/***/ }),
|
95771 |
-
/*
|
95772 |
/*!*********************************************!*\
|
95773 |
!*** ./src/blocks/price-list/deprecated.js ***!
|
95774 |
\*********************************************/
|
@@ -95787,8 +95760,8 @@ function save(props) {
|
|
95787 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__price_list_child_components_RestMenuImage__ = __webpack_require__(/*! ../price-list-child/components/RestMenuImage */ 118);
|
95788 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
95789 |
|
95790 |
-
/**
|
95791 |
-
* BLOCK: Price List - Deprecated Block
|
95792 |
*/
|
95793 |
|
95794 |
// Import block dependencies and components.
|
@@ -95801,6 +95774,7 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
|
|
95801 |
|
95802 |
|
95803 |
var Fragment = wp.element.Fragment;
|
|
|
95804 |
|
95805 |
|
95806 |
var deprecated = [{
|
@@ -95935,12 +95909,31 @@ var deprecated = [{
|
|
95935 |
)
|
95936 |
);
|
95937 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95938 |
}];
|
95939 |
|
95940 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
95941 |
|
95942 |
/***/ }),
|
95943 |
-
/*
|
95944 |
/*!******************************************!*\
|
95945 |
!*** ./src/blocks/price-list/style.scss ***!
|
95946 |
\******************************************/
|
@@ -95950,7 +95943,7 @@ var deprecated = [{
|
|
95950 |
// removed by extract-text-webpack-plugin
|
95951 |
|
95952 |
/***/ }),
|
95953 |
-
/*
|
95954 |
/*!*******************************************!*\
|
95955 |
!*** ./src/blocks/price-list/editor.scss ***!
|
95956 |
\*******************************************/
|
@@ -95960,7 +95953,7 @@ var deprecated = [{
|
|
95960 |
// removed by extract-text-webpack-plugin
|
95961 |
|
95962 |
/***/ }),
|
95963 |
-
/*
|
95964 |
/*!**********************************************!*\
|
95965 |
!*** ./src/blocks/price-list-child/block.js ***!
|
95966 |
\**********************************************/
|
@@ -95969,13 +95962,13 @@ var deprecated = [{
|
|
95969 |
|
95970 |
"use strict";
|
95971 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
95972 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */
|
95973 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__save__ = __webpack_require__(/*! ./save */
|
95974 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes__ = __webpack_require__(/*! ./attributes */
|
95975 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */
|
95976 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__style_scss__);
|
95977 |
-
/**
|
95978 |
-
* BLOCK: Price List
|
95979 |
*/
|
95980 |
|
95981 |
|
@@ -96006,7 +95999,7 @@ registerBlockType("uagb/restaurant-menu-child", {
|
|
96006 |
});
|
96007 |
|
96008 |
/***/ }),
|
96009 |
-
/*
|
96010 |
/*!*********************************************!*\
|
96011 |
!*** ./src/blocks/price-list-child/edit.js ***!
|
96012 |
\*********************************************/
|
@@ -96032,8 +96025,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
96032 |
|
96033 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
96034 |
|
96035 |
-
/**
|
96036 |
-
* BLOCK: Price List - Edit Class
|
96037 |
*/
|
96038 |
|
96039 |
|
@@ -96095,8 +96088,8 @@ var UAGBRestaurantMenuChild = function (_Component) {
|
|
96095 |
});
|
96096 |
}
|
96097 |
|
96098 |
-
/*
|
96099 |
-
* Event to set Image selectot label.
|
96100 |
*/
|
96101 |
|
96102 |
}, {
|
@@ -96113,8 +96106,8 @@ var UAGBRestaurantMenuChild = function (_Component) {
|
|
96113 |
}
|
96114 |
return image_title;
|
96115 |
}
|
96116 |
-
/*
|
96117 |
-
* Event to set Image as null while removing.
|
96118 |
*/
|
96119 |
|
96120 |
}, {
|
@@ -96189,6 +96182,8 @@ var UAGBRestaurantMenuChild = function (_Component) {
|
|
96189 |
var parentClientId = select('core/block-editor').getBlockHierarchyRootClientId(this.props.clientId);
|
96190 |
var parentAttributes = select('core/block-editor').getBlockAttributes(parentClientId);
|
96191 |
|
|
|
|
|
96192 |
return wp.element.createElement(
|
96193 |
Fragment,
|
96194 |
null,
|
@@ -96213,7 +96208,7 @@ var UAGBRestaurantMenuChild = function (_Component) {
|
|
96213 |
wp.element.createElement(
|
96214 |
"div",
|
96215 |
{ className: "uagb-rm__content" },
|
96216 |
-
(
|
96217 |
wp.element.createElement(
|
96218 |
"div",
|
96219 |
{ className: "uagb-rm__text-wrap" },
|
@@ -96241,7 +96236,7 @@ var UAGBRestaurantMenuChild = function (_Component) {
|
|
96241 |
)
|
96242 |
)
|
96243 |
),
|
96244 |
-
|
96245 |
),
|
96246 |
wp.element.createElement(
|
96247 |
"div",
|
@@ -96267,7 +96262,7 @@ var UAGBRestaurantMenuChild = function (_Component) {
|
|
96267 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBRestaurantMenuChild);
|
96268 |
|
96269 |
/***/ }),
|
96270 |
-
/*
|
96271 |
/*!*********************************************!*\
|
96272 |
!*** ./src/blocks/price-list-child/save.js ***!
|
96273 |
\*********************************************/
|
@@ -96286,8 +96281,8 @@ var UAGBRestaurantMenuChild = function (_Component) {
|
|
96286 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_RestMenuImage__ = __webpack_require__(/*! ./components/RestMenuImage */ 118);
|
96287 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
96288 |
|
96289 |
-
/**
|
96290 |
-
* BLOCK: Column - Save Block
|
96291 |
*/
|
96292 |
|
96293 |
// Import block dependencies and components.
|
@@ -96367,7 +96362,7 @@ function save(props) {
|
|
96367 |
}
|
96368 |
|
96369 |
/***/ }),
|
96370 |
-
/*
|
96371 |
/*!***************************************************!*\
|
96372 |
!*** ./src/blocks/price-list-child/attributes.js ***!
|
96373 |
\***************************************************/
|
@@ -96436,7 +96431,7 @@ var attributes = {
|
|
96436 |
/* harmony default export */ __webpack_exports__["a"] = (attributes);
|
96437 |
|
96438 |
/***/ }),
|
96439 |
-
/*
|
96440 |
/*!************************************************!*\
|
96441 |
!*** ./src/blocks/price-list-child/style.scss ***!
|
96442 |
\************************************************/
|
@@ -96446,7 +96441,7 @@ var attributes = {
|
|
96446 |
// removed by extract-text-webpack-plugin
|
96447 |
|
96448 |
/***/ }),
|
96449 |
-
/*
|
96450 |
/*!**************************************!*\
|
96451 |
!*** ./src/blocks/timeline/block.js ***!
|
96452 |
\**************************************/
|
@@ -96454,15 +96449,15 @@ var attributes = {
|
|
96454 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
96455 |
|
96456 |
"use strict";
|
96457 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__content_timeline_block_js__ = __webpack_require__(/*! ./content-timeline/block.js */
|
96458 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__content_timeline_child_block_js__ = __webpack_require__(/*! ./content-timeline-child/block.js */
|
96459 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__post_timeline_block_js__ = __webpack_require__(/*! ./post-timeline/block.js */
|
96460 |
|
96461 |
|
96462 |
|
96463 |
|
96464 |
/***/ }),
|
96465 |
-
/*
|
96466 |
/*!*******************************************************!*\
|
96467 |
!*** ./src/blocks/timeline/content-timeline/block.js ***!
|
96468 |
\*******************************************************/
|
@@ -96473,25 +96468,25 @@ var attributes = {
|
|
96473 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
96474 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! .././style.scss */ 119);
|
96475 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);
|
96476 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss__ = __webpack_require__(/*! ./style.scss */
|
96477 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
96478 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__deprecated__ = __webpack_require__(/*! ./deprecated */
|
96479 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__save__ = __webpack_require__(/*! ./save */
|
96480 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__attributes__ = __webpack_require__(/*! ./attributes */ 216);
|
96481 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__edit__ = __webpack_require__(/*! ./edit */
|
96482 |
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
96483 |
|
96484 |
-
/**
|
96485 |
-
* Register: as Gutenberg Block.
|
96486 |
-
*
|
96487 |
-
* Registers a new block provided a unique name and an object defining its
|
96488 |
-
* behavior.
|
96489 |
-
*
|
96490 |
-
* @link https://wordpress.org/gutenberg/handbook/block-api/
|
96491 |
-
* @param {string} name Block name.
|
96492 |
-
* @param {Object} settings Block settings.
|
96493 |
-
* @return {?WPBlock} The block, if it has been successfully
|
96494 |
-
* registered; otherwise `undefined`.
|
96495 |
*/
|
96496 |
|
96497 |
// Import CSS.
|
@@ -96515,11 +96510,11 @@ var _wp$compose = wp.compose,
|
|
96515 |
compose = _wp$compose.compose,
|
96516 |
createHigherOrderComponent = _wp$compose.createHigherOrderComponent;
|
96517 |
|
96518 |
-
/**
|
96519 |
-
* Override the default block element to add wrapper props.
|
96520 |
-
*
|
96521 |
-
* @param {Function} BlockListBlock Original component
|
96522 |
-
* @return {Function} Wrapped component
|
96523 |
*/
|
96524 |
|
96525 |
var enhance = compose(withSelect(function (select) {
|
@@ -96527,11 +96522,11 @@ var enhance = compose(withSelect(function (select) {
|
|
96527 |
selected: select('core/block-editor').getSelectedBlock()
|
96528 |
};
|
96529 |
}));
|
96530 |
-
/**
|
96531 |
-
* Add custom UAG attributes to selected blocks
|
96532 |
-
*
|
96533 |
-
* @param {Function} BlockEdit Original component.
|
96534 |
-
* @return {string} Wrapped component.
|
96535 |
*/
|
96536 |
var withcontentTimeline = createHigherOrderComponent(function (BlockEdit) {
|
96537 |
return enhance(function (_ref) {
|
@@ -96552,7 +96547,7 @@ registerBlockType("uagb/content-timeline", {
|
|
96552 |
description: uagb_blocks_info.blocks["uagb/content-timeline"]["description"], // Block description.
|
96553 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].content_timeline, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
|
96554 |
category: uagb_blocks_info.category,
|
96555 |
-
keywords: [__("Content Timeline"), __("Timeline"), __("uag")],
|
96556 |
supports: {
|
96557 |
anchor: true
|
96558 |
},
|
@@ -96597,7 +96592,7 @@ registerBlockType("uagb/content-timeline", {
|
|
96597 |
addFilter('editor.BlockEdit', 'uagb/content-timeline', withcontentTimeline);
|
96598 |
|
96599 |
/***/ }),
|
96600 |
-
/*
|
96601 |
/*!*********************************************************!*\
|
96602 |
!*** ./src/blocks/timeline/content-timeline/style.scss ***!
|
96603 |
\*********************************************************/
|
@@ -96607,7 +96602,7 @@ addFilter('editor.BlockEdit', 'uagb/content-timeline', withcontentTimeline);
|
|
96607 |
// removed by extract-text-webpack-plugin
|
96608 |
|
96609 |
/***/ }),
|
96610 |
-
/*
|
96611 |
/*!************************************************************!*\
|
96612 |
!*** ./src/blocks/timeline/content-timeline/deprecated.js ***!
|
96613 |
\************************************************************/
|
@@ -96626,8 +96621,8 @@ addFilter('editor.BlockEdit', 'uagb/content-timeline', withcontentTimeline);
|
|
96626 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
96627 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
96628 |
|
96629 |
-
/**
|
96630 |
-
* BLOCK: Testimonial - Deprecated Block
|
96631 |
*/
|
96632 |
|
96633 |
|
@@ -97190,7 +97185,7 @@ var deprecated = [{
|
|
97190 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
97191 |
|
97192 |
/***/ }),
|
97193 |
-
/*
|
97194 |
/*!******************************************************!*\
|
97195 |
!*** ./src/blocks/timeline/content-timeline/save.js ***!
|
97196 |
\******************************************************/
|
@@ -97206,8 +97201,8 @@ var deprecated = [{
|
|
97206 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__classes__ = __webpack_require__(/*! .././classes */ 66);
|
97207 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
97208 |
|
97209 |
-
/**
|
97210 |
-
* BLOCK: Timeline - Save Block
|
97211 |
*/
|
97212 |
|
97213 |
|
@@ -97250,7 +97245,7 @@ function save(props) {
|
|
97250 |
}
|
97251 |
|
97252 |
/***/ }),
|
97253 |
-
/*
|
97254 |
/*!******************************************************!*\
|
97255 |
!*** ./src/blocks/timeline/content-timeline/edit.js ***!
|
97256 |
\******************************************************/
|
@@ -97261,7 +97256,7 @@ function save(props) {
|
|
97261 |
"use strict";
|
97262 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
97263 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
97264 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */
|
97265 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
97266 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_memize__ = __webpack_require__(/*! memize */ 19);
|
97267 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_memize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_memize__);
|
@@ -97284,8 +97279,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
97284 |
|
97285 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
97286 |
|
97287 |
-
/**
|
97288 |
-
* BLOCK: Content Timeline.
|
97289 |
*/
|
97290 |
|
97291 |
|
@@ -97428,8 +97423,8 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97428 |
setAttributes({ icon: value });
|
97429 |
}
|
97430 |
|
97431 |
-
/**
|
97432 |
-
* Function Name: toggleDisplayPostDate.
|
97433 |
*/
|
97434 |
|
97435 |
}, {
|
@@ -97540,79 +97535,79 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97540 |
onChange: this.getTimelineicon,
|
97541 |
isMulti: false,
|
97542 |
renderFunc: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
97543 |
-
noSelectedPlaceholder: __("Select Icon")
|
97544 |
};
|
97545 |
|
97546 |
-
var iconColorSettings = wp.element.createElement(PanelColorSettings, { title: __("Color Settings"), initialOpen: true,
|
97547 |
colorSettings: [{
|
97548 |
value: separatorColor,
|
97549 |
onChange: function onChange(colorValue) {
|
97550 |
return setAttributes({ separatorColor: colorValue });
|
97551 |
},
|
97552 |
-
label: __("Line Color")
|
97553 |
}, {
|
97554 |
value: iconColor,
|
97555 |
onChange: function onChange(colorValue) {
|
97556 |
return setAttributes({ iconColor: colorValue });
|
97557 |
},
|
97558 |
-
label: __("Icon Color")
|
97559 |
}, {
|
97560 |
value: separatorBg,
|
97561 |
onChange: function onChange(colorValue) {
|
97562 |
return setAttributes({ separatorBg: colorValue });
|
97563 |
},
|
97564 |
-
label: __("Background Color")
|
97565 |
}, {
|
97566 |
value: separatorBorder,
|
97567 |
onChange: function onChange(colorValue) {
|
97568 |
return setAttributes({ separatorBorder: colorValue });
|
97569 |
},
|
97570 |
-
label: __("Border Color")
|
97571 |
}]
|
97572 |
});
|
97573 |
|
97574 |
-
var iconFocusSettings = wp.element.createElement(PanelColorSettings, { title: __("Color Settings"), initialOpen: true,
|
97575 |
colorSettings: [{
|
97576 |
value: separatorFillColor,
|
97577 |
onChange: function onChange(colorValue) {
|
97578 |
return setAttributes({ separatorFillColor: colorValue });
|
97579 |
},
|
97580 |
-
label: __("Line Color")
|
97581 |
}, {
|
97582 |
value: iconFocus,
|
97583 |
onChange: function onChange(colorValue) {
|
97584 |
return setAttributes({ iconFocus: colorValue });
|
97585 |
},
|
97586 |
-
label: __("Icon Color")
|
97587 |
}, {
|
97588 |
value: iconBgFocus,
|
97589 |
onChange: function onChange(colorValue) {
|
97590 |
return setAttributes({ iconBgFocus: colorValue });
|
97591 |
},
|
97592 |
-
label: __("Background Color")
|
97593 |
}, {
|
97594 |
value: borderFocus,
|
97595 |
onChange: function onChange(colorValue) {
|
97596 |
return setAttributes({ borderFocus: colorValue });
|
97597 |
},
|
97598 |
-
label: __("Border Color")
|
97599 |
}]
|
97600 |
});
|
97601 |
|
97602 |
var iconControls = wp.element.createElement(
|
97603 |
PanelBody,
|
97604 |
-
{ title: __("Connector Color Settings"), initialOpen: true },
|
97605 |
wp.element.createElement(
|
97606 |
TabPanel,
|
97607 |
{ className: "uagb-inspect-tabs uagb-inspect-tabs-col-2",
|
97608 |
activeClass: "active-tab",
|
97609 |
tabs: [{
|
97610 |
name: "normal",
|
97611 |
-
title: __("Normal"),
|
97612 |
className: "uagb-normal-tab"
|
97613 |
}, {
|
97614 |
name: "focus",
|
97615 |
-
title: __("Focus"),
|
97616 |
className: "uagb-focus-tab"
|
97617 |
}] },
|
97618 |
function (tabName) {
|
@@ -97636,17 +97631,17 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97636 |
null,
|
97637 |
wp.element.createElement(
|
97638 |
PanelBody,
|
97639 |
-
{ title: __("Timeline Item"), initialOpen: false },
|
97640 |
wp.element.createElement(SelectControl, {
|
97641 |
-
label: __("Typography"),
|
97642 |
value: headingTag,
|
97643 |
onChange: function onChange(value) {
|
97644 |
return setAttributes({ headingTag: value });
|
97645 |
},
|
97646 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }, { value: "p", label: __("P") }, { value: "span", label: __("SPAN") }]
|
97647 |
}),
|
97648 |
wp.element.createElement(RangeControl, {
|
97649 |
-
label: __("Rounded Corners"),
|
97650 |
value: borderRadius,
|
97651 |
onChange: function onChange(value) {
|
97652 |
return setAttributes({ borderRadius: value });
|
@@ -97657,7 +97652,7 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97657 |
allowReset: true
|
97658 |
}),
|
97659 |
wp.element.createElement(RangeControl, {
|
97660 |
-
label: __("Padding"),
|
97661 |
value: bgPadding,
|
97662 |
onChange: function onChange(value) {
|
97663 |
return setAttributes({ bgPadding: value });
|
@@ -97669,26 +97664,26 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97669 |
})
|
97670 |
),
|
97671 |
wp.element.createElement(PanelColorSettings, {
|
97672 |
-
title: __("Color Settings"),
|
97673 |
initialOpen: false,
|
97674 |
colorSettings: [{
|
97675 |
value: headingColor,
|
97676 |
onChange: function onChange(colorValue) {
|
97677 |
return setAttributes({ headingColor: colorValue });
|
97678 |
},
|
97679 |
-
label: __("Heading Color")
|
97680 |
}, {
|
97681 |
value: subHeadingColor,
|
97682 |
onChange: function onChange(colorValue) {
|
97683 |
return setAttributes({ subHeadingColor: colorValue });
|
97684 |
},
|
97685 |
-
label: __("Content Color")
|
97686 |
}, {
|
97687 |
value: backgroundColor,
|
97688 |
onChange: function onChange(colorValue) {
|
97689 |
return setAttributes({ backgroundColor: colorValue });
|
97690 |
},
|
97691 |
-
label: __("Background Color")
|
97692 |
}]
|
97693 |
})
|
97694 |
);
|
@@ -97734,33 +97729,33 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97734 |
|
97735 |
var renderSettings = wp.element.createElement(
|
97736 |
PanelBody,
|
97737 |
-
{ title: __("General"), initialOpen: false },
|
97738 |
wp.element.createElement(
|
97739 |
"h2",
|
97740 |
null,
|
97741 |
-
__("Layout")
|
97742 |
),
|
97743 |
wp.element.createElement(SelectControl, {
|
97744 |
-
label: __("Orientation"),
|
97745 |
value: timelinAlignment,
|
97746 |
onChange: function onChange(value) {
|
97747 |
return setAttributes({ timelinAlignment: value });
|
97748 |
},
|
97749 |
-
options: [{ value: "left", label: __("Left") }, { value: "right", label: __("Right") }, { value: "center", label: __("Center") }]
|
97750 |
}),
|
97751 |
wp.element.createElement(SelectControl, {
|
97752 |
-
label: __("Arrow Alignment"),
|
97753 |
value: arrowlinAlignment,
|
97754 |
onChange: function onChange(value) {
|
97755 |
return setAttributes({ arrowlinAlignment: value });
|
97756 |
},
|
97757 |
-
options: [{ value: "top", label: __("Top") }, { value: "bottom", label: __("Bottom") }, { value: "center", label: __("Center") }]
|
97758 |
}),
|
97759 |
wp.element.createElement(SelectControl, {
|
97760 |
-
label: __("Stack on"),
|
97761 |
value: stack,
|
97762 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
97763 |
-
help: __("Note: Choose on what breakpoint the Content Timeline will stack."),
|
97764 |
onChange: function onChange(value) {
|
97765 |
return setAttributes({ stack: value });
|
97766 |
}
|
@@ -97772,18 +97767,18 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97772 |
__("Date")
|
97773 |
),
|
97774 |
wp.element.createElement(ToggleControl, {
|
97775 |
-
label: __("Display Date"),
|
97776 |
checked: displayPostDate,
|
97777 |
onChange: this.toggleDisplayPostDate
|
97778 |
}),
|
97779 |
displayPostDate && wp.element.createElement(SelectControl, {
|
97780 |
-
label: __("Date Format"),
|
97781 |
value: dateFormat,
|
97782 |
onChange: this.getdateFormat,
|
97783 |
-
options: [{ value: 'M j, Y', label: dateI18n('M j, Y', today) }, { value: 'F j, Y', label: dateI18n('F j, Y', today) }, { value: 'm/d/Y', label: dateI18n('m/d/Y', today) }, { value: 'm-d-Y', label: dateI18n('m-d-Y', today) }, { value: 'm.d.Y', label: dateI18n('m.d.Y', today) }, { value: 'd M Y', label: dateI18n('d M Y', today) }, { value: 'd F Y', label: dateI18n('d F Y', today) }, { value: 'd-m-Y', label: dateI18n('d-m-Y', today) }, { value: 'd.m.Y', label: dateI18n('d.m.Y', today) }, { value: 'd/m/Y', label: dateI18n('d/m/Y', today) }, { value: 'Y-m-d', label: dateI18n('Y-m-d', today) }, { value: 'Y.m.d', label: dateI18n('Y.m.d', today) }, { value: 'Y/m/d', label: dateI18n('Y/m/d', today) }, { value: 'M, Y', label: dateI18n('M, Y', today) }, { value: 'M Y', label: dateI18n('M Y', today) }, { value: 'F, Y', label: dateI18n('F, Y', today) }, { value: 'F Y', label: dateI18n('F Y', today) }, { value: 'custom', label: __('Normal Text') }]
|
97784 |
}),
|
97785 |
displayPostDate && timelinAlignment !== "center" && wp.element.createElement(RangeControl, {
|
97786 |
-
label: __("Date Bottom Spacing"),
|
97787 |
value: dateBottomspace,
|
97788 |
onChange: function onChange(value) {
|
97789 |
return setAttributes({ dateBottomspace: value });
|
@@ -97796,10 +97791,10 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97796 |
wp.element.createElement(
|
97797 |
"h2",
|
97798 |
null,
|
97799 |
-
__("Heading")
|
97800 |
),
|
97801 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
97802 |
-
label: __("Typography"),
|
97803 |
attributes: this.props.attributes,
|
97804 |
setAttributes: setAttributes,
|
97805 |
loadGoogleFonts: { value: headLoadGoogleFonts, label: 'headLoadGoogleFonts' },
|
@@ -97819,10 +97814,10 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97819 |
wp.element.createElement(
|
97820 |
"h2",
|
97821 |
null,
|
97822 |
-
__("Content")
|
97823 |
),
|
97824 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
97825 |
-
label: __("Content Tag"),
|
97826 |
attributes: this.props.attributes,
|
97827 |
setAttributes: setAttributes,
|
97828 |
loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: 'subHeadLoadGoogleFonts' },
|
@@ -97845,10 +97840,10 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97845 |
wp.element.createElement(
|
97846 |
"h2",
|
97847 |
null,
|
97848 |
-
__("Date Typography")
|
97849 |
),
|
97850 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
97851 |
-
label: __("Typography"),
|
97852 |
attributes: this.props.attributes,
|
97853 |
setAttributes: setAttributes,
|
97854 |
loadGoogleFonts: { value: dateLoadGoogleFonts, label: 'dateLoadGoogleFonts' },
|
@@ -97868,7 +97863,7 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97868 |
wp.element.createElement(
|
97869 |
"p",
|
97870 |
{ className: "uagb-setting-label" },
|
97871 |
-
__("Date Color"),
|
97872 |
wp.element.createElement(
|
97873 |
"span",
|
97874 |
{ className: "components-base-control__label" },
|
@@ -97891,9 +97886,9 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97891 |
renderSettings,
|
97892 |
wp.element.createElement(
|
97893 |
PanelBody,
|
97894 |
-
{ title: __("Spacing"), initialOpen: false },
|
97895 |
wp.element.createElement(RangeControl, {
|
97896 |
-
label: __("Horizontal Space"),
|
97897 |
value: horizontalSpace,
|
97898 |
onChange: function onChange(value) {
|
97899 |
return setAttributes({ horizontalSpace: value });
|
@@ -97903,7 +97898,7 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97903 |
allowReset: true
|
97904 |
}),
|
97905 |
wp.element.createElement(RangeControl, {
|
97906 |
-
label: __("Vertical Space"),
|
97907 |
value: verticalSpace,
|
97908 |
onChange: function onChange(value) {
|
97909 |
return setAttributes({ verticalSpace: value });
|
@@ -97913,7 +97908,7 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97913 |
allowReset: true
|
97914 |
}),
|
97915 |
wp.element.createElement(RangeControl, {
|
97916 |
-
label: __("Heading Bottom Spacing"),
|
97917 |
value: headSpace,
|
97918 |
onChange: function onChange(value) {
|
97919 |
return setAttributes({ headSpace: value });
|
@@ -97925,10 +97920,10 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97925 |
),
|
97926 |
wp.element.createElement(
|
97927 |
PanelBody,
|
97928 |
-
{ title: __("Connector"), initialOpen: false },
|
97929 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
97930 |
wp.element.createElement(RangeControl, {
|
97931 |
-
label: __("Icon Size"),
|
97932 |
value: iconSize,
|
97933 |
onChange: this.geticonSize,
|
97934 |
min: 0,
|
@@ -97936,7 +97931,7 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97936 |
allowReset: true
|
97937 |
}),
|
97938 |
wp.element.createElement(RangeControl, {
|
97939 |
-
label: __("Icon Background Size"),
|
97940 |
value: connectorBgsize,
|
97941 |
onChange: this.getconnectorBgsize,
|
97942 |
min: 25,
|
@@ -97944,7 +97939,7 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97944 |
allowReset: true
|
97945 |
}),
|
97946 |
wp.element.createElement(RangeControl, {
|
97947 |
-
label: __("Border Width"),
|
97948 |
value: borderwidth,
|
97949 |
onChange: this.getborderwidth,
|
97950 |
min: 1,
|
@@ -97952,7 +97947,7 @@ var UAGBcontentTimeline = function (_Component) {
|
|
97952 |
allowReset: true
|
97953 |
}),
|
97954 |
wp.element.createElement(RangeControl, {
|
97955 |
-
label: __("Connector Width"),
|
97956 |
value: separatorwidth,
|
97957 |
onChange: this.getseparatorwidth,
|
97958 |
min: 1,
|
@@ -98183,7 +98178,7 @@ var UAGBcontentTimeline = function (_Component) {
|
|
98183 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBcontentTimeline);
|
98184 |
|
98185 |
/***/ }),
|
98186 |
-
/*
|
98187 |
/*!*************************************************************!*\
|
98188 |
!*** ./src/blocks/timeline/content-timeline-child/block.js ***!
|
98189 |
\*************************************************************/
|
@@ -98194,14 +98189,14 @@ var UAGBcontentTimeline = function (_Component) {
|
|
98194 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
98195 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! .././style.scss */ 119);
|
98196 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);
|
98197 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss__ = __webpack_require__(/*! ./style.scss */
|
98198 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
98199 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */
|
98200 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__attributes__ = __webpack_require__(/*! ./attributes */ 221);
|
98201 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__edit__ = __webpack_require__(/*! ./edit */
|
98202 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */
|
98203 |
-
/**
|
98204 |
-
* BLOCK: Content Timeline Child
|
98205 |
*/
|
98206 |
|
98207 |
|
@@ -98222,7 +98217,7 @@ registerBlockType("uagb/content-timeline-child", {
|
|
98222 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].content_timeline,
|
98223 |
category: uagb_blocks_info.category,
|
98224 |
parent: ["uagb/content-timeline"],
|
98225 |
-
keywords: [__("Content Timeline"), __("Timeline"), __("uag")],
|
98226 |
attributes: __WEBPACK_IMPORTED_MODULE_4__attributes__["a" /* default */],
|
98227 |
edit: __WEBPACK_IMPORTED_MODULE_5__edit__["a" /* default */],
|
98228 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
@@ -98230,7 +98225,7 @@ registerBlockType("uagb/content-timeline-child", {
|
|
98230 |
});
|
98231 |
|
98232 |
/***/ }),
|
98233 |
-
/*
|
98234 |
/*!***************************************************************!*\
|
98235 |
!*** ./src/blocks/timeline/content-timeline-child/style.scss ***!
|
98236 |
\***************************************************************/
|
@@ -98240,7 +98235,7 @@ registerBlockType("uagb/content-timeline-child", {
|
|
98240 |
// removed by extract-text-webpack-plugin
|
98241 |
|
98242 |
/***/ }),
|
98243 |
-
/*
|
98244 |
/*!************************************************************!*\
|
98245 |
!*** ./src/blocks/timeline/content-timeline-child/save.js ***!
|
98246 |
\************************************************************/
|
@@ -98253,8 +98248,8 @@ registerBlockType("uagb/content-timeline-child", {
|
|
98253 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
98254 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
98255 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
98256 |
-
/**
|
98257 |
-
* BLOCK: Content timeline child - Save Block
|
98258 |
*/
|
98259 |
|
98260 |
|
@@ -98363,7 +98358,7 @@ function save(props) {
|
|
98363 |
}
|
98364 |
|
98365 |
/***/ }),
|
98366 |
-
/*
|
98367 |
/*!************************************************************!*\
|
98368 |
!*** ./src/blocks/timeline/content-timeline-child/edit.js ***!
|
98369 |
\************************************************************/
|
@@ -98383,8 +98378,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
98383 |
|
98384 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
98385 |
|
98386 |
-
/**
|
98387 |
-
* BLOCK: Content Timeline child.
|
98388 |
*/
|
98389 |
|
98390 |
|
@@ -98483,9 +98478,9 @@ var UAGBcontentTimelineChild = function (_Component) {
|
|
98483 |
null,
|
98484 |
displayPostDate != true && wp.element.createElement(
|
98485 |
PanelBody,
|
98486 |
-
{ title: __("Timeline Item"), initialOpen: false },
|
98487 |
wp.element.createElement(TextControl, {
|
98488 |
-
label: __("Date"),
|
98489 |
value: t_date,
|
98490 |
onChange: function onChange(value) {
|
98491 |
return setAttributes({ t_date: value });
|
@@ -98501,7 +98496,7 @@ var UAGBcontentTimelineChild = function (_Component) {
|
|
98501 |
if ('custom' != dateFormat) {
|
98502 |
|
98503 |
post_date = dateI18n(dateFormat, t_date);
|
98504 |
-
if (post_date === "Invalid date") {
|
98505 |
post_date = t_date;
|
98506 |
}
|
98507 |
}
|
@@ -98559,7 +98554,7 @@ var UAGBcontentTimelineChild = function (_Component) {
|
|
98559 |
onChange: function onChange(value) {
|
98560 |
return setAttributes({ time_heading: value });
|
98561 |
},
|
98562 |
-
placeholder: __("Write a Heading"),
|
98563 |
className: "uagb-timeline__heading",
|
98564 |
onMerge: mergeBlocks,
|
98565 |
unstableOnSplit: insertBlocksAfter ? function (before, after) {
|
@@ -98581,7 +98576,7 @@ var UAGBcontentTimelineChild = function (_Component) {
|
|
98581 |
onChange: function onChange(value) {
|
98582 |
return setAttributes({ time_desc: value });
|
98583 |
},
|
98584 |
-
placeholder: __("Write a Description"),
|
98585 |
className: "uagb-timeline-desc-content",
|
98586 |
onMerge: mergeBlocks,
|
98587 |
unstableOnSplit: this.splitBlock,
|
@@ -98615,7 +98610,7 @@ var UAGBcontentTimelineChild = function (_Component) {
|
|
98615 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBcontentTimelineChild);
|
98616 |
|
98617 |
/***/ }),
|
98618 |
-
/*
|
98619 |
/*!******************************************************************!*\
|
98620 |
!*** ./src/blocks/timeline/content-timeline-child/deprecated.js ***!
|
98621 |
\******************************************************************/
|
@@ -98742,7 +98737,7 @@ var deprecated = [{
|
|
98742 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
98743 |
|
98744 |
/***/ }),
|
98745 |
-
/*
|
98746 |
/*!****************************************************!*\
|
98747 |
!*** ./src/blocks/timeline/post-timeline/block.js ***!
|
98748 |
\****************************************************/
|
@@ -98754,11 +98749,11 @@ var deprecated = [{
|
|
98754 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
98755 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! .././style.scss */ 119);
|
98756 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);
|
98757 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! .././editor.scss */
|
98758 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
98759 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__edit__ = __webpack_require__(/*! ./edit */
|
98760 |
-
/**
|
98761 |
-
* BLOCK: Post Timeline Js.
|
98762 |
*/
|
98763 |
|
98764 |
|
@@ -98781,7 +98776,7 @@ registerBlockType("uagb/post-timeline", {
|
|
98781 |
description: uagb_blocks_info.blocks["uagb/post-timeline"]["description"],
|
98782 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].post_timeline,
|
98783 |
category: uagb_blocks_info.category,
|
98784 |
-
keywords: [__("post"), __("timeline"), __("uag")],
|
98785 |
getEditWrapperProps: function getEditWrapperProps(attributes) {
|
98786 |
var align = attributes.align;
|
98787 |
},
|
@@ -98795,7 +98790,7 @@ registerBlockType("uagb/post-timeline", {
|
|
98795 |
});
|
98796 |
|
98797 |
/***/ }),
|
98798 |
-
/*
|
98799 |
/*!*****************************************!*\
|
98800 |
!*** ./src/blocks/timeline/editor.scss ***!
|
98801 |
\*****************************************/
|
@@ -98805,7 +98800,7 @@ registerBlockType("uagb/post-timeline", {
|
|
98805 |
// removed by extract-text-webpack-plugin
|
98806 |
|
98807 |
/***/ }),
|
98808 |
-
/*
|
98809 |
/*!***************************************************!*\
|
98810 |
!*** ./src/blocks/timeline/post-timeline/edit.js ***!
|
98811 |
\***************************************************/
|
@@ -98814,9 +98809,9 @@ registerBlockType("uagb/post-timeline", {
|
|
98814 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
98815 |
|
98816 |
"use strict";
|
98817 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isUndefined__ = __webpack_require__(/*! lodash/isUndefined */
|
98818 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isUndefined___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_isUndefined__);
|
98819 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_pickBy__ = __webpack_require__(/*! lodash/pickBy */
|
98820 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_pickBy___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_pickBy__);
|
98821 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
98822 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
|
@@ -98831,13 +98826,13 @@ registerBlockType("uagb/post-timeline", {
|
|
98831 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__classes__ = __webpack_require__(/*! .././classes */ 66);
|
98832 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__align_classes__ = __webpack_require__(/*! .././align-classes */ 218);
|
98833 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__day_align_classes__ = __webpack_require__(/*! .././day-align-classes */ 219);
|
98834 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__components_Title__ = __webpack_require__(/*! ./components/Title */
|
98835 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__components_FeaturedImage__ = __webpack_require__(/*! ./components/FeaturedImage */
|
98836 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__components_Excerpt__ = __webpack_require__(/*! ./components/Excerpt */
|
98837 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__components_CtaLink__ = __webpack_require__(/*! ./components/CtaLink */
|
98838 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__components_Author__ = __webpack_require__(/*! ./components/Author */
|
98839 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__components_PostDate__ = __webpack_require__(/*! ./components/PostDate */
|
98840 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__components_Icon__ = __webpack_require__(/*! ./components/Icon */
|
98841 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__components_typography__ = __webpack_require__(/*! ../../../components/typography */ 7);
|
98842 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__components_typography_fontloader__ = __webpack_require__(/*! ../../../components/typography/fontloader */ 8);
|
98843 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
@@ -98852,8 +98847,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
98852 |
|
98853 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
98854 |
|
98855 |
-
/**
|
98856 |
-
* External dependencies
|
98857 |
*/
|
98858 |
|
98859 |
|
@@ -99082,7 +99077,7 @@ var UAGBTimeline = function (_Component) {
|
|
99082 |
|
99083 |
var taxonomyListOptions = [];
|
99084 |
|
99085 |
-
var categoryListOptions = [{ value: "", label: __("All") }];
|
99086 |
|
99087 |
if ("" != taxonomyList) {
|
99088 |
Object.keys(taxonomyList).map(function (item, thisIndex) {
|
@@ -99103,10 +99098,10 @@ var UAGBTimeline = function (_Component) {
|
|
99103 |
onChange: this.getTimelineicon,
|
99104 |
isMulti: false,
|
99105 |
renderFunc: __WEBPACK_IMPORTED_MODULE_6__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
99106 |
-
noSelectedPlaceholder: __("Select Icon")
|
99107 |
};
|
99108 |
|
99109 |
-
var sizeTypes = [{ key: "px", name: __("px") }, { key: "em", name: __("em") }];
|
99110 |
|
99111 |
var loadHeadGoogleFonts = void 0;
|
99112 |
var loadSubHeadGoogleFonts = void 0;
|
@@ -99170,79 +99165,79 @@ var UAGBTimeline = function (_Component) {
|
|
99170 |
}
|
99171 |
|
99172 |
var iconColorSettings = wp.element.createElement(PanelColorSettings, {
|
99173 |
-
title: __("Color Settings"),
|
99174 |
initialOpen: true,
|
99175 |
colorSettings: [{
|
99176 |
value: separatorColor,
|
99177 |
onChange: function onChange(colorValue) {
|
99178 |
return setAttributes({ separatorColor: colorValue });
|
99179 |
},
|
99180 |
-
label: __("Line Color")
|
99181 |
}, {
|
99182 |
value: iconColor,
|
99183 |
onChange: function onChange(colorValue) {
|
99184 |
return setAttributes({ iconColor: colorValue });
|
99185 |
},
|
99186 |
-
label: __("Icon Color")
|
99187 |
}, {
|
99188 |
value: separatorBg,
|
99189 |
onChange: function onChange(colorValue) {
|
99190 |
return setAttributes({ separatorBg: colorValue });
|
99191 |
},
|
99192 |
-
label: __("Background Color")
|
99193 |
}, {
|
99194 |
value: separatorBorder,
|
99195 |
onChange: function onChange(colorValue) {
|
99196 |
return setAttributes({ separatorBorder: colorValue });
|
99197 |
},
|
99198 |
-
label: __("Border Color")
|
99199 |
}]
|
99200 |
});
|
99201 |
|
99202 |
var iconFocusSettings = wp.element.createElement(PanelColorSettings, {
|
99203 |
-
title: __("Color Settings"),
|
99204 |
initialOpen: true,
|
99205 |
colorSettings: [{
|
99206 |
value: separatorFillColor,
|
99207 |
onChange: function onChange(colorValue) {
|
99208 |
return setAttributes({ separatorFillColor: colorValue });
|
99209 |
},
|
99210 |
-
label: __("Line Color")
|
99211 |
}, {
|
99212 |
value: iconFocus,
|
99213 |
onChange: function onChange(colorValue) {
|
99214 |
return setAttributes({ iconFocus: colorValue });
|
99215 |
},
|
99216 |
-
label: __("Icon Color")
|
99217 |
}, {
|
99218 |
value: iconBgFocus,
|
99219 |
onChange: function onChange(colorValue) {
|
99220 |
return setAttributes({ iconBgFocus: colorValue });
|
99221 |
},
|
99222 |
-
label: __("Background Color")
|
99223 |
}, {
|
99224 |
value: borderFocus,
|
99225 |
onChange: function onChange(colorValue) {
|
99226 |
return setAttributes({ borderFocus: colorValue });
|
99227 |
},
|
99228 |
-
label: __("Border Color")
|
99229 |
}]
|
99230 |
});
|
99231 |
|
99232 |
var iconControls = wp.element.createElement(
|
99233 |
PanelBody,
|
99234 |
-
{ title: __("Connector Color Settings"), initialOpen: true },
|
99235 |
wp.element.createElement(
|
99236 |
TabPanel,
|
99237 |
{ className: "uagb-inspect-tabs uagb-inspect-tabs-col-2",
|
99238 |
activeClass: "active-tab",
|
99239 |
tabs: [{
|
99240 |
name: "normal",
|
99241 |
-
title: __("Normal"),
|
99242 |
className: "uagb-normal-tab"
|
99243 |
}, {
|
99244 |
name: "focus",
|
99245 |
-
title: __("Focus"),
|
99246 |
className: "uagb-focus-tab"
|
99247 |
}] },
|
99248 |
function (tabName) {
|
@@ -99263,13 +99258,13 @@ var UAGBTimeline = function (_Component) {
|
|
99263 |
|
99264 |
var colorSetting = wp.element.createElement(
|
99265 |
PanelColorSettings,
|
99266 |
-
{ title: __("Color Settings"), initialOpen: false,
|
99267 |
colorSettings: [{
|
99268 |
value: backgroundColor,
|
99269 |
onChange: function onChange(colorValue) {
|
99270 |
return setAttributes({ backgroundColor: colorValue });
|
99271 |
},
|
99272 |
-
label: __("Background Color")
|
99273 |
}] },
|
99274 |
displayPostDate && wp.element.createElement(
|
99275 |
Fragment,
|
@@ -99277,7 +99272,7 @@ var UAGBTimeline = function (_Component) {
|
|
99277 |
wp.element.createElement(
|
99278 |
"p",
|
99279 |
{ className: "uagb-setting-label" },
|
99280 |
-
__("Date Color"),
|
99281 |
wp.element.createElement(
|
99282 |
"span",
|
99283 |
{ className: "components-base-control__label" },
|
@@ -99298,7 +99293,7 @@ var UAGBTimeline = function (_Component) {
|
|
99298 |
wp.element.createElement(
|
99299 |
"p",
|
99300 |
{ className: "uagb-setting-label" },
|
99301 |
-
__("Heading Color"),
|
99302 |
wp.element.createElement(
|
99303 |
"span",
|
99304 |
{ className: "components-base-control__label" },
|
@@ -99319,7 +99314,7 @@ var UAGBTimeline = function (_Component) {
|
|
99319 |
wp.element.createElement(
|
99320 |
"p",
|
99321 |
{ className: "uagb-setting-label" },
|
99322 |
-
__("Author Color"),
|
99323 |
wp.element.createElement(
|
99324 |
"span",
|
99325 |
{ className: "components-base-control__label" },
|
@@ -99340,7 +99335,7 @@ var UAGBTimeline = function (_Component) {
|
|
99340 |
wp.element.createElement(
|
99341 |
"p",
|
99342 |
{ className: "uagb-setting-label" },
|
99343 |
-
__("Content Color"),
|
99344 |
wp.element.createElement(
|
99345 |
"span",
|
99346 |
{ className: "components-base-control__label" },
|
@@ -99361,7 +99356,7 @@ var UAGBTimeline = function (_Component) {
|
|
99361 |
wp.element.createElement(
|
99362 |
"p",
|
99363 |
{ className: "uagb-setting-label" },
|
99364 |
-
__("CTA Color"),
|
99365 |
wp.element.createElement(
|
99366 |
"span",
|
99367 |
{ className: "components-base-control__label" },
|
@@ -99378,7 +99373,7 @@ var UAGBTimeline = function (_Component) {
|
|
99378 |
wp.element.createElement(
|
99379 |
"p",
|
99380 |
{ className: "uagb-setting-label" },
|
99381 |
-
__("CTA Background Color"),
|
99382 |
wp.element.createElement(
|
99383 |
"span",
|
99384 |
{ className: "components-base-control__label" },
|
@@ -99402,9 +99397,9 @@ var UAGBTimeline = function (_Component) {
|
|
99402 |
null,
|
99403 |
wp.element.createElement(
|
99404 |
PanelBody,
|
99405 |
-
{ title: __("Query"), initialOpen: true },
|
99406 |
wp.element.createElement(SelectControl, {
|
99407 |
-
label: __("Post Type"),
|
99408 |
value: postType,
|
99409 |
onChange: function onChange(value) {
|
99410 |
return _this2.onSelectPostType(value);
|
@@ -99413,7 +99408,7 @@ var UAGBTimeline = function (_Component) {
|
|
99413 |
}),
|
99414 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
99415 |
"" != taxonomyList && wp.element.createElement(SelectControl, {
|
99416 |
-
label: __("Taxonomy"),
|
99417 |
value: taxonomyType,
|
99418 |
onChange: function onChange(value) {
|
99419 |
return _this2.onSelectTaxonomyType(value);
|
@@ -99434,7 +99429,7 @@ var UAGBTimeline = function (_Component) {
|
|
99434 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
99435 |
),
|
99436 |
wp.element.createElement(ToggleControl, {
|
99437 |
-
label: __("Exclude Current Post"),
|
99438 |
checked: excludeCurrentPost,
|
99439 |
onChange: function onChange(value) {
|
99440 |
return setAttributes({ excludeCurrentPost: !excludeCurrentPost });
|
@@ -99447,46 +99442,46 @@ var UAGBTimeline = function (_Component) {
|
|
99447 |
}
|
99448 |
})),
|
99449 |
wp.element.createElement(SelectControl, {
|
99450 |
-
label: __("Order By"),
|
99451 |
value: orderBy,
|
99452 |
onChange: function onChange(value) {
|
99453 |
return setAttributes({ orderBy: value });
|
99454 |
},
|
99455 |
-
options: [{ value: "date", label: __("Date") }, { value: "title", label: __("Title") }, { value: "rand", label: __("Random") }, { value: "menu_order", label: __("Menu Order") }]
|
99456 |
}),
|
99457 |
wp.element.createElement(SelectControl, {
|
99458 |
-
label: __("Order"),
|
99459 |
value: order,
|
99460 |
onChange: function onChange(value) {
|
99461 |
return setAttributes({ order: value });
|
99462 |
},
|
99463 |
-
options: [{ value: "desc", label: __("Descending") }, { value: "asc", label: __("Ascending") }]
|
99464 |
})
|
99465 |
),
|
99466 |
wp.element.createElement(
|
99467 |
PanelBody,
|
99468 |
-
{ title: __("Layout"), initialOpen: false },
|
99469 |
wp.element.createElement(SelectControl, {
|
99470 |
-
label: __("Orientation"),
|
99471 |
value: timelinAlignment,
|
99472 |
onChange: function onChange(value) {
|
99473 |
return setAttributes({ timelinAlignment: value });
|
99474 |
},
|
99475 |
-
options: [{ value: "left", label: __("Left") }, { value: "right", label: __("Right") }, { value: "center", label: __("Center") }]
|
99476 |
}),
|
99477 |
wp.element.createElement(SelectControl, {
|
99478 |
-
label: __("Arrow Alignment"),
|
99479 |
value: arrowlinAlignment,
|
99480 |
onChange: function onChange(value) {
|
99481 |
return setAttributes({ arrowlinAlignment: value });
|
99482 |
},
|
99483 |
-
options: [{ value: "top", label: __("Top") }, { value: "bottom", label: __("Bottom") }, { value: "center", label: __("Center") }]
|
99484 |
}),
|
99485 |
wp.element.createElement(SelectControl, {
|
99486 |
-
label: __("Stack on"),
|
99487 |
value: stack,
|
99488 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
99489 |
-
help: __("Note: Choose on what breakpoint the Post Timeline will stack."),
|
99490 |
onChange: function onChange(value) {
|
99491 |
return setAttributes({ stack: value });
|
99492 |
}
|
@@ -99494,16 +99489,16 @@ var UAGBTimeline = function (_Component) {
|
|
99494 |
),
|
99495 |
wp.element.createElement(
|
99496 |
PanelBody,
|
99497 |
-
{ title: __("Image"), initialOpen: false },
|
99498 |
wp.element.createElement(ToggleControl, {
|
99499 |
-
label: __("Display Featured Image"),
|
99500 |
checked: displayPostImage,
|
99501 |
onChange: function onChange(value) {
|
99502 |
return setAttributes({ displayPostImage: !displayPostImage });
|
99503 |
}
|
99504 |
}),
|
99505 |
displayPostImage && wp.element.createElement(SelectControl, {
|
99506 |
-
label: __("Featured Image Style"),
|
99507 |
options: uagb_blocks_info.image_sizes,
|
99508 |
value: imageSize,
|
99509 |
onChange: function onChange(value) {
|
@@ -99513,23 +99508,23 @@ var UAGBTimeline = function (_Component) {
|
|
99513 |
),
|
99514 |
wp.element.createElement(
|
99515 |
PanelBody,
|
99516 |
-
{ title: __("Content"), initialOpen: false },
|
99517 |
wp.element.createElement(ToggleControl, {
|
99518 |
-
label: __("Display Post Author"),
|
99519 |
checked: displayPostAuthor,
|
99520 |
onChange: function onChange(value) {
|
99521 |
return setAttributes({ displayPostAuthor: !displayPostAuthor });
|
99522 |
}
|
99523 |
}),
|
99524 |
wp.element.createElement(ToggleControl, {
|
99525 |
-
label: __("Display Post Date"),
|
99526 |
checked: displayPostDate,
|
99527 |
onChange: function onChange(value) {
|
99528 |
return setAttributes({ displayPostDate: !displayPostDate });
|
99529 |
}
|
99530 |
}),
|
99531 |
displayPostDate && wp.element.createElement(SelectControl, {
|
99532 |
-
label: __("Date Format"),
|
99533 |
value: dateFormat,
|
99534 |
onChange: function onChange(value) {
|
99535 |
return setAttributes({ dateFormat: value });
|
@@ -99537,14 +99532,14 @@ var UAGBTimeline = function (_Component) {
|
|
99537 |
options: [{ value: 'M j, Y', label: dateI18n('M j, Y', today) }, { value: 'F j, Y', label: dateI18n('F j, Y', today) }, { value: 'm/d/Y', label: dateI18n('m/d/Y', today) }, { value: 'm-d-Y', label: dateI18n('m-d-Y', today) }, { value: 'm.d.Y', label: dateI18n('m.d.Y', today) }, { value: 'd M Y', label: dateI18n('d M Y', today) }, { value: 'd F Y', label: dateI18n('d F Y', today) }, { value: 'd-m-Y', label: dateI18n('d-m-Y', today) }, { value: 'd.m.Y', label: dateI18n('d.m.Y', today) }, { value: 'd/m/Y', label: dateI18n('d/m/Y', today) }, { value: 'Y-m-d', label: dateI18n('Y-m-d', today) }, { value: 'Y.m.d', label: dateI18n('Y.m.d', today) }, { value: 'Y/m/d', label: dateI18n('Y/m/d', today) }, { value: 'M, Y', label: dateI18n('M, Y', today) }, { value: 'M Y', label: dateI18n('M Y', today) }, { value: 'F, Y', label: dateI18n('F, Y', today) }, { value: 'F Y', label: dateI18n('F Y', today) }]
|
99538 |
}),
|
99539 |
wp.element.createElement(ToggleControl, {
|
99540 |
-
label: __("Display Post Excerpt"),
|
99541 |
checked: displayPostExcerpt,
|
99542 |
onChange: function onChange(value) {
|
99543 |
return setAttributes({ displayPostExcerpt: !displayPostExcerpt });
|
99544 |
}
|
99545 |
}),
|
99546 |
displayPostExcerpt && wp.element.createElement(RangeControl, {
|
99547 |
-
label: __("Excerpt Length"),
|
99548 |
value: exerptLength,
|
99549 |
onChange: function onChange(value) {
|
99550 |
return setAttributes({ exerptLength: value });
|
@@ -99554,7 +99549,7 @@ var UAGBTimeline = function (_Component) {
|
|
99554 |
allowReset: true
|
99555 |
}),
|
99556 |
wp.element.createElement(ToggleControl, {
|
99557 |
-
label: __("Display Continue Reading Link"),
|
99558 |
checked: displayPostLink,
|
99559 |
onChange: function onChange(value) {
|
99560 |
return setAttributes({ displayPostLink: !displayPostLink });
|
@@ -99564,7 +99559,7 @@ var UAGBTimeline = function (_Component) {
|
|
99564 |
Fragment,
|
99565 |
null,
|
99566 |
wp.element.createElement(TextControl, {
|
99567 |
-
label: __("CTA Text"),
|
99568 |
value: readMoreText,
|
99569 |
onChange: function onChange(value) {
|
99570 |
return setAttributes({ readMoreText: value });
|
@@ -99572,7 +99567,7 @@ var UAGBTimeline = function (_Component) {
|
|
99572 |
})
|
99573 |
),
|
99574 |
wp.element.createElement(ToggleControl, {
|
99575 |
-
label: __("Open links in New Tab"),
|
99576 |
checked: linkTarget,
|
99577 |
onChange: function onChange(value) {
|
99578 |
return setAttributes({ linkTarget: !linkTarget });
|
@@ -99581,22 +99576,22 @@ var UAGBTimeline = function (_Component) {
|
|
99581 |
),
|
99582 |
wp.element.createElement(
|
99583 |
PanelBody,
|
99584 |
-
{ title: __("Timeline Item"), initialOpen: false },
|
99585 |
wp.element.createElement(
|
99586 |
"h2",
|
99587 |
null,
|
99588 |
-
__("Heading")
|
99589 |
),
|
99590 |
wp.element.createElement(SelectControl, {
|
99591 |
-
label: __("Heading Tag"),
|
99592 |
value: headingTag,
|
99593 |
onChange: function onChange(value) {
|
99594 |
return setAttributes({ headingTag: value });
|
99595 |
},
|
99596 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }, { value: "p", label: __("P") }, { value: "span", label: __("SPAN") }]
|
99597 |
}),
|
99598 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99599 |
-
label: __("Typography"),
|
99600 |
attributes: this.props.attributes,
|
99601 |
setAttributes: setAttributes,
|
99602 |
loadGoogleFonts: { value: headLoadGoogleFonts, label: "headLoadGoogleFonts" },
|
@@ -99619,10 +99614,10 @@ var UAGBTimeline = function (_Component) {
|
|
99619 |
wp.element.createElement(
|
99620 |
"h2",
|
99621 |
null,
|
99622 |
-
__("Content")
|
99623 |
),
|
99624 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99625 |
-
label: __("Typography"),
|
99626 |
attributes: this.props.attributes,
|
99627 |
setAttributes: setAttributes,
|
99628 |
loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: "subHeadLoadGoogleFonts" },
|
@@ -99646,10 +99641,10 @@ var UAGBTimeline = function (_Component) {
|
|
99646 |
wp.element.createElement(
|
99647 |
"h2",
|
99648 |
null,
|
99649 |
-
__("Date")
|
99650 |
),
|
99651 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99652 |
-
label: __("Typography"),
|
99653 |
attributes: this.props.attributes,
|
99654 |
setAttributes: setAttributes,
|
99655 |
loadGoogleFonts: { value: dateLoadGoogleFonts, label: "dateLoadGoogleFonts" },
|
@@ -99673,10 +99668,10 @@ var UAGBTimeline = function (_Component) {
|
|
99673 |
wp.element.createElement(
|
99674 |
"h2",
|
99675 |
null,
|
99676 |
-
__("Author")
|
99677 |
),
|
99678 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99679 |
-
label: __("Typography"),
|
99680 |
attributes: attributes,
|
99681 |
setAttributes: setAttributes,
|
99682 |
loadGoogleFonts: { value: authorLoadGoogleFonts, label: "authorLoadGoogleFonts" },
|
@@ -99700,10 +99695,10 @@ var UAGBTimeline = function (_Component) {
|
|
99700 |
wp.element.createElement(
|
99701 |
"h2",
|
99702 |
null,
|
99703 |
-
__("CTA")
|
99704 |
),
|
99705 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99706 |
-
label: __("Typography"),
|
99707 |
attributes: attributes,
|
99708 |
setAttributes: setAttributes,
|
99709 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: "ctaLoadGoogleFonts" },
|
@@ -99722,7 +99717,7 @@ var UAGBTimeline = function (_Component) {
|
|
99722 |
),
|
99723 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
99724 |
wp.element.createElement(RangeControl, {
|
99725 |
-
label: __("Rounded Corners"),
|
99726 |
value: borderRadius,
|
99727 |
onChange: function onChange(value) {
|
99728 |
return setAttributes({ borderRadius: value });
|
@@ -99735,10 +99730,10 @@ var UAGBTimeline = function (_Component) {
|
|
99735 |
),
|
99736 |
wp.element.createElement(
|
99737 |
PanelBody,
|
99738 |
-
{ title: __("Connector"), initialOpen: false },
|
99739 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
99740 |
wp.element.createElement(RangeControl, {
|
99741 |
-
label: __("Icon Size"),
|
99742 |
value: iconSize,
|
99743 |
onChange: function onChange(value) {
|
99744 |
return setAttributes({ iconSize: value });
|
@@ -99748,7 +99743,7 @@ var UAGBTimeline = function (_Component) {
|
|
99748 |
allowReset: true
|
99749 |
}),
|
99750 |
wp.element.createElement(RangeControl, {
|
99751 |
-
label: __("Icon Background Size"),
|
99752 |
value: connectorBgsize,
|
99753 |
onChange: function onChange(value) {
|
99754 |
return setAttributes({ connectorBgsize: value });
|
@@ -99758,7 +99753,7 @@ var UAGBTimeline = function (_Component) {
|
|
99758 |
allowReset: true
|
99759 |
}),
|
99760 |
wp.element.createElement(RangeControl, {
|
99761 |
-
label: __("Border Width"),
|
99762 |
value: borderwidth,
|
99763 |
onChange: function onChange(value) {
|
99764 |
return setAttributes({ borderwidth: value });
|
@@ -99768,7 +99763,7 @@ var UAGBTimeline = function (_Component) {
|
|
99768 |
allowReset: true
|
99769 |
}),
|
99770 |
wp.element.createElement(RangeControl, {
|
99771 |
-
label: __("Connector Width"),
|
99772 |
value: separatorwidth,
|
99773 |
onChange: function onChange(value) {
|
99774 |
return setAttributes({ separatorwidth: value });
|
@@ -99782,9 +99777,9 @@ var UAGBTimeline = function (_Component) {
|
|
99782 |
colorSetting,
|
99783 |
wp.element.createElement(
|
99784 |
PanelBody,
|
99785 |
-
{ title: __("Spacing"), initialOpen: false },
|
99786 |
wp.element.createElement(RangeControl, {
|
99787 |
-
label: __("Block Padding"),
|
99788 |
value: bgPadding,
|
99789 |
onChange: function onChange(value) {
|
99790 |
return setAttributes({ bgPadding: value });
|
@@ -99795,7 +99790,7 @@ var UAGBTimeline = function (_Component) {
|
|
99795 |
allowReset: true
|
99796 |
}),
|
99797 |
wp.element.createElement(RangeControl, {
|
99798 |
-
label: __("Content Padding"),
|
99799 |
value: contentPadding,
|
99800 |
onChange: function onChange(value) {
|
99801 |
return setAttributes({ contentPadding: value });
|
@@ -99806,7 +99801,7 @@ var UAGBTimeline = function (_Component) {
|
|
99806 |
allowReset: true
|
99807 |
}),
|
99808 |
wp.element.createElement(RangeControl, {
|
99809 |
-
label: __("Horizontal Space"),
|
99810 |
value: horizontalSpace,
|
99811 |
onChange: function onChange(value) {
|
99812 |
return setAttributes({ horizontalSpace: value });
|
@@ -99817,7 +99812,7 @@ var UAGBTimeline = function (_Component) {
|
|
99817 |
allowReset: true
|
99818 |
}),
|
99819 |
wp.element.createElement(RangeControl, {
|
99820 |
-
label: __("Vertical Space"),
|
99821 |
value: verticalSpace,
|
99822 |
onChange: function onChange(value) {
|
99823 |
return setAttributes({ verticalSpace: value });
|
@@ -99828,7 +99823,7 @@ var UAGBTimeline = function (_Component) {
|
|
99828 |
allowReset: true
|
99829 |
}),
|
99830 |
wp.element.createElement(RangeControl, {
|
99831 |
-
label: __("Heading Bottom Spacing"),
|
99832 |
value: headSpace,
|
99833 |
onChange: function onChange(value) {
|
99834 |
return setAttributes({ headSpace: value });
|
@@ -99839,7 +99834,7 @@ var UAGBTimeline = function (_Component) {
|
|
99839 |
allowReset: true
|
99840 |
}),
|
99841 |
displayPostAuthor && wp.element.createElement(RangeControl, {
|
99842 |
-
label: __("Author Bottom Spacing"),
|
99843 |
value: authorSpace,
|
99844 |
onChange: function onChange(value) {
|
99845 |
return setAttributes({ authorSpace: value });
|
@@ -99850,7 +99845,7 @@ var UAGBTimeline = function (_Component) {
|
|
99850 |
allowReset: true
|
99851 |
}),
|
99852 |
displayPostExcerpt && displayPostLink && wp.element.createElement(RangeControl, {
|
99853 |
-
label: __("Content Bottom Spacing"),
|
99854 |
value: contentSpace,
|
99855 |
onChange: function onChange(value) {
|
99856 |
return setAttributes({ contentSpace: value });
|
@@ -99861,7 +99856,7 @@ var UAGBTimeline = function (_Component) {
|
|
99861 |
allowReset: true
|
99862 |
}),
|
99863 |
displayPostDate && timelinAlignment !== "center" && wp.element.createElement(RangeControl, {
|
99864 |
-
label: __("Date Bottom Spacing"),
|
99865 |
value: dateBottomspace,
|
99866 |
onChange: function onChange(value) {
|
99867 |
return setAttributes({ dateBottomspace: value });
|
@@ -100255,7 +100250,7 @@ var UAGBTimeline = function (_Component) {
|
|
100255 |
})(UAGBTimeline));
|
100256 |
|
100257 |
/***/ }),
|
100258 |
-
/*
|
100259 |
/*!********************************************!*\
|
100260 |
!*** ./node_modules/lodash/isUndefined.js ***!
|
100261 |
\********************************************/
|
@@ -100287,7 +100282,7 @@ module.exports = isUndefined;
|
|
100287 |
|
100288 |
|
100289 |
/***/ }),
|
100290 |
-
/*
|
100291 |
/*!***************************************!*\
|
100292 |
!*** ./node_modules/lodash/pickBy.js ***!
|
100293 |
\***************************************/
|
@@ -100296,7 +100291,7 @@ module.exports = isUndefined;
|
|
100296 |
|
100297 |
var arrayMap = __webpack_require__(/*! ./_arrayMap */ 44),
|
100298 |
baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 143),
|
100299 |
-
basePickBy = __webpack_require__(/*! ./_basePickBy */
|
100300 |
getAllKeysIn = __webpack_require__(/*! ./_getAllKeysIn */ 99);
|
100301 |
|
100302 |
/**
|
@@ -100334,7 +100329,7 @@ module.exports = pickBy;
|
|
100334 |
|
100335 |
|
100336 |
/***/ }),
|
100337 |
-
/*
|
100338 |
/*!********************************************!*\
|
100339 |
!*** ./node_modules/lodash/_basePickBy.js ***!
|
100340 |
\********************************************/
|
@@ -100343,7 +100338,7 @@ module.exports = pickBy;
|
|
100343 |
/***/ (function(module, exports, __webpack_require__) {
|
100344 |
|
100345 |
var baseGet = __webpack_require__(/*! ./_baseGet */ 55),
|
100346 |
-
baseSet = __webpack_require__(/*! ./_baseSet */
|
100347 |
castPath = __webpack_require__(/*! ./_castPath */ 30);
|
100348 |
|
100349 |
/**
|
@@ -100375,7 +100370,7 @@ module.exports = basePickBy;
|
|
100375 |
|
100376 |
|
100377 |
/***/ }),
|
100378 |
-
/*
|
100379 |
/*!*****************************************!*\
|
100380 |
!*** ./node_modules/lodash/_baseSet.js ***!
|
100381 |
\*****************************************/
|
@@ -100386,7 +100381,7 @@ module.exports = basePickBy;
|
|
100386 |
var assignValue = __webpack_require__(/*! ./_assignValue */ 63),
|
100387 |
castPath = __webpack_require__(/*! ./_castPath */ 30),
|
100388 |
isIndex = __webpack_require__(/*! ./_isIndex */ 50),
|
100389 |
-
isObject = __webpack_require__(/*! ./isObject */
|
100390 |
toKey = __webpack_require__(/*! ./_toKey */ 31);
|
100391 |
|
100392 |
/**
|
@@ -100433,7 +100428,7 @@ module.exports = baseSet;
|
|
100433 |
|
100434 |
|
100435 |
/***/ }),
|
100436 |
-
/*
|
100437 |
/*!***************************************************************!*\
|
100438 |
!*** ./src/blocks/timeline/post-timeline/components/Title.js ***!
|
100439 |
\***************************************************************/
|
@@ -100499,7 +100494,7 @@ var Title = function (_React$Component) {
|
|
100499 |
/* harmony default export */ __webpack_exports__["a"] = (Title);
|
100500 |
|
100501 |
/***/ }),
|
100502 |
-
/*
|
100503 |
/*!***********************************************************************!*\
|
100504 |
!*** ./src/blocks/timeline/post-timeline/components/FeaturedImage.js ***!
|
100505 |
\***********************************************************************/
|
@@ -100568,7 +100563,7 @@ var FeaturedImage = function (_React$Component) {
|
|
100568 |
/* harmony default export */ __webpack_exports__["a"] = (FeaturedImage);
|
100569 |
|
100570 |
/***/ }),
|
100571 |
-
/*
|
100572 |
/*!*****************************************************************!*\
|
100573 |
!*** ./src/blocks/timeline/post-timeline/components/Excerpt.js ***!
|
100574 |
\*****************************************************************/
|
@@ -100627,7 +100622,7 @@ var Excerpt = function (_React$Component) {
|
|
100627 |
/* harmony default export */ __webpack_exports__["a"] = (Excerpt);
|
100628 |
|
100629 |
/***/ }),
|
100630 |
-
/*
|
100631 |
/*!*****************************************************************!*\
|
100632 |
!*** ./src/blocks/timeline/post-timeline/components/CtaLink.js ***!
|
100633 |
\*****************************************************************/
|
@@ -100687,7 +100682,7 @@ var CtaLink = function (_React$Component) {
|
|
100687 |
/* harmony default export */ __webpack_exports__["a"] = (CtaLink);
|
100688 |
|
100689 |
/***/ }),
|
100690 |
-
/*
|
100691 |
/*!****************************************************************!*\
|
100692 |
!*** ./src/blocks/timeline/post-timeline/components/Author.js ***!
|
100693 |
\****************************************************************/
|
@@ -100751,7 +100746,7 @@ var Author = function (_React$Component) {
|
|
100751 |
/* harmony default export */ __webpack_exports__["a"] = (Author);
|
100752 |
|
100753 |
/***/ }),
|
100754 |
-
/*
|
100755 |
/*!******************************************************************!*\
|
100756 |
!*** ./src/blocks/timeline/post-timeline/components/PostDate.js ***!
|
100757 |
\******************************************************************/
|
@@ -100811,7 +100806,7 @@ var PostDate = function (_React$Component) {
|
|
100811 |
/* harmony default export */ __webpack_exports__["a"] = (PostDate);
|
100812 |
|
100813 |
/***/ }),
|
100814 |
-
/*
|
100815 |
/*!**************************************************************!*\
|
100816 |
!*** ./src/blocks/timeline/post-timeline/components/Icon.js ***!
|
100817 |
\**************************************************************/
|
@@ -100865,7 +100860,7 @@ var Icon = function (_React$Component) {
|
|
100865 |
/* harmony default export */ __webpack_exports__["a"] = (Icon);
|
100866 |
|
100867 |
/***/ }),
|
100868 |
-
/*
|
100869 |
/*!********************************************!*\
|
100870 |
!*** ./src/blocks/call-to-action/block.js ***!
|
100871 |
\********************************************/
|
@@ -100874,16 +100869,16 @@ var Icon = function (_React$Component) {
|
|
100874 |
|
100875 |
"use strict";
|
100876 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
100877 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */
|
100878 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__save__ = __webpack_require__(/*! ./save */
|
100879 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes__ = __webpack_require__(/*! ./attributes */ 222);
|
100880 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */
|
100881 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
100882 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
100883 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */
|
100884 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
|
100885 |
-
/**
|
100886 |
-
* BLOCK: Call To Action.
|
100887 |
*/
|
100888 |
|
100889 |
// Import block dependencies and components.
|
@@ -100905,7 +100900,7 @@ registerBlockType("uagb/call-to-action", {
|
|
100905 |
title: uagb_blocks_info.blocks["uagb/call-to-action"]["title"],
|
100906 |
description: uagb_blocks_info.blocks["uagb/call-to-action"]["description"],
|
100907 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].call_to_action,
|
100908 |
-
keywords: [__("cta"), __("call to action"), __("uag")],
|
100909 |
supports: {
|
100910 |
anchor: true
|
100911 |
},
|
@@ -100918,7 +100913,7 @@ registerBlockType("uagb/call-to-action", {
|
|
100918 |
});
|
100919 |
|
100920 |
/***/ }),
|
100921 |
-
/*
|
100922 |
/*!*******************************************!*\
|
100923 |
!*** ./src/blocks/call-to-action/edit.js ***!
|
100924 |
\*******************************************/
|
@@ -100938,7 +100933,7 @@ registerBlockType("uagb/call-to-action", {
|
|
100938 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__classes__ = __webpack_require__(/*! ./classes */ 122);
|
100939 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_CTA__ = __webpack_require__(/*! ./components/CTA */ 123);
|
100940 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
100941 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__inline_styles__ = __webpack_require__(/*! ./inline-styles */
|
100942 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
100943 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
|
100944 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
@@ -100952,8 +100947,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
100952 |
|
100953 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
100954 |
|
100955 |
-
/**
|
100956 |
-
* BLOCK: Call To Action
|
100957 |
*/
|
100958 |
|
100959 |
|
@@ -101013,8 +101008,8 @@ var UAGBCallToAction = function (_Component) {
|
|
101013 |
this.props.setAttributes({ ctaIcon: value });
|
101014 |
}
|
101015 |
|
101016 |
-
/**
|
101017 |
-
* Function Name: toggleTarget.
|
101018 |
*/
|
101019 |
|
101020 |
}, {
|
@@ -101145,39 +101140,39 @@ var UAGBCallToAction = function (_Component) {
|
|
101145 |
onChange: this.setCtaIcon,
|
101146 |
isMulti: false,
|
101147 |
renderFunc: __WEBPACK_IMPORTED_MODULE_9__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
101148 |
-
noSelectedPlaceholder: __("Select Icon")
|
101149 |
|
101150 |
// CTA settings.
|
101151 |
};var ctaSettings = wp.element.createElement(
|
101152 |
PanelBody,
|
101153 |
-
{ title: __("Button"), initialOpen: false },
|
101154 |
wp.element.createElement(SelectControl, {
|
101155 |
-
label: __("Type"),
|
101156 |
value: ctaType,
|
101157 |
onChange: function onChange(value) {
|
101158 |
return setAttributes({ ctaType: value });
|
101159 |
},
|
101160 |
-
options: [{ value: "none", label: __("None") }, { value: "text", label: __("Text") }, { value: "button", label: __("Button") }, { value: "all", label: __("Complete Box") }]
|
101161 |
}),
|
101162 |
(ctaType === "text" || ctaType === "button") && wp.element.createElement(
|
101163 |
Fragment,
|
101164 |
null,
|
101165 |
wp.element.createElement(TextControl, {
|
101166 |
-
label: __("Text"),
|
101167 |
value: ctaText,
|
101168 |
onChange: function onChange(value) {
|
101169 |
return setAttributes({ ctaText: value });
|
101170 |
}
|
101171 |
}),
|
101172 |
ctaType === "button" && wp.element.createElement(ToggleControl, {
|
101173 |
-
label: __("Inherit from Theme"),
|
101174 |
checked: inheritFromTheme,
|
101175 |
onChange: function onChange(value) {
|
101176 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
101177 |
}
|
101178 |
}),
|
101179 |
!inheritFromTheme && ctaType === "button" || ctaType === "text" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
101180 |
-
label: __("Typography"),
|
101181 |
attributes: attributes,
|
101182 |
setAttributes: setAttributes,
|
101183 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: 'ctaLoadGoogleFonts' },
|
@@ -101195,14 +101190,14 @@ var UAGBCallToAction = function (_Component) {
|
|
101195 |
Fragment,
|
101196 |
null,
|
101197 |
wp.element.createElement(TextControl, {
|
101198 |
-
label: __("Link"),
|
101199 |
value: ctaLink,
|
101200 |
onChange: function onChange(value) {
|
101201 |
return setAttributes({ ctaLink: value });
|
101202 |
}
|
101203 |
}),
|
101204 |
wp.element.createElement(ToggleControl, {
|
101205 |
-
label: __("Open in new Window"),
|
101206 |
checked: ctaTarget,
|
101207 |
onChange: this.toggleTarget
|
101208 |
})
|
@@ -101221,15 +101216,15 @@ var UAGBCallToAction = function (_Component) {
|
|
101221 |
Fragment,
|
101222 |
null,
|
101223 |
wp.element.createElement(SelectControl, {
|
101224 |
-
label: __("Icon Position"),
|
101225 |
value: ctaIconPosition,
|
101226 |
onChange: function onChange(value) {
|
101227 |
return setAttributes({ ctaIconPosition: value });
|
101228 |
},
|
101229 |
-
options: [{ value: "before", label: __("Before Text") }, { value: "after", label: __("After Text") }]
|
101230 |
}),
|
101231 |
wp.element.createElement(RangeControl, {
|
101232 |
-
label: __("Icon Spacing"),
|
101233 |
value: ctaIconSpace,
|
101234 |
onChange: function onChange(value) {
|
101235 |
return setAttributes({ ctaIconSpace: value });
|
@@ -101248,7 +101243,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101248 |
wp.element.createElement(
|
101249 |
"h2",
|
101250 |
null,
|
101251 |
-
__("Button Padding (px)")
|
101252 |
),
|
101253 |
wp.element.createElement(RangeControl, {
|
101254 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -101278,7 +101273,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101278 |
wp.element.createElement(
|
101279 |
"h2",
|
101280 |
null,
|
101281 |
-
__("Button Border")
|
101282 |
),
|
101283 |
wp.element.createElement(SelectControl, {
|
101284 |
label: __("Style"),
|
@@ -101286,13 +101281,13 @@ var UAGBCallToAction = function (_Component) {
|
|
101286 |
onChange: function onChange(value) {
|
101287 |
return setAttributes({ ctaBorderStyle: value });
|
101288 |
},
|
101289 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "double", label: __("Double") }, { value: "dashed", label: __("Dashed") }, { value: "dotted", label: __("Dotted") }]
|
101290 |
}),
|
101291 |
ctaBorderStyle != "none" && wp.element.createElement(
|
101292 |
Fragment,
|
101293 |
null,
|
101294 |
wp.element.createElement(RangeControl, {
|
101295 |
-
label: __("Width"),
|
101296 |
value: ctaBorderWidth,
|
101297 |
onChange: function onChange(value) {
|
101298 |
return setAttributes({ ctaBorderWidth: value });
|
@@ -101303,7 +101298,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101303 |
allowReset: true
|
101304 |
}),
|
101305 |
wp.element.createElement(RangeControl, {
|
101306 |
-
label: __("Rounded Corner"),
|
101307 |
value: ctaBorderRadius,
|
101308 |
onChange: function onChange(value) {
|
101309 |
return setAttributes({ ctaBorderRadius: value });
|
@@ -101321,11 +101316,11 @@ var UAGBCallToAction = function (_Component) {
|
|
101321 |
activeClass: "active-tab",
|
101322 |
tabs: [{
|
101323 |
name: "normal",
|
101324 |
-
title: __("Normal"),
|
101325 |
className: "uagb-normal-tab"
|
101326 |
}, {
|
101327 |
name: "hover",
|
101328 |
-
title: __("Hover"),
|
101329 |
className: "uagb-hover-tab"
|
101330 |
}] },
|
101331 |
function (tabName) {
|
@@ -101348,11 +101343,11 @@ var UAGBCallToAction = function (_Component) {
|
|
101348 |
activeClass: "active-tab",
|
101349 |
tabs: [{
|
101350 |
name: "normal",
|
101351 |
-
title: __("Normal"),
|
101352 |
className: "uagb-normal-tab"
|
101353 |
}, {
|
101354 |
name: "hover",
|
101355 |
-
title: __("Hover"),
|
101356 |
className: "uagb-focus-tab"
|
101357 |
}] },
|
101358 |
function (tabName) {
|
@@ -101377,7 +101372,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101377 |
wp.element.createElement(
|
101378 |
"p",
|
101379 |
{ className: "uagb-setting-label" },
|
101380 |
-
__("Text Color"),
|
101381 |
wp.element.createElement(
|
101382 |
"span",
|
101383 |
{ className: "components-base-control__label" },
|
@@ -101394,7 +101389,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101394 |
wp.element.createElement(
|
101395 |
"p",
|
101396 |
{ className: "uagb-setting-label" },
|
101397 |
-
__("Background Color"),
|
101398 |
wp.element.createElement(
|
101399 |
"span",
|
101400 |
{ className: "components-base-control__label" },
|
@@ -101414,7 +101409,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101414 |
wp.element.createElement(
|
101415 |
"p",
|
101416 |
{ className: "uagb-setting-label" },
|
101417 |
-
__("Border Color"),
|
101418 |
wp.element.createElement(
|
101419 |
"span",
|
101420 |
{ className: "components-base-control__label" },
|
@@ -101437,7 +101432,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101437 |
wp.element.createElement(
|
101438 |
"p",
|
101439 |
{ className: "uagb-setting-label" },
|
101440 |
-
__("Text Hover Color"),
|
101441 |
wp.element.createElement(
|
101442 |
"span",
|
101443 |
{ className: "components-base-control__label" },
|
@@ -101454,7 +101449,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101454 |
wp.element.createElement(
|
101455 |
"p",
|
101456 |
{ className: "uagb-setting-label" },
|
101457 |
-
__("Background Hover Color"),
|
101458 |
wp.element.createElement(
|
101459 |
"span",
|
101460 |
{ className: "components-base-control__label" },
|
@@ -101474,7 +101469,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101474 |
wp.element.createElement(
|
101475 |
"p",
|
101476 |
{ className: "uagb-setting-label" },
|
101477 |
-
__("Border Hover Color"),
|
101478 |
wp.element.createElement(
|
101479 |
"span",
|
101480 |
{ className: "components-base-control__label" },
|
@@ -101497,7 +101492,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101497 |
wp.element.createElement(
|
101498 |
"p",
|
101499 |
{ className: "uagb-setting-label" },
|
101500 |
-
__("CTA Text Color"),
|
101501 |
wp.element.createElement(
|
101502 |
"span",
|
101503 |
{ className: "components-base-control__label" },
|
@@ -101519,7 +101514,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101519 |
wp.element.createElement(
|
101520 |
"p",
|
101521 |
{ className: "uagb-setting-label" },
|
101522 |
-
__("CTA Text Hover Color"),
|
101523 |
wp.element.createElement(
|
101524 |
"span",
|
101525 |
{ className: "components-base-control__label" },
|
@@ -101538,22 +101533,22 @@ var UAGBCallToAction = function (_Component) {
|
|
101538 |
// Typography settings.
|
101539 |
var TypographySettings = wp.element.createElement(
|
101540 |
PanelBody,
|
101541 |
-
{ title: __("Content"), initialOpen: false },
|
101542 |
wp.element.createElement(
|
101543 |
"h2",
|
101544 |
null,
|
101545 |
-
__("Heading")
|
101546 |
),
|
101547 |
wp.element.createElement(SelectControl, {
|
101548 |
-
label: __("Tag"),
|
101549 |
value: titleTag,
|
101550 |
onChange: function onChange(value) {
|
101551 |
return setAttributes({ titleTag: value });
|
101552 |
},
|
101553 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }]
|
101554 |
}),
|
101555 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
101556 |
-
label: __("Typography"),
|
101557 |
attributes: attributes,
|
101558 |
setAttributes: setAttributes,
|
101559 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: 'titleLoadGoogleFonts' },
|
@@ -101572,7 +101567,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101572 |
wp.element.createElement(
|
101573 |
"p",
|
101574 |
{ className: "uagb-setting-label" },
|
101575 |
-
__("Color"),
|
101576 |
wp.element.createElement(
|
101577 |
"span",
|
101578 |
{ className: "components-base-control__label" },
|
@@ -101590,10 +101585,10 @@ var UAGBCallToAction = function (_Component) {
|
|
101590 |
wp.element.createElement(
|
101591 |
"h2",
|
101592 |
null,
|
101593 |
-
__("Description")
|
101594 |
),
|
101595 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
101596 |
-
label: __("Typography"),
|
101597 |
attributes: attributes,
|
101598 |
setAttributes: setAttributes,
|
101599 |
loadGoogleFonts: { value: descLoadGoogleFonts, label: 'descLoadGoogleFonts' },
|
@@ -101612,7 +101607,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101612 |
wp.element.createElement(
|
101613 |
"p",
|
101614 |
{ className: "uagb-setting-label" },
|
101615 |
-
__("Color"),
|
101616 |
wp.element.createElement(
|
101617 |
"span",
|
101618 |
{ className: "components-base-control__label" },
|
@@ -101631,9 +101626,9 @@ var UAGBCallToAction = function (_Component) {
|
|
101631 |
// Margin Settings.
|
101632 |
var marginSettings = wp.element.createElement(
|
101633 |
PanelBody,
|
101634 |
-
{ title: __("Spacing"), initialOpen: false },
|
101635 |
wp.element.createElement(RangeControl, {
|
101636 |
-
label: __("Heading Bottom Margin"),
|
101637 |
value: titleSpace,
|
101638 |
onChange: function onChange(value) {
|
101639 |
return setAttributes({ titleSpace: value });
|
@@ -101644,7 +101639,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101644 |
allowReset: true
|
101645 |
}),
|
101646 |
wp.element.createElement(RangeControl, {
|
101647 |
-
label: __("Description Bottom Margin"),
|
101648 |
value: descSpace,
|
101649 |
onChange: function onChange(value) {
|
101650 |
return setAttributes({ descSpace: value });
|
@@ -101655,7 +101650,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101655 |
allowReset: true
|
101656 |
}),
|
101657 |
textAlign === "left" && ctaPosition === "right" && wp.element.createElement(RangeControl, {
|
101658 |
-
label: __("Content Left Margin"),
|
101659 |
value: ctaLeftSpace,
|
101660 |
onChange: function onChange(value) {
|
101661 |
return setAttributes({ ctaLeftSpace: value });
|
@@ -101666,7 +101661,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101666 |
allowReset: true
|
101667 |
}),
|
101668 |
textAlign === "right" && ctaPosition === "right" && wp.element.createElement(RangeControl, {
|
101669 |
-
label: __("Content Right Margin"),
|
101670 |
value: ctaRightSpace,
|
101671 |
onChange: function onChange(value) {
|
101672 |
return setAttributes({ ctaRightSpace: value });
|
@@ -101680,20 +101675,20 @@ var UAGBCallToAction = function (_Component) {
|
|
101680 |
|
101681 |
var layouts = wp.element.createElement(
|
101682 |
PanelBody,
|
101683 |
-
{ title: __("Layout"), initialOpen: true },
|
101684 |
wp.element.createElement(SelectControl, {
|
101685 |
-
label: __("Button Position"),
|
101686 |
value: ctaPosition,
|
101687 |
onChange: function onChange(value) {
|
101688 |
return setAttributes({ ctaPosition: value });
|
101689 |
},
|
101690 |
-
options: [{ value: "right", label: __("Normal") }, { value: "below-title", label: __("Stack") }]
|
101691 |
}),
|
101692 |
ctaPosition == "right" && wp.element.createElement(SelectControl, {
|
101693 |
-
label: __("Stack on"),
|
101694 |
value: stack,
|
101695 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
101696 |
-
help: __("Note: Choose on what breakpoint the CTA button will stack."),
|
101697 |
onChange: function onChange(value) {
|
101698 |
return setAttributes({ stack: value });
|
101699 |
}
|
@@ -101702,7 +101697,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101702 |
Fragment,
|
101703 |
null,
|
101704 |
ctaPosition === "right" && wp.element.createElement(RangeControl, {
|
101705 |
-
label: __("Content Width (%)"),
|
101706 |
value: contentWidth,
|
101707 |
onChange: function onChange(value) {
|
101708 |
return setAttributes({ contentWidth: value });
|
@@ -101714,12 +101709,12 @@ var UAGBCallToAction = function (_Component) {
|
|
101714 |
})
|
101715 |
),
|
101716 |
ctaPosition && ctaPosition === "right" && wp.element.createElement(SelectControl, {
|
101717 |
-
label: __("Verticle Alignment"),
|
101718 |
value: buttonAlign,
|
101719 |
onChange: function onChange(value) {
|
101720 |
return setAttributes({ buttonAlign: value });
|
101721 |
},
|
101722 |
-
options: [{ value: "top", label: __("Top") }, { value: "middle", label: __("Middle") }]
|
101723 |
})
|
101724 |
);
|
101725 |
|
@@ -101842,7 +101837,7 @@ var UAGBCallToAction = function (_Component) {
|
|
101842 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBCallToAction);
|
101843 |
|
101844 |
/***/ }),
|
101845 |
-
/*
|
101846 |
/*!****************************************************!*\
|
101847 |
!*** ./src/blocks/call-to-action/inline-styles.js ***!
|
101848 |
\****************************************************/
|
@@ -101853,8 +101848,8 @@ var UAGBCallToAction = function (_Component) {
|
|
101853 |
"use strict";
|
101854 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
101855 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
101856 |
-
/**
|
101857 |
-
* Returns Dynamic Generated CSS
|
101858 |
*/
|
101859 |
|
101860 |
|
@@ -102079,7 +102074,7 @@ function CtaStyle(props) {
|
|
102079 |
/* harmony default export */ __webpack_exports__["a"] = (CtaStyle);
|
102080 |
|
102081 |
/***/ }),
|
102082 |
-
/*
|
102083 |
/*!*******************************************!*\
|
102084 |
!*** ./src/blocks/call-to-action/save.js ***!
|
102085 |
\*******************************************/
|
@@ -102097,8 +102092,8 @@ function CtaStyle(props) {
|
|
102097 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_CTA__ = __webpack_require__(/*! ./components/CTA */ 123);
|
102098 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
102099 |
|
102100 |
-
/**
|
102101 |
-
* BLOCK: Call To Action - Save Block
|
102102 |
*/
|
102103 |
|
102104 |
// Import block dependencies and components.
|
@@ -102208,7 +102203,7 @@ function save(props) {
|
|
102208 |
}
|
102209 |
|
102210 |
/***/ }),
|
102211 |
-
/*
|
102212 |
/*!*************************************************!*\
|
102213 |
!*** ./src/blocks/call-to-action/deprecated.js ***!
|
102214 |
\*************************************************/
|
@@ -102222,13 +102217,13 @@ function save(props) {
|
|
102222 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_Title__ = __webpack_require__(/*! ./components/Title */ 120);
|
102223 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_Description__ = __webpack_require__(/*! ./components/Description */ 121);
|
102224 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__classes__ = __webpack_require__(/*! ./classes */ 122);
|
102225 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_CallToAction__ = __webpack_require__(/*! ./components/CallToAction */
|
102226 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_CTA__ = __webpack_require__(/*! ./components/CTA */ 123);
|
102227 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__attributes__ = __webpack_require__(/*! ./attributes */ 222);
|
102228 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
102229 |
|
102230 |
-
/**
|
102231 |
-
* BLOCK: Call To Action - Deprecated Block
|
102232 |
*/
|
102233 |
|
102234 |
// Import block dependencies and components.
|
@@ -102547,7 +102542,7 @@ var deprecated = [{
|
|
102547 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
102548 |
|
102549 |
/***/ }),
|
102550 |
-
/*
|
102551 |
/*!**************************************************************!*\
|
102552 |
!*** ./src/blocks/call-to-action/components/CallToAction.js ***!
|
102553 |
\**************************************************************/
|
@@ -102641,7 +102636,7 @@ var CallToAction = function (_React$Component) {
|
|
102641 |
/* harmony default export */ __webpack_exports__["a"] = (CallToAction);
|
102642 |
|
102643 |
/***/ }),
|
102644 |
-
/*
|
102645 |
/*!***********************************************!*\
|
102646 |
!*** ./src/blocks/call-to-action/editor.scss ***!
|
102647 |
\***********************************************/
|
@@ -102651,7 +102646,7 @@ var CallToAction = function (_React$Component) {
|
|
102651 |
// removed by extract-text-webpack-plugin
|
102652 |
|
102653 |
/***/ }),
|
102654 |
-
/*
|
102655 |
/*!**********************************************!*\
|
102656 |
!*** ./src/blocks/call-to-action/style.scss ***!
|
102657 |
\**********************************************/
|
@@ -102661,7 +102656,7 @@ var CallToAction = function (_React$Component) {
|
|
102661 |
// removed by extract-text-webpack-plugin
|
102662 |
|
102663 |
/***/ }),
|
102664 |
-
/*
|
102665 |
/*!************************************!*\
|
102666 |
!*** ./src/blocks/column/block.js ***!
|
102667 |
\************************************/
|
@@ -102670,16 +102665,16 @@ var CallToAction = function (_React$Component) {
|
|
102670 |
|
102671 |
"use strict";
|
102672 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
102673 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */
|
102674 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__save__ = __webpack_require__(/*! ./save */
|
102675 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__deprecated__ = __webpack_require__(/*! ./deprecated */
|
102676 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__attributes__ = __webpack_require__(/*! ./attributes */ 223);
|
102677 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */
|
102678 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
102679 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
102680 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
102681 |
-
/**
|
102682 |
-
* BLOCK: Column
|
102683 |
*/
|
102684 |
|
102685 |
|
@@ -102712,7 +102707,7 @@ registerBlockType("uagb/column", {
|
|
102712 |
});
|
102713 |
|
102714 |
/***/ }),
|
102715 |
-
/*
|
102716 |
/*!***********************************!*\
|
102717 |
!*** ./src/blocks/column/edit.js ***!
|
102718 |
\***********************************/
|
@@ -102724,7 +102719,7 @@ registerBlockType("uagb/column", {
|
|
102724 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
102725 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
102726 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
102727 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__styling__ = __webpack_require__(/*! ./styling */
|
102728 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_gradient_settings__ = __webpack_require__(/*! ../../components/gradient-settings */ 101);
|
102729 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
102730 |
|
@@ -102734,8 +102729,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
102734 |
|
102735 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
102736 |
|
102737 |
-
/**
|
102738 |
-
* BLOCK: Column - Edit
|
102739 |
*/
|
102740 |
|
102741 |
|
@@ -102800,8 +102795,8 @@ var UAGBColumnEdit = function (_Component) {
|
|
102800 |
}
|
102801 |
}
|
102802 |
|
102803 |
-
/*
|
102804 |
-
* Event to set Image as null while removing.
|
102805 |
*/
|
102806 |
|
102807 |
}, {
|
@@ -102813,8 +102808,8 @@ var UAGBColumnEdit = function (_Component) {
|
|
102813 |
setAttributes({ backgroundImage: null });
|
102814 |
}
|
102815 |
|
102816 |
-
/*
|
102817 |
-
* Event to set Image as while adding.
|
102818 |
*/
|
102819 |
|
102820 |
}, {
|
@@ -102912,17 +102907,17 @@ var UAGBColumnEdit = function (_Component) {
|
|
102912 |
null,
|
102913 |
wp.element.createElement(
|
102914 |
PanelBody,
|
102915 |
-
{ title: __("Border"), initialOpen: false },
|
102916 |
wp.element.createElement(SelectControl, {
|
102917 |
-
label: __("Border Style"),
|
102918 |
value: borderStyle,
|
102919 |
onChange: function onChange(value) {
|
102920 |
return setAttributes({ borderStyle: value });
|
102921 |
},
|
102922 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
102923 |
}),
|
102924 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
102925 |
-
label: __("Border Width"),
|
102926 |
value: borderWidth,
|
102927 |
onChange: function onChange(value) {
|
102928 |
return setAttributes({ borderWidth: value });
|
@@ -102932,7 +102927,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
102932 |
allowReset: true
|
102933 |
}),
|
102934 |
wp.element.createElement(RangeControl, {
|
102935 |
-
label: __("Border Radius"),
|
102936 |
value: borderRadius,
|
102937 |
onChange: function onChange(value) {
|
102938 |
return setAttributes({ borderRadius: value });
|
@@ -102947,7 +102942,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
102947 |
wp.element.createElement(
|
102948 |
"p",
|
102949 |
{ className: "uagb-setting-label" },
|
102950 |
-
__("Border Color"),
|
102951 |
wp.element.createElement(
|
102952 |
"span",
|
102953 |
{ className: "components-base-control__label" },
|
@@ -102970,7 +102965,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
102970 |
null,
|
102971 |
wp.element.createElement(
|
102972 |
PanelBody,
|
102973 |
-
{ title: __("Layout") },
|
102974 |
wp.element.createElement(
|
102975 |
TabPanel,
|
102976 |
{ className: "uagb-size-type-field-tabs uagb-without-size-type", activeClass: "active-tab",
|
@@ -102992,7 +102987,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
102992 |
|
102993 |
if ("mobile" === tab.name) {
|
102994 |
tabout = wp.element.createElement(RangeControl, {
|
102995 |
-
label: __("Content Width (%)"),
|
102996 |
value: colWidthMobile,
|
102997 |
onChange: function onChange(value) {
|
102998 |
setAttributes({
|
@@ -103004,7 +102999,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103004 |
});
|
103005 |
} else if ("tablet" === tab.name) {
|
103006 |
tabout = wp.element.createElement(RangeControl, {
|
103007 |
-
label: __("Content Width (%)"),
|
103008 |
value: colWidthTablet,
|
103009 |
onChange: function onChange(value) {
|
103010 |
setAttributes({
|
@@ -103016,7 +103011,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103016 |
});
|
103017 |
} else {
|
103018 |
tabout = wp.element.createElement(RangeControl, {
|
103019 |
-
label: __("Content Width (%)"),
|
103020 |
value: colWidth,
|
103021 |
onChange: function onChange(value) {
|
103022 |
setAttributes({
|
@@ -103038,7 +103033,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103038 |
),
|
103039 |
wp.element.createElement(
|
103040 |
PanelBody,
|
103041 |
-
{ title: __("Spacing"), initialOpen: false },
|
103042 |
wp.element.createElement(
|
103043 |
TabPanel,
|
103044 |
{ className: "uagb-size-type-field-tabs uagb-size-type-field__common-tabs uagb-inline-margin", activeClass: "active-tab",
|
@@ -103083,7 +103078,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103083 |
wp.element.createElement(
|
103084 |
"h2",
|
103085 |
null,
|
103086 |
-
__("Padding Mobile")
|
103087 |
),
|
103088 |
wp.element.createElement(RangeControl, {
|
103089 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -103136,7 +103131,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103136 |
null,
|
103137 |
wp.element.createElement(
|
103138 |
ButtonGroup,
|
103139 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
103140 |
wp.element.createElement(
|
103141 |
Button,
|
103142 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletPaddingType === "px", "aria-pressed": tabletPaddingType === "px", onClick: function onClick() {
|
@@ -103155,7 +103150,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103155 |
wp.element.createElement(
|
103156 |
"h2",
|
103157 |
null,
|
103158 |
-
__("Padding Tablet")
|
103159 |
),
|
103160 |
wp.element.createElement(RangeControl, {
|
103161 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -103208,7 +103203,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103208 |
null,
|
103209 |
wp.element.createElement(
|
103210 |
ButtonGroup,
|
103211 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
103212 |
wp.element.createElement(
|
103213 |
Button,
|
103214 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: desktopPaddingType === "px", "aria-pressed": desktopPaddingType === "px", onClick: function onClick() {
|
@@ -103227,7 +103222,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103227 |
wp.element.createElement(
|
103228 |
"h2",
|
103229 |
null,
|
103230 |
-
__("Padding")
|
103231 |
),
|
103232 |
wp.element.createElement(RangeControl, {
|
103233 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -103309,7 +103304,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103309 |
null,
|
103310 |
wp.element.createElement(
|
103311 |
ButtonGroup,
|
103312 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
103313 |
wp.element.createElement(
|
103314 |
Button,
|
103315 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobileMarginType === "px", "aria-pressed": mobileMarginType === "px", onClick: function onClick() {
|
@@ -103328,7 +103323,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103328 |
wp.element.createElement(
|
103329 |
"h2",
|
103330 |
null,
|
103331 |
-
__("Margin Mobile")
|
103332 |
),
|
103333 |
wp.element.createElement(RangeControl, {
|
103334 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -103400,7 +103395,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103400 |
wp.element.createElement(
|
103401 |
"h2",
|
103402 |
null,
|
103403 |
-
__("Margin Tablet")
|
103404 |
),
|
103405 |
wp.element.createElement(RangeControl, {
|
103406 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -103472,7 +103467,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103472 |
wp.element.createElement(
|
103473 |
"h2",
|
103474 |
null,
|
103475 |
-
__("Margin")
|
103476 |
),
|
103477 |
wp.element.createElement(RangeControl, {
|
103478 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -103531,14 +103526,14 @@ var UAGBColumnEdit = function (_Component) {
|
|
103531 |
),
|
103532 |
wp.element.createElement(
|
103533 |
PanelBody,
|
103534 |
-
{ title: __("Background"), initialOpen: false },
|
103535 |
wp.element.createElement(SelectControl, {
|
103536 |
-
label: __("Background Type"),
|
103537 |
value: backgroundType,
|
103538 |
onChange: function onChange(value) {
|
103539 |
return setAttributes({ backgroundType: value });
|
103540 |
},
|
103541 |
-
options: [{ value: "none", label: __("None") }, { value: "color", label: __("Color") }, { value: "gradient", label: __("Gradient") }, { value: "image", label: __("Image") }]
|
103542 |
}),
|
103543 |
"color" == backgroundType && wp.element.createElement(
|
103544 |
Fragment,
|
@@ -103546,7 +103541,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103546 |
wp.element.createElement(
|
103547 |
"p",
|
103548 |
{ className: "uagb-setting-label" },
|
103549 |
-
__("Background Color"),
|
103550 |
wp.element.createElement(
|
103551 |
"span",
|
103552 |
{ className: "components-base-control__label" },
|
@@ -103568,9 +103563,9 @@ var UAGBColumnEdit = function (_Component) {
|
|
103568 |
BaseControl,
|
103569 |
{
|
103570 |
className: "editor-bg-image-control",
|
103571 |
-
label: __("Background Image") },
|
103572 |
wp.element.createElement(MediaUpload, {
|
103573 |
-
title: __("Select Background Image"),
|
103574 |
onSelect: this.onSelectImage,
|
103575 |
allowedTypes: ["image"],
|
103576 |
value: backgroundImage,
|
@@ -103579,58 +103574,58 @@ var UAGBColumnEdit = function (_Component) {
|
|
103579 |
return wp.element.createElement(
|
103580 |
Button,
|
103581 |
{ isDefault: true, onClick: open },
|
103582 |
-
!backgroundImage ? __("Select Background Image") : __("Replace image")
|
103583 |
);
|
103584 |
}
|
103585 |
}),
|
103586 |
backgroundImage && wp.element.createElement(
|
103587 |
Button,
|
103588 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
103589 |
-
__("Remove Image")
|
103590 |
)
|
103591 |
),
|
103592 |
backgroundImage && wp.element.createElement(
|
103593 |
Fragment,
|
103594 |
null,
|
103595 |
wp.element.createElement(SelectControl, {
|
103596 |
-
label: __("Image Position"),
|
103597 |
value: backgroundPosition,
|
103598 |
onChange: function onChange(value) {
|
103599 |
return setAttributes({ backgroundPosition: value });
|
103600 |
},
|
103601 |
-
options: [{ value: "top-left", label: __("Top Left") }, { value: "top-center", label: __("Top Center") }, { value: "top-right", label: __("Top Right") }, { value: "center-left", label: __("Center Left") }, { value: "center-center", label: __("Center Center") }, { value: "center-right", label: __("Center Right") }, { value: "bottom-left", label: __("Bottom Left") }, { value: "bottom-center", label: __("Bottom Center") }, { value: "bottom-right", label: __("Bottom Right") }]
|
103602 |
}),
|
103603 |
wp.element.createElement(SelectControl, {
|
103604 |
-
label: __("Attachment"),
|
103605 |
value: backgroundAttachment,
|
103606 |
onChange: function onChange(value) {
|
103607 |
return setAttributes({ backgroundAttachment: value });
|
103608 |
},
|
103609 |
-
options: [{ value: "fixed", label: __("Fixed") }, { value: "scroll", label: __("Scroll") }]
|
103610 |
}),
|
103611 |
wp.element.createElement(SelectControl, {
|
103612 |
-
label: __("Repeat"),
|
103613 |
value: backgroundRepeat,
|
103614 |
onChange: function onChange(value) {
|
103615 |
return setAttributes({ backgroundRepeat: value });
|
103616 |
},
|
103617 |
-
options: [{ value: "no-repeat", label: __("No Repeat") }, { value: "repeat", label: __("Repeat") }, { value: "repeat-x", label: __("Repeat-x") }, { value: "repeat-y", label: __("Repeat-y") }]
|
103618 |
}),
|
103619 |
wp.element.createElement(SelectControl, {
|
103620 |
-
label: __("Size"),
|
103621 |
value: backgroundSize,
|
103622 |
onChange: function onChange(value) {
|
103623 |
return setAttributes({ backgroundSize: value });
|
103624 |
},
|
103625 |
-
options: [{ value: "auto", label: __("Auto") }, { value: "cover", label: __("Cover") }, { value: "contain", label: __("Contain") }]
|
103626 |
}),
|
103627 |
wp.element.createElement(SelectControl, {
|
103628 |
-
label: __("Image Overlay Type"),
|
103629 |
value: overlayType,
|
103630 |
onChange: function onChange(value) {
|
103631 |
return setAttributes({ overlayType: value });
|
103632 |
},
|
103633 |
-
options: [{ value: "color", label: __("Color") }, { value: "gradient", label: __("Gradient") }]
|
103634 |
}),
|
103635 |
"color" == overlayType && wp.element.createElement(
|
103636 |
Fragment,
|
@@ -103638,7 +103633,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103638 |
wp.element.createElement(
|
103639 |
"p",
|
103640 |
{ className: "uagb-setting-label" },
|
103641 |
-
__("Image Overlay Color"),
|
103642 |
wp.element.createElement(
|
103643 |
"span",
|
103644 |
{ className: "components-base-control__label" },
|
@@ -103657,31 +103652,31 @@ var UAGBColumnEdit = function (_Component) {
|
|
103657 |
Fragment,
|
103658 |
null,
|
103659 |
wp.element.createElement(PanelColorSettings, {
|
103660 |
-
title: __("Color Settings"),
|
103661 |
colorSettings: [{
|
103662 |
value: gradientOverlayColor2,
|
103663 |
onChange: function onChange(value) {
|
103664 |
return setAttributes({ gradientOverlayColor2: value });
|
103665 |
},
|
103666 |
-
label: __("Color 1")
|
103667 |
}, {
|
103668 |
value: gradientOverlayColor1,
|
103669 |
onChange: function onChange(value) {
|
103670 |
return setAttributes({ gradientOverlayColor1: value });
|
103671 |
},
|
103672 |
-
label: __("Color 2")
|
103673 |
}]
|
103674 |
}),
|
103675 |
wp.element.createElement(SelectControl, {
|
103676 |
-
label: __("Type"),
|
103677 |
value: gradientOverlayType,
|
103678 |
onChange: function onChange(value) {
|
103679 |
return setAttributes({ gradientOverlayType: value });
|
103680 |
},
|
103681 |
-
options: [{ value: "linear", label: __("Linear") }, { value: "radial", label: __("Radial") }]
|
103682 |
}),
|
103683 |
wp.element.createElement(RangeControl, {
|
103684 |
-
label: __("Location 1"),
|
103685 |
value: gradientOverlayLocation1,
|
103686 |
onChange: function onChange(value) {
|
103687 |
return setAttributes({ gradientOverlayLocation1: value });
|
@@ -103691,7 +103686,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103691 |
allowReset: true
|
103692 |
}),
|
103693 |
wp.element.createElement(RangeControl, {
|
103694 |
-
label: __("Location 2"),
|
103695 |
value: gradientOverlayLocation2,
|
103696 |
onChange: function onChange(value) {
|
103697 |
return setAttributes({ gradientOverlayLocation2: value });
|
@@ -103701,7 +103696,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103701 |
allowReset: true
|
103702 |
}),
|
103703 |
wp.element.createElement(RangeControl, {
|
103704 |
-
label: __("Angle"),
|
103705 |
value: gradientOverlayAngle,
|
103706 |
onChange: function onChange(value) {
|
103707 |
return setAttributes({ gradientOverlayAngle: value });
|
@@ -103769,7 +103764,7 @@ var UAGBColumnEdit = function (_Component) {
|
|
103769 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBColumnEdit);
|
103770 |
|
103771 |
/***/ }),
|
103772 |
-
/*
|
103773 |
/*!**************************************!*\
|
103774 |
!*** ./src/blocks/column/styling.js ***!
|
103775 |
\**************************************/
|
@@ -103778,11 +103773,11 @@ var UAGBColumnEdit = function (_Component) {
|
|
103778 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
103779 |
|
103780 |
"use strict";
|
103781 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__inline_styles__ = __webpack_require__(/*! ./inline-styles */
|
103782 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
103783 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
103784 |
-
/**
|
103785 |
-
* Returns Dynamic Generated CSS
|
103786 |
*/
|
103787 |
|
103788 |
|
@@ -103926,7 +103921,7 @@ function styling(props) {
|
|
103926 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
103927 |
|
103928 |
/***/ }),
|
103929 |
-
/*
|
103930 |
/*!********************************************!*\
|
103931 |
!*** ./src/blocks/column/inline-styles.js ***!
|
103932 |
\********************************************/
|
@@ -103936,8 +103931,8 @@ function styling(props) {
|
|
103936 |
|
103937 |
"use strict";
|
103938 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
103939 |
-
/**
|
103940 |
-
* Returns Dynamic Generated CSS
|
103941 |
*/
|
103942 |
|
103943 |
|
@@ -104012,7 +104007,7 @@ function inlineStyles(props, isEditor) {
|
|
104012 |
/* harmony default export */ __webpack_exports__["a"] = (inlineStyles);
|
104013 |
|
104014 |
/***/ }),
|
104015 |
-
/*
|
104016 |
/*!***********************************!*\
|
104017 |
!*** ./src/blocks/column/save.js ***!
|
104018 |
\***********************************/
|
@@ -104024,8 +104019,8 @@ function inlineStyles(props, isEditor) {
|
|
104024 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
104025 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
104026 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
104027 |
-
/**
|
104028 |
-
* BLOCK: Column - Save Block
|
104029 |
*/
|
104030 |
|
104031 |
|
@@ -104062,7 +104057,7 @@ function save(_ref) {
|
|
104062 |
}
|
104063 |
|
104064 |
/***/ }),
|
104065 |
-
/*
|
104066 |
/*!*****************************************!*\
|
104067 |
!*** ./src/blocks/column/deprecated.js ***!
|
104068 |
\*****************************************/
|
@@ -104074,8 +104069,8 @@ function save(_ref) {
|
|
104074 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
104075 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
104076 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 223);
|
104077 |
-
/**
|
104078 |
-
* BLOCK: Column - Deprecated Block
|
104079 |
*/
|
104080 |
|
104081 |
// Import block dependencies and components.
|
@@ -104123,7 +104118,7 @@ var deprecated = [{
|
|
104123 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
104124 |
|
104125 |
/***/ }),
|
104126 |
-
/*
|
104127 |
/*!**************************************!*\
|
104128 |
!*** ./src/blocks/column/style.scss ***!
|
104129 |
\**************************************/
|
@@ -104133,7 +104128,7 @@ var deprecated = [{
|
|
104133 |
// removed by extract-text-webpack-plugin
|
104134 |
|
104135 |
/***/ }),
|
104136 |
-
/*
|
104137 |
/*!***************************************!*\
|
104138 |
!*** ./src/blocks/column/editor.scss ***!
|
104139 |
\***************************************/
|
@@ -104143,7 +104138,7 @@ var deprecated = [{
|
|
104143 |
// removed by extract-text-webpack-plugin
|
104144 |
|
104145 |
/***/ }),
|
104146 |
-
/*
|
104147 |
/*!*************************************!*\
|
104148 |
!*** ./src/blocks/columns/block.js ***!
|
104149 |
\*************************************/
|
@@ -104155,16 +104150,16 @@ var deprecated = [{
|
|
104155 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
104156 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
104157 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 224);
|
104158 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__edit__ = __webpack_require__(/*! ./edit */
|
104159 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */
|
104160 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__shapes__ = __webpack_require__(/*! ./shapes */ 124);
|
104161 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__variations__ = __webpack_require__(/*! ./variations */
|
104162 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__style_scss__ = __webpack_require__(/*! ./style.scss */
|
104163 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__style_scss__);
|
104164 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
104165 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__editor_scss__);
|
104166 |
-
/**
|
104167 |
-
* BLOCK: Columns
|
104168 |
*/
|
104169 |
|
104170 |
|
@@ -104187,7 +104182,7 @@ registerBlockType("uagb/columns", {
|
|
104187 |
description: uagb_blocks_info.blocks["uagb/columns"]["description"],
|
104188 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].columns,
|
104189 |
category: uagb_blocks_info.category,
|
104190 |
-
keywords: [__("columns"), __("rows"), __("uag")],
|
104191 |
attributes: __WEBPACK_IMPORTED_MODULE_2__attributes__["a" /* default */],
|
104192 |
variations: __WEBPACK_IMPORTED_MODULE_6__variations__["a" /* default */],
|
104193 |
edit: __WEBPACK_IMPORTED_MODULE_3__edit__["a" /* default */],
|
@@ -104273,7 +104268,7 @@ registerBlockType("uagb/columns", {
|
|
104273 |
});
|
104274 |
|
104275 |
/***/ }),
|
104276 |
-
/*
|
104277 |
/*!************************************!*\
|
104278 |
!*** ./src/blocks/columns/edit.js ***!
|
104279 |
\************************************/
|
@@ -104282,17 +104277,17 @@ registerBlockType("uagb/columns", {
|
|
104282 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
104283 |
|
104284 |
"use strict";
|
104285 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_option_selector_control__ = __webpack_require__(/*! ../../components/option-selector-control */
|
104286 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(/*! classnames */ 0);
|
104287 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
104288 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__styling__ = __webpack_require__(/*! ./styling */
|
104289 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_memize__ = __webpack_require__(/*! memize */ 19);
|
104290 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_memize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_memize__);
|
104291 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_times__ = __webpack_require__(/*! lodash/times */
|
104292 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_lodash_times__);
|
104293 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
104294 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash_map__);
|
104295 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_dropRight__ = __webpack_require__(/*! lodash/dropRight */
|
104296 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_dropRight___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_dropRight__);
|
104297 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
104298 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shapes__ = __webpack_require__(/*! ./shapes */ 124);
|
@@ -104309,8 +104304,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
104309 |
|
104310 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
104311 |
|
104312 |
-
/**
|
104313 |
-
* BLOCK: UAGB - Columns Edit Class
|
104314 |
*/
|
104315 |
|
104316 |
|
@@ -104414,8 +104409,8 @@ var UAGBColumns = function (_Component) {
|
|
104414 |
}
|
104415 |
}
|
104416 |
|
104417 |
-
/*
|
104418 |
-
* Event to set Image as null while removing.
|
104419 |
*/
|
104420 |
|
104421 |
}, {
|
@@ -104427,8 +104422,8 @@ var UAGBColumns = function (_Component) {
|
|
104427 |
setAttributes({ backgroundImage: null });
|
104428 |
}
|
104429 |
|
104430 |
-
/*
|
104431 |
-
* Event to set Image as while adding.
|
104432 |
*/
|
104433 |
|
104434 |
}, {
|
@@ -104449,8 +104444,8 @@ var UAGBColumns = function (_Component) {
|
|
104449 |
setAttributes({ backgroundImage: media });
|
104450 |
}
|
104451 |
|
104452 |
-
/*
|
104453 |
-
* Event to set Video as null while removing.
|
104454 |
*/
|
104455 |
|
104456 |
}, {
|
@@ -104462,8 +104457,8 @@ var UAGBColumns = function (_Component) {
|
|
104462 |
setAttributes({ backgroundVideo: null });
|
104463 |
}
|
104464 |
|
104465 |
-
/*
|
104466 |
-
* Event to set Video while adding.
|
104467 |
*/
|
104468 |
|
104469 |
}, {
|
@@ -104611,13 +104606,13 @@ var UAGBColumns = function (_Component) {
|
|
104611 |
|
104612 |
var active = isSelected ? "active" : "not-active";
|
104613 |
|
104614 |
-
var dividers = [{ value: "none", label: __("None") }, { value: "tilt", label: __("Tilt") }, { value: "mountains", label: __("Mountains") }, { value: "wave_brush", label: __("Wave Brush") }, { value: "waves", label: __("Waves") }, { value: "wave_pattern", label: __("Waves Pattern") }, { value: "triangle", label: __("Triangle") }, { value: "drops", label: __("Drops") }, { value: "clouds", label: __("Clouds") }, { value: "zigzag", label: __("ZigZag") }, { value: "pyramids", label: __("Pyramids") }, { value: "triangle_asymmetrical", label: __("Triangle Asymmetrical") }, { value: "tilt_opacity", label: __("Tilt Opacity") }, { value: "fan_opacity", label: __("Fan Opacity") }, { value: "curve", label: __("Curve") }, { value: "curve_asymmetrical", label: __("Curve Asymmetrical") }, { value: "arrow", label: __("Arrow") }, { value: "arrow_split", label: __("Arrow Split") }, { value: "book", label: __("Book") }];
|
104615 |
|
104616 |
var bottomSettings = wp.element.createElement(
|
104617 |
Fragment,
|
104618 |
null,
|
104619 |
wp.element.createElement(SelectControl, {
|
104620 |
-
label: __("Type"),
|
104621 |
value: bottomType,
|
104622 |
onChange: function onChange(value) {
|
104623 |
return setAttributes({ bottomType: value });
|
@@ -104630,7 +104625,7 @@ var UAGBColumns = function (_Component) {
|
|
104630 |
wp.element.createElement(
|
104631 |
"p",
|
104632 |
{ className: "uagb-setting-label" },
|
104633 |
-
__("Color"),
|
104634 |
wp.element.createElement(
|
104635 |
"span",
|
104636 |
{ className: "components-base-control__label" },
|
@@ -104645,7 +104640,7 @@ var UAGBColumns = function (_Component) {
|
|
104645 |
allowReset: true
|
104646 |
}),
|
104647 |
wp.element.createElement(RangeControl, {
|
104648 |
-
label: __("Opacity"),
|
104649 |
value: bottomDividerOpacity,
|
104650 |
onChange: function onChange(value) {
|
104651 |
return setAttributes({ bottomDividerOpacity: value });
|
@@ -104655,7 +104650,7 @@ var UAGBColumns = function (_Component) {
|
|
104655 |
allowReset: true
|
104656 |
}),
|
104657 |
wp.element.createElement(RangeControl, {
|
104658 |
-
label: __("Width"),
|
104659 |
value: bottomWidth,
|
104660 |
onChange: function onChange(value) {
|
104661 |
return setAttributes({ bottomWidth: value });
|
@@ -104685,7 +104680,7 @@ var UAGBColumns = function (_Component) {
|
|
104685 |
|
104686 |
if ("mobile" === tab.name) {
|
104687 |
tabout = wp.element.createElement(RangeControl, {
|
104688 |
-
label: __("Height"),
|
104689 |
value: bottomHeightMobile,
|
104690 |
onChange: function onChange(value) {
|
104691 |
return setAttributes({ bottomHeightMobile: value });
|
@@ -104696,7 +104691,7 @@ var UAGBColumns = function (_Component) {
|
|
104696 |
});
|
104697 |
} else if ("tablet" === tab.name) {
|
104698 |
tabout = wp.element.createElement(RangeControl, {
|
104699 |
-
label: __("Height"),
|
104700 |
value: bottomHeightTablet,
|
104701 |
onChange: function onChange(value) {
|
104702 |
return setAttributes({ bottomHeightTablet: value });
|
@@ -104707,7 +104702,7 @@ var UAGBColumns = function (_Component) {
|
|
104707 |
});
|
104708 |
} else {
|
104709 |
tabout = wp.element.createElement(RangeControl, {
|
104710 |
-
label: __("Height"),
|
104711 |
value: bottomHeight,
|
104712 |
onChange: function onChange(value) {
|
104713 |
return setAttributes({ bottomHeight: value });
|
@@ -104726,14 +104721,14 @@ var UAGBColumns = function (_Component) {
|
|
104726 |
}
|
104727 |
),
|
104728 |
wp.element.createElement(ToggleControl, {
|
104729 |
-
label: __("Flip"),
|
104730 |
checked: bottomFlip,
|
104731 |
onChange: function onChange(value) {
|
104732 |
return setAttributes({ bottomFlip: !bottomFlip });
|
104733 |
}
|
104734 |
}),
|
104735 |
wp.element.createElement(ToggleControl, {
|
104736 |
-
label: __("Bring To Front"),
|
104737 |
checked: bottomContentAboveShape,
|
104738 |
onChange: function onChange(value) {
|
104739 |
return setAttributes({ bottomContentAboveShape: !bottomContentAboveShape });
|
@@ -104746,7 +104741,7 @@ var UAGBColumns = function (_Component) {
|
|
104746 |
Fragment,
|
104747 |
null,
|
104748 |
wp.element.createElement(SelectControl, {
|
104749 |
-
label: __("Type"),
|
104750 |
value: topType,
|
104751 |
onChange: function onChange(value) {
|
104752 |
return setAttributes({ topType: value });
|
@@ -104759,7 +104754,7 @@ var UAGBColumns = function (_Component) {
|
|
104759 |
wp.element.createElement(
|
104760 |
"p",
|
104761 |
{ className: "uagb-setting-label" },
|
104762 |
-
__("Color"),
|
104763 |
wp.element.createElement(
|
104764 |
"span",
|
104765 |
{ className: "components-base-control__label" },
|
@@ -104774,7 +104769,7 @@ var UAGBColumns = function (_Component) {
|
|
104774 |
allowReset: true
|
104775 |
}),
|
104776 |
wp.element.createElement(RangeControl, {
|
104777 |
-
label: __("Opacity"),
|
104778 |
value: topDividerOpacity,
|
104779 |
onChange: function onChange(value) {
|
104780 |
return setAttributes({ topDividerOpacity: value });
|
@@ -104784,7 +104779,7 @@ var UAGBColumns = function (_Component) {
|
|
104784 |
allowReset: true
|
104785 |
}),
|
104786 |
wp.element.createElement(RangeControl, {
|
104787 |
-
label: __("Width"),
|
104788 |
value: topWidth,
|
104789 |
onChange: function onChange(value) {
|
104790 |
return setAttributes({ topWidth: value });
|
@@ -104814,7 +104809,7 @@ var UAGBColumns = function (_Component) {
|
|
104814 |
|
104815 |
if ("mobile" === tab.name) {
|
104816 |
tabout = wp.element.createElement(RangeControl, {
|
104817 |
-
label: __("Height"),
|
104818 |
value: topHeightMobile,
|
104819 |
onChange: function onChange(value) {
|
104820 |
return setAttributes({ topHeightMobile: value });
|
@@ -104825,7 +104820,7 @@ var UAGBColumns = function (_Component) {
|
|
104825 |
});
|
104826 |
} else if ("tablet" === tab.name) {
|
104827 |
tabout = wp.element.createElement(RangeControl, {
|
104828 |
-
label: __("Height"),
|
104829 |
value: topHeightTablet,
|
104830 |
onChange: function onChange(value) {
|
104831 |
return setAttributes({ topHeightTablet: value });
|
@@ -104836,7 +104831,7 @@ var UAGBColumns = function (_Component) {
|
|
104836 |
});
|
104837 |
} else {
|
104838 |
tabout = wp.element.createElement(RangeControl, {
|
104839 |
-
label: __("Height"),
|
104840 |
value: topHeight,
|
104841 |
onChange: function onChange(value) {
|
104842 |
return setAttributes({ topHeight: value });
|
@@ -104855,14 +104850,14 @@ var UAGBColumns = function (_Component) {
|
|
104855 |
}
|
104856 |
),
|
104857 |
wp.element.createElement(ToggleControl, {
|
104858 |
-
label: __("Flip"),
|
104859 |
checked: topFlip,
|
104860 |
onChange: function onChange(value) {
|
104861 |
return setAttributes({ topFlip: !topFlip });
|
104862 |
}
|
104863 |
}),
|
104864 |
wp.element.createElement(ToggleControl, {
|
104865 |
-
label: __("Bring To Front"),
|
104866 |
checked: topContentAboveShape,
|
104867 |
onChange: function onChange(value) {
|
104868 |
return setAttributes({ topContentAboveShape: !topContentAboveShape });
|
@@ -104897,7 +104892,7 @@ var UAGBColumns = function (_Component) {
|
|
104897 |
wp.element.createElement(__experimentalBlockVariationPicker, {
|
104898 |
icon: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].columns,
|
104899 |
label: uagb_blocks_info.blocks["uagb/columns"]["title"],
|
104900 |
-
instructions: __('Select a variation to start with.'),
|
104901 |
variations: variations,
|
104902 |
allowSkip: true,
|
104903 |
onSelect: function onSelect(nextVariation) {
|
@@ -104932,9 +104927,9 @@ var UAGBColumns = function (_Component) {
|
|
104932 |
null,
|
104933 |
wp.element.createElement(
|
104934 |
PanelBody,
|
104935 |
-
{ title: __("Layout") },
|
104936 |
wp.element.createElement(RangeControl, {
|
104937 |
-
label: __("Columns"),
|
104938 |
value: columns,
|
104939 |
min: 0,
|
104940 |
max: 6,
|
@@ -104943,28 +104938,28 @@ var UAGBColumns = function (_Component) {
|
|
104943 |
}
|
104944 |
}),
|
104945 |
wp.element.createElement(SelectControl, {
|
104946 |
-
label: __("Stack on"),
|
104947 |
value: stack,
|
104948 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
104949 |
onChange: function onChange(value) {
|
104950 |
return setAttributes({ stack: value });
|
104951 |
},
|
104952 |
-
help: __("Note: Choose on what breakpoint the columns will stack.")
|
104953 |
}),
|
104954 |
wp.element.createElement(SelectControl, {
|
104955 |
-
label: __("Container Width"),
|
104956 |
value: contentWidth,
|
104957 |
onChange: function onChange(value) {
|
104958 |
return setAttributes({ contentWidth: value });
|
104959 |
},
|
104960 |
-
options: [{ value: "theme", label: __("Theme Container Width") }, { value: "custom", label: __("Custom") }]
|
104961 |
}),
|
104962 |
contentWidth == "custom" && wp.element.createElement(
|
104963 |
Fragment,
|
104964 |
null,
|
104965 |
wp.element.createElement(
|
104966 |
ButtonGroup,
|
104967 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
104968 |
wp.element.createElement(
|
104969 |
Button,
|
104970 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: widthType === "px", "aria-pressed": widthType === "px", min: 0, max: 2000, onClick: function onClick() {
|
@@ -104981,7 +104976,7 @@ var UAGBColumns = function (_Component) {
|
|
104981 |
)
|
104982 |
),
|
104983 |
wp.element.createElement(RangeControl, {
|
104984 |
-
label: __("Inner Width"),
|
104985 |
value: width,
|
104986 |
min: 0,
|
104987 |
max: "%" == widthType ? 100 : 2000,
|
@@ -104991,31 +104986,31 @@ var UAGBColumns = function (_Component) {
|
|
104991 |
})
|
104992 |
),
|
104993 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_0__components_option_selector_control__["a" /* default */], {
|
104994 |
-
label: __("Column Gap"),
|
104995 |
currentOption: columnGap,
|
104996 |
-
options: [{ value: "10", label: __("Default"), tooltip: __('Default (10px)') }, { value: "0", label: __("None"), tooltip: __('No Gap (0px)') }, { value: "5", label: __("S"), tooltip: __('Narrow (5px)') }, { value: "15", label: __("M"), tooltip: __('Extended (15px)') }, { value: "20", label: __("L"), tooltip: __('Wide (20px)') }, { value: "30", label: __("XL"), tooltip: __('Wider (30px)') }],
|
104997 |
onChange: function onChange(columnGap) {
|
104998 |
return setAttributes({ columnGap: columnGap });
|
104999 |
},
|
105000 |
-
help: __("Note: The individual Column Gap can be managed from Column Settings.")
|
105001 |
}),
|
105002 |
wp.element.createElement(SelectControl, {
|
105003 |
-
label: __("HTML Tag"),
|
105004 |
value: tag,
|
105005 |
onChange: function onChange(value) {
|
105006 |
return setAttributes({ tag: value });
|
105007 |
},
|
105008 |
-
options: [{ value: "div", label: __("div") }, { value: "header", label: __("header") }, { value: "footer", label: __("footer") }, { value: "main", label: __("main") }, { value: "article", label: __("article") }, { value: "section", label: __("section") }, { value: "aside", label: __("aside") }, { value: "nav", label: __("nav") }]
|
105009 |
}),
|
105010 |
wp.element.createElement(ToggleControl, {
|
105011 |
-
label: __("Reverse Columns (Tablet)"),
|
105012 |
checked: reverseTablet,
|
105013 |
onChange: function onChange(value) {
|
105014 |
return setAttributes({ reverseTablet: !reverseTablet });
|
105015 |
}
|
105016 |
}),
|
105017 |
wp.element.createElement(ToggleControl, {
|
105018 |
-
label: __("Reverse Columns (Mobile)"),
|
105019 |
checked: reverseMobile,
|
105020 |
onChange: function onChange(value) {
|
105021 |
return setAttributes({ reverseMobile: !reverseMobile });
|
@@ -105050,7 +105045,7 @@ var UAGBColumns = function (_Component) {
|
|
105050 |
null,
|
105051 |
wp.element.createElement(
|
105052 |
ButtonGroup,
|
105053 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
105054 |
wp.element.createElement(
|
105055 |
Button,
|
105056 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobilePaddingType === "px", "aria-pressed": mobilePaddingType === "px", onClick: function onClick() {
|
@@ -105069,7 +105064,7 @@ var UAGBColumns = function (_Component) {
|
|
105069 |
wp.element.createElement(
|
105070 |
"h2",
|
105071 |
null,
|
105072 |
-
__("Padding Mobile")
|
105073 |
),
|
105074 |
wp.element.createElement(RangeControl, {
|
105075 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -105122,7 +105117,7 @@ var UAGBColumns = function (_Component) {
|
|
105122 |
null,
|
105123 |
wp.element.createElement(
|
105124 |
ButtonGroup,
|
105125 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
105126 |
wp.element.createElement(
|
105127 |
Button,
|
105128 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletPaddingType === "px", "aria-pressed": tabletPaddingType === "px", onClick: function onClick() {
|
@@ -105141,7 +105136,7 @@ var UAGBColumns = function (_Component) {
|
|
105141 |
wp.element.createElement(
|
105142 |
"h2",
|
105143 |
null,
|
105144 |
-
__("Padding Tablet")
|
105145 |
),
|
105146 |
wp.element.createElement(RangeControl, {
|
105147 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -105194,7 +105189,7 @@ var UAGBColumns = function (_Component) {
|
|
105194 |
null,
|
105195 |
wp.element.createElement(
|
105196 |
ButtonGroup,
|
105197 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
105198 |
wp.element.createElement(
|
105199 |
Button,
|
105200 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: desktopPaddingType === "px", "aria-pressed": desktopPaddingType === "px", onClick: function onClick() {
|
@@ -105295,7 +105290,7 @@ var UAGBColumns = function (_Component) {
|
|
105295 |
null,
|
105296 |
wp.element.createElement(
|
105297 |
ButtonGroup,
|
105298 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
105299 |
wp.element.createElement(
|
105300 |
Button,
|
105301 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobileMarginType === "px", "aria-pressed": mobileMarginType === "px", onClick: function onClick() {
|
@@ -105314,7 +105309,7 @@ var UAGBColumns = function (_Component) {
|
|
105314 |
wp.element.createElement(
|
105315 |
"h2",
|
105316 |
null,
|
105317 |
-
__("Margin Mobile")
|
105318 |
),
|
105319 |
wp.element.createElement(RangeControl, {
|
105320 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -105345,7 +105340,7 @@ var UAGBColumns = function (_Component) {
|
|
105345 |
null,
|
105346 |
wp.element.createElement(
|
105347 |
ButtonGroup,
|
105348 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
105349 |
wp.element.createElement(
|
105350 |
Button,
|
105351 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletMarginType === "px", "aria-pressed": tabletMarginType === "px", onClick: function onClick() {
|
@@ -105364,7 +105359,7 @@ var UAGBColumns = function (_Component) {
|
|
105364 |
wp.element.createElement(
|
105365 |
"h2",
|
105366 |
null,
|
105367 |
-
__("Margin Tablet")
|
105368 |
),
|
105369 |
wp.element.createElement(RangeControl, {
|
105370 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -105414,7 +105409,7 @@ var UAGBColumns = function (_Component) {
|
|
105414 |
wp.element.createElement(
|
105415 |
"h2",
|
105416 |
null,
|
105417 |
-
__("Margin")
|
105418 |
),
|
105419 |
wp.element.createElement(RangeControl, {
|
105420 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -105451,14 +105446,14 @@ var UAGBColumns = function (_Component) {
|
|
105451 |
),
|
105452 |
wp.element.createElement(
|
105453 |
PanelBody,
|
105454 |
-
{ title: __("Background"), initialOpen: false },
|
105455 |
wp.element.createElement(SelectControl, {
|
105456 |
-
label: __("Background Type"),
|
105457 |
value: backgroundType,
|
105458 |
onChange: function onChange(value) {
|
105459 |
return setAttributes({ backgroundType: value });
|
105460 |
},
|
105461 |
-
options: [{ value: "none", label: __("None") }, { value: "color", label: __("Color") }, { value: "gradient", label: __("Gradient") }, { value: "image", label: __("Image") }, { value: "video", label: __("Video") }]
|
105462 |
}),
|
105463 |
"color" == backgroundType && wp.element.createElement(
|
105464 |
Fragment,
|
@@ -105466,7 +105461,7 @@ var UAGBColumns = function (_Component) {
|
|
105466 |
wp.element.createElement(
|
105467 |
"p",
|
105468 |
{ className: "uagb-setting-label" },
|
105469 |
-
__("Background Color"),
|
105470 |
wp.element.createElement(
|
105471 |
"span",
|
105472 |
{ className: "components-base-control__label" },
|
@@ -105488,9 +105483,9 @@ var UAGBColumns = function (_Component) {
|
|
105488 |
BaseControl,
|
105489 |
{
|
105490 |
className: "editor-bg-image-control",
|
105491 |
-
label: __("Background Image") },
|
105492 |
wp.element.createElement(MediaUpload, {
|
105493 |
-
title: __("Select Background Image"),
|
105494 |
onSelect: this.onSelectImage,
|
105495 |
allowedTypes: ["image"],
|
105496 |
value: backgroundImage,
|
@@ -105499,50 +105494,50 @@ var UAGBColumns = function (_Component) {
|
|
105499 |
return wp.element.createElement(
|
105500 |
Button,
|
105501 |
{ isDefault: true, onClick: open },
|
105502 |
-
!backgroundImage ? __("Select Background Image") : __("Replace image")
|
105503 |
);
|
105504 |
}
|
105505 |
}),
|
105506 |
backgroundImage && wp.element.createElement(
|
105507 |
Button,
|
105508 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
105509 |
-
__("Remove Image")
|
105510 |
)
|
105511 |
),
|
105512 |
backgroundImage && wp.element.createElement(
|
105513 |
Fragment,
|
105514 |
null,
|
105515 |
wp.element.createElement(SelectControl, {
|
105516 |
-
label: __("Image Position"),
|
105517 |
value: backgroundPosition,
|
105518 |
onChange: function onChange(value) {
|
105519 |
return setAttributes({ backgroundPosition: value });
|
105520 |
},
|
105521 |
-
options: [{ value: "top-left", label: __("Top Left") }, { value: "top-center", label: __("Top Center") }, { value: "top-right", label: __("Top Right") }, { value: "center-left", label: __("Center Left") }, { value: "center-center", label: __("Center Center") }, { value: "center-right", label: __("Center Right") }, { value: "bottom-left", label: __("Bottom Left") }, { value: "bottom-center", label: __("Bottom Center") }, { value: "bottom-right", label: __("Bottom Right") }]
|
105522 |
}),
|
105523 |
wp.element.createElement(SelectControl, {
|
105524 |
-
label: __("Attachment"),
|
105525 |
value: backgroundAttachment,
|
105526 |
onChange: function onChange(value) {
|
105527 |
return setAttributes({ backgroundAttachment: value });
|
105528 |
},
|
105529 |
-
options: [{ value: "fixed", label: __("Fixed") }, { value: "scroll", label: __("Scroll") }]
|
105530 |
}),
|
105531 |
wp.element.createElement(SelectControl, {
|
105532 |
-
label: __("Repeat"),
|
105533 |
value: backgroundRepeat,
|
105534 |
onChange: function onChange(value) {
|
105535 |
return setAttributes({ backgroundRepeat: value });
|
105536 |
},
|
105537 |
-
options: [{ value: "no-repeat", label: __("No Repeat") }, { value: "repeat", label: __("Repeat") }, { value: "repeat-x", label: __("Repeat-x") }, { value: "repeat-y", label: __("Repeat-y") }]
|
105538 |
}),
|
105539 |
wp.element.createElement(SelectControl, {
|
105540 |
-
label: __("Size"),
|
105541 |
value: backgroundSize,
|
105542 |
onChange: function onChange(value) {
|
105543 |
return setAttributes({ backgroundSize: value });
|
105544 |
},
|
105545 |
-
options: [{ value: "auto", label: __("Auto") }, { value: "cover", label: __("Cover") }, { value: "contain", label: __("Contain") }]
|
105546 |
}),
|
105547 |
wp.element.createElement(
|
105548 |
Fragment,
|
@@ -105550,7 +105545,7 @@ var UAGBColumns = function (_Component) {
|
|
105550 |
wp.element.createElement(
|
105551 |
"p",
|
105552 |
{ className: "uagb-setting-label" },
|
105553 |
-
__("Image Overlay Color"),
|
105554 |
wp.element.createElement(
|
105555 |
"span",
|
105556 |
{ className: "components-base-control__label" },
|
@@ -105576,10 +105571,10 @@ var UAGBColumns = function (_Component) {
|
|
105576 |
BaseControl,
|
105577 |
{
|
105578 |
className: "editor-bg-video-control",
|
105579 |
-
label: __("Background Video")
|
105580 |
},
|
105581 |
wp.element.createElement(MediaUpload, {
|
105582 |
-
title: __("Select Background Video"),
|
105583 |
onSelect: this.onSelectVideo,
|
105584 |
allowedTypes: ["video"],
|
105585 |
value: backgroundVideo,
|
@@ -105588,18 +105583,18 @@ var UAGBColumns = function (_Component) {
|
|
105588 |
return wp.element.createElement(
|
105589 |
Button,
|
105590 |
{ isDefault: true, onClick: open },
|
105591 |
-
!backgroundVideo ? __("Select Background Video") : __("Replace Video")
|
105592 |
);
|
105593 |
}
|
105594 |
}),
|
105595 |
backgroundVideo && wp.element.createElement(
|
105596 |
Button,
|
105597 |
{ onClick: this.onRemoveVideo, isLink: true, isDestructive: true },
|
105598 |
-
__("Remove Video")
|
105599 |
)
|
105600 |
),
|
105601 |
("color" == backgroundType || "image" == backgroundType && backgroundImage || "gradient" == backgroundType) && wp.element.createElement(RangeControl, {
|
105602 |
-
label: __("Opacity"),
|
105603 |
value: backgroundOpacity,
|
105604 |
onChange: function onChange(value) {
|
105605 |
return setAttributes({ backgroundOpacity: value });
|
@@ -105615,7 +105610,7 @@ var UAGBColumns = function (_Component) {
|
|
105615 |
wp.element.createElement(
|
105616 |
"p",
|
105617 |
{ className: "uagb-setting-label" },
|
105618 |
-
__("Video Overlay Color"),
|
105619 |
wp.element.createElement(
|
105620 |
"span",
|
105621 |
{ className: "components-base-control__label" },
|
@@ -105631,7 +105626,7 @@ var UAGBColumns = function (_Component) {
|
|
105631 |
})
|
105632 |
),
|
105633 |
"video" == backgroundType && backgroundVideo && wp.element.createElement(RangeControl, {
|
105634 |
-
label: __("Opacity"),
|
105635 |
value: backgroundVideoOpacity,
|
105636 |
onChange: function onChange(value) {
|
105637 |
return setAttributes({ backgroundVideoOpacity: value });
|
@@ -105644,18 +105639,18 @@ var UAGBColumns = function (_Component) {
|
|
105644 |
),
|
105645 |
wp.element.createElement(
|
105646 |
PanelBody,
|
105647 |
-
{ title: __("Shape Dividers"), initialOpen: false },
|
105648 |
wp.element.createElement(
|
105649 |
TabPanel,
|
105650 |
{ className: "uagb-inspect-tabs uagb-inspect-tabs-col-2",
|
105651 |
activeClass: "active-tab",
|
105652 |
tabs: [{
|
105653 |
name: "top",
|
105654 |
-
title: __("Top"),
|
105655 |
className: "uagb-top-tab"
|
105656 |
}, {
|
105657 |
name: "bottom",
|
105658 |
-
title: __("Bottom"),
|
105659 |
className: "uagb-bottom-tab"
|
105660 |
}] },
|
105661 |
function (tabName) {
|
@@ -105675,17 +105670,17 @@ var UAGBColumns = function (_Component) {
|
|
105675 |
),
|
105676 |
wp.element.createElement(
|
105677 |
PanelBody,
|
105678 |
-
{ title: __("Border"), initialOpen: false },
|
105679 |
wp.element.createElement(SelectControl, {
|
105680 |
-
label: __("Border Style"),
|
105681 |
value: borderStyle,
|
105682 |
onChange: function onChange(value) {
|
105683 |
return setAttributes({ borderStyle: value });
|
105684 |
},
|
105685 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
105686 |
}),
|
105687 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
105688 |
-
label: __("Border Width"),
|
105689 |
value: borderWidth,
|
105690 |
onChange: function onChange(value) {
|
105691 |
return setAttributes({ borderWidth: value });
|
@@ -105695,7 +105690,7 @@ var UAGBColumns = function (_Component) {
|
|
105695 |
allowReset: true
|
105696 |
}),
|
105697 |
wp.element.createElement(RangeControl, {
|
105698 |
-
label: __("Border Radius"),
|
105699 |
value: borderRadius,
|
105700 |
onChange: function onChange(value) {
|
105701 |
return setAttributes({ borderRadius: value });
|
@@ -105710,7 +105705,7 @@ var UAGBColumns = function (_Component) {
|
|
105710 |
wp.element.createElement(
|
105711 |
"p",
|
105712 |
{ className: "uagb-setting-label" },
|
105713 |
-
__("Border Color"),
|
105714 |
wp.element.createElement(
|
105715 |
"span",
|
105716 |
{ className: "components-base-control__label" },
|
@@ -105727,13 +105722,13 @@ var UAGBColumns = function (_Component) {
|
|
105727 |
),
|
105728 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_9__components_box_shadow__["a" /* default */], {
|
105729 |
setAttributes: setAttributes,
|
105730 |
-
label: __("Box Shadow"),
|
105731 |
-
boxShadowColor: { value: boxShadowColor, label: __("Color") },
|
105732 |
-
boxShadowHOffset: { value: boxShadowHOffset, label: __("Horizontal") },
|
105733 |
-
boxShadowVOffset: { value: boxShadowVOffset, label: __("Vertical") },
|
105734 |
-
boxShadowBlur: { value: boxShadowBlur, label: __("Blur") },
|
105735 |
-
boxShadowSpread: { value: boxShadowSpread, label: __("Spread") },
|
105736 |
-
boxShadowPosition: { value: boxShadowPosition, label: __("Position") }
|
105737 |
|
105738 |
})
|
105739 |
)
|
@@ -105802,7 +105797,7 @@ var applyWithSelect = withSelect(function (select, props) {
|
|
105802 |
/* harmony default export */ __webpack_exports__["a"] = (compose(withNotices, applyWithSelect)(UAGBColumns));
|
105803 |
|
105804 |
/***/ }),
|
105805 |
-
/*
|
105806 |
/*!*********************************************************!*\
|
105807 |
!*** ./src/components/option-selector-control/index.js ***!
|
105808 |
\*********************************************************/
|
@@ -105821,8 +105816,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
105821 |
|
105822 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
105823 |
|
105824 |
-
/**
|
105825 |
-
* WordPress dependencies
|
105826 |
*/
|
105827 |
var _wp$element = wp.element,
|
105828 |
Component = _wp$element.Component,
|
@@ -105836,36 +105831,36 @@ var _wp$components = wp.components,
|
|
105836 |
Tooltip = _wp$components.Tooltip;
|
105837 |
var __ = wp.i18n.__;
|
105838 |
|
105839 |
-
/**
|
105840 |
-
* Constants
|
105841 |
*/
|
105842 |
|
105843 |
var DEFAULT_OPTIONS = [{
|
105844 |
value: "5",
|
105845 |
/* translators: abbreviation for small size */
|
105846 |
-
label: __('S'),
|
105847 |
-
tooltip: __('Small')
|
105848 |
}, {
|
105849 |
value: "15",
|
105850 |
/* translators: abbreviation for medium size */
|
105851 |
-
label: __('M'),
|
105852 |
-
tooltip: __('Medium')
|
105853 |
}, {
|
105854 |
value: "20",
|
105855 |
/* translators: abbreviation for large size */
|
105856 |
-
label: __('L'),
|
105857 |
-
tooltip: __('Large')
|
105858 |
}, {
|
105859 |
value: "30",
|
105860 |
/* translators: abbreviation for extra large size */
|
105861 |
-
label: __('XL'),
|
105862 |
-
tooltip: __('Extra Large')
|
105863 |
}];
|
105864 |
|
105865 |
var NONE_OPTION = {
|
105866 |
value: "0",
|
105867 |
-
label: __('None'),
|
105868 |
-
tooltip: __('None')
|
105869 |
};
|
105870 |
|
105871 |
var OptionSelectorControl = function (_Component) {
|
@@ -105948,7 +105943,7 @@ var OptionSelectorControl = function (_Component) {
|
|
105948 |
/* harmony default export */ __webpack_exports__["a"] = (OptionSelectorControl);
|
105949 |
|
105950 |
/***/ }),
|
105951 |
-
/*
|
105952 |
/*!***************************************!*\
|
105953 |
!*** ./src/blocks/columns/styling.js ***!
|
105954 |
\***************************************/
|
@@ -105957,12 +105952,12 @@ var OptionSelectorControl = function (_Component) {
|
|
105957 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
105958 |
|
105959 |
"use strict";
|
105960 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__inline_styles__ = __webpack_require__(/*! ./inline-styles */
|
105961 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
105962 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_hexToRgba__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/hexToRgba */ 102);
|
105963 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
105964 |
-
/**
|
105965 |
-
* Returns Dynamic Generated CSS
|
105966 |
*/
|
105967 |
|
105968 |
|
@@ -106159,7 +106154,7 @@ function styling(props) {
|
|
106159 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
106160 |
|
106161 |
/***/ }),
|
106162 |
-
/*
|
106163 |
/*!*********************************************!*\
|
106164 |
!*** ./src/blocks/columns/inline-styles.js ***!
|
106165 |
\*********************************************/
|
@@ -106169,8 +106164,8 @@ function styling(props) {
|
|
106169 |
|
106170 |
"use strict";
|
106171 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
106172 |
-
/**
|
106173 |
-
* Returns Dynamic Generated CSS
|
106174 |
*/
|
106175 |
|
106176 |
|
@@ -106229,7 +106224,7 @@ function inlineStyles(props, isEditor) {
|
|
106229 |
/* harmony default export */ __webpack_exports__["a"] = (inlineStyles);
|
106230 |
|
106231 |
/***/ }),
|
106232 |
-
/*
|
106233 |
/*!******************************************!*\
|
106234 |
!*** ./node_modules/lodash/dropRight.js ***!
|
106235 |
\******************************************/
|
@@ -106278,7 +106273,7 @@ module.exports = dropRight;
|
|
106278 |
|
106279 |
|
106280 |
/***/ }),
|
106281 |
-
/*
|
106282 |
/*!******************************************!*\
|
106283 |
!*** ./src/blocks/columns/deprecated.js ***!
|
106284 |
\******************************************/
|
@@ -106291,8 +106286,8 @@ module.exports = dropRight;
|
|
106291 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
106292 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shapes__ = __webpack_require__(/*! ./shapes */ 124);
|
106293 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 224);
|
106294 |
-
/**
|
106295 |
-
* BLOCK: Columns - Deprecated Block
|
106296 |
*/
|
106297 |
|
106298 |
// Import block dependencies and components.
|
@@ -106450,7 +106445,7 @@ var deprecated = [{
|
|
106450 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
106451 |
|
106452 |
/***/ }),
|
106453 |
-
/*
|
106454 |
/*!******************************************!*\
|
106455 |
!*** ./src/blocks/columns/variations.js ***!
|
106456 |
\******************************************/
|
@@ -106460,26 +106455,26 @@ var deprecated = [{
|
|
106460 |
|
106461 |
"use strict";
|
106462 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__icons__ = __webpack_require__(/*! ./icons */ 225);
|
106463 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__ = __webpack_require__(/*! @wordpress/i18n */
|
106464 |
-
/**
|
106465 |
-
* Internal dependencies
|
106466 |
*/
|
106467 |
|
106468 |
|
106469 |
-
/**
|
106470 |
-
* WordPress dependencies
|
106471 |
*/
|
106472 |
|
106473 |
|
106474 |
-
/**
|
106475 |
-
* Template option choices for predefined form layouts.
|
106476 |
-
*
|
106477 |
-
* @constant
|
106478 |
-
* @type {Array}
|
106479 |
*/
|
106480 |
var variations = [{
|
106481 |
name: 'one-column',
|
106482 |
-
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('One column'),
|
106483 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].colOne,
|
106484 |
attributes: {
|
106485 |
columns: 1,
|
@@ -106489,7 +106484,7 @@ var variations = [{
|
|
106489 |
scope: ['block']
|
106490 |
}, {
|
106491 |
name: 'two-column-split',
|
106492 |
-
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Two columns; equal split'),
|
106493 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout5050,
|
106494 |
attributes: {
|
106495 |
columns: 2,
|
@@ -106500,7 +106495,7 @@ var variations = [{
|
|
106500 |
scope: ['block']
|
106501 |
}, {
|
106502 |
name: 'two-columns-one-third-two-thirds',
|
106503 |
-
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Two columns; one-third, two-thirds split'),
|
106504 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout3366,
|
106505 |
attributes: {
|
106506 |
columns: 2
|
@@ -106509,7 +106504,7 @@ var variations = [{
|
|
106509 |
scope: ['block']
|
106510 |
}, {
|
106511 |
name: 'two-columns-two-thirds-one-third',
|
106512 |
-
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Two columns; two-thirds, one-third split'),
|
106513 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout6633,
|
106514 |
attributes: {
|
106515 |
columns: 2
|
@@ -106518,7 +106513,7 @@ var variations = [{
|
|
106518 |
scope: ['block']
|
106519 |
}, {
|
106520 |
name: 'three-column',
|
106521 |
-
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Three columns; equal split'),
|
106522 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout502525,
|
106523 |
attributes: {
|
106524 |
columns: 3,
|
@@ -106528,7 +106523,7 @@ var variations = [{
|
|
106528 |
scope: ['block']
|
106529 |
}, {
|
106530 |
name: 'three-columns-equal',
|
106531 |
-
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Three columns; equal split'),
|
106532 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout333333,
|
106533 |
attributes: {
|
106534 |
columns: 3
|
@@ -106537,7 +106532,7 @@ var variations = [{
|
|
106537 |
scope: ['block']
|
106538 |
}, {
|
106539 |
name: 'three-columns-wider-center',
|
106540 |
-
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Three columns; wide center column'),
|
106541 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout255025,
|
106542 |
attributes: {
|
106543 |
columns: 3
|
@@ -106546,7 +106541,7 @@ var variations = [{
|
|
106546 |
scope: ['block']
|
106547 |
}, {
|
106548 |
name: 'four-column',
|
106549 |
-
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Four columns; equal split'),
|
106550 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout25252525,
|
106551 |
attributes: {
|
106552 |
columns: 4,
|
@@ -106559,7 +106554,7 @@ var variations = [{
|
|
106559 |
/* harmony default export */ __webpack_exports__["a"] = (variations);
|
106560 |
|
106561 |
/***/ }),
|
106562 |
-
/*
|
106563 |
/*!************************************************************!*\
|
106564 |
!*** ./node_modules/@wordpress/i18n/build-module/index.js ***!
|
106565 |
\************************************************************/
|
@@ -106574,11 +106569,11 @@ var variations = [{
|
|
106574 |
/* unused harmony export _n */
|
106575 |
/* unused harmony export _nx */
|
106576 |
/* unused harmony export sprintf */
|
106577 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectSpread__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */
|
106578 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_tannin__ = __webpack_require__(/*! tannin */
|
106579 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_memize__ = __webpack_require__(/*! memize */ 19);
|
106580 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_memize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_memize__);
|
106581 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_sprintf_js__ = __webpack_require__(/*! sprintf-js */
|
106582 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_sprintf_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_sprintf_js__);
|
106583 |
|
106584 |
|
@@ -106756,7 +106751,7 @@ function sprintf(format) {
|
|
106756 |
//# sourceMappingURL=index.js.map
|
106757 |
|
106758 |
/***/ }),
|
106759 |
-
/*
|
106760 |
/*!*****************************************************************!*\
|
106761 |
!*** ./node_modules/@babel/runtime/helpers/esm/objectSpread.js ***!
|
106762 |
\*****************************************************************/
|
@@ -106766,7 +106761,7 @@ function sprintf(format) {
|
|
106766 |
|
106767 |
"use strict";
|
106768 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _objectSpread;
|
106769 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__defineProperty__ = __webpack_require__(/*! ./defineProperty */
|
106770 |
|
106771 |
function _objectSpread(target) {
|
106772 |
for (var i = 1; i < arguments.length; i++) {
|
@@ -106788,7 +106783,7 @@ function _objectSpread(target) {
|
|
106788 |
}
|
106789 |
|
106790 |
/***/ }),
|
106791 |
-
/*
|
106792 |
/*!*******************************************************************!*\
|
106793 |
!*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
106794 |
\*******************************************************************/
|
@@ -106814,7 +106809,7 @@ function _defineProperty(obj, key, value) {
|
|
106814 |
}
|
106815 |
|
106816 |
/***/ }),
|
106817 |
-
/*
|
106818 |
/*!**************************************!*\
|
106819 |
!*** ./node_modules/tannin/index.js ***!
|
106820 |
\**************************************/
|
@@ -106824,7 +106819,7 @@ function _defineProperty(obj, key, value) {
|
|
106824 |
|
106825 |
"use strict";
|
106826 |
/* harmony export (immutable) */ __webpack_exports__["a"] = Tannin;
|
106827 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__tannin_plural_forms__ = __webpack_require__(/*! @tannin/plural-forms */
|
106828 |
|
106829 |
|
106830 |
/**
|
@@ -106968,7 +106963,7 @@ Tannin.prototype.dcnpgettext = function( domain, context, singular, plural, n )
|
|
106968 |
|
106969 |
|
106970 |
/***/ }),
|
106971 |
-
/*
|
106972 |
/*!****************************************************!*\
|
106973 |
!*** ./node_modules/@tannin/plural-forms/index.js ***!
|
106974 |
\****************************************************/
|
@@ -106978,7 +106973,7 @@ Tannin.prototype.dcnpgettext = function( domain, context, singular, plural, n )
|
|
106978 |
|
106979 |
"use strict";
|
106980 |
/* harmony export (immutable) */ __webpack_exports__["a"] = pluralForms;
|
106981 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__tannin_compile__ = __webpack_require__(/*! @tannin/compile */
|
106982 |
|
106983 |
|
106984 |
/**
|
@@ -107000,7 +106995,7 @@ function pluralForms( expression ) {
|
|
107000 |
|
107001 |
|
107002 |
/***/ }),
|
107003 |
-
/*
|
107004 |
/*!***********************************************!*\
|
107005 |
!*** ./node_modules/@tannin/compile/index.js ***!
|
107006 |
\***********************************************/
|
@@ -107010,8 +107005,8 @@ function pluralForms( expression ) {
|
|
107010 |
|
107011 |
"use strict";
|
107012 |
/* harmony export (immutable) */ __webpack_exports__["a"] = compile;
|
107013 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__tannin_postfix__ = __webpack_require__(/*! @tannin/postfix */
|
107014 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__tannin_evaluate__ = __webpack_require__(/*! @tannin/evaluate */
|
107015 |
|
107016 |
|
107017 |
|
@@ -107044,7 +107039,7 @@ function compile( expression ) {
|
|
107044 |
|
107045 |
|
107046 |
/***/ }),
|
107047 |
-
/*
|
107048 |
/*!***********************************************!*\
|
107049 |
!*** ./node_modules/@tannin/postfix/index.js ***!
|
107050 |
\***********************************************/
|
@@ -107181,7 +107176,7 @@ function postfix( expression ) {
|
|
107181 |
|
107182 |
|
107183 |
/***/ }),
|
107184 |
-
/*
|
107185 |
/*!************************************************!*\
|
107186 |
!*** ./node_modules/@tannin/evaluate/index.js ***!
|
107187 |
\************************************************/
|
@@ -107304,7 +107299,7 @@ function evaluate( postfix, variables ) {
|
|
107304 |
|
107305 |
|
107306 |
/***/ }),
|
107307 |
-
/*
|
107308 |
/*!*****************************************************************************!*\
|
107309 |
!*** ./node_modules/@wordpress/i18n/node_modules/sprintf-js/src/sprintf.js ***!
|
107310 |
\*****************************************************************************/
|
@@ -107547,7 +107542,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
|
107547 |
|
107548 |
|
107549 |
/***/ }),
|
107550 |
-
/*
|
107551 |
/*!***************************************!*\
|
107552 |
!*** ./src/blocks/columns/style.scss ***!
|
107553 |
\***************************************/
|
@@ -107557,7 +107552,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
|
107557 |
// removed by extract-text-webpack-plugin
|
107558 |
|
107559 |
/***/ }),
|
107560 |
-
/*
|
107561 |
/*!****************************************!*\
|
107562 |
!*** ./src/blocks/columns/editor.scss ***!
|
107563 |
\****************************************/
|
@@ -107567,7 +107562,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
|
107567 |
// removed by extract-text-webpack-plugin
|
107568 |
|
107569 |
/***/ }),
|
107570 |
-
/*
|
107571 |
/*!****************************************!*\
|
107572 |
!*** ./src/blocks/cf7-styler/block.js ***!
|
107573 |
\****************************************/
|
@@ -107576,13 +107571,13 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
|
107576 |
|
107577 |
"use strict";
|
107578 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
107579 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */
|
107580 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
107581 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
107582 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(/*! ./style.scss */
|
107583 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
|
107584 |
-
/**
|
107585 |
-
* BLOCK: Contact Form 7 Styler
|
107586 |
*/
|
107587 |
|
107588 |
// Import block dependencies and components.
|
@@ -107598,17 +107593,17 @@ var __ = wp.i18n.__;
|
|
107598 |
|
107599 |
var registerBlockType = wp.blocks.registerBlockType;
|
107600 |
|
107601 |
-
/**
|
107602 |
-
* Register: as Gutenberg Block.
|
107603 |
-
*
|
107604 |
-
* Registers a new block provided a unique name and an object defining its
|
107605 |
-
* behavior.
|
107606 |
-
*
|
107607 |
-
* @link https://wordpress.org/gutenberg/handbook/block-api/
|
107608 |
-
* @param {string} name Block name.
|
107609 |
-
* @param {Object} settings Block settings.
|
107610 |
-
* @return {?WPBlock} The block, if it has been successfully
|
107611 |
-
* registered; otherwise `undefined`.
|
107612 |
*/
|
107613 |
|
107614 |
if (uagb_blocks_info.blocks["uagb/cf7-styler"]["is_active"]) {
|
@@ -107617,7 +107612,7 @@ if (uagb_blocks_info.blocks["uagb/cf7-styler"]["is_active"]) {
|
|
107617 |
title: uagb_blocks_info.blocks["uagb/cf7-styler"]["title"], // Block title.
|
107618 |
description: uagb_blocks_info.blocks["uagb/cf7-styler"]["description"], // Block description.
|
107619 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].cf7_styler,
|
107620 |
-
keywords: [__("CF7 styler"), __("contact form styler"), __("uag")],
|
107621 |
supports: {
|
107622 |
anchor: true
|
107623 |
},
|
@@ -107631,7 +107626,7 @@ if (uagb_blocks_info.blocks["uagb/cf7-styler"]["is_active"]) {
|
|
107631 |
}
|
107632 |
|
107633 |
/***/ }),
|
107634 |
-
/*
|
107635 |
/*!***************************************!*\
|
107636 |
!*** ./src/blocks/cf7-styler/edit.js ***!
|
107637 |
\***************************************/
|
@@ -107645,7 +107640,7 @@ if (uagb_blocks_info.blocks["uagb/cf7-styler"]["is_active"]) {
|
|
107645 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
107646 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
|
107647 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
107648 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__styling__ = __webpack_require__(/*! ./styling */
|
107649 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
107650 |
|
107651 |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -107703,8 +107698,8 @@ var UAGBCF7 = function (_Component) {
|
|
107703 |
return _this;
|
107704 |
}
|
107705 |
|
107706 |
-
/*
|
107707 |
-
* Event to set Image as while adding.
|
107708 |
*/
|
107709 |
|
107710 |
|
@@ -107947,25 +107942,25 @@ var UAGBCF7 = function (_Component) {
|
|
107947 |
|
107948 |
var field_border_setting = wp.element.createElement(
|
107949 |
PanelBody,
|
107950 |
-
{ title: __("Field Style & Border"), initialOpen: false },
|
107951 |
wp.element.createElement(SelectControl, {
|
107952 |
-
label: __("Field Style"),
|
107953 |
value: fieldStyle,
|
107954 |
onChange: function onChange(value) {
|
107955 |
return setAttributes({ fieldStyle: value });
|
107956 |
},
|
107957 |
-
options: [{ value: "box", label: __("Box") }, { value: "underline", label: __("Underline") }]
|
107958 |
}),
|
107959 |
fieldStyle == "box" && wp.element.createElement(SelectControl, {
|
107960 |
-
label: __("Border Style"),
|
107961 |
value: fieldBorderStyle,
|
107962 |
onChange: function onChange(value) {
|
107963 |
return setAttributes({ fieldBorderStyle: value });
|
107964 |
},
|
107965 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
107966 |
}),
|
107967 |
("none" != fieldBorderStyle || fieldStyle == "underline") && wp.element.createElement(RangeControl, {
|
107968 |
-
label: __("Border Width (px)"),
|
107969 |
value: fieldBorderWidth,
|
107970 |
onChange: function onChange(value) {
|
107971 |
return setAttributes({ fieldBorderWidth: value });
|
@@ -107976,7 +107971,7 @@ var UAGBCF7 = function (_Component) {
|
|
107976 |
}),
|
107977 |
wp.element.createElement(
|
107978 |
ButtonGroup,
|
107979 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
107980 |
wp.element.createElement(
|
107981 |
Button,
|
107982 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: fieldBorderRadiusType === "px", "aria-pressed": fieldBorderRadiusType === "px", onClick: function onClick() {
|
@@ -107993,7 +107988,7 @@ var UAGBCF7 = function (_Component) {
|
|
107993 |
)
|
107994 |
),
|
107995 |
wp.element.createElement(RangeControl, {
|
107996 |
-
label: __("Border Radius"),
|
107997 |
value: fieldBorderRadius,
|
107998 |
onChange: function onChange(value) {
|
107999 |
return setAttributes({ fieldBorderRadius: value });
|
@@ -108008,7 +108003,7 @@ var UAGBCF7 = function (_Component) {
|
|
108008 |
wp.element.createElement(
|
108009 |
"p",
|
108010 |
{ className: "uagb-setting-label" },
|
108011 |
-
__("Border Color"),
|
108012 |
wp.element.createElement(
|
108013 |
"span",
|
108014 |
{ className: "components-base-control__label" },
|
@@ -108026,7 +108021,7 @@ var UAGBCF7 = function (_Component) {
|
|
108026 |
wp.element.createElement(
|
108027 |
"p",
|
108028 |
{ className: "uagb-setting-label" },
|
108029 |
-
__("Active Border Color"),
|
108030 |
wp.element.createElement(
|
108031 |
"span",
|
108032 |
{ className: "components-base-control__label" },
|
@@ -108044,14 +108039,14 @@ var UAGBCF7 = function (_Component) {
|
|
108044 |
|
108045 |
var typography_settings = wp.element.createElement(
|
108046 |
PanelBody,
|
108047 |
-
{ title: __("Content"), initialOpen: false },
|
108048 |
wp.element.createElement(
|
108049 |
"h2",
|
108050 |
null,
|
108051 |
-
__("Label")
|
108052 |
),
|
108053 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108054 |
-
label: __("Typography"),
|
108055 |
attributes: attributes,
|
108056 |
setAttributes: setAttributes,
|
108057 |
loadGoogleFonts: { value: labelLoadGoogleFonts, label: 'labelLoadGoogleFonts' },
|
@@ -108070,7 +108065,7 @@ var UAGBCF7 = function (_Component) {
|
|
108070 |
wp.element.createElement(
|
108071 |
"p",
|
108072 |
{ className: "uagb-setting-label" },
|
108073 |
-
__("Color"),
|
108074 |
wp.element.createElement(
|
108075 |
"span",
|
108076 |
{ className: "components-base-control__label" },
|
@@ -108088,10 +108083,10 @@ var UAGBCF7 = function (_Component) {
|
|
108088 |
wp.element.createElement(
|
108089 |
"h2",
|
108090 |
null,
|
108091 |
-
__("Input")
|
108092 |
),
|
108093 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108094 |
-
label: __("Typography"),
|
108095 |
attributes: attributes,
|
108096 |
setAttributes: setAttributes,
|
108097 |
loadGoogleFonts: { value: inputLoadGoogleFonts, label: 'inputLoadGoogleFonts' },
|
@@ -108110,7 +108105,7 @@ var UAGBCF7 = function (_Component) {
|
|
108110 |
wp.element.createElement(
|
108111 |
"p",
|
108112 |
{ className: "uagb-setting-label" },
|
108113 |
-
__("Color"),
|
108114 |
wp.element.createElement(
|
108115 |
"span",
|
108116 |
{ className: "components-base-control__label" },
|
@@ -108128,7 +108123,7 @@ var UAGBCF7 = function (_Component) {
|
|
108128 |
wp.element.createElement(
|
108129 |
"p",
|
108130 |
{ className: "uagb-setting-label" },
|
108131 |
-
__("Field Background Color"),
|
108132 |
wp.element.createElement(
|
108133 |
"span",
|
108134 |
{ className: "components-base-control__label" },
|
@@ -108146,9 +108141,9 @@ var UAGBCF7 = function (_Component) {
|
|
108146 |
|
108147 |
var field_settings = wp.element.createElement(
|
108148 |
PanelBody,
|
108149 |
-
{ title: __("General") },
|
108150 |
wp.element.createElement(SelectControl, {
|
108151 |
-
label: __("Select Form"),
|
108152 |
value: formId,
|
108153 |
onChange: this.onSelectForm,
|
108154 |
options: uagb_blocks_info.cf7_forms
|
@@ -108163,7 +108158,7 @@ var UAGBCF7 = function (_Component) {
|
|
108163 |
Placeholder,
|
108164 |
{
|
108165 |
icon: "admin-post",
|
108166 |
-
label: __("Select a Contact Form 7")
|
108167 |
},
|
108168 |
wp.element.createElement(SelectControl, {
|
108169 |
value: formId,
|
@@ -108179,15 +108174,15 @@ var UAGBCF7 = function (_Component) {
|
|
108179 |
Fragment,
|
108180 |
null,
|
108181 |
wp.element.createElement(SelectControl, {
|
108182 |
-
label: __("Border Style"),
|
108183 |
value: buttonBorderStyle,
|
108184 |
onChange: function onChange(value) {
|
108185 |
return setAttributes({ buttonBorderStyle: value });
|
108186 |
},
|
108187 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
108188 |
}),
|
108189 |
"none" != buttonBorderStyle && wp.element.createElement(RangeControl, {
|
108190 |
-
label: __("Border Width (px)"),
|
108191 |
value: buttonBorderWidth,
|
108192 |
onChange: function onChange(value) {
|
108193 |
return setAttributes({ buttonBorderWidth: value });
|
@@ -108198,7 +108193,7 @@ var UAGBCF7 = function (_Component) {
|
|
108198 |
}),
|
108199 |
wp.element.createElement(
|
108200 |
ButtonGroup,
|
108201 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
108202 |
wp.element.createElement(
|
108203 |
Button,
|
108204 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: buttonBorderRadiusType === "px", "aria-pressed": buttonBorderRadiusType === "px", onClick: function onClick() {
|
@@ -108215,7 +108210,7 @@ var UAGBCF7 = function (_Component) {
|
|
108215 |
)
|
108216 |
),
|
108217 |
wp.element.createElement(RangeControl, {
|
108218 |
-
label: __("Border Radius"),
|
108219 |
value: buttonBorderRadius,
|
108220 |
onChange: function onChange(value) {
|
108221 |
return setAttributes({ buttonBorderRadius: value });
|
@@ -108232,7 +108227,7 @@ var UAGBCF7 = function (_Component) {
|
|
108232 |
wp.element.createElement(
|
108233 |
"p",
|
108234 |
{ className: "uagb-setting-label" },
|
108235 |
-
__("Text Color"),
|
108236 |
wp.element.createElement(
|
108237 |
"span",
|
108238 |
{ className: "components-base-control__label" },
|
@@ -108249,7 +108244,7 @@ var UAGBCF7 = function (_Component) {
|
|
108249 |
wp.element.createElement(
|
108250 |
"p",
|
108251 |
{ className: "uagb-setting-label" },
|
108252 |
-
__("Background Color"),
|
108253 |
wp.element.createElement(
|
108254 |
"span",
|
108255 |
{ className: "components-base-control__label" },
|
@@ -108269,7 +108264,7 @@ var UAGBCF7 = function (_Component) {
|
|
108269 |
wp.element.createElement(
|
108270 |
"p",
|
108271 |
{ className: "uagb-setting-label" },
|
108272 |
-
__("Border Color"),
|
108273 |
wp.element.createElement(
|
108274 |
"span",
|
108275 |
{ className: "components-base-control__label" },
|
@@ -108292,7 +108287,7 @@ var UAGBCF7 = function (_Component) {
|
|
108292 |
wp.element.createElement(
|
108293 |
"p",
|
108294 |
{ className: "uagb-setting-label" },
|
108295 |
-
__("Text Hover Color"),
|
108296 |
wp.element.createElement(
|
108297 |
"span",
|
108298 |
{ className: "components-base-control__label" },
|
@@ -108309,7 +108304,7 @@ var UAGBCF7 = function (_Component) {
|
|
108309 |
wp.element.createElement(
|
108310 |
"p",
|
108311 |
{ className: "uagb-setting-label" },
|
108312 |
-
__("Background Hover Color"),
|
108313 |
wp.element.createElement(
|
108314 |
"span",
|
108315 |
{ className: "components-base-control__label" },
|
@@ -108329,7 +108324,7 @@ var UAGBCF7 = function (_Component) {
|
|
108329 |
wp.element.createElement(
|
108330 |
"p",
|
108331 |
{ className: "uagb-setting-label" },
|
108332 |
-
__("Border Hover Color"),
|
108333 |
wp.element.createElement(
|
108334 |
"span",
|
108335 |
{ className: "components-base-control__label" },
|
@@ -108348,22 +108343,22 @@ var UAGBCF7 = function (_Component) {
|
|
108348 |
|
108349 |
var btn_setting = wp.element.createElement(
|
108350 |
PanelBody,
|
108351 |
-
{ title: __("Submit Button"), initialOpen: false },
|
108352 |
wp.element.createElement(SelectControl, {
|
108353 |
-
label: __("Button Alignment"),
|
108354 |
value: buttonAlignment,
|
108355 |
onChange: function onChange(value) {
|
108356 |
return setAttributes({ buttonAlignment: value });
|
108357 |
},
|
108358 |
-
options: [{ value: "center", label: __("Center") }, { value: "left", label: __("Left") }, { value: "right", label: __("Right") }, { value: "justify", label: __("Justified") }]
|
108359 |
}),
|
108360 |
wp.element.createElement(
|
108361 |
"h2",
|
108362 |
null,
|
108363 |
-
__("Button Font")
|
108364 |
),
|
108365 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108366 |
-
label: __("Typography"),
|
108367 |
attributes: attributes,
|
108368 |
setAttributes: setAttributes,
|
108369 |
loadGoogleFonts: { value: buttonLoadGoogleFonts, label: 'buttonLoadGoogleFonts' },
|
@@ -108388,11 +108383,11 @@ var UAGBCF7 = function (_Component) {
|
|
108388 |
activeClass: "active-tab",
|
108389 |
tabs: [{
|
108390 |
name: "normal",
|
108391 |
-
title: __("Normal"),
|
108392 |
className: "uagb-normal-tab"
|
108393 |
}, {
|
108394 |
name: "hover",
|
108395 |
-
title: __("Hover"),
|
108396 |
className: "uagb-focus-tab"
|
108397 |
}] },
|
108398 |
function (tabName) {
|
@@ -108413,7 +108408,7 @@ var UAGBCF7 = function (_Component) {
|
|
108413 |
wp.element.createElement(
|
108414 |
"h2",
|
108415 |
null,
|
108416 |
-
__("Button Padding (px)")
|
108417 |
),
|
108418 |
wp.element.createElement(RangeControl, {
|
108419 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -108441,9 +108436,9 @@ var UAGBCF7 = function (_Component) {
|
|
108441 |
|
108442 |
var spacing = wp.element.createElement(
|
108443 |
PanelBody,
|
108444 |
-
{ title: __("Spacing"), initialOpen: false },
|
108445 |
wp.element.createElement(RangeControl, {
|
108446 |
-
label: __("Label & Input Space"),
|
108447 |
value: fieldLabelSpacing,
|
108448 |
onChange: function onChange(value) {
|
108449 |
return setAttributes({ fieldLabelSpacing: value });
|
@@ -108453,7 +108448,7 @@ var UAGBCF7 = function (_Component) {
|
|
108453 |
allowReset: true
|
108454 |
}),
|
108455 |
wp.element.createElement(RangeControl, {
|
108456 |
-
label: __("Fields Space"),
|
108457 |
value: fieldSpacing,
|
108458 |
onChange: function onChange(value) {
|
108459 |
return setAttributes({ fieldSpacing: value });
|
@@ -108466,7 +108461,7 @@ var UAGBCF7 = function (_Component) {
|
|
108466 |
wp.element.createElement(
|
108467 |
"h2",
|
108468 |
null,
|
108469 |
-
__("Field Padding (px)")
|
108470 |
),
|
108471 |
wp.element.createElement(RangeControl, {
|
108472 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -108494,9 +108489,9 @@ var UAGBCF7 = function (_Component) {
|
|
108494 |
|
108495 |
var radio_check_setting = wp.element.createElement(
|
108496 |
PanelBody,
|
108497 |
-
{ title: __("Radio & Checkbox"), initialOpen: false },
|
108498 |
wp.element.createElement(ToggleControl, {
|
108499 |
-
label: __("Override Current Style"),
|
108500 |
checked: enableOveride,
|
108501 |
onChange: function onChange(value) {
|
108502 |
return setAttributes({ enableOveride: !enableOveride });
|
@@ -108506,7 +108501,7 @@ var UAGBCF7 = function (_Component) {
|
|
108506 |
Fragment,
|
108507 |
null,
|
108508 |
wp.element.createElement(RangeControl, {
|
108509 |
-
label: __("Size"),
|
108510 |
value: radioCheckSize,
|
108511 |
onChange: function onChange(value) {
|
108512 |
return setAttributes({ radioCheckSize: value });
|
@@ -108519,10 +108514,10 @@ var UAGBCF7 = function (_Component) {
|
|
108519 |
wp.element.createElement(
|
108520 |
"h2",
|
108521 |
null,
|
108522 |
-
__("Radio & Checkbox Label")
|
108523 |
),
|
108524 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108525 |
-
label: __("Typography"),
|
108526 |
attributes: attributes,
|
108527 |
setAttributes: setAttributes,
|
108528 |
loadGoogleFonts: { value: radioCheckLoadGoogleFonts, label: 'radioCheckLoadGoogleFonts' },
|
@@ -108542,7 +108537,7 @@ var UAGBCF7 = function (_Component) {
|
|
108542 |
wp.element.createElement(
|
108543 |
"p",
|
108544 |
{ className: "uagb-setting-label" },
|
108545 |
-
__("Label Color"),
|
108546 |
wp.element.createElement(
|
108547 |
"span",
|
108548 |
{ className: "components-base-control__label" },
|
@@ -108559,7 +108554,7 @@ var UAGBCF7 = function (_Component) {
|
|
108559 |
wp.element.createElement(
|
108560 |
"p",
|
108561 |
{ className: "uagb-setting-label" },
|
108562 |
-
__("Background Color"),
|
108563 |
wp.element.createElement(
|
108564 |
"span",
|
108565 |
{ className: "components-base-control__label" },
|
@@ -108576,7 +108571,7 @@ var UAGBCF7 = function (_Component) {
|
|
108576 |
wp.element.createElement(
|
108577 |
"p",
|
108578 |
{ className: "uagb-setting-label" },
|
108579 |
-
__("Selected Color"),
|
108580 |
wp.element.createElement(
|
108581 |
"span",
|
108582 |
{ className: "components-base-control__label" },
|
@@ -108600,7 +108595,7 @@ var UAGBCF7 = function (_Component) {
|
|
108600 |
__("Radio & Checkbox Border")
|
108601 |
),
|
108602 |
wp.element.createElement(RangeControl, {
|
108603 |
-
label: __("Border Width (px)"),
|
108604 |
value: radioCheckBorderWidth,
|
108605 |
onChange: function onChange(value) {
|
108606 |
return setAttributes({ radioCheckBorderWidth: value });
|
@@ -108611,7 +108606,7 @@ var UAGBCF7 = function (_Component) {
|
|
108611 |
}),
|
108612 |
wp.element.createElement(
|
108613 |
ButtonGroup,
|
108614 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
108615 |
wp.element.createElement(
|
108616 |
Button,
|
108617 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: radioCheckBorderRadiusType === "px", "aria-pressed": radioCheckBorderRadiusType === "px", onClick: function onClick() {
|
@@ -108628,7 +108623,7 @@ var UAGBCF7 = function (_Component) {
|
|
108628 |
)
|
108629 |
),
|
108630 |
wp.element.createElement(RangeControl, {
|
108631 |
-
label: __("Border Radius"),
|
108632 |
value: radioCheckBorderRadius,
|
108633 |
onChange: function onChange(value) {
|
108634 |
return setAttributes({ radioCheckBorderRadius: value });
|
@@ -108640,7 +108635,7 @@ var UAGBCF7 = function (_Component) {
|
|
108640 |
wp.element.createElement(
|
108641 |
"p",
|
108642 |
{ className: "uagb-setting-label" },
|
108643 |
-
__("Border Color"),
|
108644 |
wp.element.createElement(
|
108645 |
"span",
|
108646 |
{ className: "components-base-control__label" },
|
@@ -108660,33 +108655,33 @@ var UAGBCF7 = function (_Component) {
|
|
108660 |
|
108661 |
var msg_settings = wp.element.createElement(
|
108662 |
PanelBody,
|
108663 |
-
{ title: __("Success / Error Message"), initialOpen: false },
|
108664 |
wp.element.createElement(
|
108665 |
"p",
|
108666 |
{ className: "uagb-settings-notice" },
|
108667 |
-
__("Note: This styling can be only seen at frontend")
|
108668 |
),
|
108669 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
108670 |
wp.element.createElement(
|
108671 |
"h2",
|
108672 |
null,
|
108673 |
-
__("Field Validation")
|
108674 |
),
|
108675 |
wp.element.createElement(SelectControl, {
|
108676 |
-
label: __("Validation Message Position"),
|
108677 |
value: validationMsgPosition,
|
108678 |
onChange: function onChange(value) {
|
108679 |
return setAttributes({ validationMsgPosition: value });
|
108680 |
},
|
108681 |
-
options: [{ value: "default", label: __("Default") }, { value: "bottom_right", label: __("Bottom Right Side of Field") }]
|
108682 |
}),
|
108683 |
wp.element.createElement(
|
108684 |
"h2",
|
108685 |
null,
|
108686 |
-
__("Validation Font")
|
108687 |
),
|
108688 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108689 |
-
label: __("Typography"),
|
108690 |
attributes: attributes,
|
108691 |
setAttributes: setAttributes,
|
108692 |
loadGoogleFonts: { value: validationMsgLoadGoogleFonts, label: 'validationMsgLoadGoogleFonts' },
|
@@ -108705,7 +108700,7 @@ var UAGBCF7 = function (_Component) {
|
|
108705 |
wp.element.createElement(
|
108706 |
"p",
|
108707 |
{ className: "uagb-setting-label" },
|
108708 |
-
__("Validation Message Color"),
|
108709 |
wp.element.createElement(
|
108710 |
"span",
|
108711 |
{ className: "components-base-control__label" },
|
@@ -108725,7 +108720,7 @@ var UAGBCF7 = function (_Component) {
|
|
108725 |
wp.element.createElement(
|
108726 |
"p",
|
108727 |
{ className: "uagb-setting-label" },
|
108728 |
-
__("Message Background Color"),
|
108729 |
wp.element.createElement(
|
108730 |
"span",
|
108731 |
{ className: "components-base-control__label" },
|
@@ -108742,7 +108737,7 @@ var UAGBCF7 = function (_Component) {
|
|
108742 |
),
|
108743 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
108744 |
wp.element.createElement(ToggleControl, {
|
108745 |
-
label: __("Highlight Borders"),
|
108746 |
checked: enableHighlightBorder,
|
108747 |
onChange: function onChange(value) {
|
108748 |
return setAttributes({ enableHighlightBorder: !enableHighlightBorder });
|
@@ -108754,7 +108749,7 @@ var UAGBCF7 = function (_Component) {
|
|
108754 |
wp.element.createElement(
|
108755 |
"p",
|
108756 |
{ className: "uagb-setting-label" },
|
108757 |
-
__("Highlight Border Color"),
|
108758 |
wp.element.createElement(
|
108759 |
"span",
|
108760 |
{ className: "components-base-control__label" },
|
@@ -108773,10 +108768,10 @@ var UAGBCF7 = function (_Component) {
|
|
108773 |
wp.element.createElement(
|
108774 |
"h2",
|
108775 |
null,
|
108776 |
-
__("Form Success / Error Validation")
|
108777 |
),
|
108778 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108779 |
-
label: __("Typography"),
|
108780 |
attributes: attributes,
|
108781 |
setAttributes: setAttributes,
|
108782 |
loadGoogleFonts: { value: msgLoadGoogleFonts, label: 'msgLoadGoogleFonts' },
|
@@ -108796,12 +108791,12 @@ var UAGBCF7 = function (_Component) {
|
|
108796 |
wp.element.createElement(
|
108797 |
"h2",
|
108798 |
null,
|
108799 |
-
__("Success Message")
|
108800 |
),
|
108801 |
wp.element.createElement(
|
108802 |
"p",
|
108803 |
{ className: "uagb-setting-label" },
|
108804 |
-
__("Message Color"),
|
108805 |
wp.element.createElement(
|
108806 |
"span",
|
108807 |
{ className: "components-base-control__label" },
|
@@ -108818,7 +108813,7 @@ var UAGBCF7 = function (_Component) {
|
|
108818 |
wp.element.createElement(
|
108819 |
"p",
|
108820 |
{ className: "uagb-setting-label" },
|
108821 |
-
__("Message Background Color"),
|
108822 |
wp.element.createElement(
|
108823 |
"span",
|
108824 |
{ className: "components-base-control__label" },
|
@@ -108835,7 +108830,7 @@ var UAGBCF7 = function (_Component) {
|
|
108835 |
wp.element.createElement(
|
108836 |
"p",
|
108837 |
{ className: "uagb-setting-label" },
|
108838 |
-
__("Message Border Color"),
|
108839 |
wp.element.createElement(
|
108840 |
"span",
|
108841 |
{ className: "components-base-control__label" },
|
@@ -108853,12 +108848,12 @@ var UAGBCF7 = function (_Component) {
|
|
108853 |
wp.element.createElement(
|
108854 |
"h2",
|
108855 |
null,
|
108856 |
-
__("Error Message")
|
108857 |
),
|
108858 |
wp.element.createElement(
|
108859 |
"p",
|
108860 |
{ className: "uagb-setting-label" },
|
108861 |
-
__("Message Color"),
|
108862 |
wp.element.createElement(
|
108863 |
"span",
|
108864 |
{ className: "components-base-control__label" },
|
@@ -108875,7 +108870,7 @@ var UAGBCF7 = function (_Component) {
|
|
108875 |
wp.element.createElement(
|
108876 |
"p",
|
108877 |
{ className: "uagb-setting-label" },
|
108878 |
-
__("Message Background Color"),
|
108879 |
wp.element.createElement(
|
108880 |
"span",
|
108881 |
{ className: "components-base-control__label" },
|
@@ -108892,7 +108887,7 @@ var UAGBCF7 = function (_Component) {
|
|
108892 |
wp.element.createElement(
|
108893 |
"p",
|
108894 |
{ className: "uagb-setting-label" },
|
108895 |
-
__("Message Border Color"),
|
108896 |
wp.element.createElement(
|
108897 |
"span",
|
108898 |
{ className: "components-base-control__label" },
|
@@ -108908,7 +108903,7 @@ var UAGBCF7 = function (_Component) {
|
|
108908 |
}),
|
108909 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
108910 |
wp.element.createElement(RangeControl, {
|
108911 |
-
label: __("Message Border Width (px)"),
|
108912 |
value: msgBorderSize,
|
108913 |
onChange: function onChange(value) {
|
108914 |
return setAttributes({ msgBorderSize: value });
|
@@ -108919,7 +108914,7 @@ var UAGBCF7 = function (_Component) {
|
|
108919 |
}),
|
108920 |
wp.element.createElement(
|
108921 |
ButtonGroup,
|
108922 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
108923 |
wp.element.createElement(
|
108924 |
Button,
|
108925 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: msgBorderRadiusType === "px", "aria-pressed": msgBorderRadiusType === "px", onClick: function onClick() {
|
@@ -108936,7 +108931,7 @@ var UAGBCF7 = function (_Component) {
|
|
108936 |
)
|
108937 |
),
|
108938 |
wp.element.createElement(RangeControl, {
|
108939 |
-
label: __("Message Border Radius"),
|
108940 |
value: msgBorderRadius,
|
108941 |
onChange: function onChange(value) {
|
108942 |
return setAttributes({ msgBorderRadius: value });
|
@@ -108949,7 +108944,7 @@ var UAGBCF7 = function (_Component) {
|
|
108949 |
wp.element.createElement(
|
108950 |
"h2",
|
108951 |
null,
|
108952 |
-
__("Message Padding (px)")
|
108953 |
),
|
108954 |
wp.element.createElement(RangeControl, {
|
108955 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -109012,7 +109007,7 @@ var UAGBCF7 = function (_Component) {
|
|
109012 |
Placeholder,
|
109013 |
{
|
109014 |
icon: "admin-post",
|
109015 |
-
label: __("Loading")
|
109016 |
},
|
109017 |
wp.element.createElement(Spinner, null)
|
109018 |
)
|
@@ -109087,7 +109082,7 @@ var UAGBCF7 = function (_Component) {
|
|
109087 |
})(UAGBCF7));
|
109088 |
|
109089 |
/***/ }),
|
109090 |
-
/*
|
109091 |
/*!******************************************!*\
|
109092 |
!*** ./src/blocks/cf7-styler/styling.js ***!
|
109093 |
\******************************************/
|
@@ -109100,10 +109095,10 @@ var UAGBCF7 = function (_Component) {
|
|
109100 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
109101 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
109102 |
|
109103 |
-
/**
|
109104 |
-
* Set inline styles.
|
109105 |
-
* @param {object} props - The block object.
|
109106 |
-
* @return {object} The inline background type CSS.
|
109107 |
*/
|
109108 |
|
109109 |
|
@@ -109500,7 +109495,7 @@ function styling(props) {
|
|
109500 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
109501 |
|
109502 |
/***/ }),
|
109503 |
-
/*
|
109504 |
/*!*******************************************!*\
|
109505 |
!*** ./src/blocks/cf7-styler/editor.scss ***!
|
109506 |
\*******************************************/
|
@@ -109510,7 +109505,7 @@ function styling(props) {
|
|
109510 |
// removed by extract-text-webpack-plugin
|
109511 |
|
109512 |
/***/ }),
|
109513 |
-
/*
|
109514 |
/*!******************************************!*\
|
109515 |
!*** ./src/blocks/cf7-styler/style.scss ***!
|
109516 |
\******************************************/
|
@@ -109520,7 +109515,7 @@ function styling(props) {
|
|
109520 |
// removed by extract-text-webpack-plugin
|
109521 |
|
109522 |
/***/ }),
|
109523 |
-
/*
|
109524 |
/*!***************************************!*\
|
109525 |
!*** ./src/blocks/gf-styler/block.js ***!
|
109526 |
\***************************************/
|
@@ -109529,13 +109524,13 @@ function styling(props) {
|
|
109529 |
|
109530 |
"use strict";
|
109531 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
109532 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */
|
109533 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
109534 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
109535 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(/*! ./style.scss */
|
109536 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
|
109537 |
-
/**
|
109538 |
-
* BLOCK: Gravity Form Styler
|
109539 |
*/
|
109540 |
|
109541 |
// Import block dependencies and components.
|
@@ -109551,17 +109546,17 @@ var __ = wp.i18n.__;
|
|
109551 |
|
109552 |
var registerBlockType = wp.blocks.registerBlockType;
|
109553 |
|
109554 |
-
/**
|
109555 |
-
* Register: as Gutenberg Block.
|
109556 |
-
*
|
109557 |
-
* Registers a new block provided a unique name and an object defining its
|
109558 |
-
* behavior.
|
109559 |
-
*
|
109560 |
-
* @link https://wordpress.org/gutenberg/handbook/block-api/
|
109561 |
-
* @param {string} name Block name.
|
109562 |
-
* @param {Object} settings Block settings.
|
109563 |
-
* @return {?WPBlock} The block, if it has been successfully
|
109564 |
-
* registered; otherwise `undefined`.
|
109565 |
*/
|
109566 |
|
109567 |
if (uagb_blocks_info.blocks["uagb/gf-styler"]["is_active"]) {
|
@@ -109570,7 +109565,7 @@ if (uagb_blocks_info.blocks["uagb/gf-styler"]["is_active"]) {
|
|
109570 |
title: uagb_blocks_info.blocks["uagb/gf-styler"]["title"], // Block title.
|
109571 |
description: uagb_blocks_info.blocks["uagb/gf-styler"]["description"], // Block description.
|
109572 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].gf_styler,
|
109573 |
-
keywords: [__("GF styler"), __("gravity form styler"), __("uag")],
|
109574 |
supports: {
|
109575 |
anchor: true
|
109576 |
},
|
@@ -109584,7 +109579,7 @@ if (uagb_blocks_info.blocks["uagb/gf-styler"]["is_active"]) {
|
|
109584 |
}
|
109585 |
|
109586 |
/***/ }),
|
109587 |
-
/*
|
109588 |
/*!**************************************!*\
|
109589 |
!*** ./src/blocks/gf-styler/edit.js ***!
|
109590 |
\**************************************/
|
@@ -109600,7 +109595,7 @@ if (uagb_blocks_info.blocks["uagb/gf-styler"]["is_active"]) {
|
|
109600 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
109601 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
109602 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_lodash_map__);
|
109603 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styling__ = __webpack_require__(/*! ./styling */
|
109604 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
109605 |
|
109606 |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
@@ -109661,8 +109656,8 @@ var UAGBGF = function (_Component) {
|
|
109661 |
return _this;
|
109662 |
}
|
109663 |
|
109664 |
-
/*
|
109665 |
-
* Event to set Image as while adding.
|
109666 |
*/
|
109667 |
|
109668 |
|
@@ -109918,25 +109913,25 @@ var UAGBGF = function (_Component) {
|
|
109918 |
|
109919 |
var field_border_setting = wp.element.createElement(
|
109920 |
PanelBody,
|
109921 |
-
{ title: __("Field Style & Border"), initialOpen: false },
|
109922 |
wp.element.createElement(SelectControl, {
|
109923 |
-
label: __("Field Style"),
|
109924 |
value: fieldStyle,
|
109925 |
onChange: function onChange(value) {
|
109926 |
return setAttributes({ fieldStyle: value });
|
109927 |
},
|
109928 |
-
options: [{ value: "box", label: __("Box") }, { value: "underline", label: __("Underline") }]
|
109929 |
}),
|
109930 |
fieldStyle == "box" && wp.element.createElement(SelectControl, {
|
109931 |
-
label: __("Border Style"),
|
109932 |
value: fieldBorderStyle,
|
109933 |
onChange: function onChange(value) {
|
109934 |
return setAttributes({ fieldBorderStyle: value });
|
109935 |
},
|
109936 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
109937 |
}),
|
109938 |
("none" != fieldBorderStyle || fieldStyle == "underline") && wp.element.createElement(RangeControl, {
|
109939 |
-
label: __("Border Width (px)"),
|
109940 |
value: fieldBorderWidth,
|
109941 |
onChange: function onChange(value) {
|
109942 |
return setAttributes({ fieldBorderWidth: value });
|
@@ -109947,7 +109942,7 @@ var UAGBGF = function (_Component) {
|
|
109947 |
}),
|
109948 |
wp.element.createElement(
|
109949 |
ButtonGroup,
|
109950 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
109951 |
wp.element.createElement(
|
109952 |
Button,
|
109953 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: fieldBorderRadiusType === "px", "aria-pressed": fieldBorderRadiusType === "px", onClick: function onClick() {
|
@@ -109964,7 +109959,7 @@ var UAGBGF = function (_Component) {
|
|
109964 |
)
|
109965 |
),
|
109966 |
wp.element.createElement(RangeControl, {
|
109967 |
-
label: __("Border Radius"),
|
109968 |
value: fieldBorderRadius,
|
109969 |
onChange: function onChange(value) {
|
109970 |
return setAttributes({ fieldBorderRadius: value });
|
@@ -109979,7 +109974,7 @@ var UAGBGF = function (_Component) {
|
|
109979 |
wp.element.createElement(
|
109980 |
"p",
|
109981 |
{ className: "uagb-setting-label" },
|
109982 |
-
__("Border Color"),
|
109983 |
wp.element.createElement(
|
109984 |
"span",
|
109985 |
{ className: "components-base-control__label" },
|
@@ -109997,7 +109992,7 @@ var UAGBGF = function (_Component) {
|
|
109997 |
wp.element.createElement(
|
109998 |
"p",
|
109999 |
{ className: "uagb-setting-label" },
|
110000 |
-
__("Active Border Color"),
|
110001 |
wp.element.createElement(
|
110002 |
"span",
|
110003 |
{ className: "components-base-control__label" },
|
@@ -110015,7 +110010,7 @@ var UAGBGF = function (_Component) {
|
|
110015 |
|
110016 |
var typography_settings = wp.element.createElement(
|
110017 |
PanelBody,
|
110018 |
-
{ title: __("Content"), initialOpen: false },
|
110019 |
wp.element.createElement(ToggleControl, {
|
110020 |
label: "Hide Label?",
|
110021 |
checked: enableLabel,
|
@@ -110029,10 +110024,10 @@ var UAGBGF = function (_Component) {
|
|
110029 |
wp.element.createElement(
|
110030 |
"h2",
|
110031 |
null,
|
110032 |
-
__("Label")
|
110033 |
),
|
110034 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110035 |
-
label: __("Typography"),
|
110036 |
attributes: attributes,
|
110037 |
setAttributes: setAttributes,
|
110038 |
loadGoogleFonts: { value: labelLoadGoogleFonts, label: 'labelLoadGoogleFonts' },
|
@@ -110051,7 +110046,7 @@ var UAGBGF = function (_Component) {
|
|
110051 |
wp.element.createElement(
|
110052 |
"p",
|
110053 |
{ className: "uagb-setting-label" },
|
110054 |
-
__("Color"),
|
110055 |
wp.element.createElement(
|
110056 |
"span",
|
110057 |
{ className: "components-base-control__label" },
|
@@ -110070,7 +110065,7 @@ var UAGBGF = function (_Component) {
|
|
110070 |
wp.element.createElement(
|
110071 |
"h2",
|
110072 |
null,
|
110073 |
-
__("Input")
|
110074 |
),
|
110075 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110076 |
label: __("Typography"),
|
@@ -110092,7 +110087,7 @@ var UAGBGF = function (_Component) {
|
|
110092 |
wp.element.createElement(
|
110093 |
"p",
|
110094 |
{ className: "uagb-setting-label" },
|
110095 |
-
__("Color"),
|
110096 |
wp.element.createElement(
|
110097 |
"span",
|
110098 |
{ className: "components-base-control__label" },
|
@@ -110109,7 +110104,7 @@ var UAGBGF = function (_Component) {
|
|
110109 |
wp.element.createElement(
|
110110 |
"p",
|
110111 |
{ className: "uagb-setting-label" },
|
110112 |
-
__("Background Color"),
|
110113 |
wp.element.createElement(
|
110114 |
"span",
|
110115 |
{ className: "components-base-control__label" },
|
@@ -110124,7 +110119,7 @@ var UAGBGF = function (_Component) {
|
|
110124 |
allowReset: true
|
110125 |
}),
|
110126 |
wp.element.createElement(RangeControl, {
|
110127 |
-
label: __("TextArea Height"),
|
110128 |
value: textAreaHeight,
|
110129 |
onChange: function onChange(value) {
|
110130 |
return setAttributes({ textAreaHeight: value });
|
@@ -110137,9 +110132,9 @@ var UAGBGF = function (_Component) {
|
|
110137 |
|
110138 |
var field_settings = wp.element.createElement(
|
110139 |
PanelBody,
|
110140 |
-
{ title: __("General") },
|
110141 |
wp.element.createElement(SelectControl, {
|
110142 |
-
label: __("Select Form"),
|
110143 |
value: formId,
|
110144 |
onChange: this.onSelectForm,
|
110145 |
options: uagb_blocks_info.gf_forms
|
@@ -110159,7 +110154,7 @@ var UAGBGF = function (_Component) {
|
|
110159 |
}
|
110160 |
}),
|
110161 |
enableTabSupport && wp.element.createElement(RangeControl, {
|
110162 |
-
label: __("Tab Index"),
|
110163 |
value: formTabIndex,
|
110164 |
onChange: function onChange(value) {
|
110165 |
setAttributes({
|
@@ -110170,20 +110165,20 @@ var UAGBGF = function (_Component) {
|
|
110170 |
max: 500
|
110171 |
}),
|
110172 |
wp.element.createElement(SelectControl, {
|
110173 |
-
label: __("Form Title & Description"),
|
110174 |
value: titleDescStyle,
|
110175 |
onChange: function onChange(value) {
|
110176 |
return setAttributes({ titleDescStyle: value });
|
110177 |
},
|
110178 |
-
options: [{ value: "yes", label: __("Show") }, { value: "none", label: __("Hide") }]
|
110179 |
}),
|
110180 |
titleDescStyle !== "none" && wp.element.createElement(SelectControl, {
|
110181 |
-
label: __("Form Title & Description Alignment"),
|
110182 |
value: titleDescAlignment,
|
110183 |
onChange: function onChange(value) {
|
110184 |
return setAttributes({ titleDescAlignment: value });
|
110185 |
},
|
110186 |
-
options: [{ value: "center", label: __("Center") }, { value: "left", label: __("Left") }, { value: "right", label: __("Right") }]
|
110187 |
})
|
110188 |
);
|
110189 |
|
@@ -110195,7 +110190,7 @@ var UAGBGF = function (_Component) {
|
|
110195 |
Placeholder,
|
110196 |
{
|
110197 |
icon: "admin-post",
|
110198 |
-
label: __("Select a Gravity Form")
|
110199 |
},
|
110200 |
wp.element.createElement(SelectControl, {
|
110201 |
value: formId,
|
@@ -110211,15 +110206,15 @@ var UAGBGF = function (_Component) {
|
|
110211 |
Fragment,
|
110212 |
null,
|
110213 |
wp.element.createElement(SelectControl, {
|
110214 |
-
label: __("Border Style"),
|
110215 |
value: buttonBorderStyle,
|
110216 |
onChange: function onChange(value) {
|
110217 |
return setAttributes({ buttonBorderStyle: value });
|
110218 |
},
|
110219 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
110220 |
}),
|
110221 |
"none" != buttonBorderStyle && wp.element.createElement(RangeControl, {
|
110222 |
-
label: __("Border Width (px)"),
|
110223 |
value: buttonBorderWidth,
|
110224 |
onChange: function onChange(value) {
|
110225 |
return setAttributes({ buttonBorderWidth: value });
|
@@ -110230,7 +110225,7 @@ var UAGBGF = function (_Component) {
|
|
110230 |
}),
|
110231 |
wp.element.createElement(
|
110232 |
ButtonGroup,
|
110233 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
110234 |
wp.element.createElement(
|
110235 |
Button,
|
110236 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: buttonBorderRadiusType === "px", "aria-pressed": buttonBorderRadiusType === "px", onClick: function onClick() {
|
@@ -110247,7 +110242,7 @@ var UAGBGF = function (_Component) {
|
|
110247 |
)
|
110248 |
),
|
110249 |
wp.element.createElement(RangeControl, {
|
110250 |
-
label: __("Border Radius"),
|
110251 |
value: buttonBorderRadius,
|
110252 |
onChange: function onChange(value) {
|
110253 |
return setAttributes({ buttonBorderRadius: value });
|
@@ -110264,7 +110259,7 @@ var UAGBGF = function (_Component) {
|
|
110264 |
wp.element.createElement(
|
110265 |
"p",
|
110266 |
{ className: "uagb-setting-label" },
|
110267 |
-
__("Text Color"),
|
110268 |
wp.element.createElement(
|
110269 |
"span",
|
110270 |
{ className: "components-base-control__label" },
|
@@ -110281,7 +110276,7 @@ var UAGBGF = function (_Component) {
|
|
110281 |
wp.element.createElement(
|
110282 |
"p",
|
110283 |
{ className: "uagb-setting-label" },
|
110284 |
-
__("Background Color"),
|
110285 |
wp.element.createElement(
|
110286 |
"span",
|
110287 |
{ className: "components-base-control__label" },
|
@@ -110301,7 +110296,7 @@ var UAGBGF = function (_Component) {
|
|
110301 |
wp.element.createElement(
|
110302 |
"p",
|
110303 |
{ className: "uagb-setting-label" },
|
110304 |
-
__("Border Color"),
|
110305 |
wp.element.createElement(
|
110306 |
"span",
|
110307 |
{ className: "components-base-control__label" },
|
@@ -110324,7 +110319,7 @@ var UAGBGF = function (_Component) {
|
|
110324 |
wp.element.createElement(
|
110325 |
"p",
|
110326 |
{ className: "uagb-setting-label" },
|
110327 |
-
__("Text Hover Color"),
|
110328 |
wp.element.createElement(
|
110329 |
"span",
|
110330 |
{ className: "components-base-control__label" },
|
@@ -110341,7 +110336,7 @@ var UAGBGF = function (_Component) {
|
|
110341 |
wp.element.createElement(
|
110342 |
"p",
|
110343 |
{ className: "uagb-setting-label" },
|
110344 |
-
__("Background Hover Color"),
|
110345 |
wp.element.createElement(
|
110346 |
"span",
|
110347 |
{ className: "components-base-control__label" },
|
@@ -110361,7 +110356,7 @@ var UAGBGF = function (_Component) {
|
|
110361 |
wp.element.createElement(
|
110362 |
"p",
|
110363 |
{ className: "uagb-setting-label" },
|
110364 |
-
__("Border Hover Color"),
|
110365 |
wp.element.createElement(
|
110366 |
"span",
|
110367 |
{ className: "components-base-control__label" },
|
@@ -110380,22 +110375,22 @@ var UAGBGF = function (_Component) {
|
|
110380 |
|
110381 |
var btn_setting = wp.element.createElement(
|
110382 |
PanelBody,
|
110383 |
-
{ title: __("Submit Button"), initialOpen: false },
|
110384 |
wp.element.createElement(SelectControl, {
|
110385 |
-
label: __("Button Alignment"),
|
110386 |
value: buttonAlignment,
|
110387 |
onChange: function onChange(value) {
|
110388 |
return setAttributes({ buttonAlignment: value });
|
110389 |
},
|
110390 |
-
options: [{ value: "center", label: __("Center") }, { value: "left", label: __("Left") }, { value: "right", label: __("Right") }, { value: "justify", label: __("Justified") }]
|
110391 |
}),
|
110392 |
wp.element.createElement(
|
110393 |
"h2",
|
110394 |
null,
|
110395 |
-
__("Button Font")
|
110396 |
),
|
110397 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110398 |
-
label: __("Typography"),
|
110399 |
attributes: attributes,
|
110400 |
setAttributes: setAttributes,
|
110401 |
loadGoogleFonts: { value: buttonLoadGoogleFonts, label: 'buttonLoadGoogleFonts' },
|
@@ -110420,11 +110415,11 @@ var UAGBGF = function (_Component) {
|
|
110420 |
activeClass: "active-tab",
|
110421 |
tabs: [{
|
110422 |
name: "normal",
|
110423 |
-
title: __("Normal"),
|
110424 |
className: "uagb-normal-tab"
|
110425 |
}, {
|
110426 |
name: "hover",
|
110427 |
-
title: __("Hover"),
|
110428 |
className: "uagb-focus-tab"
|
110429 |
}] },
|
110430 |
function (tabName) {
|
@@ -110445,7 +110440,7 @@ var UAGBGF = function (_Component) {
|
|
110445 |
wp.element.createElement(
|
110446 |
"h2",
|
110447 |
null,
|
110448 |
-
__("Button Padding (px)")
|
110449 |
),
|
110450 |
wp.element.createElement(RangeControl, {
|
110451 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -110473,9 +110468,9 @@ var UAGBGF = function (_Component) {
|
|
110473 |
|
110474 |
var spacing = wp.element.createElement(
|
110475 |
PanelBody,
|
110476 |
-
{ title: __("Spacing"), initialOpen: false },
|
110477 |
wp.element.createElement(RangeControl, {
|
110478 |
-
label: __("Label & Input Space"),
|
110479 |
value: fieldLabelSpacing,
|
110480 |
onChange: function onChange(value) {
|
110481 |
return setAttributes({ fieldLabelSpacing: value });
|
@@ -110485,7 +110480,7 @@ var UAGBGF = function (_Component) {
|
|
110485 |
allowReset: true
|
110486 |
}),
|
110487 |
wp.element.createElement(RangeControl, {
|
110488 |
-
label: __("Fields Space"),
|
110489 |
value: fieldSpacing,
|
110490 |
onChange: function onChange(value) {
|
110491 |
return setAttributes({ fieldSpacing: value });
|
@@ -110498,7 +110493,7 @@ var UAGBGF = function (_Component) {
|
|
110498 |
wp.element.createElement(
|
110499 |
"h2",
|
110500 |
null,
|
110501 |
-
__("Field Padding (px)")
|
110502 |
),
|
110503 |
wp.element.createElement(RangeControl, {
|
110504 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -110526,9 +110521,9 @@ var UAGBGF = function (_Component) {
|
|
110526 |
|
110527 |
var radio_check_setting = wp.element.createElement(
|
110528 |
PanelBody,
|
110529 |
-
{ title: __("Radio & Checkbox"), initialOpen: false },
|
110530 |
wp.element.createElement(ToggleControl, {
|
110531 |
-
label: __("Override Current Style"),
|
110532 |
checked: enableOveride,
|
110533 |
onChange: function onChange(value) {
|
110534 |
return setAttributes({ enableOveride: !enableOveride });
|
@@ -110538,7 +110533,7 @@ var UAGBGF = function (_Component) {
|
|
110538 |
Fragment,
|
110539 |
null,
|
110540 |
wp.element.createElement(RangeControl, {
|
110541 |
-
label: __("Size"),
|
110542 |
value: radioCheckSize,
|
110543 |
onChange: function onChange(value) {
|
110544 |
return setAttributes({ radioCheckSize: value });
|
@@ -110551,10 +110546,10 @@ var UAGBGF = function (_Component) {
|
|
110551 |
wp.element.createElement(
|
110552 |
"h2",
|
110553 |
null,
|
110554 |
-
__("Radio & Checkbox Label")
|
110555 |
),
|
110556 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110557 |
-
label: __("Typography"),
|
110558 |
attributes: attributes,
|
110559 |
setAttributes: setAttributes,
|
110560 |
loadGoogleFonts: { value: radioCheckLoadGoogleFonts, label: 'radioCheckLoadGoogleFonts' },
|
@@ -110574,7 +110569,7 @@ var UAGBGF = function (_Component) {
|
|
110574 |
wp.element.createElement(
|
110575 |
"p",
|
110576 |
{ className: "uagb-setting-label" },
|
110577 |
-
__("Label Color"),
|
110578 |
wp.element.createElement(
|
110579 |
"span",
|
110580 |
{ className: "components-base-control__label" },
|
@@ -110591,7 +110586,7 @@ var UAGBGF = function (_Component) {
|
|
110591 |
wp.element.createElement(
|
110592 |
"p",
|
110593 |
{ className: "uagb-setting-label" },
|
110594 |
-
__("Background Color"),
|
110595 |
wp.element.createElement(
|
110596 |
"span",
|
110597 |
{ className: "components-base-control__label" },
|
@@ -110608,7 +110603,7 @@ var UAGBGF = function (_Component) {
|
|
110608 |
wp.element.createElement(
|
110609 |
"p",
|
110610 |
{ className: "uagb-setting-label" },
|
110611 |
-
__("Selected Color"),
|
110612 |
wp.element.createElement(
|
110613 |
"span",
|
110614 |
{ className: "components-base-control__label" },
|
@@ -110632,7 +110627,7 @@ var UAGBGF = function (_Component) {
|
|
110632 |
__("Radio & Checkbox Border")
|
110633 |
),
|
110634 |
wp.element.createElement(RangeControl, {
|
110635 |
-
label: __("Border Width (px)"),
|
110636 |
value: radioCheckBorderWidth,
|
110637 |
onChange: function onChange(value) {
|
110638 |
return setAttributes({ radioCheckBorderWidth: value });
|
@@ -110643,7 +110638,7 @@ var UAGBGF = function (_Component) {
|
|
110643 |
}),
|
110644 |
wp.element.createElement(
|
110645 |
ButtonGroup,
|
110646 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
110647 |
wp.element.createElement(
|
110648 |
Button,
|
110649 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: radioCheckBorderRadiusType === "px", "aria-pressed": radioCheckBorderRadiusType === "px", onClick: function onClick() {
|
@@ -110660,7 +110655,7 @@ var UAGBGF = function (_Component) {
|
|
110660 |
)
|
110661 |
),
|
110662 |
wp.element.createElement(RangeControl, {
|
110663 |
-
label: __("Border Radius"),
|
110664 |
value: radioCheckBorderRadius,
|
110665 |
onChange: function onChange(value) {
|
110666 |
return setAttributes({ radioCheckBorderRadius: value });
|
@@ -110672,7 +110667,7 @@ var UAGBGF = function (_Component) {
|
|
110672 |
wp.element.createElement(
|
110673 |
"p",
|
110674 |
{ className: "uagb-setting-label" },
|
110675 |
-
__("Border Color"),
|
110676 |
wp.element.createElement(
|
110677 |
"span",
|
110678 |
{ className: "components-base-control__label" },
|
@@ -110692,22 +110687,22 @@ var UAGBGF = function (_Component) {
|
|
110692 |
|
110693 |
var msg_settings = wp.element.createElement(
|
110694 |
PanelBody,
|
110695 |
-
{ title: __("Success / Error Message"), initialOpen: false },
|
110696 |
wp.element.createElement(
|
110697 |
"p",
|
110698 |
{ className: "uagb-settings-notice" },
|
110699 |
-
__("Note: This styling can be only seen on frontend")
|
110700 |
),
|
110701 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
110702 |
wp.element.createElement(
|
110703 |
"h2",
|
110704 |
null,
|
110705 |
-
__("Field Validation")
|
110706 |
),
|
110707 |
wp.element.createElement(
|
110708 |
"p",
|
110709 |
{ className: "uagb-setting-label" },
|
110710 |
-
__("Message Color"),
|
110711 |
wp.element.createElement(
|
110712 |
"span",
|
110713 |
{ className: "components-base-control__label" },
|
@@ -110739,7 +110734,7 @@ var UAGBGF = function (_Component) {
|
|
110739 |
lineHeightTablet: { value: validationMsgLineHeightTablet, label: 'validationMsgLineHeightTablet' }
|
110740 |
}),
|
110741 |
wp.element.createElement(ToggleControl, {
|
110742 |
-
label: __("Advanced Settings"),
|
110743 |
checked: advancedValidationSettings,
|
110744 |
onChange: function onChange(value) {
|
110745 |
return setAttributes({ advancedValidationSettings: !advancedValidationSettings });
|
@@ -110751,7 +110746,7 @@ var UAGBGF = function (_Component) {
|
|
110751 |
wp.element.createElement(
|
110752 |
"p",
|
110753 |
{ className: "uagb-setting-label" },
|
110754 |
-
__("Field Background Color"),
|
110755 |
wp.element.createElement(
|
110756 |
"span",
|
110757 |
{ className: "components-base-control__label" },
|
@@ -110772,7 +110767,7 @@ var UAGBGF = function (_Component) {
|
|
110772 |
wp.element.createElement(
|
110773 |
"p",
|
110774 |
{ className: "uagb-setting-label" },
|
110775 |
-
__("Highlight Border Color"),
|
110776 |
wp.element.createElement(
|
110777 |
"span",
|
110778 |
{ className: "components-base-control__label" },
|
@@ -110791,12 +110786,12 @@ var UAGBGF = function (_Component) {
|
|
110791 |
wp.element.createElement(
|
110792 |
"h2",
|
110793 |
null,
|
110794 |
-
__("Form Error Validation")
|
110795 |
),
|
110796 |
wp.element.createElement(
|
110797 |
"p",
|
110798 |
{ className: "uagb-setting-label" },
|
110799 |
-
__("Error Message Color"),
|
110800 |
wp.element.createElement(
|
110801 |
"span",
|
110802 |
{ className: "components-base-control__label" },
|
@@ -110813,7 +110808,7 @@ var UAGBGF = function (_Component) {
|
|
110813 |
wp.element.createElement(
|
110814 |
"p",
|
110815 |
{ className: "uagb-setting-label" },
|
110816 |
-
__("Error Message Background Color"),
|
110817 |
wp.element.createElement(
|
110818 |
"span",
|
110819 |
{ className: "components-base-control__label" },
|
@@ -110845,7 +110840,7 @@ var UAGBGF = function (_Component) {
|
|
110845 |
allowReset: true
|
110846 |
}),
|
110847 |
wp.element.createElement(RangeControl, {
|
110848 |
-
label: __("Message Border Width (px)"),
|
110849 |
value: msgBorderSize,
|
110850 |
onChange: function onChange(value) {
|
110851 |
return setAttributes({ msgBorderSize: value });
|
@@ -110873,7 +110868,7 @@ var UAGBGF = function (_Component) {
|
|
110873 |
)
|
110874 |
),
|
110875 |
wp.element.createElement(RangeControl, {
|
110876 |
-
label: __("Message Border Radius"),
|
110877 |
value: msgBorderRadius,
|
110878 |
onChange: function onChange(value) {
|
110879 |
return setAttributes({ msgBorderRadius: value });
|
@@ -110885,7 +110880,7 @@ var UAGBGF = function (_Component) {
|
|
110885 |
wp.element.createElement(
|
110886 |
"h2",
|
110887 |
null,
|
110888 |
-
__("Message Padding (px)")
|
110889 |
),
|
110890 |
wp.element.createElement(RangeControl, {
|
110891 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -110910,7 +110905,7 @@ var UAGBGF = function (_Component) {
|
|
110910 |
allowReset: true
|
110911 |
}),
|
110912 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110913 |
-
label: __("Typography"),
|
110914 |
attributes: attributes,
|
110915 |
setAttributes: setAttributes,
|
110916 |
loadGoogleFonts: { value: msgLoadGoogleFonts, label: 'msgLoadGoogleFonts' },
|
@@ -110930,12 +110925,12 @@ var UAGBGF = function (_Component) {
|
|
110930 |
wp.element.createElement(
|
110931 |
"h2",
|
110932 |
null,
|
110933 |
-
__("Form Success Validation")
|
110934 |
),
|
110935 |
wp.element.createElement(
|
110936 |
"p",
|
110937 |
{ className: "uagb-setting-label" },
|
110938 |
-
__("Success Message Color"),
|
110939 |
wp.element.createElement(
|
110940 |
"span",
|
110941 |
{ className: "components-base-control__label" },
|
@@ -110950,7 +110945,7 @@ var UAGBGF = function (_Component) {
|
|
110950 |
allowReset: true
|
110951 |
}),
|
110952 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110953 |
-
label: __("Success Message Typography"),
|
110954 |
attributes: attributes,
|
110955 |
setAttributes: setAttributes,
|
110956 |
loadGoogleFonts: { value: successMsgLoadGoogleFonts, label: 'successMsgLoadGoogleFonts' },
|
@@ -111005,7 +111000,7 @@ var UAGBGF = function (_Component) {
|
|
111005 |
Placeholder,
|
111006 |
{
|
111007 |
icon: "admin-post",
|
111008 |
-
label: __("Loading")
|
111009 |
},
|
111010 |
wp.element.createElement(Spinner, null)
|
111011 |
)
|
@@ -111081,7 +111076,7 @@ var UAGBGF = function (_Component) {
|
|
111081 |
})(UAGBGF));
|
111082 |
|
111083 |
/***/ }),
|
111084 |
-
/*
|
111085 |
/*!*****************************************!*\
|
111086 |
!*** ./src/blocks/gf-styler/styling.js ***!
|
111087 |
\*****************************************/
|
@@ -111094,10 +111089,10 @@ var UAGBGF = function (_Component) {
|
|
111094 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
111095 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
111096 |
|
111097 |
-
/**
|
111098 |
-
* Set inline styles.
|
111099 |
-
* @param {object} props - The block object.
|
111100 |
-
* @return {object} The inline background type CSS.
|
111101 |
*/
|
111102 |
|
111103 |
|
@@ -111724,7 +111719,7 @@ function styling(props) {
|
|
111724 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
111725 |
|
111726 |
/***/ }),
|
111727 |
-
/*
|
111728 |
/*!******************************************!*\
|
111729 |
!*** ./src/blocks/gf-styler/editor.scss ***!
|
111730 |
\******************************************/
|
@@ -111734,7 +111729,7 @@ function styling(props) {
|
|
111734 |
// removed by extract-text-webpack-plugin
|
111735 |
|
111736 |
/***/ }),
|
111737 |
-
/*
|
111738 |
/*!*****************************************!*\
|
111739 |
!*** ./src/blocks/gf-styler/style.scss ***!
|
111740 |
\*****************************************/
|
@@ -111744,7 +111739,7 @@ function styling(props) {
|
|
111744 |
// removed by extract-text-webpack-plugin
|
111745 |
|
111746 |
/***/ }),
|
111747 |
-
/*
|
111748 |
/*!****************************************!*\
|
111749 |
!*** ./src/blocks/blockquote/block.js ***!
|
111750 |
\****************************************/
|
@@ -111753,16 +111748,16 @@ function styling(props) {
|
|
111753 |
|
111754 |
"use strict";
|
111755 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
111756 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */
|
111757 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__deprecated__ = __webpack_require__(/*! ./deprecated */
|
111758 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */
|
111759 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__attributes__ = __webpack_require__(/*! ./attributes */ 226);
|
111760 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
111761 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
111762 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */
|
111763 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
|
111764 |
-
/**
|
111765 |
-
* BLOCK: Quote
|
111766 |
*/
|
111767 |
|
111768 |
// Import block dependencies and components.
|
@@ -111779,26 +111774,28 @@ var __ = wp.i18n.__;
|
|
111779 |
|
111780 |
// Import registerBlockType() from wp.blocks
|
111781 |
|
111782 |
-
var
|
111783 |
-
|
111784 |
-
|
111785 |
-
|
111786 |
-
|
111787 |
-
*
|
111788 |
-
*
|
111789 |
-
*
|
111790 |
-
*
|
111791 |
-
*
|
111792 |
-
* @
|
111793 |
-
* @
|
111794 |
-
*
|
|
|
|
|
111795 |
*/
|
111796 |
|
111797 |
registerBlockType("uagb/blockquote", {
|
111798 |
title: uagb_blocks_info.blocks["uagb/blockquote"]["title"],
|
111799 |
description: uagb_blocks_info.blocks["uagb/blockquote"]["description"],
|
111800 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].blockquote,
|
111801 |
-
keywords: [__("blockquote"), __("quote"), __("uagb")],
|
111802 |
supports: {
|
111803 |
anchor: true
|
111804 |
},
|
@@ -111807,11 +111804,53 @@ registerBlockType("uagb/blockquote", {
|
|
111807 |
edit: __WEBPACK_IMPORTED_MODULE_1__edit__["a" /* default */],
|
111808 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
111809 |
example: {},
|
111810 |
-
deprecated: __WEBPACK_IMPORTED_MODULE_2__deprecated__["a" /* default */]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111811 |
});
|
111812 |
|
111813 |
/***/ }),
|
111814 |
-
/*
|
111815 |
/*!***************************************!*\
|
111816 |
!*** ./src/blocks/blockquote/edit.js ***!
|
111817 |
\***************************************/
|
@@ -111826,7 +111865,7 @@ registerBlockType("uagb/blockquote", {
|
|
111826 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_Description__ = __webpack_require__(/*! ./components/Description */ 126);
|
111827 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_AuthorText__ = __webpack_require__(/*! ./components/AuthorText */ 127);
|
111828 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_AuthorImage__ = __webpack_require__(/*! ./components/AuthorImage */ 128);
|
111829 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styling__ = __webpack_require__(/*! ./styling */
|
111830 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
111831 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_map__);
|
111832 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
@@ -111897,8 +111936,8 @@ var UAGBBlockQuote = function (_Component) {
|
|
111897 |
return _this;
|
111898 |
}
|
111899 |
|
111900 |
-
/*
|
111901 |
-
* Event to set Image as null while removing.
|
111902 |
*/
|
111903 |
|
111904 |
|
@@ -111911,8 +111950,8 @@ var UAGBBlockQuote = function (_Component) {
|
|
111911 |
setAttributes({ authorImage: null });
|
111912 |
}
|
111913 |
|
111914 |
-
/*
|
111915 |
-
* Event to set Image as while adding.
|
111916 |
*/
|
111917 |
|
111918 |
}, {
|
@@ -112031,7 +112070,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112031 |
borderHoverColor = attributes.borderHoverColor;
|
112032 |
|
112033 |
|
112034 |
-
var sizeTypes = [{ key: "px", name: __("px") }, { key: "em", name: __("em") }];
|
112035 |
|
112036 |
var loadDescGoogleFonts = void 0;
|
112037 |
var loadAuthorGoogleFonts = void 0;
|
@@ -112072,7 +112111,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112072 |
|
112073 |
var quoteSizeTypeControls = wp.element.createElement(
|
112074 |
ButtonGroup,
|
112075 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
112076 |
__WEBPACK_IMPORTED_MODULE_6_lodash_map___default()(sizeTypes, function (_ref) {
|
112077 |
var name = _ref.name,
|
112078 |
key = _ref.key;
|
@@ -112095,7 +112134,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112095 |
|
112096 |
var quotePaddingControls = wp.element.createElement(
|
112097 |
ButtonGroup,
|
112098 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
112099 |
__WEBPACK_IMPORTED_MODULE_6_lodash_map___default()(sizeTypes, function (_ref2) {
|
112100 |
var name = _ref2.name,
|
112101 |
key = _ref2.key;
|
@@ -112116,17 +112155,17 @@ var UAGBBlockQuote = function (_Component) {
|
|
112116 |
})
|
112117 |
);
|
112118 |
|
112119 |
-
var image_name = __("Select Image");
|
112120 |
if (authorImage) {
|
112121 |
if (authorImage.url == null || authorImage.url == "") {
|
112122 |
-
image_name = __("Select Image");
|
112123 |
} else {
|
112124 |
-
image_name = __("Replace Image");
|
112125 |
}
|
112126 |
}
|
112127 |
|
112128 |
// Image sizes.
|
112129 |
-
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail") }, { value: "medium", label: __("Medium") }, { value: "full", label: __("Large") }];
|
112130 |
|
112131 |
var border_settings = wp.element.createElement(
|
112132 |
Fragment,
|
@@ -112134,18 +112173,18 @@ var UAGBBlockQuote = function (_Component) {
|
|
112134 |
wp.element.createElement(
|
112135 |
"h2",
|
112136 |
null,
|
112137 |
-
__("Modern Layout - Styling")
|
112138 |
),
|
112139 |
wp.element.createElement(SelectControl, {
|
112140 |
-
label: __("Quote Border Style"),
|
112141 |
value: borderStyle,
|
112142 |
onChange: function onChange(value) {
|
112143 |
return setAttributes({ borderStyle: value });
|
112144 |
},
|
112145 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
112146 |
}),
|
112147 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
112148 |
-
label: __("Thickness (px)"),
|
112149 |
value: borderWidth,
|
112150 |
onChange: function onChange(value) {
|
112151 |
return setAttributes({ borderWidth: value });
|
@@ -112162,7 +112201,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112162 |
wp.element.createElement(
|
112163 |
"h2",
|
112164 |
null,
|
112165 |
-
__("Quotation Layout - Styling")
|
112166 |
),
|
112167 |
wp.element.createElement(
|
112168 |
TabPanel,
|
@@ -112189,7 +112228,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112189 |
null,
|
112190 |
quoteSizeTypeControls,
|
112191 |
wp.element.createElement(RangeControl, {
|
112192 |
-
label: __("Quote Icon Size"),
|
112193 |
value: quoteSizeMobile,
|
112194 |
onChange: function onChange(value) {
|
112195 |
return setAttributes({ quoteSizeMobile: value });
|
@@ -112207,7 +112246,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112207 |
null,
|
112208 |
quoteSizeTypeControls,
|
112209 |
wp.element.createElement(RangeControl, {
|
112210 |
-
label: __("Quote Icon Size"),
|
112211 |
value: quoteSizeTablet,
|
112212 |
onChange: function onChange(value) {
|
112213 |
return setAttributes({ quoteSizeTablet: value });
|
@@ -112225,7 +112264,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112225 |
null,
|
112226 |
quoteSizeTypeControls,
|
112227 |
wp.element.createElement(RangeControl, {
|
112228 |
-
label: __("Quote Icon Size"),
|
112229 |
value: quoteSize,
|
112230 |
onChange: function onChange(value) {
|
112231 |
return setAttributes({ quoteSize: value });
|
@@ -112271,7 +112310,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112271 |
null,
|
112272 |
quotePaddingControls,
|
112273 |
wp.element.createElement(RangeControl, {
|
112274 |
-
label: __("Background Size"),
|
112275 |
value: quotePaddingMobile,
|
112276 |
onChange: function onChange(value) {
|
112277 |
return setAttributes({ quotePaddingMobile: value });
|
@@ -112289,7 +112328,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112289 |
null,
|
112290 |
quotePaddingControls,
|
112291 |
wp.element.createElement(RangeControl, {
|
112292 |
-
label: __("Background Size"),
|
112293 |
value: quotePaddingTablet,
|
112294 |
onChange: function onChange(value) {
|
112295 |
return setAttributes({ quotePaddingTablet: value });
|
@@ -112307,7 +112346,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112307 |
null,
|
112308 |
quotePaddingControls,
|
112309 |
wp.element.createElement(RangeControl, {
|
112310 |
-
label: __("Background Size"),
|
112311 |
value: quotePadding,
|
112312 |
onChange: function onChange(value) {
|
112313 |
return setAttributes({ quotePadding: value });
|
@@ -112329,7 +112368,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112329 |
}
|
112330 |
),
|
112331 |
quoteBgColor && wp.element.createElement(RangeControl, {
|
112332 |
-
label: __("Quote Icon Border Radius (%)"),
|
112333 |
value: quoteBorderRadius,
|
112334 |
onChange: function onChange(value) {
|
112335 |
return setAttributes({ quoteBorderRadius: value });
|
@@ -112342,10 +112381,10 @@ var UAGBBlockQuote = function (_Component) {
|
|
112342 |
|
112343 |
var skin_settings = wp.element.createElement(
|
112344 |
PanelBody,
|
112345 |
-
{ title: __("Layout") },
|
112346 |
wp.element.createElement(SelectControl, {
|
112347 |
-
label: __("Layout"),
|
112348 |
-
options: [{ value: "border", label: __("Modern") }, { value: "quotation", label: __("Quotation") }],
|
112349 |
value: skinStyle,
|
112350 |
onChange: function onChange(value) {
|
112351 |
return setAttributes({ skinStyle: value });
|
@@ -112361,7 +112400,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112361 |
wp.element.createElement(
|
112362 |
"h2",
|
112363 |
null,
|
112364 |
-
__("Quote Icon Colors")
|
112365 |
)
|
112366 |
),
|
112367 |
"none" != borderStyle && wp.element.createElement(
|
@@ -112370,11 +112409,11 @@ var UAGBBlockQuote = function (_Component) {
|
|
112370 |
activeClass: "active-tab",
|
112371 |
tabs: [{
|
112372 |
name: "normal",
|
112373 |
-
title: __("Normal"),
|
112374 |
className: "uagb-normal-tab"
|
112375 |
}, {
|
112376 |
name: "hover",
|
112377 |
-
title: __("Hover"),
|
112378 |
className: "uagb-hover-tab"
|
112379 |
}] },
|
112380 |
function (tabName) {
|
@@ -112393,10 +112432,10 @@ var UAGBBlockQuote = function (_Component) {
|
|
112393 |
),
|
112394 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
112395 |
wp.element.createElement(SelectControl, {
|
112396 |
-
label: __("Stack on"),
|
112397 |
value: stack,
|
112398 |
-
options: [{ value: "none", label: __("None") }, { value: "tablet", label: __("Tablet") }, { value: "mobile", label: __("Mobile") }],
|
112399 |
-
help: __("Note: Choose on what breakpoint the elements will stack."),
|
112400 |
onChange: function onChange(value) {
|
112401 |
return setAttributes({ stack: value });
|
112402 |
}
|
@@ -112410,9 +112449,9 @@ var UAGBBlockQuote = function (_Component) {
|
|
112410 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
112411 |
wp.element.createElement(
|
112412 |
BaseControl,
|
112413 |
-
{ className: "editor-bg-image-control", label: __("Author Image") },
|
112414 |
wp.element.createElement(MediaUpload, {
|
112415 |
-
title: __("Select Image"),
|
112416 |
onSelect: this.onSelectImage,
|
112417 |
allowedTypes: ["image"],
|
112418 |
value: authorImage,
|
@@ -112428,22 +112467,22 @@ var UAGBBlockQuote = function (_Component) {
|
|
112428 |
authorImage && authorImage.url !== "null" && authorImage.url !== "" && wp.element.createElement(
|
112429 |
Button,
|
112430 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
112431 |
-
__("Remove Image")
|
112432 |
)
|
112433 |
),
|
112434 |
authorImage && authorImage.url !== "null" && authorImage.url !== "" && wp.element.createElement(
|
112435 |
Fragment,
|
112436 |
null,
|
112437 |
wp.element.createElement(SelectControl, {
|
112438 |
-
label: __("Author Image Position"),
|
112439 |
value: authorImgPosition,
|
112440 |
onChange: function onChange(value) {
|
112441 |
return setAttributes({ authorImgPosition: value });
|
112442 |
},
|
112443 |
-
options: [{ value: "left", label: __("Left") }, { value: "right", label: __("Right") }, { value: "top", label: __("Top") }]
|
112444 |
}),
|
112445 |
wp.element.createElement(SelectControl, {
|
112446 |
-
label: __("Author Image Size"),
|
112447 |
options: imageSizeOptions,
|
112448 |
value: authorImageSize,
|
112449 |
onChange: function onChange(value) {
|
@@ -112451,7 +112490,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112451 |
}
|
112452 |
}),
|
112453 |
wp.element.createElement(RangeControl, {
|
112454 |
-
label: __("Author Image Width"),
|
112455 |
value: authorImageWidth,
|
112456 |
onChange: function onChange(value) {
|
112457 |
return setAttributes({ authorImageWidth: value });
|
@@ -112462,7 +112501,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112462 |
allowReset: true
|
112463 |
}),
|
112464 |
wp.element.createElement(RangeControl, {
|
112465 |
-
label: __("Author Image Rounded Corners"),
|
112466 |
value: authorImgBorderRadius,
|
112467 |
onChange: function onChange(value) {
|
112468 |
return setAttributes({ authorImgBorderRadius: value });
|
@@ -112484,7 +112523,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112484 |
wp.element.createElement(
|
112485 |
"p",
|
112486 |
{ className: "uagb-setting-label" },
|
112487 |
-
__("Border Color"),
|
112488 |
wp.element.createElement(
|
112489 |
"span",
|
112490 |
{ className: "components-base-control__label" },
|
@@ -112505,7 +112544,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112505 |
wp.element.createElement(
|
112506 |
"p",
|
112507 |
{ className: "uagb-setting-label" },
|
112508 |
-
__("Icon Color"),
|
112509 |
wp.element.createElement(
|
112510 |
"span",
|
112511 |
{ className: "components-base-control__label" },
|
@@ -112522,7 +112561,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112522 |
wp.element.createElement(
|
112523 |
"p",
|
112524 |
{ className: "uagb-setting-label" },
|
112525 |
-
__("Icon Background Color"),
|
112526 |
wp.element.createElement(
|
112527 |
"span",
|
112528 |
{ className: "components-base-control__label" },
|
@@ -112548,7 +112587,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112548 |
wp.element.createElement(
|
112549 |
"p",
|
112550 |
{ className: "uagb-setting-label" },
|
112551 |
-
__("Border Hover Color"),
|
112552 |
wp.element.createElement(
|
112553 |
"span",
|
112554 |
{ className: "components-base-control__label" },
|
@@ -112569,7 +112608,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112569 |
wp.element.createElement(
|
112570 |
"p",
|
112571 |
{ className: "uagb-setting-label" },
|
112572 |
-
__("Hover Color"),
|
112573 |
wp.element.createElement(
|
112574 |
"span",
|
112575 |
{ className: "components-base-control__label" },
|
@@ -112586,7 +112625,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112586 |
wp.element.createElement(
|
112587 |
"p",
|
112588 |
{ className: "uagb-setting-label" },
|
112589 |
-
__("Background Hover Color"),
|
112590 |
wp.element.createElement(
|
112591 |
"span",
|
112592 |
{ className: "components-base-control__label" },
|
@@ -112608,14 +112647,14 @@ var UAGBBlockQuote = function (_Component) {
|
|
112608 |
null,
|
112609 |
wp.element.createElement(
|
112610 |
PanelBody,
|
112611 |
-
{ title: __("Content"), initialOpen: false },
|
112612 |
wp.element.createElement(
|
112613 |
"h2",
|
112614 |
null,
|
112615 |
-
__("Quote")
|
112616 |
),
|
112617 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
112618 |
-
label: __("Typography"),
|
112619 |
attributes: attributes,
|
112620 |
setAttributes: setAttributes,
|
112621 |
loadGoogleFonts: { value: descLoadGoogleFonts, label: 'descLoadGoogleFonts' },
|
@@ -112634,7 +112673,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112634 |
wp.element.createElement(
|
112635 |
"p",
|
112636 |
{ className: "uagb-setting-label" },
|
112637 |
-
__("Quote Color"),
|
112638 |
wp.element.createElement(
|
112639 |
"span",
|
112640 |
{ className: "components-base-control__label" },
|
@@ -112652,10 +112691,10 @@ var UAGBBlockQuote = function (_Component) {
|
|
112652 |
wp.element.createElement(
|
112653 |
"h2",
|
112654 |
null,
|
112655 |
-
__("Author")
|
112656 |
),
|
112657 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
112658 |
-
label: __("Typography"),
|
112659 |
attributes: attributes,
|
112660 |
setAttributes: setAttributes,
|
112661 |
loadGoogleFonts: { value: authorLoadGoogleFonts, label: 'authorLoadGoogleFonts' },
|
@@ -112674,7 +112713,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112674 |
wp.element.createElement(
|
112675 |
"p",
|
112676 |
{ className: "uagb-setting-label" },
|
112677 |
-
__("Author Color"),
|
112678 |
wp.element.createElement(
|
112679 |
"span",
|
112680 |
{ className: "components-base-control__label" },
|
@@ -112701,7 +112740,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112701 |
wp.element.createElement(
|
112702 |
"p",
|
112703 |
{ className: "uagb-setting-label" },
|
112704 |
-
__("Tweet Color"),
|
112705 |
wp.element.createElement(
|
112706 |
"span",
|
112707 |
{ className: "components-base-control__label" },
|
@@ -112722,7 +112761,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112722 |
wp.element.createElement(
|
112723 |
"p",
|
112724 |
{ className: "uagb-setting-label" },
|
112725 |
-
__("Tweet Color"),
|
112726 |
wp.element.createElement(
|
112727 |
"span",
|
112728 |
{ className: "components-base-control__label" },
|
@@ -112739,7 +112778,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112739 |
wp.element.createElement(
|
112740 |
"p",
|
112741 |
{ className: "uagb-setting-label" },
|
112742 |
-
__("Tweet Background Color"),
|
112743 |
wp.element.createElement(
|
112744 |
"span",
|
112745 |
{ className: "components-base-control__label" },
|
@@ -112765,7 +112804,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112765 |
wp.element.createElement(
|
112766 |
"p",
|
112767 |
{ className: "uagb-setting-label" },
|
112768 |
-
__("Tweet Hover Color"),
|
112769 |
wp.element.createElement(
|
112770 |
"span",
|
112771 |
{ className: "components-base-control__label" },
|
@@ -112786,7 +112825,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112786 |
wp.element.createElement(
|
112787 |
"p",
|
112788 |
{ className: "uagb-setting-label" },
|
112789 |
-
__("Tweet Hover Color"),
|
112790 |
wp.element.createElement(
|
112791 |
"span",
|
112792 |
{ className: "components-base-control__label" },
|
@@ -112803,7 +112842,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112803 |
wp.element.createElement(
|
112804 |
"p",
|
112805 |
{ className: "uagb-setting-label" },
|
112806 |
-
__("Tweet Background Hover Color"),
|
112807 |
wp.element.createElement(
|
112808 |
"span",
|
112809 |
{ className: "components-base-control__label" },
|
@@ -112822,14 +112861,14 @@ var UAGBBlockQuote = function (_Component) {
|
|
112822 |
|
112823 |
var spacing_settings = wp.element.createElement(
|
112824 |
PanelBody,
|
112825 |
-
{ title: __("Spacing"), initialOpen: false },
|
112826 |
skinStyle === "quotation" && wp.element.createElement(
|
112827 |
Fragment,
|
112828 |
null,
|
112829 |
wp.element.createElement(
|
112830 |
"h2",
|
112831 |
null,
|
112832 |
-
__("Quote Icon Margin (px)")
|
112833 |
),
|
112834 |
wp.element.createElement(RangeControl, {
|
112835 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
@@ -112878,7 +112917,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112878 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
112879 |
),
|
112880 |
skinStyle === "border" && wp.element.createElement(RangeControl, {
|
112881 |
-
label: __("Gap Between Border and Quote"),
|
112882 |
value: borderGap,
|
112883 |
onChange: function onChange(value) {
|
112884 |
return setAttributes({ borderGap: value });
|
@@ -112888,7 +112927,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112888 |
allowReset: true
|
112889 |
}),
|
112890 |
wp.element.createElement(RangeControl, {
|
112891 |
-
label: __("Quote Bottom Spacing"),
|
112892 |
value: descSpace,
|
112893 |
onChange: function onChange(value) {
|
112894 |
return setAttributes({ descSpace: value });
|
@@ -112899,7 +112938,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112899 |
initialPosition: 0
|
112900 |
}),
|
112901 |
align == "center" && skinStyle !== "border" && wp.element.createElement(RangeControl, {
|
112902 |
-
label: __("Author Bottom Spacing"),
|
112903 |
value: authorSpace,
|
112904 |
onChange: function onChange(value) {
|
112905 |
return setAttributes({ authorSpace: value });
|
@@ -112916,7 +112955,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112916 |
wp.element.createElement(
|
112917 |
"h2",
|
112918 |
null,
|
112919 |
-
__("Vertical Padding")
|
112920 |
),
|
112921 |
wp.element.createElement(RangeControl, {
|
112922 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -112934,9 +112973,9 @@ var UAGBBlockQuote = function (_Component) {
|
|
112934 |
|
112935 |
var twitter_settings = wp.element.createElement(
|
112936 |
PanelBody,
|
112937 |
-
{ title: __("Twitter Icon"), initialOpen: false },
|
112938 |
wp.element.createElement(ToggleControl, {
|
112939 |
-
label: __("Enable Twitter Icon"),
|
112940 |
checked: enableTweet,
|
112941 |
onChange: function onChange(value) {
|
112942 |
return setAttributes({ enableTweet: !enableTweet });
|
@@ -112946,20 +112985,20 @@ var UAGBBlockQuote = function (_Component) {
|
|
112946 |
Fragment,
|
112947 |
null,
|
112948 |
wp.element.createElement(SelectControl, {
|
112949 |
-
label: __("Icon View"),
|
112950 |
value: iconView,
|
112951 |
onChange: function onChange(value) {
|
112952 |
return setAttributes({ iconView: value });
|
112953 |
},
|
112954 |
-
options: [{ value: "icon_text", label: __("Icon & Text") }, { value: "icon", label: __("Icon") }, { value: "text", label: __("Text") }]
|
112955 |
}),
|
112956 |
wp.element.createElement(SelectControl, {
|
112957 |
-
label: __("Icon Style"),
|
112958 |
value: iconSkin,
|
112959 |
onChange: function onChange(value) {
|
112960 |
return setAttributes({ iconSkin: value });
|
112961 |
},
|
112962 |
-
options: [{ value: "classic", label: __("Classic") }, { value: "bubble", label: __("Bubble") }, { value: "link", label: __("Link") }]
|
112963 |
})
|
112964 |
),
|
112965 |
enableTweet && iconView !== "icon" && wp.element.createElement(
|
@@ -112967,7 +113006,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112967 |
null,
|
112968 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
112969 |
wp.element.createElement(TextControl, {
|
112970 |
-
label: __("Label"),
|
112971 |
value: iconLabel,
|
112972 |
onChange: function onChange(value) {
|
112973 |
return setAttributes({ iconLabel: value });
|
@@ -112978,7 +113017,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
112978 |
Fragment,
|
112979 |
null,
|
112980 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
112981 |
-
label: __("Typography"),
|
112982 |
attributes: attributes,
|
112983 |
setAttributes: setAttributes,
|
112984 |
loadGoogleFonts: { value: tweetBtnLoadGoogleFonts, label: 'tweetBtnLoadGoogleFonts' },
|
@@ -112995,15 +113034,15 @@ var UAGBBlockQuote = function (_Component) {
|
|
112995 |
lineHeightTablet: { value: tweetBtnLineHeightTablet, label: 'tweetBtnLineHeightTablet' }
|
112996 |
}),
|
112997 |
wp.element.createElement(SelectControl, {
|
112998 |
-
label: __("Target URL"),
|
112999 |
value: iconTargetUrl,
|
113000 |
onChange: function onChange(value) {
|
113001 |
return setAttributes({ iconTargetUrl: value });
|
113002 |
},
|
113003 |
-
options: [{ value: "current", label: __("Current Page") }, { value: "custom", label: __("Custom URL") }]
|
113004 |
}),
|
113005 |
iconTargetUrl == "custom" && wp.element.createElement(TextControl, {
|
113006 |
-
label: __("URL"),
|
113007 |
value: customUrl,
|
113008 |
onChange: function onChange(value) {
|
113009 |
return setAttributes({ customUrl: value });
|
@@ -113017,7 +113056,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
113017 |
wp.element.createElement(
|
113018 |
"h2",
|
113019 |
null,
|
113020 |
-
__("Button Padding (px)")
|
113021 |
),
|
113022 |
wp.element.createElement(RangeControl, {
|
113023 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -113049,7 +113088,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
113049 |
null,
|
113050 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
113051 |
wp.element.createElement(RangeControl, {
|
113052 |
-
label: __("Space between Tweet Icon and Text"),
|
113053 |
value: tweetIconSpacing,
|
113054 |
onChange: function onChange(value) {
|
113055 |
return setAttributes({ tweetIconSpacing: value });
|
@@ -113070,11 +113109,11 @@ var UAGBBlockQuote = function (_Component) {
|
|
113070 |
activeClass: "active-tab",
|
113071 |
tabs: [{
|
113072 |
name: "normal",
|
113073 |
-
title: __("Normal"),
|
113074 |
className: "uagb-normal-tab"
|
113075 |
}, {
|
113076 |
name: "hover",
|
113077 |
-
title: __("Hover"),
|
113078 |
className: "uagb-hover-tab"
|
113079 |
}] },
|
113080 |
function (tabName) {
|
@@ -113114,7 +113153,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
113114 |
null,
|
113115 |
wp.element.createElement(
|
113116 |
Tooltip,
|
113117 |
-
{ text: __("Normal Quote") },
|
113118 |
wp.element.createElement(
|
113119 |
Button,
|
113120 |
{
|
@@ -113132,7 +113171,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
113132 |
null,
|
113133 |
wp.element.createElement(
|
113134 |
Tooltip,
|
113135 |
-
{ text: __("Inline Quote") },
|
113136 |
wp.element.createElement(
|
113137 |
Button,
|
113138 |
{
|
@@ -113155,7 +113194,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
113155 |
wp.element.createElement(
|
113156 |
"label",
|
113157 |
{
|
113158 |
-
"aria-label": __("Twitter Username"),
|
113159 |
className: className + "__via-label",
|
113160 |
htmlFor: className + "__via"
|
113161 |
},
|
@@ -113163,13 +113202,13 @@ var UAGBBlockQuote = function (_Component) {
|
|
113163 |
__WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].at_the_rate
|
113164 |
),
|
113165 |
wp.element.createElement("input", {
|
113166 |
-
"aria-label": __("Twitter Username"),
|
113167 |
className: className + "__via",
|
113168 |
id: className + "__via",
|
113169 |
onChange: function onChange(event) {
|
113170 |
return setAttributes({ iconShareVia: event.target.value });
|
113171 |
},
|
113172 |
-
placeholder: __("Username"),
|
113173 |
type: "text",
|
113174 |
value: iconShareVia
|
113175 |
})
|
@@ -113260,7 +113299,7 @@ var UAGBBlockQuote = function (_Component) {
|
|
113260 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBBlockQuote);
|
113261 |
|
113262 |
/***/ }),
|
113263 |
-
/*
|
113264 |
/*!******************************************!*\
|
113265 |
!*** ./src/blocks/blockquote/styling.js ***!
|
113266 |
\******************************************/
|
@@ -113271,10 +113310,10 @@ var UAGBBlockQuote = function (_Component) {
|
|
113271 |
"use strict";
|
113272 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
113273 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
113274 |
-
/**
|
113275 |
-
* Set inline styles.
|
113276 |
-
* @param {object} props - The block object.
|
113277 |
-
* @return {object} The inline background type CSS.
|
113278 |
*/
|
113279 |
|
113280 |
|
@@ -113583,7 +113622,7 @@ function styling(props) {
|
|
113583 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
113584 |
|
113585 |
/***/ }),
|
113586 |
-
/*
|
113587 |
/*!*********************************************!*\
|
113588 |
!*** ./src/blocks/blockquote/deprecated.js ***!
|
113589 |
\*********************************************/
|
@@ -113596,13 +113635,13 @@ function styling(props) {
|
|
113596 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(/*! classnames */ 0);
|
113597 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
113598 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
113599 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_TweetButton__ = __webpack_require__(/*! ./components/TweetButton */
|
113600 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_TweetButtonCTA__ = __webpack_require__(/*! ./components/TweetButtonCTA */ 125);
|
113601 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_Description__ = __webpack_require__(/*! ./components/Description */ 126);
|
113602 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_AuthorText__ = __webpack_require__(/*! ./components/AuthorText */ 127);
|
113603 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_AuthorImage__ = __webpack_require__(/*! ./components/AuthorImage */ 128);
|
113604 |
-
/**
|
113605 |
-
* BLOCK: Advanced Heading - Deprecated Block
|
113606 |
*/
|
113607 |
|
113608 |
|
@@ -113738,7 +113777,7 @@ var deprecated = [{
|
|
113738 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
113739 |
|
113740 |
/***/ }),
|
113741 |
-
/*
|
113742 |
/*!*********************************************************!*\
|
113743 |
!*** ./src/blocks/blockquote/components/TweetButton.js ***!
|
113744 |
\*********************************************************/
|
@@ -113812,7 +113851,7 @@ var TweetButton = function (_React$Component) {
|
|
113812 |
/* harmony default export */ __webpack_exports__["a"] = (TweetButton);
|
113813 |
|
113814 |
/***/ }),
|
113815 |
-
/*
|
113816 |
/*!***************************************!*\
|
113817 |
!*** ./src/blocks/blockquote/save.js ***!
|
113818 |
\***************************************/
|
@@ -113829,8 +113868,8 @@ var TweetButton = function (_React$Component) {
|
|
113829 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_Description__ = __webpack_require__(/*! ./components/Description */ 126);
|
113830 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_AuthorText__ = __webpack_require__(/*! ./components/AuthorText */ 127);
|
113831 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_AuthorImage__ = __webpack_require__(/*! ./components/AuthorImage */ 128);
|
113832 |
-
/**
|
113833 |
-
* BLOCK: Blockquote - Save Block
|
113834 |
*/
|
113835 |
|
113836 |
|
@@ -113905,7 +113944,7 @@ function save(props) {
|
|
113905 |
}
|
113906 |
|
113907 |
/***/ }),
|
113908 |
-
/*
|
113909 |
/*!*******************************************!*\
|
113910 |
!*** ./src/blocks/blockquote/editor.scss ***!
|
113911 |
\*******************************************/
|
@@ -113915,7 +113954,7 @@ function save(props) {
|
|
113915 |
// removed by extract-text-webpack-plugin
|
113916 |
|
113917 |
/***/ }),
|
113918 |
-
/*
|
113919 |
/*!******************************************!*\
|
113920 |
!*** ./src/blocks/blockquote/style.scss ***!
|
113921 |
\******************************************/
|
@@ -113925,7 +113964,7 @@ function save(props) {
|
|
113925 |
// removed by extract-text-webpack-plugin
|
113926 |
|
113927 |
/***/ }),
|
113928 |
-
/*
|
113929 |
/*!**********************************************!*\
|
113930 |
!*** ./src/blocks/marketing-button/block.js ***!
|
113931 |
\**********************************************/
|
@@ -113935,15 +113974,15 @@ function save(props) {
|
|
113935 |
"use strict";
|
113936 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
113937 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 227);
|
113938 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */
|
113939 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */
|
113940 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */
|
113941 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */
|
113942 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
113943 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
113944 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
113945 |
-
/**
|
113946 |
-
* BLOCK: Marketing Button
|
113947 |
*/
|
113948 |
|
113949 |
|
@@ -113962,7 +114001,7 @@ registerBlockType("uagb/marketing-button", {
|
|
113962 |
description: uagb_blocks_info.blocks["uagb/marketing-button"]["description"],
|
113963 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].marketing_button,
|
113964 |
category: uagb_blocks_info.category,
|
113965 |
-
keywords: [__("marketing button"), __("cta"), __("uag")],
|
113966 |
supports: {
|
113967 |
anchor: true
|
113968 |
},
|
@@ -113974,7 +114013,7 @@ registerBlockType("uagb/marketing-button", {
|
|
113974 |
});
|
113975 |
|
113976 |
/***/ }),
|
113977 |
-
/*
|
113978 |
/*!*********************************************!*\
|
113979 |
!*** ./src/blocks/marketing-button/edit.js ***!
|
113980 |
\*********************************************/
|
@@ -113985,7 +114024,7 @@ registerBlockType("uagb/marketing-button", {
|
|
113985 |
"use strict";
|
113986 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
113987 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
113988 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__styling__ = __webpack_require__(/*! ./styling */
|
113989 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker__ = __webpack_require__(/*! @fonticonpicker/react-fonticonpicker */ 10);
|
113990 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker__);
|
113991 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
@@ -114002,8 +114041,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
114002 |
|
114003 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
114004 |
|
114005 |
-
/**
|
114006 |
-
* BLOCK: Marketing Button
|
114007 |
*/
|
114008 |
|
114009 |
|
@@ -114250,7 +114289,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114250 |
wp.element.createElement(ToolbarButton, {
|
114251 |
icon: "admin-links",
|
114252 |
name: "link",
|
114253 |
-
title: __('Link'),
|
114254 |
onClick: this.onClickLinkSettings
|
114255 |
})
|
114256 |
)
|
@@ -114261,14 +114300,14 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114261 |
null,
|
114262 |
wp.element.createElement(
|
114263 |
PanelBody,
|
114264 |
-
{ title: __("General"), initialOpen: true },
|
114265 |
wp.element.createElement(SelectControl, {
|
114266 |
-
label: __("Text Alignment"),
|
114267 |
value: textAlign,
|
114268 |
onChange: function onChange(value) {
|
114269 |
return setAttributes({ textAlign: value });
|
114270 |
},
|
114271 |
-
options: [{ value: "center", label: __("Center") }, { value: "left", label: __("Left") }, { value: "right", label: __("Right") }]
|
114272 |
}),
|
114273 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
114274 |
wp.element.createElement(
|
@@ -114284,21 +114323,21 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114284 |
return setAttributes({ icon: value });
|
114285 |
},
|
114286 |
isMulti: false,
|
114287 |
-
noSelectedPlaceholder: __("Select Icon")
|
114288 |
}),
|
114289 |
"" != icon && wp.element.createElement(
|
114290 |
Fragment,
|
114291 |
null,
|
114292 |
wp.element.createElement(SelectControl, {
|
114293 |
-
label: __("Icon Position"),
|
114294 |
value: iconPosition,
|
114295 |
onChange: function onChange(value) {
|
114296 |
return setAttributes({ iconPosition: value });
|
114297 |
},
|
114298 |
-
options: [{ value: "before", label: __("Before Text") }, { value: "after", label: __("After Text") }]
|
114299 |
}),
|
114300 |
wp.element.createElement(RangeControl, {
|
114301 |
-
label: __("Icon Spacing"),
|
114302 |
value: iconSpace,
|
114303 |
onChange: function onChange(value) {
|
114304 |
return setAttributes({ iconSpace: value });
|
@@ -114309,7 +114348,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114309 |
allowReset: true
|
114310 |
}),
|
114311 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
114312 |
-
label: __("Icon Size"),
|
114313 |
attributes: attributes,
|
114314 |
setAttributes: setAttributes,
|
114315 |
fontSizeType: { value: iconFontSizeType, label: "iconFontSizeType" },
|
@@ -114323,7 +114362,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114323 |
})
|
114324 |
),
|
114325 |
wp.element.createElement(RangeControl, {
|
114326 |
-
label: __("Title Bottom Spacing"),
|
114327 |
value: titleSpace,
|
114328 |
onChange: function onChange(value) {
|
114329 |
return setAttributes({ titleSpace: value });
|
@@ -114336,23 +114375,23 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114336 |
),
|
114337 |
wp.element.createElement(
|
114338 |
PanelBody,
|
114339 |
-
{ title: __("Content"), initialOpen: false },
|
114340 |
wp.element.createElement(SelectControl, {
|
114341 |
-
label: __("Title Tag"),
|
114342 |
value: titleTag,
|
114343 |
onChange: function onChange(value) {
|
114344 |
return setAttributes({ titleTag: value });
|
114345 |
},
|
114346 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }, { value: "span", label: __("span") }, { value: "p", label: __("p") }]
|
114347 |
}),
|
114348 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
114349 |
wp.element.createElement(
|
114350 |
"h2",
|
114351 |
null,
|
114352 |
-
__("Title")
|
114353 |
),
|
114354 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
114355 |
-
label: __("Typography"),
|
114356 |
attributes: attributes,
|
114357 |
setAttributes: setAttributes,
|
114358 |
loadGoogleFonts: { value: loadTitleGoogleFonts, label: "loadTitleGoogleFonts" },
|
@@ -114372,10 +114411,10 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114372 |
wp.element.createElement(
|
114373 |
"h2",
|
114374 |
null,
|
114375 |
-
__("Description")
|
114376 |
),
|
114377 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
114378 |
-
label: __("Typography"),
|
114379 |
attributes: attributes,
|
114380 |
setAttributes: setAttributes,
|
114381 |
loadGoogleFonts: { value: loadPrefixGoogleFonts, label: "loadPrefixGoogleFonts" },
|
@@ -114403,11 +114442,11 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114403 |
activeClass: "active-tab",
|
114404 |
tabs: [{
|
114405 |
name: "normal",
|
114406 |
-
title: __("Normal"),
|
114407 |
className: "uagb-normal-tab"
|
114408 |
}, {
|
114409 |
name: "hover",
|
114410 |
-
title: __("Hover"),
|
114411 |
className: "uagb-focus-tab"
|
114412 |
}] },
|
114413 |
function (tabName) {
|
@@ -114419,7 +114458,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114419 |
wp.element.createElement(
|
114420 |
"p",
|
114421 |
{ className: "uagb-setting-label" },
|
114422 |
-
__("Title Color"),
|
114423 |
wp.element.createElement(
|
114424 |
"span",
|
114425 |
{ className: "components-base-control__label" },
|
@@ -114436,7 +114475,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114436 |
wp.element.createElement(
|
114437 |
"p",
|
114438 |
{ className: "uagb-setting-label" },
|
114439 |
-
__("Icon Color"),
|
114440 |
wp.element.createElement(
|
114441 |
"span",
|
114442 |
{ className: "components-base-control__label" },
|
@@ -114453,7 +114492,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114453 |
wp.element.createElement(
|
114454 |
"p",
|
114455 |
{ className: "uagb-setting-label" },
|
114456 |
-
__("Description Color"),
|
114457 |
wp.element.createElement(
|
114458 |
"span",
|
114459 |
{ className: "components-base-control__label" },
|
@@ -114475,7 +114514,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114475 |
wp.element.createElement(
|
114476 |
"p",
|
114477 |
{ className: "uagb-setting-label" },
|
114478 |
-
__("Title Hover Color"),
|
114479 |
wp.element.createElement(
|
114480 |
"span",
|
114481 |
{ className: "components-base-control__label" },
|
@@ -114492,7 +114531,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114492 |
wp.element.createElement(
|
114493 |
"p",
|
114494 |
{ className: "uagb-setting-label" },
|
114495 |
-
__("Icon Hover Color"),
|
114496 |
wp.element.createElement(
|
114497 |
"span",
|
114498 |
{ className: "components-base-control__label" },
|
@@ -114509,7 +114548,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114509 |
wp.element.createElement(
|
114510 |
"p",
|
114511 |
{ className: "uagb-setting-label" },
|
114512 |
-
__("Description Hover Color"),
|
114513 |
wp.element.createElement(
|
114514 |
"span",
|
114515 |
{ className: "components-base-control__label" },
|
@@ -114535,7 +114574,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114535 |
),
|
114536 |
wp.element.createElement(
|
114537 |
PanelBody,
|
114538 |
-
{ title: __("Background"), initialOpen: false },
|
114539 |
wp.element.createElement(
|
114540 |
TabPanel,
|
114541 |
{ className: "uagb-size-type-field-tabs uagb-size-type-field__common-tabs uagb-inline-margin", activeClass: "active-tab",
|
@@ -114561,7 +114600,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114561 |
null,
|
114562 |
wp.element.createElement(
|
114563 |
ButtonGroup,
|
114564 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
114565 |
wp.element.createElement(
|
114566 |
Button,
|
114567 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingType === "px", "aria-pressed": paddingType === "px", onClick: function onClick() {
|
@@ -114580,7 +114619,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114580 |
wp.element.createElement(
|
114581 |
"h2",
|
114582 |
null,
|
114583 |
-
__("Button Padding")
|
114584 |
),
|
114585 |
wp.element.createElement(RangeControl, {
|
114586 |
label: __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -114609,7 +114648,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114609 |
null,
|
114610 |
wp.element.createElement(
|
114611 |
ButtonGroup,
|
114612 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
114613 |
wp.element.createElement(
|
114614 |
Button,
|
114615 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingType === "px", "aria-pressed": paddingType === "px", onClick: function onClick() {
|
@@ -114628,7 +114667,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114628 |
wp.element.createElement(
|
114629 |
"h2",
|
114630 |
null,
|
114631 |
-
__("Button Padding")
|
114632 |
),
|
114633 |
wp.element.createElement(RangeControl, {
|
114634 |
label: __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -114657,7 +114696,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114657 |
null,
|
114658 |
wp.element.createElement(
|
114659 |
ButtonGroup,
|
114660 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
114661 |
wp.element.createElement(
|
114662 |
Button,
|
114663 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingType === "px", "aria-pressed": paddingType === "px", onClick: function onClick() {
|
@@ -114676,7 +114715,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114676 |
wp.element.createElement(
|
114677 |
"h2",
|
114678 |
null,
|
114679 |
-
__("Button Padding")
|
114680 |
),
|
114681 |
wp.element.createElement(RangeControl, {
|
114682 |
label: __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -114712,15 +114751,15 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114712 |
wp.element.createElement(
|
114713 |
"h2",
|
114714 |
null,
|
114715 |
-
__("Button Background")
|
114716 |
),
|
114717 |
wp.element.createElement(SelectControl, {
|
114718 |
-
label: __("Background Type"),
|
114719 |
value: backgroundType,
|
114720 |
onChange: function onChange(value) {
|
114721 |
return setAttributes({ backgroundType: value });
|
114722 |
},
|
114723 |
-
options: [{ value: "transparent", label: __("Transparent") }, { value: "color", label: __("Color") }, { value: "gradient", label: __("Gradient") }]
|
114724 |
}),
|
114725 |
"color" == backgroundType && wp.element.createElement(
|
114726 |
Fragment,
|
@@ -114728,7 +114767,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114728 |
wp.element.createElement(
|
114729 |
"p",
|
114730 |
{ className: "uagb-setting-label" },
|
114731 |
-
__("Background Color"),
|
114732 |
wp.element.createElement(
|
114733 |
"span",
|
114734 |
{ className: "components-base-control__label" },
|
@@ -114747,31 +114786,31 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114747 |
Fragment,
|
114748 |
null,
|
114749 |
wp.element.createElement(PanelColorSettings, {
|
114750 |
-
title: __("Color Settings"),
|
114751 |
colorSettings: [{
|
114752 |
value: gradientColor2,
|
114753 |
onChange: function onChange(value) {
|
114754 |
return setAttributes({ gradientColor2: value });
|
114755 |
},
|
114756 |
-
label: __("Color 1")
|
114757 |
}, {
|
114758 |
value: gradientColor1,
|
114759 |
onChange: function onChange(value) {
|
114760 |
return setAttributes({ gradientColor1: value });
|
114761 |
},
|
114762 |
-
label: __("Color 2")
|
114763 |
}]
|
114764 |
}),
|
114765 |
wp.element.createElement(SelectControl, {
|
114766 |
-
label: __("Type"),
|
114767 |
value: gradientType,
|
114768 |
onChange: function onChange(value) {
|
114769 |
return setAttributes({ gradientType: value });
|
114770 |
},
|
114771 |
-
options: [{ value: "linear", label: __("Linear") }, { value: "radial", label: __("Radial") }]
|
114772 |
}),
|
114773 |
wp.element.createElement(RangeControl, {
|
114774 |
-
label: __("Location 1"),
|
114775 |
value: gradientLocation1,
|
114776 |
onChange: function onChange(value) {
|
114777 |
return setAttributes({ gradientLocation1: value });
|
@@ -114781,7 +114820,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114781 |
allowReset: true
|
114782 |
}),
|
114783 |
wp.element.createElement(RangeControl, {
|
114784 |
-
label: __("Location 2"),
|
114785 |
value: gradientLocation2,
|
114786 |
onChange: function onChange(value) {
|
114787 |
return setAttributes({ gradientLocation2: value });
|
@@ -114791,7 +114830,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114791 |
allowReset: true
|
114792 |
}),
|
114793 |
wp.element.createElement(RangeControl, {
|
114794 |
-
label: __("Angle"),
|
114795 |
value: gradientAngle,
|
114796 |
onChange: function onChange(value) {
|
114797 |
return setAttributes({ gradientAngle: value });
|
@@ -114802,7 +114841,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114802 |
})
|
114803 |
),
|
114804 |
"transparent" != backgroundType && wp.element.createElement(RangeControl, {
|
114805 |
-
label: __("Opacity"),
|
114806 |
value: backgroundOpacity,
|
114807 |
onChange: function onChange(value) {
|
114808 |
return setAttributes({ backgroundOpacity: value });
|
@@ -114818,7 +114857,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114818 |
wp.element.createElement(
|
114819 |
"p",
|
114820 |
{ className: "uagb-setting-label" },
|
114821 |
-
__("Background Hover Color"),
|
114822 |
wp.element.createElement(
|
114823 |
"span",
|
114824 |
{ className: "components-base-control__label" },
|
@@ -114833,7 +114872,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114833 |
allowReset: true
|
114834 |
}),
|
114835 |
wp.element.createElement(RangeControl, {
|
114836 |
-
label: __("Opacity"),
|
114837 |
value: backgroundHoverOpacity,
|
114838 |
onChange: function onChange(value) {
|
114839 |
return setAttributes({ backgroundHoverOpacity: value });
|
@@ -114847,17 +114886,17 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114847 |
),
|
114848 |
wp.element.createElement(
|
114849 |
PanelBody,
|
114850 |
-
{ title: __("Border"), initialOpen: false },
|
114851 |
wp.element.createElement(SelectControl, {
|
114852 |
-
label: __("Border Style"),
|
114853 |
value: borderStyle,
|
114854 |
onChange: function onChange(value) {
|
114855 |
return setAttributes({ borderStyle: value });
|
114856 |
},
|
114857 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
114858 |
}),
|
114859 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
114860 |
-
label: __("Border Width"),
|
114861 |
value: borderWidth,
|
114862 |
onChange: function onChange(value) {
|
114863 |
return setAttributes({ borderWidth: value });
|
@@ -114867,7 +114906,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114867 |
allowReset: true
|
114868 |
}),
|
114869 |
wp.element.createElement(RangeControl, {
|
114870 |
-
label: __("Border Radius"),
|
114871 |
value: borderRadius,
|
114872 |
onChange: function onChange(value) {
|
114873 |
return setAttributes({ borderRadius: value });
|
@@ -114882,7 +114921,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114882 |
wp.element.createElement(
|
114883 |
"p",
|
114884 |
{ className: "uagb-setting-label" },
|
114885 |
-
__("Border Color"),
|
114886 |
wp.element.createElement(
|
114887 |
"span",
|
114888 |
{ className: "components-base-control__label" },
|
@@ -114899,7 +114938,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114899 |
wp.element.createElement(
|
114900 |
"p",
|
114901 |
{ className: "uagb-setting-label" },
|
114902 |
-
__("Border Hover Color"),
|
114903 |
wp.element.createElement(
|
114904 |
"span",
|
114905 |
{ className: "components-base-control__label" },
|
@@ -114934,7 +114973,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114934 |
Object(__WEBPACK_IMPORTED_MODULE_5__dist_blocks_uagb_controls_renderIcon__["a" /* default */])(icon)
|
114935 |
),
|
114936 |
wp.element.createElement(RichText, {
|
114937 |
-
placeholder: __("Add Button Title…"),
|
114938 |
value: heading,
|
114939 |
tagName: titleTag,
|
114940 |
onChange: function onChange(value) {
|
@@ -114961,7 +115000,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114961 |
"div",
|
114962 |
{ className: "uagb-marketing-btn__prefix-wrap" },
|
114963 |
wp.element.createElement(RichText, {
|
114964 |
-
placeholder: __("Add Button Description…"),
|
114965 |
value: prefix,
|
114966 |
tagName: "p",
|
114967 |
onChange: function onChange(value) {
|
@@ -114999,7 +115038,7 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
114999 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBMarketingButtonEdit);
|
115000 |
|
115001 |
/***/ }),
|
115002 |
-
/*
|
115003 |
/*!************************************************!*\
|
115004 |
!*** ./src/blocks/marketing-button/styling.js ***!
|
115005 |
\************************************************/
|
@@ -115011,8 +115050,8 @@ var UAGBMarketingButtonEdit = function (_Component) {
|
|
115011 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
115012 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_hexToRgba__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/hexToRgba */ 102);
|
115013 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
115014 |
-
/**
|
115015 |
-
* Returns Dynamic Generated CSS
|
115016 |
*/
|
115017 |
|
115018 |
|
@@ -115217,7 +115256,7 @@ function styling(props) {
|
|
115217 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
115218 |
|
115219 |
/***/ }),
|
115220 |
-
/*
|
115221 |
/*!*********************************************!*\
|
115222 |
!*** ./src/blocks/marketing-button/save.js ***!
|
115223 |
\*********************************************/
|
@@ -115230,8 +115269,8 @@ function styling(props) {
|
|
115230 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
115231 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
115232 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
115233 |
-
/**
|
115234 |
-
* BLOCK: Column - Save Block
|
115235 |
*/
|
115236 |
|
115237 |
// Import block dependencies and components.
|
@@ -115297,7 +115336,7 @@ function save(props) {
|
|
115297 |
}
|
115298 |
|
115299 |
/***/ }),
|
115300 |
-
/*
|
115301 |
/*!***************************************************!*\
|
115302 |
!*** ./src/blocks/marketing-button/deprecated.js ***!
|
115303 |
\***************************************************/
|
@@ -115310,8 +115349,8 @@ function save(props) {
|
|
115310 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
115311 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 227);
|
115312 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
115313 |
-
/**
|
115314 |
-
* BLOCK: Columns - Deprecated Block
|
115315 |
*/
|
115316 |
|
115317 |
// Import block dependencies and components.
|
@@ -115383,7 +115422,7 @@ var deprecated = [{
|
|
115383 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
115384 |
|
115385 |
/***/ }),
|
115386 |
-
/*
|
115387 |
/*!************************************************!*\
|
115388 |
!*** ./src/blocks/marketing-button/style.scss ***!
|
115389 |
\************************************************/
|
@@ -115393,7 +115432,7 @@ var deprecated = [{
|
|
115393 |
// removed by extract-text-webpack-plugin
|
115394 |
|
115395 |
/***/ }),
|
115396 |
-
/*
|
115397 |
/*!*************************************************!*\
|
115398 |
!*** ./src/blocks/marketing-button/editor.scss ***!
|
115399 |
\*************************************************/
|
@@ -115403,7 +115442,7 @@ var deprecated = [{
|
|
115403 |
// removed by extract-text-webpack-plugin
|
115404 |
|
115405 |
/***/ }),
|
115406 |
-
/*
|
115407 |
/*!***********************************************!*\
|
115408 |
!*** ./src/blocks/table-of-contents/block.js ***!
|
115409 |
\***********************************************/
|
@@ -115413,15 +115452,15 @@ var deprecated = [{
|
|
115413 |
"use strict";
|
115414 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
115415 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 228);
|
115416 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */
|
115417 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */
|
115418 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */
|
115419 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */
|
115420 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
115421 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
115422 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
115423 |
-
/**
|
115424 |
-
* BLOCK: Table of Contents
|
115425 |
*/
|
115426 |
|
115427 |
|
@@ -115441,7 +115480,7 @@ registerBlockType("uagb/table-of-contents", {
|
|
115441 |
description: uagb_blocks_info.blocks["uagb/table-of-contents"]["description"],
|
115442 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].table_of_contents,
|
115443 |
category: uagb_blocks_info.category,
|
115444 |
-
keywords: [__("table of contents"), __("table"), __("uag")],
|
115445 |
supports: {
|
115446 |
anchor: true
|
115447 |
},
|
@@ -115453,7 +115492,7 @@ registerBlockType("uagb/table-of-contents", {
|
|
115453 |
});
|
115454 |
|
115455 |
/***/ }),
|
115456 |
-
/*
|
115457 |
/*!**********************************************!*\
|
115458 |
!*** ./src/blocks/table-of-contents/edit.js ***!
|
115459 |
\**********************************************/
|
@@ -115464,7 +115503,7 @@ registerBlockType("uagb/table-of-contents", {
|
|
115464 |
"use strict";
|
115465 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
115466 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
115467 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__styling__ = __webpack_require__(/*! ./styling */
|
115468 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
115469 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_UAGBIcon_json__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/UAGBIcon.json */ 9);
|
115470 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_UAGBIcon_json___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_UAGBIcon_json__);
|
@@ -115484,8 +115523,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
115484 |
|
115485 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
115486 |
|
115487 |
-
/**
|
115488 |
-
* BLOCK: Table of Contents
|
115489 |
*/
|
115490 |
|
115491 |
|
@@ -115719,7 +115758,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115719 |
onChange: this.getIcon,
|
115720 |
isMulti: false,
|
115721 |
renderFunc: __WEBPACK_IMPORTED_MODULE_5__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
115722 |
-
noSelectedPlaceholder: __("Select Icon")
|
115723 |
};
|
115724 |
|
115725 |
var icon_html = '';
|
@@ -115751,11 +115790,11 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115751 |
null,
|
115752 |
wp.element.createElement(
|
115753 |
PanelBody,
|
115754 |
-
{ title: __("General"), initialOpen: true },
|
115755 |
wp.element.createElement(
|
115756 |
"h2",
|
115757 |
null,
|
115758 |
-
__("Select the heading to consider when generating the table")
|
115759 |
),
|
115760 |
mappingHeaders.map(function (a, i) {
|
115761 |
return wp.element.createElement(
|
@@ -115780,11 +115819,11 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115780 |
),
|
115781 |
wp.element.createElement(
|
115782 |
PanelBody,
|
115783 |
-
{ title: __("Scroll"), initialOpen: false },
|
115784 |
wp.element.createElement(ToggleControl, {
|
115785 |
-
label: __("Smooth Scroll"),
|
115786 |
checked: smoothScroll,
|
115787 |
-
help: __("This will be in Action only in Front End."),
|
115788 |
onChange: function onChange(value) {
|
115789 |
return setAttributes({ smoothScroll: !smoothScroll });
|
115790 |
}
|
@@ -115793,7 +115832,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115793 |
Fragment,
|
115794 |
null,
|
115795 |
wp.element.createElement(RangeControl, {
|
115796 |
-
label: __("Smooth Scroll Offset (px)"),
|
115797 |
value: smoothScrollOffset,
|
115798 |
onChange: function onChange(value) {
|
115799 |
return setAttributes({ smoothScrollOffset: value });
|
@@ -115802,7 +115841,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115802 |
max: 1000
|
115803 |
}),
|
115804 |
wp.element.createElement(RangeControl, {
|
115805 |
-
label: __("Scroll Animation Delay (ms)"),
|
115806 |
value: smoothScrollDelay,
|
115807 |
onChange: function onChange(value) {
|
115808 |
return setAttributes({ smoothScrollDelay: value });
|
@@ -115813,9 +115852,9 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115813 |
),
|
115814 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
115815 |
wp.element.createElement(ToggleControl, {
|
115816 |
-
label: __("Show Scroll To Top"),
|
115817 |
checked: scrollToTop,
|
115818 |
-
help: __("This will add a Scroll to Top arrow at the bottom of page."),
|
115819 |
onChange: function onChange(value) {
|
115820 |
return setAttributes({ scrollToTop: !scrollToTop });
|
115821 |
}
|
@@ -115826,7 +115865,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115826 |
wp.element.createElement(
|
115827 |
"p",
|
115828 |
{ className: "uagb-setting-label" },
|
115829 |
-
__("Icon Color"),
|
115830 |
wp.element.createElement(
|
115831 |
"span",
|
115832 |
{ className: "components-base-control__label" },
|
@@ -115843,7 +115882,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115843 |
wp.element.createElement(
|
115844 |
"p",
|
115845 |
{ className: "uagb-setting-label" },
|
115846 |
-
__("Background Color"),
|
115847 |
wp.element.createElement(
|
115848 |
"span",
|
115849 |
{ className: "components-base-control__label" },
|
@@ -115861,22 +115900,22 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115861 |
),
|
115862 |
wp.element.createElement(
|
115863 |
PanelBody,
|
115864 |
-
{ title: __("Content"), initialOpen: false },
|
115865 |
wp.element.createElement(
|
115866 |
"h2",
|
115867 |
null,
|
115868 |
-
__("Heading")
|
115869 |
),
|
115870 |
wp.element.createElement(SelectControl, {
|
115871 |
-
label: __("Alignment"),
|
115872 |
value: headingAlignment,
|
115873 |
onChange: function onChange(value) {
|
115874 |
return setAttributes({ headingAlignment: value });
|
115875 |
},
|
115876 |
-
options: [{ value: "left", label: __("Left") }, { value: "center", label: __("Center") }, { value: "right", label: __("Right") }]
|
115877 |
}),
|
115878 |
wp.element.createElement(RangeControl, {
|
115879 |
-
label: __("Bottom Space"),
|
115880 |
value: headingBottom,
|
115881 |
onChange: function onChange(value) {
|
115882 |
return setAttributes({ headingBottom: value });
|
@@ -115886,7 +115925,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115886 |
allowReset: true
|
115887 |
}),
|
115888 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
115889 |
-
label: __("Typography"),
|
115890 |
attributes: attributes,
|
115891 |
setAttributes: setAttributes,
|
115892 |
loadGoogleFonts: { value: headingLoadGoogleFonts, label: "headingLoadGoogleFonts" },
|
@@ -115905,7 +115944,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115905 |
wp.element.createElement(
|
115906 |
"p",
|
115907 |
{ className: "uagb-setting-label" },
|
115908 |
-
__("Heading Color"),
|
115909 |
wp.element.createElement(
|
115910 |
"span",
|
115911 |
{ className: "components-base-control__label" },
|
@@ -115923,10 +115962,10 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115923 |
wp.element.createElement(
|
115924 |
"h2",
|
115925 |
null,
|
115926 |
-
__("Collapsible")
|
115927 |
),
|
115928 |
wp.element.createElement(ToggleControl, {
|
115929 |
-
label: __("Make Content Collapsible"),
|
115930 |
checked: makeCollapsible,
|
115931 |
onChange: function onChange(value) {
|
115932 |
return setAttributes({ makeCollapsible: !makeCollapsible });
|
@@ -115936,7 +115975,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115936 |
Fragment,
|
115937 |
null,
|
115938 |
wp.element.createElement(ToggleControl, {
|
115939 |
-
label: __("Keep Collapsed Initially"),
|
115940 |
checked: initialCollapse,
|
115941 |
onChange: function onChange(value) {
|
115942 |
return setAttributes({ initialCollapse: !initialCollapse });
|
@@ -115944,7 +115983,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115944 |
}),
|
115945 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
115946 |
wp.element.createElement(RangeControl, {
|
115947 |
-
label: __("Icon Size"),
|
115948 |
value: iconSize,
|
115949 |
onChange: function onChange(value) {
|
115950 |
return setAttributes({ iconSize: value });
|
@@ -115966,10 +116005,10 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115966 |
wp.element.createElement(
|
115967 |
"h2",
|
115968 |
null,
|
115969 |
-
__("Content")
|
115970 |
),
|
115971 |
wp.element.createElement(ToggleControl, {
|
115972 |
-
label: __("Disable Bullet Points"),
|
115973 |
checked: disableBullets,
|
115974 |
onChange: function onChange(value) {
|
115975 |
return setAttributes({ disableBullets: !disableBullets });
|
@@ -115981,7 +116020,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
115981 |
wp.element.createElement(
|
115982 |
"p",
|
115983 |
{ className: "uagb-setting-label" },
|
115984 |
-
__("Bullet Points Color"),
|
115985 |
wp.element.createElement(
|
115986 |
"span",
|
115987 |
{ className: "components-base-control__label" },
|
@@ -116021,7 +116060,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116021 |
null,
|
116022 |
wp.element.createElement(
|
116023 |
ButtonGroup,
|
116024 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116025 |
wp.element.createElement(
|
116026 |
Button,
|
116027 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: contentPaddingTypeMobile === "px", "aria-pressed": contentPaddingTypeMobile === "px", onClick: function onClick() {
|
@@ -116040,7 +116079,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116040 |
wp.element.createElement(
|
116041 |
"h2",
|
116042 |
{ className: "uagb-light-font-weight" },
|
116043 |
-
__("Gap Between Lists")
|
116044 |
),
|
116045 |
wp.element.createElement(RangeControl, {
|
116046 |
className: "uagb-margin-control",
|
@@ -116059,7 +116098,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116059 |
null,
|
116060 |
wp.element.createElement(
|
116061 |
ButtonGroup,
|
116062 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116063 |
wp.element.createElement(
|
116064 |
Button,
|
116065 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: contentPaddingTypeTablet === "px", "aria-pressed": contentPaddingTypeTablet === "px", onClick: function onClick() {
|
@@ -116078,7 +116117,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116078 |
wp.element.createElement(
|
116079 |
"h2",
|
116080 |
{ className: "uagb-lighter-font-weight" },
|
116081 |
-
__("Gap Between Lists")
|
116082 |
),
|
116083 |
wp.element.createElement(RangeControl, {
|
116084 |
className: "uagb-margin-control",
|
@@ -116097,7 +116136,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116097 |
null,
|
116098 |
wp.element.createElement(
|
116099 |
ButtonGroup,
|
116100 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116101 |
wp.element.createElement(
|
116102 |
Button,
|
116103 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: contentPaddingTypeDesktop === "px", "aria-pressed": contentPaddingTypeDesktop === "px", onClick: function onClick() {
|
@@ -116116,7 +116155,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116116 |
wp.element.createElement(
|
116117 |
"h2",
|
116118 |
{ className: "uagb-light-font-weight" },
|
116119 |
-
__("Gap Between Lists")
|
116120 |
),
|
116121 |
wp.element.createElement(RangeControl, {
|
116122 |
className: "uagb-gap-control",
|
@@ -116139,7 +116178,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116139 |
}
|
116140 |
),
|
116141 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
116142 |
-
label: __("Typography"),
|
116143 |
attributes: attributes,
|
116144 |
setAttributes: setAttributes,
|
116145 |
loadGoogleFonts: { value: loadGoogleFonts, label: "loadGoogleFonts" },
|
@@ -116158,7 +116197,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116158 |
wp.element.createElement(
|
116159 |
"p",
|
116160 |
{ className: "uagb-setting-label" },
|
116161 |
-
__("Content Color"),
|
116162 |
wp.element.createElement(
|
116163 |
"span",
|
116164 |
{ className: "components-base-control__label" },
|
@@ -116175,7 +116214,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116175 |
wp.element.createElement(
|
116176 |
"p",
|
116177 |
{ className: "uagb-setting-label" },
|
116178 |
-
__("Content Hover Color"),
|
116179 |
wp.element.createElement(
|
116180 |
"span",
|
116181 |
{ className: "components-base-control__label" },
|
@@ -116192,16 +116231,16 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116192 |
),
|
116193 |
wp.element.createElement(
|
116194 |
PanelBody,
|
116195 |
-
{ title: __("Style"), initialOpen: false },
|
116196 |
wp.element.createElement(
|
116197 |
"h2",
|
116198 |
null,
|
116199 |
-
__("Background")
|
116200 |
),
|
116201 |
wp.element.createElement(
|
116202 |
"p",
|
116203 |
{ className: "uagb-setting-label" },
|
116204 |
-
__("Background Color"),
|
116205 |
wp.element.createElement(
|
116206 |
"span",
|
116207 |
{ className: "components-base-control__label" },
|
@@ -116217,12 +116256,12 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116217 |
}),
|
116218 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
116219 |
wp.element.createElement(ToggleControl, {
|
116220 |
-
label: __("Custom Width"),
|
116221 |
checked: customWidth,
|
116222 |
onChange: function onChange(value) {
|
116223 |
return setAttributes({ customWidth: !customWidth });
|
116224 |
},
|
116225 |
-
help: __("Table's width will be auto if this is kept off.")
|
116226 |
}),
|
116227 |
customWidth && wp.element.createElement(
|
116228 |
TabPanel,
|
@@ -116249,7 +116288,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116249 |
null,
|
116250 |
wp.element.createElement(
|
116251 |
ButtonGroup,
|
116252 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116253 |
wp.element.createElement(
|
116254 |
Button,
|
116255 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: widthTypeMobile === "px", "aria-pressed": widthTypeMobile === "px", onClick: function onClick() {
|
@@ -116266,7 +116305,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116266 |
)
|
116267 |
),
|
116268 |
wp.element.createElement(RangeControl, {
|
116269 |
-
label: __("Width"),
|
116270 |
value: widthMobile,
|
116271 |
onChange: function onChange(value) {
|
116272 |
return setAttributes({ widthMobile: value });
|
@@ -116283,7 +116322,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116283 |
null,
|
116284 |
wp.element.createElement(
|
116285 |
ButtonGroup,
|
116286 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116287 |
wp.element.createElement(
|
116288 |
Button,
|
116289 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: widthTypeTablet === "px", "aria-pressed": widthTypeTablet === "px", onClick: function onClick() {
|
@@ -116300,7 +116339,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116300 |
)
|
116301 |
),
|
116302 |
wp.element.createElement(RangeControl, {
|
116303 |
-
label: __("Width"),
|
116304 |
value: widthTablet,
|
116305 |
onChange: function onChange(value) {
|
116306 |
return setAttributes({ widthTablet: value });
|
@@ -116317,7 +116356,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116317 |
null,
|
116318 |
wp.element.createElement(
|
116319 |
ButtonGroup,
|
116320 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116321 |
wp.element.createElement(
|
116322 |
Button,
|
116323 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: widthTypeDesktop === "px", "aria-pressed": widthTypeDesktop === "px", onClick: function onClick() {
|
@@ -116334,7 +116373,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116334 |
)
|
116335 |
),
|
116336 |
wp.element.createElement(RangeControl, {
|
116337 |
-
label: __("Width"),
|
116338 |
value: widthDesktop,
|
116339 |
onChange: function onChange(value) {
|
116340 |
return setAttributes({ widthDesktop: value });
|
@@ -116375,7 +116414,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116375 |
|
116376 |
if ("mobile" === tab.name) {
|
116377 |
tabout = wp.element.createElement(RangeControl, {
|
116378 |
-
label: __("Columns"),
|
116379 |
value: tColumnsMobile,
|
116380 |
onChange: function onChange(value) {
|
116381 |
return setAttributes({ tColumnsMobile: value });
|
@@ -116385,7 +116424,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116385 |
});
|
116386 |
} else if ("tablet" === tab.name) {
|
116387 |
tabout = wp.element.createElement(RangeControl, {
|
116388 |
-
label: __("Columns"),
|
116389 |
value: tColumnsTablet,
|
116390 |
onChange: function onChange(value) {
|
116391 |
return setAttributes({ tColumnsTablet: value });
|
@@ -116395,7 +116434,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116395 |
});
|
116396 |
} else {
|
116397 |
tabout = wp.element.createElement(RangeControl, {
|
116398 |
-
label: __("Columns"),
|
116399 |
value: tColumnsDesktop,
|
116400 |
onChange: function onChange(value) {
|
116401 |
return setAttributes({ tColumnsDesktop: value });
|
@@ -116438,7 +116477,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116438 |
null,
|
116439 |
wp.element.createElement(
|
116440 |
ButtonGroup,
|
116441 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116442 |
wp.element.createElement(
|
116443 |
Button,
|
116444 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingTypeMobile === "px", "aria-pressed": paddingTypeMobile === "px", onClick: function onClick() {
|
@@ -116457,7 +116496,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116457 |
wp.element.createElement(
|
116458 |
"h2",
|
116459 |
null,
|
116460 |
-
__("Padding")
|
116461 |
),
|
116462 |
wp.element.createElement(RangeControl, {
|
116463 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -116488,7 +116527,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116488 |
null,
|
116489 |
wp.element.createElement(
|
116490 |
ButtonGroup,
|
116491 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116492 |
wp.element.createElement(
|
116493 |
Button,
|
116494 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingTypeTablet === "px", "aria-pressed": paddingTypeTablet === "px", onClick: function onClick() {
|
@@ -116507,7 +116546,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116507 |
wp.element.createElement(
|
116508 |
"h2",
|
116509 |
null,
|
116510 |
-
__("Padding")
|
116511 |
),
|
116512 |
wp.element.createElement(RangeControl, {
|
116513 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -116538,7 +116577,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116538 |
null,
|
116539 |
wp.element.createElement(
|
116540 |
ButtonGroup,
|
116541 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116542 |
wp.element.createElement(
|
116543 |
Button,
|
116544 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingTypeDesktop === "px", "aria-pressed": paddingTypeDesktop === "px", onClick: function onClick() {
|
@@ -116557,7 +116596,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116557 |
wp.element.createElement(
|
116558 |
"h2",
|
116559 |
null,
|
116560 |
-
__("Padding")
|
116561 |
),
|
116562 |
wp.element.createElement(RangeControl, {
|
116563 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -116616,7 +116655,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116616 |
null,
|
116617 |
wp.element.createElement(
|
116618 |
ButtonGroup,
|
116619 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116620 |
wp.element.createElement(
|
116621 |
Button,
|
116622 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: marginTypeMobile === "px", "aria-pressed": marginTypeMobile === "px", onClick: function onClick() {
|
@@ -116635,7 +116674,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116635 |
wp.element.createElement(
|
116636 |
"h2",
|
116637 |
null,
|
116638 |
-
__("List Margin")
|
116639 |
),
|
116640 |
wp.element.createElement(RangeControl, {
|
116641 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -116666,7 +116705,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116666 |
null,
|
116667 |
wp.element.createElement(
|
116668 |
ButtonGroup,
|
116669 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116670 |
wp.element.createElement(
|
116671 |
Button,
|
116672 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: marginTypeTablet === "px", "aria-pressed": marginTypeTablet === "px", onClick: function onClick() {
|
@@ -116685,7 +116724,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116685 |
wp.element.createElement(
|
116686 |
"h2",
|
116687 |
null,
|
116688 |
-
__("List Margin")
|
116689 |
),
|
116690 |
wp.element.createElement(RangeControl, {
|
116691 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -116716,7 +116755,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116716 |
null,
|
116717 |
wp.element.createElement(
|
116718 |
ButtonGroup,
|
116719 |
-
{ className: "uagb-size-type-field", "aria-label": __("Size Type") },
|
116720 |
wp.element.createElement(
|
116721 |
Button,
|
116722 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: marginTypeDesktop === "px", "aria-pressed": marginTypeDesktop === "px", onClick: function onClick() {
|
@@ -116735,7 +116774,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116735 |
wp.element.createElement(
|
116736 |
"h2",
|
116737 |
null,
|
116738 |
-
__("List Margin")
|
116739 |
),
|
116740 |
wp.element.createElement(RangeControl, {
|
116741 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
@@ -116773,18 +116812,18 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116773 |
wp.element.createElement(
|
116774 |
"h2",
|
116775 |
null,
|
116776 |
-
__("Border")
|
116777 |
),
|
116778 |
wp.element.createElement(SelectControl, {
|
116779 |
-
label: __("Border Style"),
|
116780 |
value: borderStyle,
|
116781 |
onChange: function onChange(value) {
|
116782 |
return setAttributes({ borderStyle: value });
|
116783 |
},
|
116784 |
-
options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "dotted", label: __("Dotted") }, { value: "dashed", label: __("Dashed") }, { value: "double", label: __("Double") }, { value: "groove", label: __("Groove") }, { value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }, { value: "ridge", label: __("Ridge") }]
|
116785 |
}),
|
116786 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
116787 |
-
label: __("Border Width"),
|
116788 |
value: borderWidth,
|
116789 |
onChange: function onChange(value) {
|
116790 |
return setAttributes({ borderWidth: value });
|
@@ -116794,7 +116833,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116794 |
allowReset: true
|
116795 |
}),
|
116796 |
wp.element.createElement(RangeControl, {
|
116797 |
-
label: __("Border Radius"),
|
116798 |
value: borderRadius,
|
116799 |
onChange: function onChange(value) {
|
116800 |
return setAttributes({ borderRadius: value });
|
@@ -116809,7 +116848,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116809 |
wp.element.createElement(
|
116810 |
"p",
|
116811 |
{ className: "uagb-setting-label" },
|
116812 |
-
__("Border Color"),
|
116813 |
wp.element.createElement(
|
116814 |
"span",
|
116815 |
{ className: "components-base-control__label" },
|
@@ -116838,7 +116877,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116838 |
{ className: "uagb-toc__title-wrap" },
|
116839 |
wp.element.createElement(RichText, {
|
116840 |
tagName: "div",
|
116841 |
-
placeholder: __("Table Of Contents"),
|
116842 |
value: heading,
|
116843 |
className: "uagb-toc__title",
|
116844 |
onChange: function onChange(value) {
|
@@ -116981,7 +117020,7 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116981 |
}))(UAGBTableOfContentsEdit));
|
116982 |
|
116983 |
/***/ }),
|
116984 |
-
/*
|
116985 |
/*!*************************************************!*\
|
116986 |
!*** ./src/blocks/table-of-contents/styling.js ***!
|
116987 |
\*************************************************/
|
@@ -116992,8 +117031,8 @@ var UAGBTableOfContentsEdit = function (_Component) {
|
|
116992 |
"use strict";
|
116993 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
116994 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
116995 |
-
/**
|
116996 |
-
* Returns Dynamic Generated CSS
|
116997 |
*/
|
116998 |
|
116999 |
|
@@ -117237,7 +117276,7 @@ function styling(props) {
|
|
117237 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
117238 |
|
117239 |
/***/ }),
|
117240 |
-
/*
|
117241 |
/*!**********************************************!*\
|
117242 |
!*** ./src/blocks/table-of-contents/save.js ***!
|
117243 |
\**********************************************/
|
@@ -117251,8 +117290,8 @@ function styling(props) {
|
|
117251 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
117252 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
117253 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__toc__ = __webpack_require__(/*! ./toc */ 229);
|
117254 |
-
/**
|
117255 |
-
* BLOCK: Table of Contents - Save Block
|
117256 |
*/
|
117257 |
|
117258 |
|
@@ -117319,7 +117358,7 @@ function save(props) {
|
|
117319 |
}
|
117320 |
|
117321 |
/***/ }),
|
117322 |
-
/*
|
117323 |
/*!****************************************************!*\
|
117324 |
!*** ./src/blocks/table-of-contents/deprecated.js ***!
|
117325 |
\****************************************************/
|
@@ -117330,12 +117369,12 @@ function save(props) {
|
|
117330 |
"use strict";
|
117331 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
117332 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
117333 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deprecated_components__ = __webpack_require__(/*! ./deprecated/components */
|
117334 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__deprecated_table_of_contents__ = __webpack_require__(/*! ./deprecated/table-of-contents */
|
117335 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes__ = __webpack_require__(/*! ./attributes */ 228);
|
117336 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
117337 |
-
/**
|
117338 |
-
* BLOCK: Table of Contents - Deprecated Block
|
117339 |
*/
|
117340 |
|
117341 |
|
@@ -117506,7 +117545,7 @@ var deprecated = [{
|
|
117506 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
117507 |
|
117508 |
/***/ }),
|
117509 |
-
/*
|
117510 |
/*!***************************************************************!*\
|
117511 |
!*** ./src/blocks/table-of-contents/deprecated/components.js ***!
|
117512 |
\***************************************************************/
|
@@ -117745,7 +117784,7 @@ var TableOfContents = function (_Component) {
|
|
117745 |
/* harmony default export */ __webpack_exports__["a"] = (TableOfContents);
|
117746 |
|
117747 |
/***/ }),
|
117748 |
-
/*
|
117749 |
/*!**********************************************************************!*\
|
117750 |
!*** ./src/blocks/table-of-contents/deprecated/table-of-contents.js ***!
|
117751 |
\**********************************************************************/
|
@@ -117878,7 +117917,7 @@ var TOC = function (_React$Component) {
|
|
117878 |
/* harmony default export */ __webpack_exports__["a"] = (TOC);
|
117879 |
|
117880 |
/***/ }),
|
117881 |
-
/*
|
117882 |
/*!*************************************************!*\
|
117883 |
!*** ./src/blocks/table-of-contents/style.scss ***!
|
117884 |
\*************************************************/
|
@@ -117888,7 +117927,7 @@ var TOC = function (_React$Component) {
|
|
117888 |
// removed by extract-text-webpack-plugin
|
117889 |
|
117890 |
/***/ }),
|
117891 |
-
/*
|
117892 |
/*!**************************************************!*\
|
117893 |
!*** ./src/blocks/table-of-contents/editor.scss ***!
|
117894 |
\**************************************************/
|
@@ -117898,7 +117937,7 @@ var TOC = function (_React$Component) {
|
|
117898 |
// removed by extract-text-webpack-plugin
|
117899 |
|
117900 |
/***/ }),
|
117901 |
-
/*
|
117902 |
/*!************************************!*\
|
117903 |
!*** ./src/blocks/how-to/block.js ***!
|
117904 |
\************************************/
|
@@ -117908,15 +117947,15 @@ var TOC = function (_React$Component) {
|
|
117908 |
"use strict";
|
117909 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
117910 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 231);
|
117911 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */
|
117912 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */
|
117913 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */ 232);
|
117914 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__style_scss__);
|
117915 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */
|
117916 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
117917 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */
|
117918 |
-
/**
|
117919 |
-
* BLOCK: How-To Schema
|
117920 |
*/
|
117921 |
|
117922 |
|
@@ -117936,7 +117975,7 @@ registerBlockType("uagb/how-to", {
|
|
117936 |
description: uagb_blocks_info.blocks["uagb/how-to"]["description"],
|
117937 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].how_to,
|
117938 |
category: uagb_blocks_info.category,
|
117939 |
-
keywords: [__("how to"), __("schema"), __("uag")],
|
117940 |
supports: {
|
117941 |
anchor: true
|
117942 |
},
|
@@ -117980,7 +118019,7 @@ registerBlockType("uagb/how-to", {
|
|
117980 |
});
|
117981 |
|
117982 |
/***/ }),
|
117983 |
-
/*
|
117984 |
/*!***********************************!*\
|
117985 |
!*** ./src/blocks/how-to/edit.js ***!
|
117986 |
\***********************************/
|
@@ -117991,10 +118030,10 @@ registerBlockType("uagb/how-to", {
|
|
117991 |
"use strict";
|
117992 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
117993 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
117994 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__schema_notices__ = __webpack_require__(/*! ./schema-notices */
|
117995 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_times__ = __webpack_require__(/*! lodash/times */
|
117996 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_times__);
|
117997 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__styling__ = __webpack_require__(/*! ./styling */
|
117998 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
|
117999 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
118000 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */ 232);
|
@@ -118013,8 +118052,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
118013 |
|
118014 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
118015 |
|
118016 |
-
/**
|
118017 |
-
* BLOCK: How-To Schema
|
118018 |
*/
|
118019 |
|
118020 |
// Import block dependencies and components.
|
@@ -118060,7 +118099,7 @@ var _wp$element = wp.element,
|
|
118060 |
|
118061 |
var ALLOWED_BLOCKS = ['uagb/info-box'];
|
118062 |
|
118063 |
-
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail") }, { value: "medium", label: __("Medium") }, { value: "full", label: __("Large") }];
|
118064 |
|
118065 |
var UAGBHowTo = function (_Component) {
|
118066 |
_inherits(UAGBHowTo, _Component);
|
@@ -118148,8 +118187,8 @@ var UAGBHowTo = function (_Component) {
|
|
118148 |
});
|
118149 |
}
|
118150 |
|
118151 |
-
/*
|
118152 |
-
* Event to set Image as null while removing.
|
118153 |
*/
|
118154 |
|
118155 |
}, {
|
@@ -118160,8 +118199,8 @@ var UAGBHowTo = function (_Component) {
|
|
118160 |
setAttributes({ mainimage: null });
|
118161 |
}
|
118162 |
|
118163 |
-
/*
|
118164 |
-
* Event to set Image as while adding.
|
118165 |
*/
|
118166 |
|
118167 |
}, {
|
@@ -118381,14 +118420,14 @@ var UAGBHowTo = function (_Component) {
|
|
118381 |
|
118382 |
return wp.element.createElement(
|
118383 |
PanelBody,
|
118384 |
-
{ title: __("General"), initialOpen: true },
|
118385 |
wp.element.createElement(
|
118386 |
"h2",
|
118387 |
null,
|
118388 |
-
__("Image")
|
118389 |
),
|
118390 |
wp.element.createElement(MediaUpload, {
|
118391 |
-
title: __("Select Image"),
|
118392 |
onSelect: function onSelect(value) {
|
118393 |
return setAttributes({ mainimage: value });
|
118394 |
},
|
@@ -118399,7 +118438,7 @@ var UAGBHowTo = function (_Component) {
|
|
118399 |
return wp.element.createElement(
|
118400 |
Button,
|
118401 |
{ isDefault: true, onClick: open },
|
118402 |
-
!mainimage.url ? __("Select Image") : __("Replace image")
|
118403 |
);
|
118404 |
}
|
118405 |
}),
|
@@ -118411,10 +118450,10 @@ var UAGBHowTo = function (_Component) {
|
|
118411 |
return setAttributes({ mainimage: '' });
|
118412 |
},
|
118413 |
isLink: true, isDestructive: true },
|
118414 |
-
__("Remove Image")
|
118415 |
),
|
118416 |
mainimage.url && wp.element.createElement(SelectControl, {
|
118417 |
-
label: __("Size"),
|
118418 |
options: imageSizeOptions,
|
118419 |
value: imgSize,
|
118420 |
onChange: function onChange(value) {
|
@@ -118424,7 +118463,7 @@ var UAGBHowTo = function (_Component) {
|
|
118424 |
wp.element.createElement(
|
118425 |
"h2",
|
118426 |
null,
|
118427 |
-
__("Primary Heading")
|
118428 |
),
|
118429 |
wp.element.createElement(SelectControl, {
|
118430 |
label: __("Tag"),
|
@@ -118432,25 +118471,25 @@ var UAGBHowTo = function (_Component) {
|
|
118432 |
onChange: function onChange(value) {
|
118433 |
return setAttributes({ headingTag: value });
|
118434 |
},
|
118435 |
-
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }]
|
118436 |
}),
|
118437 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
118438 |
wp.element.createElement(ToggleControl, {
|
118439 |
-
label: __("Show Total Time"),
|
118440 |
checked: showTotaltime,
|
118441 |
onChange: function onChange(value) {
|
118442 |
return setAttributes({ showTotaltime: !showTotaltime });
|
118443 |
},
|
118444 |
-
help: __("Note: Time is recommended field for schema. It should be ON")
|
118445 |
}),
|
118446 |
showTotaltime && wp.element.createElement(
|
118447 |
PanelBody,
|
118448 |
-
{ title: __("Time"), initialOpen: true, className: "uagb-editor-howto-timepanel" },
|
118449 |
wp.element.createElement(
|
118450 |
Fragment,
|
118451 |
null,
|
118452 |
wp.element.createElement(RangeControl, {
|
118453 |
-
label: __("Years"),
|
118454 |
value: timeInYears,
|
118455 |
onChange: function onChange(value) {
|
118456 |
return setAttributes({ timeInYears: value });
|
@@ -118460,7 +118499,7 @@ var UAGBHowTo = function (_Component) {
|
|
118460 |
allowReset: true
|
118461 |
}),
|
118462 |
wp.element.createElement(RangeControl, {
|
118463 |
-
label: __("Months"),
|
118464 |
value: timeInMonths,
|
118465 |
onChange: function onChange(value) {
|
118466 |
return setAttributes({ timeInMonths: value });
|
@@ -118470,7 +118509,7 @@ var UAGBHowTo = function (_Component) {
|
|
118470 |
allowReset: true
|
118471 |
}),
|
118472 |
wp.element.createElement(RangeControl, {
|
118473 |
-
label: __("Days"),
|
118474 |
value: timeInDays,
|
118475 |
onChange: function onChange(value) {
|
118476 |
return setAttributes({ timeInDays: value });
|
@@ -118480,7 +118519,7 @@ var UAGBHowTo = function (_Component) {
|
|
118480 |
allowReset: true
|
118481 |
}),
|
118482 |
wp.element.createElement(RangeControl, {
|
118483 |
-
label: __("Hours"),
|
118484 |
value: timeInHours,
|
118485 |
onChange: function onChange(value) {
|
137 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
138 |
|
139 |
"use strict";
|
140 |
+
/**
|
141 |
+
* Block Icons
|
142 |
*/
|
143 |
|
144 |
var el = wp.element.createElement;
|
163 |
"icon_list": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M15.625 0h-11.25c-2.416 0-4.375 1.959-4.375 4.375v11.25c0 2.416 1.959 4.375 4.375 4.375h11.25c2.416 0 4.375-1.959 4.375-4.375v-11.25c0-2.416-1.959-4.375-4.375-4.375zM18.75 15.625c0 1.726-1.399 3.125-3.125 3.125h-11.25c-1.726 0-3.125-1.399-3.125-3.125v-11.25c0-1.726 1.399-3.125 3.125-3.125h11.25c1.726 0 3.125 1.399 3.125 3.125v11.25z" }), el("path", { fill: "#4a00e0", d: "M6.25 4.375h-1.25c-0.345 0-0.625 0.28-0.625 0.625v1.25c0 0.345 0.28 0.625 0.625 0.625h1.25c0.345 0 0.625-0.28 0.625-0.625v-1.25c0-0.345-0.28-0.625-0.625-0.625z" }), el("path", { fill: "#4a00e0", d: "M6.25 8.75h-1.25c-0.345 0-0.625 0.28-0.625 0.625v1.25c0 0.345 0.28 0.625 0.625 0.625h1.25c0.345 0 0.625-0.28 0.625-0.625v-1.25c0-0.345-0.28-0.625-0.625-0.625z" }), el("path", { fill: "#4a00e0", d: "M6.25 13.125h-1.25c-0.345 0-0.625 0.28-0.625 0.625v1.25c0 0.345 0.28 0.625 0.625 0.625h1.25c0.345 0 0.625-0.28 0.625-0.625v-1.25c0-0.345-0.28-0.625-0.625-0.625z" }), el("path", { fill: "#4a00e0", d: "M8.125 5h7.5v1.25h-7.5v-1.25z" }), el("path", { fill: "#4a00e0", d: "M8.125 9.375h7.5v1.25h-7.5v-1.25z" }), el("path", { fill: "#4a00e0", d: "M8.125 13.75h7.5v1.25h-7.5v-1.25z" })),
|
164 |
"icon_list_child": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M18.069 4.961c0 0.444-0.36 0.805-0.805 0.805h-10.792c-0.446 0-0.807-0.361-0.807-0.805s0.36-0.806 0.807-0.806h10.792c0.445 0.001 0.805 0.362 0.805 0.806z" }), el("path", { fill: "#4a00e0", d: "M18.069 10.017c0 0.445-0.36 0.805-0.805 0.805h-10.792c-0.446 0-0.807-0.359-0.807-0.805s0.36-0.806 0.807-0.806h10.792c0.445 0 0.805 0.36 0.805 0.806z" }), el("path", { fill: "#4a00e0", d: "M18.069 15.071c0 0.444-0.36 0.805-0.805 0.805h-10.792c-0.446 0-0.807-0.36-0.807-0.805s0.36-0.805 0.807-0.805h10.792c0.445 0.001 0.805 0.361 0.805 0.805z" }), el("path", { fill: "#4a00e0", d: "M4.093 15.009c0 0.597-0.484 1.081-1.081 1.081s-1.081-0.484-1.081-1.081c0-0.597 0.484-1.081 1.081-1.081s1.081 0.484 1.081 1.081z" }), el("path", { fill: "#4a00e0", d: "M4.093 10.017c0 0.597-0.484 1.081-1.081 1.081s-1.081-0.484-1.081-1.081c0-0.597 0.484-1.081 1.081-1.081s1.081 0.484 1.081 1.081z" }), el("path", { fill: "#4a00e0", d: "M4.093 5.024c0 0.597-0.484 1.081-1.081 1.081s-1.081-0.484-1.081-1.081c0-0.597 0.484-1.081 1.081-1.081s1.081 0.484 1.081 1.081z" })),
|
165 |
"team": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M20 14.124c0-1.17-0.35-2.3-1.013-3.268-0.477-0.696-1.091-1.274-1.803-1.703 0.838-0.794 1.362-1.915 1.362-3.158 0-2.399-1.952-4.351-4.351-4.351-1.423 0-2.755 0.704-3.565 1.859-0.206-0.030-0.416-0.046-0.63-0.046s-0.424 0.016-0.63 0.046c-0.81-1.155-2.142-1.859-3.565-1.859-2.399 0-4.351 1.952-4.351 4.351 0 1.242 0.524 2.364 1.362 3.158-0.712 0.429-1.326 1.008-1.803 1.703-0.663 0.968-1.014 2.098-1.014 3.268v2.42h4.195v1.813h11.611v-1.813h4.194v-2.42h-0zM14.195 2.717c1.807 0 3.277 1.47 3.277 3.278s-1.47 3.277-3.277 3.277c-0.032 0-0.065-0-0.097-0.001 0.002-0.007 0.005-0.014 0.007-0.021 0.056-0.159 0.102-0.322 0.14-0.488 0.003-0.012 0.006-0.024 0.008-0.035 0.010-0.045 0.018-0.090 0.027-0.136 0.004-0.021 0.008-0.043 0.012-0.064 0.007-0.041 0.013-0.081 0.018-0.122 0.004-0.029 0.008-0.057 0.011-0.085 0.004-0.036 0.009-0.072 0.012-0.109s0.006-0.074 0.008-0.111c0.002-0.029 0.004-0.059 0.006-0.088 0.003-0.063 0.004-0.127 0.005-0.19 0-0.004 0-0.009 0-0.014 0-0.002-0-0.005-0-0.007 0-0.065-0.002-0.129-0.005-0.193-0.001-0.019-0.002-0.037-0.003-0.056-0.003-0.054-0.007-0.109-0.012-0.163-0.001-0.012-0.002-0.024-0.004-0.037-0.162-1.568-1.153-2.911-2.582-3.531 0.616-0.692 1.507-1.103 2.45-1.103v0zM8.866 4.732c0.010-0.004 0.021-0.008 0.031-0.011 0.033-0.012 0.066-0.023 0.099-0.033 0.025-0.008 0.050-0.016 0.075-0.023 0.018-0.005 0.037-0.011 0.055-0.016 0.033-0.009 0.066-0.018 0.1-0.026 0.248-0.060 0.507-0.093 0.773-0.093s0.525 0.033 0.773 0.094c0.033 0.008 0.066 0.017 0.099 0.026 0.019 0.005 0.038 0.010 0.056 0.016 0.025 0.007 0.050 0.015 0.075 0.023 0.033 0.011 0.066 0.022 0.1 0.034 0.010 0.004 0.020 0.007 0.030 0.011 1.096 0.405 1.918 1.381 2.104 2.565 0.002 0.009 0.003 0.019 0.004 0.028 0.006 0.040 0.011 0.080 0.015 0.121 0.002 0.015 0.003 0.030 0.005 0.045 0.004 0.037 0.006 0.074 0.009 0.112 0.001 0.016 0.002 0.032 0.003 0.048 0.002 0.048 0.003 0.096 0.004 0.144 0 0.004 0 0.008 0 0.012 0 0.002-0 0.004-0 0.006 0 0.047-0.002 0.093-0.003 0.139-0.001 0.015-0.001 0.029-0.002 0.044-0.002 0.045-0.006 0.089-0.010 0.133-0.002 0.017-0.004 0.034-0.006 0.051-0.003 0.029-0.007 0.057-0.011 0.085-0.003 0.022-0.006 0.044-0.010 0.066-0.005 0.033-0.011 0.066-0.018 0.1-0.006 0.029-0.012 0.059-0.019 0.088-0.004 0.018-0.008 0.035-0.012 0.053-0.010 0.044-0.022 0.087-0.034 0.13-0.005 0.017-0.010 0.034-0.014 0.051-0.008 0.025-0.016 0.049-0.024 0.074-0.006 0.020-0.013 0.039-0.020 0.058-0.007 0.022-0.015 0.044-0.023 0.066-0.014 0.037-0.029 0.074-0.044 0.111-0.007 0.016-0.014 0.032-0.021 0.049-0.013 0.031-0.027 0.061-0.041 0.091l-0.005 0.011c-0.005 0.011-0.010 0.021-0.015 0.032-0.016 0.032-0.032 0.064-0.049 0.096-0.007 0.012-0.013 0.025-0.020 0.037-0 0.001-0.001 0.002-0.001 0.002-0.019 0.034-0.038 0.067-0.058 0.1-0.008 0.013-0.016 0.026-0.024 0.039-0.021 0.035-0.044 0.070-0.066 0.103-0.014 0.021-0.029 0.042-0.043 0.063-0.013 0.018-0.025 0.035-0.038 0.052-0.017 0.023-0.033 0.045-0.050 0.067-0.012 0.015-0.023 0.030-0.035 0.045-0.018 0.022-0.036 0.045-0.055 0.067-0.012 0.014-0.023 0.027-0.035 0.041-0.020 0.022-0.039 0.044-0.059 0.066-0.012 0.013-0.024 0.025-0.036 0.038-0.032 0.034-0.065 0.067-0.099 0.1-0.020 0.019-0.040 0.039-0.061 0.058-0.014 0.013-0.029 0.026-0.043 0.038-0.024 0.021-0.047 0.041-0.071 0.062-0.012 0.011-0.025 0.021-0.037 0.031-0.029 0.024-0.059 0.047-0.089 0.070-0.008 0.006-0.016 0.012-0.025 0.019-0.545 0.405-1.221 0.646-1.951 0.646s-1.406-0.24-1.951-0.646c-0.008-0.006-0.016-0.012-0.024-0.018-0.030-0.023-0.060-0.046-0.089-0.070-0.012-0.010-0.025-0.020-0.037-0.030-0.024-0.021-0.048-0.041-0.072-0.062-0.014-0.013-0.029-0.025-0.043-0.038-0.021-0.019-0.041-0.038-0.061-0.058-0.034-0.033-0.067-0.066-0.1-0.101-0.012-0.012-0.024-0.025-0.036-0.037-0.020-0.022-0.039-0.044-0.058-0.066-0.012-0.013-0.024-0.027-0.035-0.040-0.019-0.022-0.037-0.045-0.055-0.067-0.012-0.015-0.024-0.030-0.035-0.045-0.017-0.022-0.034-0.044-0.050-0.067-0.013-0.017-0.025-0.035-0.037-0.053-0.015-0.021-0.029-0.041-0.044-0.062-0.023-0.034-0.045-0.069-0.066-0.104-0.008-0.013-0.016-0.026-0.023-0.039-0.020-0.034-0.040-0.067-0.058-0.102-0.007-0.013-0.013-0.025-0.020-0.038-0.017-0.032-0.034-0.064-0.050-0.096-0.006-0.012-0.011-0.023-0.017-0.035-0.001-0.002-0.002-0.003-0.003-0.005-0.015-0.031-0.029-0.063-0.043-0.095-0.007-0.015-0.013-0.030-0.020-0.046-0.015-0.038-0.030-0.075-0.045-0.113-0.008-0.021-0.015-0.041-0.022-0.062s-0.015-0.043-0.022-0.064c-0.008-0.023-0.015-0.046-0.022-0.069-0.010-0.035-0.020-0.070-0.030-0.105-0.007-0.025-0.013-0.049-0.019-0.074-0.005-0.020-0.009-0.039-0.014-0.059-0.005-0.024-0.011-0.048-0.016-0.073-0.007-0.038-0.014-0.076-0.020-0.114-0.003-0.020-0.006-0.041-0.009-0.062-0.004-0.030-0.008-0.061-0.012-0.092-0.002-0.015-0.004-0.030-0.005-0.046-0.004-0.046-0.008-0.091-0.010-0.137-0.001-0.013-0.001-0.026-0.002-0.039-0.002-0.049-0.004-0.098-0.004-0.148 0-0.053 0.002-0.105 0.004-0.158 0-0.014 0.002-0.028 0.003-0.042 0.002-0.039 0.005-0.079 0.009-0.118 0.001-0.014 0.003-0.027 0.004-0.041 0.005-0.042 0.010-0.084 0.016-0.126 0.001-0.008 0.002-0.016 0.004-0.024 0.186-1.185 1.008-2.161 2.105-2.566v0zM2.528 5.995c0-1.807 1.47-3.278 3.277-3.278 0.943 0 1.834 0.411 2.45 1.103-1.43 0.621-2.421 1.964-2.582 3.533-0.001 0.011-0.002 0.021-0.003 0.032-0.005 0.056-0.009 0.112-0.013 0.168-0.001 0.017-0.002 0.034-0.003 0.052-0.003 0.067-0.005 0.135-0.005 0.202s0.002 0.137 0.005 0.205c0.001 0.027 0.003 0.055 0.005 0.082 0.003 0.039 0.005 0.079 0.009 0.118 0.003 0.035 0.007 0.070 0.011 0.104 0.004 0.030 0.007 0.060 0.012 0.090 0.005 0.040 0.011 0.079 0.018 0.118 0.004 0.023 0.008 0.046 0.013 0.070 0.008 0.044 0.016 0.088 0.025 0.131 0.003 0.014 0.007 0.028 0.010 0.043 0.036 0.161 0.082 0.319 0.136 0.473 0.003 0.010 0.007 0.020 0.010 0.030-0.032 0.001-0.065 0.001-0.097 0.001-1.807-0-3.277-1.47-3.277-3.277v0zM5.095 12.841c-0.012 0.019-0.023 0.038-0.035 0.056-0.025 0.040-0.049 0.079-0.072 0.12-0.013 0.022-0.026 0.045-0.039 0.067-0.021 0.037-0.042 0.075-0.062 0.112-0.013 0.024-0.025 0.047-0.038 0.071-0.019 0.037-0.039 0.075-0.057 0.113-0.012 0.024-0.024 0.048-0.035 0.071-0.019 0.040-0.037 0.080-0.055 0.12-0.010 0.022-0.020 0.044-0.030 0.065-0.021 0.048-0.041 0.097-0.060 0.145-0.006 0.014-0.012 0.028-0.018 0.043-0.025 0.063-0.048 0.127-0.071 0.191-0.005 0.015-0.010 0.029-0.015 0.044-0.017 0.049-0.034 0.098-0.049 0.148-0.007 0.023-0.014 0.046-0.021 0.069-0.013 0.042-0.025 0.084-0.037 0.127-0.007 0.025-0.014 0.051-0.020 0.076-0.010 0.041-0.021 0.082-0.030 0.122-0.006 0.026-0.012 0.052-0.018 0.078-0.009 0.041-0.018 0.083-0.026 0.125-0.005 0.025-0.010 0.050-0.015 0.075-0.008 0.046-0.016 0.091-0.023 0.137-0.003 0.021-0.007 0.043-0.011 0.064-0.010 0.067-0.019 0.134-0.027 0.202 0 0.001-0 0.002-0 0.002-0.007 0.062-0.013 0.123-0.018 0.185h-3.139v-1.346c0-1.839 1.057-3.491 2.714-4.276 0.604 0.317 1.29 0.498 2.017 0.498 0.211 0 0.422-0.015 0.631-0.046 0.033 0.047 0.066 0.093 0.1 0.138 0.012 0.015 0.024 0.030 0.036 0.045 0.034 0.043 0.068 0.086 0.104 0.128 0.014 0.017 0.029 0.034 0.044 0.051 0.033 0.038 0.067 0.076 0.102 0.113 0.018 0.020 0.036 0.039 0.055 0.058 0.031 0.032 0.064 0.065 0.096 0.096 0.012 0.012 0.024 0.024 0.036 0.036-0.047 0.028-0.093 0.057-0.139 0.087-0.008 0.005-0.015 0.010-0.022 0.015-0.046 0.030-0.091 0.060-0.136 0.091-0.016 0.011-0.031 0.021-0.046 0.032-0.040 0.028-0.079 0.057-0.119 0.086-0.012 0.009-0.025 0.018-0.037 0.028-0.050 0.038-0.099 0.076-0.148 0.116-0.011 0.008-0.021 0.017-0.032 0.026-0.039 0.032-0.077 0.064-0.115 0.097-0.015 0.013-0.029 0.025-0.044 0.038-0.038 0.034-0.075 0.067-0.113 0.102-0.010 0.009-0.020 0.018-0.029 0.027-0.046 0.043-0.091 0.087-0.135 0.131-0.012 0.012-0.023 0.023-0.034 0.035-0.034 0.035-0.067 0.070-0.1 0.105-0.013 0.014-0.026 0.028-0.039 0.043-0.037 0.041-0.074 0.081-0.11 0.123-0.006 0.006-0.012 0.013-0.017 0.019-0.041 0.048-0.081 0.097-0.121 0.146-0.011 0.014-0.022 0.028-0.033 0.042-0.029 0.038-0.059 0.076-0.088 0.115-0.011 0.015-0.023 0.030-0.034 0.045-0.038 0.052-0.075 0.104-0.111 0.157-0.039 0.057-0.076 0.114-0.113 0.172v0zM5.268 17.283v-1.346c0-0.060 0.001-0.119 0.003-0.178 0.001-0.020 0.002-0.039 0.003-0.058 0.002-0.039 0.004-0.079 0.007-0.118 0.002-0.024 0.004-0.048 0.007-0.071 0.003-0.035 0.006-0.070 0.010-0.104 0.003-0.025 0.007-0.050 0.010-0.076 0.004-0.033 0.008-0.065 0.013-0.098 0.004-0.026 0.009-0.052 0.013-0.078 0.005-0.031 0.010-0.063 0.016-0.094 0.005-0.027 0.011-0.053 0.016-0.079 0.006-0.030 0.012-0.061 0.019-0.091 0.006-0.027 0.013-0.053 0.019-0.079 0.007-0.030 0.014-0.059 0.022-0.089 0.007-0.027 0.015-0.053 0.023-0.080 0.008-0.029 0.016-0.058 0.025-0.086 0.008-0.027 0.017-0.053 0.026-0.079 0.009-0.028 0.018-0.056 0.028-0.084 0.009-0.026 0.019-0.053 0.029-0.079 0.010-0.028 0.020-0.055 0.030-0.082s0.021-0.052 0.031-0.078c0.011-0.027 0.022-0.054 0.033-0.081s0.023-0.051 0.034-0.077c0.012-0.026 0.024-0.053 0.036-0.079s0.025-0.051 0.037-0.076c0.013-0.026 0.025-0.051 0.039-0.077s0.026-0.050 0.040-0.075c0.014-0.025 0.027-0.050 0.041-0.075s0.028-0.049 0.043-0.073c0.014-0.025 0.029-0.049 0.044-0.074s0.030-0.048 0.046-0.072c0.015-0.024 0.031-0.048 0.046-0.072s0.032-0.047 0.048-0.071c0.016-0.024 0.032-0.047 0.049-0.070s0.034-0.046 0.051-0.069c0.017-0.023 0.034-0.046 0.051-0.068s0.036-0.045 0.054-0.067c0.018-0.022 0.036-0.044 0.054-0.066s0.037-0.044 0.056-0.065 0.038-0.043 0.056-0.064 0.039-0.042 0.058-0.063c0.019-0.021 0.039-0.042 0.058-0.062s0.040-0.041 0.061-0.061c0.020-0.020 0.041-0.040 0.061-0.060s0.041-0.039 0.063-0.059c0.021-0.020 0.042-0.039 0.063-0.058s0.043-0.038 0.065-0.057c0.022-0.019 0.044-0.038 0.066-0.056s0.045-0.036 0.067-0.054c0.023-0.018 0.045-0.036 0.068-0.054s0.046-0.035 0.069-0.052c0.023-0.017 0.047-0.035 0.071-0.052s0.047-0.033 0.071-0.050c0.024-0.016 0.049-0.033 0.073-0.049s0.048-0.031 0.072-0.047c0.025-0.016 0.050-0.032 0.075-0.047s0.049-0.029 0.074-0.044c0.026-0.015 0.052-0.030 0.078-0.045 0.025-0.014 0.050-0.028 0.075-0.041 0.027-0.014 0.054-0.028 0.080-0.042 0.025-0.013 0.051-0.026 0.077-0.039 0.020-0.010 0.041-0.020 0.061-0.029 0.603 0.317 1.289 0.498 2.017 0.498s1.414-0.18 2.017-0.498c0.021 0.010 0.041 0.019 0.061 0.029 0.026 0.013 0.052 0.026 0.078 0.039s0.053 0.028 0.079 0.042c0.026 0.014 0.051 0.028 0.077 0.042s0.052 0.029 0.077 0.044c0.025 0.015 0.050 0.030 0.075 0.045s0.050 0.031 0.075 0.047c0.025 0.015 0.049 0.031 0.073 0.047s0.048 0.032 0.072 0.049c0.024 0.017 0.048 0.033 0.071 0.050s0.047 0.034 0.070 0.051c0.023 0.017 0.047 0.035 0.069 0.053s0.046 0.035 0.068 0.053c0.022 0.018 0.045 0.036 0.067 0.055s0.044 0.037 0.066 0.055c0.022 0.019 0.043 0.038 0.065 0.057s0.042 0.039 0.063 0.058c0.021 0.020 0.042 0.039 0.063 0.059s0.041 0.040 0.061 0.060c0.020 0.021 0.041 0.041 0.061 0.062s0.039 0.041 0.058 0.062c0.020 0.021 0.039 0.043 0.058 0.064s0.038 0.043 0.056 0.064c0.019 0.022 0.038 0.043 0.056 0.066s0.036 0.043 0.054 0.065c0.018 0.022 0.036 0.045 0.054 0.068s0.034 0.045 0.051 0.067c0.017 0.023 0.034 0.046 0.051 0.070s0.032 0.046 0.049 0.070c0.016 0.023 0.033 0.047 0.048 0.071s0.031 0.047 0.046 0.071c0.015 0.024 0.031 0.048 0.046 0.072s0.029 0.049 0.044 0.073c0.014 0.024 0.029 0.049 0.043 0.074s0.027 0.050 0.041 0.075c0.013 0.025 0.027 0.050 0.040 0.075s0.026 0.051 0.038 0.077c0.013 0.025 0.025 0.050 0.037 0.076s0.024 0.052 0.036 0.079c0.012 0.026 0.023 0.051 0.034 0.077s0.022 0.054 0.033 0.080c0.011 0.026 0.021 0.052 0.032 0.079s0.020 0.055 0.030 0.082c0.010 0.026 0.020 0.052 0.029 0.079 0.010 0.028 0.019 0.056 0.028 0.084 0.009 0.027 0.017 0.053 0.026 0.079 0.009 0.029 0.017 0.058 0.025 0.087 0.008 0.026 0.015 0.053 0.022 0.079 0.008 0.029 0.015 0.059 0.022 0.089 0.006 0.027 0.013 0.053 0.019 0.079 0.007 0.030 0.013 0.061 0.019 0.091 0.005 0.026 0.011 0.053 0.016 0.079 0.006 0.031 0.011 0.062 0.016 0.094 0.004 0.026 0.009 0.052 0.013 0.079 0.005 0.032 0.009 0.065 0.013 0.097 0.003 0.025 0.007 0.051 0.010 0.076 0.004 0.034 0.007 0.069 0.010 0.104 0.002 0.024 0.005 0.047 0.007 0.071 0.003 0.040 0.005 0.079 0.006 0.119 0.001 0.019 0.003 0.039 0.003 0.058 0.002 0.059 0.003 0.119 0.003 0.178v1.346h-9.463zM15.787 15.47c-0.010-0.13-0.026-0.261-0.045-0.39-0.003-0.021-0.007-0.041-0.010-0.061-0.008-0.047-0.015-0.094-0.024-0.14-0.005-0.024-0.010-0.049-0.014-0.074-0.008-0.042-0.017-0.085-0.027-0.127-0.006-0.025-0.012-0.051-0.018-0.076-0.010-0.041-0.020-0.083-0.031-0.124-0.007-0.025-0.013-0.050-0.020-0.075-0.012-0.043-0.024-0.086-0.037-0.128-0.007-0.023-0.013-0.045-0.020-0.067-0.016-0.050-0.033-0.101-0.050-0.151-0.005-0.014-0.009-0.028-0.014-0.042-0.023-0.064-0.047-0.128-0.072-0.191-0.005-0.013-0.011-0.027-0.017-0.041-0.020-0.049-0.040-0.098-0.061-0.147-0.009-0.021-0.019-0.043-0.029-0.064-0.018-0.041-0.037-0.081-0.056-0.121-0.011-0.024-0.023-0.047-0.034-0.070-0.019-0.038-0.038-0.076-0.058-0.114-0.012-0.023-0.025-0.047-0.038-0.071-0.021-0.038-0.041-0.075-0.063-0.113-0.013-0.022-0.025-0.045-0.038-0.067-0.023-0.040-0.048-0.080-0.073-0.12-0.012-0.019-0.022-0.038-0.034-0.056-0.037-0.058-0.074-0.115-0.113-0.172-0.037-0.053-0.074-0.105-0.111-0.157-0.011-0.015-0.022-0.029-0.033-0.045-0.029-0.039-0.058-0.077-0.088-0.115-0.011-0.014-0.021-0.028-0.032-0.041-0.040-0.049-0.080-0.098-0.121-0.146-0.005-0.006-0.011-0.012-0.016-0.018-0.036-0.042-0.073-0.084-0.111-0.125-0.013-0.014-0.026-0.028-0.039-0.042-0.033-0.036-0.067-0.071-0.101-0.105-0.011-0.012-0.022-0.023-0.034-0.034-0.044-0.044-0.089-0.088-0.135-0.131-0.010-0.009-0.019-0.018-0.029-0.027-0.037-0.035-0.075-0.069-0.113-0.102-0.015-0.013-0.029-0.025-0.044-0.038-0.038-0.033-0.076-0.065-0.115-0.097-0.011-0.009-0.021-0.018-0.032-0.026-0.048-0.039-0.098-0.078-0.148-0.116-0.012-0.009-0.025-0.018-0.037-0.028-0.039-0.029-0.079-0.057-0.119-0.085-0.015-0.011-0.031-0.022-0.047-0.033-0.044-0.031-0.089-0.061-0.134-0.090-0.008-0.005-0.016-0.011-0.024-0.016-0.046-0.029-0.092-0.058-0.138-0.086 0.012-0.012 0.023-0.024 0.035-0.035 0.033-0.032 0.066-0.065 0.098-0.098 0.018-0.019 0.036-0.037 0.054-0.056 0.035-0.038 0.070-0.076 0.103-0.115 0.014-0.017 0.029-0.033 0.043-0.050 0.036-0.043 0.071-0.086 0.105-0.13 0.011-0.014 0.023-0.029 0.034-0.043 0.034-0.046 0.068-0.092 0.101-0.138 0.21 0.031 0.421 0.046 0.631 0.046 0.728 0 1.414-0.18 2.017-0.498 1.657 0.785 2.714 2.436 2.714 4.276v1.346h-3.139z" })),
|
166 |
+
"tabs": el("svg", { width: 20, height: 20, viewBox: "0 0 128 128" }, el("path", { fill: "#4a00e0", d: "M116.2,25.4V20c0-8.3-6.7-15-15-15H15C6.7,5,0,11.7,0,20v88c0,8.3,6.7,15,15,15h98c8.3,0,15-6.7,15-15V40C128,32.8,123,26.8,116.2,25.4z M106.2,20v5H83.8v-5c0-1.8-0.3-3.4-0.9-5h18.4C104,15,106.2,17.2,106.2,20z M68.8,15c2.8,0,5,2.2,5,5v5H51v-5c0-1.8-0.3-3.4-0.9-5H68.8z M118,108c0,2.8-2.2,5-5,5H15c-2.8,0-5-2.2-5-5V20c0-2.8,2.2-5,5-5h21c2.8,0,5,2.2,5,5v15h72c2.8,0,5,2.2,5,5V108z" })),
|
167 |
"social_share": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M12.724 17.582c-2.53 1.063-5.462 0.552-7.49-1.313 1.713-1.814 0.438-4.835-2.084-4.835-1.582 0-2.868 1.287-2.868 2.868 0 1.946 1.91 3.335 3.763 2.724 2.433 2.44 6.086 3.134 9.21 1.82 0.349-0.146 0.513-0.549 0.366-0.897s-0.548-0.513-0.897-0.367v0zM1.652 14.302c0-0.825 0.672-1.497 1.498-1.497 0.825 0 1.497 0.672 1.497 1.497s-0.672 1.497-1.497 1.497c-0.826 0-1.498-0.672-1.498-1.497z" }), el("path", { fill: "#4a00e0", d: "M2.506 9.096c0.357 0.13 0.749-0.055 0.878-0.409 0.683-1.876 2.162-3.392 4.006-4.131 0.453 0.99 1.452 1.68 2.609 1.68 1.582 0 2.868-1.286 2.868-2.868 0-1.581-1.286-2.868-2.868-2.868-1.52 0-2.767 1.188-2.861 2.685-2.346 0.851-4.195 2.705-5.042 5.033-0.129 0.355 0.054 0.749 0.41 0.878zM10 1.871c0.826 0 1.498 0.671 1.498 1.497s-0.672 1.498-1.498 1.498-1.497-0.672-1.497-1.498 0.671-1.497 1.497-1.497z" }), el("path", { fill: "#4a00e0", d: "M18.368 11.871c0.024-0.136 0.039-0.573 0.039-0.779 0-2.375-1.013-4.651-2.777-6.244-0.281-0.253-0.715-0.231-0.968 0.050s-0.231 0.714 0.049 0.968c1.546 1.395 2.421 3.432 2.316 5.575-1.666-0.103-3.045 1.226-3.045 2.861 0 1.581 1.286 2.868 2.867 2.868s2.868-1.287 2.868-2.868c0.001-1.024-0.539-1.924-1.349-2.431zM16.85 15.799c-0.825 0-1.497-0.672-1.497-1.497s0.672-1.497 1.497-1.497c0.826 0 1.497 0.672 1.497 1.497s-0.671 1.497-1.497 1.497z" })),
|
168 |
"social_share_child": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M13.717 11.663c-0.79 0-1.498 0.36-1.968 0.926l-3.055-1.734c0.096-0.268 0.148-0.554 0.148-0.854s-0.052-0.586-0.148-0.854l3.055-1.735c0.47 0.565 1.178 0.927 1.968 0.927 1.41 0 2.557-1.147 2.557-2.559 0-1.41-1.146-2.558-2.557-2.558s-2.558 1.147-2.558 2.558c0 0.3 0.053 0.588 0.147 0.854l-3.055 1.736c-0.468-0.566-1.177-0.927-1.967-0.927-1.411 0-2.558 1.147-2.558 2.558s1.147 2.558 2.558 2.558c0.79 0 1.499-0.359 1.967-0.926l3.055 1.734c-0.095 0.268-0.147 0.556-0.147 0.855 0 1.409 1.147 2.557 2.558 2.557s2.557-1.147 2.557-2.557c-0.001-1.411-1.147-2.559-2.557-2.559zM13.717 4.116c0.917 0 1.663 0.746 1.663 1.663s-0.746 1.663-1.663 1.663c-0.916 0-1.662-0.745-1.662-1.663 0-0.917 0.746-1.663 1.662-1.663zM6.285 11.663c-0.917 0-1.663-0.746-1.663-1.663 0-0.916 0.746-1.662 1.663-1.662s1.663 0.746 1.663 1.662c-0.001 0.917-0.747 1.663-1.663 1.663zM13.717 15.884c-0.916 0-1.662-0.746-1.662-1.662 0-0.918 0.746-1.664 1.662-1.664s1.663 0.746 1.663 1.664c0 0.916-0.746 1.662-1.663 1.662z" })),
|
169 |
"restaurant_menu": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M0 2.136v15.729h20v-15.729h-20zM18.828 7.038h-8.242v-3.73h8.242v3.73zM1.172 3.307h8.242v13.385h-8.242v-13.385zM10.586 16.693v-8.483h8.242v8.483h-8.242z" }), el("path", { fill: "#4a00e0", d: "M2.742 4.661v4.492c0 1.188 0.826 2.185 1.934 2.45v2.563h-0.898v1.172h2.969v-1.172h-0.898v-2.563c1.108-0.265 1.934-1.263 1.934-2.45v-4.492h-5.039zM6.61 9.154c0 0.743-0.605 1.348-1.348 1.348s-1.348-0.604-1.348-1.348v-3.32h2.695v3.32z" }), el("path", { fill: "#4a00e0", d: "M13.050 4.661h3.275v1.172h-3.275v-1.172z" }), el("path", { fill: "#4a00e0", d: "M12.109 9.414h5.156v1.172h-5.156v-1.172z" }), el("path", { fill: "#4a00e0", d: "M12.109 11.79h5.156v1.172h-5.156v-1.172z" }), el("path", { fill: "#4a00e0", d: "M12.109 14.167h5.156v1.172h-5.156v-1.172z" })),
|
213 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__UAGBIcon__ = __webpack_require__(/*! ./UAGBIcon */ 9);
|
214 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__UAGBIcon___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__UAGBIcon__);
|
215 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__parseIcon__ = __webpack_require__(/*! ./parseIcon */ 517);
|
216 |
+
/**
|
217 |
+
* Set inline CSS class.
|
218 |
+
* @param {object} props - The block object.
|
219 |
+
* @return {array} The inline CSS class.
|
220 |
*/
|
221 |
|
222 |
|
355 |
/* WEBPACK VAR INJECTION */(function(process) {
|
356 |
|
357 |
if (process.env.NODE_ENV === 'production') {
|
358 |
+
module.exports = __webpack_require__(/*! ./cjs/react.production.min.js */ 336);
|
359 |
} else {
|
360 |
+
module.exports = __webpack_require__(/*! ./cjs/react.development.js */ 337);
|
361 |
}
|
362 |
|
363 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
567 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
568 |
|
569 |
"use strict";
|
570 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__font_typography__ = __webpack_require__(/*! ./font-typography */ 253);
|
571 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__range_typography__ = __webpack_require__(/*! ./range-typography */ 369);
|
572 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 370);
|
573 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 371);
|
574 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
575 |
/* unused harmony reexport TypographyStyles */
|
576 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
585 |
|
586 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
587 |
|
588 |
+
/**
|
589 |
+
* WordPress dependencies
|
590 |
*/
|
591 |
var __ = wp.i18n.__;
|
592 |
|
593 |
+
/**
|
594 |
+
* Internal dependencies
|
595 |
*/
|
596 |
|
597 |
|
631 |
value: function onAdvancedControlClick() {
|
632 |
|
633 |
var control = true;
|
634 |
+
var label = __("Hide Advanced", 'ultimate-addons-for-gutenberg');
|
635 |
|
636 |
if (this.state !== null && this.state.showAdvancedControls === true) {
|
637 |
control = false;
|
638 |
+
label = __("Advanced", 'ultimate-addons-for-gutenberg');
|
639 |
}
|
640 |
|
641 |
this.setState({
|
703 |
sizeTabletLabel: this.props.lineHeightTablet.label,
|
704 |
size: this.props.lineHeight,
|
705 |
sizeLabel: this.props.lineHeight.label,
|
706 |
+
sizeMobileText: __("Line Height", 'ultimate-addons-for-gutenberg'),
|
707 |
+
sizeTabletText: __("Line Height", 'ultimate-addons-for-gutenberg'),
|
708 |
+
sizeText: __("Line Height", 'ultimate-addons-for-gutenberg'),
|
709 |
steps: 0.1
|
710 |
}, this.props));
|
711 |
}
|
720 |
sizeTabletLabel: this.props.fontSizeTablet.label,
|
721 |
size: this.props.fontSize,
|
722 |
sizeLabel: this.props.fontSize.label,
|
723 |
+
sizeMobileText: !this.props.fontSizeLabel ? __("Font Size", 'ultimate-addons-for-gutenberg') : this.props.fontSizeLabel,
|
724 |
+
sizeTabletText: !this.props.fontSizeLabel ? __("Font Size", 'ultimate-addons-for-gutenberg') : this.props.fontSizeLabel,
|
725 |
+
sizeText: !this.props.fontSizeLabel ? __("Font Size", 'ultimate-addons-for-gutenberg') : this.props.fontSizeLabel,
|
726 |
steps: 0.1
|
727 |
}, this.props));
|
728 |
}
|
814 |
"use strict";
|
815 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(/*! prop-types */ 15);
|
816 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
|
817 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_webfontloader__ = __webpack_require__(/*! webfontloader */ 372);
|
818 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_webfontloader___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_webfontloader__);
|
819 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
820 |
|
971 |
|
972 |
/***/ }),
|
973 |
/* 11 */
|
974 |
+
/*!**************************************!*\
|
975 |
+
!*** ./node_modules/lodash/times.js ***!
|
976 |
+
\**************************************/
|
977 |
+
/*! dynamic exports provided */
|
978 |
+
/*! exports used: default */
|
979 |
+
/***/ (function(module, exports, __webpack_require__) {
|
980 |
+
|
981 |
+
var baseTimes = __webpack_require__(/*! ./_baseTimes */ 154),
|
982 |
+
castFunction = __webpack_require__(/*! ./_castFunction */ 499),
|
983 |
+
toInteger = __webpack_require__(/*! ./toInteger */ 92);
|
984 |
+
|
985 |
+
/** Used as references for various `Number` constants. */
|
986 |
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
987 |
+
|
988 |
+
/** Used as references for the maximum length and index of an array. */
|
989 |
+
var MAX_ARRAY_LENGTH = 4294967295;
|
990 |
+
|
991 |
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
992 |
+
var nativeMin = Math.min;
|
993 |
+
|
994 |
+
/**
|
995 |
+
* Invokes the iteratee `n` times, returning an array of the results of
|
996 |
+
* each invocation. The iteratee is invoked with one argument; (index).
|
997 |
+
*
|
998 |
+
* @static
|
999 |
+
* @since 0.1.0
|
1000 |
+
* @memberOf _
|
1001 |
+
* @category Util
|
1002 |
+
* @param {number} n The number of times to invoke `iteratee`.
|
1003 |
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
1004 |
+
* @returns {Array} Returns the array of results.
|
1005 |
+
* @example
|
1006 |
+
*
|
1007 |
+
* _.times(3, String);
|
1008 |
+
* // => ['0', '1', '2']
|
1009 |
+
*
|
1010 |
+
* _.times(4, _.constant(0));
|
1011 |
+
* // => [0, 0, 0, 0]
|
1012 |
+
*/
|
1013 |
+
function times(n, iteratee) {
|
1014 |
+
n = toInteger(n);
|
1015 |
+
if (n < 1 || n > MAX_SAFE_INTEGER) {
|
1016 |
+
return [];
|
1017 |
+
}
|
1018 |
+
var index = MAX_ARRAY_LENGTH,
|
1019 |
+
length = nativeMin(n, MAX_ARRAY_LENGTH);
|
1020 |
+
|
1021 |
+
iteratee = castFunction(iteratee);
|
1022 |
+
n -= MAX_ARRAY_LENGTH;
|
1023 |
+
|
1024 |
+
var result = baseTimes(length, iteratee);
|
1025 |
+
while (++index < n) {
|
1026 |
+
iteratee(index);
|
1027 |
+
}
|
1028 |
+
return result;
|
1029 |
+
}
|
1030 |
+
|
1031 |
+
module.exports = times;
|
1032 |
+
|
1033 |
+
|
1034 |
+
/***/ }),
|
1035 |
+
/* 12 */
|
1036 |
/*!**************************************!*\
|
1037 |
!*** ./node_modules/lodash/_root.js ***!
|
1038 |
\**************************************/
|
1052 |
|
1053 |
|
1054 |
/***/ }),
|
1055 |
+
/* 13 */
|
1056 |
/*!*****************************************!*\
|
1057 |
!*** ./node_modules/lodash/isObject.js ***!
|
1058 |
\*****************************************/
|
1094 |
|
1095 |
|
1096 |
/***/ }),
|
1097 |
+
/* 14 */
|
1098 |
/*!****************************************!*\
|
1099 |
!*** ./node_modules/lodash/isArray.js ***!
|
1100 |
\****************************************/
|
1130 |
module.exports = isArray;
|
1131 |
|
1132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1133 |
/***/ }),
|
1134 |
/* 15 */
|
1135 |
/*!******************************************!*\
|
1152 |
// By explicitly using `prop-types` you are opting into new development behavior.
|
1153 |
// http://fb.me/prop-types-in-prod
|
1154 |
var throwOnDirectAccess = true;
|
1155 |
+
module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ 357)(ReactIs.isElement, throwOnDirectAccess);
|
1156 |
} else {
|
1157 |
// By explicitly using `prop-types` you are opting into new production behavior.
|
1158 |
// http://fb.me/prop-types-in-prod
|
1159 |
+
module.exports = __webpack_require__(/*! ./factoryWithThrowingShims */ 358)();
|
1160 |
}
|
1161 |
|
1162 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
1185 |
|
1186 |
var arrayMap = __webpack_require__(/*! ./_arrayMap */ 44),
|
1187 |
baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 143),
|
1188 |
+
baseMap = __webpack_require__(/*! ./_baseMap */ 314),
|
1189 |
+
isArray = __webpack_require__(/*! ./isArray */ 14);
|
1190 |
|
1191 |
/**
|
1192 |
* Creates an array of values by running each element in `collection` thru
|
1483 |
/*! all exports used */
|
1484 |
/***/ (function(module, exports, __webpack_require__) {
|
1485 |
|
1486 |
+
var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ 266),
|
1487 |
+
getValue = __webpack_require__(/*! ./_getValue */ 271);
|
1488 |
|
1489 |
/**
|
1490 |
* Gets the native function at `key` of `object`.
|
1512 |
/***/ (function(module, exports, __webpack_require__) {
|
1513 |
|
1514 |
var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
|
1515 |
+
getRawTag = __webpack_require__(/*! ./_getRawTag */ 267),
|
1516 |
+
objectToString = __webpack_require__(/*! ./_objectToString */ 268);
|
1517 |
|
1518 |
/** `Object#toString` result references. */
|
1519 |
var nullTag = '[object Null]',
|
1680 |
/*! all exports used */
|
1681 |
/***/ (function(module, exports, __webpack_require__) {
|
1682 |
|
1683 |
+
var root = __webpack_require__(/*! ./_root */ 12);
|
1684 |
|
1685 |
/** Built-in value references. */
|
1686 |
var Symbol = root.Symbol;
|
1698 |
/***/ (function(module, exports, __webpack_require__) {
|
1699 |
|
1700 |
var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ 153),
|
1701 |
+
baseKeys = __webpack_require__(/*! ./_baseKeys */ 298),
|
1702 |
isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29);
|
1703 |
|
1704 |
/**
|
1789 |
/*! all exports used */
|
1790 |
/***/ (function(module, exports, __webpack_require__) {
|
1791 |
|
1792 |
+
var isArray = __webpack_require__(/*! ./isArray */ 14),
|
1793 |
isKey = __webpack_require__(/*! ./_isKey */ 82),
|
1794 |
+
stringToPath = __webpack_require__(/*! ./_stringToPath */ 306),
|
1795 |
toString = __webpack_require__(/*! ./toString */ 160);
|
1796 |
|
1797 |
/**
|
1990 |
// DCE check should happen before ReactDOM bundle executes so that
|
1991 |
// DevTools can report bad minification during injection.
|
1992 |
checkDCE();
|
1993 |
+
module.exports = __webpack_require__(/*! ./cjs/react-dom.production.min.js */ 345);
|
1994 |
} else {
|
1995 |
+
module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ 348);
|
1996 |
}
|
1997 |
|
1998 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
2027 |
|
2028 |
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
|
2029 |
|
2030 |
+
/**
|
2031 |
+
* External dependencies
|
2032 |
*/
|
2033 |
|
2034 |
|
2185 |
return _extends({}, parentInnerBlocks, registeredBlockComponents.any);
|
2186 |
}
|
2187 |
|
2188 |
+
/**
|
2189 |
+
* Converts innerblocks to a list of layout configs.
|
2190 |
+
*
|
2191 |
+
* @param {Object[]} innerBlocks Inner block components.
|
2192 |
*/
|
2193 |
var getPostLayoutConfig = function getPostLayoutConfig(innerBlocks) {
|
2194 |
if (!innerBlocks || innerBlocks.length === 0) {
|
3375 |
/*! all exports used */
|
3376 |
/***/ (function(module, exports, __webpack_require__) {
|
3377 |
|
3378 |
+
var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ 256),
|
3379 |
+
listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ 257),
|
3380 |
+
listCacheGet = __webpack_require__(/*! ./_listCacheGet */ 258),
|
3381 |
+
listCacheHas = __webpack_require__(/*! ./_listCacheHas */ 259),
|
3382 |
+
listCacheSet = __webpack_require__(/*! ./_listCacheSet */ 260);
|
3383 |
|
3384 |
/**
|
3385 |
* Creates an list cache object.
|
3515 |
/*! all exports used */
|
3516 |
/***/ (function(module, exports, __webpack_require__) {
|
3517 |
|
3518 |
+
var isKeyable = __webpack_require__(/*! ./_isKeyable */ 280);
|
3519 |
|
3520 |
/**
|
3521 |
* Gets the data for `map`.
|
3676 |
/*! all exports used */
|
3677 |
/***/ (function(module, exports, __webpack_require__) {
|
3678 |
|
3679 |
+
var DataView = __webpack_require__(/*! ./_DataView */ 300),
|
3680 |
Map = __webpack_require__(/*! ./_Map */ 73),
|
3681 |
+
Promise = __webpack_require__(/*! ./_Promise */ 301),
|
3682 |
+
Set = __webpack_require__(/*! ./_Set */ 302),
|
3683 |
+
WeakMap = __webpack_require__(/*! ./_WeakMap */ 303),
|
3684 |
baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 22),
|
3685 |
toSource = __webpack_require__(/*! ./_toSource */ 146);
|
3686 |
|
3898 |
|
3899 |
"use strict";
|
3900 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _inherits;
|
3901 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_setPrototypeOf__ = __webpack_require__(/*! @babel/runtime/helpers/esm/setPrototypeOf */ 335);
|
3902 |
|
3903 |
function _inherits(subClass, superClass) {
|
3904 |
if (typeof superClass !== "function" && superClass !== null) {
|
4013 |
|
4014 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
4015 |
|
4016 |
+
/**
|
4017 |
+
* Box-Shadow reusable component.
|
4018 |
+
*
|
4019 |
*/
|
4020 |
var __ = wp.i18n.__;
|
4021 |
var ColorPalette = wp.blockEditor.ColorPalette;
|
4049 |
value: function onAdvancedControlClick() {
|
4050 |
|
4051 |
var control = true;
|
4052 |
+
var label = __("Hide Advanced", 'ultimate-addons-for-gutenberg');
|
4053 |
|
4054 |
if (this.state !== null && this.state.showAdvancedControls === true) {
|
4055 |
control = false;
|
4056 |
+
label = __("Advanced", 'ultimate-addons-for-gutenberg');
|
4057 |
}
|
4058 |
|
4059 |
this.setState({
|
4196 |
onChange: function onChange(value) {
|
4197 |
return setAttributes({ boxShadowPosition: value });
|
4198 |
},
|
4199 |
+
options: [{ value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }]
|
4200 |
})
|
4201 |
)
|
4202 |
);
|
4253 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4254 |
|
4255 |
"use strict";
|
4256 |
+
/**
|
4257 |
+
* Returns Dynamic Generated Classes
|
4258 |
*/
|
4259 |
|
4260 |
function PositionClasses(attributes) {
|
4311 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4312 |
|
4313 |
"use strict";
|
4314 |
+
/**
|
4315 |
+
* Returns Dynamic Generated Classes
|
4316 |
*/
|
4317 |
|
4318 |
function ContentTmClasses(attributes) {
|
4427 |
/***/ (function(module, exports, __webpack_require__) {
|
4428 |
|
4429 |
var ListCache = __webpack_require__(/*! ./_ListCache */ 45),
|
4430 |
+
stackClear = __webpack_require__(/*! ./_stackClear */ 261),
|
4431 |
+
stackDelete = __webpack_require__(/*! ./_stackDelete */ 262),
|
4432 |
+
stackGet = __webpack_require__(/*! ./_stackGet */ 263),
|
4433 |
+
stackHas = __webpack_require__(/*! ./_stackHas */ 264),
|
4434 |
+
stackSet = __webpack_require__(/*! ./_stackSet */ 265);
|
4435 |
|
4436 |
/**
|
4437 |
* Creates a stack cache object to store key-value pairs.
|
4465 |
/***/ (function(module, exports, __webpack_require__) {
|
4466 |
|
4467 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
4468 |
+
root = __webpack_require__(/*! ./_root */ 12);
|
4469 |
|
4470 |
/* Built-in method references that are verified to be native. */
|
4471 |
var Map = getNative(root, 'Map');
|
4482 |
/*! all exports used */
|
4483 |
/***/ (function(module, exports) {
|
4484 |
|
4485 |
+
var g;
|
4486 |
+
|
4487 |
+
// This works in non-strict mode
|
4488 |
+
g = (function() {
|
4489 |
+
return this;
|
4490 |
+
})();
|
4491 |
+
|
4492 |
+
try {
|
4493 |
+
// This works if eval is allowed (see CSP)
|
4494 |
+
g = g || Function("return this")() || (1,eval)("this");
|
4495 |
+
} catch(e) {
|
4496 |
+
// This works if the window reference is available
|
4497 |
+
if(typeof window === "object")
|
4498 |
+
g = window;
|
4499 |
+
}
|
4500 |
+
|
4501 |
+
// g can still be undefined, but nothing to do about it...
|
4502 |
+
// We return undefined, instead of nothing here, so it's
|
4503 |
+
// easier to handle this case. if(!global) { ...}
|
4504 |
+
|
4505 |
+
module.exports = g;
|
4506 |
|
4507 |
|
4508 |
/***/ }),
|
4514 |
/*! all exports used */
|
4515 |
/***/ (function(module, exports, __webpack_require__) {
|
4516 |
|
4517 |
+
var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ 272),
|
4518 |
+
mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ 279),
|
4519 |
+
mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ 281),
|
4520 |
+
mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ 282),
|
4521 |
+
mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ 283);
|
4522 |
|
4523 |
/**
|
4524 |
* Creates a map cache object to store key-value pairs.
|
4588 |
/*! all exports used */
|
4589 |
/***/ (function(module, exports, __webpack_require__) {
|
4590 |
|
4591 |
+
var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ 294),
|
4592 |
stubArray = __webpack_require__(/*! ./stubArray */ 152);
|
4593 |
|
4594 |
/** Used for built-in method references. */
|
4629 |
/*! all exports used */
|
4630 |
/***/ (function(module, exports, __webpack_require__) {
|
4631 |
|
4632 |
+
var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ 295),
|
4633 |
isObjectLike = __webpack_require__(/*! ./isObjectLike */ 18);
|
4634 |
|
4635 |
/** Used for built-in method references. */
|
4676 |
/*! all exports used */
|
4677 |
/***/ (function(module, exports, __webpack_require__) {
|
4678 |
|
4679 |
+
/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ 12),
|
4680 |
+
stubFalse = __webpack_require__(/*! ./stubFalse */ 296);
|
4681 |
|
4682 |
/** Detect free variable `exports`. */
|
4683 |
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
4726 |
/*! all exports used */
|
4727 |
/***/ (function(module, exports) {
|
4728 |
|
4729 |
+
module.exports = function(module) {
|
4730 |
+
if(!module.webpackPolyfill) {
|
4731 |
+
module.deprecate = function() {};
|
4732 |
+
module.paths = [];
|
4733 |
+
// module.parent = undefined by default
|
4734 |
+
if(!module.children) module.children = [];
|
4735 |
+
Object.defineProperty(module, "loaded", {
|
4736 |
+
enumerable: true,
|
4737 |
+
get: function() {
|
4738 |
+
return module.l;
|
4739 |
+
}
|
4740 |
+
});
|
4741 |
+
Object.defineProperty(module, "id", {
|
4742 |
+
enumerable: true,
|
4743 |
+
get: function() {
|
4744 |
+
return module.i;
|
4745 |
+
}
|
4746 |
+
});
|
4747 |
+
module.webpackPolyfill = 1;
|
4748 |
+
}
|
4749 |
+
return module;
|
4750 |
+
};
|
4751 |
|
4752 |
|
4753 |
/***/ }),
|
4805 |
/*! all exports used */
|
4806 |
/***/ (function(module, exports, __webpack_require__) {
|
4807 |
|
4808 |
+
var isArray = __webpack_require__(/*! ./isArray */ 14),
|
4809 |
isSymbol = __webpack_require__(/*! ./isSymbol */ 56);
|
4810 |
|
4811 |
/** Used to match property names within property paths. */
|
4990 |
/* unused harmony export createElement */
|
4991 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
|
4992 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
|
4993 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ 338);
|
4994 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(/*! react */ 5);
|
4995 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
4996 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(/*! @emotion/cache */ 86);
|
5264 |
|
5265 |
"use strict";
|
5266 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__ = __webpack_require__(/*! @emotion/sheet */ 168);
|
5267 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__ = __webpack_require__(/*! @emotion/stylis */ 339);
|
5268 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_weak_memoize__ = __webpack_require__(/*! @emotion/weak-memoize */ 340);
|
5269 |
|
5270 |
|
5271 |
|
5490 |
|
5491 |
"use strict";
|
5492 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return serializeStyles; });
|
5493 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_hash__ = __webpack_require__(/*! @emotion/hash */ 342);
|
5494 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_unitless__ = __webpack_require__(/*! @emotion/unitless */ 343);
|
5495 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_memoize__ = __webpack_require__(/*! @emotion/memoize */ 344);
|
5496 |
|
5497 |
|
5498 |
|
5829 |
|
5830 |
"use strict";
|
5831 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutProperties;
|
5832 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ 353);
|
5833 |
|
5834 |
function _objectWithoutProperties(source, excluded) {
|
5835 |
if (source == null) return {};
|
6017 |
"use strict";
|
6018 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
6019 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
6020 |
+
/**
|
6021 |
+
* Set inline styles.
|
6022 |
+
* @param {object} props - The block object.
|
6023 |
+
* @return {object} The inline background type CSS.
|
6024 |
*/
|
6025 |
|
6026 |
|
6988 |
};
|
6989 |
|
6990 |
return wp.element.createElement(__experimentalPanelColorGradientSettings, {
|
6991 |
+
title: __("Color Settings", 'ultimate-addons-for-gutenberg'),
|
6992 |
initialOpen: true,
|
6993 |
settings: [{
|
6994 |
+
label: __("Overlay Color", 'ultimate-addons-for-gutenberg'),
|
6995 |
gradientValue: gradientValue,
|
6996 |
onGradientChange: onGradientChange
|
6997 |
}]
|
7010 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7011 |
|
7012 |
"use strict";
|
7013 |
+
/**
|
7014 |
+
* Get HEX color and return RGBA. Default return RGB color.
|
7015 |
+
* @param {string} color - The color string.
|
7016 |
+
* @return {boolean} opacity The inline CSS class.
|
7017 |
*/
|
7018 |
|
7019 |
function hexToRgba(color, opacity) {
|
7359 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7360 |
|
7361 |
"use strict";
|
7362 |
+
/**
|
7363 |
+
* Returns Dynamic Generated Classes
|
7364 |
*/
|
7365 |
|
7366 |
function InfoBoxPositionClasses(attributes) {
|
7651 |
return wp.element.createElement(RichText, {
|
7652 |
tagName: "div",
|
7653 |
value: author_name,
|
7654 |
+
placeholder: __("Author Name", 'ultimate-addons-for-gutenberg'),
|
7655 |
className: "uagb-tm__author-name",
|
7656 |
onChange: function onChange(value) {
|
7657 |
var new_content = { "description": data_copy[index_value]["description"], "name": value, "company": data_copy[index_value]["company"], "image": data_copy[index_value]["image"] };
|
7748 |
setAttributes({ "test_block": data_copy });
|
7749 |
},
|
7750 |
multiline: false,
|
7751 |
+
placeholder: __("Company Name", 'ultimate-addons-for-gutenberg'),
|
7752 |
onMerge: props.mergeBlocks,
|
7753 |
unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
|
7754 |
for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
7832 |
return wp.element.createElement(RichText, {
|
7833 |
tagName: "div",
|
7834 |
value: description,
|
7835 |
+
placeholder: __("Write Description", 'ultimate-addons-for-gutenberg'),
|
7836 |
className: "uagb-tm__desc",
|
7837 |
onChange: function onChange(value) {
|
7838 |
|
7878 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7879 |
|
7880 |
"use strict";
|
7881 |
+
/**
|
7882 |
+
* Returns Dynamic Generated CSS
|
7883 |
*/
|
7884 |
|
7885 |
function PositionClasses(attributes) {
|
8433 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8434 |
|
8435 |
"use strict";
|
8436 |
+
/**
|
8437 |
+
* Returns Dynamic Generated Classes
|
8438 |
*/
|
8439 |
|
8440 |
function CtaPositionClasses(attributes) {
|
8719 |
return wp.element.createElement(RichText, {
|
8720 |
tagName: "div",
|
8721 |
value: attributes.descriptionText,
|
8722 |
+
placeholder: __("Write a Quote", 'ultimate-addons-for-gutenberg'),
|
8723 |
className: "uagb-blockquote__content",
|
8724 |
onChange: function onChange(value) {
|
8725 |
return setAttributes({ descriptionText: value });
|
8796 |
return wp.element.createElement(RichText, {
|
8797 |
tagName: "div",
|
8798 |
value: attributes.author,
|
8799 |
+
placeholder: __("Author", 'ultimate-addons-for-gutenberg'),
|
8800 |
className: "uagb-blockquote__author",
|
8801 |
onChange: function onChange(value) {
|
8802 |
return setAttributes({ author: value });
|
9059 |
|
9060 |
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
9061 |
var anObject = __webpack_require__(/*! ./_an-object */ 43);
|
9062 |
+
var dPs = __webpack_require__(/*! ./_object-dps */ 772);
|
9063 |
var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ 134);
|
9064 |
var IE_PROTO = __webpack_require__(/*! ./_shared-key */ 132)('IE_PROTO');
|
9065 |
var Empty = function () { /* empty */ };
|
9074 |
var gt = '>';
|
9075 |
var iframeDocument;
|
9076 |
iframe.style.display = 'none';
|
9077 |
+
__webpack_require__(/*! ./_html */ 773).appendChild(iframe);
|
9078 |
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
9079 |
// createDict = iframe.contentWindow.Object;
|
9080 |
// html.removeChild(iframe);
|
9316 |
/*! all exports used */
|
9317 |
/***/ (function(module, exports, __webpack_require__) {
|
9318 |
|
9319 |
+
var baseMatches = __webpack_require__(/*! ./_baseMatches */ 254),
|
9320 |
+
baseMatchesProperty = __webpack_require__(/*! ./_baseMatchesProperty */ 305),
|
9321 |
identity = __webpack_require__(/*! ./identity */ 57),
|
9322 |
+
isArray = __webpack_require__(/*! ./isArray */ 14),
|
9323 |
+
property = __webpack_require__(/*! ./property */ 312);
|
9324 |
|
9325 |
/**
|
9326 |
* The base implementation of `_.iteratee`.
|
9359 |
/***/ (function(module, exports, __webpack_require__) {
|
9360 |
|
9361 |
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 22),
|
9362 |
+
isObject = __webpack_require__(/*! ./isObject */ 13);
|
9363 |
|
9364 |
/** `Object#toString` result references. */
|
9365 |
var asyncTag = '[object AsyncFunction]',
|
9459 |
/*! all exports used */
|
9460 |
/***/ (function(module, exports, __webpack_require__) {
|
9461 |
|
9462 |
+
var baseIsEqualDeep = __webpack_require__(/*! ./_baseIsEqualDeep */ 284),
|
9463 |
isObjectLike = __webpack_require__(/*! ./isObjectLike */ 18);
|
9464 |
|
9465 |
/**
|
9498 |
/*! all exports used */
|
9499 |
/***/ (function(module, exports, __webpack_require__) {
|
9500 |
|
9501 |
+
var SetCache = __webpack_require__(/*! ./_SetCache */ 285),
|
9502 |
+
arraySome = __webpack_require__(/*! ./_arraySome */ 288),
|
9503 |
+
cacheHas = __webpack_require__(/*! ./_cacheHas */ 289);
|
9504 |
|
9505 |
/** Used to compose bitmasks for value comparisons. */
|
9506 |
var COMPARE_PARTIAL_FLAG = 1,
|
9592 |
/*! all exports used */
|
9593 |
/***/ (function(module, exports, __webpack_require__) {
|
9594 |
|
9595 |
+
var root = __webpack_require__(/*! ./_root */ 12);
|
9596 |
|
9597 |
/** Built-in value references. */
|
9598 |
var Uint8Array = root.Uint8Array;
|
9637 |
/***/ (function(module, exports, __webpack_require__) {
|
9638 |
|
9639 |
var arrayPush = __webpack_require__(/*! ./_arrayPush */ 76),
|
9640 |
+
isArray = __webpack_require__(/*! ./isArray */ 14);
|
9641 |
|
9642 |
/**
|
9643 |
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
9703 |
|
9704 |
var baseTimes = __webpack_require__(/*! ./_baseTimes */ 154),
|
9705 |
isArguments = __webpack_require__(/*! ./isArguments */ 78),
|
9706 |
+
isArray = __webpack_require__(/*! ./isArray */ 14),
|
9707 |
isBuffer = __webpack_require__(/*! ./isBuffer */ 79),
|
9708 |
isIndex = __webpack_require__(/*! ./_isIndex */ 50),
|
9709 |
isTypedArray = __webpack_require__(/*! ./isTypedArray */ 155);
|
9792 |
/*! all exports used */
|
9793 |
/***/ (function(module, exports, __webpack_require__) {
|
9794 |
|
9795 |
+
var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ 297),
|
9796 |
baseUnary = __webpack_require__(/*! ./_baseUnary */ 51),
|
9797 |
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ 52);
|
9798 |
|
9856 |
/*! all exports used */
|
9857 |
/***/ (function(module, exports, __webpack_require__) {
|
9858 |
|
9859 |
+
var isObject = __webpack_require__(/*! ./isObject */ 13);
|
9860 |
|
9861 |
/**
|
9862 |
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
9998 |
|
9999 |
var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
|
10000 |
arrayMap = __webpack_require__(/*! ./_arrayMap */ 44),
|
10001 |
+
isArray = __webpack_require__(/*! ./isArray */ 14),
|
10002 |
isSymbol = __webpack_require__(/*! ./isSymbol */ 56);
|
10003 |
|
10004 |
/** Used as references for various `Number` constants. */
|
10362 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createEmotionProps; });
|
10363 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return hasOwnProperty; });
|
10364 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return withEmotionCache; });
|
10365 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(/*! @babel/runtime/helpers/inheritsLoose */ 341);
|
10366 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
|
10367 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(/*! react */ 5);
|
10368 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
10575 |
/* WEBPACK VAR INJECTION */(function(process) {
|
10576 |
|
10577 |
if (process.env.NODE_ENV === 'production') {
|
10578 |
+
module.exports = __webpack_require__(/*! ./cjs/scheduler.production.min.js */ 346);
|
10579 |
} else {
|
10580 |
+
module.exports = __webpack_require__(/*! ./cjs/scheduler.development.js */ 347);
|
10581 |
}
|
10582 |
|
10583 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
10641 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_react_dom__);
|
10642 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__babel_runtime_helpers_esm_typeof__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 165);
|
10643 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__emotion_css__ = __webpack_require__(/*! @emotion/css */ 41);
|
10644 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__babel_runtime_helpers_esm_taggedTemplateLiteral__ = __webpack_require__(/*! @babel/runtime/helpers/esm/taggedTemplateLiteral */ 354);
|
10645 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_input_autosize__ = __webpack_require__(/*! react-input-autosize */ 174);
|
10646 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_react_input_autosize__);
|
10647 |
|
12449 |
/* WEBPACK VAR INJECTION */(function(process) {
|
12450 |
|
12451 |
if (process.env.NODE_ENV === 'production') {
|
12452 |
+
module.exports = __webpack_require__(/*! ./cjs/react-is.production.min.js */ 355);
|
12453 |
} else {
|
12454 |
+
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ 356);
|
12455 |
}
|
12456 |
|
12457 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
12473 |
/* unused harmony export m */
|
12474 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 88);
|
12475 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 89);
|
12476 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ 359);
|
12477 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 363);
|
12478 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 173);
|
12479 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 58);
|
12480 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_createClass__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 59);
|
15606 |
/*! all exports used */
|
15607 |
/***/ (function(module, exports, __webpack_require__) {
|
15608 |
|
15609 |
+
var isObject = __webpack_require__(/*! ./isObject */ 13),
|
15610 |
isSymbol = __webpack_require__(/*! ./isSymbol */ 56);
|
15611 |
|
15612 |
/** Used as references for various `Number` constants. */
|
16108 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16109 |
|
16110 |
"use strict";
|
16111 |
+
/**
|
16112 |
+
* BLOCK: UAGB Section Attributes
|
16113 |
*/
|
16114 |
var attributes = {
|
16115 |
classMigrate: {
|
16420 |
|
16421 |
"use strict";
|
16422 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
16423 |
+
/**
|
16424 |
+
* Returns Dynamic Generated CSS
|
16425 |
*/
|
16426 |
|
16427 |
|
16623 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16624 |
|
16625 |
"use strict";
|
16626 |
+
/**
|
16627 |
+
* BLOCK: Buttons Child - Attributes
|
16628 |
*/
|
16629 |
|
16630 |
var attributes = {
|
17832 |
"use strict";
|
17833 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
17834 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
17835 |
+
/**
|
17836 |
+
* Returns Dynamic Generated CSS
|
17837 |
*/
|
17838 |
|
17839 |
|
18230 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18231 |
|
18232 |
"use strict";
|
18233 |
+
/**
|
18234 |
+
* BLOCK: Info Box - Attributes
|
18235 |
*/
|
18236 |
|
18237 |
var attributes = {
|
18736 |
|
18737 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
18738 |
|
18739 |
+
/**
|
18740 |
+
* BLOCK: Testimonial - Attributes
|
18741 |
*/
|
18742 |
|
18743 |
var ITEM_COUNT = 3;
|
19094 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19095 |
|
19096 |
"use strict";
|
19097 |
+
/**
|
19098 |
+
* BLOCK: UAGB Team Block Attributes
|
19099 |
*/
|
19100 |
|
19101 |
var attributes = {
|
19389 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19390 |
|
19391 |
"use strict";
|
19392 |
+
/**
|
19393 |
+
* BLOCK: UAGB Social Share Attributes
|
19394 |
*/
|
19395 |
|
19396 |
var ITEM_COUNT = 1;
|
19495 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19496 |
|
19497 |
"use strict";
|
19498 |
+
/**
|
19499 |
+
* BLOCK: Social Share Child - Attributes
|
19500 |
*/
|
19501 |
|
19502 |
var attributes = {
|
19583 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19584 |
|
19585 |
"use strict";
|
19586 |
+
/**
|
19587 |
+
* BLOCK: Icon List - Attributes
|
19588 |
*/
|
19589 |
|
19590 |
var ITEM_COUNT = 1;
|
19740 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19741 |
|
19742 |
"use strict";
|
19743 |
+
/**
|
19744 |
+
* BLOCK: Icon List Child - Attributes
|
19745 |
*/
|
19746 |
|
19747 |
var attributes = {
|
19819 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19820 |
|
19821 |
"use strict";
|
19822 |
+
/**
|
19823 |
+
* BLOCK: Price List - Attributes
|
19824 |
*/
|
19825 |
var __ = wp.i18n.__;
|
19826 |
|
20110 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20111 |
|
20112 |
"use strict";
|
20113 |
+
/**
|
20114 |
+
* BLOCK: UAGB Timeline Attributes
|
20115 |
*/
|
20116 |
|
20117 |
var __ = wp.i18n.__;
|
20125 |
for (var i = 1; i <= ITEM_COUNT; i++) {
|
20126 |
|
20127 |
item.push({
|
20128 |
+
"time_heading": __("Timeline Heading ", 'ultimate-addons-for-gutenberg') + i,
|
20129 |
+
"time_desc": __("This is Timeline description, you can change me anytime click here ", 'ultimate-addons-for-gutenberg')
|
20130 |
});
|
20131 |
|
20132 |
var j = i - 1;
|
20441 |
"use strict";
|
20442 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
20443 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
20444 |
+
/**
|
20445 |
+
* Returns Dynamic Generated CSS
|
20446 |
*/
|
20447 |
|
20448 |
|
20883 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20884 |
|
20885 |
"use strict";
|
20886 |
+
/**
|
20887 |
+
* Function name: AlignClass
|
20888 |
+
* @param array attributes settign array of attributes.
|
20889 |
+
* @param int index_val index values.
|
20890 |
*/
|
20891 |
function AlignClass(attributes, index_val) {
|
20892 |
|
20918 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
20919 |
|
20920 |
"use strict";
|
20921 |
+
/**
|
20922 |
+
* Returns Dynamic Generated Classes
|
20923 |
*/
|
20924 |
|
20925 |
function DayAlignClass(attributes, index_val) {
|
20957 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
20958 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
20959 |
|
20960 |
+
/**
|
20961 |
+
* Returns Dynamic Generated CSS
|
20962 |
*/
|
20963 |
|
20964 |
|
21374 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21375 |
|
21376 |
"use strict";
|
21377 |
+
/**
|
21378 |
+
* BLOCK: UAGB Timeline Child Attributes
|
21379 |
*/
|
21380 |
|
21381 |
var __ = wp.i18n.__;
|
21390 |
},
|
21391 |
time_heading: {
|
21392 |
type: "string",
|
21393 |
+
default: __("Timeline Heading ", 'ultimate-addons-for-gutenberg')
|
21394 |
},
|
21395 |
time_desc: {
|
21396 |
type: "string",
|
21397 |
+
default: __("This is Timeline description, you can change me anytime click here ", 'ultimate-addons-for-gutenberg')
|
21398 |
},
|
21399 |
dateFormat: {
|
21400 |
type: "string",
|
21461 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21462 |
|
21463 |
"use strict";
|
21464 |
+
/**
|
21465 |
+
* BLOCK: Call To Action - Attributes
|
21466 |
*/
|
21467 |
|
21468 |
var attributes = {
|
21991 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
21992 |
|
21993 |
"use strict";
|
21994 |
+
/**
|
21995 |
+
* BLOCK: Columns - Attributes
|
21996 |
*/
|
21997 |
|
21998 |
var attributes = {
|
22312 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
22313 |
|
22314 |
"use strict";
|
22315 |
+
/**
|
22316 |
+
* WordPress dependencies
|
22317 |
*/
|
22318 |
|
22319 |
var _wp$components = wp.components,
|
22320 |
Path = _wp$components.Path,
|
22321 |
SVG = _wp$components.SVG,
|
22322 |
G = _wp$components.G;
|
22323 |
+
/**
|
22324 |
+
* Custom icons
|
22325 |
*/
|
22326 |
|
22327 |
var rowIcons = {};
|
22433 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
22434 |
|
22435 |
"use strict";
|
22436 |
+
/**
|
22437 |
+
* BLOCK: UAGB Quote Block Attributes
|
22438 |
*/
|
22439 |
|
22440 |
var attributes = {
|
23803 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
23804 |
|
23805 |
"use strict";
|
23806 |
+
/**
|
23807 |
+
* BLOCK: UAGB How-To Schema Attributes
|
23808 |
*/
|
23809 |
|
23810 |
var __ = wp.i18n.__;
|
23815 |
var materials = [];
|
23816 |
|
23817 |
tools.push({
|
23818 |
+
"add_required_tools": __("- A Computer.", 'ultimate-addons-for-gutenberg')
|
23819 |
});
|
23820 |
|
23821 |
materials.push({
|
23822 |
+
"add_required_materials": __("- A WordPress Website.", 'ultimate-addons-for-gutenberg')
|
23823 |
});
|
23824 |
|
23825 |
var attributes = {
|
23832 |
},
|
23833 |
toolsTitle: {
|
23834 |
type: "html",
|
23835 |
+
default: __("Required Tools:", 'ultimate-addons-for-gutenberg')
|
23836 |
},
|
23837 |
materialTitle: {
|
23838 |
type: "html",
|
23839 |
+
default: __("Things Needed?", 'ultimate-addons-for-gutenberg')
|
23840 |
},
|
23841 |
stepsTitle: {
|
23842 |
type: "html",
|
23843 |
+
default: __("Steps to configure the How-to Schema:", 'ultimate-addons-for-gutenberg')
|
23844 |
},
|
23845 |
tools_count: {
|
23846 |
type: "number",
|
23882 |
},
|
23883 |
estCost: {
|
23884 |
type: "html",
|
23885 |
+
default: __("Total Cost:", 'ultimate-addons-for-gutenberg')
|
23886 |
},
|
23887 |
timeNeeded: {
|
23888 |
type: "html",
|
23889 |
+
default: __("Total Time Needed :", 'ultimate-addons-for-gutenberg')
|
23890 |
},
|
23891 |
timeIn: {
|
23892 |
type: "html",
|
23893 |
+
default: __(" Minutes", 'ultimate-addons-for-gutenberg')
|
23894 |
},
|
23895 |
imgSize: {
|
23896 |
type: "string",
|
23915 |
headingTitle: {
|
23916 |
source: "html",
|
23917 |
selector: "h1,h2,h3,h4,h5,h6",
|
23918 |
+
default: __("How To Configure How-To Schema In Ultimate Addons For Gutenberg?", 'ultimate-addons-for-gutenberg')
|
23919 |
},
|
23920 |
currencyType: {
|
23921 |
type: "html",
|
23924 |
headingDesc: {
|
23925 |
source: "html",
|
23926 |
selector: "p",
|
23927 |
+
default: __("So to get started, you will just need to drag-n-drop the How-to Schema block in the Gutenberg editor. The How-to Schema block can be used on pages that contain a How-to in their title and describe steps to achieve certain requirements.", 'ultimate-addons-for-gutenberg')
|
23928 |
},
|
23929 |
headingAlign: {
|
23930 |
type: "string",
|
24485 |
},
|
24486 |
question: {
|
24487 |
type: "html",
|
24488 |
+
default: __("What is FAQ?", 'ultimate-addons-for-gutenberg')
|
24489 |
},
|
24490 |
answer: {
|
24491 |
type: "html",
|
24492 |
+
default: __("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.", 'ultimate-addons-for-gutenberg')
|
24493 |
},
|
24494 |
icon: {
|
24495 |
type: "html",
|
24880 |
{ className: "uagb_review_summary" },
|
24881 |
wp.element.createElement(RichText, {
|
24882 |
className: "uagb_review_summary_title",
|
24883 |
+
placeholder: __("Title of the summary goes here", 'ultimate-addons-for-gutenberg'),
|
24884 |
tagName: "p",
|
24885 |
onChange: function onChange(text) {
|
24886 |
return setSummaryTitle(text);
|
24891 |
"div",
|
24892 |
{ className: "uagb_review_overall_value" },
|
24893 |
wp.element.createElement(RichText, {
|
24894 |
+
placeholder: __("Summary of the review goes here", 'ultimate-addons-for-gutenberg'),
|
24895 |
onChange: function onChange(text) {
|
24896 |
return setSummaryDescription(text);
|
24897 |
},
|
24941 |
/***/ (function(module, exports, __webpack_require__) {
|
24942 |
|
24943 |
// optional / simple context binding
|
24944 |
+
var aFunction = __webpack_require__(/*! ./_a-function */ 752);
|
24945 |
module.exports = function (fn, that, length) {
|
24946 |
aFunction(fn);
|
24947 |
if (that === undefined) return fn;
|
25005 |
|
25006 |
var has = __webpack_require__(/*! ./_has */ 26);
|
25007 |
var toIObject = __webpack_require__(/*! ./_to-iobject */ 39);
|
25008 |
+
var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ 754)(false);
|
25009 |
var IE_PROTO = __webpack_require__(/*! ./_shared-key */ 132)('IE_PROTO');
|
25010 |
|
25011 |
module.exports = function (object, names) {
|
25093 |
|
25094 |
exports.__esModule = true;
|
25095 |
|
25096 |
+
var _iterator = __webpack_require__(/*! ../core-js/symbol/iterator */ 767);
|
25097 |
|
25098 |
var _iterator2 = _interopRequireDefault(_iterator);
|
25099 |
|
25100 |
+
var _symbol = __webpack_require__(/*! ../core-js/symbol */ 778);
|
25101 |
|
25102 |
var _symbol2 = _interopRequireDefault(_symbol);
|
25103 |
|
25127 |
var redefine = __webpack_require__(/*! ./_redefine */ 245);
|
25128 |
var hide = __webpack_require__(/*! ./_hide */ 36);
|
25129 |
var Iterators = __webpack_require__(/*! ./_iterators */ 137);
|
25130 |
+
var $iterCreate = __webpack_require__(/*! ./_iter-create */ 771);
|
25131 |
var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ 139);
|
25132 |
var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ 242);
|
25133 |
var ITERATOR = __webpack_require__(/*! ./_wks */ 40)('iterator');
|
25260 |
|
25261 |
"use strict";
|
25262 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
25263 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__blocks_extensions_attributes_js__ = __webpack_require__(/*! ./blocks/extensions/attributes.js */ 249);
|
25264 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__blocks_extensions_attributes_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__blocks_extensions_attributes_js__);
|
25265 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__blocks_advanced_heading_block_js__ = __webpack_require__(/*! ./blocks/advanced-heading/block.js */ 250);
|
25266 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__blocks_post_block_js__ = __webpack_require__(/*! ./blocks/post/block.js */ 375);
|
25267 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__blocks_section_block_js__ = __webpack_require__(/*! ./blocks/section/block.js */ 490);
|
25268 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__blocks_buttons_block_js__ = __webpack_require__(/*! ./blocks/buttons/block.js */ 497);
|
25269 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__blocks_buttons_child_block_js__ = __webpack_require__(/*! ./blocks/buttons-child/block.js */ 505);
|
25270 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__blocks_info_box_block_js__ = __webpack_require__(/*! ./blocks/info-box/block.js */ 520);
|
25271 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__blocks_testimonial_block_js__ = __webpack_require__(/*! ./blocks/testimonial/block.js */ 529);
|
25272 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__blocks_team_block_js__ = __webpack_require__(/*! ./blocks/team/block.js */ 537);
|
25273 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__blocks_social_share_block_js__ = __webpack_require__(/*! ./blocks/social-share/block.js */ 544);
|
25274 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__blocks_social_share_child_block_js__ = __webpack_require__(/*! ./blocks/social-share-child/block.js */ 552);
|
25275 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__blocks_google_map_block_js__ = __webpack_require__(/*! ./blocks/google-map/block.js */ 559);
|
25276 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__blocks_icon_list_block_js__ = __webpack_require__(/*! ./blocks/icon-list/block.js */ 561);
|
25277 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__blocks_icon_list_child_block_js__ = __webpack_require__(/*! ./blocks/icon-list-child/block.js */ 568);
|
25278 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__blocks_price_list_block_js__ = __webpack_require__(/*! ./blocks/price-list/block.js */ 575);
|
25279 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__blocks_price_list_child_block_js__ = __webpack_require__(/*! ./blocks/price-list-child/block.js */ 582);
|
25280 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__blocks_timeline_block_js__ = __webpack_require__(/*! ./blocks/timeline/block.js */ 587);
|
25281 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__blocks_call_to_action_block_js__ = __webpack_require__(/*! ./blocks/call-to-action/block.js */ 612);
|
25282 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__blocks_column_block_js__ = __webpack_require__(/*! ./blocks/column/block.js */ 620);
|
25283 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__blocks_columns_block_js__ = __webpack_require__(/*! ./blocks/columns/block.js */ 628);
|
25284 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__blocks_cf7_styler_block_js__ = __webpack_require__(/*! ./blocks/cf7-styler/block.js */ 647);
|
25285 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__blocks_gf_styler_block_js__ = __webpack_require__(/*! ./blocks/gf-styler/block.js */ 652);
|
25286 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__blocks_blockquote_block_js__ = __webpack_require__(/*! ./blocks/blockquote/block.js */ 657);
|
25287 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__blocks_marketing_button_block_js__ = __webpack_require__(/*! ./blocks/marketing-button/block.js */ 665);
|
25288 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__blocks_table_of_contents_block_js__ = __webpack_require__(/*! ./blocks/table-of-contents/block.js */ 672);
|
25289 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__blocks_how_to_block_js__ = __webpack_require__(/*! ./blocks/how-to/block.js */ 681);
|
25290 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__blocks_faq_block_js__ = __webpack_require__(/*! ./blocks/faq/block.js */ 688);
|
25291 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__blocks_faq_child_block_js__ = __webpack_require__(/*! ./blocks/faq-child/block.js */ 695);
|
25292 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__blocks_inline_notice_block_js__ = __webpack_require__(/*! ./blocks/inline-notice/block.js */ 701);
|
25293 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__blocks_wp_search_block_js__ = __webpack_require__(/*! ./blocks/wp-search/block.js */ 708);
|
25294 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__blocks_review_block_js__ = __webpack_require__(/*! ./blocks/review/block.js */ 715);
|
25295 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__blocks_taxonomy_list_block_js__ = __webpack_require__(/*! ./blocks/taxonomy-list/block.js */ 723);
|
25296 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__blocks_extensions_block_js__ = __webpack_require__(/*! ./blocks/extensions/block.js */ 728);
|
25297 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__blocks_tabs_block_js__ = __webpack_require__(/*! ./blocks/tabs/block.js */ 730);
|
25298 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__blocks_tabs_child_block_js__ = __webpack_require__(/*! ./blocks/tabs-child/block.js */ 737);
|
25299 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__blocks_lottie_block_js__ = __webpack_require__(/*! ./blocks/lottie/block.js */ 742);
|
25300 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../dist/blocks/uagb-controls/block-icons */ 1);
|
25301 |
+
/**
|
25302 |
+
* Gutenberg Blocks
|
25303 |
+
*
|
25304 |
+
* All blocks related JavaScript files should be imported here.
|
25305 |
+
* You can create a new block folder in this dir and include code
|
25306 |
+
* for that block here as well.
|
25307 |
+
*
|
25308 |
+
* All blocks should be included here since this is the file that
|
25309 |
+
* Webpack is compiling as the input file.
|
25310 |
*/
|
25311 |
|
25312 |
|
25326 |
|
25327 |
|
25328 |
|
25329 |
+
|
25330 |
+
|
25331 |
+
|
25332 |
+
|
25333 |
|
25334 |
|
25335 |
|
25351 |
|
25352 |
|
25353 |
updateCategory("uagb", {
|
25354 |
+
icon: __WEBPACK_IMPORTED_MODULE_36__dist_blocks_uagb_controls_block_icons__["a" /* default */].logo
|
25355 |
});
|
25356 |
|
25357 |
/***/ }),
|
25358 |
/* 249 */
|
25359 |
+
/*!*********************************************!*\
|
25360 |
+
!*** ./src/blocks/extensions/attributes.js ***!
|
25361 |
+
\*********************************************/
|
25362 |
+
/*! dynamic exports provided */
|
25363 |
+
/***/ (function(module, exports) {
|
25364 |
+
|
25365 |
+
function addAttributes(settings) {
|
25366 |
+
|
25367 |
+
if (settings.attributes) {
|
25368 |
+
settings.attributes = Object.assign(settings.attributes, {
|
25369 |
+
UAGUserRole: {
|
25370 |
+
type: "string"
|
25371 |
+
},
|
25372 |
+
UAGBrowser: {
|
25373 |
+
type: "string"
|
25374 |
+
},
|
25375 |
+
UAGSystem: {
|
25376 |
+
type: "string"
|
25377 |
+
},
|
25378 |
+
UAGDisplayConditions: {
|
25379 |
+
type: "string"
|
25380 |
+
},
|
25381 |
+
UAGHideDesktop: {
|
25382 |
+
type: "boolean",
|
25383 |
+
default: false
|
25384 |
+
},
|
25385 |
+
UAGHideMob: {
|
25386 |
+
type: "boolean",
|
25387 |
+
default: false
|
25388 |
+
},
|
25389 |
+
UAGHideTab: {
|
25390 |
+
type: "boolean",
|
25391 |
+
default: false
|
25392 |
+
},
|
25393 |
+
UAGLoggedIn: {
|
25394 |
+
type: "boolean",
|
25395 |
+
default: false
|
25396 |
+
},
|
25397 |
+
UAGLoggedOut: {
|
25398 |
+
type: "boolean",
|
25399 |
+
default: false
|
25400 |
+
}
|
25401 |
+
});
|
25402 |
+
}
|
25403 |
+
return settings;
|
25404 |
+
}
|
25405 |
+
|
25406 |
+
wp.hooks.addFilter('blocks.registerBlockType', 'uagb/advanced-control-block', addAttributes);
|
25407 |
+
|
25408 |
+
/***/ }),
|
25409 |
+
/* 250 */
|
25410 |
/*!**********************************************!*\
|
25411 |
!*** ./src/blocks/advanced-heading/block.js ***!
|
25412 |
\**********************************************/
|
25416 |
"use strict";
|
25417 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
25418 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 142);
|
25419 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 251);
|
25420 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 373);
|
25421 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */ 374);
|
25422 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 179);
|
25423 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
25424 |
+
/**
|
25425 |
+
* BLOCK: Advanced Heading
|
|
|
25426 |
*/
|
25427 |
|
25428 |
|
25432 |
|
25433 |
|
25434 |
|
|
|
25435 |
var __ = wp.i18n.__;
|
25436 |
+
var _wp$blocks = wp.blocks,
|
25437 |
+
registerBlockType = _wp$blocks.registerBlockType,
|
25438 |
+
createBlock = _wp$blocks.createBlock;
|
25439 |
|
25440 |
|
25441 |
registerBlockType("uagb/advanced-heading", {
|
25443 |
title: uagb_blocks_info.blocks["uagb/advanced-heading"]["title"],
|
25444 |
description: uagb_blocks_info.blocks["uagb/advanced-heading"]["description"],
|
25445 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].advanced_heading,
|
25446 |
+
keywords: [__("advanced heading", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg'), __("heading", 'ultimate-addons-for-gutenberg')],
|
25447 |
supports: {
|
25448 |
anchor: true
|
25449 |
},
|
25450 |
example: {
|
25451 |
attributes: {
|
25452 |
+
headingTitle: __('Write a Heading', 'ultimate-addons-for-gutenberg'),
|
25453 |
+
headingDesc: __('Write a Description', 'ultimate-addons-for-gutenberg')
|
25454 |
}
|
25455 |
},
|
25456 |
category: uagb_blocks_info.category,
|
25457 |
attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
|
|
|
25458 |
edit: __WEBPACK_IMPORTED_MODULE_2__edit__["a" /* default */],
|
25459 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
25460 |
+
deprecated: __WEBPACK_IMPORTED_MODULE_4__deprecated__["a" /* default */],
|
25461 |
+
transforms: {
|
25462 |
+
from: [{
|
25463 |
+
type: 'block',
|
25464 |
+
blocks: ['core/heading'],
|
25465 |
+
transform: function transform(attributes) {
|
25466 |
+
return createBlock('uagb/advanced-heading', {
|
25467 |
+
headingTitle: attributes.content,
|
25468 |
+
headingAlign: attributes.align,
|
25469 |
+
className: 'uagb-heading-text'
|
25470 |
+
});
|
25471 |
+
}
|
25472 |
+
}, {
|
25473 |
+
type: 'block',
|
25474 |
+
blocks: ['core/quote'],
|
25475 |
+
transform: function transform(attributes) {
|
25476 |
+
return createBlock('uagb/advanced-heading', {
|
25477 |
+
headingTitle: attributes.value,
|
25478 |
+
headingDesc: attributes.citation,
|
25479 |
+
className: 'uagb-heading-text'
|
25480 |
+
});
|
25481 |
+
}
|
25482 |
+
}],
|
25483 |
+
to: [{
|
25484 |
+
type: 'block',
|
25485 |
+
blocks: ['core/heading'],
|
25486 |
+
transform: function transform(attributes) {
|
25487 |
+
return createBlock('core/heading', {
|
25488 |
+
content: attributes.headingTitle,
|
25489 |
+
align: attributes.headingAlign,
|
25490 |
+
className: 'uagb-heading-text'
|
25491 |
+
});
|
25492 |
+
}
|
25493 |
+
}, {
|
25494 |
+
type: 'block',
|
25495 |
+
blocks: ['core/quote'],
|
25496 |
+
transform: function transform(attributes) {
|
25497 |
+
return createBlock('core/quote', {
|
25498 |
+
value: "<p>" + attributes.headingTitle + "</p>",
|
25499 |
+
citation: attributes.headingDesc,
|
25500 |
+
className: 'uagb-heading-text'
|
25501 |
+
});
|
25502 |
+
}
|
25503 |
+
}]
|
25504 |
+
}
|
25505 |
});
|
25506 |
|
25507 |
/***/ }),
|
25508 |
+
/* 251 */
|
25509 |
/*!*********************************************!*\
|
25510 |
!*** ./src/blocks/advanced-heading/edit.js ***!
|
25511 |
\*********************************************/
|
25516 |
"use strict";
|
25517 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
25518 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
25519 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__styling__ = __webpack_require__(/*! ./styling */ 252);
|
25520 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
|
25521 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
25522 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */ 179);
|
25529 |
|
25530 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
25531 |
|
25532 |
+
/**
|
25533 |
+
* BLOCK: Advanced Heading
|
25534 |
*/
|
25535 |
|
25536 |
// Import block dependencies and components.
|
25605 |
}
|
25606 |
}
|
25607 |
|
25608 |
+
/*
|
25609 |
+
* Heading Tag Change
|
25610 |
*/
|
25611 |
|
25612 |
}, {
|
25751 |
null,
|
25752 |
wp.element.createElement(
|
25753 |
PanelBody,
|
25754 |
+
{ title: __("Advanced Heading", 'ultimate-addons-for-gutenberg') },
|
25755 |
wp.element.createElement(
|
25756 |
"h2",
|
25757 |
null,
|
25758 |
+
__("Heading", 'ultimate-addons-for-gutenberg')
|
25759 |
),
|
25760 |
wp.element.createElement(SelectControl, {
|
25761 |
+
label: __("Heading Tag", 'ultimate-addons-for-gutenberg'),
|
25762 |
value: headingTag,
|
25763 |
onChange: function onChange(value) {
|
25764 |
_this2.onTagChange(value);
|
25765 |
},
|
25766 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }]
|
25767 |
}),
|
25768 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
25769 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
25770 |
attributes: attributes,
|
25771 |
setAttributes: setAttributes,
|
25772 |
loadGoogleFonts: { value: headLoadGoogleFonts, label: 'headLoadGoogleFonts' },
|
25785 |
wp.element.createElement(
|
25786 |
"p",
|
25787 |
{ className: "uagb-setting-label" },
|
25788 |
+
__("Heading Color", 'ultimate-addons-for-gutenberg'),
|
25789 |
wp.element.createElement(
|
25790 |
"span",
|
25791 |
{ className: "components-base-control__label" },
|
25803 |
wp.element.createElement(
|
25804 |
"h2",
|
25805 |
null,
|
25806 |
+
__("Sub-Heading", 'ultimate-addons-for-gutenberg')
|
25807 |
),
|
25808 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
25809 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
25810 |
attributes: attributes,
|
25811 |
setAttributes: setAttributes,
|
25812 |
loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: 'subHeadLoadGoogleFonts' },
|
25825 |
wp.element.createElement(
|
25826 |
"p",
|
25827 |
{ className: "uagb-setting-label" },
|
25828 |
+
__("Sub Heading Color", 'ultimate-addons-for-gutenberg'),
|
25829 |
wp.element.createElement(
|
25830 |
"span",
|
25831 |
{ className: "components-base-control__label" },
|
25842 |
),
|
25843 |
wp.element.createElement(
|
25844 |
PanelBody,
|
25845 |
+
{ title: __("Separator", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
25846 |
wp.element.createElement(SelectControl, {
|
25847 |
+
label: __("Style", 'ultimate-addons-for-gutenberg'),
|
25848 |
value: seperatorStyle,
|
25849 |
onChange: function onChange(value) {
|
25850 |
return setAttributes({ seperatorStyle: value });
|
25851 |
},
|
25852 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }]
|
25853 |
}),
|
25854 |
seperatorStyle !== "none" && wp.element.createElement(
|
25855 |
Fragment,
|
25856 |
null,
|
25857 |
wp.element.createElement(RangeControl, {
|
25858 |
+
label: __("Thickness (px)", 'ultimate-addons-for-gutenberg'),
|
25859 |
value: separatorHeight,
|
25860 |
onChange: function onChange(value) {
|
25861 |
return setAttributes({ separatorHeight: value });
|
25868 |
}),
|
25869 |
wp.element.createElement(
|
25870 |
ButtonGroup,
|
25871 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
25872 |
wp.element.createElement(
|
25873 |
Button,
|
25874 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: separatorWidthType === "px", "aria-pressed": separatorWidthType === "px", onClick: function onClick() {
|
25885 |
)
|
25886 |
),
|
25887 |
wp.element.createElement(RangeControl, {
|
25888 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
25889 |
value: separatorWidth,
|
25890 |
onChange: function onChange(value) {
|
25891 |
return setAttributes({ separatorWidth: value });
|
25902 |
wp.element.createElement(
|
25903 |
"p",
|
25904 |
{ className: "uagb-setting-label" },
|
25905 |
+
__("Separator Color", 'ultimate-addons-for-gutenberg'),
|
25906 |
wp.element.createElement(
|
25907 |
"span",
|
25908 |
{ className: "components-base-control__label" },
|
25921 |
),
|
25922 |
wp.element.createElement(
|
25923 |
PanelBody,
|
25924 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
25925 |
wp.element.createElement(RangeControl, {
|
25926 |
+
label: __("Heading Bottom Spacing (px)", 'ultimate-addons-for-gutenberg'),
|
25927 |
value: headSpace,
|
25928 |
onChange: function onChange(value) {
|
25929 |
return setAttributes({ headSpace: value });
|
25935 |
initialPosition: 0
|
25936 |
}),
|
25937 |
seperatorStyle !== "none" && wp.element.createElement(RangeControl, {
|
25938 |
+
label: __("Separator Bottom Spacing (px)", 'ultimate-addons-for-gutenberg'),
|
25939 |
value: separatorSpace,
|
25940 |
onChange: function onChange(value) {
|
25941 |
return setAttributes({ separatorSpace: value });
|
25955 |
},
|
25956 |
wp.element.createElement(RichText, {
|
25957 |
tagName: headingTag,
|
25958 |
+
placeholder: __("Write a Heading", 'ultimate-addons-for-gutenberg'),
|
25959 |
value: headingTitle,
|
25960 |
className: "uagb-heading-text",
|
25961 |
multiline: false,
|
25982 |
),
|
25983 |
wp.element.createElement(RichText, {
|
25984 |
tagName: "p",
|
25985 |
+
placeholder: __("Write a Description", 'ultimate-addons-for-gutenberg'),
|
25986 |
value: headingDesc,
|
25987 |
className: "uagb-desc-text",
|
25988 |
onChange: function onChange(value) {
|
26013 |
})(UAGBAdvancedHeading));
|
26014 |
|
26015 |
/***/ }),
|
26016 |
+
/* 252 */
|
26017 |
/*!************************************************!*\
|
26018 |
!*** ./src/blocks/advanced-heading/styling.js ***!
|
26019 |
\************************************************/
|
26024 |
"use strict";
|
26025 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
26026 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
26027 |
+
/**
|
26028 |
+
* Returns Dynamic Generated CSS
|
26029 |
*/
|
26030 |
|
26031 |
|
26136 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
26137 |
|
26138 |
/***/ }),
|
26139 |
+
/* 253 */
|
26140 |
/*!******************************************************!*\
|
26141 |
!*** ./src/components/typography/font-typography.js ***!
|
26142 |
\******************************************************/
|
26147 |
"use strict";
|
26148 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
26149 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_map__);
|
26150 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__fonts__ = __webpack_require__(/*! ./fonts */ 320);
|
26151 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_select__ = __webpack_require__(/*! react-select */ 321);
|
26152 |
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
26153 |
|
26154 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
26155 |
|
26156 |
+
/**
|
26157 |
+
* WordPress dependencies
|
26158 |
*/
|
26159 |
var __ = wp.i18n.__;
|
26160 |
var SelectControl = wp.components.SelectControl;
|
26165 |
Component = _wp$element.Component,
|
26166 |
Fragment = _wp$element.Fragment;
|
26167 |
|
26168 |
+
/**
|
26169 |
+
* Internal dependencies
|
26170 |
*/
|
26171 |
|
26172 |
|
26175 |
|
26176 |
function FontFamilyControl(props) {
|
26177 |
|
26178 |
+
var fonts = [{ value: "", label: __("Default", 'ultimate-addons-for-gutenberg'), weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Arial", label: "Arial", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Helvetica", label: "Helvetica", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Times New Roman", label: "Times New Roman", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Georgia", label: "Georgia", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }];
|
26179 |
|
26180 |
var fontWeight = "";
|
26181 |
var fontSubset = "";
|
26278 |
wp.element.createElement(
|
26279 |
"label",
|
26280 |
{ className: "uag-typography-font-family-label" },
|
26281 |
+
__("Font Family", 'ultimate-addons-for-gutenberg')
|
26282 |
),
|
26283 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2_react_select__["a" /* default */], {
|
26284 |
options: fonts,
|
26290 |
classNamePrefix: "react-select"
|
26291 |
}),
|
26292 |
wp.element.createElement(SelectControl, {
|
26293 |
+
label: __("Font Weight", 'ultimate-addons-for-gutenberg'),
|
26294 |
value: props.fontWeight.value,
|
26295 |
onChange: function onChange(value) {
|
26296 |
return props.setAttributes(_defineProperty({}, props.fontWeight.label, value));
|
26298 |
options: fontWeightObj
|
26299 |
}),
|
26300 |
wp.element.createElement(SelectControl, {
|
26301 |
+
label: __("Font Subset", 'ultimate-addons-for-gutenberg'),
|
26302 |
value: props.fontSubset.value,
|
26303 |
onChange: function onChange(value) {
|
26304 |
return props.setAttributes(_defineProperty({}, props.fontSubset.label, value));
|
26311 |
/* harmony default export */ __webpack_exports__["a"] = (FontFamilyControl);
|
26312 |
|
26313 |
/***/ }),
|
26314 |
+
/* 254 */
|
26315 |
/*!*********************************************!*\
|
26316 |
!*** ./node_modules/lodash/_baseMatches.js ***!
|
26317 |
\*********************************************/
|
26319 |
/*! all exports used */
|
26320 |
/***/ (function(module, exports, __webpack_require__) {
|
26321 |
|
26322 |
+
var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */ 255),
|
26323 |
+
getMatchData = __webpack_require__(/*! ./_getMatchData */ 304),
|
26324 |
matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 158);
|
26325 |
|
26326 |
/**
|
26344 |
|
26345 |
|
26346 |
/***/ }),
|
26347 |
+
/* 255 */
|
26348 |
/*!*********************************************!*\
|
26349 |
!*** ./node_modules/lodash/_baseIsMatch.js ***!
|
26350 |
\*********************************************/
|
26417 |
|
26418 |
|
26419 |
/***/ }),
|
26420 |
+
/* 256 */
|
26421 |
/*!************************************************!*\
|
26422 |
!*** ./node_modules/lodash/_listCacheClear.js ***!
|
26423 |
\************************************************/
|
26441 |
|
26442 |
|
26443 |
/***/ }),
|
26444 |
+
/* 257 */
|
26445 |
/*!*************************************************!*\
|
26446 |
!*** ./node_modules/lodash/_listCacheDelete.js ***!
|
26447 |
\*************************************************/
|
26487 |
|
26488 |
|
26489 |
/***/ }),
|
26490 |
+
/* 258 */
|
26491 |
/*!**********************************************!*\
|
26492 |
!*** ./node_modules/lodash/_listCacheGet.js ***!
|
26493 |
\**********************************************/
|
26517 |
|
26518 |
|
26519 |
/***/ }),
|
26520 |
+
/* 259 */
|
26521 |
/*!**********************************************!*\
|
26522 |
!*** ./node_modules/lodash/_listCacheHas.js ***!
|
26523 |
\**********************************************/
|
26544 |
|
26545 |
|
26546 |
/***/ }),
|
26547 |
+
/* 260 */
|
26548 |
/*!**********************************************!*\
|
26549 |
!*** ./node_modules/lodash/_listCacheSet.js ***!
|
26550 |
\**********************************************/
|
26581 |
|
26582 |
|
26583 |
/***/ }),
|
26584 |
+
/* 261 */
|
26585 |
/*!********************************************!*\
|
26586 |
!*** ./node_modules/lodash/_stackClear.js ***!
|
26587 |
\********************************************/
|
26607 |
|
26608 |
|
26609 |
/***/ }),
|
26610 |
+
/* 262 */
|
26611 |
/*!*********************************************!*\
|
26612 |
!*** ./node_modules/lodash/_stackDelete.js ***!
|
26613 |
\*********************************************/
|
26636 |
|
26637 |
|
26638 |
/***/ }),
|
26639 |
+
/* 263 */
|
26640 |
/*!******************************************!*\
|
26641 |
!*** ./node_modules/lodash/_stackGet.js ***!
|
26642 |
\******************************************/
|
26661 |
|
26662 |
|
26663 |
/***/ }),
|
26664 |
+
/* 264 */
|
26665 |
/*!******************************************!*\
|
26666 |
!*** ./node_modules/lodash/_stackHas.js ***!
|
26667 |
\******************************************/
|
26686 |
|
26687 |
|
26688 |
/***/ }),
|
26689 |
+
/* 265 */
|
26690 |
/*!******************************************!*\
|
26691 |
!*** ./node_modules/lodash/_stackSet.js ***!
|
26692 |
\******************************************/
|
26731 |
|
26732 |
|
26733 |
/***/ }),
|
26734 |
+
/* 266 */
|
26735 |
/*!**********************************************!*\
|
26736 |
!*** ./node_modules/lodash/_baseIsNative.js ***!
|
26737 |
\**********************************************/
|
26740 |
/***/ (function(module, exports, __webpack_require__) {
|
26741 |
|
26742 |
var isFunction = __webpack_require__(/*! ./isFunction */ 144),
|
26743 |
+
isMasked = __webpack_require__(/*! ./_isMasked */ 269),
|
26744 |
+
isObject = __webpack_require__(/*! ./isObject */ 13),
|
26745 |
toSource = __webpack_require__(/*! ./_toSource */ 146);
|
26746 |
|
26747 |
/**
|
26789 |
|
26790 |
|
26791 |
/***/ }),
|
26792 |
+
/* 267 */
|
26793 |
/*!*******************************************!*\
|
26794 |
!*** ./node_modules/lodash/_getRawTag.js ***!
|
26795 |
\*******************************************/
|
26846 |
|
26847 |
|
26848 |
/***/ }),
|
26849 |
+
/* 268 */
|
26850 |
/*!************************************************!*\
|
26851 |
!*** ./node_modules/lodash/_objectToString.js ***!
|
26852 |
\************************************************/
|
26879 |
|
26880 |
|
26881 |
/***/ }),
|
26882 |
+
/* 269 */
|
26883 |
/*!******************************************!*\
|
26884 |
!*** ./node_modules/lodash/_isMasked.js ***!
|
26885 |
\******************************************/
|
26887 |
/*! all exports used */
|
26888 |
/***/ (function(module, exports, __webpack_require__) {
|
26889 |
|
26890 |
+
var coreJsData = __webpack_require__(/*! ./_coreJsData */ 270);
|
26891 |
|
26892 |
/** Used to detect methods masquerading as native. */
|
26893 |
var maskSrcKey = (function() {
|
26910 |
|
26911 |
|
26912 |
/***/ }),
|
26913 |
+
/* 270 */
|
26914 |
/*!********************************************!*\
|
26915 |
!*** ./node_modules/lodash/_coreJsData.js ***!
|
26916 |
\********************************************/
|
26918 |
/*! all exports used */
|
26919 |
/***/ (function(module, exports, __webpack_require__) {
|
26920 |
|
26921 |
+
var root = __webpack_require__(/*! ./_root */ 12);
|
26922 |
|
26923 |
/** Used to detect overreaching core-js shims. */
|
26924 |
var coreJsData = root['__core-js_shared__'];
|
26927 |
|
26928 |
|
26929 |
/***/ }),
|
26930 |
+
/* 271 */
|
26931 |
/*!******************************************!*\
|
26932 |
!*** ./node_modules/lodash/_getValue.js ***!
|
26933 |
\******************************************/
|
26951 |
|
26952 |
|
26953 |
/***/ }),
|
26954 |
+
/* 272 */
|
26955 |
/*!***********************************************!*\
|
26956 |
!*** ./node_modules/lodash/_mapCacheClear.js ***!
|
26957 |
\***********************************************/
|
26959 |
/*! all exports used */
|
26960 |
/***/ (function(module, exports, __webpack_require__) {
|
26961 |
|
26962 |
+
var Hash = __webpack_require__(/*! ./_Hash */ 273),
|
26963 |
ListCache = __webpack_require__(/*! ./_ListCache */ 45),
|
26964 |
Map = __webpack_require__(/*! ./_Map */ 73);
|
26965 |
|
26983 |
|
26984 |
|
26985 |
/***/ }),
|
26986 |
+
/* 273 */
|
26987 |
/*!**************************************!*\
|
26988 |
!*** ./node_modules/lodash/_Hash.js ***!
|
26989 |
\**************************************/
|
26991 |
/*! all exports used */
|
26992 |
/***/ (function(module, exports, __webpack_require__) {
|
26993 |
|
26994 |
+
var hashClear = __webpack_require__(/*! ./_hashClear */ 274),
|
26995 |
+
hashDelete = __webpack_require__(/*! ./_hashDelete */ 275),
|
26996 |
+
hashGet = __webpack_require__(/*! ./_hashGet */ 276),
|
26997 |
+
hashHas = __webpack_require__(/*! ./_hashHas */ 277),
|
26998 |
+
hashSet = __webpack_require__(/*! ./_hashSet */ 278);
|
26999 |
|
27000 |
/**
|
27001 |
* Creates a hash object.
|
27026 |
|
27027 |
|
27028 |
/***/ }),
|
27029 |
+
/* 274 */
|
27030 |
/*!*******************************************!*\
|
27031 |
!*** ./node_modules/lodash/_hashClear.js ***!
|
27032 |
\*******************************************/
|
27052 |
|
27053 |
|
27054 |
/***/ }),
|
27055 |
+
/* 275 */
|
27056 |
/*!********************************************!*\
|
27057 |
!*** ./node_modules/lodash/_hashDelete.js ***!
|
27058 |
\********************************************/
|
27080 |
|
27081 |
|
27082 |
/***/ }),
|
27083 |
+
/* 276 */
|
27084 |
/*!*****************************************!*\
|
27085 |
!*** ./node_modules/lodash/_hashGet.js ***!
|
27086 |
\*****************************************/
|
27121 |
|
27122 |
|
27123 |
/***/ }),
|
27124 |
+
/* 277 */
|
27125 |
/*!*****************************************!*\
|
27126 |
!*** ./node_modules/lodash/_hashHas.js ***!
|
27127 |
\*****************************************/
|
27155 |
|
27156 |
|
27157 |
/***/ }),
|
27158 |
+
/* 278 */
|
27159 |
/*!*****************************************!*\
|
27160 |
!*** ./node_modules/lodash/_hashSet.js ***!
|
27161 |
\*****************************************/
|
27189 |
|
27190 |
|
27191 |
/***/ }),
|
27192 |
+
/* 279 */
|
27193 |
/*!************************************************!*\
|
27194 |
!*** ./node_modules/lodash/_mapCacheDelete.js ***!
|
27195 |
\************************************************/
|
27218 |
|
27219 |
|
27220 |
/***/ }),
|
27221 |
+
/* 280 */
|
27222 |
/*!*******************************************!*\
|
27223 |
!*** ./node_modules/lodash/_isKeyable.js ***!
|
27224 |
\*******************************************/
|
27244 |
|
27245 |
|
27246 |
/***/ }),
|
27247 |
+
/* 281 */
|
27248 |
/*!*********************************************!*\
|
27249 |
!*** ./node_modules/lodash/_mapCacheGet.js ***!
|
27250 |
\*********************************************/
|
27271 |
|
27272 |
|
27273 |
/***/ }),
|
27274 |
+
/* 282 */
|
27275 |
/*!*********************************************!*\
|
27276 |
!*** ./node_modules/lodash/_mapCacheHas.js ***!
|
27277 |
\*********************************************/
|
27298 |
|
27299 |
|
27300 |
/***/ }),
|
27301 |
+
/* 283 */
|
27302 |
/*!*********************************************!*\
|
27303 |
!*** ./node_modules/lodash/_mapCacheSet.js ***!
|
27304 |
\*********************************************/
|
27331 |
|
27332 |
|
27333 |
/***/ }),
|
27334 |
+
/* 284 */
|
27335 |
/*!*************************************************!*\
|
27336 |
!*** ./node_modules/lodash/_baseIsEqualDeep.js ***!
|
27337 |
\*************************************************/
|
27341 |
|
27342 |
var Stack = __webpack_require__(/*! ./_Stack */ 72),
|
27343 |
equalArrays = __webpack_require__(/*! ./_equalArrays */ 148),
|
27344 |
+
equalByTag = __webpack_require__(/*! ./_equalByTag */ 290),
|
27345 |
+
equalObjects = __webpack_require__(/*! ./_equalObjects */ 293),
|
27346 |
getTag = __webpack_require__(/*! ./_getTag */ 54),
|
27347 |
+
isArray = __webpack_require__(/*! ./isArray */ 14),
|
27348 |
isBuffer = __webpack_require__(/*! ./isBuffer */ 79),
|
27349 |
isTypedArray = __webpack_require__(/*! ./isTypedArray */ 155);
|
27350 |
|
27425 |
|
27426 |
|
27427 |
/***/ }),
|
27428 |
+
/* 285 */
|
27429 |
/*!******************************************!*\
|
27430 |
!*** ./node_modules/lodash/_SetCache.js ***!
|
27431 |
\******************************************/
|
27434 |
/***/ (function(module, exports, __webpack_require__) {
|
27435 |
|
27436 |
var MapCache = __webpack_require__(/*! ./_MapCache */ 75),
|
27437 |
+
setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */ 286),
|
27438 |
+
setCacheHas = __webpack_require__(/*! ./_setCacheHas */ 287);
|
27439 |
|
27440 |
/**
|
27441 |
*
|
27463 |
|
27464 |
|
27465 |
/***/ }),
|
27466 |
+
/* 286 */
|
27467 |
/*!*********************************************!*\
|
27468 |
!*** ./node_modules/lodash/_setCacheAdd.js ***!
|
27469 |
\*********************************************/
|
27493 |
|
27494 |
|
27495 |
/***/ }),
|
27496 |
+
/* 287 */
|
27497 |
/*!*********************************************!*\
|
27498 |
!*** ./node_modules/lodash/_setCacheHas.js ***!
|
27499 |
\*********************************************/
|
27518 |
|
27519 |
|
27520 |
/***/ }),
|
27521 |
+
/* 288 */
|
27522 |
/*!*******************************************!*\
|
27523 |
!*** ./node_modules/lodash/_arraySome.js ***!
|
27524 |
\*******************************************/
|
27552 |
|
27553 |
|
27554 |
/***/ }),
|
27555 |
+
/* 289 */
|
27556 |
/*!******************************************!*\
|
27557 |
!*** ./node_modules/lodash/_cacheHas.js ***!
|
27558 |
\******************************************/
|
27576 |
|
27577 |
|
27578 |
/***/ }),
|
27579 |
+
/* 290 */
|
27580 |
/*!********************************************!*\
|
27581 |
!*** ./node_modules/lodash/_equalByTag.js ***!
|
27582 |
\********************************************/
|
27588 |
Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 149),
|
27589 |
eq = __webpack_require__(/*! ./eq */ 47),
|
27590 |
equalArrays = __webpack_require__(/*! ./_equalArrays */ 148),
|
27591 |
+
mapToArray = __webpack_require__(/*! ./_mapToArray */ 291),
|
27592 |
+
setToArray = __webpack_require__(/*! ./_setToArray */ 292);
|
27593 |
|
27594 |
/** Used to compose bitmasks for value comparisons. */
|
27595 |
var COMPARE_PARTIAL_FLAG = 1,
|
27699 |
|
27700 |
|
27701 |
/***/ }),
|
27702 |
+
/* 291 */
|
27703 |
/*!********************************************!*\
|
27704 |
!*** ./node_modules/lodash/_mapToArray.js ***!
|
27705 |
\********************************************/
|
27728 |
|
27729 |
|
27730 |
/***/ }),
|
27731 |
+
/* 292 */
|
27732 |
/*!********************************************!*\
|
27733 |
!*** ./node_modules/lodash/_setToArray.js ***!
|
27734 |
\********************************************/
|
27757 |
|
27758 |
|
27759 |
/***/ }),
|
27760 |
+
/* 293 */
|
27761 |
/*!**********************************************!*\
|
27762 |
!*** ./node_modules/lodash/_equalObjects.js ***!
|
27763 |
\**********************************************/
|
27857 |
|
27858 |
|
27859 |
/***/ }),
|
27860 |
+
/* 294 */
|
27861 |
/*!*********************************************!*\
|
27862 |
!*** ./node_modules/lodash/_arrayFilter.js ***!
|
27863 |
\*********************************************/
|
27893 |
|
27894 |
|
27895 |
/***/ }),
|
27896 |
+
/* 295 */
|
27897 |
/*!*************************************************!*\
|
27898 |
!*** ./node_modules/lodash/_baseIsArguments.js ***!
|
27899 |
\*************************************************/
|
27922 |
|
27923 |
|
27924 |
/***/ }),
|
27925 |
+
/* 296 */
|
27926 |
/*!******************************************!*\
|
27927 |
!*** ./node_modules/lodash/stubFalse.js ***!
|
27928 |
\******************************************/
|
27951 |
|
27952 |
|
27953 |
/***/ }),
|
27954 |
+
/* 297 */
|
27955 |
/*!**************************************************!*\
|
27956 |
!*** ./node_modules/lodash/_baseIsTypedArray.js ***!
|
27957 |
\**************************************************/
|
28022 |
|
28023 |
|
28024 |
/***/ }),
|
28025 |
+
/* 298 */
|
28026 |
/*!******************************************!*\
|
28027 |
!*** ./node_modules/lodash/_baseKeys.js ***!
|
28028 |
\******************************************/
|
28031 |
/***/ (function(module, exports, __webpack_require__) {
|
28032 |
|
28033 |
var isPrototype = __webpack_require__(/*! ./_isPrototype */ 53),
|
28034 |
+
nativeKeys = __webpack_require__(/*! ./_nativeKeys */ 299);
|
28035 |
|
28036 |
/** Used for built-in method references. */
|
28037 |
var objectProto = Object.prototype;
|
28063 |
|
28064 |
|
28065 |
/***/ }),
|
28066 |
+
/* 299 */
|
28067 |
/*!********************************************!*\
|
28068 |
!*** ./node_modules/lodash/_nativeKeys.js ***!
|
28069 |
\********************************************/
|
28080 |
|
28081 |
|
28082 |
/***/ }),
|
28083 |
+
/* 300 */
|
28084 |
/*!******************************************!*\
|
28085 |
!*** ./node_modules/lodash/_DataView.js ***!
|
28086 |
\******************************************/
|
28089 |
/***/ (function(module, exports, __webpack_require__) {
|
28090 |
|
28091 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
28092 |
+
root = __webpack_require__(/*! ./_root */ 12);
|
28093 |
|
28094 |
/* Built-in method references that are verified to be native. */
|
28095 |
var DataView = getNative(root, 'DataView');
|
28098 |
|
28099 |
|
28100 |
/***/ }),
|
28101 |
+
/* 301 */
|
28102 |
/*!*****************************************!*\
|
28103 |
!*** ./node_modules/lodash/_Promise.js ***!
|
28104 |
\*****************************************/
|
28107 |
/***/ (function(module, exports, __webpack_require__) {
|
28108 |
|
28109 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
28110 |
+
root = __webpack_require__(/*! ./_root */ 12);
|
28111 |
|
28112 |
/* Built-in method references that are verified to be native. */
|
28113 |
var Promise = getNative(root, 'Promise');
|
28116 |
|
28117 |
|
28118 |
/***/ }),
|
28119 |
+
/* 302 */
|
28120 |
/*!*************************************!*\
|
28121 |
!*** ./node_modules/lodash/_Set.js ***!
|
28122 |
\*************************************/
|
28125 |
/***/ (function(module, exports, __webpack_require__) {
|
28126 |
|
28127 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
28128 |
+
root = __webpack_require__(/*! ./_root */ 12);
|
28129 |
|
28130 |
/* Built-in method references that are verified to be native. */
|
28131 |
var Set = getNative(root, 'Set');
|
28134 |
|
28135 |
|
28136 |
/***/ }),
|
28137 |
+
/* 303 */
|
28138 |
/*!*****************************************!*\
|
28139 |
!*** ./node_modules/lodash/_WeakMap.js ***!
|
28140 |
\*****************************************/
|
28143 |
/***/ (function(module, exports, __webpack_require__) {
|
28144 |
|
28145 |
var getNative = __webpack_require__(/*! ./_getNative */ 21),
|
28146 |
+
root = __webpack_require__(/*! ./_root */ 12);
|
28147 |
|
28148 |
/* Built-in method references that are verified to be native. */
|
28149 |
var WeakMap = getNative(root, 'WeakMap');
|
28152 |
|
28153 |
|
28154 |
/***/ }),
|
28155 |
+
/* 304 */
|
28156 |
/*!**********************************************!*\
|
28157 |
!*** ./node_modules/lodash/_getMatchData.js ***!
|
28158 |
\**********************************************/
|
28187 |
|
28188 |
|
28189 |
/***/ }),
|
28190 |
+
/* 305 */
|
28191 |
/*!*****************************************************!*\
|
28192 |
!*** ./node_modules/lodash/_baseMatchesProperty.js ***!
|
28193 |
\*****************************************************/
|
28197 |
|
28198 |
var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ 147),
|
28199 |
get = __webpack_require__(/*! ./get */ 159),
|
28200 |
+
hasIn = __webpack_require__(/*! ./hasIn */ 309),
|
28201 |
isKey = __webpack_require__(/*! ./_isKey */ 82),
|
28202 |
isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ 157),
|
28203 |
matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 158),
|
28231 |
|
28232 |
|
28233 |
/***/ }),
|
28234 |
+
/* 306 */
|
28235 |
/*!**********************************************!*\
|
28236 |
!*** ./node_modules/lodash/_stringToPath.js ***!
|
28237 |
\**********************************************/
|
28239 |
/*! all exports used */
|
28240 |
/***/ (function(module, exports, __webpack_require__) {
|
28241 |
|
28242 |
+
var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ 307);
|
28243 |
|
28244 |
/** Used to match property names within property paths. */
|
28245 |
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
28269 |
|
28270 |
|
28271 |
/***/ }),
|
28272 |
+
/* 307 */
|
28273 |
/*!***********************************************!*\
|
28274 |
!*** ./node_modules/lodash/_memoizeCapped.js ***!
|
28275 |
\***********************************************/
|
28277 |
/*! all exports used */
|
28278 |
/***/ (function(module, exports, __webpack_require__) {
|
28279 |
|
28280 |
+
var memoize = __webpack_require__(/*! ./memoize */ 308);
|
28281 |
|
28282 |
/** Used as the maximum memoize cache size. */
|
28283 |
var MAX_MEMOIZE_SIZE = 500;
|
28306 |
|
28307 |
|
28308 |
/***/ }),
|
28309 |
+
/* 308 */
|
28310 |
/*!****************************************!*\
|
28311 |
!*** ./node_modules/lodash/memoize.js ***!
|
28312 |
\****************************************/
|
28390 |
|
28391 |
|
28392 |
/***/ }),
|
28393 |
+
/* 309 */
|
28394 |
/*!**************************************!*\
|
28395 |
!*** ./node_modules/lodash/hasIn.js ***!
|
28396 |
\**************************************/
|
28398 |
/*! all exports used */
|
28399 |
/***/ (function(module, exports, __webpack_require__) {
|
28400 |
|
28401 |
+
var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ 310),
|
28402 |
+
hasPath = __webpack_require__(/*! ./_hasPath */ 311);
|
28403 |
|
28404 |
/**
|
28405 |
* Checks if `path` is a direct or inherited property of `object`.
|
28435 |
|
28436 |
|
28437 |
/***/ }),
|
28438 |
+
/* 310 */
|
28439 |
/*!*******************************************!*\
|
28440 |
!*** ./node_modules/lodash/_baseHasIn.js ***!
|
28441 |
\*******************************************/
|
28459 |
|
28460 |
|
28461 |
/***/ }),
|
28462 |
+
/* 311 */
|
28463 |
/*!*****************************************!*\
|
28464 |
!*** ./node_modules/lodash/_hasPath.js ***!
|
28465 |
\*****************************************/
|
28469 |
|
28470 |
var castPath = __webpack_require__(/*! ./_castPath */ 30),
|
28471 |
isArguments = __webpack_require__(/*! ./isArguments */ 78),
|
28472 |
+
isArray = __webpack_require__(/*! ./isArray */ 14),
|
28473 |
isIndex = __webpack_require__(/*! ./_isIndex */ 50),
|
28474 |
isLength = __webpack_require__(/*! ./isLength */ 81),
|
28475 |
toKey = __webpack_require__(/*! ./_toKey */ 31);
|
28509 |
|
28510 |
|
28511 |
/***/ }),
|
28512 |
+
/* 312 */
|
28513 |
/*!*****************************************!*\
|
28514 |
!*** ./node_modules/lodash/property.js ***!
|
28515 |
\*****************************************/
|
28518 |
/***/ (function(module, exports, __webpack_require__) {
|
28519 |
|
28520 |
var baseProperty = __webpack_require__(/*! ./_baseProperty */ 162),
|
28521 |
+
basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ 313),
|
28522 |
isKey = __webpack_require__(/*! ./_isKey */ 82),
|
28523 |
toKey = __webpack_require__(/*! ./_toKey */ 31);
|
28524 |
|
28552 |
|
28553 |
|
28554 |
/***/ }),
|
28555 |
+
/* 313 */
|
28556 |
/*!**************************************************!*\
|
28557 |
!*** ./node_modules/lodash/_basePropertyDeep.js ***!
|
28558 |
\**************************************************/
|
28579 |
|
28580 |
|
28581 |
/***/ }),
|
28582 |
+
/* 314 */
|
28583 |
/*!*****************************************!*\
|
28584 |
!*** ./node_modules/lodash/_baseMap.js ***!
|
28585 |
\*****************************************/
|
28587 |
/*! all exports used */
|
28588 |
/***/ (function(module, exports, __webpack_require__) {
|
28589 |
|
28590 |
+
var baseEach = __webpack_require__(/*! ./_baseEach */ 315),
|
28591 |
isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29);
|
28592 |
|
28593 |
/**
|
28612 |
|
28613 |
|
28614 |
/***/ }),
|
28615 |
+
/* 315 */
|
28616 |
/*!******************************************!*\
|
28617 |
!*** ./node_modules/lodash/_baseEach.js ***!
|
28618 |
\******************************************/
|
28620 |
/*! all exports used */
|
28621 |
/***/ (function(module, exports, __webpack_require__) {
|
28622 |
|
28623 |
+
var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ 316),
|
28624 |
+
createBaseEach = __webpack_require__(/*! ./_createBaseEach */ 319);
|
28625 |
|
28626 |
/**
|
28627 |
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
28637 |
|
28638 |
|
28639 |
/***/ }),
|
28640 |
+
/* 316 */
|
28641 |
/*!********************************************!*\
|
28642 |
!*** ./node_modules/lodash/_baseForOwn.js ***!
|
28643 |
\********************************************/
|
28645 |
/*! all exports used */
|
28646 |
/***/ (function(module, exports, __webpack_require__) {
|
28647 |
|
28648 |
+
var baseFor = __webpack_require__(/*! ./_baseFor */ 317),
|
28649 |
keys = __webpack_require__(/*! ./keys */ 28);
|
28650 |
|
28651 |
/**
|
28664 |
|
28665 |
|
28666 |
/***/ }),
|
28667 |
+
/* 317 */
|
28668 |
/*!*****************************************!*\
|
28669 |
!*** ./node_modules/lodash/_baseFor.js ***!
|
28670 |
\*****************************************/
|
28672 |
/*! all exports used */
|
28673 |
/***/ (function(module, exports, __webpack_require__) {
|
28674 |
|
28675 |
+
var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ 318);
|
28676 |
|
28677 |
/**
|
28678 |
* The base implementation of `baseForOwn` which iterates over `object`
|
28691 |
|
28692 |
|
28693 |
/***/ }),
|
28694 |
+
/* 318 */
|
28695 |
/*!***********************************************!*\
|
28696 |
!*** ./node_modules/lodash/_createBaseFor.js ***!
|
28697 |
\***********************************************/
|
28727 |
|
28728 |
|
28729 |
/***/ }),
|
28730 |
+
/* 319 */
|
28731 |
/*!************************************************!*\
|
28732 |
!*** ./node_modules/lodash/_createBaseEach.js ***!
|
28733 |
\************************************************/
|
28770 |
|
28771 |
|
28772 |
/***/ }),
|
28773 |
+
/* 320 */
|
28774 |
/*!********************************************!*\
|
28775 |
!*** ./src/components/typography/fonts.js ***!
|
28776 |
\********************************************/
|
28779 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
28780 |
|
28781 |
"use strict";
|
28782 |
+
/**
|
28783 |
+
* Google Fonts for the FontFamily component.
|
28784 |
*/
|
28785 |
|
28786 |
var fonts = {};
|
29675 |
/* harmony default export */ __webpack_exports__["a"] = (fonts);
|
29676 |
|
29677 |
/***/ }),
|
29678 |
+
/* 321 */
|
29679 |
/*!********************************************************************!*\
|
29680 |
!*** ./node_modules/react-select/dist/react-select.browser.esm.js ***!
|
29681 |
\********************************************************************/
|
29685 |
|
29686 |
"use strict";
|
29687 |
/* unused harmony export NonceProvider */
|
29688 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ 322);
|
29689 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties__);
|
29690 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ 324);
|
29691 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends__);
|
29692 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 325);
|
29693 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray__);
|
29694 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 329);
|
29695 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray__);
|
29696 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 333);
|
29697 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty__);
|
29698 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 58);
|
29699 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_createClass__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 59);
|
29700 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ 334);
|
29701 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized__);
|
29702 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_inherits__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60);
|
29703 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_possibleConstructorReturn__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ 61);
|
29708 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__emotion_core__ = __webpack_require__(/*! @emotion/core */ 85);
|
29709 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom__ = __webpack_require__(/*! react-dom */ 33);
|
29710 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_react_dom__);
|
29711 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 352);
|
29712 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof__);
|
29713 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__index_4b37608a_browser_esm_js__ = __webpack_require__(/*! ./index-4b37608a.browser.esm.js */ 172);
|
29714 |
/* unused harmony reexport components */
|
29717 |
/* unused harmony reexport defaultTheme */
|
29718 |
/* unused harmony reexport mergeStyles */
|
29719 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__emotion_css__ = __webpack_require__(/*! @emotion/css */ 41);
|
29720 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ 367);
|
29721 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral__);
|
29722 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_react_input_autosize__ = __webpack_require__(/*! react-input-autosize */ 174);
|
29723 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_20_react_input_autosize__);
|
29724 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__stateManager_2f2b6f5b_browser_esm_js__ = __webpack_require__(/*! ./stateManager-2f2b6f5b.browser.esm.js */ 368);
|
29725 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__emotion_cache__ = __webpack_require__(/*! @emotion/cache */ 86);
|
29726 |
|
29727 |
|
29794 |
|
29795 |
|
29796 |
/***/ }),
|
29797 |
+
/* 322 */
|
29798 |
/*!**************************************************************************************************!*\
|
29799 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***!
|
29800 |
\**************************************************************************************************/
|
29801 |
/*! dynamic exports provided */
|
29802 |
/***/ (function(module, exports, __webpack_require__) {
|
29803 |
|
29804 |
+
var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose */ 323);
|
29805 |
|
29806 |
function _objectWithoutProperties(source, excluded) {
|
29807 |
if (source == null) return {};
|
29825 |
module.exports = _objectWithoutProperties;
|
29826 |
|
29827 |
/***/ }),
|
29828 |
+
/* 323 */
|
29829 |
/*!*******************************************************************************************************!*\
|
29830 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
|
29831 |
\*******************************************************************************************************/
|
29851 |
module.exports = _objectWithoutPropertiesLoose;
|
29852 |
|
29853 |
/***/ }),
|
29854 |
+
/* 324 */
|
29855 |
/*!**********************************************************************************!*\
|
29856 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/extends.js ***!
|
29857 |
\**********************************************************************************/
|
29879 |
module.exports = _extends;
|
29880 |
|
29881 |
/***/ }),
|
29882 |
+
/* 325 */
|
29883 |
/*!****************************************************************************************!*\
|
29884 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/slicedToArray.js ***!
|
29885 |
\****************************************************************************************/
|
29886 |
/*! dynamic exports provided */
|
29887 |
/***/ (function(module, exports, __webpack_require__) {
|
29888 |
|
29889 |
+
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles */ 326);
|
29890 |
|
29891 |
+
var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit */ 327);
|
29892 |
|
29893 |
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray */ 163);
|
29894 |
|
29895 |
+
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest */ 328);
|
29896 |
|
29897 |
function _slicedToArray(arr, i) {
|
29898 |
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
29901 |
module.exports = _slicedToArray;
|
29902 |
|
29903 |
/***/ }),
|
29904 |
+
/* 326 */
|
29905 |
/*!*****************************************************************************************!*\
|
29906 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
|
29907 |
\*****************************************************************************************/
|
29916 |
module.exports = _arrayWithHoles;
|
29917 |
|
29918 |
/***/ }),
|
29919 |
+
/* 327 */
|
29920 |
/*!***********************************************************************************************!*\
|
29921 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
|
29922 |
\***********************************************************************************************/
|
29954 |
module.exports = _iterableToArrayLimit;
|
29955 |
|
29956 |
/***/ }),
|
29957 |
+
/* 328 */
|
29958 |
/*!******************************************************************************************!*\
|
29959 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
|
29960 |
\******************************************************************************************/
|
29969 |
module.exports = _nonIterableRest;
|
29970 |
|
29971 |
/***/ }),
|
29972 |
+
/* 329 */
|
29973 |
/*!********************************************************************************************!*\
|
29974 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
|
29975 |
\********************************************************************************************/
|
29976 |
/*! dynamic exports provided */
|
29977 |
/***/ (function(module, exports, __webpack_require__) {
|
29978 |
|
29979 |
+
var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles */ 330);
|
29980 |
|
29981 |
+
var iterableToArray = __webpack_require__(/*! ./iterableToArray */ 331);
|
29982 |
|
29983 |
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray */ 163);
|
29984 |
|
29985 |
+
var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread */ 332);
|
29986 |
|
29987 |
function _toConsumableArray(arr) {
|
29988 |
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
29991 |
module.exports = _toConsumableArray;
|
29992 |
|
29993 |
/***/ }),
|
29994 |
+
/* 330 */
|
29995 |
/*!********************************************************************************************!*\
|
29996 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
|
29997 |
\********************************************************************************************/
|
30008 |
module.exports = _arrayWithoutHoles;
|
30009 |
|
30010 |
/***/ }),
|
30011 |
+
/* 331 */
|
30012 |
/*!******************************************************************************************!*\
|
30013 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
|
30014 |
\******************************************************************************************/
|
30023 |
module.exports = _iterableToArray;
|
30024 |
|
30025 |
/***/ }),
|
30026 |
+
/* 332 */
|
30027 |
/*!********************************************************************************************!*\
|
30028 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
|
30029 |
\********************************************************************************************/
|
30038 |
module.exports = _nonIterableSpread;
|
30039 |
|
30040 |
/***/ }),
|
30041 |
+
/* 333 */
|
30042 |
/*!*****************************************************************************************!*\
|
30043 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/defineProperty.js ***!
|
30044 |
\*****************************************************************************************/
|
30063 |
module.exports = _defineProperty;
|
30064 |
|
30065 |
/***/ }),
|
30066 |
+
/* 334 */
|
30067 |
/*!************************************************************************************************!*\
|
30068 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
|
30069 |
\************************************************************************************************/
|
30081 |
module.exports = _assertThisInitialized;
|
30082 |
|
30083 |
/***/ }),
|
30084 |
+
/* 335 */
|
30085 |
/*!*********************************************************************************************!*\
|
30086 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
30087 |
\*********************************************************************************************/
|
30101 |
}
|
30102 |
|
30103 |
/***/ }),
|
30104 |
+
/* 336 */
|
30105 |
/*!********************************************************!*\
|
30106 |
!*** ./node_modules/react/cjs/react.production.min.js ***!
|
30107 |
\********************************************************/
|
30138 |
|
30139 |
|
30140 |
/***/ }),
|
30141 |
+
/* 337 */
|
30142 |
/*!*****************************************************!*\
|
30143 |
!*** ./node_modules/react/cjs/react.development.js ***!
|
30144 |
\*****************************************************/
|
32063 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
32064 |
|
32065 |
/***/ }),
|
32066 |
+
/* 338 */
|
32067 |
/*!*********************************************************************************************!*\
|
32068 |
!*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js ***!
|
32069 |
\*********************************************************************************************/
|
32080 |
}
|
32081 |
|
32082 |
/***/ }),
|
32083 |
+
/* 339 */
|
32084 |
/*!*****************************************************************!*\
|
32085 |
!*** ./node_modules/@emotion/stylis/dist/stylis.browser.esm.js ***!
|
32086 |
\*****************************************************************/
|
32707 |
|
32708 |
|
32709 |
/***/ }),
|
32710 |
+
/* 340 */
|
32711 |
/*!*****************************************************************************!*\
|
32712 |
!*** ./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js ***!
|
32713 |
\*****************************************************************************/
|
32734 |
|
32735 |
|
32736 |
/***/ }),
|
32737 |
+
/* 341 */
|
32738 |
/*!*****************************************************************************************!*\
|
32739 |
!*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/inheritsLoose.js ***!
|
32740 |
\*****************************************************************************************/
|
32750 |
module.exports = _inheritsLoose;
|
32751 |
|
32752 |
/***/ }),
|
32753 |
+
/* 342 */
|
32754 |
/*!*************************************************************!*\
|
32755 |
!*** ./node_modules/@emotion/hash/dist/hash.browser.esm.js ***!
|
32756 |
\*************************************************************/
|
32817 |
|
32818 |
|
32819 |
/***/ }),
|
32820 |
+
/* 343 */
|
32821 |
/*!*********************************************************************!*\
|
32822 |
!*** ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js ***!
|
32823 |
\*********************************************************************/
|
32879 |
|
32880 |
|
32881 |
/***/ }),
|
32882 |
+
/* 344 */
|
32883 |
/*!*******************************************************************!*\
|
32884 |
!*** ./node_modules/@emotion/memoize/dist/memoize.browser.esm.js ***!
|
32885 |
\*******************************************************************/
|
32900 |
|
32901 |
|
32902 |
/***/ }),
|
32903 |
+
/* 345 */
|
32904 |
/*!****************************************************************!*\
|
32905 |
!*** ./node_modules/react-dom/cjs/react-dom.production.min.js ***!
|
32906 |
\****************************************************************/
|
33204 |
|
33205 |
|
33206 |
/***/ }),
|
33207 |
+
/* 346 */
|
33208 |
/*!****************************************************************!*\
|
33209 |
!*** ./node_modules/scheduler/cjs/scheduler.production.min.js ***!
|
33210 |
\****************************************************************/
|
33237 |
|
33238 |
|
33239 |
/***/ }),
|
33240 |
+
/* 347 */
|
33241 |
/*!*************************************************************!*\
|
33242 |
!*** ./node_modules/scheduler/cjs/scheduler.development.js ***!
|
33243 |
\*************************************************************/
|
34108 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
34109 |
|
34110 |
/***/ }),
|
34111 |
+
/* 348 */
|
34112 |
/*!*************************************************************!*\
|
34113 |
!*** ./node_modules/react-dom/cjs/react-dom.development.js ***!
|
34114 |
\*************************************************************/
|
34138 |
var _assign = __webpack_require__(/*! object-assign */ 32);
|
34139 |
var Scheduler = __webpack_require__(/*! scheduler */ 171);
|
34140 |
var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ 83);
|
34141 |
+
var tracing = __webpack_require__(/*! scheduler/tracing */ 349);
|
34142 |
|
34143 |
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; // Prevent newer renderers from RTE when used with older react package versions.
|
34144 |
// Current owner and dispatcher used to share the same ref,
|
59133 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
59134 |
|
59135 |
/***/ }),
|
59136 |
+
/* 349 */
|
59137 |
/*!*******************************************!*\
|
59138 |
!*** ./node_modules/scheduler/tracing.js ***!
|
59139 |
\*******************************************/
|
59145 |
/* WEBPACK VAR INJECTION */(function(process) {
|
59146 |
|
59147 |
if (process.env.NODE_ENV === 'production') {
|
59148 |
+
module.exports = __webpack_require__(/*! ./cjs/scheduler-tracing.production.min.js */ 350);
|
59149 |
} else {
|
59150 |
+
module.exports = __webpack_require__(/*! ./cjs/scheduler-tracing.development.js */ 351);
|
59151 |
}
|
59152 |
|
59153 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
59154 |
|
59155 |
/***/ }),
|
59156 |
+
/* 350 */
|
59157 |
/*!************************************************************************!*\
|
59158 |
!*** ./node_modules/scheduler/cjs/scheduler-tracing.production.min.js ***!
|
59159 |
\************************************************************************/
|
59175 |
|
59176 |
|
59177 |
/***/ }),
|
59178 |
+
/* 351 */
|
59179 |
/*!*********************************************************************!*\
|
59180 |
!*** ./node_modules/scheduler/cjs/scheduler-tracing.development.js ***!
|
59181 |
\*********************************************************************/
|
59537 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
59538 |
|
59539 |
/***/ }),
|
59540 |
+
/* 352 */
|
59541 |
/*!*********************************************************************************!*\
|
59542 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/typeof.js ***!
|
59543 |
\*********************************************************************************/
|
59563 |
module.exports = _typeof;
|
59564 |
|
59565 |
/***/ }),
|
59566 |
+
/* 353 */
|
59567 |
/*!***********************************************************************************************************!*\
|
59568 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
|
59569 |
\***********************************************************************************************************/
|
59589 |
}
|
59590 |
|
59591 |
/***/ }),
|
59592 |
+
/* 354 */
|
59593 |
/*!****************************************************************************************************!*\
|
59594 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js ***!
|
59595 |
\****************************************************************************************************/
|
59612 |
}
|
59613 |
|
59614 |
/***/ }),
|
59615 |
+
/* 355 */
|
59616 |
/*!**************************************************************!*\
|
59617 |
!*** ./node_modules/react-is/cjs/react-is.production.min.js ***!
|
59618 |
\**************************************************************/
|
59639 |
|
59640 |
|
59641 |
/***/ }),
|
59642 |
+
/* 356 */
|
59643 |
/*!***********************************************************!*\
|
59644 |
!*** ./node_modules/react-is/cjs/react-is.development.js ***!
|
59645 |
\***********************************************************/
|
59879 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
|
59880 |
|
59881 |
/***/ }),
|
59882 |
+
/* 357 */
|
59883 |
/*!************************************************************!*\
|
59884 |
!*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
|
59885 |
\************************************************************/
|
60483 |
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
|
60484 |
|
60485 |
/***/ }),
|
60486 |
+
/* 358 */
|
60487 |
/*!*************************************************************!*\
|
60488 |
!*** ./node_modules/prop-types/factoryWithThrowingShims.js ***!
|
60489 |
\*************************************************************/
|
60559 |
|
60560 |
|
60561 |
/***/ }),
|
60562 |
+
/* 359 */
|
60563 |
/*!********************************************************************************************!*\
|
60564 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
|
60565 |
\********************************************************************************************/
|
60569 |
|
60570 |
"use strict";
|
60571 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _slicedToArray;
|
60572 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_arrayWithHoles__ = __webpack_require__(/*! @babel/runtime/helpers/esm/arrayWithHoles */ 360);
|
60573 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_iterableToArrayLimit__ = __webpack_require__(/*! @babel/runtime/helpers/esm/iterableToArrayLimit */ 361);
|
60574 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_unsupportedIterableToArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/unsupportedIterableToArray */ 177);
|
60575 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_nonIterableRest__ = __webpack_require__(/*! @babel/runtime/helpers/esm/nonIterableRest */ 362);
|
60576 |
|
60577 |
|
60578 |
|
60582 |
}
|
60583 |
|
60584 |
/***/ }),
|
60585 |
+
/* 360 */
|
60586 |
/*!*********************************************************************************************!*\
|
60587 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
60588 |
\*********************************************************************************************/
|
60597 |
}
|
60598 |
|
60599 |
/***/ }),
|
60600 |
+
/* 361 */
|
60601 |
/*!***************************************************************************************************!*\
|
60602 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
|
60603 |
\***************************************************************************************************/
|
60635 |
}
|
60636 |
|
60637 |
/***/ }),
|
60638 |
+
/* 362 */
|
60639 |
/*!**********************************************************************************************!*\
|
60640 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
60641 |
\**********************************************************************************************/
|
60650 |
}
|
60651 |
|
60652 |
/***/ }),
|
60653 |
+
/* 363 */
|
60654 |
/*!************************************************************************************************!*\
|
60655 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***!
|
60656 |
\************************************************************************************************/
|
60660 |
|
60661 |
"use strict";
|
60662 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _toConsumableArray;
|
60663 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_arrayWithoutHoles__ = __webpack_require__(/*! @babel/runtime/helpers/esm/arrayWithoutHoles */ 364);
|
60664 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_iterableToArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/iterableToArray */ 365);
|
60665 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_unsupportedIterableToArray__ = __webpack_require__(/*! @babel/runtime/helpers/esm/unsupportedIterableToArray */ 177);
|
60666 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_nonIterableSpread__ = __webpack_require__(/*! @babel/runtime/helpers/esm/nonIterableSpread */ 366);
|
60667 |
|
60668 |
|
60669 |
|
60673 |
}
|
60674 |
|
60675 |
/***/ }),
|
60676 |
+
/* 364 */
|
60677 |
/*!************************************************************************************************!*\
|
60678 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***!
|
60679 |
\************************************************************************************************/
|
60690 |
}
|
60691 |
|
60692 |
/***/ }),
|
60693 |
+
/* 365 */
|
60694 |
/*!**********************************************************************************************!*\
|
60695 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
60696 |
\**********************************************************************************************/
|
60705 |
}
|
60706 |
|
60707 |
/***/ }),
|
60708 |
+
/* 366 */
|
60709 |
/*!************************************************************************************************!*\
|
60710 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***!
|
60711 |
\************************************************************************************************/
|
60720 |
}
|
60721 |
|
60722 |
/***/ }),
|
60723 |
+
/* 367 */
|
60724 |
/*!************************************************************************************************!*\
|
60725 |
!*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js ***!
|
60726 |
\************************************************************************************************/
|
60742 |
module.exports = _taggedTemplateLiteral;
|
60743 |
|
60744 |
/***/ }),
|
60745 |
+
/* 368 */
|
60746 |
/*!*****************************************************************************!*\
|
60747 |
!*** ./node_modules/react-select/dist/stateManager-2f2b6f5b.browser.esm.js ***!
|
60748 |
\*****************************************************************************/
|
60905 |
|
60906 |
|
60907 |
/***/ }),
|
60908 |
+
/* 369 */
|
60909 |
/*!*******************************************************!*\
|
60910 |
!*** ./src/components/typography/range-typography.js ***!
|
60911 |
\*******************************************************/
|
60918 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_map__);
|
60919 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
60920 |
|
60921 |
+
/**
|
60922 |
+
* WordPress dependencies
|
60923 |
*/
|
60924 |
var __ = wp.i18n.__;
|
60925 |
var _wp$components = wp.components,
|
60935 |
Component = _wp$element.Component,
|
60936 |
Fragment = _wp$element.Fragment;
|
60937 |
|
60938 |
+
/**
|
60939 |
+
* Internal dependencies
|
60940 |
*/
|
60941 |
|
60942 |
|
60948 |
if ("sizeTypes" in props) {
|
60949 |
sizeTypes = props.sizeTypes;
|
60950 |
} else {
|
60951 |
+
sizeTypes = [{ key: "px", name: __("px", 'ultimate-addons-for-gutenberg') }, { key: "em", name: __("em", 'ultimate-addons-for-gutenberg') }];
|
60952 |
}
|
60953 |
|
60954 |
var sizeTypesControls = wp.element.createElement(
|
60955 |
ButtonGroup,
|
60956 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
60957 |
__WEBPACK_IMPORTED_MODULE_0_lodash_map___default()(sizeTypes, function (_ref) {
|
60958 |
var name = _ref.name,
|
60959 |
key = _ref.key;
|
61068 |
/* harmony default export */ __webpack_exports__["a"] = (RangeTypographyControl);
|
61069 |
|
61070 |
/***/ }),
|
61071 |
+
/* 370 */
|
61072 |
/*!****************************************************!*\
|
61073 |
!*** ./src/components/typography/inline-styles.js ***!
|
61074 |
\****************************************************/
|
61076 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
61077 |
|
61078 |
"use strict";
|
61079 |
+
/**
|
61080 |
+
* Set inline styles.
|
61081 |
+
* @param {object} props - The block object.
|
61082 |
+
* @return {object} The inline text color CSS.
|
61083 |
*/
|
61084 |
function TypographyStyles(props) {
|
61085 |
return {};
|
61088 |
/* unused harmony default export */ var _unused_webpack_default_export = (TypographyStyles);
|
61089 |
|
61090 |
/***/ }),
|
61091 |
+
/* 371 */
|
61092 |
/*!***********************************************!*\
|
61093 |
!*** ./src/components/typography/editor.scss ***!
|
61094 |
\***********************************************/
|
61098 |
// removed by extract-text-webpack-plugin
|
61099 |
|
61100 |
/***/ }),
|
61101 |
+
/* 372 */
|
61102 |
/*!*****************************************************!*\
|
61103 |
!*** ./node_modules/webfontloader/webfontloader.js ***!
|
61104 |
\*****************************************************/
|
61127 |
|
61128 |
|
61129 |
/***/ }),
|
61130 |
+
/* 373 */
|
61131 |
/*!*********************************************!*\
|
61132 |
!*** ./src/blocks/advanced-heading/save.js ***!
|
61133 |
\*********************************************/
|
61139 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
61140 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
61141 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
61142 |
+
/**
|
61143 |
+
* BLOCK: Advanced Heading - Save Block
|
61144 |
*/
|
61145 |
|
61146 |
|
61187 |
}
|
61188 |
|
61189 |
/***/ }),
|
61190 |
+
/* 374 */
|
61191 |
/*!***************************************************!*\
|
61192 |
!*** ./src/blocks/advanced-heading/deprecated.js ***!
|
61193 |
\***************************************************/
|
61197 |
|
61198 |
"use strict";
|
61199 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__attributes__ = __webpack_require__(/*! ./attributes */ 142);
|
61200 |
+
/**
|
61201 |
+
* BLOCK: Advanced Heading - Deprecated Block
|
61202 |
*/
|
61203 |
|
61204 |
|
61282 |
|
61283 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
61284 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61285 |
/***/ }),
|
61286 |
/* 375 */
|
61287 |
/*!**********************************!*\
|
61299 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__post_button_block_js__ = __webpack_require__(/*! ./post-button/block.js */ 480);
|
61300 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__post_excerpt_block_js__ = __webpack_require__(/*! ./post-excerpt/block.js */ 483);
|
61301 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__post_meta_block_js__ = __webpack_require__(/*! ./post-meta/block.js */ 486);
|
61302 |
+
/**
|
61303 |
+
* Gutenberg Blocks
|
61304 |
+
*
|
61305 |
+
* All blocks related JavaScript files should be imported here.
|
61306 |
+
* You can create a new block folder in this dir and include code
|
61307 |
+
* for that block here as well.
|
61308 |
+
*
|
61309 |
+
* All blocks should be included here since this is the file that
|
61310 |
+
* Webpack is compiling as the input file.
|
61311 |
*/
|
61312 |
|
61313 |
|
61334 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
61335 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! .././editor.scss */ 95);
|
61336 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
61337 |
+
/**
|
61338 |
+
* BLOCK: UAGB - post-grid
|
61339 |
*/
|
61340 |
|
61341 |
// Import block dependencies and components
|
61359 |
description: uagb_blocks_info.blocks["uagb/post-grid"]["description"],
|
61360 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].post_grid,
|
61361 |
category: uagb_blocks_info.category,
|
61362 |
+
keywords: [__("post", 'ultimate-addons-for-gutenberg'), __("grid", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
61363 |
edit: __WEBPACK_IMPORTED_MODULE_0__edit__["a" /* default */],
|
61364 |
example: {},
|
61365 |
// Render via PHP
|
61396 |
|
61397 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
61398 |
|
61399 |
+
/**
|
61400 |
+
* External dependencies
|
61401 |
*/
|
61402 |
|
61403 |
|
61847 |
wp.element.createElement(
|
61848 |
"p",
|
61849 |
{ className: "uagb-setting-label" },
|
61850 |
+
__("Hover Color", 'ultimate-addons-for-gutenberg'),
|
61851 |
wp.element.createElement(
|
61852 |
"span",
|
61853 |
{ className: "components-base-control__label" },
|
61864 |
wp.element.createElement(
|
61865 |
"p",
|
61866 |
{ className: "uagb-setting-label" },
|
61867 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
61868 |
wp.element.createElement(
|
61869 |
"span",
|
61870 |
{ className: "components-base-control__label" },
|
61881 |
wp.element.createElement(
|
61882 |
"p",
|
61883 |
{ className: "uagb-setting-label" },
|
61884 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
61885 |
wp.element.createElement(
|
61886 |
"span",
|
61887 |
{ className: "components-base-control__label" },
|
61903 |
wp.element.createElement(
|
61904 |
"p",
|
61905 |
{ className: "uagb-setting-label" },
|
61906 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
61907 |
wp.element.createElement(
|
61908 |
"span",
|
61909 |
{ className: "components-base-control__label" },
|
61920 |
wp.element.createElement(
|
61921 |
"p",
|
61922 |
{ className: "uagb-setting-label" },
|
61923 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
61924 |
wp.element.createElement(
|
61925 |
"span",
|
61926 |
{ className: "components-base-control__label" },
|
61937 |
wp.element.createElement(
|
61938 |
"p",
|
61939 |
{ className: "uagb-setting-label" },
|
61940 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
61941 |
wp.element.createElement(
|
61942 |
"span",
|
61943 |
{ className: "components-base-control__label" },
|
62004 |
|
62005 |
var taxonomyListOptions = [];
|
62006 |
|
62007 |
+
var categoryListOptions = [{ value: "", label: __("All", 'ultimate-addons-for-gutenberg') }];
|
62008 |
|
62009 |
if ("" != taxonomyList) {
|
62010 |
Object.keys(taxonomyList).map(function (item, thisIndex) {
|
62024 |
null,
|
62025 |
wp.element.createElement(
|
62026 |
PanelBody,
|
62027 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg') },
|
62028 |
wp.element.createElement(SelectControl, {
|
62029 |
+
label: __("Post Type", 'ultimate-addons-for-gutenberg'),
|
62030 |
value: postType,
|
62031 |
onChange: function onChange(value) {
|
62032 |
return _this4.onSelectPostType(value);
|
62035 |
}),
|
62036 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62037 |
"" != taxonomyList && wp.element.createElement(SelectControl, {
|
62038 |
+
label: __("Taxonomy", 'ultimate-addons-for-gutenberg'),
|
62039 |
value: taxonomyType,
|
62040 |
onChange: function onChange(value) {
|
62041 |
return _this4.onSelectTaxonomyType(value);
|
62056 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
62057 |
),
|
62058 |
wp.element.createElement(ToggleControl, {
|
62059 |
+
label: __("Exclude Current Post", 'ultimate-addons-for-gutenberg'),
|
62060 |
checked: excludeCurrentPost,
|
62061 |
onChange: function onChange(value) {
|
62062 |
return setAttributes({ excludeCurrentPost: !excludeCurrentPost });
|
62063 |
}
|
62064 |
}),
|
62065 |
wp.element.createElement(RangeControl, {
|
62066 |
+
label: __("Posts Per Page", 'ultimate-addons-for-gutenberg'),
|
62067 |
value: postsToShow,
|
62068 |
onChange: this.onChangePostsPerPage,
|
62069 |
min: 0,
|
62075 |
onChange: function onChange(value) {
|
62076 |
return setAttributes({ orderBy: value });
|
62077 |
},
|
62078 |
+
options: [{ value: "date", label: __("Date", 'ultimate-addons-for-gutenberg') }, { value: "title", label: __("Title", 'ultimate-addons-for-gutenberg') }, { value: "rand", label: __("Random", 'ultimate-addons-for-gutenberg') }, { value: "menu_order", label: __("Menu Order", 'ultimate-addons-for-gutenberg') }]
|
62079 |
}),
|
62080 |
wp.element.createElement(SelectControl, {
|
62081 |
label: __("Order"),
|
62083 |
onChange: function onChange(value) {
|
62084 |
return setAttributes({ order: value });
|
62085 |
},
|
62086 |
+
options: [{ value: "desc", label: __("Descending", 'ultimate-addons-for-gutenberg') }, { value: "asc", label: __("Ascending", 'ultimate-addons-for-gutenberg') }]
|
62087 |
}),
|
62088 |
wp.element.createElement(
|
62089 |
TabPanel,
|
62106 |
|
62107 |
if ("mobile" === tab.name) {
|
62108 |
tabout = wp.element.createElement(RangeControl, {
|
62109 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
62110 |
value: mcolumns,
|
62111 |
onChange: function onChange(value) {
|
62112 |
return setAttributes({ mcolumns: value });
|
62116 |
});
|
62117 |
} else if ("tablet" === tab.name) {
|
62118 |
tabout = wp.element.createElement(RangeControl, {
|
62119 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
62120 |
value: tcolumns,
|
62121 |
onChange: function onChange(value) {
|
62122 |
return setAttributes({ tcolumns: value });
|
62126 |
});
|
62127 |
} else {
|
62128 |
tabout = wp.element.createElement(RangeControl, {
|
62129 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
62130 |
value: columns,
|
62131 |
onChange: function onChange(value) {
|
62132 |
return setAttributes({ columns: value });
|
62144 |
}
|
62145 |
),
|
62146 |
wp.element.createElement(ToggleControl, {
|
62147 |
+
label: __("Equal Height", 'ultimate-addons-for-gutenberg'),
|
62148 |
checked: equalHeight,
|
62149 |
onChange: function onChange(value) {
|
62150 |
return setAttributes({ equalHeight: !equalHeight });
|
62151 |
}
|
62152 |
}),
|
62153 |
wp.element.createElement(ToggleControl, {
|
62154 |
+
label: __("Post Pagination", 'ultimate-addons-for-gutenberg'),
|
62155 |
checked: postPagination,
|
62156 |
onChange: this.onSelectPagination
|
62157 |
}),
|
62158 |
postPagination == true && wp.element.createElement(RangeControl, {
|
62159 |
+
label: __("Page Limit", 'ultimate-addons-for-gutenberg'),
|
62160 |
value: pageLimit,
|
62161 |
onChange: this.onChangePageLimit,
|
62162 |
min: 0,
|
62166 |
wp.element.createElement(
|
62167 |
"h2",
|
62168 |
null,
|
62169 |
+
__("If Posts Not Found", 'ultimate-addons-for-gutenberg')
|
62170 |
),
|
62171 |
wp.element.createElement(TextControl, {
|
62172 |
autoComplete: "off",
|
62173 |
+
label: __('Display Message', 'ultimate-addons-for-gutenberg'),
|
62174 |
value: postDisplaytext,
|
62175 |
onChange: function onChange(value) {
|
62176 |
return setAttributes({ postDisplaytext: value });
|
62178 |
}),
|
62179 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62180 |
wp.element.createElement(ToggleControl, {
|
62181 |
+
label: __("Inherit Styling from Theme", 'ultimate-addons-for-gutenberg'),
|
62182 |
checked: inheritFromTheme,
|
62183 |
onChange: function onChange(value) {
|
62184 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
62185 |
},
|
62186 |
+
help: __("This will inherit all the Typography and colors for Title, Meta, Excerpt and Read More button from the theme.", 'ultimate-addons-for-gutenberg')
|
62187 |
})
|
62188 |
),
|
62189 |
postPagination == true && wp.element.createElement(
|
62190 |
PanelBody,
|
62191 |
+
{ title: __("Pagination", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
62192 |
wp.element.createElement(
|
62193 |
Fragment,
|
62194 |
null,
|
62195 |
wp.element.createElement(SelectControl, {
|
62196 |
+
label: __("Pagination Layout", 'ultimate-addons-for-gutenberg'),
|
62197 |
value: paginationLayout,
|
62198 |
onChange: function onChange(value) {
|
62199 |
return setAttributes({ paginationLayout: value });
|
62200 |
},
|
62201 |
+
options: [{ value: "border", label: __("Border", 'ultimate-addons-for-gutenberg') }, { value: "filled", label: __("Filled", 'ultimate-addons-for-gutenberg') }]
|
62202 |
}),
|
62203 |
wp.element.createElement(
|
62204 |
"h2",
|
62205 |
null,
|
62206 |
" ",
|
62207 |
+
__("Pagination Alignment", 'ultimate-addons-for-gutenberg')
|
62208 |
),
|
62209 |
wp.element.createElement(Button, {
|
62210 |
key: "left",
|
62243 |
wp.element.createElement(
|
62244 |
"p",
|
62245 |
{ className: "uagb-setting-label" },
|
62246 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
62247 |
wp.element.createElement(
|
62248 |
"span",
|
62249 |
{ className: "components-base-control__label" },
|
62259 |
wp.element.createElement(
|
62260 |
"p",
|
62261 |
{ className: "uagb-setting-label" },
|
62262 |
+
__("Background Active Color", 'ultimate-addons-for-gutenberg'),
|
62263 |
wp.element.createElement(
|
62264 |
"span",
|
62265 |
{ className: "components-base-control__label" },
|
62277 |
Fragment,
|
62278 |
null,
|
62279 |
wp.element.createElement(RangeControl, {
|
62280 |
+
label: __("Border Size", 'ultimate-addons-for-gutenberg'),
|
62281 |
value: paginationBorderSize,
|
62282 |
onChange: function onChange(value) {
|
62283 |
return setAttributes({ paginationBorderSize: value });
|
62286 |
max: 10
|
62287 |
}),
|
62288 |
wp.element.createElement(RangeControl, {
|
62289 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
62290 |
value: paginationBorderRadius,
|
62291 |
onChange: function onChange(value) {
|
62292 |
return setAttributes({ paginationBorderRadius: value });
|
62297 |
wp.element.createElement(
|
62298 |
"p",
|
62299 |
{ className: "uagb-setting-label" },
|
62300 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
62301 |
wp.element.createElement(
|
62302 |
"span",
|
62303 |
{ className: "components-base-control__label" },
|
62313 |
wp.element.createElement(
|
62314 |
"p",
|
62315 |
{ className: "uagb-setting-label" },
|
62316 |
+
__("Border Active Color", 'ultimate-addons-for-gutenberg'),
|
62317 |
wp.element.createElement(
|
62318 |
"span",
|
62319 |
{ className: "components-base-control__label" },
|
62330 |
wp.element.createElement(
|
62331 |
"p",
|
62332 |
{ className: "uagb-setting-label" },
|
62333 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
62334 |
wp.element.createElement(
|
62335 |
"span",
|
62336 |
{ className: "components-base-control__label" },
|
62346 |
wp.element.createElement(
|
62347 |
"p",
|
62348 |
{ className: "uagb-setting-label" },
|
62349 |
+
__("Text Active Color", 'ultimate-addons-for-gutenberg'),
|
62350 |
wp.element.createElement(
|
62351 |
"span",
|
62352 |
{ className: "components-base-control__label" },
|
62361 |
}),
|
62362 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62363 |
wp.element.createElement(RangeControl, {
|
62364 |
+
label: __("Spacing", 'ultimate-addons-for-gutenberg'),
|
62365 |
value: paginationSpacing,
|
62366 |
onChange: function onChange(value) {
|
62367 |
return setAttributes({ paginationSpacing: value });
|
62368 |
},
|
62369 |
+
help: __("This spacing is between the Post Grid and the Pagination", 'ultimate-addons-for-gutenberg'),
|
62370 |
min: 0,
|
62371 |
max: 500
|
62372 |
}),
|
62373 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62374 |
wp.element.createElement(TextControl, {
|
62375 |
+
label: __("Previous Text", 'ultimate-addons-for-gutenberg'),
|
62376 |
value: paginationPrevText,
|
62377 |
onChange: this.onChangePrevText
|
62378 |
}),
|
62379 |
wp.element.createElement(TextControl, {
|
62380 |
+
label: __("Next Text", 'ultimate-addons-for-gutenberg'),
|
62381 |
value: paginationNextText,
|
62382 |
onChange: this.onChangeNextText
|
62383 |
})
|
62385 |
),
|
62386 |
wp.element.createElement(
|
62387 |
PanelBody,
|
62388 |
+
{ title: __("Image", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
62389 |
wp.element.createElement(ToggleControl, {
|
62390 |
+
label: __("Show Featured Image", 'ultimate-addons-for-gutenberg'),
|
62391 |
checked: displayPostImage,
|
62392 |
onChange: function onChange(value) {
|
62393 |
return setAttributes({ displayPostImage: !displayPostImage });
|
62394 |
}
|
62395 |
}),
|
62396 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
62397 |
+
label: __("Image Sizes", 'ultimate-addons-for-gutenberg'),
|
62398 |
value: imgSize,
|
62399 |
onChange: function onChange(value) {
|
62400 |
return setAttributes({ imgSize: value });
|
62402 |
options: uagb_blocks_info.image_sizes
|
62403 |
}),
|
62404 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
62405 |
+
label: __("Image Position", 'ultimate-addons-for-gutenberg'),
|
62406 |
value: imgPosition,
|
62407 |
onChange: function onChange(value) {
|
62408 |
return setAttributes({ imgPosition: value });
|
62409 |
},
|
62410 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "background", label: __("Background", 'ultimate-addons-for-gutenberg') }]
|
62411 |
}),
|
62412 |
displayPostImage == true && imgPosition == "background" && wp.element.createElement(
|
62413 |
Fragment,
|
62415 |
wp.element.createElement(
|
62416 |
"p",
|
62417 |
{ className: "uagb-setting-label" },
|
62418 |
+
__("Background Overlay Color", 'ultimate-addons-for-gutenberg'),
|
62419 |
wp.element.createElement(
|
62420 |
"span",
|
62421 |
{ className: "components-base-control__label" },
|
62430 |
allowReset: true
|
62431 |
}),
|
62432 |
wp.element.createElement(RangeControl, {
|
62433 |
+
label: __("Overlay Opacity", 'ultimate-addons-for-gutenberg'),
|
62434 |
value: overlayOpacity,
|
62435 |
onChange: function onChange(value) {
|
62436 |
return setAttributes({ overlayOpacity: value });
|
62440 |
allowReset: true
|
62441 |
}),
|
62442 |
wp.element.createElement(ToggleControl, {
|
62443 |
+
label: __("Link Complete Box", 'ultimate-addons-for-gutenberg'),
|
62444 |
checked: linkBox,
|
62445 |
onChange: function onChange(value) {
|
62446 |
return setAttributes({ linkBox: !linkBox });
|
62450 |
),
|
62451 |
wp.element.createElement(
|
62452 |
PanelBody,
|
62453 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
62454 |
wp.element.createElement(ToggleControl, {
|
62455 |
+
label: __("Show Title", 'ultimate-addons-for-gutenberg'),
|
62456 |
checked: displayPostTitle,
|
62457 |
onChange: function onChange(value) {
|
62458 |
return setAttributes({ displayPostTitle: !displayPostTitle });
|
62459 |
}
|
62460 |
}),
|
62461 |
wp.element.createElement(ToggleControl, {
|
62462 |
+
label: __("Show Author", 'ultimate-addons-for-gutenberg'),
|
62463 |
checked: displayPostAuthor,
|
62464 |
onChange: function onChange(value) {
|
62465 |
return setAttributes({ displayPostAuthor: !displayPostAuthor });
|
62466 |
}
|
62467 |
}),
|
62468 |
wp.element.createElement(ToggleControl, {
|
62469 |
+
label: __("Show Date", 'ultimate-addons-for-gutenberg'),
|
62470 |
checked: displayPostDate,
|
62471 |
onChange: function onChange(value) {
|
62472 |
return setAttributes({ displayPostDate: !displayPostDate });
|
62473 |
}
|
62474 |
}),
|
62475 |
wp.element.createElement(ToggleControl, {
|
62476 |
+
label: __("Show Comment", 'ultimate-addons-for-gutenberg'),
|
62477 |
checked: displayPostComment,
|
62478 |
onChange: function onChange(value) {
|
62479 |
return setAttributes({ displayPostComment: !displayPostComment });
|
62480 |
}
|
62481 |
}),
|
62482 |
wp.element.createElement(ToggleControl, {
|
62483 |
+
label: __("Show Taxonomy", 'ultimate-addons-for-gutenberg'),
|
62484 |
checked: displayPostTaxonomy,
|
62485 |
onChange: function onChange(value) {
|
62486 |
return setAttributes({ displayPostTaxonomy: !displayPostTaxonomy });
|
62487 |
}
|
62488 |
}),
|
62489 |
wp.element.createElement(ToggleControl, {
|
62490 |
+
label: __("Show Excerpt", 'ultimate-addons-for-gutenberg'),
|
62491 |
checked: displayPostExcerpt,
|
62492 |
onChange: function onChange(value) {
|
62493 |
return setAttributes({ displayPostExcerpt: !displayPostExcerpt });
|
62494 |
}
|
62495 |
}),
|
62496 |
displayPostExcerpt && wp.element.createElement(RadioControl, {
|
62497 |
+
label: __('Show:', 'ultimate-addons-for-gutenberg'),
|
62498 |
selected: displayPostContentRadio,
|
62499 |
+
options: [{ label: __('Excerpt', 'ultimate-addons-for-gutenberg'), value: "excerpt" }, { label: __('Full post', 'ultimate-addons-for-gutenberg'), value: "full_post" }],
|
62500 |
onChange: function onChange(value) {
|
62501 |
return setAttributes({
|
62502 |
displayPostContentRadio: value
|
62504 |
}
|
62505 |
}),
|
62506 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(RangeControl, {
|
62507 |
+
label: __('Max number of words in excerpt', 'ultimate-addons-for-gutenberg'),
|
62508 |
value: excerptLength,
|
62509 |
onChange: function onChange(value) {
|
62510 |
return setAttributes({ excerptLength: value });
|
62516 |
),
|
62517 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(
|
62518 |
PanelBody,
|
62519 |
+
{ title: __("Read More Link", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
62520 |
wp.element.createElement(ToggleControl, {
|
62521 |
+
label: __("Show Read More Link", 'ultimate-addons-for-gutenberg'),
|
62522 |
checked: displayPostLink,
|
62523 |
onChange: function onChange(value) {
|
62524 |
return setAttributes({ displayPostLink: !displayPostLink });
|
62525 |
}
|
62526 |
}),
|
62527 |
wp.element.createElement(ToggleControl, {
|
62528 |
+
label: __("Open links in New Tab", 'ultimate-addons-for-gutenberg'),
|
62529 |
checked: newTab,
|
62530 |
onChange: function onChange(value) {
|
62531 |
return setAttributes({ newTab: !newTab });
|
62538 |
wp.element.createElement(
|
62539 |
"h2",
|
62540 |
null,
|
62541 |
+
__("Button Text", 'ultimate-addons-for-gutenberg')
|
62542 |
),
|
62543 |
wp.element.createElement(TextControl, {
|
62544 |
+
label: __("Text", 'ultimate-addons-for-gutenberg'),
|
62545 |
value: ctaText,
|
62546 |
onChange: function onChange(value) {
|
62547 |
return setAttributes({ ctaText: value });
|
62551 |
Fragment,
|
62552 |
null,
|
62553 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
62554 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
62555 |
attributes: attributes,
|
62556 |
setAttributes: setAttributes,
|
62557 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: "ctaLoadGoogleFonts" },
|
62571 |
wp.element.createElement(
|
62572 |
"h2",
|
62573 |
null,
|
62574 |
+
__("Button Border", 'ultimate-addons-for-gutenberg')
|
62575 |
),
|
62576 |
wp.element.createElement(SelectControl, {
|
62577 |
+
label: __("Style", 'ultimate-addons-for-gutenberg'),
|
62578 |
value: borderStyle,
|
62579 |
onChange: function onChange(value) {
|
62580 |
return setAttributes({ borderStyle: value });
|
62581 |
},
|
62582 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }]
|
62583 |
}),
|
62584 |
wp.element.createElement(RangeControl, {
|
62585 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
62586 |
value: borderWidth,
|
62587 |
onChange: function onChange(value) {
|
62588 |
return setAttributes({ borderWidth: value });
|
62592 |
allowReset: true
|
62593 |
}),
|
62594 |
wp.element.createElement(RangeControl, {
|
62595 |
+
label: __("Rounded Corner", 'ultimate-addons-for-gutenberg'),
|
62596 |
value: borderRadius,
|
62597 |
onChange: function onChange(value) {
|
62598 |
return setAttributes({ borderRadius: value });
|
62605 |
wp.element.createElement(
|
62606 |
"h2",
|
62607 |
null,
|
62608 |
+
__("Button Padding (px)", 'ultimate-addons-for-gutenberg')
|
62609 |
),
|
62610 |
wp.element.createElement(RangeControl, {
|
62611 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
62633 |
wp.element.createElement(
|
62634 |
"h2",
|
62635 |
null,
|
62636 |
+
__("Button Colors", 'ultimate-addons-for-gutenberg')
|
62637 |
),
|
62638 |
wp.element.createElement(
|
62639 |
TabPanel,
|
62641 |
activeClass: "active-tab",
|
62642 |
tabs: [{
|
62643 |
name: "normal",
|
62644 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
62645 |
className: "uagb-normal-tab"
|
62646 |
}, {
|
62647 |
name: "hover",
|
62648 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
62649 |
className: "uagb-hover-tab"
|
62650 |
}] },
|
62651 |
function (tabName) {
|
62667 |
),
|
62668 |
wp.element.createElement(
|
62669 |
PanelBody,
|
62670 |
+
{ title: __("Typography", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
62671 |
wp.element.createElement(
|
62672 |
"h2",
|
62673 |
null,
|
62674 |
+
__("Title", 'ultimate-addons-for-gutenberg')
|
62675 |
),
|
62676 |
wp.element.createElement(SelectControl, {
|
62677 |
+
label: __("Title Tag", 'ultimate-addons-for-gutenberg'),
|
62678 |
value: titleTag,
|
62679 |
onChange: function onChange(value) {
|
62680 |
return setAttributes({ titleTag: value });
|
62681 |
},
|
62682 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }, { value: "span", label: __("span", 'ultimate-addons-for-gutenberg') }, { value: "p", label: __("p", 'ultimate-addons-for-gutenberg') }]
|
62683 |
}),
|
62684 |
!inheritFromTheme && wp.element.createElement(
|
62685 |
Fragment,
|
62686 |
null,
|
62687 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
62688 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
62689 |
attributes: attributes,
|
62690 |
setAttributes: setAttributes,
|
62691 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: "titleLoadGoogleFonts" },
|
62708 |
wp.element.createElement(
|
62709 |
"h2",
|
62710 |
null,
|
62711 |
+
__("Meta", 'ultimate-addons-for-gutenberg')
|
62712 |
),
|
62713 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
62714 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
62715 |
attributes: attributes,
|
62716 |
setAttributes: setAttributes,
|
62717 |
loadGoogleFonts: { value: metaLoadGoogleFonts, label: "metaLoadGoogleFonts" },
|
62735 |
wp.element.createElement(
|
62736 |
"h2",
|
62737 |
null,
|
62738 |
+
__("Excerpt", 'ultimate-addons-for-gutenberg')
|
62739 |
),
|
62740 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
62741 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
62742 |
attributes: attributes,
|
62743 |
setAttributes: setAttributes,
|
62744 |
loadGoogleFonts: { value: excerptLoadGoogleFonts, label: "excerptLoadGoogleFonts" },
|
62759 |
),
|
62760 |
wp.element.createElement(
|
62761 |
PanelBody,
|
62762 |
+
{ title: __("Colors", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
62763 |
wp.element.createElement(
|
62764 |
"p",
|
62765 |
{ className: "uagb-setting-label" },
|
62766 |
+
__("Blog Background Color", 'ultimate-addons-for-gutenberg'),
|
62767 |
wp.element.createElement(
|
62768 |
"span",
|
62769 |
{ className: "components-base-control__label" },
|
62783 |
wp.element.createElement(
|
62784 |
"p",
|
62785 |
{ className: "uagb-setting-label" },
|
62786 |
+
__("Title Color", 'ultimate-addons-for-gutenberg'),
|
62787 |
wp.element.createElement(
|
62788 |
"span",
|
62789 |
{ className: "components-base-control__label" },
|
62800 |
wp.element.createElement(
|
62801 |
"p",
|
62802 |
{ className: "uagb-setting-label" },
|
62803 |
+
__("Meta Color", 'ultimate-addons-for-gutenberg'),
|
62804 |
wp.element.createElement(
|
62805 |
"span",
|
62806 |
{ className: "components-base-control__label" },
|
62819 |
wp.element.createElement(
|
62820 |
"p",
|
62821 |
{ className: "uagb-setting-label" },
|
62822 |
+
__("Excerpt Color", 'ultimate-addons-for-gutenberg'),
|
62823 |
wp.element.createElement(
|
62824 |
"span",
|
62825 |
{ className: "components-base-control__label" },
|
62838 |
),
|
62839 |
wp.element.createElement(
|
62840 |
PanelBody,
|
62841 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
62842 |
wp.element.createElement(RangeControl, {
|
62843 |
+
label: __("Vertical Spacing", 'ultimate-addons-for-gutenberg'),
|
62844 |
value: rowGap,
|
62845 |
onChange: function onChange(value) {
|
62846 |
return setAttributes({ rowGap: value });
|
62850 |
allowReset: true
|
62851 |
}),
|
62852 |
wp.element.createElement(RangeControl, {
|
62853 |
+
label: __("Horizontal Spacing", 'ultimate-addons-for-gutenberg'),
|
62854 |
value: columnGap,
|
62855 |
onChange: function onChange(value) {
|
62856 |
return setAttributes({ columnGap: value });
|
62861 |
}),
|
62862 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62863 |
wp.element.createElement(RangeControl, {
|
62864 |
+
label: __("Content Padding", 'ultimate-addons-for-gutenberg'),
|
62865 |
value: contentPadding,
|
62866 |
onChange: function onChange(value) {
|
62867 |
return setAttributes({ contentPadding: value });
|
62871 |
allowReset: true
|
62872 |
}),
|
62873 |
wp.element.createElement(RangeControl, {
|
62874 |
+
label: __("Content Padding (Mobile)", 'ultimate-addons-for-gutenberg'),
|
62875 |
value: contentPaddingMobile,
|
62876 |
onChange: function onChange(value) {
|
62877 |
return setAttributes({ contentPaddingMobile: value });
|
62882 |
}),
|
62883 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
62884 |
wp.element.createElement(RangeControl, {
|
62885 |
+
label: __("Image Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
62886 |
value: imageBottomSpace,
|
62887 |
onChange: function onChange(value) {
|
62888 |
return setAttributes({ imageBottomSpace: value });
|
62892 |
allowReset: true
|
62893 |
}),
|
62894 |
wp.element.createElement(RangeControl, {
|
62895 |
+
label: __("Title Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
62896 |
value: titleBottomSpace,
|
62897 |
onChange: function onChange(value) {
|
62898 |
return setAttributes({ titleBottomSpace: value });
|
62902 |
allowReset: true
|
62903 |
}),
|
62904 |
wp.element.createElement(RangeControl, {
|
62905 |
+
label: __("Meta Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
62906 |
value: metaBottomSpace,
|
62907 |
onChange: function onChange(value) {
|
62908 |
return setAttributes({ metaBottomSpace: value });
|
62912 |
allowReset: true
|
62913 |
}),
|
62914 |
wp.element.createElement(RangeControl, {
|
62915 |
+
label: __("Excerpt Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
62916 |
value: excerptBottomSpace,
|
62917 |
onChange: function onChange(value) {
|
62918 |
return setAttributes({ excerptBottomSpace: value });
|
63182 |
var baseToString = __webpack_require__(/*! ./_baseToString */ 161),
|
63183 |
castSlice = __webpack_require__(/*! ./_castSlice */ 380),
|
63184 |
hasUnicode = __webpack_require__(/*! ./_hasUnicode */ 91),
|
63185 |
+
isObject = __webpack_require__(/*! ./isObject */ 13),
|
63186 |
isRegExp = __webpack_require__(/*! ./isRegExp */ 381),
|
63187 |
stringSize = __webpack_require__(/*! ./_stringSize */ 383),
|
63188 |
stringToArray = __webpack_require__(/*! ./_stringToArray */ 386),
|
63666 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
63667 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! .././editor.scss */ 95);
|
63668 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
63669 |
+
/**
|
63670 |
+
* BLOCK: UAGB - post-masonry
|
63671 |
*/
|
63672 |
|
63673 |
// Import block dependencies and components
|
63692 |
description: uagb_blocks_info.blocks["uagb/post-masonry"]["description"],
|
63693 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].post_masonry,
|
63694 |
category: uagb_blocks_info.category,
|
63695 |
+
keywords: [__("post", 'ultimate-addons-for-gutenberg'), __("masonry", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
63696 |
edit: __WEBPACK_IMPORTED_MODULE_0__edit__["a" /* default */],
|
63697 |
example: {},
|
63698 |
// Render via PHP
|
63729 |
|
63730 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
63731 |
|
63732 |
+
/**
|
63733 |
+
* External dependencies
|
63734 |
*/
|
63735 |
|
63736 |
// Import all of our Text Options requirements.
|
64127 |
wp.element.createElement(
|
64128 |
"p",
|
64129 |
{ className: "uagb-setting-label" },
|
64130 |
+
__("Hover Color", 'ultimate-addons-for-gutenberg'),
|
64131 |
wp.element.createElement(
|
64132 |
"span",
|
64133 |
{ className: "components-base-control__label" },
|
64144 |
wp.element.createElement(
|
64145 |
"p",
|
64146 |
{ className: "uagb-setting-label" },
|
64147 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
64148 |
wp.element.createElement(
|
64149 |
"span",
|
64150 |
{ className: "components-base-control__label" },
|
64161 |
wp.element.createElement(
|
64162 |
"p",
|
64163 |
{ className: "uagb-setting-label" },
|
64164 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
64165 |
wp.element.createElement(
|
64166 |
"span",
|
64167 |
{ className: "components-base-control__label" },
|
64183 |
wp.element.createElement(
|
64184 |
"p",
|
64185 |
{ className: "uagb-setting-label" },
|
64186 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
64187 |
wp.element.createElement(
|
64188 |
"span",
|
64189 |
{ className: "components-base-control__label" },
|
64200 |
wp.element.createElement(
|
64201 |
"p",
|
64202 |
{ className: "uagb-setting-label" },
|
64203 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
64204 |
wp.element.createElement(
|
64205 |
"span",
|
64206 |
{ className: "components-base-control__label" },
|
64217 |
wp.element.createElement(
|
64218 |
"p",
|
64219 |
{ className: "uagb-setting-label" },
|
64220 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
64221 |
wp.element.createElement(
|
64222 |
"span",
|
64223 |
{ className: "components-base-control__label" },
|
64284 |
|
64285 |
var taxonomyListOptions = [];
|
64286 |
|
64287 |
+
var categoryListOptions = [{ value: "", label: __("All", 'ultimate-addons-for-gutenberg') }];
|
64288 |
|
64289 |
if ("" != taxonomyList) {
|
64290 |
Object.keys(taxonomyList).map(function (item, thisIndex) {
|
64303 |
return wp.element.createElement(
|
64304 |
PanelBody,
|
64305 |
{
|
64306 |
+
title: __("Pagination", 'ultimate-addons-for-gutenberg'),
|
64307 |
initialOpen: false,
|
64308 |
className: "uagb__url-panel-body"
|
64309 |
},
|
64314 |
"h2",
|
64315 |
null,
|
64316 |
" ",
|
64317 |
+
__("Alignment", 'ultimate-addons-for-gutenberg')
|
64318 |
),
|
64319 |
wp.element.createElement(IconButton, {
|
64320 |
key: "left",
|
64350 |
"h2",
|
64351 |
null,
|
64352 |
" ",
|
64353 |
+
__("Font Size (px) ", 'ultimate-addons-for-gutenberg'),
|
64354 |
" "
|
64355 |
),
|
64356 |
wp.element.createElement(RangeControl, {
|
64387 |
null,
|
64388 |
wp.element.createElement(
|
64389 |
ButtonGroup,
|
64390 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
64391 |
wp.element.createElement(
|
64392 |
Button,
|
64393 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paginationButtonPaddingType === "px", "aria-pressed": paginationButtonPaddingType === "px", onClick: function onClick() {
|
64406 |
wp.element.createElement(
|
64407 |
"h2",
|
64408 |
null,
|
64409 |
+
__("Padding", 'ultimate-addons-for-gutenberg')
|
64410 |
),
|
64411 |
wp.element.createElement(RangeControl, {
|
64412 |
label: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
64437 |
null,
|
64438 |
wp.element.createElement(
|
64439 |
ButtonGroup,
|
64440 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
64441 |
wp.element.createElement(
|
64442 |
Button,
|
64443 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paginationButtonPaddingType === "px", "aria-pressed": paginationButtonPaddingType === "px", onClick: function onClick() {
|
64456 |
wp.element.createElement(
|
64457 |
"h2",
|
64458 |
null,
|
64459 |
+
__("Padding", 'ultimate-addons-for-gutenberg')
|
64460 |
),
|
64461 |
wp.element.createElement(RangeControl, {
|
64462 |
label: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
64487 |
null,
|
64488 |
wp.element.createElement(
|
64489 |
ButtonGroup,
|
64490 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
64491 |
wp.element.createElement(
|
64492 |
Button,
|
64493 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paginationButtonPaddingType === "px", "aria-pressed": paginationButtonPaddingType === "px", onClick: function onClick() {
|
64506 |
wp.element.createElement(
|
64507 |
"h2",
|
64508 |
null,
|
64509 |
+
__("Padding", 'ultimate-addons-for-gutenberg')
|
64510 |
),
|
64511 |
wp.element.createElement(RangeControl, {
|
64512 |
label: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
64546 |
activeClass: "active-tab",
|
64547 |
tabs: [{
|
64548 |
name: "normal",
|
64549 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
64550 |
className: "uagb-normal-tab"
|
64551 |
}, {
|
64552 |
name: "hover",
|
64553 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
64554 |
className: "uagb-hover-tab"
|
64555 |
}] },
|
64556 |
function (tabName) {
|
64563 |
wp.element.createElement(
|
64564 |
"p",
|
64565 |
{ className: "uagb-setting-label" },
|
64566 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
64567 |
wp.element.createElement(
|
64568 |
"span",
|
64569 |
{ className: "components-base-control__label" },
|
64580 |
wp.element.createElement(
|
64581 |
"p",
|
64582 |
{ className: "uagb-setting-label" },
|
64583 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
64584 |
wp.element.createElement(
|
64585 |
"span",
|
64586 |
{ className: "components-base-control__label" },
|
64602 |
wp.element.createElement(
|
64603 |
"p",
|
64604 |
{ className: "uagb-setting-label" },
|
64605 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
64606 |
wp.element.createElement(
|
64607 |
"span",
|
64608 |
{ className: "components-base-control__label" },
|
64619 |
wp.element.createElement(
|
64620 |
"p",
|
64621 |
{ className: "uagb-setting-label" },
|
64622 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
64623 |
wp.element.createElement(
|
64624 |
"span",
|
64625 |
{ className: "components-base-control__label" },
|
64642 |
"h2",
|
64643 |
null,
|
64644 |
" ",
|
64645 |
+
__("Border", 'ultimate-addons-for-gutenberg'),
|
64646 |
" "
|
64647 |
),
|
64648 |
wp.element.createElement(SelectControl, {
|
64649 |
+
label: __("Style", 'ultimate-addons-for-gutenberg'),
|
64650 |
value: paginationMasonryBorderStyle,
|
64651 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }],
|
64652 |
onChange: function onChange(value) {
|
64653 |
setAttributes({ paginationMasonryBorderStyle: value });
|
64654 |
}
|
64657 |
Fragment,
|
64658 |
null,
|
64659 |
wp.element.createElement(RangeControl, {
|
64660 |
+
label: __("Thickness (px)", 'ultimate-addons-for-gutenberg'),
|
64661 |
value: paginationMasonryBorderWidth,
|
64662 |
onChange: function onChange(value) {
|
64663 |
setAttributes({ paginationMasonryBorderWidth: value });
|
64666 |
max: 20
|
64667 |
}),
|
64668 |
wp.element.createElement(RangeControl, {
|
64669 |
+
label: __("Rounded Corners (px)", 'ultimate-addons-for-gutenberg'),
|
64670 |
value: paginationMasonryBorderRadius,
|
64671 |
onChange: function onChange(value) {
|
64672 |
setAttributes({ paginationMasonryBorderRadius: value });
|
64677 |
wp.element.createElement(
|
64678 |
"p",
|
64679 |
{ className: "uagb-setting-label" },
|
64680 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
64681 |
wp.element.createElement(
|
64682 |
"span",
|
64683 |
{ className: "components-base-control__label" },
|
64699 |
wp.element.createElement(
|
64700 |
"p",
|
64701 |
{ className: "uagb-setting-label" },
|
64702 |
+
__(" Loader Color", 'ultimate-addons-for-gutenberg'),
|
64703 |
wp.element.createElement(
|
64704 |
"span",
|
64705 |
{ className: "components-base-control__label" },
|
64714 |
allowReset: true
|
64715 |
}),
|
64716 |
wp.element.createElement(RangeControl, {
|
64717 |
+
label: __("Loader Size", 'ultimate-addons-for-gutenberg'),
|
64718 |
value: loaderSize,
|
64719 |
onChange: function onChange(value) {
|
64720 |
return setAttributes({ loaderSize: value });
|
64733 |
null,
|
64734 |
wp.element.createElement(
|
64735 |
PanelBody,
|
64736 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg') },
|
64737 |
wp.element.createElement(SelectControl, {
|
64738 |
+
label: __("Post Type", 'ultimate-addons-for-gutenberg'),
|
64739 |
value: postType,
|
64740 |
onChange: function onChange(value) {
|
64741 |
return _this4.onSelectPostType(value);
|
64744 |
}),
|
64745 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
64746 |
"" != taxonomyList && wp.element.createElement(SelectControl, {
|
64747 |
+
label: __("Taxonomy", 'ultimate-addons-for-gutenberg'),
|
64748 |
value: taxonomyType,
|
64749 |
onChange: function onChange(value) {
|
64750 |
return _this4.onSelectTaxonomyType(value);
|
64765 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
64766 |
),
|
64767 |
wp.element.createElement(ToggleControl, {
|
64768 |
+
label: __("Exclude Current Post", 'ultimate-addons-for-gutenberg'),
|
64769 |
checked: excludeCurrentPost,
|
64770 |
onChange: function onChange(value) {
|
64771 |
return setAttributes({ excludeCurrentPost: !excludeCurrentPost });
|
64778 |
}
|
64779 |
})),
|
64780 |
wp.element.createElement(SelectControl, {
|
64781 |
+
label: __("Order By", 'ultimate-addons-for-gutenberg'),
|
64782 |
value: orderBy,
|
64783 |
onChange: function onChange(value) {
|
64784 |
return setAttributes({ orderBy: value });
|
64785 |
},
|
64786 |
+
options: [{ value: "date", label: __("Date", 'ultimate-addons-for-gutenberg') }, { value: "title", label: __("Title", 'ultimate-addons-for-gutenberg') }, { value: "rand", label: __("Random", 'ultimate-addons-for-gutenberg') }, { value: "menu_order", label: __("Menu Order", 'ultimate-addons-for-gutenberg') }]
|
64787 |
}),
|
64788 |
wp.element.createElement(SelectControl, {
|
64789 |
+
label: __("Order", 'ultimate-addons-for-gutenberg'),
|
64790 |
value: order,
|
64791 |
onChange: function onChange(value) {
|
64792 |
return setAttributes({ order: value });
|
64793 |
},
|
64794 |
+
options: [{ value: "desc", label: __("Descending", 'ultimate-addons-for-gutenberg') }, { value: "asc", label: __("Ascending", 'ultimate-addons-for-gutenberg') }]
|
64795 |
}),
|
64796 |
wp.element.createElement(
|
64797 |
TabPanel,
|
64814 |
|
64815 |
if ("mobile" === tab.name) {
|
64816 |
tabout = wp.element.createElement(RangeControl, {
|
64817 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
64818 |
value: mcolumns,
|
64819 |
onChange: function onChange(value) {
|
64820 |
return setAttributes({ mcolumns: value });
|
64824 |
});
|
64825 |
} else if ("tablet" === tab.name) {
|
64826 |
tabout = wp.element.createElement(RangeControl, {
|
64827 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
64828 |
value: tcolumns,
|
64829 |
onChange: function onChange(value) {
|
64830 |
return setAttributes({ tcolumns: value });
|
64834 |
});
|
64835 |
} else {
|
64836 |
tabout = wp.element.createElement(RangeControl, {
|
64837 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
64838 |
value: columns,
|
64839 |
onChange: function onChange(value) {
|
64840 |
return setAttributes({ columns: value });
|
64852 |
}
|
64853 |
),
|
64854 |
wp.element.createElement(SelectControl, {
|
64855 |
+
label: __("Pagination", 'ultimate-addons-for-gutenberg'),
|
64856 |
value: paginationType,
|
64857 |
onChange: function onChange(value) {
|
64858 |
return setAttributes({ paginationType: value });
|
64859 |
},
|
64860 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "infinite", label: __("Infinite", 'ultimate-addons-for-gutenberg') }]
|
64861 |
}),
|
64862 |
'infinite' === paginationType && wp.element.createElement(SelectControl, {
|
64863 |
+
label: __("Infinite Load Event", 'ultimate-addons-for-gutenberg'),
|
64864 |
value: paginationEventType,
|
64865 |
onChange: function onChange(value) {
|
64866 |
return setAttributes({ paginationEventType: value });
|
64867 |
},
|
64868 |
+
options: [{ value: "button", label: __("Button", 'ultimate-addons-for-gutenberg') }, { value: "scroll", label: __("Scroll", 'ultimate-addons-for-gutenberg') }]
|
64869 |
}),
|
64870 |
'infinite' === paginationType && 'button' === paginationEventType && wp.element.createElement(TextControl, {
|
64871 |
autoComplete: "off",
|
64872 |
+
label: __('Button Text', 'ultimate-addons-for-gutenberg'),
|
64873 |
value: buttonText,
|
64874 |
onChange: function onChange(value) {
|
64875 |
return setAttributes({ buttonText: value });
|
64879 |
wp.element.createElement(
|
64880 |
"h2",
|
64881 |
null,
|
64882 |
+
__("If Posts Not Found", 'ultimate-addons-for-gutenberg')
|
64883 |
),
|
64884 |
wp.element.createElement(TextControl, {
|
64885 |
autoComplete: "off",
|
64886 |
+
label: __('Display Message', 'ultimate-addons-for-gutenberg'),
|
64887 |
value: postDisplaytext,
|
64888 |
onChange: function onChange(value) {
|
64889 |
return setAttributes({ postDisplaytext: value });
|
64891 |
}),
|
64892 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
64893 |
wp.element.createElement(ToggleControl, {
|
64894 |
+
label: __("Inherit Styling from Theme", 'ultimate-addons-for-gutenberg'),
|
64895 |
checked: inheritFromTheme,
|
64896 |
onChange: function onChange(value) {
|
64897 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
64898 |
},
|
64899 |
+
help: __("This will inherit all the Typography and colors for Title, Meta, Excerpt and Read More button from the theme.", 'ultimate-addons-for-gutenberg')
|
64900 |
})
|
64901 |
),
|
64902 |
paginationSettings(),
|
64903 |
wp.element.createElement(
|
64904 |
PanelBody,
|
64905 |
+
{ title: __("Image", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
64906 |
wp.element.createElement(ToggleControl, {
|
64907 |
+
label: __("Show Featured Image", 'ultimate-addons-for-gutenberg'),
|
64908 |
checked: displayPostImage,
|
64909 |
onChange: function onChange(value) {
|
64910 |
return setAttributes({ displayPostImage: !displayPostImage });
|
64911 |
}
|
64912 |
}),
|
64913 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
64914 |
+
label: __("Image Sizes", 'ultimate-addons-for-gutenberg'),
|
64915 |
value: imgSize,
|
64916 |
onChange: function onChange(value) {
|
64917 |
return setAttributes({ imgSize: value });
|
64919 |
options: uagb_blocks_info.image_sizes
|
64920 |
}),
|
64921 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
64922 |
+
label: __("Image Position", 'ultimate-addons-for-gutenberg'),
|
64923 |
value: imgPosition,
|
64924 |
onChange: function onChange(value) {
|
64925 |
return setAttributes({ imgPosition: value });
|
64926 |
},
|
64927 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "background", label: __("Background", 'ultimate-addons-for-gutenberg') }]
|
64928 |
}),
|
64929 |
displayPostImage == true && imgPosition == "background" && wp.element.createElement(
|
64930 |
Fragment,
|
64932 |
wp.element.createElement(
|
64933 |
"p",
|
64934 |
{ className: "uagb-setting-label" },
|
64935 |
+
__("Background Overlay Color", 'ultimate-addons-for-gutenberg'),
|
64936 |
wp.element.createElement(
|
64937 |
"span",
|
64938 |
{ className: "components-base-control__label" },
|
64947 |
allowReset: true
|
64948 |
}),
|
64949 |
wp.element.createElement(RangeControl, {
|
64950 |
+
label: __("Overlay Opacity", 'ultimate-addons-for-gutenberg'),
|
64951 |
value: overlayOpacity,
|
64952 |
onChange: function onChange(value) {
|
64953 |
return setAttributes({ overlayOpacity: value });
|
64957 |
allowReset: true
|
64958 |
}),
|
64959 |
wp.element.createElement(ToggleControl, {
|
64960 |
+
label: __("Link Complete Box", 'ultimate-addons-for-gutenberg'),
|
64961 |
checked: linkBox,
|
64962 |
onChange: function onChange(value) {
|
64963 |
return setAttributes({ linkBox: !linkBox });
|
64967 |
),
|
64968 |
wp.element.createElement(
|
64969 |
PanelBody,
|
64970 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
64971 |
wp.element.createElement(ToggleControl, {
|
64972 |
+
label: __("Show Title", 'ultimate-addons-for-gutenberg'),
|
64973 |
checked: displayPostTitle,
|
64974 |
onChange: function onChange(value) {
|
64975 |
return setAttributes({ displayPostTitle: !displayPostTitle });
|
64976 |
}
|
64977 |
}),
|
64978 |
wp.element.createElement(ToggleControl, {
|
64979 |
+
label: __("Show Author", 'ultimate-addons-for-gutenberg'),
|
64980 |
checked: displayPostAuthor,
|
64981 |
onChange: function onChange(value) {
|
64982 |
return setAttributes({ displayPostAuthor: !displayPostAuthor });
|
64983 |
}
|
64984 |
}),
|
64985 |
wp.element.createElement(ToggleControl, {
|
64986 |
+
label: __("Show Date", 'ultimate-addons-for-gutenberg'),
|
64987 |
checked: displayPostDate,
|
64988 |
onChange: function onChange(value) {
|
64989 |
return setAttributes({ displayPostDate: !displayPostDate });
|
64990 |
}
|
64991 |
}),
|
64992 |
wp.element.createElement(ToggleControl, {
|
64993 |
+
label: __("Show Comment", 'ultimate-addons-for-gutenberg'),
|
64994 |
checked: displayPostComment,
|
64995 |
onChange: function onChange(value) {
|
64996 |
return setAttributes({ displayPostComment: !displayPostComment });
|
64997 |
}
|
64998 |
}),
|
64999 |
wp.element.createElement(ToggleControl, {
|
65000 |
+
label: __("Show Taxonomy", 'ultimate-addons-for-gutenberg'),
|
65001 |
checked: displayPostTaxonomy,
|
65002 |
onChange: function onChange(value) {
|
65003 |
return setAttributes({ displayPostTaxonomy: !displayPostTaxonomy });
|
65004 |
}
|
65005 |
}),
|
65006 |
wp.element.createElement(ToggleControl, {
|
65007 |
+
label: __("Show Excerpt", 'ultimate-addons-for-gutenberg'),
|
65008 |
checked: displayPostExcerpt,
|
65009 |
onChange: function onChange(value) {
|
65010 |
return setAttributes({ displayPostExcerpt: !displayPostExcerpt });
|
65011 |
}
|
65012 |
}),
|
65013 |
displayPostExcerpt && wp.element.createElement(RadioControl, {
|
65014 |
+
label: __('Show:', 'ultimate-addons-for-gutenberg'),
|
65015 |
selected: displayPostContentRadio,
|
65016 |
+
options: [{ label: __('Excerpt', 'ultimate-addons-for-gutenberg'), value: "excerpt" }, { label: __('Full post', 'ultimate-addons-for-gutenberg'), value: "full_post" }],
|
65017 |
onChange: function onChange(value) {
|
65018 |
return setAttributes({
|
65019 |
displayPostContentRadio: value
|
65021 |
}
|
65022 |
}),
|
65023 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(RangeControl, {
|
65024 |
+
label: __('Max number of words in excerpt', 'ultimate-addons-for-gutenberg'),
|
65025 |
value: excerptLength,
|
65026 |
onChange: function onChange(value) {
|
65027 |
return setAttributes({ excerptLength: value });
|
65033 |
),
|
65034 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(
|
65035 |
PanelBody,
|
65036 |
+
{ title: __("Read More Link", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
65037 |
wp.element.createElement(ToggleControl, {
|
65038 |
+
label: __("Show Read More Link", 'ultimate-addons-for-gutenberg'),
|
65039 |
checked: displayPostLink,
|
65040 |
onChange: function onChange(value) {
|
65041 |
return setAttributes({ displayPostLink: !displayPostLink });
|
65042 |
}
|
65043 |
}),
|
65044 |
wp.element.createElement(ToggleControl, {
|
65045 |
+
label: __("Open links in New Tab", 'ultimate-addons-for-gutenberg'),
|
65046 |
checked: newTab,
|
65047 |
onChange: function onChange(value) {
|
65048 |
return setAttributes({ newTab: !newTab });
|
65055 |
wp.element.createElement(
|
65056 |
"h2",
|
65057 |
null,
|
65058 |
+
__("Button Text", 'ultimate-addons-for-gutenberg')
|
65059 |
),
|
65060 |
wp.element.createElement(TextControl, {
|
65061 |
+
label: __("Text", 'ultimate-addons-for-gutenberg'),
|
65062 |
value: ctaText,
|
65063 |
onChange: function onChange(value) {
|
65064 |
return setAttributes({ ctaText: value });
|
65068 |
Fragment,
|
65069 |
null,
|
65070 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_typography__["a" /* default */], {
|
65071 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
65072 |
attributes: attributes,
|
65073 |
setAttributes: setAttributes,
|
65074 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: "ctaLoadGoogleFonts" },
|
65088 |
wp.element.createElement(
|
65089 |
"h2",
|
65090 |
null,
|
65091 |
+
__("Button Border", 'ultimate-addons-for-gutenberg')
|
65092 |
),
|
65093 |
wp.element.createElement(SelectControl, {
|
65094 |
+
label: __("Style", 'ultimate-addons-for-gutenberg'),
|
65095 |
value: borderStyle,
|
65096 |
onChange: function onChange(value) {
|
65097 |
return setAttributes({ borderStyle: value });
|
65098 |
},
|
65099 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }]
|
65100 |
}),
|
65101 |
wp.element.createElement(RangeControl, {
|
65102 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
65103 |
value: borderWidth,
|
65104 |
onChange: function onChange(value) {
|
65105 |
return setAttributes({ borderWidth: value });
|
65109 |
allowReset: true
|
65110 |
}),
|
65111 |
wp.element.createElement(RangeControl, {
|
65112 |
+
label: __("Rounded Corner", 'ultimate-addons-for-gutenberg'),
|
65113 |
value: borderRadius,
|
65114 |
onChange: function onChange(value) {
|
65115 |
return setAttributes({ borderRadius: value });
|
65122 |
wp.element.createElement(
|
65123 |
"h2",
|
65124 |
null,
|
65125 |
+
__("Button Padding (px)", 'ultimate-addons-for-gutenberg')
|
65126 |
),
|
65127 |
wp.element.createElement(RangeControl, {
|
65128 |
label: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
65150 |
wp.element.createElement(
|
65151 |
"h2",
|
65152 |
null,
|
65153 |
+
__("Button Colors", 'ultimate-addons-for-gutenberg')
|
65154 |
),
|
65155 |
wp.element.createElement(
|
65156 |
TabPanel,
|
65158 |
activeClass: "active-tab",
|
65159 |
tabs: [{
|
65160 |
name: "normal",
|
65161 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
65162 |
className: "uagb-normal-tab"
|
65163 |
}, {
|
65164 |
name: "hover",
|
65165 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
65166 |
className: "uagb-hover-tab"
|
65167 |
}] },
|
65168 |
function (tabName) {
|
65184 |
),
|
65185 |
wp.element.createElement(
|
65186 |
PanelBody,
|
65187 |
+
{ title: __("Typography", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
65188 |
wp.element.createElement(SelectControl, {
|
65189 |
+
label: __("Title Tag", 'ultimate-addons-for-gutenberg'),
|
65190 |
value: titleTag,
|
65191 |
onChange: function onChange(value) {
|
65192 |
return setAttributes({ titleTag: value });
|
65193 |
},
|
65194 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }, { value: "span", label: __("span", 'ultimate-addons-for-gutenberg') }, { value: "p", label: __("p", 'ultimate-addons-for-gutenberg') }]
|
65195 |
}),
|
65196 |
!inheritFromTheme && wp.element.createElement(
|
65197 |
Fragment,
|
65198 |
null,
|
65199 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_typography__["a" /* default */], {
|
65200 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
65201 |
attributes: attributes,
|
65202 |
setAttributes: setAttributes,
|
65203 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: "titleLoadGoogleFonts" },
|
65220 |
wp.element.createElement(
|
65221 |
"h2",
|
65222 |
null,
|
65223 |
+
__("Meta", 'ultimate-addons-for-gutenberg')
|
65224 |
),
|
65225 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_typography__["a" /* default */], {
|
65226 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
65227 |
attributes: attributes,
|
65228 |
setAttributes: setAttributes,
|
65229 |
loadGoogleFonts: { value: metaLoadGoogleFonts, label: "metaLoadGoogleFonts" },
|
65247 |
wp.element.createElement(
|
65248 |
"h2",
|
65249 |
null,
|
65250 |
+
__("Excerpt", 'ultimate-addons-for-gutenberg')
|
65251 |
),
|
65252 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_typography__["a" /* default */], {
|
65253 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
65254 |
attributes: attributes,
|
65255 |
setAttributes: setAttributes,
|
65256 |
loadGoogleFonts: { value: excerptLoadGoogleFonts, label: "excerptLoadGoogleFonts" },
|
65271 |
),
|
65272 |
wp.element.createElement(
|
65273 |
PanelBody,
|
65274 |
+
{ title: __("Colors", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
65275 |
wp.element.createElement(
|
65276 |
"p",
|
65277 |
{ className: "uagb-setting-label" },
|
65278 |
+
__("Blog Background Color", 'ultimate-addons-for-gutenberg'),
|
65279 |
wp.element.createElement(
|
65280 |
"span",
|
65281 |
{ className: "components-base-control__label" },
|
65295 |
wp.element.createElement(
|
65296 |
"p",
|
65297 |
{ className: "uagb-setting-label" },
|
65298 |
+
__("Title Color", 'ultimate-addons-for-gutenberg'),
|
65299 |
wp.element.createElement(
|
65300 |
"span",
|
65301 |
{ className: "components-base-control__label" },
|
65312 |
wp.element.createElement(
|
65313 |
"p",
|
65314 |
{ className: "uagb-setting-label" },
|
65315 |
+
__("Meta Color", 'ultimate-addons-for-gutenberg'),
|
65316 |
wp.element.createElement(
|
65317 |
"span",
|
65318 |
{ className: "components-base-control__label" },
|
65331 |
wp.element.createElement(
|
65332 |
"p",
|
65333 |
{ className: "uagb-setting-label" },
|
65334 |
+
__("Excerpt Color", 'ultimate-addons-for-gutenberg'),
|
65335 |
wp.element.createElement(
|
65336 |
"span",
|
65337 |
{ className: "components-base-control__label" },
|
65350 |
),
|
65351 |
wp.element.createElement(
|
65352 |
PanelBody,
|
65353 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
65354 |
wp.element.createElement(RangeControl, {
|
65355 |
+
label: __("Row Gap", 'ultimate-addons-for-gutenberg'),
|
65356 |
value: rowGap,
|
65357 |
onChange: function onChange(value) {
|
65358 |
return setAttributes({ rowGap: value });
|
65362 |
allowReset: true
|
65363 |
}),
|
65364 |
wp.element.createElement(RangeControl, {
|
65365 |
+
label: __("Column Gap", 'ultimate-addons-for-gutenberg'),
|
65366 |
value: columnGap,
|
65367 |
onChange: function onChange(value) {
|
65368 |
return setAttributes({ columnGap: value });
|
65373 |
}),
|
65374 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
65375 |
wp.element.createElement(RangeControl, {
|
65376 |
+
label: __("Content Padding", 'ultimate-addons-for-gutenberg'),
|
65377 |
value: contentPadding,
|
65378 |
onChange: function onChange(value) {
|
65379 |
return setAttributes({ contentPadding: value });
|
65383 |
allowReset: true
|
65384 |
}),
|
65385 |
wp.element.createElement(RangeControl, {
|
65386 |
+
label: __("Content Padding (Mobile)", 'ultimate-addons-for-gutenberg'),
|
65387 |
value: contentPaddingMobile,
|
65388 |
onChange: function onChange(value) {
|
65389 |
return setAttributes({ contentPaddingMobile: value });
|
65394 |
}),
|
65395 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
65396 |
wp.element.createElement(RangeControl, {
|
65397 |
+
label: __("Image Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
65398 |
value: imageBottomSpace,
|
65399 |
onChange: function onChange(value) {
|
65400 |
return setAttributes({ imageBottomSpace: value });
|
65404 |
allowReset: true
|
65405 |
}),
|
65406 |
wp.element.createElement(RangeControl, {
|
65407 |
+
label: __("Title Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
65408 |
value: titleBottomSpace,
|
65409 |
onChange: function onChange(value) {
|
65410 |
return setAttributes({ titleBottomSpace: value });
|
65414 |
allowReset: true
|
65415 |
}),
|
65416 |
wp.element.createElement(RangeControl, {
|
65417 |
+
label: __("Meta Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
65418 |
value: metaBottomSpace,
|
65419 |
onChange: function onChange(value) {
|
65420 |
return setAttributes({ metaBottomSpace: value });
|
65424 |
allowReset: true
|
65425 |
}),
|
65426 |
wp.element.createElement(RangeControl, {
|
65427 |
+
label: __("Excerpt Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
65428 |
value: excerptBottomSpace,
|
65429 |
onChange: function onChange(value) {
|
65430 |
return setAttributes({ excerptBottomSpace: value });
|
68806 |
var eq = __webpack_require__(/*! ./eq */ 47),
|
68807 |
isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29),
|
68808 |
isIndex = __webpack_require__(/*! ./_isIndex */ 50),
|
68809 |
+
isObject = __webpack_require__(/*! ./isObject */ 13);
|
68810 |
|
68811 |
/**
|
68812 |
* Checks if the given arguments are from an iteratee call.
|
70606 |
/*! all exports used */
|
70607 |
/***/ (function(module, exports, __webpack_require__) {
|
70608 |
|
70609 |
+
var isObject = __webpack_require__(/*! ./isObject */ 13),
|
70610 |
now = __webpack_require__(/*! ./now */ 420),
|
70611 |
toNumber = __webpack_require__(/*! ./toNumber */ 184);
|
70612 |
|
70808 |
/*! all exports used */
|
70809 |
/***/ (function(module, exports, __webpack_require__) {
|
70810 |
|
70811 |
+
var root = __webpack_require__(/*! ./_root */ 12);
|
70812 |
|
70813 |
/**
|
70814 |
* Gets the timestamp of the number of milliseconds that have elapsed since
|
70925 |
initCloneArray = __webpack_require__(/*! ./_initCloneArray */ 432),
|
70926 |
initCloneByTag = __webpack_require__(/*! ./_initCloneByTag */ 433),
|
70927 |
initCloneObject = __webpack_require__(/*! ./_initCloneObject */ 438),
|
70928 |
+
isArray = __webpack_require__(/*! ./isArray */ 14),
|
70929 |
isBuffer = __webpack_require__(/*! ./isBuffer */ 79),
|
70930 |
isMap = __webpack_require__(/*! ./isMap */ 440),
|
70931 |
+
isObject = __webpack_require__(/*! ./isObject */ 13),
|
70932 |
isSet = __webpack_require__(/*! ./isSet */ 442),
|
70933 |
keys = __webpack_require__(/*! ./keys */ 28);
|
70934 |
|
71175 |
/*! all exports used */
|
71176 |
/***/ (function(module, exports, __webpack_require__) {
|
71177 |
|
71178 |
+
var isObject = __webpack_require__(/*! ./isObject */ 13),
|
71179 |
isPrototype = __webpack_require__(/*! ./_isPrototype */ 53),
|
71180 |
nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ 427);
|
71181 |
|
71250 |
/*! all exports used */
|
71251 |
/***/ (function(module, exports, __webpack_require__) {
|
71252 |
|
71253 |
+
/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ 12);
|
71254 |
|
71255 |
/** Detect free variable `exports`. */
|
71256 |
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
71647 |
/*! all exports used */
|
71648 |
/***/ (function(module, exports, __webpack_require__) {
|
71649 |
|
71650 |
+
var isObject = __webpack_require__(/*! ./isObject */ 13);
|
71651 |
|
71652 |
/** Built-in value references. */
|
71653 |
var objectCreate = Object.create;
|
72122 |
|
72123 |
var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
|
72124 |
isArguments = __webpack_require__(/*! ./isArguments */ 78),
|
72125 |
+
isArray = __webpack_require__(/*! ./isArray */ 14);
|
72126 |
|
72127 |
/** Built-in value references. */
|
72128 |
var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;
|
73212 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
73213 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! .././editor.scss */ 95);
|
73214 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
73215 |
+
/**
|
73216 |
+
* BLOCK: UAGb - post-carousel
|
73217 |
*/
|
73218 |
|
73219 |
// Import block dependencies and components
|
73238 |
description: uagb_blocks_info.blocks["uagb/post-carousel"]["description"],
|
73239 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].post_carousel,
|
73240 |
category: uagb_blocks_info.category,
|
73241 |
+
keywords: [__("post", 'ultimate-addons-for-gutenberg'), __("carousel", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
73242 |
edit: __WEBPACK_IMPORTED_MODULE_0__edit__["a" /* default */],
|
73243 |
example: {},
|
73244 |
// Render via PHP
|
73279 |
|
73280 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
73281 |
|
73282 |
+
/**
|
73283 |
+
* External dependencies
|
73284 |
*/
|
73285 |
|
73286 |
|
73686 |
wp.element.createElement(
|
73687 |
"p",
|
73688 |
{ className: "uagb-setting-label" },
|
73689 |
+
__("Hover Color", 'ultimate-addons-for-gutenberg'),
|
73690 |
wp.element.createElement(
|
73691 |
"span",
|
73692 |
{ className: "components-base-control__label" },
|
73703 |
wp.element.createElement(
|
73704 |
"p",
|
73705 |
{ className: "uagb-setting-label" },
|
73706 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
73707 |
wp.element.createElement(
|
73708 |
"span",
|
73709 |
{ className: "components-base-control__label" },
|
73720 |
wp.element.createElement(
|
73721 |
"p",
|
73722 |
{ className: "uagb-setting-label" },
|
73723 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
73724 |
wp.element.createElement(
|
73725 |
"span",
|
73726 |
{ className: "components-base-control__label" },
|
73742 |
wp.element.createElement(
|
73743 |
"p",
|
73744 |
{ className: "uagb-setting-label" },
|
73745 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
73746 |
wp.element.createElement(
|
73747 |
"span",
|
73748 |
{ className: "components-base-control__label" },
|
73759 |
wp.element.createElement(
|
73760 |
"p",
|
73761 |
{ className: "uagb-setting-label" },
|
73762 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
73763 |
wp.element.createElement(
|
73764 |
"span",
|
73765 |
{ className: "components-base-control__label" },
|
73776 |
wp.element.createElement(
|
73777 |
"p",
|
73778 |
{ className: "uagb-setting-label" },
|
73779 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
73780 |
wp.element.createElement(
|
73781 |
"span",
|
73782 |
{ className: "components-base-control__label" },
|
73843 |
|
73844 |
var taxonomyListOptions = [];
|
73845 |
|
73846 |
+
var categoryListOptions = [{ value: "", label: __("All", 'ultimate-addons-for-gutenberg') }];
|
73847 |
|
73848 |
if ("" != taxonomyList) {
|
73849 |
Object.keys(taxonomyList).map(function (item, thisIndex) {
|
73862 |
null,
|
73863 |
wp.element.createElement(
|
73864 |
PanelBody,
|
73865 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg') },
|
73866 |
wp.element.createElement(SelectControl, {
|
73867 |
+
label: __("Post Type", 'ultimate-addons-for-gutenberg'),
|
73868 |
value: postType,
|
73869 |
onChange: function onChange(value) {
|
73870 |
return _this4.onSelectPostType(value);
|
73873 |
}),
|
73874 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
73875 |
"" != taxonomyList && wp.element.createElement(SelectControl, {
|
73876 |
+
label: __("Taxonomy", 'ultimate-addons-for-gutenberg'),
|
73877 |
value: taxonomyType,
|
73878 |
onChange: function onChange(value) {
|
73879 |
return _this4.onSelectTaxonomyType(value);
|
73894 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
73895 |
),
|
73896 |
wp.element.createElement(ToggleControl, {
|
73897 |
+
label: __("Exclude Current Post", 'ultimate-addons-for-gutenberg'),
|
73898 |
checked: excludeCurrentPost,
|
73899 |
onChange: function onChange(value) {
|
73900 |
return setAttributes({ excludeCurrentPost: !excludeCurrentPost });
|
73912 |
onChange: function onChange(value) {
|
73913 |
return setAttributes({ orderBy: value });
|
73914 |
},
|
73915 |
+
options: [{ value: "date", label: __("Date", 'ultimate-addons-for-gutenberg') }, { value: "title", label: __("Title", 'ultimate-addons-for-gutenberg') }, { value: "rand", label: __("Random", 'ultimate-addons-for-gutenberg') }, { value: "menu_order", label: __("Menu Order", 'ultimate-addons-for-gutenberg') }]
|
73916 |
}),
|
73917 |
wp.element.createElement(SelectControl, {
|
73918 |
+
label: __("Order", 'ultimate-addons-for-gutenberg'),
|
73919 |
value: order,
|
73920 |
onChange: function onChange(value) {
|
73921 |
return setAttributes({ order: value });
|
73922 |
},
|
73923 |
+
options: [{ value: "desc", label: __("Descending", 'ultimate-addons-for-gutenberg') }, { value: "asc", label: __("Ascending", 'ultimate-addons-for-gutenberg') }]
|
73924 |
}),
|
73925 |
wp.element.createElement(
|
73926 |
TabPanel,
|
73943 |
|
73944 |
if ("mobile" === tab.name) {
|
73945 |
tabout = wp.element.createElement(RangeControl, {
|
73946 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
73947 |
value: mcolumns,
|
73948 |
onChange: function onChange(value) {
|
73949 |
return setAttributes({ mcolumns: value });
|
73953 |
});
|
73954 |
} else if ("tablet" === tab.name) {
|
73955 |
tabout = wp.element.createElement(RangeControl, {
|
73956 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
73957 |
value: tcolumns,
|
73958 |
onChange: function onChange(value) {
|
73959 |
return setAttributes({ tcolumns: value });
|
73963 |
});
|
73964 |
} else {
|
73965 |
tabout = wp.element.createElement(RangeControl, {
|
73966 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
73967 |
value: columns,
|
73968 |
onChange: function onChange(value) {
|
73969 |
return setAttributes({ columns: value });
|
73981 |
}
|
73982 |
),
|
73983 |
wp.element.createElement(ToggleControl, {
|
73984 |
+
label: __("Equal Height", 'ultimate-addons-for-gutenberg'),
|
73985 |
checked: equalHeight,
|
73986 |
onChange: function onChange(value) {
|
73987 |
return setAttributes({ equalHeight: !equalHeight });
|
73991 |
wp.element.createElement(
|
73992 |
"h2",
|
73993 |
null,
|
73994 |
+
__("If Posts Not Found", 'ultimate-addons-for-gutenberg')
|
73995 |
),
|
73996 |
wp.element.createElement(TextControl, {
|
73997 |
autoComplete: "off",
|
73998 |
+
label: __('Display Message', 'ultimate-addons-for-gutenberg'),
|
73999 |
value: postDisplaytext,
|
74000 |
onChange: function onChange(value) {
|
74001 |
return setAttributes({ postDisplaytext: value });
|
74003 |
}),
|
74004 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
74005 |
wp.element.createElement(ToggleControl, {
|
74006 |
+
label: __("Inherit Styling from Theme", 'ultimate-addons-for-gutenberg'),
|
74007 |
checked: inheritFromTheme,
|
74008 |
onChange: function onChange(value) {
|
74009 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
74010 |
},
|
74011 |
+
help: __("This will inherit all the Typography and colors for Title, Meta, Excerpt and Read More button from the theme.", 'ultimate-addons-for-gutenberg')
|
74012 |
})
|
74013 |
),
|
74014 |
wp.element.createElement(
|
74015 |
PanelBody,
|
74016 |
+
{ title: __("Carousel", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
74017 |
wp.element.createElement(ToggleControl, {
|
74018 |
+
label: __("Pause On Hover", 'ultimate-addons-for-gutenberg'),
|
74019 |
checked: pauseOnHover,
|
74020 |
onChange: function onChange(value) {
|
74021 |
return setAttributes({ pauseOnHover: !pauseOnHover });
|
74022 |
}
|
74023 |
}),
|
74024 |
wp.element.createElement(ToggleControl, {
|
74025 |
+
label: __("Autoplay", 'ultimate-addons-for-gutenberg'),
|
74026 |
checked: autoplay,
|
74027 |
onChange: function onChange(value) {
|
74028 |
return setAttributes({ autoplay: !autoplay });
|
74029 |
}
|
74030 |
}),
|
74031 |
autoplay == true && wp.element.createElement(RangeControl, {
|
74032 |
+
label: __("Autoplay Speed (ms)", 'ultimate-addons-for-gutenberg'),
|
74033 |
value: autoplaySpeed,
|
74034 |
onChange: function onChange(value) {
|
74035 |
return setAttributes({ autoplaySpeed: value });
|
74038 |
max: 10000
|
74039 |
}),
|
74040 |
wp.element.createElement(ToggleControl, {
|
74041 |
+
label: __("Infinite Loop", 'ultimate-addons-for-gutenberg'),
|
74042 |
checked: infiniteLoop,
|
74043 |
onChange: function onChange(value) {
|
74044 |
return setAttributes({ infiniteLoop: !infiniteLoop });
|
74045 |
}
|
74046 |
}),
|
74047 |
wp.element.createElement(RangeControl, {
|
74048 |
+
label: __("Transition Speed (ms)", 'ultimate-addons-for-gutenberg'),
|
74049 |
value: transitionSpeed,
|
74050 |
onChange: function onChange(value) {
|
74051 |
return setAttributes({ transitionSpeed: value });
|
74057 |
wp.element.createElement(
|
74058 |
"h2",
|
74059 |
null,
|
74060 |
+
__("Arrows & Dots", 'ultimate-addons-for-gutenberg')
|
74061 |
),
|
74062 |
wp.element.createElement(SelectControl, {
|
74063 |
+
label: __("Show Arrows & Dots", 'ultimate-addons-for-gutenberg'),
|
74064 |
value: arrowDots,
|
74065 |
onChange: function onChange(value) {
|
74066 |
return setAttributes({ arrowDots: value });
|
74067 |
},
|
74068 |
+
options: [{ value: "arrows", label: __("Only Arrows", 'ultimate-addons-for-gutenberg') }, { value: "dots", label: __("Only Dots", 'ultimate-addons-for-gutenberg') }, { value: "arrows_dots", label: __("Both Arrows & Dots", 'ultimate-addons-for-gutenberg') }]
|
74069 |
}),
|
74070 |
"dots" != arrowDots && wp.element.createElement(
|
74071 |
Fragment,
|
74072 |
null,
|
74073 |
wp.element.createElement(RangeControl, {
|
74074 |
+
label: __("Arrow Size", 'ultimate-addons-for-gutenberg'),
|
74075 |
value: arrowSize,
|
74076 |
onChange: function onChange(value) {
|
74077 |
return setAttributes({ arrowSize: value });
|
74080 |
max: 50
|
74081 |
}),
|
74082 |
wp.element.createElement(RangeControl, {
|
74083 |
+
label: __("Arrow Border Size", 'ultimate-addons-for-gutenberg'),
|
74084 |
value: arrowBorderSize,
|
74085 |
onChange: function onChange(value) {
|
74086 |
return setAttributes({ arrowBorderSize: value });
|
74089 |
max: 50
|
74090 |
}),
|
74091 |
wp.element.createElement(RangeControl, {
|
74092 |
+
label: __("Arrow Border Radius", 'ultimate-addons-for-gutenberg'),
|
74093 |
value: arrowBorderRadius,
|
74094 |
onChange: function onChange(value) {
|
74095 |
return setAttributes({ arrowBorderRadius: value });
|
74101 |
),
|
74102 |
wp.element.createElement(
|
74103 |
PanelBody,
|
74104 |
+
{ title: __("Image", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
74105 |
wp.element.createElement(ToggleControl, {
|
74106 |
+
label: __("Show Featured Image", 'ultimate-addons-for-gutenberg'),
|
74107 |
checked: displayPostImage,
|
74108 |
onChange: function onChange(value) {
|
74109 |
return setAttributes({ displayPostImage: !displayPostImage });
|
74110 |
}
|
74111 |
}),
|
74112 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
74113 |
+
label: __("Image Sizes", 'ultimate-addons-for-gutenberg'),
|
74114 |
value: imgSize,
|
74115 |
onChange: function onChange(value) {
|
74116 |
return setAttributes({ imgSize: value });
|
74118 |
options: uagb_blocks_info.image_sizes
|
74119 |
}),
|
74120 |
displayPostImage == true && wp.element.createElement(SelectControl, {
|
74121 |
+
label: __("Image Position", 'ultimate-addons-for-gutenberg'),
|
74122 |
value: imgPosition,
|
74123 |
onChange: function onChange(value) {
|
74124 |
return setAttributes({ imgPosition: value });
|
74125 |
},
|
74126 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "background", label: __("Background", 'ultimate-addons-for-gutenberg') }]
|
74127 |
}),
|
74128 |
displayPostImage == true && imgPosition == "background" && wp.element.createElement(
|
74129 |
Fragment,
|
74131 |
wp.element.createElement(
|
74132 |
"p",
|
74133 |
{ className: "uagb-setting-label" },
|
74134 |
+
__("Background Overlay Color", 'ultimate-addons-for-gutenberg'),
|
74135 |
wp.element.createElement(
|
74136 |
"span",
|
74137 |
{ className: "components-base-control__label" },
|
74146 |
allowReset: true
|
74147 |
}),
|
74148 |
wp.element.createElement(RangeControl, {
|
74149 |
+
label: __("Overlay Opacity", 'ultimate-addons-for-gutenberg'),
|
74150 |
value: overlayOpacity,
|
74151 |
onChange: function onChange(value) {
|
74152 |
return setAttributes({ overlayOpacity: value });
|
74156 |
allowReset: true
|
74157 |
}),
|
74158 |
wp.element.createElement(ToggleControl, {
|
74159 |
+
label: __("Link Complete Box", 'ultimate-addons-for-gutenberg'),
|
74160 |
checked: linkBox,
|
74161 |
onChange: function onChange(value) {
|
74162 |
return setAttributes({ linkBox: !linkBox });
|
74166 |
),
|
74167 |
wp.element.createElement(
|
74168 |
PanelBody,
|
74169 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
74170 |
wp.element.createElement(ToggleControl, {
|
74171 |
+
label: __("Show Title", 'ultimate-addons-for-gutenberg'),
|
74172 |
checked: displayPostTitle,
|
74173 |
onChange: function onChange(value) {
|
74174 |
return setAttributes({ displayPostTitle: !displayPostTitle });
|
74175 |
}
|
74176 |
}),
|
74177 |
wp.element.createElement(ToggleControl, {
|
74178 |
+
label: __("Show Author", 'ultimate-addons-for-gutenberg'),
|
74179 |
checked: displayPostAuthor,
|
74180 |
onChange: function onChange(value) {
|
74181 |
return setAttributes({ displayPostAuthor: !displayPostAuthor });
|
74182 |
}
|
74183 |
}),
|
74184 |
wp.element.createElement(ToggleControl, {
|
74185 |
+
label: __("Show Date", 'ultimate-addons-for-gutenberg'),
|
74186 |
checked: displayPostDate,
|
74187 |
onChange: function onChange(value) {
|
74188 |
return setAttributes({ displayPostDate: !displayPostDate });
|
74189 |
}
|
74190 |
}),
|
74191 |
wp.element.createElement(ToggleControl, {
|
74192 |
+
label: __("Show Comment", 'ultimate-addons-for-gutenberg'),
|
74193 |
checked: displayPostComment,
|
74194 |
onChange: function onChange(value) {
|
74195 |
return setAttributes({ displayPostComment: !displayPostComment });
|
74196 |
}
|
74197 |
}),
|
74198 |
wp.element.createElement(ToggleControl, {
|
74199 |
+
label: __("Show Taxonomy", 'ultimate-addons-for-gutenberg'),
|
74200 |
checked: displayPostTaxonomy,
|
74201 |
onChange: function onChange(value) {
|
74202 |
return setAttributes({ displayPostTaxonomy: !displayPostTaxonomy });
|
74203 |
}
|
74204 |
}),
|
74205 |
wp.element.createElement(ToggleControl, {
|
74206 |
+
label: __("Show Excerpt", 'ultimate-addons-for-gutenberg'),
|
74207 |
checked: displayPostExcerpt,
|
74208 |
onChange: function onChange(value) {
|
74209 |
return setAttributes({ displayPostExcerpt: !displayPostExcerpt });
|
74210 |
}
|
74211 |
}),
|
74212 |
displayPostExcerpt && wp.element.createElement(RadioControl, {
|
74213 |
+
label: __('Show:', 'ultimate-addons-for-gutenberg'),
|
74214 |
selected: displayPostContentRadio,
|
74215 |
+
options: [{ label: __('Excerpt', 'ultimate-addons-for-gutenberg'), value: "excerpt" }, { label: __('Full post', 'ultimate-addons-for-gutenberg'), value: "full_post" }],
|
74216 |
onChange: function onChange(value) {
|
74217 |
return setAttributes({
|
74218 |
displayPostContentRadio: value
|
74220 |
}
|
74221 |
}),
|
74222 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(RangeControl, {
|
74223 |
+
label: __('Max number of words in excerpt', 'ultimate-addons-for-gutenberg'),
|
74224 |
value: excerptLength,
|
74225 |
onChange: function onChange(value) {
|
74226 |
return setAttributes({ excerptLength: value });
|
74232 |
),
|
74233 |
displayPostExcerpt && displayPostContentRadio === 'excerpt' && wp.element.createElement(
|
74234 |
PanelBody,
|
74235 |
+
{ title: __("Read More Link", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
74236 |
wp.element.createElement(ToggleControl, {
|
74237 |
+
label: __("Show Read More Link", 'ultimate-addons-for-gutenberg'),
|
74238 |
checked: displayPostLink,
|
74239 |
onChange: function onChange(value) {
|
74240 |
return setAttributes({ displayPostLink: !displayPostLink });
|
74241 |
}
|
74242 |
}),
|
74243 |
wp.element.createElement(ToggleControl, {
|
74244 |
+
label: __("Open links in New Tab", 'ultimate-addons-for-gutenberg'),
|
74245 |
checked: newTab,
|
74246 |
onChange: function onChange(value) {
|
74247 |
return setAttributes({ newTab: !newTab });
|
74254 |
wp.element.createElement(
|
74255 |
"h2",
|
74256 |
null,
|
74257 |
+
__("Button Text", 'ultimate-addons-for-gutenberg')
|
74258 |
),
|
74259 |
wp.element.createElement(TextControl, {
|
74260 |
+
label: __("Text", 'ultimate-addons-for-gutenberg'),
|
74261 |
value: ctaText,
|
74262 |
onChange: function onChange(value) {
|
74263 |
return setAttributes({ ctaText: value });
|
74267 |
Fragment,
|
74268 |
null,
|
74269 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography__["a" /* default */], {
|
74270 |
+
label: __("CTA Tag", 'ultimate-addons-for-gutenberg'),
|
74271 |
attributes: attributes,
|
74272 |
setAttributes: setAttributes,
|
74273 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: "ctaLoadGoogleFonts" },
|
74295 |
onChange: function onChange(value) {
|
74296 |
return setAttributes({ borderStyle: value });
|
74297 |
},
|
74298 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }]
|
74299 |
}),
|
74300 |
wp.element.createElement(RangeControl, {
|
74301 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
74302 |
value: borderWidth,
|
74303 |
onChange: function onChange(value) {
|
74304 |
return setAttributes({ borderWidth: value });
|
74308 |
allowReset: true
|
74309 |
}),
|
74310 |
wp.element.createElement(RangeControl, {
|
74311 |
+
label: __("Rounded Corner", 'ultimate-addons-for-gutenberg'),
|
74312 |
value: borderRadius,
|
74313 |
onChange: function onChange(value) {
|
74314 |
return setAttributes({ borderRadius: value });
|
74321 |
wp.element.createElement(
|
74322 |
"h2",
|
74323 |
null,
|
74324 |
+
__("Button Padding (px)", 'ultimate-addons-for-gutenberg')
|
74325 |
),
|
74326 |
wp.element.createElement(RangeControl, {
|
74327 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
74357 |
activeClass: "active-tab",
|
74358 |
tabs: [{
|
74359 |
name: "normal",
|
74360 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
74361 |
className: "uagb-normal-tab"
|
74362 |
}, {
|
74363 |
name: "hover",
|
74364 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
74365 |
className: "uagb-hover-tab"
|
74366 |
}] },
|
74367 |
function (tabName) {
|
74383 |
),
|
74384 |
wp.element.createElement(
|
74385 |
PanelBody,
|
74386 |
+
{ title: __("Typography", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
74387 |
wp.element.createElement(SelectControl, {
|
74388 |
label: __("Title Tag"),
|
74389 |
value: titleTag,
|
74390 |
onChange: function onChange(value) {
|
74391 |
return setAttributes({ titleTag: value });
|
74392 |
},
|
74393 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }, { value: "span", label: __("span", 'ultimate-addons-for-gutenberg') }, { value: "p", label: __("p", 'ultimate-addons-for-gutenberg') }]
|
74394 |
}),
|
74395 |
!inheritFromTheme && wp.element.createElement(
|
74396 |
Fragment,
|
74397 |
null,
|
74398 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography__["a" /* default */], {
|
74399 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
74400 |
attributes: attributes,
|
74401 |
setAttributes: setAttributes,
|
74402 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: "titleLoadGoogleFonts" },
|
74419 |
wp.element.createElement(
|
74420 |
"h2",
|
74421 |
null,
|
74422 |
+
__("Meta", 'ultimate-addons-for-gutenberg')
|
74423 |
),
|
74424 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography__["a" /* default */], {
|
74425 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
74426 |
attributes: attributes,
|
74427 |
setAttributes: setAttributes,
|
74428 |
loadGoogleFonts: { value: metaLoadGoogleFonts, label: "metaLoadGoogleFonts" },
|
74446 |
wp.element.createElement(
|
74447 |
"h2",
|
74448 |
null,
|
74449 |
+
__("Excerpt", 'ultimate-addons-for-gutenberg')
|
74450 |
),
|
74451 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography__["a" /* default */], {
|
74452 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
74453 |
attributes: attributes,
|
74454 |
setAttributes: setAttributes,
|
74455 |
loadGoogleFonts: { value: excerptLoadGoogleFonts, label: "excerptLoadGoogleFonts" },
|
74470 |
),
|
74471 |
wp.element.createElement(
|
74472 |
PanelBody,
|
74473 |
+
{ title: __("Colors", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
74474 |
wp.element.createElement(
|
74475 |
"p",
|
74476 |
{ className: "uagb-setting-label" },
|
74477 |
+
__("Blog Background Color", 'ultimate-addons-for-gutenberg'),
|
74478 |
wp.element.createElement(
|
74479 |
"span",
|
74480 |
{ className: "components-base-control__label" },
|
74494 |
wp.element.createElement(
|
74495 |
"p",
|
74496 |
{ className: "uagb-setting-label" },
|
74497 |
+
__("Title Color", 'ultimate-addons-for-gutenberg'),
|
74498 |
wp.element.createElement(
|
74499 |
"span",
|
74500 |
{ className: "components-base-control__label" },
|
74511 |
wp.element.createElement(
|
74512 |
"p",
|
74513 |
{ className: "uagb-setting-label" },
|
74514 |
+
__("Meta Color", 'ultimate-addons-for-gutenberg'),
|
74515 |
wp.element.createElement(
|
74516 |
"span",
|
74517 |
{ className: "components-base-control__label" },
|
74530 |
wp.element.createElement(
|
74531 |
"p",
|
74532 |
{ className: "uagb-setting-label" },
|
74533 |
+
__("Excerpt Color", 'ultimate-addons-for-gutenberg'),
|
74534 |
wp.element.createElement(
|
74535 |
"span",
|
74536 |
{ className: "components-base-control__label" },
|
74549 |
wp.element.createElement(
|
74550 |
"p",
|
74551 |
{ className: "uagb-setting-label" },
|
74552 |
+
__("Arrows & Dots Color", 'ultimate-addons-for-gutenberg'),
|
74553 |
wp.element.createElement(
|
74554 |
"span",
|
74555 |
{ className: "components-base-control__label" },
|
74566 |
),
|
74567 |
wp.element.createElement(
|
74568 |
PanelBody,
|
74569 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
74570 |
wp.element.createElement(RangeControl, {
|
74571 |
+
label: __("Row Gap", 'ultimate-addons-for-gutenberg'),
|
74572 |
value: rowGap,
|
74573 |
onChange: function onChange(value) {
|
74574 |
return setAttributes({ rowGap: value });
|
74578 |
allowReset: true
|
74579 |
}),
|
74580 |
wp.element.createElement(RangeControl, {
|
74581 |
+
label: __("Gap Between Posts & Dots", 'ultimate-addons-for-gutenberg'),
|
74582 |
value: columnGap,
|
74583 |
onChange: function onChange(value) {
|
74584 |
return setAttributes({ columnGap: value });
|
74589 |
}),
|
74590 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
74591 |
wp.element.createElement(RangeControl, {
|
74592 |
+
label: __("Content Padding", 'ultimate-addons-for-gutenberg'),
|
74593 |
value: contentPadding,
|
74594 |
onChange: function onChange(value) {
|
74595 |
return setAttributes({ contentPadding: value });
|
74599 |
allowReset: true
|
74600 |
}),
|
74601 |
wp.element.createElement(RangeControl, {
|
74602 |
+
label: __("Content Padding (Mobile)", 'ultimate-addons-for-gutenberg'),
|
74603 |
value: contentPaddingMobile,
|
74604 |
onChange: function onChange(value) {
|
74605 |
return setAttributes({ contentPaddingMobile: value });
|
74610 |
}),
|
74611 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
74612 |
wp.element.createElement(RangeControl, {
|
74613 |
+
label: __("Image Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
74614 |
value: imageBottomSpace,
|
74615 |
onChange: function onChange(value) {
|
74616 |
return setAttributes({ imageBottomSpace: value });
|
74620 |
allowReset: true
|
74621 |
}),
|
74622 |
wp.element.createElement(RangeControl, {
|
74623 |
+
label: __("Title Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
74624 |
value: titleBottomSpace,
|
74625 |
onChange: function onChange(value) {
|
74626 |
return setAttributes({ titleBottomSpace: value });
|
74630 |
allowReset: true
|
74631 |
}),
|
74632 |
wp.element.createElement(RangeControl, {
|
74633 |
+
label: __("Meta Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
74634 |
value: metaBottomSpace,
|
74635 |
onChange: function onChange(value) {
|
74636 |
return setAttributes({ metaBottomSpace: value });
|
74640 |
allowReset: true
|
74641 |
}),
|
74642 |
wp.element.createElement(RangeControl, {
|
74643 |
+
label: __("Excerpt Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
74644 |
value: excerptBottomSpace,
|
74645 |
onChange: function onChange(value) {
|
74646 |
return setAttributes({ excerptBottomSpace: value });
|
77235 |
|
77236 |
"use strict";
|
77237 |
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
77238 |
+
/* WEBPACK VAR INJECTION */(function(global) {/**
|
77239 |
+
* A collection of shims that provide minimal functionality of the ES6 collections.
|
77240 |
+
*
|
77241 |
+
* These implementations are not meant to be used outside of the ResizeObserver
|
77242 |
+
* modules as they cover only a limited range of use cases.
|
77243 |
+
*/
|
77244 |
+
/* eslint-disable require-jsdoc, valid-jsdoc */
|
77245 |
+
var MapShim = (function () {
|
77246 |
+
if (typeof Map !== 'undefined') {
|
77247 |
+
return Map;
|
77248 |
+
}
|
77249 |
+
/**
|
77250 |
+
* Returns index in provided array that matches the specified key.
|
77251 |
+
*
|
77252 |
+
* @param {Array<Array>} arr
|
77253 |
+
* @param {*} key
|
77254 |
+
* @returns {number}
|
77255 |
+
*/
|
77256 |
+
function getIndex(arr, key) {
|
77257 |
+
var result = -1;
|
77258 |
+
arr.some(function (entry, index) {
|
77259 |
+
if (entry[0] === key) {
|
77260 |
+
result = index;
|
77261 |
+
return true;
|
77262 |
+
}
|
77263 |
+
return false;
|
77264 |
+
});
|
77265 |
+
return result;
|
77266 |
+
}
|
77267 |
+
return /** @class */ (function () {
|
77268 |
+
function class_1() {
|
77269 |
+
this.__entries__ = [];
|
77270 |
+
}
|
77271 |
+
Object.defineProperty(class_1.prototype, "size", {
|
77272 |
+
/**
|
77273 |
+
* @returns {boolean}
|
77274 |
+
*/
|
77275 |
+
get: function () {
|
77276 |
+
return this.__entries__.length;
|
77277 |
+
},
|
77278 |
+
enumerable: true,
|
77279 |
+
configurable: true
|
77280 |
+
});
|
77281 |
+
/**
|
77282 |
+
* @param {*} key
|
77283 |
+
* @returns {*}
|
77284 |
+
*/
|
77285 |
+
class_1.prototype.get = function (key) {
|
77286 |
+
var index = getIndex(this.__entries__, key);
|
77287 |
+
var entry = this.__entries__[index];
|
77288 |
+
return entry && entry[1];
|
77289 |
+
};
|
77290 |
+
/**
|
77291 |
+
* @param {*} key
|
77292 |
+
* @param {*} value
|
77293 |
+
* @returns {void}
|
77294 |
+
*/
|
77295 |
+
class_1.prototype.set = function (key, value) {
|
77296 |
+
var index = getIndex(this.__entries__, key);
|
77297 |
+
if (~index) {
|
77298 |
+
this.__entries__[index][1] = value;
|
77299 |
+
}
|
77300 |
+
else {
|
77301 |
+
this.__entries__.push([key, value]);
|
77302 |
+
}
|
77303 |
+
};
|
77304 |
+
/**
|
77305 |
+
* @param {*} key
|
77306 |
+
* @returns {void}
|
77307 |
+
*/
|
77308 |
+
class_1.prototype.delete = function (key) {
|
77309 |
+
var entries = this.__entries__;
|
77310 |
+
var index = getIndex(entries, key);
|
77311 |
+
if (~index) {
|
77312 |
+
entries.splice(index, 1);
|
77313 |
+
}
|
77314 |
+
};
|
77315 |
+
/**
|
77316 |
+
* @param {*} key
|
77317 |
+
* @returns {void}
|
77318 |
+
*/
|
77319 |
+
class_1.prototype.has = function (key) {
|
77320 |
+
return !!~getIndex(this.__entries__, key);
|
77321 |
+
};
|
77322 |
+
/**
|
77323 |
+
* @returns {void}
|
77324 |
+
*/
|
77325 |
+
class_1.prototype.clear = function () {
|
77326 |
+
this.__entries__.splice(0);
|
77327 |
+
};
|
77328 |
+
/**
|
77329 |
+
* @param {Function} callback
|
77330 |
+
* @param {*} [ctx=null]
|
77331 |
+
* @returns {void}
|
77332 |
+
*/
|
77333 |
+
class_1.prototype.forEach = function (callback, ctx) {
|
77334 |
+
if (ctx === void 0) { ctx = null; }
|
77335 |
+
for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
|
77336 |
+
var entry = _a[_i];
|
77337 |
+
callback.call(ctx, entry[1], entry[0]);
|
77338 |
+
}
|
77339 |
+
};
|
77340 |
+
return class_1;
|
77341 |
+
}());
|
77342 |
})();
|
77343 |
|
77344 |
+
/**
|
77345 |
+
* Detects whether window and document objects are available in current environment.
|
77346 |
+
*/
|
77347 |
var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;
|
77348 |
|
77349 |
+
// Returns global object of a current environment.
|
77350 |
+
var global$1 = (function () {
|
77351 |
+
if (typeof global !== 'undefined' && global.Math === Math) {
|
77352 |
+
return global;
|
77353 |
+
}
|
77354 |
+
if (typeof self !== 'undefined' && self.Math === Math) {
|
77355 |
+
return self;
|
77356 |
+
}
|
77357 |
+
if (typeof window !== 'undefined' && window.Math === Math) {
|
77358 |
+
return window;
|
77359 |
+
}
|
77360 |
+
// eslint-disable-next-line no-new-func
|
77361 |
+
return Function('return this')();
|
77362 |
})();
|
77363 |
|
77364 |
+
/**
|
77365 |
+
* A shim for the requestAnimationFrame which falls back to the setTimeout if
|
77366 |
+
* first one is not supported.
|
77367 |
+
*
|
77368 |
+
* @returns {number} Requests' identifier.
|
77369 |
+
*/
|
77370 |
+
var requestAnimationFrame$1 = (function () {
|
77371 |
+
if (typeof requestAnimationFrame === 'function') {
|
77372 |
+
// It's required to use a bounded function because IE sometimes throws
|
77373 |
+
// an "Invalid calling object" error if rAF is invoked without the global
|
77374 |
+
// object on the left hand side.
|
77375 |
+
return requestAnimationFrame.bind(global$1);
|
77376 |
+
}
|
77377 |
+
return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };
|
77378 |
})();
|
77379 |
|
77380 |
+
// Defines minimum timeout before adding a trailing call.
|
77381 |
+
var trailingTimeout = 2;
|
77382 |
+
/**
|
77383 |
+
* Creates a wrapper function which ensures that provided callback will be
|
77384 |
+
* invoked only once during the specified delay period.
|
77385 |
+
*
|
77386 |
+
* @param {Function} callback - Function to be invoked after the delay period.
|
77387 |
+
* @param {number} delay - Delay after which to invoke callback.
|
77388 |
+
* @returns {Function}
|
77389 |
+
*/
|
77390 |
+
function throttle (callback, delay) {
|
77391 |
+
var leadingCall = false, trailingCall = false, lastCallTime = 0;
|
77392 |
+
/**
|
77393 |
+
* Invokes the original callback function and schedules new invocation if
|
77394 |
+
* the "proxy" was called during current request.
|
77395 |
+
*
|
77396 |
+
* @returns {void}
|
77397 |
+
*/
|
77398 |
+
function resolvePending() {
|
77399 |
+
if (leadingCall) {
|
77400 |
+
leadingCall = false;
|
77401 |
+
callback();
|
77402 |
+
}
|
77403 |
+
if (trailingCall) {
|
77404 |
+
proxy();
|
77405 |
+
}
|
77406 |
+
}
|
77407 |
+
/**
|
77408 |
+
* Callback invoked after the specified delay. It will further postpone
|
77409 |
+
* invocation of the original function delegating it to the
|
77410 |
+
* requestAnimationFrame.
|
77411 |
+
*
|
77412 |
+
* @returns {void}
|
77413 |
+
*/
|
77414 |
+
function timeoutCallback() {
|
77415 |
+
requestAnimationFrame$1(resolvePending);
|
77416 |
+
}
|
77417 |
+
/**
|
77418 |
+
* Schedules invocation of the original function.
|
77419 |
+
*
|
77420 |
+
* @returns {void}
|
77421 |
+
*/
|
77422 |
+
function proxy() {
|
77423 |
+
var timeStamp = Date.now();
|
77424 |
+
if (leadingCall) {
|
77425 |
+
// Reject immediately following calls.
|
77426 |
+
if (timeStamp - lastCallTime < trailingTimeout) {
|
77427 |
+
return;
|
77428 |
+
}
|
77429 |
+
// Schedule new call to be in invoked when the pending one is resolved.
|
77430 |
+
// This is important for "transitions" which never actually start
|
77431 |
+
// immediately so there is a chance that we might miss one if change
|
77432 |
+
// happens amids the pending invocation.
|
77433 |
+
trailingCall = true;
|
77434 |
+
}
|
77435 |
+
else {
|
77436 |
+
leadingCall = true;
|
77437 |
+
trailingCall = false;
|
77438 |
+
setTimeout(timeoutCallback, delay);
|
77439 |
+
}
|
77440 |
+
lastCallTime = timeStamp;
|
77441 |
+
}
|
77442 |
+
return proxy;
|
77443 |
+
}
|
77444 |
+
|
77445 |
+
// Minimum delay before invoking the update of observers.
|
77446 |
+
var REFRESH_DELAY = 20;
|
77447 |
+
// A list of substrings of CSS properties used to find transition events that
|
77448 |
+
// might affect dimensions of observed elements.
|
77449 |
+
var transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];
|
77450 |
+
// Check if MutationObserver is available.
|
77451 |
+
var mutationObserverSupported = typeof MutationObserver !== 'undefined';
|
77452 |
+
/**
|
77453 |
+
* Singleton controller class which handles updates of ResizeObserver instances.
|
77454 |
+
*/
|
77455 |
+
var ResizeObserverController = /** @class */ (function () {
|
77456 |
+
/**
|
77457 |
+
* Creates a new instance of ResizeObserverController.
|
77458 |
+
*
|
77459 |
+
* @private
|
77460 |
+
*/
|
77461 |
+
function ResizeObserverController() {
|
77462 |
+
/**
|
77463 |
+
* Indicates whether DOM listeners have been added.
|
77464 |
+
*
|
77465 |
+
* @private {boolean}
|
77466 |
+
*/
|
77467 |
+
this.connected_ = false;
|
77468 |
+
/**
|
77469 |
+
* Tells that controller has subscribed for Mutation Events.
|
77470 |
+
*
|
77471 |
+
* @private {boolean}
|
77472 |
+
*/
|
77473 |
+
this.mutationEventsAdded_ = false;
|
77474 |
+
/**
|
77475 |
+
* Keeps reference to the instance of MutationObserver.
|
77476 |
+
*
|
77477 |
+
* @private {MutationObserver}
|
77478 |
+
*/
|
77479 |
+
this.mutationsObserver_ = null;
|
77480 |
+
/**
|
77481 |
+
* A list of connected observers.
|
77482 |
+
*
|
77483 |
+
* @private {Array<ResizeObserverSPI>}
|
77484 |
+
*/
|
77485 |
+
this.observers_ = [];
|
77486 |
+
this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);
|
77487 |
+
this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
|
77488 |
+
}
|
77489 |
+
/**
|
77490 |
+
* Adds observer to observers list.
|
77491 |
+
*
|
77492 |
+
* @param {ResizeObserverSPI} observer - Observer to be added.
|
77493 |
+
* @returns {void}
|
77494 |
+
*/
|
77495 |
+
ResizeObserverController.prototype.addObserver = function (observer) {
|
77496 |
+
if (!~this.observers_.indexOf(observer)) {
|
77497 |
+
this.observers_.push(observer);
|
77498 |
+
}
|
77499 |
+
// Add listeners if they haven't been added yet.
|
77500 |
+
if (!this.connected_) {
|
77501 |
+
this.connect_();
|
77502 |
+
}
|
77503 |
+
};
|
77504 |
+
/**
|
77505 |
+
* Removes observer from observers list.
|
77506 |
+
*
|
77507 |
+
* @param {ResizeObserverSPI} observer - Observer to be removed.
|
77508 |
+
* @returns {void}
|
77509 |
+
*/
|
77510 |
+
ResizeObserverController.prototype.removeObserver = function (observer) {
|
77511 |
+
var observers = this.observers_;
|
77512 |
+
var index = observers.indexOf(observer);
|
77513 |
+
// Remove observer if it's present in registry.
|
77514 |
+
if (~index) {
|
77515 |
+
observers.splice(index, 1);
|
77516 |
+
}
|
77517 |
+
// Remove listeners if controller has no connected observers.
|
77518 |
+
if (!observers.length && this.connected_) {
|
77519 |
+
this.disconnect_();
|
77520 |
+
}
|
77521 |
+
};
|
77522 |
+
/**
|
77523 |
+
* Invokes the update of observers. It will continue running updates insofar
|
77524 |
+
* it detects changes.
|
77525 |
+
*
|
77526 |
+
* @returns {void}
|
77527 |
+
*/
|
77528 |
+
ResizeObserverController.prototype.refresh = function () {
|
77529 |
+
var changesDetected = this.updateObservers_();
|
77530 |
+
// Continue running updates if changes have been detected as there might
|
77531 |
+
// be future ones caused by CSS transitions.
|
77532 |
+
if (changesDetected) {
|
77533 |
+
this.refresh();
|
77534 |
+
}
|
77535 |
+
};
|
77536 |
+
/**
|
77537 |
+
* Updates every observer from observers list and notifies them of queued
|
77538 |
+
* entries.
|
77539 |
+
*
|
77540 |
+
* @private
|
77541 |
+
* @returns {boolean} Returns "true" if any observer has detected changes in
|
77542 |
+
* dimensions of it's elements.
|
77543 |
+
*/
|
77544 |
+
ResizeObserverController.prototype.updateObservers_ = function () {
|
77545 |
+
// Collect observers that have active observations.
|
77546 |
+
var activeObservers = this.observers_.filter(function (observer) {
|
77547 |
+
return observer.gatherActive(), observer.hasActive();
|
77548 |
+
});
|
77549 |
+
// Deliver notifications in a separate cycle in order to avoid any
|
77550 |
+
// collisions between observers, e.g. when multiple instances of
|
77551 |
+
// ResizeObserver are tracking the same element and the callback of one
|
77552 |
+
// of them changes content dimensions of the observed target. Sometimes
|
77553 |
+
// this may result in notifications being blocked for the rest of observers.
|
77554 |
+
activeObservers.forEach(function (observer) { return observer.broadcastActive(); });
|
77555 |
+
return activeObservers.length > 0;
|
77556 |
+
};
|
77557 |
+
/**
|
77558 |
+
* Initializes DOM listeners.
|
77559 |
+
*
|
77560 |
+
* @private
|
77561 |
+
* @returns {void}
|
77562 |
+
*/
|
77563 |
+
ResizeObserverController.prototype.connect_ = function () {
|
77564 |
+
// Do nothing if running in a non-browser environment or if listeners
|
77565 |
+
// have been already added.
|
77566 |
+
if (!isBrowser || this.connected_) {
|
77567 |
+
return;
|
77568 |
+
}
|
77569 |
+
// Subscription to the "Transitionend" event is used as a workaround for
|
77570 |
+
// delayed transitions. This way it's possible to capture at least the
|
77571 |
+
// final state of an element.
|
77572 |
+
document.addEventListener('transitionend', this.onTransitionEnd_);
|
77573 |
+
window.addEventListener('resize', this.refresh);
|
77574 |
+
if (mutationObserverSupported) {
|
77575 |
+
this.mutationsObserver_ = new MutationObserver(this.refresh);
|
77576 |
+
this.mutationsObserver_.observe(document, {
|
77577 |
+
attributes: true,
|
77578 |
+
childList: true,
|
77579 |
+
characterData: true,
|
77580 |
+
subtree: true
|
77581 |
+
});
|
77582 |
+
}
|
77583 |
+
else {
|
77584 |
+
document.addEventListener('DOMSubtreeModified', this.refresh);
|
77585 |
+
this.mutationEventsAdded_ = true;
|
77586 |
+
}
|
77587 |
+
this.connected_ = true;
|
77588 |
+
};
|
77589 |
+
/**
|
77590 |
+
* Removes DOM listeners.
|
77591 |
+
*
|
77592 |
+
* @private
|
77593 |
+
* @returns {void}
|
77594 |
+
*/
|
77595 |
+
ResizeObserverController.prototype.disconnect_ = function () {
|
77596 |
+
// Do nothing if running in a non-browser environment or if listeners
|
77597 |
+
// have been already removed.
|
77598 |
+
if (!isBrowser || !this.connected_) {
|
77599 |
+
return;
|
77600 |
+
}
|
77601 |
+
document.removeEventListener('transitionend', this.onTransitionEnd_);
|
77602 |
+
window.removeEventListener('resize', this.refresh);
|
77603 |
+
if (this.mutationsObserver_) {
|
77604 |
+
this.mutationsObserver_.disconnect();
|
77605 |
+
}
|
77606 |
+
if (this.mutationEventsAdded_) {
|
77607 |
+
document.removeEventListener('DOMSubtreeModified', this.refresh);
|
77608 |
+
}
|
77609 |
+
this.mutationsObserver_ = null;
|
77610 |
+
this.mutationEventsAdded_ = false;
|
77611 |
+
this.connected_ = false;
|
77612 |
+
};
|
77613 |
+
/**
|
77614 |
+
* "Transitionend" event handler.
|
77615 |
+
*
|
77616 |
+
* @private
|
77617 |
+
* @param {TransitionEvent} event
|
77618 |
+
* @returns {void}
|
77619 |
+
*/
|
77620 |
+
ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {
|
77621 |
+
var _b = _a.propertyName, propertyName = _b === void 0 ? '' : _b;
|
77622 |
+
// Detect whether transition may affect dimensions of an element.
|
77623 |
+
var isReflowProperty = transitionKeys.some(function (key) {
|
77624 |
+
return !!~propertyName.indexOf(key);
|
77625 |
+
});
|
77626 |
+
if (isReflowProperty) {
|
77627 |
+
this.refresh();
|
77628 |
+
}
|
77629 |
+
};
|
77630 |
+
/**
|
77631 |
+
* Returns instance of the ResizeObserverController.
|
77632 |
+
*
|
77633 |
+
* @returns {ResizeObserverController}
|
77634 |
+
*/
|
77635 |
+
ResizeObserverController.getInstance = function () {
|
77636 |
+
if (!this.instance_) {
|
77637 |
+
this.instance_ = new ResizeObserverController();
|
77638 |
+
}
|
77639 |
+
return this.instance_;
|
77640 |
+
};
|
77641 |
+
/**
|
77642 |
+
* Holds reference to the controller's instance.
|
77643 |
+
*
|
77644 |
+
* @private {ResizeObserverController}
|
77645 |
+
*/
|
77646 |
+
ResizeObserverController.instance_ = null;
|
77647 |
+
return ResizeObserverController;
|
77648 |
}());
|
77649 |
|
77650 |
+
/**
|
77651 |
+
* Defines non-writable/enumerable properties of the provided target object.
|
77652 |
+
*
|
77653 |
+
* @param {Object} target - Object for which to define properties.
|
77654 |
+
* @param {Object} props - Properties to be defined.
|
77655 |
+
* @returns {Object} Target object.
|
77656 |
+
*/
|
77657 |
+
var defineConfigurable = (function (target, props) {
|
77658 |
+
for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {
|
77659 |
+
var key = _a[_i];
|
77660 |
+
Object.defineProperty(target, key, {
|
77661 |
+
value: props[key],
|
77662 |
+
enumerable: false,
|
77663 |
+
writable: false,
|
77664 |
+
configurable: true
|
77665 |
+
});
|
77666 |
+
}
|
77667 |
+
return target;
|
77668 |
});
|
77669 |
|
77670 |
+
/**
|
77671 |
+
* Returns the global object associated with provided element.
|
77672 |
+
*
|
77673 |
+
* @param {Object} target
|
77674 |
+
* @returns {Object}
|
77675 |
+
*/
|
77676 |
+
var getWindowOf = (function (target) {
|
77677 |
+
// Assume that the element is an instance of Node, which means that it
|
77678 |
+
// has the "ownerDocument" property from which we can retrieve a
|
77679 |
+
// corresponding global object.
|
77680 |
+
var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;
|
77681 |
+
// Return the local global object if it's not possible extract one from
|
77682 |
+
// provided element.
|
77683 |
+
return ownerGlobal || global$1;
|
77684 |
});
|
77685 |
|
77686 |
+
// Placeholder of an empty content rectangle.
|
77687 |
+
var emptyRect = createRectInit(0, 0, 0, 0);
|
77688 |
+
/**
|
77689 |
+
* Converts provided string to a number.
|
77690 |
+
*
|
77691 |
+
* @param {number|string} value
|
77692 |
+
* @returns {number}
|
77693 |
+
*/
|
77694 |
+
function toFloat(value) {
|
77695 |
+
return parseFloat(value) || 0;
|
77696 |
+
}
|
77697 |
+
/**
|
77698 |
+
* Extracts borders size from provided styles.
|
77699 |
+
*
|
77700 |
+
* @param {CSSStyleDeclaration} styles
|
77701 |
+
* @param {...string} positions - Borders positions (top, right, ...)
|
77702 |
+
* @returns {number}
|
77703 |
+
*/
|
77704 |
+
function getBordersSize(styles) {
|
77705 |
+
var positions = [];
|
77706 |
+
for (var _i = 1; _i < arguments.length; _i++) {
|
77707 |
+
positions[_i - 1] = arguments[_i];
|
77708 |
+
}
|
77709 |
+
return positions.reduce(function (size, position) {
|
77710 |
+
var value = styles['border-' + position + '-width'];
|
77711 |
+
return size + toFloat(value);
|
77712 |
+
}, 0);
|
77713 |
+
}
|
77714 |
+
/**
|
77715 |
+
* Extracts paddings sizes from provided styles.
|
77716 |
+
*
|
77717 |
+
* @param {CSSStyleDeclaration} styles
|
77718 |
+
* @returns {Object} Paddings box.
|
77719 |
+
*/
|
77720 |
+
function getPaddings(styles) {
|
77721 |
+
var positions = ['top', 'right', 'bottom', 'left'];
|
77722 |
+
var paddings = {};
|
77723 |
+
for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {
|
77724 |
+
var position = positions_1[_i];
|
77725 |
+
var value = styles['padding-' + position];
|
77726 |
+
paddings[position] = toFloat(value);
|
77727 |
+
}
|
77728 |
+
return paddings;
|
77729 |
+
}
|
77730 |
+
/**
|
77731 |
+
* Calculates content rectangle of provided SVG element.
|
77732 |
+
*
|
77733 |
+
* @param {SVGGraphicsElement} target - Element content rectangle of which needs
|
77734 |
+
* to be calculated.
|
77735 |
+
* @returns {DOMRectInit}
|
77736 |
+
*/
|
77737 |
+
function getSVGContentRect(target) {
|
77738 |
+
var bbox = target.getBBox();
|
77739 |
+
return createRectInit(0, 0, bbox.width, bbox.height);
|
77740 |
+
}
|
77741 |
+
/**
|
77742 |
+
* Calculates content rectangle of provided HTMLElement.
|
77743 |
+
*
|
77744 |
+
* @param {HTMLElement} target - Element for which to calculate the content rectangle.
|
77745 |
+
* @returns {DOMRectInit}
|
77746 |
+
*/
|
77747 |
+
function getHTMLElementContentRect(target) {
|
77748 |
+
// Client width & height properties can't be
|
77749 |
+
// used exclusively as they provide rounded values.
|
77750 |
+
var clientWidth = target.clientWidth, clientHeight = target.clientHeight;
|
77751 |
+
// By this condition we can catch all non-replaced inline, hidden and
|
77752 |
+
// detached elements. Though elements with width & height properties less
|
77753 |
+
// than 0.5 will be discarded as well.
|
77754 |
+
//
|
77755 |
+
// Without it we would need to implement separate methods for each of
|
77756 |
+
// those cases and it's not possible to perform a precise and performance
|
77757 |
+
// effective test for hidden elements. E.g. even jQuery's ':visible' filter
|
77758 |
+
// gives wrong results for elements with width & height less than 0.5.
|
77759 |
+
if (!clientWidth && !clientHeight) {
|
77760 |
+
return emptyRect;
|
77761 |
+
}
|
77762 |
+
var styles = getWindowOf(target).getComputedStyle(target);
|
77763 |
+
var paddings = getPaddings(styles);
|
77764 |
+
var horizPad = paddings.left + paddings.right;
|
77765 |
+
var vertPad = paddings.top + paddings.bottom;
|
77766 |
+
// Computed styles of width & height are being used because they are the
|
77767 |
+
// only dimensions available to JS that contain non-rounded values. It could
|
77768 |
+
// be possible to utilize the getBoundingClientRect if only it's data wasn't
|
77769 |
+
// affected by CSS transformations let alone paddings, borders and scroll bars.
|
77770 |
+
var width = toFloat(styles.width), height = toFloat(styles.height);
|
77771 |
+
// Width & height include paddings and borders when the 'border-box' box
|
77772 |
+
// model is applied (except for IE).
|
77773 |
+
if (styles.boxSizing === 'border-box') {
|
77774 |
+
// Following conditions are required to handle Internet Explorer which
|
77775 |
+
// doesn't include paddings and borders to computed CSS dimensions.
|
77776 |
+
//
|
77777 |
+
// We can say that if CSS dimensions + paddings are equal to the "client"
|
77778 |
+
// properties then it's either IE, and thus we don't need to subtract
|
77779 |
+
// anything, or an element merely doesn't have paddings/borders styles.
|
77780 |
+
if (Math.round(width + horizPad) !== clientWidth) {
|
77781 |
+
width -= getBordersSize(styles, 'left', 'right') + horizPad;
|
77782 |
+
}
|
77783 |
+
if (Math.round(height + vertPad) !== clientHeight) {
|
77784 |
+
height -= getBordersSize(styles, 'top', 'bottom') + vertPad;
|
77785 |
+
}
|
77786 |
+
}
|
77787 |
+
// Following steps can't be applied to the document's root element as its
|
77788 |
+
// client[Width/Height] properties represent viewport area of the window.
|
77789 |
+
// Besides, it's as well not necessary as the <html> itself neither has
|
77790 |
+
// rendered scroll bars nor it can be clipped.
|
77791 |
+
if (!isDocumentElement(target)) {
|
77792 |
+
// In some browsers (only in Firefox, actually) CSS width & height
|
77793 |
+
// include scroll bars size which can be removed at this step as scroll
|
77794 |
+
// bars are the only difference between rounded dimensions + paddings
|
77795 |
+
// and "client" properties, though that is not always true in Chrome.
|
77796 |
+
var vertScrollbar = Math.round(width + horizPad) - clientWidth;
|
77797 |
+
var horizScrollbar = Math.round(height + vertPad) - clientHeight;
|
77798 |
+
// Chrome has a rather weird rounding of "client" properties.
|
77799 |
+
// E.g. for an element with content width of 314.2px it sometimes gives
|
77800 |
+
// the client width of 315px and for the width of 314.7px it may give
|
77801 |
+
// 314px. And it doesn't happen all the time. So just ignore this delta
|
77802 |
+
// as a non-relevant.
|
77803 |
+
if (Math.abs(vertScrollbar) !== 1) {
|
77804 |
+
width -= vertScrollbar;
|
77805 |
+
}
|
77806 |
+
if (Math.abs(horizScrollbar) !== 1) {
|
77807 |
+
height -= horizScrollbar;
|
77808 |
+
}
|
77809 |
+
}
|
77810 |
+
return createRectInit(paddings.left, paddings.top, width, height);
|
77811 |
+
}
|
77812 |
+
/**
|
77813 |
+
* Checks whether provided element is an instance of the SVGGraphicsElement.
|
77814 |
+
*
|
77815 |
+
* @param {Element} target - Element to be checked.
|
77816 |
+
* @returns {boolean}
|
77817 |
+
*/
|
77818 |
+
var isSVGGraphicsElement = (function () {
|
77819 |
+
// Some browsers, namely IE and Edge, don't have the SVGGraphicsElement
|
77820 |
+
// interface.
|
77821 |
+
if (typeof SVGGraphicsElement !== 'undefined') {
|
77822 |
+
return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };
|
77823 |
+
}
|
77824 |
+
// If it's so, then check that element is at least an instance of the
|
77825 |
+
// SVGElement and that it has the "getBBox" method.
|
77826 |
+
// eslint-disable-next-line no-extra-parens
|
77827 |
+
return function (target) { return (target instanceof getWindowOf(target).SVGElement &&
|
77828 |
+
typeof target.getBBox === 'function'); };
|
77829 |
+
})();
|
77830 |
+
/**
|
77831 |
+
* Checks whether provided element is a document element (<html>).
|
77832 |
+
*
|
77833 |
+
* @param {Element} target - Element to be checked.
|
77834 |
+
* @returns {boolean}
|
77835 |
+
*/
|
77836 |
+
function isDocumentElement(target) {
|
77837 |
+
return target === getWindowOf(target).document.documentElement;
|
77838 |
+
}
|
77839 |
+
/**
|
77840 |
+
* Calculates an appropriate content rectangle for provided html or svg element.
|
77841 |
+
*
|
77842 |
+
* @param {Element} target - Element content rectangle of which needs to be calculated.
|
77843 |
+
* @returns {DOMRectInit}
|
77844 |
+
*/
|
77845 |
+
function getContentRect(target) {
|
77846 |
+
if (!isBrowser) {
|
77847 |
+
return emptyRect;
|
77848 |
+
}
|
77849 |
+
if (isSVGGraphicsElement(target)) {
|
77850 |
+
return getSVGContentRect(target);
|
77851 |
+
}
|
77852 |
+
return getHTMLElementContentRect(target);
|
77853 |
+
}
|
77854 |
+
/**
|
77855 |
+
* Creates rectangle with an interface of the DOMRectReadOnly.
|
77856 |
+
* Spec: https://drafts.fxtf.org/geometry/#domrectreadonly
|
77857 |
+
*
|
77858 |
+
* @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.
|
77859 |
+
* @returns {DOMRectReadOnly}
|
77860 |
+
*/
|
77861 |
+
function createReadOnlyRect(_a) {
|
77862 |
+
var x = _a.x, y = _a.y, width = _a.width, height = _a.height;
|
77863 |
+
// If DOMRectReadOnly is available use it as a prototype for the rectangle.
|
77864 |
+
var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;
|
77865 |
+
var rect = Object.create(Constr.prototype);
|
77866 |
+
// Rectangle's properties are not writable and non-enumerable.
|
77867 |
+
defineConfigurable(rect, {
|
77868 |
+
x: x, y: y, width: width, height: height,
|
77869 |
+
top: y,
|
77870 |
+
right: x + width,
|
77871 |
+
bottom: height + y,
|
77872 |
+
left: x
|
77873 |
+
});
|
77874 |
+
return rect;
|
77875 |
+
}
|
77876 |
+
/**
|
77877 |
+
* Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.
|
77878 |
+
* Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit
|
77879 |
+
*
|
77880 |
+
* @param {number} x - X coordinate.
|
77881 |
+
* @param {number} y - Y coordinate.
|
77882 |
+
* @param {number} width - Rectangle's width.
|
77883 |
+
* @param {number} height - Rectangle's height.
|
77884 |
+
* @returns {DOMRectInit}
|
77885 |
+
*/
|
77886 |
+
function createRectInit(x, y, width, height) {
|
77887 |
+
return { x: x, y: y, width: width, height: height };
|
77888 |
+
}
|
77889 |
+
|
77890 |
+
/**
|
77891 |
+
* Class that is responsible for computations of the content rectangle of
|
77892 |
+
* provided DOM element and for keeping track of it's changes.
|
77893 |
+
*/
|
77894 |
+
var ResizeObservation = /** @class */ (function () {
|
77895 |
+
/**
|
77896 |
+
* Creates an instance of ResizeObservation.
|
77897 |
+
*
|
77898 |
+
* @param {Element} target - Element to be observed.
|
77899 |
+
*/
|
77900 |
+
function ResizeObservation(target) {
|
77901 |
+
/**
|
77902 |
+
* Broadcasted width of content rectangle.
|
77903 |
+
*
|
77904 |
+
* @type {number}
|
77905 |
+
*/
|
77906 |
+
this.broadcastWidth = 0;
|
77907 |
+
/**
|
77908 |
+
* Broadcasted height of content rectangle.
|
77909 |
+
*
|
77910 |
+
* @type {number}
|
77911 |
+
*/
|
77912 |
+
this.broadcastHeight = 0;
|
77913 |
+
/**
|
77914 |
+
* Reference to the last observed content rectangle.
|
77915 |
+
*
|
77916 |
+
* @private {DOMRectInit}
|
77917 |
+
*/
|
77918 |
+
this.contentRect_ = createRectInit(0, 0, 0, 0);
|
77919 |
+
this.target = target;
|
77920 |
+
}
|
77921 |
+
/**
|
77922 |
+
* Updates content rectangle and tells whether it's width or height properties
|
77923 |
+
* have changed since the last broadcast.
|
77924 |
+
*
|
77925 |
+
* @returns {boolean}
|
77926 |
+
*/
|
77927 |
+
ResizeObservation.prototype.isActive = function () {
|
77928 |
+
var rect = getContentRect(this.target);
|
77929 |
+
this.contentRect_ = rect;
|
77930 |
+
return (rect.width !== this.broadcastWidth ||
|
77931 |
+
rect.height !== this.broadcastHeight);
|
77932 |
+
};
|
77933 |
+
/**
|
77934 |
+
* Updates 'broadcastWidth' and 'broadcastHeight' properties with a data
|
77935 |
+
* from the corresponding properties of the last observed content rectangle.
|
77936 |
+
*
|
77937 |
+
* @returns {DOMRectInit} Last observed content rectangle.
|
77938 |
+
*/
|
77939 |
+
ResizeObservation.prototype.broadcastRect = function () {
|
77940 |
+
var rect = this.contentRect_;
|
77941 |
+
this.broadcastWidth = rect.width;
|
77942 |
+
this.broadcastHeight = rect.height;
|
77943 |
+
return rect;
|
77944 |
+
};
|
77945 |
+
return ResizeObservation;
|
77946 |
}());
|
77947 |
|
77948 |
+
var ResizeObserverEntry = /** @class */ (function () {
|
77949 |
+
/**
|
77950 |
+
* Creates an instance of ResizeObserverEntry.
|
77951 |
+
*
|
77952 |
+
* @param {Element} target - Element that is being observed.
|
77953 |
+
* @param {DOMRectInit} rectInit - Data of the element's content rectangle.
|
77954 |
+
*/
|
77955 |
+
function ResizeObserverEntry(target, rectInit) {
|
77956 |
+
var contentRect = createReadOnlyRect(rectInit);
|
77957 |
+
// According to the specification following properties are not writable
|
77958 |
+
// and are also not enumerable in the native implementation.
|
77959 |
+
//
|
77960 |
+
// Property accessors are not being used as they'd require to define a
|
77961 |
+
// private WeakMap storage which may cause memory leaks in browsers that
|
77962 |
+
// don't support this type of collections.
|
77963 |
+
defineConfigurable(this, { target: target, contentRect: contentRect });
|
77964 |
+
}
|
77965 |
+
return ResizeObserverEntry;
|
77966 |
}());
|
77967 |
|
77968 |
+
var ResizeObserverSPI = /** @class */ (function () {
|
77969 |
+
/**
|
77970 |
+
* Creates a new instance of ResizeObserver.
|
77971 |
+
*
|
77972 |
+
* @param {ResizeObserverCallback} callback - Callback function that is invoked
|
77973 |
+
* when one of the observed elements changes it's content dimensions.
|
77974 |
+
* @param {ResizeObserverController} controller - Controller instance which
|
77975 |
+
* is responsible for the updates of observer.
|
77976 |
+
* @param {ResizeObserver} callbackCtx - Reference to the public
|
77977 |
+
* ResizeObserver instance which will be passed to callback function.
|
77978 |
+
*/
|
77979 |
+
function ResizeObserverSPI(callback, controller, callbackCtx) {
|
77980 |
+
/**
|
77981 |
+
* Collection of resize observations that have detected changes in dimensions
|
77982 |
+
* of elements.
|
77983 |
+
*
|
77984 |
+
* @private {Array<ResizeObservation>}
|
77985 |
+
*/
|
77986 |
+
this.activeObservations_ = [];
|
77987 |
+
/**
|
77988 |
+
* Registry of the ResizeObservation instances.
|
77989 |
+
*
|
77990 |
+
* @private {Map<Element, ResizeObservation>}
|
77991 |
+
*/
|
77992 |
+
this.observations_ = new MapShim();
|
77993 |
+
if (typeof callback !== 'function') {
|
77994 |
+
throw new TypeError('The callback provided as parameter 1 is not a function.');
|
77995 |
+
}
|
77996 |
+
this.callback_ = callback;
|
77997 |
+
this.controller_ = controller;
|
77998 |
+
this.callbackCtx_ = callbackCtx;
|
77999 |
+
}
|
78000 |
+
/**
|
78001 |
+
* Starts observing provided element.
|
78002 |
+
*
|
78003 |
+
* @param {Element} target - Element to be observed.
|
78004 |
+
* @returns {void}
|
78005 |
+
*/
|
78006 |
+
ResizeObserverSPI.prototype.observe = function (target) {
|
78007 |
+
if (!arguments.length) {
|
78008 |
+
throw new TypeError('1 argument required, but only 0 present.');
|
78009 |
+
}
|
78010 |
+
// Do nothing if current environment doesn't have the Element interface.
|
78011 |
+
if (typeof Element === 'undefined' || !(Element instanceof Object)) {
|
78012 |
+
return;
|
78013 |
+
}
|
78014 |
+
if (!(target instanceof getWindowOf(target).Element)) {
|
78015 |
+
throw new TypeError('parameter 1 is not of type "Element".');
|
78016 |
+
}
|
78017 |
+
var observations = this.observations_;
|
78018 |
+
// Do nothing if element is already being observed.
|
78019 |
+
if (observations.has(target)) {
|
78020 |
+
return;
|
78021 |
+
}
|
78022 |
+
observations.set(target, new ResizeObservation(target));
|
78023 |
+
this.controller_.addObserver(this);
|
78024 |
+
// Force the update of observations.
|
78025 |
+
this.controller_.refresh();
|
78026 |
+
};
|
78027 |
+
/**
|
78028 |
+
* Stops observing provided element.
|
78029 |
+
*
|
78030 |
+
* @param {Element} target - Element to stop observing.
|
78031 |
+
* @returns {void}
|
78032 |
+
*/
|
78033 |
+
ResizeObserverSPI.prototype.unobserve = function (target) {
|
78034 |
+
if (!arguments.length) {
|
78035 |
+
throw new TypeError('1 argument required, but only 0 present.');
|
78036 |
+
}
|
78037 |
+
// Do nothing if current environment doesn't have the Element interface.
|
78038 |
+
if (typeof Element === 'undefined' || !(Element instanceof Object)) {
|
78039 |
+
return;
|
78040 |
+
}
|
78041 |
+
if (!(target instanceof getWindowOf(target).Element)) {
|
78042 |
+
throw new TypeError('parameter 1 is not of type "Element".');
|
78043 |
+
}
|
78044 |
+
var observations = this.observations_;
|
78045 |
+
// Do nothing if element is not being observed.
|
78046 |
+
if (!observations.has(target)) {
|
78047 |
+
return;
|
78048 |
+
}
|
78049 |
+
observations.delete(target);
|
78050 |
+
if (!observations.size) {
|
78051 |
+
this.controller_.removeObserver(this);
|
78052 |
+
}
|
78053 |
+
};
|
78054 |
+
/**
|
78055 |
+
* Stops observing all elements.
|
78056 |
+
*
|
78057 |
+
* @returns {void}
|
78058 |
+
*/
|
78059 |
+
ResizeObserverSPI.prototype.disconnect = function () {
|
78060 |
+
this.clearActive();
|
78061 |
+
this.observations_.clear();
|
78062 |
+
this.controller_.removeObserver(this);
|
78063 |
+
};
|
78064 |
+
/**
|
78065 |
+
* Collects observation instances the associated element of which has changed
|
78066 |
+
* it's content rectangle.
|
78067 |
+
*
|
78068 |
+
* @returns {void}
|
78069 |
+
*/
|
78070 |
+
ResizeObserverSPI.prototype.gatherActive = function () {
|
78071 |
+
var _this = this;
|
78072 |
+
this.clearActive();
|
78073 |
+
this.observations_.forEach(function (observation) {
|
78074 |
+
if (observation.isActive()) {
|
78075 |
+
_this.activeObservations_.push(observation);
|
78076 |
+
}
|
78077 |
+
});
|
78078 |
+
};
|
78079 |
+
/**
|
78080 |
+
* Invokes initial callback function with a list of ResizeObserverEntry
|
78081 |
+
* instances collected from active resize observations.
|
78082 |
+
*
|
78083 |
+
* @returns {void}
|
78084 |
+
*/
|
78085 |
+
ResizeObserverSPI.prototype.broadcastActive = function () {
|
78086 |
+
// Do nothing if observer doesn't have active observations.
|
78087 |
+
if (!this.hasActive()) {
|
78088 |
+
return;
|
78089 |
+
}
|
78090 |
+
var ctx = this.callbackCtx_;
|
78091 |
+
// Create ResizeObserverEntry instance for every active observation.
|
78092 |
+
var entries = this.activeObservations_.map(function (observation) {
|
78093 |
+
return new ResizeObserverEntry(observation.target, observation.broadcastRect());
|
78094 |
+
});
|
78095 |
+
this.callback_.call(ctx, entries, ctx);
|
78096 |
+
this.clearActive();
|
78097 |
+
};
|
78098 |
+
/**
|
78099 |
+
* Clears the collection of active observations.
|
78100 |
+
*
|
78101 |
+
* @returns {void}
|
78102 |
+
*/
|
78103 |
+
ResizeObserverSPI.prototype.clearActive = function () {
|
78104 |
+
this.activeObservations_.splice(0);
|
78105 |
+
};
|
78106 |
+
/**
|
78107 |
+
* Tells whether observer has active observations.
|
78108 |
+
*
|
78109 |
+
* @returns {boolean}
|
78110 |
+
*/
|
78111 |
+
ResizeObserverSPI.prototype.hasActive = function () {
|
78112 |
+
return this.activeObservations_.length > 0;
|
78113 |
+
};
|
78114 |
+
return ResizeObserverSPI;
|
78115 |
}());
|
78116 |
|
78117 |
+
// Registry of internal observers. If WeakMap is not available use current shim
|
78118 |
+
// for the Map collection as it has all required methods and because WeakMap
|
78119 |
+
// can't be fully polyfilled anyway.
|
78120 |
+
var observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();
|
78121 |
+
/**
|
78122 |
+
* ResizeObserver API. Encapsulates the ResizeObserver SPI implementation
|
78123 |
+
* exposing only those methods and properties that are defined in the spec.
|
78124 |
+
*/
|
78125 |
+
var ResizeObserver = /** @class */ (function () {
|
78126 |
+
/**
|
78127 |
+
* Creates a new instance of ResizeObserver.
|
78128 |
+
*
|
78129 |
+
* @param {ResizeObserverCallback} callback - Callback that is invoked when
|
78130 |
+
* dimensions of the observed elements change.
|
78131 |
+
*/
|
78132 |
+
function ResizeObserver(callback) {
|
78133 |
+
if (!(this instanceof ResizeObserver)) {
|
78134 |
+
throw new TypeError('Cannot call a class as a function.');
|
78135 |
+
}
|
78136 |
+
if (!arguments.length) {
|
78137 |
+
throw new TypeError('1 argument required, but only 0 present.');
|
78138 |
+
}
|
78139 |
+
var controller = ResizeObserverController.getInstance();
|
78140 |
+
var observer = new ResizeObserverSPI(callback, controller, this);
|
78141 |
+
observers.set(this, observer);
|
78142 |
+
}
|
78143 |
+
return ResizeObserver;
|
78144 |
+
}());
|
78145 |
+
// Expose public methods of ResizeObserver.
|
78146 |
+
[
|
78147 |
+
'observe',
|
78148 |
+
'unobserve',
|
78149 |
+
'disconnect'
|
78150 |
+
].forEach(function (method) {
|
78151 |
+
ResizeObserver.prototype[method] = function () {
|
78152 |
+
var _a;
|
78153 |
+
return (_a = observers.get(this))[method].apply(_a, arguments);
|
78154 |
+
};
|
78155 |
});
|
78156 |
|
78157 |
+
var index = (function () {
|
78158 |
+
// Export existing implementation if available.
|
78159 |
+
if (typeof global$1.ResizeObserver !== 'undefined') {
|
78160 |
+
return global$1.ResizeObserver;
|
78161 |
+
}
|
78162 |
+
return ResizeObserver;
|
78163 |
})();
|
78164 |
|
78165 |
/* harmony default export */ __webpack_exports__["default"] = (index);
|
78644 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
78645 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 476);
|
78646 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
78647 |
+
/**
|
78648 |
+
* BLOCK: Post Title
|
78649 |
*/
|
78650 |
|
78651 |
// Import block dependencies and components
|
78736 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
78737 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 479);
|
78738 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
78739 |
+
/**
|
78740 |
+
* BLOCK: Post Image
|
78741 |
*/
|
78742 |
|
78743 |
// Import block dependencies and components
|
78811 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
78812 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 482);
|
78813 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
|
78814 |
+
/**
|
78815 |
+
* BLOCK: Post Button
|
78816 |
*/
|
78817 |
|
78818 |
// Import block dependencies and components
|
78888 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
78889 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(/*! ./style.scss */ 485);
|
78890 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
|
78891 |
+
/**
|
78892 |
+
* BLOCK: Post Excerpt
|
78893 |
*/
|
78894 |
|
78895 |
// Import block dependencies and components
|
78966 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
|
78967 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 489);
|
78968 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__editor_scss__);
|
78969 |
+
/**
|
78970 |
+
* BLOCK: Post Meta
|
78971 |
*/
|
78972 |
|
78973 |
// Import block dependencies and components
|
79082 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__save__ = __webpack_require__(/*! ./save */ 495);
|
79083 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__deprecated__ = __webpack_require__(/*! ./deprecated */ 496);
|
79084 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 197);
|
79085 |
+
/**
|
79086 |
+
* BLOCK: Section
|
79087 |
*/
|
79088 |
|
79089 |
|
79105 |
description: uagb_blocks_info.blocks["uagb/section"]["description"],
|
79106 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].section,
|
79107 |
category: uagb_blocks_info.category,
|
79108 |
+
keywords: [__("section", 'ultimate-addons-for-gutenberg'), __("wrapper", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
79109 |
supports: {
|
79110 |
anchor: true
|
79111 |
},
|
79171 |
|
79172 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
79173 |
|
79174 |
+
/**
|
79175 |
+
* BLOCK: UAGB - Section Edit Class
|
79176 |
*/
|
79177 |
|
79178 |
// Import classes
|
79244 |
document.head.appendChild($style);
|
79245 |
}
|
79246 |
|
79247 |
+
/*
|
79248 |
+
* Event to set Image as null while removing.
|
79249 |
*/
|
79250 |
|
79251 |
}, {
|
79257 |
setAttributes({ backgroundImage: null });
|
79258 |
}
|
79259 |
|
79260 |
+
/*
|
79261 |
+
* Event to set Image as while adding.
|
79262 |
*/
|
79263 |
|
79264 |
}, {
|
79279 |
setAttributes({ backgroundImage: media });
|
79280 |
}
|
79281 |
|
79282 |
+
/*
|
79283 |
+
* Event to set Video as null while removing.
|
79284 |
*/
|
79285 |
|
79286 |
}, {
|
79292 |
setAttributes({ backgroundVideo: null });
|
79293 |
}
|
79294 |
|
79295 |
+
/*
|
79296 |
+
* Event to set Video while adding.
|
79297 |
*/
|
79298 |
|
79299 |
}, {
|
79430 |
null,
|
79431 |
wp.element.createElement(
|
79432 |
PanelBody,
|
79433 |
+
{ title: __("Layout", 'ultimate-addons-for-gutenberg') },
|
79434 |
wp.element.createElement(SelectControl, {
|
79435 |
+
label: __("Content Width", 'ultimate-addons-for-gutenberg'),
|
79436 |
value: contentWidth,
|
79437 |
onChange: function onChange(value) {
|
79438 |
return setAttributes({ contentWidth: value });
|
79439 |
},
|
79440 |
+
options: [{ value: "boxed", label: __("Boxed", 'ultimate-addons-for-gutenberg') }, { value: "full_width", label: __("Full Width", 'ultimate-addons-for-gutenberg') }]
|
79441 |
}),
|
79442 |
contentWidth == "boxed" && wp.element.createElement(RangeControl, {
|
79443 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
79444 |
value: width,
|
79445 |
min: 0,
|
79446 |
max: 2000,
|
79449 |
}
|
79450 |
}),
|
79451 |
contentWidth != "boxed" && wp.element.createElement(ToggleControl, {
|
79452 |
+
label: __("Inherit Inner Width from Theme", 'ultimate-addons-for-gutenberg'),
|
79453 |
checked: themeWidth,
|
79454 |
onChange: function onChange(value) {
|
79455 |
return setAttributes({ themeWidth: !themeWidth });
|
79460 |
null,
|
79461 |
wp.element.createElement(
|
79462 |
ButtonGroup,
|
79463 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
79464 |
wp.element.createElement(
|
79465 |
Button,
|
79466 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: innerWidthType === "px", "aria-pressed": innerWidthType === "px", onClick: function onClick() {
|
79477 |
)
|
79478 |
),
|
79479 |
wp.element.createElement(RangeControl, {
|
79480 |
+
label: __("Inner Width", 'ultimate-addons-for-gutenberg'),
|
79481 |
value: innerWidth,
|
79482 |
min: 0,
|
79483 |
max: 2000,
|
79487 |
})
|
79488 |
),
|
79489 |
wp.element.createElement(SelectControl, {
|
79490 |
+
label: __("HTML Tag", 'ultimate-addons-for-gutenberg'),
|
79491 |
value: tag,
|
79492 |
onChange: function onChange(value) {
|
79493 |
return setAttributes({ tag: value });
|
79494 |
},
|
79495 |
+
options: [{ value: "div", label: __("div", 'ultimate-addons-for-gutenberg') }, { value: "header", label: __("header", 'ultimate-addons-for-gutenberg') }, { value: "footer", label: __("footer", 'ultimate-addons-for-gutenberg') }, { value: "main", label: __("main", 'ultimate-addons-for-gutenberg') }, { value: "article", label: __("article", 'ultimate-addons-for-gutenberg') }, { value: "section", label: __("section", 'ultimate-addons-for-gutenberg') }, { value: "aside", label: __("aside", 'ultimate-addons-for-gutenberg') }, { value: "nav", label: __("nav", 'ultimate-addons-for-gutenberg') }]
|
79496 |
})
|
79497 |
),
|
79498 |
wp.element.createElement(
|
79499 |
PanelBody,
|
79500 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
79501 |
wp.element.createElement(
|
79502 |
TabPanel,
|
79503 |
{ className: "uagb-size-type-field-tabs uagb-size-type-field__common-tabs uagb-inline-margin", activeClass: "active-tab",
|
79523 |
null,
|
79524 |
wp.element.createElement(
|
79525 |
ButtonGroup,
|
79526 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
79527 |
wp.element.createElement(
|
79528 |
Button,
|
79529 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobilePaddingType === "px", "aria-pressed": mobilePaddingType === "px", onClick: function onClick() {
|
79595 |
null,
|
79596 |
wp.element.createElement(
|
79597 |
ButtonGroup,
|
79598 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
79599 |
wp.element.createElement(
|
79600 |
Button,
|
79601 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletPaddingType === "px", "aria-pressed": tabletPaddingType === "px", onClick: function onClick() {
|
79614 |
wp.element.createElement(
|
79615 |
"h2",
|
79616 |
null,
|
79617 |
+
__("Padding Tablet", 'ultimate-addons-for-gutenberg')
|
79618 |
),
|
79619 |
wp.element.createElement(RangeControl, {
|
79620 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
79667 |
null,
|
79668 |
wp.element.createElement(
|
79669 |
ButtonGroup,
|
79670 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
79671 |
wp.element.createElement(
|
79672 |
Button,
|
79673 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: desktopPaddingType === "px", "aria-pressed": desktopPaddingType === "px", onClick: function onClick() {
|
79686 |
wp.element.createElement(
|
79687 |
"h2",
|
79688 |
null,
|
79689 |
+
__("Padding", 'ultimate-addons-for-gutenberg')
|
79690 |
),
|
79691 |
wp.element.createElement(RangeControl, {
|
79692 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
79768 |
null,
|
79769 |
wp.element.createElement(
|
79770 |
ButtonGroup,
|
79771 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
79772 |
wp.element.createElement(
|
79773 |
Button,
|
79774 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobileMarginType === "px", "aria-pressed": mobileMarginType === "px", onClick: function onClick() {
|
79787 |
wp.element.createElement(
|
79788 |
"h2",
|
79789 |
null,
|
79790 |
+
__("Margin Mobile", 'ultimate-addons-for-gutenberg')
|
79791 |
),
|
79792 |
wp.element.createElement(RangeControl, {
|
79793 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
79840 |
null,
|
79841 |
wp.element.createElement(
|
79842 |
ButtonGroup,
|
79843 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
79844 |
wp.element.createElement(
|
79845 |
Button,
|
79846 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletMarginType === "px", "aria-pressed": tabletMarginType === "px", onClick: function onClick() {
|
79859 |
wp.element.createElement(
|
79860 |
"h2",
|
79861 |
null,
|
79862 |
+
__("Margin Tablet", 'ultimate-addons-for-gutenberg')
|
79863 |
),
|
79864 |
wp.element.createElement(RangeControl, {
|
79865 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
79912 |
null,
|
79913 |
wp.element.createElement(
|
79914 |
ButtonGroup,
|
79915 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
79916 |
wp.element.createElement(
|
79917 |
Button,
|
79918 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: desktopMarginType === "px", "aria-pressed": desktopMarginType === "px", onClick: function onClick() {
|
79931 |
wp.element.createElement(
|
79932 |
"h2",
|
79933 |
null,
|
79934 |
+
__("Margin", 'ultimate-addons-for-gutenberg')
|
79935 |
),
|
79936 |
wp.element.createElement(RangeControl, {
|
79937 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
79990 |
),
|
79991 |
wp.element.createElement(
|
79992 |
PanelBody,
|
79993 |
+
{ title: __("Background", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
79994 |
wp.element.createElement(SelectControl, {
|
79995 |
+
label: __("Background Type", 'ultimate-addons-for-gutenberg'),
|
79996 |
value: backgroundType,
|
79997 |
onChange: function onChange(value) {
|
79998 |
return setAttributes({ backgroundType: value });
|
79999 |
},
|
80000 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "color", label: __("Color", 'ultimate-addons-for-gutenberg') }, { value: "gradient", label: __("Gradient", 'ultimate-addons-for-gutenberg') }, { value: "image", label: __("Image", 'ultimate-addons-for-gutenberg') }, { value: "video", label: __("Video", 'ultimate-addons-for-gutenberg') }]
|
80001 |
}),
|
80002 |
"color" == backgroundType && wp.element.createElement(
|
80003 |
Fragment,
|
80005 |
wp.element.createElement(
|
80006 |
"p",
|
80007 |
{ className: "uagb-setting-label" },
|
80008 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
80009 |
wp.element.createElement(
|
80010 |
"span",
|
80011 |
{ className: "components-base-control__label" },
|
80027 |
BaseControl,
|
80028 |
{
|
80029 |
className: "editor-bg-image-control",
|
80030 |
+
label: __("Background Image", 'ultimate-addons-for-gutenberg') },
|
80031 |
wp.element.createElement(MediaUpload, {
|
80032 |
+
title: __("Select Background Image", 'ultimate-addons-for-gutenberg'),
|
80033 |
onSelect: this.onSelectImage,
|
80034 |
allowedTypes: ["image"],
|
80035 |
value: backgroundImage,
|
80038 |
return wp.element.createElement(
|
80039 |
Button,
|
80040 |
{ isDefault: true, onClick: open },
|
80041 |
+
!backgroundImage ? __("Select Background Image", 'ultimate-addons-for-gutenberg') : __("Replace image", 'ultimate-addons-for-gutenberg')
|
80042 |
);
|
80043 |
}
|
80044 |
}),
|
80052 |
Fragment,
|
80053 |
null,
|
80054 |
wp.element.createElement(SelectControl, {
|
80055 |
+
label: __("Image Position", 'ultimate-addons-for-gutenberg'),
|
80056 |
value: backgroundPosition,
|
80057 |
onChange: function onChange(value) {
|
80058 |
return setAttributes({ backgroundPosition: value });
|
80059 |
},
|
80060 |
+
options: [{ value: "top-left", label: __("Top Left", 'ultimate-addons-for-gutenberg') }, { value: "top-center", label: __("Top Center", 'ultimate-addons-for-gutenberg') }, { value: "top-right", label: __("Top Right", 'ultimate-addons-for-gutenberg') }, { value: "center-left", label: __("Center Left", 'ultimate-addons-for-gutenberg') }, { value: "center-center", label: __("Center Center", 'ultimate-addons-for-gutenberg') }, { value: "center-right", label: __("Center Right", 'ultimate-addons-for-gutenberg') }, { value: "bottom-left", label: __("Bottom Left", 'ultimate-addons-for-gutenberg') }, { value: "bottom-center", label: __("Bottom Center", 'ultimate-addons-for-gutenberg') }, { value: "bottom-right", label: __("Bottom Right", 'ultimate-addons-for-gutenberg') }]
|
80061 |
}),
|
80062 |
wp.element.createElement(SelectControl, {
|
80063 |
+
label: __("Attachment", 'ultimate-addons-for-gutenberg'),
|
80064 |
value: backgroundAttachment,
|
80065 |
onChange: function onChange(value) {
|
80066 |
return setAttributes({ backgroundAttachment: value });
|
80067 |
},
|
80068 |
+
options: [{ value: "fixed", label: __("Fixed", 'ultimate-addons-for-gutenberg') }, { value: "scroll", label: __("Scroll", 'ultimate-addons-for-gutenberg') }]
|
80069 |
}),
|
80070 |
wp.element.createElement(SelectControl, {
|
80071 |
+
label: __("Repeat", 'ultimate-addons-for-gutenberg'),
|
80072 |
value: backgroundRepeat,
|
80073 |
onChange: function onChange(value) {
|
80074 |
return setAttributes({ backgroundRepeat: value });
|
80075 |
},
|
80076 |
+
options: [{ value: "no-repeat", label: __("No Repeat", 'ultimate-addons-for-gutenberg') }, { value: "repeat", label: __("Repeat", 'ultimate-addons-for-gutenberg') }, { value: "repeat-x", label: __("Repeat-x", 'ultimate-addons-for-gutenberg') }, { value: "repeat-y", label: __("Repeat-y", 'ultimate-addons-for-gutenberg') }]
|
80077 |
}),
|
80078 |
wp.element.createElement(SelectControl, {
|
80079 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
80080 |
value: backgroundSize,
|
80081 |
onChange: function onChange(value) {
|
80082 |
return setAttributes({ backgroundSize: value });
|
80083 |
},
|
80084 |
+
options: [{ value: "auto", label: __("Auto", 'ultimate-addons-for-gutenberg') }, { value: "cover", label: __("Cover", 'ultimate-addons-for-gutenberg') }, { value: "contain", label: __("Contain", 'ultimate-addons-for-gutenberg') }]
|
80085 |
}),
|
80086 |
wp.element.createElement(SelectControl, {
|
80087 |
+
label: __("Image Overlay Type", 'ultimate-addons-for-gutenberg'),
|
80088 |
value: overlayType,
|
80089 |
onChange: function onChange(value) {
|
80090 |
return setAttributes({ overlayType: value });
|
80091 |
},
|
80092 |
+
options: [{ value: "color", label: __("Color", 'ultimate-addons-for-gutenberg') }, { value: "gradient", label: __("Gradient", 'ultimate-addons-for-gutenberg') }]
|
80093 |
}),
|
80094 |
overlayType == 'color' && wp.element.createElement(
|
80095 |
Fragment,
|
80097 |
wp.element.createElement(
|
80098 |
"p",
|
80099 |
{ className: "uagb-setting-label" },
|
80100 |
+
__("Image Overlay Color", 'ultimate-addons-for-gutenberg'),
|
80101 |
wp.element.createElement(
|
80102 |
"span",
|
80103 |
{ className: "components-base-control__label" },
|
80118 |
wp.element.createElement(
|
80119 |
"p",
|
80120 |
{ className: "uagb-setting-label" },
|
80121 |
+
__("Color 1", 'ultimate-addons-for-gutenberg'),
|
80122 |
wp.element.createElement(
|
80123 |
"span",
|
80124 |
{ className: "components-base-control__label" },
|
80133 |
allowReset: true
|
80134 |
}),
|
80135 |
wp.element.createElement(RangeControl, {
|
80136 |
+
label: __("Location 1", 'ultimate-addons-for-gutenberg'),
|
80137 |
value: gradientOverlayLocation1,
|
80138 |
onChange: function onChange(value) {
|
80139 |
return setAttributes({ gradientOverlayLocation1: value });
|
80145 |
wp.element.createElement(
|
80146 |
"p",
|
80147 |
{ className: "uagb-setting-label" },
|
80148 |
+
__("Color 2", 'ultimate-addons-for-gutenberg'),
|
80149 |
wp.element.createElement(
|
80150 |
"span",
|
80151 |
{ className: "components-base-control__label" },
|
80160 |
allowReset: true
|
80161 |
}),
|
80162 |
wp.element.createElement(RangeControl, {
|
80163 |
+
label: __("Location 2", 'ultimate-addons-for-gutenberg'),
|
80164 |
value: gradientOverlayLocation2,
|
80165 |
onChange: function onChange(value) {
|
80166 |
return setAttributes({ gradientOverlayLocation2: value });
|
80170 |
allowReset: true
|
80171 |
}),
|
80172 |
wp.element.createElement(SelectControl, {
|
80173 |
+
label: __("Type", 'ultimate-addons-for-gutenberg'),
|
80174 |
value: gradientOverlayType,
|
80175 |
onChange: function onChange(value) {
|
80176 |
return setAttributes({ gradientOverlayType: value });
|
80177 |
},
|
80178 |
+
options: [{ value: "linear", label: __("Linear", 'ultimate-addons-for-gutenberg') }, { value: "radial", label: __("Radial", 'ultimate-addons-for-gutenberg') }]
|
80179 |
}),
|
80180 |
"linear" == gradientOverlayType && wp.element.createElement(RangeControl, {
|
80181 |
+
label: __("Angle", 'ultimate-addons-for-gutenberg'),
|
80182 |
value: gradientOverlayAngle,
|
80183 |
onChange: function onChange(value) {
|
80184 |
return setAttributes({ gradientOverlayAngle: value });
|
80188 |
allowReset: true
|
80189 |
}),
|
80190 |
"radial" == gradientOverlayType && wp.element.createElement(SelectControl, {
|
80191 |
+
label: __("Type", 'ultimate-addons-for-gutenberg'),
|
80192 |
value: gradientOverlayPosition,
|
80193 |
onChange: function onChange(value) {
|
80194 |
return setAttributes({ gradientOverlayPosition: value });
|
80195 |
},
|
80196 |
+
options: [{ value: "center center", label: __("Center Center", 'ultimate-addons-for-gutenberg') }, { value: "center left", label: __("Center Left", 'ultimate-addons-for-gutenberg') }, { value: "center right", label: __("Center Right", 'ultimate-addons-for-gutenberg') }, { value: "top center", label: __("Top Center", 'ultimate-addons-for-gutenberg') }, { value: "top left", label: __("Top Left", 'ultimate-addons-for-gutenberg') }, { value: "top right", label: __("Top Right", 'ultimate-addons-for-gutenberg') }, { value: "bottom center", label: __("Bottom Center", 'ultimate-addons-for-gutenberg') }, { value: "bottom left", label: __("Bottom Left", 'ultimate-addons-for-gutenberg') }, { value: "bottom right", label: __("Bottom Right", 'ultimate-addons-for-gutenberg') }]
|
80197 |
})
|
80198 |
)
|
80199 |
)
|
80207 |
BaseControl,
|
80208 |
{
|
80209 |
className: "editor-bg-video-control",
|
80210 |
+
label: __("Background Video", 'ultimate-addons-for-gutenberg')
|
80211 |
},
|
80212 |
wp.element.createElement(MediaUpload, {
|
80213 |
+
title: __("Select Background Video", 'ultimate-addons-for-gutenberg'),
|
80214 |
onSelect: this.onSelectVideo,
|
80215 |
allowedTypes: ["video"],
|
80216 |
value: backgroundVideo,
|
80219 |
return wp.element.createElement(
|
80220 |
Button,
|
80221 |
{ isDefault: true, onClick: open },
|
80222 |
+
!backgroundVideo ? __("Select Background Video", 'ultimate-addons-for-gutenberg') : __("Replace Video", 'ultimate-addons-for-gutenberg')
|
80223 |
);
|
80224 |
}
|
80225 |
}),
|
80230 |
)
|
80231 |
),
|
80232 |
("color" == backgroundType || "image" == backgroundType && backgroundImage || "gradient" == backgroundType) && wp.element.createElement(RangeControl, {
|
80233 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
80234 |
value: backgroundOpacity,
|
80235 |
onChange: function onChange(value) {
|
80236 |
return setAttributes({ backgroundOpacity: value });
|
80262 |
})
|
80263 |
),
|
80264 |
"video" == backgroundType && backgroundVideo && wp.element.createElement(RangeControl, {
|
80265 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
80266 |
value: backgroundVideoOpacity,
|
80267 |
onChange: function onChange(value) {
|
80268 |
return setAttributes({ backgroundVideoOpacity: value });
|
80275 |
),
|
80276 |
wp.element.createElement(
|
80277 |
PanelBody,
|
80278 |
+
{ title: __("Border", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
80279 |
wp.element.createElement(SelectControl, {
|
80280 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
80281 |
value: borderStyle,
|
80282 |
onChange: function onChange(value) {
|
80283 |
return setAttributes({ borderStyle: value });
|
80284 |
},
|
80285 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
80286 |
}),
|
80287 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
80288 |
+
label: __("Border Width", 'ultimate-addons-for-gutenberg'),
|
80289 |
value: borderWidth,
|
80290 |
onChange: function onChange(value) {
|
80291 |
return setAttributes({ borderWidth: value });
|
80295 |
allowReset: true
|
80296 |
}),
|
80297 |
wp.element.createElement(RangeControl, {
|
80298 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
80299 |
value: borderRadius,
|
80300 |
onChange: function onChange(value) {
|
80301 |
return setAttributes({ borderRadius: value });
|
80310 |
wp.element.createElement(
|
80311 |
"p",
|
80312 |
{ className: "uagb-setting-label" },
|
80313 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
80314 |
wp.element.createElement(
|
80315 |
"span",
|
80316 |
{ className: "components-base-control__label" },
|
80327 |
),
|
80328 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_box_shadow__["a" /* default */], {
|
80329 |
setAttributes: setAttributes,
|
80330 |
+
label: __("Box Shadow", 'ultimate-addons-for-gutenberg'),
|
80331 |
+
boxShadowColor: { value: boxShadowColor, label: __("Color", 'ultimate-addons-for-gutenberg') },
|
80332 |
+
boxShadowHOffset: { value: boxShadowHOffset, label: __("Horizontal", 'ultimate-addons-for-gutenberg') },
|
80333 |
+
boxShadowVOffset: { value: boxShadowVOffset, label: __("Vertical", 'ultimate-addons-for-gutenberg') },
|
80334 |
+
boxShadowBlur: { value: boxShadowBlur, label: __("Blur", 'ultimate-addons-for-gutenberg') },
|
80335 |
+
boxShadowSpread: { value: boxShadowSpread, label: __("Spread", 'ultimate-addons-for-gutenberg') },
|
80336 |
+
boxShadowPosition: { value: boxShadowPosition, label: __("Position", 'ultimate-addons-for-gutenberg') }
|
80337 |
|
80338 |
})
|
80339 |
)
|
80381 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 197);
|
80382 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
80383 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
80384 |
+
/**
|
80385 |
+
* Returns Dynamic Generated CSS
|
80386 |
*/
|
80387 |
|
80388 |
|
80595 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
80596 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
80597 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
80598 |
+
/**
|
80599 |
+
* BLOCK: Column - Save Block
|
80600 |
*/
|
80601 |
|
80602 |
// Import block dependencies and components.
|
80665 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
80666 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
80667 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 196);
|
80668 |
+
/**
|
80669 |
+
* BLOCK: Price List - Deprecated Block
|
80670 |
*/
|
80671 |
|
80672 |
// Import block dependencies and components.
|
80790 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
80791 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 504);
|
80792 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
80793 |
+
/**
|
80794 |
+
* BLOCK: Multi Buttons
|
80795 |
*/
|
80796 |
|
80797 |
|
80812 |
description: uagb_blocks_info.blocks["uagb/buttons"]["description"],
|
80813 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].buttons,
|
80814 |
category: uagb_blocks_info.category,
|
80815 |
+
keywords: [__("buttons", 'ultimate-addons-for-gutenberg'), __("multi buttons", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
80816 |
supports: {
|
80817 |
anchor: true
|
80818 |
},
|
80853 |
"use strict";
|
80854 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
80855 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
80856 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
80857 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
80858 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__styling__ = __webpack_require__(/*! ./styling */ 500);
|
80859 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_memize__ = __webpack_require__(/*! memize */ 19);
|
80868 |
|
80869 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
80870 |
|
80871 |
+
/**
|
80872 |
+
* BLOCK: Multi Buttons
|
80873 |
*/
|
80874 |
|
80875 |
|
80988 |
null,
|
80989 |
wp.element.createElement(
|
80990 |
PanelBody,
|
80991 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
80992 |
wp.element.createElement(
|
80993 |
BaseControl,
|
80994 |
null,
|
80995 |
wp.element.createElement(
|
80996 |
BaseControl.VisualLabel,
|
80997 |
null,
|
80998 |
+
__('Alignment', 'ultimate-addons-for-gutenberg')
|
80999 |
),
|
81000 |
wp.element.createElement(BlockAlignmentToolbar, {
|
81001 |
value: align,
|
81011 |
wp.element.createElement(
|
81012 |
"h2",
|
81013 |
null,
|
81014 |
+
__("Spacing", 'ultimate-addons-for-gutenberg')
|
81015 |
),
|
81016 |
wp.element.createElement(RangeControl, {
|
81017 |
+
label: __("Gap Between Buttons", 'ultimate-addons-for-gutenberg'),
|
81018 |
value: gap,
|
81019 |
onChange: function onChange(value) {
|
81020 |
return setAttributes({ gap: value });
|
81021 |
},
|
81022 |
+
help: __("Note: The gap between the buttons will seem larger in the editor, for better user edit experience. But at frontend the gap will be exactly what is set from here.", 'ultimate-addons-for-gutenberg'),
|
81023 |
min: 0,
|
81024 |
max: 500
|
81025 |
}),
|
81026 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
81027 |
wp.element.createElement(SelectControl, {
|
81028 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
81029 |
value: stack,
|
81030 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "desktop", label: __("Desktop", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
81031 |
onChange: function onChange(value) {
|
81032 |
return setAttributes({ stack: value });
|
81033 |
},
|
81034 |
+
help: __("Note: Choose on what breakpoint the buttons will stack.", 'ultimate-addons-for-gutenberg')
|
81035 |
}),
|
81036 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
81037 |
wp.element.createElement(
|
81038 |
"h2",
|
81039 |
null,
|
81040 |
+
__("Typography", 'ultimate-addons-for-gutenberg')
|
81041 |
),
|
81042 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_typography__["a" /* default */], {
|
81043 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
81044 |
attributes: attributes,
|
81045 |
setAttributes: setAttributes,
|
81046 |
loadGoogleFonts: { value: loadGoogleFonts, label: "loadGoogleFonts" },
|
81114 |
"use strict";
|
81115 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
81116 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
81117 |
+
/**
|
81118 |
+
* Returns Dynamic Generated CSS
|
81119 |
*/
|
81120 |
|
81121 |
|
81238 |
"use strict";
|
81239 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
81240 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
81241 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
81242 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
81243 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 198);
|
81244 |
+
/**
|
81245 |
+
* BLOCK: Buttons - Deprecated Block
|
81246 |
*/
|
81247 |
|
81248 |
|
81417 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
81418 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
81419 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
81420 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
81421 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
81422 |
+
/**
|
81423 |
+
* BLOCK: Buttons - Save Block
|
81424 |
*/
|
81425 |
|
81426 |
|
81486 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__save__ = __webpack_require__(/*! ./save */ 518);
|
81487 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 519);
|
81488 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
81489 |
+
/**
|
81490 |
+
* BLOCK: Buttons - Child
|
81491 |
*/
|
81492 |
|
81493 |
|
81525 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
81526 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
81527 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 199);
|
81528 |
+
/**
|
81529 |
+
* BLOCK: Button Child - Deprecated Block
|
81530 |
*/
|
81531 |
|
81532 |
|
81602 |
|
81603 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
81604 |
|
81605 |
+
/**
|
81606 |
+
* BLOCK: Buttons Child - Edit Class
|
81607 |
*/
|
81608 |
|
81609 |
// Import classes
|
81747 |
},
|
81748 |
isMulti: false,
|
81749 |
renderFunc: __WEBPACK_IMPORTED_MODULE_5__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
81750 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
81751 |
};
|
81752 |
|
81753 |
var linkControl = this.state.isURLPickerOpen && wp.element.createElement(
|
81777 |
return wp.element.createElement(
|
81778 |
PanelBody,
|
81779 |
{
|
81780 |
+
title: __("Button Settings", 'ultimate-addons-for-gutenberg'),
|
81781 |
initialOpen: true,
|
81782 |
className: "uagb__url-panel-body"
|
81783 |
},
|
81784 |
wp.element.createElement(ToggleControl, {
|
81785 |
+
label: __("Inherit from Theme", 'ultimate-addons-for-gutenberg'),
|
81786 |
checked: inheritFromTheme,
|
81787 |
onChange: function onChange(value) {
|
81788 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
81791 |
wp.element.createElement(
|
81792 |
"h2",
|
81793 |
null,
|
81794 |
+
__("Button Icon", 'ultimate-addons-for-gutenberg')
|
81795 |
),
|
81796 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
81797 |
"" !== icon && wp.element.createElement(
|
81798 |
Fragment,
|
81799 |
null,
|
81800 |
wp.element.createElement(SelectControl, {
|
81801 |
+
label: __("Icon Position", 'ultimate-addons-for-gutenberg'),
|
81802 |
value: iconPosition,
|
81803 |
onChange: function onChange(value) {
|
81804 |
return setAttributes({ iconPosition: value });
|
81805 |
},
|
81806 |
+
options: [{ value: "before", label: __("Before Text", 'ultimate-addons-for-gutenberg') }, { value: "after", label: __("After Text", 'ultimate-addons-for-gutenberg') }]
|
81807 |
}),
|
81808 |
wp.element.createElement(RangeControl, {
|
81809 |
+
label: __("Icon Spacing", 'ultimate-addons-for-gutenberg'),
|
81810 |
value: iconSpace,
|
81811 |
onChange: function onChange(value) {
|
81812 |
return setAttributes({ iconSpace: value });
|
81823 |
wp.element.createElement(
|
81824 |
"h2",
|
81825 |
null,
|
81826 |
+
__(" Color Settings", 'ultimate-addons-for-gutenberg')
|
81827 |
),
|
81828 |
wp.element.createElement(
|
81829 |
TabPanel,
|
81831 |
activeClass: "active-tab",
|
81832 |
tabs: [{
|
81833 |
name: "normal",
|
81834 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
81835 |
className: "uagb-normal-tab"
|
81836 |
}, {
|
81837 |
name: "hover",
|
81838 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
81839 |
className: "uagb-hover-tab"
|
81840 |
}] },
|
81841 |
function (tabName) {
|
81847 |
wp.element.createElement(
|
81848 |
"p",
|
81849 |
{ className: "uagb-setting-label" },
|
81850 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
81851 |
wp.element.createElement(
|
81852 |
"span",
|
81853 |
{ className: "components-base-control__label" },
|
81864 |
wp.element.createElement(
|
81865 |
"p",
|
81866 |
{ className: "uagb-setting-label" },
|
81867 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
81868 |
wp.element.createElement(
|
81869 |
"span",
|
81870 |
{ className: "components-base-control__label" },
|
81881 |
wp.element.createElement(
|
81882 |
"p",
|
81883 |
{ className: "uagb-setting-label" },
|
81884 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
81885 |
wp.element.createElement(
|
81886 |
"span",
|
81887 |
{ className: "components-base-control__label" },
|
81903 |
wp.element.createElement(
|
81904 |
"p",
|
81905 |
{ className: "uagb-setting-label" },
|
81906 |
+
__("Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
81907 |
wp.element.createElement(
|
81908 |
"span",
|
81909 |
{ className: "components-base-control__label" },
|
81920 |
wp.element.createElement(
|
81921 |
"p",
|
81922 |
{ className: "uagb-setting-label" },
|
81923 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
81924 |
wp.element.createElement(
|
81925 |
"span",
|
81926 |
{ className: "components-base-control__label" },
|
81937 |
wp.element.createElement(
|
81938 |
"p",
|
81939 |
{ className: "uagb-setting-label" },
|
81940 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
81941 |
wp.element.createElement(
|
81942 |
"span",
|
81943 |
{ className: "components-base-control__label" },
|
81964 |
wp.element.createElement(
|
81965 |
"h2",
|
81966 |
null,
|
81967 |
+
__("Padding (px)", 'ultimate-addons-for-gutenberg')
|
81968 |
),
|
81969 |
wp.element.createElement(RangeControl, {
|
81970 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
81989 |
wp.element.createElement(
|
81990 |
"h2",
|
81991 |
null,
|
81992 |
+
__("Border", 'ultimate-addons-for-gutenberg')
|
81993 |
),
|
81994 |
wp.element.createElement(SelectControl, {
|
81995 |
+
label: __("Style", 'ultimate-addons-for-gutenberg'),
|
81996 |
value: borderStyle,
|
81997 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }],
|
81998 |
onChange: function onChange(value) {
|
81999 |
setAttributes({ borderStyle: value });
|
82000 |
}
|
82001 |
}),
|
82002 |
borderStyle != "none" && wp.element.createElement(RangeControl, {
|
82003 |
+
label: __("Thickness", 'ultimate-addons-for-gutenberg'),
|
82004 |
value: borderWidth,
|
82005 |
onChange: function onChange(value) {
|
82006 |
setAttributes({ borderWidth: value });
|
82009 |
max: 20
|
82010 |
}),
|
82011 |
wp.element.createElement(RangeControl, {
|
82012 |
+
label: __("Rounded Corners", 'ultimate-addons-for-gutenberg'),
|
82013 |
value: borderRadius,
|
82014 |
onChange: function onChange(value) {
|
82015 |
setAttributes({ borderRadius: value });
|
82043 |
null,
|
82044 |
wp.element.createElement(
|
82045 |
ButtonGroup,
|
82046 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
82047 |
wp.element.createElement(
|
82048 |
Button,
|
82049 |
{
|
82218 |
null,
|
82219 |
wp.element.createElement(
|
82220 |
ButtonGroup,
|
82221 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
82222 |
wp.element.createElement(
|
82223 |
Button,
|
82224 |
{
|
82249 |
)
|
82250 |
),
|
82251 |
wp.element.createElement(RangeControl, {
|
82252 |
+
label: __("Line Height", 'ultimate-addons-for-gutenberg'),
|
82253 |
value: lineHeightMobile,
|
82254 |
onChange: function onChange(value) {
|
82255 |
setAttributes({ lineHeightMobile: value });
|
82267 |
null,
|
82268 |
wp.element.createElement(
|
82269 |
ButtonGroup,
|
82270 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
82271 |
wp.element.createElement(
|
82272 |
Button,
|
82273 |
{
|
82298 |
)
|
82299 |
),
|
82300 |
wp.element.createElement(RangeControl, {
|
82301 |
+
label: __("Line Height", 'ultimate-addons-for-gutenberg'),
|
82302 |
value: lineHeightTablet,
|
82303 |
onChange: function onChange(value) {
|
82304 |
setAttributes({ lineHeightTablet: value });
|
82317 |
null,
|
82318 |
wp.element.createElement(
|
82319 |
ButtonGroup,
|
82320 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
82321 |
wp.element.createElement(
|
82322 |
Button,
|
82323 |
{
|
82348 |
)
|
82349 |
),
|
82350 |
wp.element.createElement(RangeControl, {
|
82351 |
+
label: __("Line Height", 'ultimate-addons-for-gutenberg'),
|
82352 |
value: lineHeight,
|
82353 |
onChange: function onChange(value) {
|
82354 |
setAttributes({ lineHeight: value });
|
82456 |
"use strict";
|
82457 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
82458 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
82459 |
+
/**
|
82460 |
+
* Returns Dynamic Generated CSS
|
82461 |
*/
|
82462 |
|
82463 |
|
83425 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
83426 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
83427 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
83428 |
+
/**
|
83429 |
+
* BLOCK: Buttons - Save Block
|
83430 |
*/
|
83431 |
|
83432 |
|
83515 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
83516 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */ 528);
|
83517 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
|
83518 |
+
/**
|
83519 |
+
* BLOCK: Info Box
|
83520 |
*/
|
83521 |
|
83522 |
|
83535 |
title: uagb_blocks_info.blocks["uagb/info-box"]["title"],
|
83536 |
description: uagb_blocks_info.blocks["uagb/info-box"]["description"],
|
83537 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].info_box,
|
83538 |
+
keywords: [__("info box", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
83539 |
supports: {
|
83540 |
anchor: true
|
83541 |
},
|
83586 |
|
83587 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
83588 |
|
83589 |
+
/**
|
83590 |
+
* BLOCK: Info Box - Edit Class
|
83591 |
*/
|
83592 |
|
83593 |
|
83635 |
Fragment = _wp$element.Fragment;
|
83636 |
|
83637 |
|
83638 |
+
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail", 'ultimate-addons-for-gutenberg') }, { value: "medium", label: __("Medium", 'ultimate-addons-for-gutenberg') }, { value: "full", label: __("Large", 'ultimate-addons-for-gutenberg') }];
|
83639 |
|
83640 |
$ = jQuery;
|
83641 |
|
83668 |
this.props.setAttributes({ ctaIcon: value });
|
83669 |
}
|
83670 |
|
83671 |
+
/*
|
83672 |
+
* Event to set Image as while adding.
|
83673 |
*/
|
83674 |
|
83675 |
}, {
|
83706 |
return size_arr;
|
83707 |
}
|
83708 |
|
83709 |
+
/*
|
83710 |
+
* Event to set Image as null while removing.
|
83711 |
*/
|
83712 |
|
83713 |
}, {
|
83719 |
setAttributes({ iconImage: '' });
|
83720 |
}
|
83721 |
|
83722 |
+
/**
|
83723 |
+
* Function Name: toggleTarget.
|
83724 |
*/
|
83725 |
|
83726 |
}, {
|
83733 |
setAttributes({ ctaTarget: !ctaTarget });
|
83734 |
}
|
83735 |
|
83736 |
+
/**
|
83737 |
+
* Function Name: toggleResponsive.
|
83738 |
*/
|
83739 |
|
83740 |
}, {
|
83864 |
onChange: this.getIfbIcon,
|
83865 |
isMulti: false,
|
83866 |
renderFunc: __WEBPACK_IMPORTED_MODULE_12__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
83867 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
83868 |
|
83869 |
// Icon properties.
|
83870 |
};var cta_icon_props = {
|
83873 |
value: ctaIcon,
|
83874 |
onChange: this.getCtaicon,
|
83875 |
isMulti: false,
|
83876 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
83877 |
};
|
83878 |
|
83879 |
if (iconImage && iconImage["sizes"]) {
|
83935 |
null,
|
83936 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
83937 |
wp.element.createElement(RangeControl, {
|
83938 |
+
label: __("Icon Size", 'ultimate-addons-for-gutenberg'),
|
83939 |
value: iconSize,
|
83940 |
onChange: function onChange(value) {
|
83941 |
return setAttributes({ iconSize: value });
|
83951 |
activeClass: "active-tab",
|
83952 |
tabs: [{
|
83953 |
name: "normal",
|
83954 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
83955 |
className: "uagb-normal-tab"
|
83956 |
}, {
|
83957 |
name: "hover",
|
83958 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
83959 |
className: "uagb-focus-tab"
|
83960 |
}] },
|
83961 |
function (tabName) {
|
83967 |
wp.element.createElement(
|
83968 |
"p",
|
83969 |
{ className: "uagb-setting-label" },
|
83970 |
+
__("Icon Color", 'ultimate-addons-for-gutenberg'),
|
83971 |
wp.element.createElement(
|
83972 |
"span",
|
83973 |
{ className: "components-base-control__label" },
|
83989 |
wp.element.createElement(
|
83990 |
"p",
|
83991 |
{ className: "uagb-setting-label" },
|
83992 |
+
__("Icon Hover Color", 'ultimate-addons-for-gutenberg'),
|
83993 |
wp.element.createElement(
|
83994 |
"span",
|
83995 |
{ className: "components-base-control__label" },
|
84018 |
var seperatorSettings = wp.element.createElement(
|
84019 |
PanelBody,
|
84020 |
{
|
84021 |
+
title: __("Separator", 'ultimate-addons-for-gutenberg'),
|
84022 |
initialOpen: false },
|
84023 |
wp.element.createElement(SelectControl, {
|
84024 |
+
label: __("Position", 'ultimate-addons-for-gutenberg'),
|
84025 |
value: seperatorPosition,
|
84026 |
onChange: function onChange(value) {
|
84027 |
return setAttributes({ seperatorPosition: value });
|
84028 |
},
|
84029 |
+
options: [{ value: "after_icon", label: __("After Icon/Image", 'ultimate-addons-for-gutenberg') }, { value: "after_prefix", label: __("After Prefix", 'ultimate-addons-for-gutenberg') }, { value: "after_title", label: __("After Title", 'ultimate-addons-for-gutenberg') }, { value: "after_desc", label: __("After Description", 'ultimate-addons-for-gutenberg') }]
|
84030 |
}),
|
84031 |
wp.element.createElement(SelectControl, {
|
84032 |
label: __("Style"),
|
84034 |
onChange: function onChange(value) {
|
84035 |
return setAttributes({ seperatorStyle: value });
|
84036 |
},
|
84037 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }]
|
84038 |
}),
|
84039 |
"none" !== seperatorStyle && wp.element.createElement(
|
84040 |
Fragment,
|
84041 |
null,
|
84042 |
wp.element.createElement(RangeControl, {
|
84043 |
+
label: __("Thickness", 'ultimate-addons-for-gutenberg'),
|
84044 |
value: seperatorThickness,
|
84045 |
onChange: function onChange(value) {
|
84046 |
return setAttributes({ seperatorThickness: value });
|
84052 |
}),
|
84053 |
wp.element.createElement(
|
84054 |
ButtonGroup,
|
84055 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
84056 |
wp.element.createElement(
|
84057 |
Button,
|
84058 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: separatorWidthType === "px", "aria-pressed": separatorWidthType === "px", onClick: function onClick() {
|
84069 |
)
|
84070 |
),
|
84071 |
wp.element.createElement(RangeControl, {
|
84072 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
84073 |
value: seperatorWidth,
|
84074 |
onChange: function onChange(value) {
|
84075 |
return setAttributes({ seperatorWidth: value });
|
84082 |
wp.element.createElement(
|
84083 |
"p",
|
84084 |
{ className: "uagb-setting-label" },
|
84085 |
+
__("Separator Color", 'ultimate-addons-for-gutenberg'),
|
84086 |
wp.element.createElement(
|
84087 |
"span",
|
84088 |
{ className: "components-base-control__label" },
|
84102 |
// CTA settings.
|
84103 |
var ctaSettings = wp.element.createElement(
|
84104 |
PanelBody,
|
84105 |
+
{ title: __("Call To Action", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
84106 |
wp.element.createElement(SelectControl, {
|
84107 |
+
label: __("Type", 'ultimate-addons-for-gutenberg'),
|
84108 |
value: ctaType,
|
84109 |
onChange: function onChange(value) {
|
84110 |
return setAttributes({ ctaType: value });
|
84111 |
},
|
84112 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "text", label: __("Text", 'ultimate-addons-for-gutenberg') }, { value: "button", label: __("Button", 'ultimate-addons-for-gutenberg') }, { value: "all", label: __("Complete Box", 'ultimate-addons-for-gutenberg') }]
|
84113 |
}),
|
84114 |
(ctaType === "text" || ctaType === "button") && wp.element.createElement(
|
84115 |
Fragment,
|
84116 |
null,
|
84117 |
wp.element.createElement(TextControl, {
|
84118 |
+
label: __("Text", 'ultimate-addons-for-gutenberg'),
|
84119 |
value: ctaText,
|
84120 |
onChange: function onChange(value) {
|
84121 |
return setAttributes({ ctaText: value });
|
84122 |
}
|
84123 |
}),
|
84124 |
wp.element.createElement(ToggleControl, {
|
84125 |
+
label: __("Inherit from Theme", 'ultimate-addons-for-gutenberg'),
|
84126 |
checked: inheritFromTheme,
|
84127 |
onChange: function onChange(value) {
|
84128 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
84129 |
}
|
84130 |
}),
|
84131 |
ctaType === "text" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84132 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
84133 |
attributes: attributes,
|
84134 |
setAttributes: setAttributes,
|
84135 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: 'ctaLoadGoogleFonts' },
|
84143 |
disableLineHeight: true
|
84144 |
}),
|
84145 |
!inheritFromTheme && ctaType === "button" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84146 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
84147 |
attributes: attributes,
|
84148 |
setAttributes: setAttributes,
|
84149 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: 'ctaLoadGoogleFonts' },
|
84161 |
Fragment,
|
84162 |
null,
|
84163 |
wp.element.createElement(TextControl, {
|
84164 |
+
label: __("Link", 'ultimate-addons-for-gutenberg'),
|
84165 |
value: ctaLink,
|
84166 |
onChange: function onChange(value) {
|
84167 |
return setAttributes({ ctaLink: value });
|
84168 |
}
|
84169 |
}),
|
84170 |
wp.element.createElement(ToggleControl, {
|
84171 |
+
label: __("Open in new Window", 'ultimate-addons-for-gutenberg'),
|
84172 |
checked: ctaTarget,
|
84173 |
onChange: this.toggleTarget
|
84174 |
})
|
84180 |
wp.element.createElement(
|
84181 |
"h2",
|
84182 |
null,
|
84183 |
+
__("Button Icon", 'ultimate-addons-for-gutenberg')
|
84184 |
),
|
84185 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, cta_icon_props),
|
84186 |
ctaIcon != "" && wp.element.createElement(
|
84187 |
Fragment,
|
84188 |
null,
|
84189 |
wp.element.createElement(SelectControl, {
|
84190 |
+
label: __("Icon Position", 'ultimate-addons-for-gutenberg'),
|
84191 |
value: ctaIconPosition,
|
84192 |
onChange: function onChange(value) {
|
84193 |
return setAttributes({ ctaIconPosition: value });
|
84194 |
},
|
84195 |
+
options: [{ value: "before", label: __("Before Text", 'ultimate-addons-for-gutenberg') }, { value: "after", label: __("After Text", 'ultimate-addons-for-gutenberg') }]
|
84196 |
}),
|
84197 |
wp.element.createElement(RangeControl, {
|
84198 |
+
label: __("Icon Spacing", 'ultimate-addons-for-gutenberg'),
|
84199 |
value: ctaIconSpace,
|
84200 |
onChange: function onChange(value) {
|
84201 |
return setAttributes({ ctaIconSpace: value });
|
84214 |
wp.element.createElement(
|
84215 |
"h2",
|
84216 |
null,
|
84217 |
+
__("Button Padding", 'ultimate-addons-for-gutenberg')
|
84218 |
),
|
84219 |
wp.element.createElement(RangeControl, {
|
84220 |
label: __WEBPACK_IMPORTED_MODULE_13__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
84242 |
wp.element.createElement(
|
84243 |
"h2",
|
84244 |
null,
|
84245 |
+
__("Button Border", 'ultimate-addons-for-gutenberg')
|
84246 |
),
|
84247 |
wp.element.createElement(SelectControl, {
|
84248 |
+
label: __("Style", 'ultimate-addons-for-gutenberg'),
|
84249 |
value: ctaBorderStyle,
|
84250 |
onChange: function onChange(value) {
|
84251 |
return setAttributes({ ctaBorderStyle: value });
|
84252 |
},
|
84253 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }]
|
84254 |
}),
|
84255 |
ctaBorderStyle !== "none" && wp.element.createElement(
|
84256 |
Fragment,
|
84257 |
null,
|
84258 |
wp.element.createElement(RangeControl, {
|
84259 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
84260 |
value: ctaBorderWidth,
|
84261 |
onChange: function onChange(value) {
|
84262 |
return setAttributes({ ctaBorderWidth: value });
|
84268 |
})
|
84269 |
),
|
84270 |
wp.element.createElement(RangeControl, {
|
84271 |
+
label: __("Rounded Corner", 'ultimate-addons-for-gutenberg'),
|
84272 |
value: ctaBorderRadius,
|
84273 |
onChange: function onChange(value) {
|
84274 |
return setAttributes({ ctaBorderRadius: value });
|
84286 |
activeClass: "active-tab",
|
84287 |
tabs: [{
|
84288 |
name: "normal",
|
84289 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
84290 |
className: "uagb-normal-tab"
|
84291 |
}, {
|
84292 |
name: "hover",
|
84293 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
84294 |
className: "uagb-focus-tab"
|
84295 |
}] },
|
84296 |
function (tabName) {
|
84302 |
wp.element.createElement(
|
84303 |
"p",
|
84304 |
{ className: "uagb-setting-label" },
|
84305 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
84306 |
wp.element.createElement(
|
84307 |
"span",
|
84308 |
{ className: "components-base-control__label" },
|
84324 |
wp.element.createElement(
|
84325 |
"p",
|
84326 |
{ className: "uagb-setting-label" },
|
84327 |
+
__("Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
84328 |
wp.element.createElement(
|
84329 |
"span",
|
84330 |
{ className: "components-base-control__label" },
|
84353 |
activeClass: "active-tab",
|
84354 |
tabs: [{
|
84355 |
name: "normal",
|
84356 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
84357 |
className: "uagb-normal-tab"
|
84358 |
}, {
|
84359 |
name: "hover",
|
84360 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
84361 |
className: "uagb-focus-tab"
|
84362 |
}] },
|
84363 |
function (tabName) {
|
84382 |
wp.element.createElement(
|
84383 |
"p",
|
84384 |
{ className: "uagb-setting-label" },
|
84385 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
84386 |
wp.element.createElement(
|
84387 |
"span",
|
84388 |
{ className: "components-base-control__label" },
|
84399 |
wp.element.createElement(
|
84400 |
"p",
|
84401 |
{ className: "uagb-setting-label" },
|
84402 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
84403 |
wp.element.createElement(
|
84404 |
"span",
|
84405 |
{ className: "components-base-control__label" },
|
84419 |
wp.element.createElement(
|
84420 |
"p",
|
84421 |
{ className: "uagb-setting-label" },
|
84422 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
84423 |
wp.element.createElement(
|
84424 |
"span",
|
84425 |
{ className: "components-base-control__label" },
|
84442 |
wp.element.createElement(
|
84443 |
"p",
|
84444 |
{ className: "uagb-setting-label" },
|
84445 |
+
__("Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
84446 |
wp.element.createElement(
|
84447 |
"span",
|
84448 |
{ className: "components-base-control__label" },
|
84459 |
wp.element.createElement(
|
84460 |
"p",
|
84461 |
{ className: "uagb-setting-label" },
|
84462 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
84463 |
wp.element.createElement(
|
84464 |
"span",
|
84465 |
{ className: "components-base-control__label" },
|
84479 |
wp.element.createElement(
|
84480 |
"p",
|
84481 |
{ className: "uagb-setting-label" },
|
84482 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
84483 |
wp.element.createElement(
|
84484 |
"span",
|
84485 |
{ className: "components-base-control__label" },
|
84499 |
// Typography settings.
|
84500 |
var TypographySettings = wp.element.createElement(
|
84501 |
PanelBody,
|
84502 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
84503 |
wp.element.createElement(ToggleControl, {
|
84504 |
+
label: __("Enable Prefix", 'ultimate-addons-for-gutenberg'),
|
84505 |
checked: showPrefix,
|
84506 |
onChange: function onChange(value) {
|
84507 |
return setAttributes({ showPrefix: !showPrefix });
|
84511 |
Fragment,
|
84512 |
null,
|
84513 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84514 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
84515 |
attributes: attributes,
|
84516 |
setAttributes: setAttributes,
|
84517 |
loadGoogleFonts: { value: prefixLoadGoogleFonts, label: 'prefixLoadGoogleFonts' },
|
84530 |
wp.element.createElement(
|
84531 |
"p",
|
84532 |
{ className: "uagb-setting-label" },
|
84533 |
+
__("Prefix Color", 'ultimate-addons-for-gutenberg'),
|
84534 |
wp.element.createElement(
|
84535 |
"span",
|
84536 |
{ className: "components-base-control__label" },
|
84547 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
84548 |
),
|
84549 |
wp.element.createElement(ToggleControl, {
|
84550 |
+
label: __("Enable Title", 'ultimate-addons-for-gutenberg'),
|
84551 |
checked: showTitle,
|
84552 |
onChange: function onChange(value) {
|
84553 |
return setAttributes({ showTitle: !showTitle });
|
84557 |
Fragment,
|
84558 |
null,
|
84559 |
wp.element.createElement(SelectControl, {
|
84560 |
+
label: __("Title Tag", 'ultimate-addons-for-gutenberg'),
|
84561 |
value: headingTag,
|
84562 |
onChange: function onChange(value) {
|
84563 |
return setAttributes({ headingTag: value });
|
84565 |
options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }]
|
84566 |
}),
|
84567 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84568 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
84569 |
attributes: attributes,
|
84570 |
setAttributes: setAttributes,
|
84571 |
loadGoogleFonts: { value: headLoadGoogleFonts, label: 'headLoadGoogleFonts' },
|
84584 |
wp.element.createElement(
|
84585 |
"p",
|
84586 |
{ className: "uagb-setting-label" },
|
84587 |
+
__("Title Color", 'ultimate-addons-for-gutenberg'),
|
84588 |
wp.element.createElement(
|
84589 |
"span",
|
84590 |
{ className: "components-base-control__label" },
|
84601 |
wp.element.createElement("hr", { "class": "uagb-editor__separator" })
|
84602 |
),
|
84603 |
wp.element.createElement(ToggleControl, {
|
84604 |
+
label: __("Enable Description", 'ultimate-addons-for-gutenberg'),
|
84605 |
checked: showDesc,
|
84606 |
onChange: function onChange(value) {
|
84607 |
return setAttributes({ showDesc: !showDesc });
|
84611 |
Fragment,
|
84612 |
null,
|
84613 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_14__components_typography__["a" /* default */], {
|
84614 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
84615 |
attributes: attributes,
|
84616 |
setAttributes: setAttributes,
|
84617 |
loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: 'subHeadLoadGoogleFonts' },
|
84630 |
wp.element.createElement(
|
84631 |
"p",
|
84632 |
{ className: "uagb-setting-label" },
|
84633 |
+
__("Description Color", 'ultimate-addons-for-gutenberg'),
|
84634 |
wp.element.createElement(
|
84635 |
"span",
|
84636 |
{ className: "components-base-control__label" },
|
84650 |
// Margin Settings.
|
84651 |
var marginSettings = wp.element.createElement(
|
84652 |
PanelBody,
|
84653 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
84654 |
showPrefix && wp.element.createElement(RangeControl, {
|
84655 |
+
label: __("Prefix Bottom Margin", 'ultimate-addons-for-gutenberg'),
|
84656 |
value: prefixSpace,
|
84657 |
onChange: function onChange(value) {
|
84658 |
return setAttributes({ prefixSpace: value });
|
84663 |
allowReset: true
|
84664 |
}),
|
84665 |
showTitle && wp.element.createElement(RangeControl, {
|
84666 |
+
label: __("Title Bottom Margin", 'ultimate-addons-for-gutenberg'),
|
84667 |
value: headSpace,
|
84668 |
onChange: function onChange(value) {
|
84669 |
return setAttributes({ headSpace: value });
|
84674 |
allowReset: true
|
84675 |
}),
|
84676 |
"none" !== seperatorStyle && wp.element.createElement(RangeControl, {
|
84677 |
+
label: __("Separator Bottom Margin", 'ultimate-addons-for-gutenberg'),
|
84678 |
value: seperatorSpace,
|
84679 |
onChange: function onChange(value) {
|
84680 |
return setAttributes({ seperatorSpace: value });
|
84685 |
allowReset: true
|
84686 |
}),
|
84687 |
showDesc && wp.element.createElement(RangeControl, {
|
84688 |
+
label: __("Description Bottom Margin", 'ultimate-addons-for-gutenberg'),
|
84689 |
value: subHeadSpace,
|
84690 |
onChange: function onChange(value) {
|
84691 |
return setAttributes({ subHeadSpace: value });
|
84699 |
wp.element.createElement(
|
84700 |
"h2",
|
84701 |
null,
|
84702 |
+
__("Image/Icon Margin (px)", 'ultimate-addons-for-gutenberg')
|
84703 |
),
|
84704 |
wp.element.createElement(RangeControl, {
|
84705 |
label: __WEBPACK_IMPORTED_MODULE_13__dist_blocks_uagb_controls_block_icons__["a" /* default */].left_margin,
|
84747 |
})
|
84748 |
);
|
84749 |
|
84750 |
+
var image_name = __("Select Image", 'ultimate-addons-for-gutenberg');
|
84751 |
if (iconImage) {
|
84752 |
if (iconImage.url == null || iconImage.url == "") {
|
84753 |
+
image_name = __("Select Image", 'ultimate-addons-for-gutenberg');
|
84754 |
} else {
|
84755 |
+
image_name = __("Replace Image", 'ultimate-addons-for-gutenberg');
|
84756 |
}
|
84757 |
}
|
84758 |
|
84762 |
null,
|
84763 |
wp.element.createElement(
|
84764 |
BaseControl,
|
84765 |
+
{ className: "editor-bg-image-control", label: __("Image", 'ultimate-addons-for-gutenberg') },
|
84766 |
wp.element.createElement(MediaUpload, {
|
84767 |
+
title: __("Select Image", 'ultimate-addons-for-gutenberg'),
|
84768 |
onSelect: this.onSelectImage,
|
84769 |
allowedTypes: ["image"],
|
84770 |
value: iconImage,
|
84780 |
iconImage && iconImage.url !== "null" && iconImage.url !== "" && wp.element.createElement(
|
84781 |
Button,
|
84782 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
84783 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
84784 |
)
|
84785 |
),
|
84786 |
iconImage && iconImage.url !== "null" && iconImage.url !== "" && wp.element.createElement(
|
84787 |
Fragment,
|
84788 |
null,
|
84789 |
wp.element.createElement(SelectControl, {
|
84790 |
+
label: __("Image Size", 'ultimate-addons-for-gutenberg'),
|
84791 |
options: imageSizeOptions,
|
84792 |
value: imageSize,
|
84793 |
onChange: function onChange(value) {
|
84795 |
}
|
84796 |
}),
|
84797 |
wp.element.createElement(ToggleControl, {
|
84798 |
+
label: __("Custom Width", 'ultimate-addons-for-gutenberg'),
|
84799 |
checked: imageWidthType,
|
84800 |
onChange: function onChange(value) {
|
84801 |
return setAttributes({ imageWidthType: !imageWidthType });
|
84802 |
},
|
84803 |
+
help: __("Turn this off to inherit the natural width of Image.", 'ultimate-addons-for-gutenberg')
|
84804 |
}),
|
84805 |
imageWidthType && wp.element.createElement(RangeControl, {
|
84806 |
+
label: __("Width (px)", 'ultimate-addons-for-gutenberg'),
|
84807 |
value: imageWidth,
|
84808 |
onChange: function onChange(value) {
|
84809 |
return setAttributes({ imageWidth: value });
|
84814 |
allowReset: true
|
84815 |
}),
|
84816 |
wp.element.createElement(RangeControl, {
|
84817 |
+
label: __("Rounded Corners (px)", 'ultimate-addons-for-gutenberg'),
|
84818 |
value: iconimgBorderRadius,
|
84819 |
onChange: function onChange(value) {
|
84820 |
return setAttributes({ iconimgBorderRadius: value });
|
84833 |
null,
|
84834 |
wp.element.createElement(
|
84835 |
PanelBody,
|
84836 |
+
{ title: __("Image/Icon", 'ultimate-addons-for-gutenberg') },
|
84837 |
wp.element.createElement(SelectControl, {
|
84838 |
+
label: __("Select Position", 'ultimate-addons-for-gutenberg'),
|
84839 |
value: iconimgPosition,
|
84840 |
onChange: function onChange(value) {
|
84841 |
return setAttributes({ iconimgPosition: value });
|
84842 |
},
|
84843 |
+
options: [{ value: "above-title", label: __("Above Title", 'ultimate-addons-for-gutenberg') }, { value: "below-title", label: __("Below Title", 'ultimate-addons-for-gutenberg') }, { value: "left-title", label: __("Left of Title", 'ultimate-addons-for-gutenberg') }, { value: "right-title", label: __("Right of Title", 'ultimate-addons-for-gutenberg') }, { value: "left", label: __("Left of Text and Title", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right of Text and Title", 'ultimate-addons-for-gutenberg') }]
|
84844 |
}),
|
84845 |
(iconimgPosition == "left" || iconimgPosition == "right") && wp.element.createElement(SelectControl, {
|
84846 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
84847 |
value: stack,
|
84848 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
84849 |
+
help: __("Note: Choose on what breakpoint the Info Box will stack.", 'ultimate-addons-for-gutenberg'),
|
84850 |
onChange: function onChange(value) {
|
84851 |
return setAttributes({ stack: value });
|
84852 |
}
|
84853 |
}),
|
84854 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
84855 |
wp.element.createElement(SelectControl, {
|
84856 |
+
label: __("Select Source", 'ultimate-addons-for-gutenberg'),
|
84857 |
value: source_type,
|
84858 |
onChange: function onChange(value) {
|
84859 |
return setAttributes({ source_type: value });
|
84860 |
},
|
84861 |
+
options: [{ value: "icon", label: __("Icon", 'ultimate-addons-for-gutenberg') }, { value: "image", label: __("Image", 'ultimate-addons-for-gutenberg') }]
|
84862 |
}),
|
84863 |
iconimgPosition && iconimgPosition !== "above-title" && iconimgPosition !== "below-title" && wp.element.createElement(SelectControl, {
|
84864 |
+
label: __("Vertical Alignment", 'ultimate-addons-for-gutenberg'),
|
84865 |
value: sourceAlign,
|
84866 |
onChange: function onChange(value) {
|
84867 |
return setAttributes({ sourceAlign: value });
|
84868 |
},
|
84869 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "middle", label: __("Middle", 'ultimate-addons-for-gutenberg') }]
|
84870 |
}),
|
84871 |
source_type && source_type == "icon" && iconControls,
|
84872 |
source_type && source_type == "image" && imageControls
|
85074 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__components_IconImage__ = __webpack_require__(/*! ./components/IconImage */ 205);
|
85075 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
85076 |
|
85077 |
+
/**
|
85078 |
+
* BLOCK: Column - Save Block
|
85079 |
*/
|
85080 |
|
85081 |
// Import block dependencies and components.
|
85259 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__attributes__ = __webpack_require__(/*! ./attributes */ 206);
|
85260 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
85261 |
|
85262 |
+
/**
|
85263 |
+
* BLOCK: Columns - Deprecated Block
|
85264 |
*/
|
85265 |
|
85266 |
// Import block dependencies and components.
|
86560 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
|
86561 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 536);
|
86562 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__editor_scss__);
|
86563 |
+
/**
|
86564 |
+
* BLOCK: Testimonial
|
86565 |
*/
|
86566 |
|
86567 |
|
86580 |
title: uagb_blocks_info.blocks["uagb/testimonial"]["title"], // Block title.
|
86581 |
description: uagb_blocks_info.blocks["uagb/testimonial"]["description"], // Block description.
|
86582 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].testimonial, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
|
86583 |
+
keywords: [__("testimonial", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
86584 |
supports: {
|
86585 |
anchor: true
|
86586 |
},
|
86610 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__classes__ = __webpack_require__(/*! ./classes */ 113);
|
86611 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 531);
|
86612 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_Image__ = __webpack_require__(/*! ./components/Image */ 207);
|
86613 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
86614 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_times__);
|
86615 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_slick__ = __webpack_require__(/*! react-slick */ 194);
|
86616 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_slick___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_react_slick__);
|
86629 |
|
86630 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
86631 |
|
86632 |
+
/**
|
86633 |
+
* BLOCK: Testimonial
|
86634 |
*/
|
86635 |
|
86636 |
|
86690 |
return _this;
|
86691 |
}
|
86692 |
|
86693 |
+
/*
|
86694 |
+
* Event to set Image as while adding.
|
86695 |
*/
|
86696 |
|
86697 |
|
86725 |
});
|
86726 |
}
|
86727 |
|
86728 |
+
/*
|
86729 |
+
* Event to set Image as null while removing.
|
86730 |
*/
|
86731 |
|
86732 |
}, {
|
86748 |
});
|
86749 |
}
|
86750 |
|
86751 |
+
/*
|
86752 |
+
* Event to set Image selectot label.
|
86753 |
*/
|
86754 |
|
86755 |
}, {
|
86758 |
var test_block = this.props.attributes.test_block;
|
86759 |
|
86760 |
|
86761 |
+
var image_name = __("Select Image", 'ultimate-addons-for-gutenberg');
|
86762 |
if (image) {
|
86763 |
if (image.url == null || image.url == "") {
|
86764 |
+
image_name = __("Select Image", 'ultimate-addons-for-gutenberg');
|
86765 |
} else {
|
86766 |
+
image_name = __("Replace Image", 'ultimate-addons-for-gutenberg');
|
86767 |
}
|
86768 |
}
|
86769 |
return image_name;
|
86796 |
setAttributes({ autoplay: !autoplay });
|
86797 |
}
|
86798 |
|
86799 |
+
/*
|
86800 |
+
* Event to set Image as null while removing.
|
86801 |
*/
|
86802 |
|
86803 |
}, {
|
86809 |
setAttributes({ backgroundImage: null });
|
86810 |
}
|
86811 |
|
86812 |
+
/*
|
86813 |
+
* Event to set Image as while adding.
|
86814 |
*/
|
86815 |
|
86816 |
}, {
|
86968 |
null,
|
86969 |
wp.element.createElement(
|
86970 |
PanelBody,
|
86971 |
+
{ title: __("Typography", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
86972 |
wp.element.createElement(
|
86973 |
"h2",
|
86974 |
null,
|
86975 |
+
__("Testimonial", 'ultimate-addons-for-gutenberg')
|
86976 |
),
|
86977 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
86978 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
86979 |
attributes: attributes,
|
86980 |
setAttributes: setAttributes,
|
86981 |
loadGoogleFonts: { value: descLoadGoogleFonts, label: "descLoadGoogleFonts" },
|
86995 |
wp.element.createElement(
|
86996 |
"h2",
|
86997 |
null,
|
86998 |
+
__("Name", 'ultimate-addons-for-gutenberg')
|
86999 |
),
|
87000 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
87001 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
87002 |
attributes: attributes,
|
87003 |
setAttributes: setAttributes,
|
87004 |
loadGoogleFonts: { value: nameLoadGoogleFonts, label: "nameLoadGoogleFonts" },
|
87018 |
wp.element.createElement(
|
87019 |
"h2",
|
87020 |
null,
|
87021 |
+
__("Company", 'ultimate-addons-for-gutenberg')
|
87022 |
),
|
87023 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
87024 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
87025 |
attributes: attributes,
|
87026 |
setAttributes: setAttributes,
|
87027 |
loadGoogleFonts: { value: companyLoadGoogleFonts, label: "companyLoadGoogleFonts" },
|
87039 |
})
|
87040 |
),
|
87041 |
wp.element.createElement(PanelColorSettings, {
|
87042 |
+
title: __("Color Settings", 'ultimate-addons-for-gutenberg'),
|
87043 |
initialOpen: false,
|
87044 |
colorSettings: [{
|
87045 |
value: descColor,
|
87046 |
onChange: function onChange(colorValue) {
|
87047 |
return setAttributes({ descColor: colorValue });
|
87048 |
},
|
87049 |
+
label: __("Testimonial Color", 'ultimate-addons-for-gutenberg')
|
87050 |
}, {
|
87051 |
value: authorColor,
|
87052 |
onChange: function onChange(colorValue) {
|
87053 |
return setAttributes({ authorColor: colorValue });
|
87054 |
},
|
87055 |
+
label: __("Name Color", 'ultimate-addons-for-gutenberg')
|
87056 |
}, {
|
87057 |
value: companyColor,
|
87058 |
onChange: function onChange(colorValue) {
|
87059 |
return setAttributes({ companyColor: colorValue });
|
87060 |
},
|
87061 |
+
label: __("Company Color", 'ultimate-addons-for-gutenberg')
|
87062 |
}, {
|
87063 |
value: arrowColor,
|
87064 |
onChange: function onChange(colorValue) {
|
87065 |
return setAttributes({ arrowColor: colorValue });
|
87066 |
},
|
87067 |
+
label: __("Arrow & Dots Color", 'ultimate-addons-for-gutenberg')
|
87068 |
}]
|
87069 |
})
|
87070 |
);
|
87072 |
// Margin Settings.
|
87073 |
var marginSettings = wp.element.createElement(
|
87074 |
PanelBody,
|
87075 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
87076 |
wp.element.createElement(RangeControl, {
|
87077 |
+
label: __("Gap Between Content & Dots", 'ultimate-addons-for-gutenberg'),
|
87078 |
value: rowGap,
|
87079 |
onChange: function onChange(value) {
|
87080 |
return setAttributes({ rowGap: value });
|
87084 |
allowReset: true
|
87085 |
}),
|
87086 |
wp.element.createElement(RangeControl, {
|
87087 |
+
label: __("Row Gap", 'ultimate-addons-for-gutenberg'),
|
87088 |
value: columnGap,
|
87089 |
onChange: function onChange(value) {
|
87090 |
return setAttributes({ columnGap: value });
|
87094 |
allowReset: true
|
87095 |
}),
|
87096 |
wp.element.createElement(RangeControl, {
|
87097 |
+
label: __("Content Padding", 'ultimate-addons-for-gutenberg'),
|
87098 |
value: contentPadding,
|
87099 |
onChange: function onChange(value) {
|
87100 |
return setAttributes({ contentPadding: value });
|
87104 |
allowReset: true
|
87105 |
}),
|
87106 |
wp.element.createElement(RangeControl, {
|
87107 |
+
label: __("Testimonial Bottom Margin", 'ultimate-addons-for-gutenberg'),
|
87108 |
value: descSpace,
|
87109 |
onChange: function onChange(value) {
|
87110 |
return setAttributes({ descSpace: value });
|
87114 |
allowReset: true
|
87115 |
}),
|
87116 |
wp.element.createElement(RangeControl, {
|
87117 |
+
label: __("Name Bottom Margin", 'ultimate-addons-for-gutenberg'),
|
87118 |
value: nameSpace,
|
87119 |
onChange: function onChange(value) {
|
87120 |
return setAttributes({ nameSpace: value });
|
87124 |
allowReset: true
|
87125 |
}),
|
87126 |
wp.element.createElement(RangeControl, {
|
87127 |
+
label: __("Image Horizontal Padding", 'ultimate-addons-for-gutenberg'),
|
87128 |
value: imgHrPadding,
|
87129 |
onChange: function onChange(value) {
|
87130 |
return setAttributes({ imgHrPadding: value });
|
87134 |
allowReset: true
|
87135 |
}),
|
87136 |
wp.element.createElement(RangeControl, {
|
87137 |
+
label: __("Image Vertical Padding", 'ultimate-addons-for-gutenberg'),
|
87138 |
value: imgVrPadding,
|
87139 |
onChange: function onChange(value) {
|
87140 |
return setAttributes({ imgVrPadding: value });
|
87150 |
null,
|
87151 |
wp.element.createElement(
|
87152 |
PanelBody,
|
87153 |
+
{ title: __("Background", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
87154 |
wp.element.createElement(SelectControl, {
|
87155 |
+
label: __("Background Type", 'ultimate-addons-for-gutenberg'),
|
87156 |
value: backgroundType,
|
87157 |
onChange: function onChange(value) {
|
87158 |
return setAttributes({ backgroundType: value });
|
87159 |
},
|
87160 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "color", label: __("Color", 'ultimate-addons-for-gutenberg') }, { value: "image", label: __("Image", 'ultimate-addons-for-gutenberg') }]
|
87161 |
}),
|
87162 |
"color" == backgroundType && wp.element.createElement(
|
87163 |
Fragment,
|
87165 |
wp.element.createElement(
|
87166 |
"p",
|
87167 |
{ className: "uagb-setting-label" },
|
87168 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
87169 |
wp.element.createElement(
|
87170 |
"span",
|
87171 |
{ className: "components-base-control__label" },
|
87187 |
BaseControl,
|
87188 |
{
|
87189 |
className: "editor-bg-image-control",
|
87190 |
+
label: __("Background Image", 'ultimate-addons-for-gutenberg') },
|
87191 |
wp.element.createElement(MediaUpload, {
|
87192 |
+
title: __("Select Background Image", 'ultimate-addons-for-gutenberg'),
|
87193 |
onSelect: this.onSelectImage,
|
87194 |
allowedTypes: ["image"],
|
87195 |
value: backgroundImage,
|
87198 |
return wp.element.createElement(
|
87199 |
Button,
|
87200 |
{ isDefault: true, onClick: open },
|
87201 |
+
!backgroundImage ? __("Select Background Image", 'ultimate-addons-for-gutenberg') : __("Replace image", 'ultimate-addons-for-gutenberg')
|
87202 |
);
|
87203 |
}
|
87204 |
}),
|
87205 |
backgroundImage && wp.element.createElement(
|
87206 |
Button,
|
87207 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
87208 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
87209 |
)
|
87210 |
),
|
87211 |
backgroundImage && wp.element.createElement(
|
87212 |
Fragment,
|
87213 |
null,
|
87214 |
wp.element.createElement(SelectControl, {
|
87215 |
+
label: __("Image Position", 'ultimate-addons-for-gutenberg'),
|
87216 |
value: backgroundPosition,
|
87217 |
onChange: function onChange(value) {
|
87218 |
return setAttributes({ backgroundPosition: value });
|
87219 |
},
|
87220 |
+
options: [{ value: "top-left", label: __("Top Left", 'ultimate-addons-for-gutenberg') }, { value: "top-center", label: __("Top Center", 'ultimate-addons-for-gutenberg') }, { value: "top-right", label: __("Top Right", 'ultimate-addons-for-gutenberg') }, { value: "center-left", label: __("Center Left", 'ultimate-addons-for-gutenberg') }, { value: "center-center", label: __("Center Center", 'ultimate-addons-for-gutenberg') }, { value: "center-right", label: __("Center Right", 'ultimate-addons-for-gutenberg') }, { value: "bottom-left", label: __("Bottom Left", 'ultimate-addons-for-gutenberg') }, { value: "bottom-center", label: __("Bottom Center", 'ultimate-addons-for-gutenberg') }, { value: "bottom-right", label: __("Bottom Right", 'ultimate-addons-for-gutenberg') }]
|
87221 |
}),
|
87222 |
wp.element.createElement(SelectControl, {
|
87223 |
+
label: __("Repeat", 'ultimate-addons-for-gutenberg'),
|
87224 |
value: backgroundRepeat,
|
87225 |
onChange: function onChange(value) {
|
87226 |
return setAttributes({ backgroundRepeat: value });
|
87227 |
},
|
87228 |
+
options: [{ value: "no-repeat", label: __("No Repeat", 'ultimate-addons-for-gutenberg') }, { value: "repeat", label: __("Repeat", 'ultimate-addons-for-gutenberg') }, { value: "repeat-x", label: __("Repeat-x", 'ultimate-addons-for-gutenberg') }, { value: "repeat-y", label: __("Repeat-y", 'ultimate-addons-for-gutenberg') }]
|
87229 |
}),
|
87230 |
wp.element.createElement(SelectControl, {
|
87231 |
label: __("Size"),
|
87233 |
onChange: function onChange(value) {
|
87234 |
return setAttributes({ backgroundSize: value });
|
87235 |
},
|
87236 |
+
options: [{ value: "auto", label: __("Auto", 'ultimate-addons-for-gutenberg') }, { value: "cover", label: __("Cover", 'ultimate-addons-for-gutenberg') }, { value: "contain", label: __("Contain", 'ultimate-addons-for-gutenberg') }]
|
87237 |
}),
|
87238 |
wp.element.createElement(
|
87239 |
Fragment,
|
87241 |
wp.element.createElement(
|
87242 |
"p",
|
87243 |
{ className: "uagb-setting-label" },
|
87244 |
+
__("Image Overlay Color", 'ultimate-addons-for-gutenberg'),
|
87245 |
wp.element.createElement(
|
87246 |
"span",
|
87247 |
{ className: "components-base-control__label" },
|
87259 |
)
|
87260 |
),
|
87261 |
"image" == backgroundType && backgroundImage && wp.element.createElement(RangeControl, {
|
87262 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
87263 |
value: backgroundOpacity,
|
87264 |
onChange: function onChange(value) {
|
87265 |
return setAttributes({ backgroundOpacity: value });
|
87272 |
),
|
87273 |
wp.element.createElement(
|
87274 |
PanelBody,
|
87275 |
+
{ title: __("Border", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
87276 |
wp.element.createElement(SelectControl, {
|
87277 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
87278 |
value: borderStyle,
|
87279 |
onChange: function onChange(value) {
|
87280 |
return setAttributes({ borderStyle: value });
|
87281 |
},
|
87282 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
87283 |
}),
|
87284 |
"none" != borderStyle && wp.element.createElement(
|
87285 |
Fragment,
|
87286 |
null,
|
87287 |
wp.element.createElement(RangeControl, {
|
87288 |
+
label: __("Border Width", 'ultimate-addons-for-gutenberg'),
|
87289 |
value: borderWidth,
|
87290 |
onChange: function onChange(value) {
|
87291 |
return setAttributes({ borderWidth: value });
|
87300 |
wp.element.createElement(
|
87301 |
"p",
|
87302 |
{ className: "uagb-setting-label" },
|
87303 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
87304 |
wp.element.createElement(
|
87305 |
"span",
|
87306 |
{ className: "components-base-control__label" },
|
87317 |
)
|
87318 |
),
|
87319 |
wp.element.createElement(RangeControl, {
|
87320 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
87321 |
value: borderRadius,
|
87322 |
onChange: function onChange(value) {
|
87323 |
return setAttributes({ borderRadius: value });
|
87330 |
);
|
87331 |
|
87332 |
// Image sizes.
|
87333 |
+
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail", 'ultimate-addons-for-gutenberg') }, { value: "medium", label: __("Medium", 'ultimate-addons-for-gutenberg') }, { value: "full", label: __("Large", 'ultimate-addons-for-gutenberg') }];
|
87334 |
|
87335 |
function NextArrow(props) {
|
87336 |
return wp.element.createElement(
|
87390 |
return wp.element.createElement(
|
87391 |
PanelBody,
|
87392 |
{ key: index,
|
87393 |
+
title: __("Image", 'ultimate-addons-for-gutenberg') + " " + (index + 1) + " " + __("Settings", 'ultimate-addons-for-gutenberg'),
|
87394 |
initialOpen: true,
|
87395 |
className: "uagb-repeater-panel"
|
87396 |
},
|
87429 |
|
87430 |
var carousal_settings = wp.element.createElement(
|
87431 |
PanelBody,
|
87432 |
+
{ title: __("Carousel", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
87433 |
wp.element.createElement(ToggleControl, {
|
87434 |
+
label: __("Pause On Hover", 'ultimate-addons-for-gutenberg'),
|
87435 |
checked: pauseOnHover,
|
87436 |
onChange: this.togglePauseOnHover
|
87437 |
}),
|
87441 |
onChange: this.toggleAutoplay
|
87442 |
}),
|
87443 |
autoplay == true && wp.element.createElement(RangeControl, {
|
87444 |
+
label: __("Autoplay Speed (ms)", 'ultimate-addons-for-gutenberg'),
|
87445 |
value: autoplaySpeed,
|
87446 |
onChange: function onChange(value) {
|
87447 |
return setAttributes({ autoplaySpeed: value });
|
87450 |
max: 10000
|
87451 |
}),
|
87452 |
wp.element.createElement(ToggleControl, {
|
87453 |
+
label: __("Infinite Loop", 'ultimate-addons-for-gutenberg'),
|
87454 |
checked: infiniteLoop,
|
87455 |
onChange: this.toggleInfiniteLoop
|
87456 |
}),
|
87457 |
wp.element.createElement(RangeControl, {
|
87458 |
+
label: __("Transition Speed (ms)", 'ultimate-addons-for-gutenberg'),
|
87459 |
value: transitionSpeed,
|
87460 |
onChange: function onChange(value) {
|
87461 |
return setAttributes({ transitionSpeed: value });
|
87464 |
max: 5000
|
87465 |
}),
|
87466 |
wp.element.createElement(SelectControl, {
|
87467 |
+
label: __("Show Arrows & Dots", 'ultimate-addons-for-gutenberg'),
|
87468 |
value: arrowDots,
|
87469 |
onChange: function onChange(value) {
|
87470 |
return setAttributes({ arrowDots: value });
|
87471 |
},
|
87472 |
+
options: [{ value: "arrows", label: __("Only Arrows", 'ultimate-addons-for-gutenberg') }, { value: "dots", label: __("Only Dots", 'ultimate-addons-for-gutenberg') }, { value: "arrows_dots", label: __("Both Arrows & Dots", 'ultimate-addons-for-gutenberg') }]
|
87473 |
}),
|
87474 |
"dots" != arrowDots && wp.element.createElement(
|
87475 |
Fragment,
|
87476 |
null,
|
87477 |
wp.element.createElement(RangeControl, {
|
87478 |
+
label: __("Arrow Size", 'ultimate-addons-for-gutenberg'),
|
87479 |
value: arrowSize,
|
87480 |
onChange: function onChange(value) {
|
87481 |
return setAttributes({ arrowSize: value });
|
87484 |
max: 50
|
87485 |
}),
|
87486 |
wp.element.createElement(RangeControl, {
|
87487 |
+
label: __("Arrow Border Size", 'ultimate-addons-for-gutenberg'),
|
87488 |
value: arrowBorderSize,
|
87489 |
onChange: function onChange(value) {
|
87490 |
return setAttributes({ arrowBorderSize: value });
|
87493 |
max: 50
|
87494 |
}),
|
87495 |
wp.element.createElement(RangeControl, {
|
87496 |
+
label: __("Arrow Border Radius", 'ultimate-addons-for-gutenberg'),
|
87497 |
value: arrowBorderRadius,
|
87498 |
onChange: function onChange(value) {
|
87499 |
return setAttributes({ arrowBorderRadius: value });
|
87523 |
PanelBody,
|
87524 |
{ title: __("General"), initialOpen: true },
|
87525 |
wp.element.createElement(RangeControl, {
|
87526 |
+
label: __("Number of Testimonials", 'ultimate-addons-for-gutenberg'),
|
87527 |
value: test_item_count,
|
87528 |
onChange: function onChange(newCount) {
|
87529 |
var cloneTest_block = [].concat(_toConsumableArray(test_block));
|
87577 |
|
87578 |
if ("mobile" === tab.name) {
|
87579 |
tabout = wp.element.createElement(RangeControl, {
|
87580 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
87581 |
value: mcolumns,
|
87582 |
onChange: function onChange(value) {
|
87583 |
return setAttributes({ mcolumns: value });
|
87587 |
});
|
87588 |
} else if ("tablet" === tab.name) {
|
87589 |
tabout = wp.element.createElement(RangeControl, {
|
87590 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
87591 |
value: tcolumns,
|
87592 |
onChange: function onChange(value) {
|
87593 |
return setAttributes({ tcolumns: value });
|
87597 |
});
|
87598 |
} else {
|
87599 |
tabout = wp.element.createElement(RangeControl, {
|
87600 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
87601 |
value: columns,
|
87602 |
onChange: function onChange(value) {
|
87603 |
return setAttributes({ columns: value });
|
87619 |
wp.element.createElement(
|
87620 |
PanelBody,
|
87621 |
{
|
87622 |
+
title: __("Image", 'ultimate-addons-for-gutenberg'),
|
87623 |
initialOpen: false
|
87624 |
},
|
87625 |
__WEBPACK_IMPORTED_MODULE_7_lodash_times___default()(test_item_count, function (n) {
|
87635 |
onChange: function onChange(value) {
|
87636 |
return setAttributes({ imagePosition: value });
|
87637 |
},
|
87638 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "bottom", label: __("Bottom", 'ultimate-addons-for-gutenberg') }, { value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }]
|
87639 |
}),
|
87640 |
(imagePosition == "left" || imagePosition == "right") && wp.element.createElement(
|
87641 |
Fragment,
|
87642 |
null,
|
87643 |
wp.element.createElement(SelectControl, {
|
87644 |
+
label: __("Vertical ALignment", 'ultimate-addons-for-gutenberg'),
|
87645 |
value: imageAlignment,
|
87646 |
onChange: function onChange(value) {
|
87647 |
return setAttributes({ imageAlignment: value });
|
87648 |
},
|
87649 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "middle", label: __("Middle", 'ultimate-addons-for-gutenberg') }]
|
87650 |
}),
|
87651 |
wp.element.createElement(SelectControl, {
|
87652 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
87653 |
value: stack,
|
87654 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
87655 |
+
help: __("Note: Choose on what breakpoint the Info Box will stack.", 'ultimate-addons-for-gutenberg'),
|
87656 |
onChange: function onChange(value) {
|
87657 |
return setAttributes({ stack: value });
|
87658 |
}
|
87659 |
})
|
87660 |
),
|
87661 |
wp.element.createElement(SelectControl, {
|
87662 |
+
label: __("Image Style", 'ultimate-addons-for-gutenberg'),
|
87663 |
value: iconimgStyle,
|
87664 |
onChange: function onChange(value) {
|
87665 |
return setAttributes({ iconimgStyle: value });
|
87666 |
},
|
87667 |
+
options: [{ value: "normal", label: __("Normal", 'ultimate-addons-for-gutenberg') }, { value: "circle", label: __("Circle", 'ultimate-addons-for-gutenberg') }, { value: "square", label: __("Square", 'ultimate-addons-for-gutenberg') }]
|
87668 |
}),
|
87669 |
wp.element.createElement(SelectControl, {
|
87670 |
+
label: __("Image Size", 'ultimate-addons-for-gutenberg'),
|
87671 |
options: imageSizeOptions,
|
87672 |
value: imageSize,
|
87673 |
onChange: function onChange(value) {
|
87675 |
}
|
87676 |
}),
|
87677 |
wp.element.createElement(RangeControl, {
|
87678 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
87679 |
value: imageWidth,
|
87680 |
onChange: function onChange(value) {
|
87681 |
return setAttributes({ imageWidth: value });
|
87810 |
"use strict";
|
87811 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
87812 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
87813 |
+
/**
|
87814 |
+
* Returns Dynamic Generated CSS
|
87815 |
*/
|
87816 |
|
87817 |
|
88063 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_Image__ = __webpack_require__(/*! ./components/Image */ 207);
|
88064 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
88065 |
|
88066 |
+
/**
|
88067 |
+
* BLOCK: Testimonial - Save Block
|
88068 |
*/
|
88069 |
|
88070 |
|
88096 |
|
88097 |
|
88098 |
return wp.element.createElement(
|
88099 |
+
"div",
|
88100 |
+
{ className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, "uagb-testomonial__outer-wrap uagb-slick-carousel uagb-tm__arrow-outside", "uagb-block-" + block_id)
|
88101 |
+
},
|
88102 |
wp.element.createElement(
|
88103 |
"div",
|
88104 |
+
{
|
88105 |
+
className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()("is-carousel", "uagb-tm__columns-" + columns, "uagb-tm__items")
|
88106 |
},
|
88107 |
+
test_block.map(function (test, index) {
|
88108 |
+
return wp.element.createElement(
|
88109 |
+
"div",
|
88110 |
+
{ className: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, ["uagb-testimonial__wrap"].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__classes__["a" /* default */])(props.attributes)))), key: "wrap-" + index },
|
88111 |
+
wp.element.createElement(
|
|
|
|
|
88112 |
"div",
|
88113 |
+
{ className: "uagb-tm__content", key: "tm_content-" + index },
|
88114 |
+
wp.element.createElement("div", { className: "uagb-tm__overlay" }),
|
88115 |
+
(imagePosition == "top" || imagePosition == "left") && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_Image__["a" /* default */], { attributes: props.attributes, index_value: index }),
|
88116 |
wp.element.createElement(
|
88117 |
"div",
|
88118 |
+
{ className: "uagb-tm__text-wrap" },
|
88119 |
+
// Get description.
|
|
|
88120 |
wp.element.createElement(
|
88121 |
+
Fragment,
|
88122 |
+
null,
|
|
|
88123 |
wp.element.createElement(
|
88124 |
+
"div",
|
88125 |
+
{ className: "uagb-testinomial-text-wrap", key: "text-wrap-" + index },
|
88126 |
+
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_Description__["a" /* default */], { attributes: props.attributes, setAttributes: "not_set", props: props, index_value: index })
|
88127 |
+
)
|
88128 |
+
),
|
88129 |
+
wp.element.createElement(
|
88130 |
+
"div",
|
88131 |
+
{ className: "uagb-tm__meta" },
|
88132 |
wp.element.createElement(
|
88133 |
"div",
|
88134 |
+
{ className: "uagb-tm__meta-inner" },
|
88135 |
+
imagePosition == "bottom" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_Image__["a" /* default */], { attributes: props.attributes, index_value: index }),
|
88136 |
+
//title_text
|
88137 |
wp.element.createElement(
|
88138 |
+
Fragment,
|
88139 |
+
null,
|
|
|
|
|
88140 |
wp.element.createElement(
|
88141 |
+
"div",
|
88142 |
+
{ className: "uagb-testimonial-details", key: "tm_wraps-" + index },
|
88143 |
+
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_1__components_AuthorName__["a" /* default */], { attributes: props.attributes, setAttributes: "not_set", props: props, index_value: index }),
|
88144 |
+
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_Company__["a" /* default */], { attributes: props.attributes, setAttributes: "not_set", props: props, index_value: index })
|
|
|
|
|
|
|
|
|
88145 |
)
|
88146 |
)
|
88147 |
)
|
88148 |
+
)
|
88149 |
+
),
|
88150 |
+
imagePosition == "right" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_Image__["a" /* default */], { attributes: props.attributes, index_value: index })
|
88151 |
+
)
|
88152 |
+
);
|
88153 |
+
})
|
88154 |
)
|
88155 |
);
|
88156 |
}
|
88176 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_TestimonialImage__ = __webpack_require__(/*! ./components/TestimonialImage */ 534);
|
88177 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
88178 |
|
88179 |
+
/**
|
88180 |
+
* BLOCK: Testimonial - Deprecated Block
|
88181 |
*/
|
88182 |
|
88183 |
|
88590 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__editor_scss__);
|
88591 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__style_scss__ = __webpack_require__(/*! ./style.scss */ 543);
|
88592 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__style_scss__);
|
88593 |
+
/**
|
88594 |
+
* BLOCK: Team
|
88595 |
*/
|
88596 |
|
88597 |
|
88612 |
title: uagb_blocks_info.blocks["uagb/team"]["title"],
|
88613 |
description: uagb_blocks_info.blocks["uagb/team"]["description"],
|
88614 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].team,
|
88615 |
+
keywords: [__("team", 'ultimate-addons-for-gutenberg'), __("members", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
88616 |
supports: {
|
88617 |
anchor: true
|
88618 |
},
|
88655 |
|
88656 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
88657 |
|
88658 |
+
/**
|
88659 |
+
* BLOCK: Team
|
88660 |
*/
|
88661 |
|
88662 |
|
88696 |
|
88697 |
var svg_icons = Object.keys(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_UAGBIcon_json___default.a);
|
88698 |
|
88699 |
+
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail", 'ultimate-addons-for-gutenberg') }, { value: "medium", label: __("Medium", 'ultimate-addons-for-gutenberg') }, { value: "full", label: __("Large", 'ultimate-addons-for-gutenberg') }];
|
88700 |
|
88701 |
var UAGBTeam = function (_Component) {
|
88702 |
_inherits(UAGBTeam, _Component);
|
88932 |
wp.element.createElement(RichText, (_wp$element$createEle = {
|
88933 |
tagName: "p",
|
88934 |
value: description_text,
|
88935 |
+
placeholder: __("Write a Description", 'ultimate-addons-for-gutenberg'),
|
88936 |
className: "uagb-team__desc",
|
88937 |
onChange: function onChange(value) {
|
88938 |
return setAttributes({ description_text: value });
|
88939 |
},
|
88940 |
onMerge: mergeBlocks
|
88941 |
+
}, _defineProperty(_wp$element$createEle, "placeholder", __("Write a Description", 'ultimate-addons-for-gutenberg')), _defineProperty(_wp$element$createEle, "unstableOnSplit", insertBlocksAfter ? function (before, after) {
|
88942 |
for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
88943 |
blocks[_key - 2] = arguments[_key];
|
88944 |
}
|
88975 |
return setAttributes({ title: value });
|
88976 |
},
|
88977 |
multiline: false,
|
88978 |
+
placeholder: __("Write a Title", 'ultimate-addons-for-gutenberg'),
|
88979 |
onMerge: mergeBlocks,
|
88980 |
unstableOnSplit: insertBlocksAfter ? function (before, after) {
|
88981 |
for (var _len2 = arguments.length, blocks = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
88992 |
wp.element.createElement(RichText, (_wp$element$createEle2 = {
|
88993 |
tagName: "div",
|
88994 |
value: prefix,
|
88995 |
+
placeholder: __("Enter Prefix", 'ultimate-addons-for-gutenberg'),
|
88996 |
className: "uagb-team__prefix",
|
88997 |
onChange: function onChange(value) {
|
88998 |
return setAttributes({ prefix: value });
|
88999 |
},
|
89000 |
onMerge: mergeBlocks
|
89001 |
+
}, _defineProperty(_wp$element$createEle2, "placeholder", __("Write a Designation", 'ultimate-addons-for-gutenberg')), _defineProperty(_wp$element$createEle2, "unstableOnSplit", insertBlocksAfter ? function (before, after) {
|
89002 |
for (var _len3 = arguments.length, blocks = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
|
89003 |
blocks[_key3 - 2] = arguments[_key3];
|
89004 |
}
|
89035 |
BaseControl,
|
89036 |
{
|
89037 |
className: "editor-bg-image-control",
|
89038 |
+
label: __("Team Member Image", 'ultimate-addons-for-gutenberg') },
|
89039 |
wp.element.createElement(MediaUpload, {
|
89040 |
+
title: __("Select Image", 'ultimate-addons-for-gutenberg'),
|
89041 |
onSelect: this.onSelectImage,
|
89042 |
allowedTypes: ["image"],
|
89043 |
value: image,
|
89046 |
return wp.element.createElement(
|
89047 |
Button,
|
89048 |
{ isDefault: true, onClick: open },
|
89049 |
+
!image ? __("Select Image", 'ultimate-addons-for-gutenberg') : __("Replace image", 'ultimate-addons-for-gutenberg')
|
89050 |
);
|
89051 |
}
|
89052 |
}),
|
89053 |
image && wp.element.createElement(
|
89054 |
Button,
|
89055 |
{ className: "uagb-rm-btn", onClick: onRemoveImage, isLink: true, isDestructive: true },
|
89056 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
89057 |
)
|
89058 |
),
|
89059 |
image && wp.element.createElement(SelectControl, {
|
89060 |
+
label: __("Position", 'ultimate-addons-for-gutenberg'),
|
89061 |
value: imgPosition,
|
89062 |
onChange: function onChange(value) {
|
89063 |
return setAttributes({ imgPosition: value });
|
89064 |
},
|
89065 |
+
options: [{ value: "above", label: __("Above", 'ultimate-addons-for-gutenberg') }, { value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }]
|
89066 |
}),
|
89067 |
imgPosition != "above" && image && wp.element.createElement(SelectControl, {
|
89068 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
89069 |
value: stack,
|
89070 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
89071 |
help: __("Note: Choose on what breakpoint the Team will stack."),
|
89072 |
onChange: function onChange(value) {
|
89073 |
return setAttributes({ stack: value });
|
89074 |
}
|
89075 |
}),
|
89076 |
image && wp.element.createElement(SelectControl, {
|
89077 |
+
label: __("Image Style", 'ultimate-addons-for-gutenberg'),
|
89078 |
value: imgStyle,
|
89079 |
onChange: function onChange(value) {
|
89080 |
return setAttributes({ imgStyle: value });
|
89081 |
},
|
89082 |
+
options: [{ value: "normal", label: __("Normal", 'ultimate-addons-for-gutenberg') }, { value: "circle", label: __("Circle", 'ultimate-addons-for-gutenberg') }, { value: "square", label: __("Square", 'ultimate-addons-for-gutenberg') }]
|
89083 |
}),
|
89084 |
imgPosition && imgPosition !== "above" && image && wp.element.createElement(SelectControl, {
|
89085 |
+
label: __("Vertical Alignment", 'ultimate-addons-for-gutenberg'),
|
89086 |
value: imgAlign,
|
89087 |
onChange: function onChange(value) {
|
89088 |
return setAttributes({ imgAlign: value });
|
89089 |
},
|
89090 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "middle", label: __("Middle", 'ultimate-addons-for-gutenberg') }]
|
89091 |
}),
|
89092 |
image && wp.element.createElement(
|
89093 |
Fragment,
|
89094 |
null,
|
89095 |
wp.element.createElement(SelectControl, {
|
89096 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
89097 |
options: imageSizeOptions,
|
89098 |
value: imgSize,
|
89099 |
onChange: function onChange(value) {
|
89101 |
}
|
89102 |
}),
|
89103 |
wp.element.createElement(RangeControl, {
|
89104 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
89105 |
value: imgWidth,
|
89106 |
onChange: function onChange(value) {
|
89107 |
return setAttributes({ imgWidth: value });
|
89114 |
),
|
89115 |
wp.element.createElement(
|
89116 |
PanelBody,
|
89117 |
+
{ title: __("Social Links", 'ultimate-addons-for-gutenberg'),
|
89118 |
initialOpen: false },
|
89119 |
wp.element.createElement(ToggleControl, {
|
89120 |
+
label: __("Enable Social Links", 'ultimate-addons-for-gutenberg'),
|
89121 |
checked: socialEnable,
|
89122 |
onChange: function onChange(value) {
|
89123 |
return setAttributes({ socialEnable: !socialEnable });
|
89127 |
Fragment,
|
89128 |
null,
|
89129 |
wp.element.createElement(ToggleControl, {
|
89130 |
+
label: __("Open Links in New Window", 'ultimate-addons-for-gutenberg'),
|
89131 |
checked: socialTarget,
|
89132 |
onChange: function onChange(value) {
|
89133 |
return setAttributes({ socialTarget: !socialTarget });
|
89135 |
}),
|
89136 |
wp.element.createElement(
|
89137 |
PanelBody,
|
89138 |
+
{ title: __("Twitter", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
89139 |
wp.element.createElement(
|
89140 |
"p",
|
89141 |
{ className: "components-base-control__label" },
|
89142 |
+
__("Icon", 'ultimate-addons-for-gutenberg')
|
89143 |
),
|
89144 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
89145 |
icons: svg_icons,
|
89150 |
return setAttributes({ twitterIcon: value });
|
89151 |
},
|
89152 |
isMulti: false,
|
89153 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
89154 |
}),
|
89155 |
wp.element.createElement(
|
89156 |
"p",
|
89157 |
{ className: "components-base-control__label" },
|
89158 |
+
__("URL", 'ultimate-addons-for-gutenberg')
|
89159 |
),
|
89160 |
wp.element.createElement(TextControl, {
|
89161 |
value: twitterLink,
|
89162 |
onChange: function onChange(value) {
|
89163 |
return setAttributes({ twitterLink: value });
|
89164 |
},
|
89165 |
+
placeholder: __("Enter Twitter URL", 'ultimate-addons-for-gutenberg')
|
89166 |
})
|
89167 |
),
|
89168 |
wp.element.createElement(
|
89169 |
PanelBody,
|
89170 |
+
{ title: __("Facebook", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
89171 |
wp.element.createElement(
|
89172 |
"p",
|
89173 |
{ className: "components-base-control__label" },
|
89174 |
+
__("Icon", 'ultimate-addons-for-gutenberg')
|
89175 |
),
|
89176 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
89177 |
icons: svg_icons,
|
89182 |
return setAttributes({ fbIcon: value });
|
89183 |
},
|
89184 |
isMulti: false,
|
89185 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
89186 |
}),
|
89187 |
wp.element.createElement(
|
89188 |
"p",
|
89189 |
{ className: "components-base-control__label" },
|
89190 |
+
__("URL", 'ultimate-addons-for-gutenberg')
|
89191 |
),
|
89192 |
wp.element.createElement(TextControl, {
|
89193 |
value: fbLink,
|
89194 |
onChange: function onChange(value) {
|
89195 |
return setAttributes({ fbLink: value });
|
89196 |
},
|
89197 |
+
placeholder: __("Enter Facebook URL", 'ultimate-addons-for-gutenberg')
|
89198 |
})
|
89199 |
),
|
89200 |
wp.element.createElement(
|
89201 |
PanelBody,
|
89202 |
+
{ title: __("LinkedIn", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
89203 |
wp.element.createElement(
|
89204 |
"p",
|
89205 |
{ className: "components-base-control__label" },
|
89206 |
+
__("Icon", 'ultimate-addons-for-gutenberg')
|
89207 |
),
|
89208 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
89209 |
icons: svg_icons,
|
89210 |
renderFunc: __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
89211 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg'),
|
89212 |
theme: "default",
|
89213 |
value: linkedinIcon,
|
89214 |
onChange: function onChange(value) {
|
89219 |
wp.element.createElement(
|
89220 |
"p",
|
89221 |
{ className: "components-base-control__label" },
|
89222 |
+
__("URL", 'ultimate-addons-for-gutenberg')
|
89223 |
),
|
89224 |
wp.element.createElement(TextControl, {
|
89225 |
value: linkedinLink,
|
89226 |
onChange: function onChange(value) {
|
89227 |
return setAttributes({ linkedinLink: value });
|
89228 |
},
|
89229 |
+
placeholder: __("Enter LinkedIn URL", 'ultimate-addons-for-gutenberg')
|
89230 |
})
|
89231 |
),
|
89232 |
wp.element.createElement(
|
89233 |
PanelBody,
|
89234 |
+
{ title: __("Pinterest", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
89235 |
wp.element.createElement(
|
89236 |
"p",
|
89237 |
{ className: "components-base-control__label" },
|
89238 |
+
__("Icon", 'ultimate-addons-for-gutenberg')
|
89239 |
),
|
89240 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
89241 |
icons: svg_icons,
|
89242 |
renderFunc: __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
89243 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg'),
|
89244 |
theme: "default",
|
89245 |
value: pinIcon,
|
89246 |
onChange: function onChange(value) {
|
89251 |
wp.element.createElement(
|
89252 |
"p",
|
89253 |
{ className: "components-base-control__label" },
|
89254 |
+
__("URL", 'ultimate-addons-for-gutenberg')
|
89255 |
),
|
89256 |
wp.element.createElement(TextControl, {
|
89257 |
value: pinLink,
|
89258 |
onChange: function onChange(value) {
|
89259 |
return setAttributes({ pinLink: value });
|
89260 |
},
|
89261 |
+
placeholder: __("Enter Pinterest URL", 'ultimate-addons-for-gutenberg')
|
89262 |
})
|
89263 |
)
|
89264 |
)
|
89266 |
wp.element.createElement(
|
89267 |
PanelBody,
|
89268 |
{
|
89269 |
+
title: __("Typography", 'ultimate-addons-for-gutenberg'),
|
89270 |
initialOpen: false },
|
89271 |
wp.element.createElement(SelectControl, {
|
89272 |
+
label: __("Title Tag", 'ultimate-addons-for-gutenberg'),
|
89273 |
value: tag,
|
89274 |
onChange: function onChange(value) {
|
89275 |
return setAttributes({ tag: value });
|
89276 |
},
|
89277 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }]
|
89278 |
}),
|
89279 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
89280 |
wp.element.createElement(
|
89281 |
"h2",
|
89282 |
null,
|
89283 |
+
__("Title", 'ultimate-addons-for-gutenberg')
|
89284 |
),
|
89285 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
89286 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
89287 |
attributes: attributes,
|
89288 |
setAttributes: setAttributes,
|
89289 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: 'titleLoadGoogleFonts' },
|
89303 |
wp.element.createElement(
|
89304 |
"h2",
|
89305 |
null,
|
89306 |
+
__("Prefix", 'ultimate-addons-for-gutenberg')
|
89307 |
),
|
89308 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
89309 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
89310 |
attributes: attributes,
|
89311 |
setAttributes: setAttributes,
|
89312 |
loadGoogleFonts: { value: prefixLoadGoogleFonts, label: 'prefixLoadGoogleFonts' },
|
89326 |
wp.element.createElement(
|
89327 |
"h2",
|
89328 |
null,
|
89329 |
+
__("Description", 'ultimate-addons-for-gutenberg')
|
89330 |
),
|
89331 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
89332 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
89333 |
attributes: attributes,
|
89334 |
setAttributes: setAttributes,
|
89335 |
loadGoogleFonts: { value: descLoadGoogleFonts, label: 'descLoadGoogleFonts' },
|
89349 |
wp.element.createElement(
|
89350 |
"h2",
|
89351 |
null,
|
89352 |
+
__("Social Icons", 'ultimate-addons-for-gutenberg')
|
89353 |
),
|
89354 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
89355 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
89356 |
attributes: attributes,
|
89357 |
setAttributes: setAttributes,
|
89358 |
fontSizeType: { value: socialFontSizeType, label: 'socialFontSizeType' },
|
89364 |
})
|
89365 |
),
|
89366 |
wp.element.createElement(PanelColorSettings, {
|
89367 |
+
title: __("Color Settings", 'ultimate-addons-for-gutenberg'),
|
89368 |
initialOpen: false,
|
89369 |
colorSettings: [{
|
89370 |
value: titleColor,
|
89371 |
onChange: function onChange(colorValue) {
|
89372 |
return setAttributes({ titleColor: colorValue });
|
89373 |
},
|
89374 |
+
label: __("Title Color", 'ultimate-addons-for-gutenberg')
|
89375 |
}, {
|
89376 |
value: prefixColor,
|
89377 |
onChange: function onChange(colorValue) {
|
89378 |
return setAttributes({ prefixColor: colorValue });
|
89379 |
},
|
89380 |
+
label: __("Designation Color", 'ultimate-addons-for-gutenberg')
|
89381 |
}, {
|
89382 |
value: descColor,
|
89383 |
onChange: function onChange(colorValue) {
|
89384 |
return setAttributes({ descColor: colorValue });
|
89385 |
},
|
89386 |
+
label: __("Description Color", 'ultimate-addons-for-gutenberg')
|
89387 |
}, {
|
89388 |
value: socialColor,
|
89389 |
onChange: function onChange(colorValue) {
|
89390 |
return setAttributes({ socialColor: colorValue });
|
89391 |
},
|
89392 |
+
label: __("Social Icon Color", 'ultimate-addons-for-gutenberg')
|
89393 |
}, {
|
89394 |
value: socialHoverColor,
|
89395 |
onChange: function onChange(colorValue) {
|
89396 |
return setAttributes({ socialHoverColor: colorValue });
|
89397 |
},
|
89398 |
+
label: __("Social Icon Hover Color", 'ultimate-addons-for-gutenberg')
|
89399 |
}]
|
89400 |
}),
|
89401 |
wp.element.createElement(
|
89402 |
PanelBody,
|
89403 |
{
|
89404 |
+
title: __("Spacing", 'ultimate-addons-for-gutenberg'),
|
89405 |
initialOpen: false },
|
89406 |
wp.element.createElement(RangeControl, {
|
89407 |
+
label: __("Title Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
89408 |
value: titleSpace,
|
89409 |
onChange: function onChange(value) {
|
89410 |
return setAttributes({ titleSpace: value });
|
89415 |
initialPosition: 0
|
89416 |
}),
|
89417 |
wp.element.createElement(RangeControl, {
|
89418 |
+
label: __("Designation Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
89419 |
value: prefixSpace,
|
89420 |
onChange: function onChange(value) {
|
89421 |
return setAttributes({ prefixSpace: value });
|
89426 |
initialPosition: 0
|
89427 |
}),
|
89428 |
wp.element.createElement(RangeControl, {
|
89429 |
+
label: __("Description Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
89430 |
value: descSpace,
|
89431 |
onChange: function onChange(value) {
|
89432 |
return setAttributes({ descSpace: value });
|
89436 |
allowReset: true
|
89437 |
}),
|
89438 |
wp.element.createElement(RangeControl, {
|
89439 |
+
label: __("Inter Social Icon Spacing", 'ultimate-addons-for-gutenberg'),
|
89440 |
value: socialSpace,
|
89441 |
onChange: function onChange(value) {
|
89442 |
return setAttributes({ socialSpace: value });
|
89452 |
wp.element.createElement(
|
89453 |
"h2",
|
89454 |
null,
|
89455 |
+
__("Image Margin (px)", 'ultimate-addons-for-gutenberg')
|
89456 |
),
|
89457 |
imgPosition != "above" && wp.element.createElement(RangeControl, {
|
89458 |
label: __WEBPACK_IMPORTED_MODULE_5__dist_blocks_uagb_controls_block_icons__["a" /* default */].left_margin,
|
89566 |
"use strict";
|
89567 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
89568 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
89569 |
+
/**
|
89570 |
+
* Returns Dynamic Generated CSS
|
89571 |
*/
|
89572 |
|
89573 |
|
89794 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
89795 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
89796 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
89797 |
+
/**
|
89798 |
+
* BLOCK: Table of Contents - Save Block
|
89799 |
*/
|
89800 |
|
89801 |
|
89938 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
89939 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 209);
|
89940 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
89941 |
+
/**
|
89942 |
+
* BLOCK: Table of Contents - Deprecated Block
|
89943 |
*/
|
89944 |
|
89945 |
|
90343 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__links__ = __webpack_require__(/*! ./links */ 114);
|
90344 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__save__ = __webpack_require__(/*! ./save */ 550);
|
90345 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__deprecated__ = __webpack_require__(/*! ./deprecated */ 551);
|
90346 |
+
/**
|
90347 |
+
* BLOCK: Social Share
|
90348 |
*/
|
90349 |
|
90350 |
|
90368 |
description: uagb_blocks_info.blocks["uagb/social-share"]["description"],
|
90369 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].social_share,
|
90370 |
category: uagb_blocks_info.category,
|
90371 |
+
keywords: [__("social share", 'ultimate-addons-for-gutenberg'), __("icon", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
90372 |
supports: {
|
90373 |
anchor: true
|
90374 |
},
|
90418 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
90419 |
|
90420 |
"use strict";
|
90421 |
+
/**
|
90422 |
+
* WordPress dependencies
|
90423 |
*/
|
90424 |
var _wp$blocks = wp.blocks,
|
90425 |
createBlock = _wp$blocks.createBlock,
|
90426 |
getBlockAttributes = _wp$blocks.getBlockAttributes;
|
90427 |
|
90428 |
+
/**
|
90429 |
+
* Internal dependencies
|
90430 |
*/
|
90431 |
|
90432 |
var transform = {
|
90474 |
"use strict";
|
90475 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
90476 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
90477 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
90478 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
90479 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
90480 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
|
90491 |
|
90492 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
90493 |
|
90494 |
+
/**
|
90495 |
+
* BLOCK: UAGB - Social Share Edit Class
|
90496 |
*/
|
90497 |
|
90498 |
|
90579 |
bgSizeType = attributes.bgSizeType;
|
90580 |
|
90581 |
|
90582 |
+
var sizeTypes = [{ key: "px", name: __("px", 'ultimate-addons-for-gutenberg') }, { key: "em", name: __("em", 'ultimate-addons-for-gutenberg') }];
|
90583 |
|
90584 |
var sizeTypesControls = wp.element.createElement(
|
90585 |
ButtonGroup,
|
90586 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
90587 |
__WEBPACK_IMPORTED_MODULE_2_lodash_map___default()(sizeTypes, function (_ref) {
|
90588 |
var name = _ref.name,
|
90589 |
key = _ref.key;
|
90606 |
|
90607 |
var bgSizeTypesControls = wp.element.createElement(
|
90608 |
ButtonGroup,
|
90609 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
90610 |
__WEBPACK_IMPORTED_MODULE_2_lodash_map___default()(sizeTypes, function (_ref2) {
|
90611 |
var name = _ref2.name,
|
90612 |
key = _ref2.key;
|
90652 |
null,
|
90653 |
wp.element.createElement(
|
90654 |
PanelBody,
|
90655 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
90656 |
wp.element.createElement(SelectControl, {
|
90657 |
+
label: __("Layout", 'ultimate-addons-for-gutenberg'),
|
90658 |
value: social_layout,
|
90659 |
+
options: [{ value: "horizontal", label: __("Horizontal", 'ultimate-addons-for-gutenberg') }, { value: "vertical", label: __("Vertical", 'ultimate-addons-for-gutenberg') }],
|
90660 |
onChange: function onChange(value) {
|
90661 |
return setAttributes({ social_layout: value });
|
90662 |
}
|
90665 |
Fragment,
|
90666 |
null,
|
90667 |
wp.element.createElement(SelectControl, {
|
90668 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
90669 |
value: stack,
|
90670 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "desktop", label: __("Desktop", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
90671 |
onChange: function onChange(value) {
|
90672 |
return setAttributes({ stack: value });
|
90673 |
},
|
90674 |
+
help: __("Note: Choose on what breakpoint the Icons will stack.", 'ultimate-addons-for-gutenberg')
|
90675 |
})
|
90676 |
),
|
90677 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
90700 |
null,
|
90701 |
sizeTypesControls,
|
90702 |
wp.element.createElement(RangeControl, {
|
90703 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
90704 |
value: sizeMobile,
|
90705 |
onChange: function onChange(value) {
|
90706 |
return setAttributes({ sizeMobile: value });
|
90717 |
null,
|
90718 |
sizeTypesControls,
|
90719 |
wp.element.createElement(RangeControl, {
|
90720 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
90721 |
value: sizeTablet,
|
90722 |
onChange: function onChange(value) {
|
90723 |
return setAttributes({ sizeTablet: value });
|
90734 |
null,
|
90735 |
sizeTypesControls,
|
90736 |
wp.element.createElement(RangeControl, {
|
90737 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
90738 |
value: size,
|
90739 |
onChange: function onChange(value) {
|
90740 |
return setAttributes({ size: value });
|
90755 |
}
|
90756 |
),
|
90757 |
wp.element.createElement(RangeControl, {
|
90758 |
+
label: __("Background Size", 'ultimate-addons-for-gutenberg'),
|
90759 |
value: bgSize,
|
90760 |
onChange: function onChange(value) {
|
90761 |
return setAttributes({ bgSize: value });
|
90762 |
},
|
90763 |
+
help: __("Note: Background Size option is useful when one adds background color to the icons.", 'ultimate-addons-for-gutenberg'),
|
90764 |
min: 0,
|
90765 |
max: 500
|
90766 |
}),
|
90767 |
wp.element.createElement(RangeControl, {
|
90768 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
90769 |
value: borderRadius,
|
90770 |
onChange: function onChange(value) {
|
90771 |
return setAttributes({ borderRadius: value });
|
90772 |
},
|
90773 |
+
help: __("Note: Border Radius option is useful when one adds background color to the icons.", 'ultimate-addons-for-gutenberg'),
|
90774 |
min: 0,
|
90775 |
max: 500
|
90776 |
}),
|
90777 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
90778 |
wp.element.createElement(RangeControl, {
|
90779 |
+
label: __("Gap between Items", 'ultimate-addons-for-gutenberg'),
|
90780 |
value: gap,
|
90781 |
onChange: function onChange(value) {
|
90782 |
return setAttributes({ gap: value });
|
90783 |
},
|
90784 |
+
help: __("Note: The gap between the items will seem larger in the editor, for better user edit experience. But at frontend the gap will be exactly what is set from here.", 'ultimate-addons-for-gutenberg'),
|
90785 |
min: 0,
|
90786 |
max: 100
|
90787 |
})
|
90823 |
"use strict";
|
90824 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
90825 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
90826 |
+
/**
|
90827 |
+
* Returns Dynamic Generated CSS
|
90828 |
*/
|
90829 |
|
90830 |
|
91036 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
91037 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
91038 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__links__ = __webpack_require__(/*! ./links */ 114);
|
91039 |
+
/**
|
91040 |
+
* BLOCK: Column - Save Block
|
91041 |
*/
|
91042 |
|
91043 |
// Import block dependencies and components.
|
91086 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 210);
|
91087 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
91088 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__links__ = __webpack_require__(/*! ./links */ 114);
|
91089 |
+
/**
|
91090 |
+
* BLOCK: Social Share - Deprecated Block
|
91091 |
*/
|
91092 |
|
91093 |
// Import block dependencies and components.
|
91324 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 557);
|
91325 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
91326 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */ 558);
|
91327 |
+
/**
|
91328 |
+
* BLOCK: Social Share Child
|
91329 |
*/
|
91330 |
|
91331 |
|
91346 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].social_share_child,
|
91347 |
category: uagb_blocks_info.category,
|
91348 |
parent: ["uagb/social-share"],
|
91349 |
+
keywords: [__("social share", 'ultimate-addons-for-gutenberg'), __("icon", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
91350 |
attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
|
91351 |
edit: __WEBPACK_IMPORTED_MODULE_2__edit__["a" /* default */],
|
91352 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
91379 |
|
91380 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
91381 |
|
91382 |
+
/**
|
91383 |
+
* BLOCK: Social Share Child - Edit Class
|
91384 |
*/
|
91385 |
|
91386 |
// Import classes
|
91444 |
}
|
91445 |
}
|
91446 |
|
91447 |
+
/*
|
91448 |
+
* Event to set Image as null while removing.
|
91449 |
*/
|
91450 |
|
91451 |
}, {
|
91456 |
setAttributes({ image: null });
|
91457 |
}
|
91458 |
|
91459 |
+
/*
|
91460 |
+
* Event to set Image as while adding.
|
91461 |
*/
|
91462 |
|
91463 |
}, {
|
91543 |
wp.element.createElement(
|
91544 |
"p",
|
91545 |
{ className: "uagb-setting-label" },
|
91546 |
+
__("Image Background Color", 'ultimate-addons-for-gutenberg'),
|
91547 |
wp.element.createElement(
|
91548 |
"span",
|
91549 |
{ className: "components-base-control__label" },
|
91564 |
wp.element.createElement(
|
91565 |
"p",
|
91566 |
{ className: "uagb-setting-label" },
|
91567 |
+
__("Image Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
91568 |
wp.element.createElement(
|
91569 |
"span",
|
91570 |
{ className: "components-base-control__label" },
|
91604 |
wp.element.createElement(
|
91605 |
"p",
|
91606 |
{ className: "uagb-setting-label" },
|
91607 |
+
__("Icon Background Color", 'ultimate-addons-for-gutenberg'),
|
91608 |
wp.element.createElement(
|
91609 |
"span",
|
91610 |
{ className: "components-base-control__label" },
|
91625 |
wp.element.createElement(
|
91626 |
"p",
|
91627 |
{ className: "uagb-setting-label" },
|
91628 |
+
__("Icon Hover Color", 'ultimate-addons-for-gutenberg'),
|
91629 |
wp.element.createElement(
|
91630 |
"span",
|
91631 |
{ className: "components-base-control__label" },
|
91642 |
wp.element.createElement(
|
91643 |
"p",
|
91644 |
{ className: "uagb-setting-label" },
|
91645 |
+
__("Icon Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
91646 |
wp.element.createElement(
|
91647 |
"span",
|
91648 |
{ className: "components-base-control__label" },
|
91665 |
activeClass: "active-tab",
|
91666 |
tabs: [{
|
91667 |
name: "normal",
|
91668 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
91669 |
className: "uagb-normal-tab"
|
91670 |
}, {
|
91671 |
name: "hover",
|
91672 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
91673 |
className: "uagb-hover-tab"
|
91674 |
}] },
|
91675 |
function (tabName) {
|
91731 |
null,
|
91732 |
wp.element.createElement(
|
91733 |
PanelBody,
|
91734 |
+
{ title: __("Social Share Settings", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
91735 |
wp.element.createElement(SelectControl, {
|
91736 |
label: __("Type"),
|
91737 |
value: type,
|
91738 |
+
options: [{ value: "facebook", label: __("Facebook", 'ultimate-addons-for-gutenberg') }, { value: "twitter", label: __("Twitter", 'ultimate-addons-for-gutenberg') }, { value: "google", label: __("Google Currents", 'ultimate-addons-for-gutenberg') }, { value: "pinterest", label: __("Pinterest", 'ultimate-addons-for-gutenberg') }, { value: "linkedin", label: __("LinkedIn", 'ultimate-addons-for-gutenberg') }, { value: "digg", label: __("Digg", 'ultimate-addons-for-gutenberg') }, { value: "blogger", label: __("Blogger", 'ultimate-addons-for-gutenberg') }, { value: "reddit", label: __("Reddit", 'ultimate-addons-for-gutenberg') }, { value: "stumbleupon", label: __("StumbleUpon", 'ultimate-addons-for-gutenberg') }, { value: "tumblr", label: __("Tumblr", 'ultimate-addons-for-gutenberg') }, { value: "myspace", label: __("Myspace", 'ultimate-addons-for-gutenberg') }, { value: "email", label: __("Email", 'ultimate-addons-for-gutenberg') }, { value: "pocket", label: __("Pocket", 'ultimate-addons-for-gutenberg') }, { value: "vk", label: __("VK", 'ultimate-addons-for-gutenberg') }, { value: "odnoklassniki", label: __("Odnoklassniki", 'ultimate-addons-for-gutenberg') }, { value: "skype", label: __("Skype", 'ultimate-addons-for-gutenberg') }, { value: "telegram", label: __("Telegram", 'ultimate-addons-for-gutenberg') }, { value: "whatsapp", label: __("WhatsApp", 'ultimate-addons-for-gutenberg') }, { value: "xing", label: __("Xing", 'ultimate-addons-for-gutenberg') }, { value: "buffer", label: __("Buffer", 'ultimate-addons-for-gutenberg') }],
|
91739 |
onChange: this.onChangeType
|
91740 |
}),
|
91741 |
wp.element.createElement(SelectControl, {
|
91742 |
+
label: __("Image / Icon", 'ultimate-addons-for-gutenberg'),
|
91743 |
value: image_icon,
|
91744 |
+
options: [{ value: "icon", label: __("Icon", 'ultimate-addons-for-gutenberg') }, { value: "image", label: __("Image", 'ultimate-addons-for-gutenberg') }],
|
91745 |
onChange: function onChange(value) {
|
91746 |
return setAttributes({ image_icon: value });
|
91747 |
}
|
91752 |
wp.element.createElement(
|
91753 |
"p",
|
91754 |
{ className: "components-base-control__label" },
|
91755 |
+
__("Icon", 'ultimate-addons-for-gutenberg')
|
91756 |
),
|
91757 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
91758 |
icons: svg_icons,
|
91763 |
return setAttributes({ icon: value });
|
91764 |
},
|
91765 |
isMulti: false,
|
91766 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
91767 |
})
|
91768 |
),
|
91769 |
"image" == image_icon && wp.element.createElement(
|
91770 |
Fragment,
|
91771 |
null,
|
91772 |
wp.element.createElement(MediaUpload, {
|
91773 |
+
title: __("Select Image", 'ultimate-addons-for-gutenberg'),
|
91774 |
onSelect: function onSelect(value) {
|
91775 |
return setAttributes({ image: value });
|
91776 |
},
|
91781 |
return wp.element.createElement(
|
91782 |
Button,
|
91783 |
{ isDefault: true, onClick: open },
|
91784 |
+
!image ? __("Select Image", 'ultimate-addons-for-gutenberg') : __("Replace image", 'ultimate-addons-for-gutenberg')
|
91785 |
);
|
91786 |
}
|
91787 |
}),
|
91793 |
return setAttributes({ image: null });
|
91794 |
},
|
91795 |
isLink: true, isDestructive: true },
|
91796 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
91797 |
)
|
91798 |
),
|
91799 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
91800 |
wp.element.createElement(
|
91801 |
"h2",
|
91802 |
null,
|
91803 |
+
__("Icon Color Settings", 'ultimate-addons-for-gutenberg')
|
91804 |
),
|
91805 |
iconColorControls()
|
91806 |
)
|
91826 |
|
91827 |
"use strict";
|
91828 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
91829 |
+
/**
|
91830 |
+
* Returns Dynamic Generated CSS
|
91831 |
*/
|
91832 |
|
91833 |
|
91886 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
91887 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
91888 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__links__ = __webpack_require__(/*! ./links */ 212);
|
91889 |
+
/**
|
91890 |
+
* BLOCK: Social Share - Save Block
|
91891 |
*/
|
91892 |
|
91893 |
// Import block dependencies and components.
|
91980 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 211);
|
91981 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
91982 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__links__ = __webpack_require__(/*! ./links */ 212);
|
91983 |
+
/**
|
91984 |
+
* BLOCK: Social Share child - Deprecated Block
|
91985 |
*/
|
91986 |
|
91987 |
// Import block dependencies and components.
|
92069 |
|
92070 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
92071 |
|
92072 |
+
/**
|
92073 |
+
* BLOCK: Google Map
|
92074 |
*/
|
92075 |
|
92076 |
|
92136 |
null,
|
92137 |
wp.element.createElement(
|
92138 |
PanelBody,
|
92139 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg') },
|
92140 |
wp.element.createElement(
|
92141 |
"p",
|
92142 |
{ className: "uagb-settings-notice" },
|
92143 |
+
__("This block uses Ultimate Addon for Gutenberg's API key to display the map. You don't need to create your own API key or worry about renewing it.", 'ultimate-addons-for-gutenberg')
|
92144 |
),
|
92145 |
wp.element.createElement(
|
92146 |
"p",
|
92147 |
{ className: "components-base-control__label" },
|
92148 |
+
__("Address", 'ultimate-addons-for-gutenberg')
|
92149 |
),
|
92150 |
wp.element.createElement(TextControl, {
|
92151 |
value: address,
|
92152 |
onChange: function onChange(value) {
|
92153 |
return setAttributes({ address: value });
|
92154 |
},
|
92155 |
+
placeholder: __("Type the address", 'ultimate-addons-for-gutenberg')
|
92156 |
}),
|
92157 |
wp.element.createElement(RangeControl, {
|
92158 |
+
label: __("Zoom", 'ultimate-addons-for-gutenberg'),
|
92159 |
value: zoom,
|
92160 |
onChange: function onChange(value) {
|
92161 |
return setAttributes({ zoom: value });
|
92166 |
allowReset: true
|
92167 |
}),
|
92168 |
wp.element.createElement(RangeControl, {
|
92169 |
+
label: __("Height", 'ultimate-addons-for-gutenberg'),
|
92170 |
value: height,
|
92171 |
onChange: function onChange(value) {
|
92172 |
return setAttributes({ height: value });
|
92176 |
allowReset: true
|
92177 |
}),
|
92178 |
wp.element.createElement(SelectControl, {
|
92179 |
+
label: __("Language", 'ultimate-addons-for-gutenberg'),
|
92180 |
value: language,
|
92181 |
onChange: function onChange(value) {
|
92182 |
return setAttributes({ language: value });
|
92183 |
},
|
92184 |
+
options: [{ value: "af", label: __("Afrikaans", 'ultimate-addons-for-gutenberg') }, { value: "sq", label: __("Albanian", 'ultimate-addons-for-gutenberg') }, { value: "am", label: __("Amharic", 'ultimate-addons-for-gutenberg') }, { value: "ar", label: __("Arabic", 'ultimate-addons-for-gutenberg') }, { value: "hy", label: __("Armenian", 'ultimate-addons-for-gutenberg') }, { value: "az", label: __("Azerbaijani", 'ultimate-addons-for-gutenberg') }, { value: "eu", label: __("Basque", 'ultimate-addons-for-gutenberg') }, { value: "be", label: __("Belarusian", 'ultimate-addons-for-gutenberg') }, { value: "bn", label: __("Bengali", 'ultimate-addons-for-gutenberg') }, { value: "bs", label: __("Bosnian", 'ultimate-addons-for-gutenberg') }, { value: "bg", label: __("Bulgarian", 'ultimate-addons-for-gutenberg') }, { value: "my", label: __("Burmese", 'ultimate-addons-for-gutenberg') }, { value: "ca", label: __("Catalan", 'ultimate-addons-for-gutenberg') }, { value: "zh", label: __("Chinese", 'ultimate-addons-for-gutenberg') }, { value: "hr", label: __("Croatian", 'ultimate-addons-for-gutenberg') }, { value: "cs", label: __("Czech", 'ultimate-addons-for-gutenberg') }, { value: "da", label: __("Danish", 'ultimate-addons-for-gutenberg') }, { value: "nl", label: __("Dutch", 'ultimate-addons-for-gutenberg') }, { value: "en", label: __("English", 'ultimate-addons-for-gutenberg') }, { value: "et", label: __("Estonian", 'ultimate-addons-for-gutenberg') }, { value: "fa", label: __("Farsi", 'ultimate-addons-for-gutenberg') }, { value: "fi", label: __("Finnish", 'ultimate-addons-for-gutenberg') }, { value: "fr", label: __("French", 'ultimate-addons-for-gutenberg') }, { value: "gl", label: __("Galician", 'ultimate-addons-for-gutenberg') }, { value: "ka", label: __("Georgian", 'ultimate-addons-for-gutenberg') }, { value: "de", label: __("German", 'ultimate-addons-for-gutenberg') }, { value: "el", label: __("Greek", 'ultimate-addons-for-gutenberg') }, { value: "gu", label: __("Gujarati", 'ultimate-addons-for-gutenberg') }, { value: "iw", label: __("Hebrew", 'ultimate-addons-for-gutenberg') }, { value: "hi", label: __("Hindi", 'ultimate-addons-for-gutenberg') }, { value: "hu", label: __("Hungarian", 'ultimate-addons-for-gutenberg') }, { value: "is", label: __("Icelandic", 'ultimate-addons-for-gutenberg') }, { value: "id", label: __("Indonesian", 'ultimate-addons-for-gutenberg') }, { value: "it", label: __("Italian", 'ultimate-addons-for-gutenberg') }, { value: "ja", label: __("Japanese", 'ultimate-addons-for-gutenberg') }, { value: "kn", label: __("Kannada", 'ultimate-addons-for-gutenberg') }, { value: "kk", label: __("Kazakh", 'ultimate-addons-for-gutenberg') }, { value: "km", label: __("Khmer", 'ultimate-addons-for-gutenberg') }, { value: "ko", label: __("Korean", 'ultimate-addons-for-gutenberg') }, { value: "ky", label: __("Kyrgyz", 'ultimate-addons-for-gutenberg') }, { value: "lo", label: __("Lao", 'ultimate-addons-for-gutenberg') }, { value: "lv", label: __("Latvian", 'ultimate-addons-for-gutenberg') }, { value: "lt", label: __("Lithuanian", 'ultimate-addons-for-gutenberg') }, { value: "mk", label: __("Macedonian", 'ultimate-addons-for-gutenberg') }, { value: "ms", label: __("Malay", 'ultimate-addons-for-gutenberg') }, { value: "ml", label: __("Malayalam", 'ultimate-addons-for-gutenberg') }, { value: "mr", label: __("Marathi", 'ultimate-addons-for-gutenberg') }, { value: "mn", label: __("Mongolian", 'ultimate-addons-for-gutenberg') }, { value: "ne", label: __("Nepali", 'ultimate-addons-for-gutenberg') }, { value: "no", label: __("Norwegian", 'ultimate-addons-for-gutenberg') }, { value: "pl", label: __("Polish", 'ultimate-addons-for-gutenberg') }, { value: "pt", label: __("Portuguese", 'ultimate-addons-for-gutenberg') }, { value: "pa", label: __("Punjabi", 'ultimate-addons-for-gutenberg') }, { value: "ro", label: __("Romanian", 'ultimate-addons-for-gutenberg') }, { value: "ru", label: __("Russian", 'ultimate-addons-for-gutenberg') }, { value: "sr", label: __("Serbian", 'ultimate-addons-for-gutenberg') }, { value: "si", label: __("Sinhalese", 'ultimate-addons-for-gutenberg') }, { value: "sk", label: __("Slovak", 'ultimate-addons-for-gutenberg') }, { value: "sl", label: __("Slovenian", 'ultimate-addons-for-gutenberg') }, { value: "es", label: __("Spanish", 'ultimate-addons-for-gutenberg') }, { value: "sw", label: __("Swahili", 'ultimate-addons-for-gutenberg') }, { value: "sv", label: __("Swedish", 'ultimate-addons-for-gutenberg') }, { value: "ta", label: __("Tamil", 'ultimate-addons-for-gutenberg') }, { value: "te", label: __("Telugu", 'ultimate-addons-for-gutenberg') }, { value: "th", label: __("Thai", 'ultimate-addons-for-gutenberg') }, { value: "tr", label: __("Turkish", 'ultimate-addons-for-gutenberg') }, { value: "uk", label: __("Ukrainian", 'ultimate-addons-for-gutenberg') }, { value: "ur", label: __("Urdu", 'ultimate-addons-for-gutenberg') }, { value: "uz", label: __("Uzbek", 'ultimate-addons-for-gutenberg') }, { value: "vi", label: __("Vietnamese", 'ultimate-addons-for-gutenberg') }, { value: "zu", label: __("Zulu", 'ultimate-addons-for-gutenberg') }]
|
92185 |
})
|
92186 |
)
|
92187 |
),
|
92205 |
title: uagb_blocks_info.blocks["uagb/google-map"]["title"],
|
92206 |
description: uagb_blocks_info.blocks["uagb/google-map"]["description"],
|
92207 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].google_map,
|
92208 |
+
keywords: [__("google map", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg'), __("map", 'ultimate-addons-for-gutenberg')],
|
92209 |
supports: {
|
92210 |
anchor: true
|
92211 |
},
|
92402 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 213);
|
92403 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 562);
|
92404 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 564);
|
92405 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */ 565);
|
92406 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 566);
|
92407 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
92408 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 567);
|
92409 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
92410 |
+
/**
|
92411 |
+
* BLOCK: Icon List
|
|
|
92412 |
*/
|
92413 |
|
92414 |
|
92419 |
|
92420 |
|
92421 |
|
|
|
92422 |
var __ = wp.i18n.__;
|
92423 |
var registerBlockType = wp.blocks.registerBlockType;
|
92424 |
|
92428 |
description: uagb_blocks_info.blocks["uagb/icon-list"]["description"],
|
92429 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].icon_list,
|
92430 |
category: uagb_blocks_info.category,
|
92431 |
+
keywords: [__("icon list", 'ultimate-addons-for-gutenberg'), __("image list", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
92432 |
supports: {
|
92433 |
anchor: true
|
92434 |
},
|
92444 |
attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
|
92445 |
edit: __WEBPACK_IMPORTED_MODULE_2__edit__["a" /* default */],
|
92446 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
92447 |
+
deprecated: __WEBPACK_IMPORTED_MODULE_4__deprecated__["a" /* default */]
|
|
|
92448 |
});
|
92449 |
|
92450 |
/***/ }),
|
92459 |
"use strict";
|
92460 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
92461 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
92462 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
92463 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
92464 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
92465 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
|
92476 |
|
92477 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
92478 |
|
92479 |
+
/**
|
92480 |
+
* BLOCK: Icon List - Edit Class
|
92481 |
*/
|
92482 |
|
92483 |
// Import classes
|
92620 |
|
92621 |
var labelClass = hideLabel ? "uagb-icon-list__no-label" : "";
|
92622 |
|
92623 |
+
var sizeTypes = [{ key: "px", name: __("px", 'ultimate-addons-for-gutenberg') }, { key: "em", name: __("em", 'ultimate-addons-for-gutenberg') }];
|
92624 |
|
92625 |
var sizeTypeControls = wp.element.createElement(
|
92626 |
ButtonGroup,
|
92627 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
92628 |
__WEBPACK_IMPORTED_MODULE_2_lodash_map___default()(sizeTypes, function (_ref) {
|
92629 |
var name = _ref.name,
|
92630 |
key = _ref.key;
|
92670 |
null,
|
92671 |
wp.element.createElement(
|
92672 |
PanelBody,
|
92673 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
92674 |
wp.element.createElement(SelectControl, {
|
92675 |
+
label: __("Layout", 'ultimate-addons-for-gutenberg'),
|
92676 |
value: icon_layout,
|
92677 |
+
options: [{ value: "horizontal", label: __("Horizontal", 'ultimate-addons-for-gutenberg') }, { value: "vertical", label: __("Vertical", 'ultimate-addons-for-gutenberg') }],
|
92678 |
onChange: function onChange(value) {
|
92679 |
return setAttributes({ icon_layout: value });
|
92680 |
}
|
92685 |
wp.element.createElement(SelectControl, {
|
92686 |
label: __("Stack on"),
|
92687 |
value: stack,
|
92688 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
92689 |
onChange: function onChange(value) {
|
92690 |
return setAttributes({ stack: value });
|
92691 |
},
|
92692 |
+
help: __("Note: Choose on what breakpoint the Icons will stack.", 'ultimate-addons-for-gutenberg')
|
92693 |
})
|
92694 |
),
|
92695 |
wp.element.createElement(ToggleControl, {
|
92696 |
+
label: __("Hide Labels", 'ultimate-addons-for-gutenberg'),
|
92697 |
checked: hideLabel,
|
92698 |
onChange: function onChange(value) {
|
92699 |
return _this2.changeChildAttr(value);
|
92701 |
}),
|
92702 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
92703 |
wp.element.createElement(RangeControl, {
|
92704 |
+
label: __("Gap between Items", 'ultimate-addons-for-gutenberg'),
|
92705 |
value: gap,
|
92706 |
onChange: function onChange(value) {
|
92707 |
return setAttributes({ gap: value });
|
92708 |
},
|
92709 |
+
help: __("Note: For better editing experience, the gap between items might look larger than applied. Viewing in frontend will show the actual results.", 'ultimate-addons-for-gutenberg'),
|
92710 |
min: 0,
|
92711 |
max: 100
|
92712 |
}),
|
92713 |
!hideLabel && wp.element.createElement(RangeControl, {
|
92714 |
+
label: __("Gap between Icon and Label", 'ultimate-addons-for-gutenberg'),
|
92715 |
value: inner_gap,
|
92716 |
onChange: function onChange(value) {
|
92717 |
return setAttributes({ inner_gap: value });
|
92721 |
}),
|
92722 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
92723 |
wp.element.createElement(SelectControl, {
|
92724 |
+
label: __("Icon Alignment", 'ultimate-addons-for-gutenberg'),
|
92725 |
value: iconPosition,
|
92726 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "middle", label: __("Middle", 'ultimate-addons-for-gutenberg') }],
|
92727 |
onChange: function onChange(value) {
|
92728 |
return setAttributes({ iconPosition: value });
|
92729 |
},
|
92730 |
+
help: __("Note: This manages the Icon Position with respect to the Label.", 'ultimate-addons-for-gutenberg')
|
92731 |
}),
|
92732 |
wp.element.createElement(
|
92733 |
TabPanel,
|
92754 |
null,
|
92755 |
sizeTypeControls,
|
92756 |
wp.element.createElement(RangeControl, {
|
92757 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
92758 |
value: sizeMobile,
|
92759 |
onChange: function onChange(value) {
|
92760 |
return setAttributes({ sizeMobile: value });
|
92771 |
null,
|
92772 |
sizeTypeControls,
|
92773 |
wp.element.createElement(RangeControl, {
|
92774 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
92775 |
value: sizeTablet,
|
92776 |
onChange: function onChange(value) {
|
92777 |
return setAttributes({ sizeTablet: value });
|
92788 |
null,
|
92789 |
sizeTypeControls,
|
92790 |
wp.element.createElement(RangeControl, {
|
92791 |
+
label: __("Icon Size", 'ultimate-addons-for-gutenberg'),
|
92792 |
value: size,
|
92793 |
onChange: function onChange(value) {
|
92794 |
return setAttributes({ size: value });
|
92810 |
),
|
92811 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
92812 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_typography__["a" /* default */], {
|
92813 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
92814 |
attributes: attributes,
|
92815 |
setAttributes: setAttributes,
|
92816 |
loadGoogleFonts: { value: loadGoogleFonts, label: 'loadGoogleFonts' },
|
92828 |
}),
|
92829 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
92830 |
wp.element.createElement(RangeControl, {
|
92831 |
+
label: __("Background Size", 'ultimate-addons-for-gutenberg'),
|
92832 |
value: bgSize,
|
92833 |
onChange: function onChange(value) {
|
92834 |
return setAttributes({ bgSize: value });
|
92835 |
},
|
92836 |
+
help: __("Note: Background Size option is useful when one adds background color to the icons.", 'ultimate-addons-for-gutenberg'),
|
92837 |
min: 0,
|
92838 |
max: 500
|
92839 |
}),
|
92840 |
wp.element.createElement(RangeControl, {
|
92841 |
+
label: __("Border", 'ultimate-addons-for-gutenberg'),
|
92842 |
value: border,
|
92843 |
onChange: function onChange(value) {
|
92844 |
return setAttributes({ border: value });
|
92845 |
},
|
92846 |
+
help: __("Note: Border option is useful when one adds border color to the icons.", 'ultimate-addons-for-gutenberg'),
|
92847 |
min: 0,
|
92848 |
max: 10
|
92849 |
}),
|
92850 |
wp.element.createElement(RangeControl, {
|
92851 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
92852 |
value: borderRadius,
|
92853 |
onChange: function onChange(value) {
|
92854 |
return setAttributes({ borderRadius: value });
|
92855 |
},
|
92856 |
+
help: __("Note: Border Radius option is useful when one adds background color to the icons.", 'ultimate-addons-for-gutenberg'),
|
92857 |
min: 0,
|
92858 |
max: 500
|
92859 |
})
|
92897 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
92898 |
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
92899 |
|
92900 |
+
/**
|
92901 |
+
* Returns Dynamic Generated CSS
|
92902 |
*/
|
92903 |
|
92904 |
|
93129 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
93130 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
93131 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
93132 |
+
/**
|
93133 |
+
* BLOCK: Column - Save Block
|
93134 |
*/
|
93135 |
|
93136 |
// Import block dependencies and components.
|
93164 |
|
93165 |
/***/ }),
|
93166 |
/* 565 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93167 |
/*!********************************************!*\
|
93168 |
!*** ./src/blocks/icon-list/deprecated.js ***!
|
93169 |
\********************************************/
|
93176 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
93177 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
93178 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 213);
|
93179 |
+
/**
|
93180 |
+
* BLOCK: Columns - Deprecated Block
|
93181 |
*/
|
93182 |
|
93183 |
// Import block dependencies and components.
|
93619 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
93620 |
|
93621 |
/***/ }),
|
93622 |
+
/* 566 */
|
93623 |
/*!*****************************************!*\
|
93624 |
!*** ./src/blocks/icon-list/style.scss ***!
|
93625 |
\*****************************************/
|
93629 |
// removed by extract-text-webpack-plugin
|
93630 |
|
93631 |
/***/ }),
|
93632 |
+
/* 567 */
|
93633 |
/*!******************************************!*\
|
93634 |
!*** ./src/blocks/icon-list/editor.scss ***!
|
93635 |
\******************************************/
|
93639 |
// removed by extract-text-webpack-plugin
|
93640 |
|
93641 |
/***/ }),
|
93642 |
+
/* 568 */
|
93643 |
/*!*********************************************!*\
|
93644 |
!*** ./src/blocks/icon-list-child/block.js ***!
|
93645 |
\*********************************************/
|
93649 |
"use strict";
|
93650 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
93651 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 214);
|
93652 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 569);
|
93653 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 571);
|
93654 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */ 572);
|
93655 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__style_scss__);
|
93656 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 573);
|
93657 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
93658 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */ 574);
|
93659 |
+
/**
|
93660 |
+
* BLOCK: Icon List - Child
|
93661 |
*/
|
93662 |
|
93663 |
|
93685 |
});
|
93686 |
|
93687 |
/***/ }),
|
93688 |
+
/* 569 */
|
93689 |
/*!********************************************!*\
|
93690 |
!*** ./src/blocks/icon-list-child/edit.js ***!
|
93691 |
\********************************************/
|
93700 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_UAGBIcon_json___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_UAGBIcon_json__);
|
93701 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker__ = __webpack_require__(/*! @fonticonpicker/react-fonticonpicker */ 10);
|
93702 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker__);
|
93703 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__styling__ = __webpack_require__(/*! ./styling */ 570);
|
93704 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
93705 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
93706 |
|
93712 |
|
93713 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
93714 |
|
93715 |
+
/**
|
93716 |
+
* BLOCK: Icon List - Edit Class
|
93717 |
*/
|
93718 |
|
93719 |
// Import classes
|
93778 |
}
|
93779 |
}
|
93780 |
|
93781 |
+
/*
|
93782 |
+
* Event to set Image as null while removing.
|
93783 |
*/
|
93784 |
|
93785 |
}, {
|
93790 |
setAttributes({ image: null });
|
93791 |
}
|
93792 |
|
93793 |
+
/*
|
93794 |
+
* Event to set Image as while adding.
|
93795 |
*/
|
93796 |
|
93797 |
}, {
|
93851 |
wp.element.createElement(
|
93852 |
"p",
|
93853 |
{ className: "uagb-setting-label" },
|
93854 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
93855 |
wp.element.createElement(
|
93856 |
"span",
|
93857 |
{ className: "components-base-control__label" },
|
93868 |
wp.element.createElement(
|
93869 |
"p",
|
93870 |
{ className: "uagb-setting-label" },
|
93871 |
+
__("Image Background Color", 'ultimate-addons-for-gutenberg'),
|
93872 |
wp.element.createElement(
|
93873 |
"span",
|
93874 |
{ className: "components-base-control__label" },
|
93885 |
wp.element.createElement(
|
93886 |
"p",
|
93887 |
{ className: "uagb-setting-label" },
|
93888 |
+
__("Image Border Color", 'ultimate-addons-for-gutenberg'),
|
93889 |
wp.element.createElement(
|
93890 |
"span",
|
93891 |
{ className: "components-base-control__label" },
|
93906 |
wp.element.createElement(
|
93907 |
"p",
|
93908 |
{ className: "uagb-setting-label" },
|
93909 |
+
__("Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
93910 |
wp.element.createElement(
|
93911 |
"span",
|
93912 |
{ className: "components-base-control__label" },
|
93923 |
wp.element.createElement(
|
93924 |
"p",
|
93925 |
{ className: "uagb-setting-label" },
|
93926 |
+
__("Image Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
93927 |
wp.element.createElement(
|
93928 |
"span",
|
93929 |
{ className: "components-base-control__label" },
|
93940 |
wp.element.createElement(
|
93941 |
"p",
|
93942 |
{ className: "uagb-setting-label" },
|
93943 |
+
__("Image Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
93944 |
wp.element.createElement(
|
93945 |
"span",
|
93946 |
{ className: "components-base-control__label" },
|
93963 |
wp.element.createElement(
|
93964 |
"p",
|
93965 |
{ className: "uagb-setting-label" },
|
93966 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
93967 |
wp.element.createElement(
|
93968 |
"span",
|
93969 |
{ className: "components-base-control__label" },
|
93980 |
wp.element.createElement(
|
93981 |
"p",
|
93982 |
{ className: "uagb-setting-label" },
|
93983 |
+
__("Icon Color", 'ultimate-addons-for-gutenberg'),
|
93984 |
wp.element.createElement(
|
93985 |
"span",
|
93986 |
{ className: "components-base-control__label" },
|
93997 |
wp.element.createElement(
|
93998 |
"p",
|
93999 |
{ className: "uagb-setting-label" },
|
94000 |
+
__("Icon Background Color", 'ultimate-addons-for-gutenberg'),
|
94001 |
wp.element.createElement(
|
94002 |
"span",
|
94003 |
{ className: "components-base-control__label" },
|
94014 |
wp.element.createElement(
|
94015 |
"p",
|
94016 |
{ className: "uagb-setting-label" },
|
94017 |
+
__("Icon Border Color", 'ultimate-addons-for-gutenberg'),
|
94018 |
wp.element.createElement(
|
94019 |
"span",
|
94020 |
{ className: "components-base-control__label" },
|
94035 |
wp.element.createElement(
|
94036 |
"p",
|
94037 |
{ className: "uagb-setting-label" },
|
94038 |
+
__("Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
94039 |
wp.element.createElement(
|
94040 |
"span",
|
94041 |
{ className: "components-base-control__label" },
|
94052 |
wp.element.createElement(
|
94053 |
"p",
|
94054 |
{ className: "uagb-setting-label" },
|
94055 |
+
__("Icon Hover Color", 'ultimate-addons-for-gutenberg'),
|
94056 |
wp.element.createElement(
|
94057 |
"span",
|
94058 |
{ className: "components-base-control__label" },
|
94069 |
wp.element.createElement(
|
94070 |
"p",
|
94071 |
{ className: "uagb-setting-label" },
|
94072 |
+
__("Icon Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
94073 |
wp.element.createElement(
|
94074 |
"span",
|
94075 |
{ className: "components-base-control__label" },
|
94086 |
wp.element.createElement(
|
94087 |
"p",
|
94088 |
{ className: "uagb-setting-label" },
|
94089 |
+
__("Icon Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
94090 |
wp.element.createElement(
|
94091 |
"span",
|
94092 |
{ className: "components-base-control__label" },
|
94109 |
activeClass: "active-tab",
|
94110 |
tabs: [{
|
94111 |
name: "normal",
|
94112 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
94113 |
className: "uagb-normal-tab"
|
94114 |
}, {
|
94115 |
name: "hover",
|
94116 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
94117 |
className: "uagb-hover-tab"
|
94118 |
}] },
|
94119 |
function (tabName) {
|
94173 |
{ className: "uagb-icon-list__label-wrap" },
|
94174 |
wp.element.createElement(RichText, (_wp$element$createEle = {
|
94175 |
tagName: "div",
|
94176 |
+
placeholder: __("Label Name", 'ultimate-addons-for-gutenberg'),
|
94177 |
value: label,
|
94178 |
onChange: function onChange(value) {
|
94179 |
return setAttributes({ label: value });
|
94193 |
null,
|
94194 |
wp.element.createElement(
|
94195 |
PanelBody,
|
94196 |
+
{ title: __("Icon Settings", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
94197 |
wp.element.createElement(SelectControl, {
|
94198 |
+
label: __("Image / Icon", 'ultimate-addons-for-gutenberg'),
|
94199 |
value: image_icon,
|
94200 |
+
options: [{ value: "icon", label: __("Icon", 'ultimate-addons-for-gutenberg') }, { value: "image", label: __("Image", 'ultimate-addons-for-gutenberg') }],
|
94201 |
onChange: function onChange(value) {
|
94202 |
return setAttributes({ image_icon: value });
|
94203 |
}
|
94208 |
wp.element.createElement(
|
94209 |
"p",
|
94210 |
{ className: "components-base-control__label" },
|
94211 |
+
__("Icon", 'ultimate-addons-for-gutenberg')
|
94212 |
),
|
94213 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default.a, {
|
94214 |
icons: svg_icons,
|
94219 |
return setAttributes({ icon: value });
|
94220 |
},
|
94221 |
isMulti: false,
|
94222 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
94223 |
})
|
94224 |
),
|
94225 |
"image" == image_icon && wp.element.createElement(
|
94226 |
Fragment,
|
94227 |
null,
|
94228 |
wp.element.createElement(MediaUpload, {
|
94229 |
+
title: __("Select Image", 'ultimate-addons-for-gutenberg'),
|
94230 |
onSelect: this.onSelectImage,
|
94231 |
allowedTypes: ["image"],
|
94232 |
value: image,
|
94242 |
image && wp.element.createElement(
|
94243 |
Button,
|
94244 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
94245 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
94246 |
)
|
94247 |
),
|
94248 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
94249 |
wp.element.createElement(
|
94250 |
"h2",
|
94251 |
null,
|
94252 |
+
__("List Item Link", 'ultimate-addons-for-gutenberg')
|
94253 |
),
|
94254 |
wp.element.createElement(ToggleControl, {
|
94255 |
+
label: __("Disable Link", 'ultimate-addons-for-gutenberg'),
|
94256 |
checked: disableLink,
|
94257 |
onChange: function onChange(value) {
|
94258 |
return setAttributes({ disableLink: !disableLink });
|
94264 |
wp.element.createElement(
|
94265 |
"p",
|
94266 |
{ className: "components-base-control__label" },
|
94267 |
+
__("URL", 'ultimate-addons-for-gutenberg')
|
94268 |
),
|
94269 |
wp.element.createElement(TextControl, {
|
94270 |
value: link,
|
94271 |
onChange: function onChange(value) {
|
94272 |
return setAttributes({ link: value });
|
94273 |
},
|
94274 |
+
placeholder: __("Enter URL", 'ultimate-addons-for-gutenberg')
|
94275 |
}),
|
94276 |
wp.element.createElement(ToggleControl, {
|
94277 |
+
label: __("Open in New Tab", 'ultimate-addons-for-gutenberg'),
|
94278 |
checked: target,
|
94279 |
onChange: function onChange(value) {
|
94280 |
return setAttributes({ target: !target });
|
94285 |
wp.element.createElement(
|
94286 |
"h2",
|
94287 |
null,
|
94288 |
+
__("Icon Color Settings", 'ultimate-addons-for-gutenberg')
|
94289 |
),
|
94290 |
iconColorControls()
|
94291 |
)
|
94301 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBIconListChild);
|
94302 |
|
94303 |
/***/ }),
|
94304 |
+
/* 570 */
|
94305 |
/*!***********************************************!*\
|
94306 |
!*** ./src/blocks/icon-list-child/styling.js ***!
|
94307 |
\***********************************************/
|
94311 |
|
94312 |
"use strict";
|
94313 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
94314 |
+
/**
|
94315 |
+
* Returns Dynamic Generated CSS
|
94316 |
*/
|
94317 |
|
94318 |
|
94369 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
94370 |
|
94371 |
/***/ }),
|
94372 |
+
/* 571 */
|
94373 |
/*!********************************************!*\
|
94374 |
!*** ./src/blocks/icon-list-child/save.js ***!
|
94375 |
\********************************************/
|
94382 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
94383 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
94384 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
94385 |
+
/**
|
94386 |
+
* BLOCK: Icon List - Child - Save Block
|
94387 |
*/
|
94388 |
|
94389 |
// Import block dependencies and components.
|
94453 |
}
|
94454 |
|
94455 |
/***/ }),
|
94456 |
+
/* 572 */
|
94457 |
/*!***********************************************!*\
|
94458 |
!*** ./src/blocks/icon-list-child/style.scss ***!
|
94459 |
\***********************************************/
|
94463 |
// removed by extract-text-webpack-plugin
|
94464 |
|
94465 |
/***/ }),
|
94466 |
+
/* 573 */
|
94467 |
/*!************************************************!*\
|
94468 |
!*** ./src/blocks/icon-list-child/editor.scss ***!
|
94469 |
\************************************************/
|
94473 |
// removed by extract-text-webpack-plugin
|
94474 |
|
94475 |
/***/ }),
|
94476 |
+
/* 574 */
|
94477 |
/*!**************************************************!*\
|
94478 |
!*** ./src/blocks/icon-list-child/deprecated.js ***!
|
94479 |
\**************************************************/
|
94486 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
94487 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
94488 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 214);
|
94489 |
+
/**
|
94490 |
+
* BLOCK: Icon List - Child - Deprecated Block
|
94491 |
*/
|
94492 |
|
94493 |
|
94562 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
94563 |
|
94564 |
/***/ }),
|
94565 |
+
/* 575 */
|
94566 |
/*!****************************************!*\
|
94567 |
!*** ./src/blocks/price-list/block.js ***!
|
94568 |
\****************************************/
|
94571 |
|
94572 |
"use strict";
|
94573 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
94574 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */ 576);
|
94575 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__save__ = __webpack_require__(/*! ./save */ 578);
|
94576 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__deprecated__ = __webpack_require__(/*! ./deprecated */ 579);
|
94577 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__attributes__ = __webpack_require__(/*! ./attributes */ 215);
|
94578 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 580);
|
94579 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
94580 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 581);
|
94581 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
94582 |
var _registerBlockType;
|
94583 |
|
94585 |
|
94586 |
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
94587 |
|
94588 |
+
/**
|
94589 |
+
* BLOCK: Price List
|
94590 |
*/
|
94591 |
|
94592 |
|
94606 |
compose = _wp$compose.compose,
|
94607 |
createHigherOrderComponent = _wp$compose.createHigherOrderComponent;
|
94608 |
|
94609 |
+
/**
|
94610 |
+
* Override the default block element to add wrapper props.
|
94611 |
+
*
|
94612 |
+
* @param {Function} BlockListBlock Original component
|
94613 |
+
* @return {Function} Wrapped component
|
94614 |
*/
|
94615 |
|
94616 |
var enhance = compose(withSelect(function (select) {
|
94618 |
selected: select('core/block-editor').getSelectedBlock()
|
94619 |
};
|
94620 |
}));
|
94621 |
+
/**
|
94622 |
+
* Add custom UAG attributes to selected blocks
|
94623 |
+
*
|
94624 |
+
* @param {Function} BlockEdit Original component.
|
94625 |
+
* @return {string} Wrapped component.
|
94626 |
*/
|
94627 |
var withPriceList = createHigherOrderComponent(function (BlockEdit) {
|
94628 |
return enhance(function (_ref) {
|
94655 |
addFilter('editor.BlockEdit', 'uagb/restaurant-menu', withPriceList);
|
94656 |
|
94657 |
/***/ }),
|
94658 |
+
/* 576 */
|
94659 |
/*!***************************************!*\
|
94660 |
!*** ./src/blocks/price-list/edit.js ***!
|
94661 |
\***************************************/
|
94667 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
94668 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
94669 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__classes__ = __webpack_require__(/*! ./classes */ 65);
|
94670 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 577);
|
94671 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
94672 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_times__);
|
94673 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
94674 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_memize__ = __webpack_require__(/*! memize */ 19);
|
94685 |
|
94686 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
94687 |
|
94688 |
+
/**
|
94689 |
+
* BLOCK: Price List - Edit Class
|
94690 |
*/
|
94691 |
|
94692 |
|
94810 |
setAttributes({ imageAlignment: value });
|
94811 |
}
|
94812 |
|
94813 |
+
/*
|
94814 |
+
* Event to set Image as null while removing.
|
94815 |
*/
|
94816 |
|
94817 |
}, {
|
94823 |
setAttributes({ backgroundImage: null });
|
94824 |
}
|
94825 |
|
94826 |
+
/*
|
94827 |
+
* Event to set Image as while adding.
|
94828 |
*/
|
94829 |
|
94830 |
}, {
|
95487 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBRestaurantMenu);
|
95488 |
|
95489 |
/***/ }),
|
95490 |
+
/* 577 */
|
95491 |
/*!************************************************!*\
|
95492 |
!*** ./src/blocks/price-list/inline-styles.js ***!
|
95493 |
\************************************************/
|
95498 |
"use strict";
|
95499 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
95500 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
95501 |
+
/**
|
95502 |
+
* Returns Dynamic Generated CSS
|
95503 |
*/
|
95504 |
|
95505 |
|
95704 |
/* harmony default export */ __webpack_exports__["a"] = (RestMenuStyle);
|
95705 |
|
95706 |
/***/ }),
|
95707 |
+
/* 578 */
|
95708 |
/*!***************************************!*\
|
95709 |
!*** ./src/blocks/price-list/save.js ***!
|
95710 |
\***************************************/
|
95716 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
95717 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
95718 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
95719 |
+
/**
|
95720 |
+
* BLOCK: Column - Save Block
|
95721 |
*/
|
95722 |
|
95723 |
// Import block dependencies and components.
|
95724 |
|
95725 |
|
|
|
95726 |
var InnerBlocks = wp.blockEditor.InnerBlocks;
|
95727 |
|
95728 |
|
95733 |
|
95734 |
|
95735 |
return wp.element.createElement(
|
95736 |
+
"div",
|
95737 |
+
{ className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, "uagb-rest_menu__outer-wrap", "uagb-block-" + block_id)
|
95738 |
+
},
|
95739 |
+
wp.element.createElement(InnerBlocks.Content, null)
|
|
|
|
|
|
|
|
|
95740 |
);
|
95741 |
}
|
95742 |
|
95743 |
/***/ }),
|
95744 |
+
/* 579 */
|
95745 |
/*!*********************************************!*\
|
95746 |
!*** ./src/blocks/price-list/deprecated.js ***!
|
95747 |
\*********************************************/
|
95760 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__price_list_child_components_RestMenuImage__ = __webpack_require__(/*! ../price-list-child/components/RestMenuImage */ 118);
|
95761 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
95762 |
|
95763 |
+
/**
|
95764 |
+
* BLOCK: Price List - Deprecated Block
|
95765 |
*/
|
95766 |
|
95767 |
// Import block dependencies and components.
|
95774 |
|
95775 |
|
95776 |
var Fragment = wp.element.Fragment;
|
95777 |
+
var InnerBlocks = wp.blockEditor.InnerBlocks;
|
95778 |
|
95779 |
|
95780 |
var deprecated = [{
|
95909 |
)
|
95910 |
);
|
95911 |
}
|
95912 |
+
}, {
|
95913 |
+
attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
|
95914 |
+
save: function save(props) {
|
95915 |
+
var _props$attributes3 = props.attributes,
|
95916 |
+
block_id = _props$attributes3.block_id,
|
95917 |
+
className = _props$attributes3.className;
|
95918 |
+
|
95919 |
+
|
95920 |
+
return wp.element.createElement(
|
95921 |
+
Fragment,
|
95922 |
+
null,
|
95923 |
+
wp.element.createElement(
|
95924 |
+
"div",
|
95925 |
+
{ className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, "uagb-rest_menu__outer-wrap", "uagb-block-" + block_id)
|
95926 |
+
},
|
95927 |
+
wp.element.createElement(InnerBlocks.Content, null)
|
95928 |
+
)
|
95929 |
+
);
|
95930 |
+
}
|
95931 |
}];
|
95932 |
|
95933 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
95934 |
|
95935 |
/***/ }),
|
95936 |
+
/* 580 */
|
95937 |
/*!******************************************!*\
|
95938 |
!*** ./src/blocks/price-list/style.scss ***!
|
95939 |
\******************************************/
|
95943 |
// removed by extract-text-webpack-plugin
|
95944 |
|
95945 |
/***/ }),
|
95946 |
+
/* 581 */
|
95947 |
/*!*******************************************!*\
|
95948 |
!*** ./src/blocks/price-list/editor.scss ***!
|
95949 |
\*******************************************/
|
95953 |
// removed by extract-text-webpack-plugin
|
95954 |
|
95955 |
/***/ }),
|
95956 |
+
/* 582 */
|
95957 |
/*!**********************************************!*\
|
95958 |
!*** ./src/blocks/price-list-child/block.js ***!
|
95959 |
\**********************************************/
|
95962 |
|
95963 |
"use strict";
|
95964 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
95965 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */ 583);
|
95966 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__save__ = __webpack_require__(/*! ./save */ 584);
|
95967 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes__ = __webpack_require__(/*! ./attributes */ 585);
|
95968 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */ 586);
|
95969 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__style_scss__);
|
95970 |
+
/**
|
95971 |
+
* BLOCK: Price List
|
95972 |
*/
|
95973 |
|
95974 |
|
95999 |
});
|
96000 |
|
96001 |
/***/ }),
|
96002 |
+
/* 583 */
|
96003 |
/*!*********************************************!*\
|
96004 |
!*** ./src/blocks/price-list-child/edit.js ***!
|
96005 |
\*********************************************/
|
96025 |
|
96026 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
96027 |
|
96028 |
+
/**
|
96029 |
+
* BLOCK: Price List - Edit Class
|
96030 |
*/
|
96031 |
|
96032 |
|
96088 |
});
|
96089 |
}
|
96090 |
|
96091 |
+
/*
|
96092 |
+
* Event to set Image selectot label.
|
96093 |
*/
|
96094 |
|
96095 |
}, {
|
96106 |
}
|
96107 |
return image_title;
|
96108 |
}
|
96109 |
+
/*
|
96110 |
+
* Event to set Image as null while removing.
|
96111 |
*/
|
96112 |
|
96113 |
}, {
|
96182 |
var parentClientId = select('core/block-editor').getBlockHierarchyRootClientId(this.props.clientId);
|
96183 |
var parentAttributes = select('core/block-editor').getBlockAttributes(parentClientId);
|
96184 |
|
96185 |
+
var position = parentAttributes ? parentAttributes.imagePosition : imagePosition;
|
96186 |
+
|
96187 |
return wp.element.createElement(
|
96188 |
Fragment,
|
96189 |
null,
|
96208 |
wp.element.createElement(
|
96209 |
"div",
|
96210 |
{ className: "uagb-rm__content" },
|
96211 |
+
(position == "top" || position == "left") && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_RestMenuImage__["a" /* default */], { attributes: attributes }),
|
96212 |
wp.element.createElement(
|
96213 |
"div",
|
96214 |
{ className: "uagb-rm__text-wrap" },
|
96236 |
)
|
96237 |
)
|
96238 |
),
|
96239 |
+
position == "right" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_RestMenuImage__["a" /* default */], { attributes: attributes })
|
96240 |
),
|
96241 |
wp.element.createElement(
|
96242 |
"div",
|
96262 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBRestaurantMenuChild);
|
96263 |
|
96264 |
/***/ }),
|
96265 |
+
/* 584 */
|
96266 |
/*!*********************************************!*\
|
96267 |
!*** ./src/blocks/price-list-child/save.js ***!
|
96268 |
\*********************************************/
|
96281 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_RestMenuImage__ = __webpack_require__(/*! ./components/RestMenuImage */ 118);
|
96282 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
96283 |
|
96284 |
+
/**
|
96285 |
+
* BLOCK: Column - Save Block
|
96286 |
*/
|
96287 |
|
96288 |
// Import block dependencies and components.
|
96362 |
}
|
96363 |
|
96364 |
/***/ }),
|
96365 |
+
/* 585 */
|
96366 |
/*!***************************************************!*\
|
96367 |
!*** ./src/blocks/price-list-child/attributes.js ***!
|
96368 |
\***************************************************/
|
96431 |
/* harmony default export */ __webpack_exports__["a"] = (attributes);
|
96432 |
|
96433 |
/***/ }),
|
96434 |
+
/* 586 */
|
96435 |
/*!************************************************!*\
|
96436 |
!*** ./src/blocks/price-list-child/style.scss ***!
|
96437 |
\************************************************/
|
96441 |
// removed by extract-text-webpack-plugin
|
96442 |
|
96443 |
/***/ }),
|
96444 |
+
/* 587 */
|
96445 |
/*!**************************************!*\
|
96446 |
!*** ./src/blocks/timeline/block.js ***!
|
96447 |
\**************************************/
|
96449 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
96450 |
|
96451 |
"use strict";
|
96452 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__content_timeline_block_js__ = __webpack_require__(/*! ./content-timeline/block.js */ 588);
|
96453 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__content_timeline_child_block_js__ = __webpack_require__(/*! ./content-timeline-child/block.js */ 593);
|
96454 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__post_timeline_block_js__ = __webpack_require__(/*! ./post-timeline/block.js */ 598);
|
96455 |
|
96456 |
|
96457 |
|
96458 |
|
96459 |
/***/ }),
|
96460 |
+
/* 588 */
|
96461 |
/*!*******************************************************!*\
|
96462 |
!*** ./src/blocks/timeline/content-timeline/block.js ***!
|
96463 |
\*******************************************************/
|
96468 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
96469 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! .././style.scss */ 119);
|
96470 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);
|
96471 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss__ = __webpack_require__(/*! ./style.scss */ 589);
|
96472 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
96473 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__deprecated__ = __webpack_require__(/*! ./deprecated */ 590);
|
96474 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__save__ = __webpack_require__(/*! ./save */ 591);
|
96475 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__attributes__ = __webpack_require__(/*! ./attributes */ 216);
|
96476 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__edit__ = __webpack_require__(/*! ./edit */ 592);
|
96477 |
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
96478 |
|
96479 |
+
/**
|
96480 |
+
* Register: as Gutenberg Block.
|
96481 |
+
*
|
96482 |
+
* Registers a new block provided a unique name and an object defining its
|
96483 |
+
* behavior.
|
96484 |
+
*
|
96485 |
+
* @link https://wordpress.org/gutenberg/handbook/block-api/
|
96486 |
+
* @param {string} name Block name.
|
96487 |
+
* @param {Object} settings Block settings.
|
96488 |
+
* @return {?WPBlock} The block, if it has been successfully
|
96489 |
+
* registered; otherwise `undefined`.
|
96490 |
*/
|
96491 |
|
96492 |
// Import CSS.
|
96510 |
compose = _wp$compose.compose,
|
96511 |
createHigherOrderComponent = _wp$compose.createHigherOrderComponent;
|
96512 |
|
96513 |
+
/**
|
96514 |
+
* Override the default block element to add wrapper props.
|
96515 |
+
*
|
96516 |
+
* @param {Function} BlockListBlock Original component
|
96517 |
+
* @return {Function} Wrapped component
|
96518 |
*/
|
96519 |
|
96520 |
var enhance = compose(withSelect(function (select) {
|
96522 |
selected: select('core/block-editor').getSelectedBlock()
|
96523 |
};
|
96524 |
}));
|
96525 |
+
/**
|
96526 |
+
* Add custom UAG attributes to selected blocks
|
96527 |
+
*
|
96528 |
+
* @param {Function} BlockEdit Original component.
|
96529 |
+
* @return {string} Wrapped component.
|
96530 |
*/
|
96531 |
var withcontentTimeline = createHigherOrderComponent(function (BlockEdit) {
|
96532 |
return enhance(function (_ref) {
|
96547 |
description: uagb_blocks_info.blocks["uagb/content-timeline"]["description"], // Block description.
|
96548 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].content_timeline, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
|
96549 |
category: uagb_blocks_info.category,
|
96550 |
+
keywords: [__("Content Timeline", 'ultimate-addons-for-gutenberg'), __("Timeline", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
96551 |
supports: {
|
96552 |
anchor: true
|
96553 |
},
|
96592 |
addFilter('editor.BlockEdit', 'uagb/content-timeline', withcontentTimeline);
|
96593 |
|
96594 |
/***/ }),
|
96595 |
+
/* 589 */
|
96596 |
/*!*********************************************************!*\
|
96597 |
!*** ./src/blocks/timeline/content-timeline/style.scss ***!
|
96598 |
\*********************************************************/
|
96602 |
// removed by extract-text-webpack-plugin
|
96603 |
|
96604 |
/***/ }),
|
96605 |
+
/* 590 */
|
96606 |
/*!************************************************************!*\
|
96607 |
!*** ./src/blocks/timeline/content-timeline/deprecated.js ***!
|
96608 |
\************************************************************/
|
96621 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
96622 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
96623 |
|
96624 |
+
/**
|
96625 |
+
* BLOCK: Testimonial - Deprecated Block
|
96626 |
*/
|
96627 |
|
96628 |
|
97185 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
97186 |
|
97187 |
/***/ }),
|
97188 |
+
/* 591 */
|
97189 |
/*!******************************************************!*\
|
97190 |
!*** ./src/blocks/timeline/content-timeline/save.js ***!
|
97191 |
\******************************************************/
|
97201 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__classes__ = __webpack_require__(/*! .././classes */ 66);
|
97202 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
97203 |
|
97204 |
+
/**
|
97205 |
+
* BLOCK: Timeline - Save Block
|
97206 |
*/
|
97207 |
|
97208 |
|
97245 |
}
|
97246 |
|
97247 |
/***/ }),
|
97248 |
+
/* 592 */
|
97249 |
/*!******************************************************!*\
|
97250 |
!*** ./src/blocks/timeline/content-timeline/edit.js ***!
|
97251 |
\******************************************************/
|
97256 |
"use strict";
|
97257 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
97258 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
97259 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
97260 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_times__);
|
97261 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_memize__ = __webpack_require__(/*! memize */ 19);
|
97262 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_memize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_memize__);
|
97279 |
|
97280 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
97281 |
|
97282 |
+
/**
|
97283 |
+
* BLOCK: Content Timeline.
|
97284 |
*/
|
97285 |
|
97286 |
|
97423 |
setAttributes({ icon: value });
|
97424 |
}
|
97425 |
|
97426 |
+
/**
|
97427 |
+
* Function Name: toggleDisplayPostDate.
|
97428 |
*/
|
97429 |
|
97430 |
}, {
|
97535 |
onChange: this.getTimelineicon,
|
97536 |
isMulti: false,
|
97537 |
renderFunc: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
97538 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
97539 |
};
|
97540 |
|
97541 |
+
var iconColorSettings = wp.element.createElement(PanelColorSettings, { title: __("Color Settings", 'ultimate-addons-for-gutenberg'), initialOpen: true,
|
97542 |
colorSettings: [{
|
97543 |
value: separatorColor,
|
97544 |
onChange: function onChange(colorValue) {
|
97545 |
return setAttributes({ separatorColor: colorValue });
|
97546 |
},
|
97547 |
+
label: __("Line Color", 'ultimate-addons-for-gutenberg')
|
97548 |
}, {
|
97549 |
value: iconColor,
|
97550 |
onChange: function onChange(colorValue) {
|
97551 |
return setAttributes({ iconColor: colorValue });
|
97552 |
},
|
97553 |
+
label: __("Icon Color", 'ultimate-addons-for-gutenberg')
|
97554 |
}, {
|
97555 |
value: separatorBg,
|
97556 |
onChange: function onChange(colorValue) {
|
97557 |
return setAttributes({ separatorBg: colorValue });
|
97558 |
},
|
97559 |
+
label: __("Background Color", 'ultimate-addons-for-gutenberg')
|
97560 |
}, {
|
97561 |
value: separatorBorder,
|
97562 |
onChange: function onChange(colorValue) {
|
97563 |
return setAttributes({ separatorBorder: colorValue });
|
97564 |
},
|
97565 |
+
label: __("Border Color", 'ultimate-addons-for-gutenberg')
|
97566 |
}]
|
97567 |
});
|
97568 |
|
97569 |
+
var iconFocusSettings = wp.element.createElement(PanelColorSettings, { title: __("Color Settings", 'ultimate-addons-for-gutenberg'), initialOpen: true,
|
97570 |
colorSettings: [{
|
97571 |
value: separatorFillColor,
|
97572 |
onChange: function onChange(colorValue) {
|
97573 |
return setAttributes({ separatorFillColor: colorValue });
|
97574 |
},
|
97575 |
+
label: __("Line Color", 'ultimate-addons-for-gutenberg')
|
97576 |
}, {
|
97577 |
value: iconFocus,
|
97578 |
onChange: function onChange(colorValue) {
|
97579 |
return setAttributes({ iconFocus: colorValue });
|
97580 |
},
|
97581 |
+
label: __("Icon Color", 'ultimate-addons-for-gutenberg')
|
97582 |
}, {
|
97583 |
value: iconBgFocus,
|
97584 |
onChange: function onChange(colorValue) {
|
97585 |
return setAttributes({ iconBgFocus: colorValue });
|
97586 |
},
|
97587 |
+
label: __("Background Color", 'ultimate-addons-for-gutenberg')
|
97588 |
}, {
|
97589 |
value: borderFocus,
|
97590 |
onChange: function onChange(colorValue) {
|
97591 |
return setAttributes({ borderFocus: colorValue });
|
97592 |
},
|
97593 |
+
label: __("Border Color", 'ultimate-addons-for-gutenberg')
|
97594 |
}]
|
97595 |
});
|
97596 |
|
97597 |
var iconControls = wp.element.createElement(
|
97598 |
PanelBody,
|
97599 |
+
{ title: __("Connector Color Settings", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
97600 |
wp.element.createElement(
|
97601 |
TabPanel,
|
97602 |
{ className: "uagb-inspect-tabs uagb-inspect-tabs-col-2",
|
97603 |
activeClass: "active-tab",
|
97604 |
tabs: [{
|
97605 |
name: "normal",
|
97606 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
97607 |
className: "uagb-normal-tab"
|
97608 |
}, {
|
97609 |
name: "focus",
|
97610 |
+
title: __("Focus", 'ultimate-addons-for-gutenberg'),
|
97611 |
className: "uagb-focus-tab"
|
97612 |
}] },
|
97613 |
function (tabName) {
|
97631 |
null,
|
97632 |
wp.element.createElement(
|
97633 |
PanelBody,
|
97634 |
+
{ title: __("Timeline Item", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
97635 |
wp.element.createElement(SelectControl, {
|
97636 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
97637 |
value: headingTag,
|
97638 |
onChange: function onChange(value) {
|
97639 |
return setAttributes({ headingTag: value });
|
97640 |
},
|
97641 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }, { value: "p", label: __("P", 'ultimate-addons-for-gutenberg') }, { value: "span", label: __("SPAN", 'ultimate-addons-for-gutenberg') }]
|
97642 |
}),
|
97643 |
wp.element.createElement(RangeControl, {
|
97644 |
+
label: __("Rounded Corners", 'ultimate-addons-for-gutenberg'),
|
97645 |
value: borderRadius,
|
97646 |
onChange: function onChange(value) {
|
97647 |
return setAttributes({ borderRadius: value });
|
97652 |
allowReset: true
|
97653 |
}),
|
97654 |
wp.element.createElement(RangeControl, {
|
97655 |
+
label: __("Padding", 'ultimate-addons-for-gutenberg'),
|
97656 |
value: bgPadding,
|
97657 |
onChange: function onChange(value) {
|
97658 |
return setAttributes({ bgPadding: value });
|
97664 |
})
|
97665 |
),
|
97666 |
wp.element.createElement(PanelColorSettings, {
|
97667 |
+
title: __("Color Settings", 'ultimate-addons-for-gutenberg'),
|
97668 |
initialOpen: false,
|
97669 |
colorSettings: [{
|
97670 |
value: headingColor,
|
97671 |
onChange: function onChange(colorValue) {
|
97672 |
return setAttributes({ headingColor: colorValue });
|
97673 |
},
|
97674 |
+
label: __("Heading Color", 'ultimate-addons-for-gutenberg')
|
97675 |
}, {
|
97676 |
value: subHeadingColor,
|
97677 |
onChange: function onChange(colorValue) {
|
97678 |
return setAttributes({ subHeadingColor: colorValue });
|
97679 |
},
|
97680 |
+
label: __("Content Color", 'ultimate-addons-for-gutenberg')
|
97681 |
}, {
|
97682 |
value: backgroundColor,
|
97683 |
onChange: function onChange(colorValue) {
|
97684 |
return setAttributes({ backgroundColor: colorValue });
|
97685 |
},
|
97686 |
+
label: __("Background Color", 'ultimate-addons-for-gutenberg')
|
97687 |
}]
|
97688 |
})
|
97689 |
);
|
97729 |
|
97730 |
var renderSettings = wp.element.createElement(
|
97731 |
PanelBody,
|
97732 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
97733 |
wp.element.createElement(
|
97734 |
"h2",
|
97735 |
null,
|
97736 |
+
__("Layout", 'ultimate-addons-for-gutenberg')
|
97737 |
),
|
97738 |
wp.element.createElement(SelectControl, {
|
97739 |
+
label: __("Orientation", 'ultimate-addons-for-gutenberg'),
|
97740 |
value: timelinAlignment,
|
97741 |
onChange: function onChange(value) {
|
97742 |
return setAttributes({ timelinAlignment: value });
|
97743 |
},
|
97744 |
+
options: [{ value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }, { value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }]
|
97745 |
}),
|
97746 |
wp.element.createElement(SelectControl, {
|
97747 |
+
label: __("Arrow Alignment", 'ultimate-addons-for-gutenberg'),
|
97748 |
value: arrowlinAlignment,
|
97749 |
onChange: function onChange(value) {
|
97750 |
return setAttributes({ arrowlinAlignment: value });
|
97751 |
},
|
97752 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "bottom", label: __("Bottom", 'ultimate-addons-for-gutenberg') }, { value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }]
|
97753 |
}),
|
97754 |
wp.element.createElement(SelectControl, {
|
97755 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
97756 |
value: stack,
|
97757 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
97758 |
+
help: __("Note: Choose on what breakpoint the Content Timeline will stack.", 'ultimate-addons-for-gutenberg'),
|
97759 |
onChange: function onChange(value) {
|
97760 |
return setAttributes({ stack: value });
|
97761 |
}
|
97767 |
__("Date")
|
97768 |
),
|
97769 |
wp.element.createElement(ToggleControl, {
|
97770 |
+
label: __("Display Date", 'ultimate-addons-for-gutenberg'),
|
97771 |
checked: displayPostDate,
|
97772 |
onChange: this.toggleDisplayPostDate
|
97773 |
}),
|
97774 |
displayPostDate && wp.element.createElement(SelectControl, {
|
97775 |
+
label: __("Date Format", 'ultimate-addons-for-gutenberg'),
|
97776 |
value: dateFormat,
|
97777 |
onChange: this.getdateFormat,
|
97778 |
+
options: [{ value: 'M j, Y', label: dateI18n('M j, Y', today) }, { value: 'F j, Y', label: dateI18n('F j, Y', today) }, { value: 'm/d/Y', label: dateI18n('m/d/Y', today) }, { value: 'm-d-Y', label: dateI18n('m-d-Y', today) }, { value: 'm.d.Y', label: dateI18n('m.d.Y', today) }, { value: 'd M Y', label: dateI18n('d M Y', today) }, { value: 'd F Y', label: dateI18n('d F Y', today) }, { value: 'd-m-Y', label: dateI18n('d-m-Y', today) }, { value: 'd.m.Y', label: dateI18n('d.m.Y', today) }, { value: 'd/m/Y', label: dateI18n('d/m/Y', today) }, { value: 'Y-m-d', label: dateI18n('Y-m-d', today) }, { value: 'Y.m.d', label: dateI18n('Y.m.d', today) }, { value: 'Y/m/d', label: dateI18n('Y/m/d', today) }, { value: 'M, Y', label: dateI18n('M, Y', today) }, { value: 'M Y', label: dateI18n('M Y', today) }, { value: 'F, Y', label: dateI18n('F, Y', today) }, { value: 'F Y', label: dateI18n('F Y', today) }, { value: 'custom', label: __('Normal Text', 'ultimate-addons-for-gutenberg') }]
|
97779 |
}),
|
97780 |
displayPostDate && timelinAlignment !== "center" && wp.element.createElement(RangeControl, {
|
97781 |
+
label: __("Date Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
97782 |
value: dateBottomspace,
|
97783 |
onChange: function onChange(value) {
|
97784 |
return setAttributes({ dateBottomspace: value });
|
97791 |
wp.element.createElement(
|
97792 |
"h2",
|
97793 |
null,
|
97794 |
+
__("Heading", 'ultimate-addons-for-gutenberg')
|
97795 |
),
|
97796 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
97797 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
97798 |
attributes: this.props.attributes,
|
97799 |
setAttributes: setAttributes,
|
97800 |
loadGoogleFonts: { value: headLoadGoogleFonts, label: 'headLoadGoogleFonts' },
|
97814 |
wp.element.createElement(
|
97815 |
"h2",
|
97816 |
null,
|
97817 |
+
__("Content", 'ultimate-addons-for-gutenberg')
|
97818 |
),
|
97819 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
97820 |
+
label: __("Content Tag", 'ultimate-addons-for-gutenberg'),
|
97821 |
attributes: this.props.attributes,
|
97822 |
setAttributes: setAttributes,
|
97823 |
loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: 'subHeadLoadGoogleFonts' },
|
97840 |
wp.element.createElement(
|
97841 |
"h2",
|
97842 |
null,
|
97843 |
+
__("Date Typography", 'ultimate-addons-for-gutenberg')
|
97844 |
),
|
97845 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
97846 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
97847 |
attributes: this.props.attributes,
|
97848 |
setAttributes: setAttributes,
|
97849 |
loadGoogleFonts: { value: dateLoadGoogleFonts, label: 'dateLoadGoogleFonts' },
|
97863 |
wp.element.createElement(
|
97864 |
"p",
|
97865 |
{ className: "uagb-setting-label" },
|
97866 |
+
__("Date Color", 'ultimate-addons-for-gutenberg'),
|
97867 |
wp.element.createElement(
|
97868 |
"span",
|
97869 |
{ className: "components-base-control__label" },
|
97886 |
renderSettings,
|
97887 |
wp.element.createElement(
|
97888 |
PanelBody,
|
97889 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
97890 |
wp.element.createElement(RangeControl, {
|
97891 |
+
label: __("Horizontal Space", 'ultimate-addons-for-gutenberg'),
|
97892 |
value: horizontalSpace,
|
97893 |
onChange: function onChange(value) {
|
97894 |
return setAttributes({ horizontalSpace: value });
|
97898 |
allowReset: true
|
97899 |
}),
|
97900 |
wp.element.createElement(RangeControl, {
|
97901 |
+
label: __("Vertical Space", 'ultimate-addons-for-gutenberg'),
|
97902 |
value: verticalSpace,
|
97903 |
onChange: function onChange(value) {
|
97904 |
return setAttributes({ verticalSpace: value });
|
97908 |
allowReset: true
|
97909 |
}),
|
97910 |
wp.element.createElement(RangeControl, {
|
97911 |
+
label: __("Heading Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
97912 |
value: headSpace,
|
97913 |
onChange: function onChange(value) {
|
97914 |
return setAttributes({ headSpace: value });
|
97920 |
),
|
97921 |
wp.element.createElement(
|
97922 |
PanelBody,
|
97923 |
+
{ title: __("Connector", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
97924 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
97925 |
wp.element.createElement(RangeControl, {
|
97926 |
+
label: __("Icon Size", 'ultimate-addons-for-gutenberg'),
|
97927 |
value: iconSize,
|
97928 |
onChange: this.geticonSize,
|
97929 |
min: 0,
|
97931 |
allowReset: true
|
97932 |
}),
|
97933 |
wp.element.createElement(RangeControl, {
|
97934 |
+
label: __("Icon Background Size", 'ultimate-addons-for-gutenberg'),
|
97935 |
value: connectorBgsize,
|
97936 |
onChange: this.getconnectorBgsize,
|
97937 |
min: 25,
|
97939 |
allowReset: true
|
97940 |
}),
|
97941 |
wp.element.createElement(RangeControl, {
|
97942 |
+
label: __("Border Width", 'ultimate-addons-for-gutenberg'),
|
97943 |
value: borderwidth,
|
97944 |
onChange: this.getborderwidth,
|
97945 |
min: 1,
|
97947 |
allowReset: true
|
97948 |
}),
|
97949 |
wp.element.createElement(RangeControl, {
|
97950 |
+
label: __("Connector Width", 'ultimate-addons-for-gutenberg'),
|
97951 |
value: separatorwidth,
|
97952 |
onChange: this.getseparatorwidth,
|
97953 |
min: 1,
|
98178 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBcontentTimeline);
|
98179 |
|
98180 |
/***/ }),
|
98181 |
+
/* 593 */
|
98182 |
/*!*************************************************************!*\
|
98183 |
!*** ./src/blocks/timeline/content-timeline-child/block.js ***!
|
98184 |
\*************************************************************/
|
98189 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
98190 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! .././style.scss */ 119);
|
98191 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);
|
98192 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss__ = __webpack_require__(/*! ./style.scss */ 594);
|
98193 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);
|
98194 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 595);
|
98195 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__attributes__ = __webpack_require__(/*! ./attributes */ 221);
|
98196 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__edit__ = __webpack_require__(/*! ./edit */ 596);
|
98197 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */ 597);
|
98198 |
+
/**
|
98199 |
+
* BLOCK: Content Timeline Child
|
98200 |
*/
|
98201 |
|
98202 |
|
98217 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].content_timeline,
|
98218 |
category: uagb_blocks_info.category,
|
98219 |
parent: ["uagb/content-timeline"],
|
98220 |
+
keywords: [__("Content Timeline", 'ultimate-addons-for-gutenberg'), __("Timeline", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
98221 |
attributes: __WEBPACK_IMPORTED_MODULE_4__attributes__["a" /* default */],
|
98222 |
edit: __WEBPACK_IMPORTED_MODULE_5__edit__["a" /* default */],
|
98223 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
98225 |
});
|
98226 |
|
98227 |
/***/ }),
|
98228 |
+
/* 594 */
|
98229 |
/*!***************************************************************!*\
|
98230 |
!*** ./src/blocks/timeline/content-timeline-child/style.scss ***!
|
98231 |
\***************************************************************/
|
98235 |
// removed by extract-text-webpack-plugin
|
98236 |
|
98237 |
/***/ }),
|
98238 |
+
/* 595 */
|
98239 |
/*!************************************************************!*\
|
98240 |
!*** ./src/blocks/timeline/content-timeline-child/save.js ***!
|
98241 |
\************************************************************/
|
98248 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
98249 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
98250 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
98251 |
+
/**
|
98252 |
+
* BLOCK: Content timeline child - Save Block
|
98253 |
*/
|
98254 |
|
98255 |
|
98358 |
}
|
98359 |
|
98360 |
/***/ }),
|
98361 |
+
/* 596 */
|
98362 |
/*!************************************************************!*\
|
98363 |
!*** ./src/blocks/timeline/content-timeline-child/edit.js ***!
|
98364 |
\************************************************************/
|
98378 |
|
98379 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
98380 |
|
98381 |
+
/**
|
98382 |
+
* BLOCK: Content Timeline child.
|
98383 |
*/
|
98384 |
|
98385 |
|
98478 |
null,
|
98479 |
displayPostDate != true && wp.element.createElement(
|
98480 |
PanelBody,
|
98481 |
+
{ title: __("Timeline Item", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
98482 |
wp.element.createElement(TextControl, {
|
98483 |
+
label: __("Date", 'ultimate-addons-for-gutenberg'),
|
98484 |
value: t_date,
|
98485 |
onChange: function onChange(value) {
|
98486 |
return setAttributes({ t_date: value });
|
98496 |
if ('custom' != dateFormat) {
|
98497 |
|
98498 |
post_date = dateI18n(dateFormat, t_date);
|
98499 |
+
if (post_date === "Invalid date", 'ultimate-addons-for-gutenberg') {
|
98500 |
post_date = t_date;
|
98501 |
}
|
98502 |
}
|
98554 |
onChange: function onChange(value) {
|
98555 |
return setAttributes({ time_heading: value });
|
98556 |
},
|
98557 |
+
placeholder: __("Write a Heading", 'ultimate-addons-for-gutenberg'),
|
98558 |
className: "uagb-timeline__heading",
|
98559 |
onMerge: mergeBlocks,
|
98560 |
unstableOnSplit: insertBlocksAfter ? function (before, after) {
|
98576 |
onChange: function onChange(value) {
|
98577 |
return setAttributes({ time_desc: value });
|
98578 |
},
|
98579 |
+
placeholder: __("Write a Description", 'ultimate-addons-for-gutenberg'),
|
98580 |
className: "uagb-timeline-desc-content",
|
98581 |
onMerge: mergeBlocks,
|
98582 |
unstableOnSplit: this.splitBlock,
|
98610 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBcontentTimelineChild);
|
98611 |
|
98612 |
/***/ }),
|
98613 |
+
/* 597 */
|
98614 |
/*!******************************************************************!*\
|
98615 |
!*** ./src/blocks/timeline/content-timeline-child/deprecated.js ***!
|
98616 |
\******************************************************************/
|
98737 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
98738 |
|
98739 |
/***/ }),
|
98740 |
+
/* 598 */
|
98741 |
/*!****************************************************!*\
|
98742 |
!*** ./src/blocks/timeline/post-timeline/block.js ***!
|
98743 |
\****************************************************/
|
98749 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/block-icons */ 1);
|
98750 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! .././style.scss */ 119);
|
98751 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);
|
98752 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! .././editor.scss */ 599);
|
98753 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
98754 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__edit__ = __webpack_require__(/*! ./edit */ 600);
|
98755 |
+
/**
|
98756 |
+
* BLOCK: Post Timeline Js.
|
98757 |
*/
|
98758 |
|
98759 |
|
98776 |
description: uagb_blocks_info.blocks["uagb/post-timeline"]["description"],
|
98777 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].post_timeline,
|
98778 |
category: uagb_blocks_info.category,
|
98779 |
+
keywords: [__("post", 'ultimate-addons-for-gutenberg'), __("timeline", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
98780 |
getEditWrapperProps: function getEditWrapperProps(attributes) {
|
98781 |
var align = attributes.align;
|
98782 |
},
|
98790 |
});
|
98791 |
|
98792 |
/***/ }),
|
98793 |
+
/* 599 */
|
98794 |
/*!*****************************************!*\
|
98795 |
!*** ./src/blocks/timeline/editor.scss ***!
|
98796 |
\*****************************************/
|
98800 |
// removed by extract-text-webpack-plugin
|
98801 |
|
98802 |
/***/ }),
|
98803 |
+
/* 600 */
|
98804 |
/*!***************************************************!*\
|
98805 |
!*** ./src/blocks/timeline/post-timeline/edit.js ***!
|
98806 |
\***************************************************/
|
98809 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
98810 |
|
98811 |
"use strict";
|
98812 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isUndefined__ = __webpack_require__(/*! lodash/isUndefined */ 601);
|
98813 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_isUndefined___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_isUndefined__);
|
98814 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_pickBy__ = __webpack_require__(/*! lodash/pickBy */ 602);
|
98815 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_pickBy___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_pickBy__);
|
98816 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
98817 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
|
98826 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__classes__ = __webpack_require__(/*! .././classes */ 66);
|
98827 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__align_classes__ = __webpack_require__(/*! .././align-classes */ 218);
|
98828 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__day_align_classes__ = __webpack_require__(/*! .././day-align-classes */ 219);
|
98829 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__components_Title__ = __webpack_require__(/*! ./components/Title */ 605);
|
98830 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__components_FeaturedImage__ = __webpack_require__(/*! ./components/FeaturedImage */ 606);
|
98831 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__components_Excerpt__ = __webpack_require__(/*! ./components/Excerpt */ 607);
|
98832 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__components_CtaLink__ = __webpack_require__(/*! ./components/CtaLink */ 608);
|
98833 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__components_Author__ = __webpack_require__(/*! ./components/Author */ 609);
|
98834 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__components_PostDate__ = __webpack_require__(/*! ./components/PostDate */ 610);
|
98835 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__components_Icon__ = __webpack_require__(/*! ./components/Icon */ 611);
|
98836 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__components_typography__ = __webpack_require__(/*! ../../../components/typography */ 7);
|
98837 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__components_typography_fontloader__ = __webpack_require__(/*! ../../../components/typography/fontloader */ 8);
|
98838 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
98847 |
|
98848 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
98849 |
|
98850 |
+
/**
|
98851 |
+
* External dependencies
|
98852 |
*/
|
98853 |
|
98854 |
|
99077 |
|
99078 |
var taxonomyListOptions = [];
|
99079 |
|
99080 |
+
var categoryListOptions = [{ value: "", label: __("All", 'ultimate-addons-for-gutenberg') }];
|
99081 |
|
99082 |
if ("" != taxonomyList) {
|
99083 |
Object.keys(taxonomyList).map(function (item, thisIndex) {
|
99098 |
onChange: this.getTimelineicon,
|
99099 |
isMulti: false,
|
99100 |
renderFunc: __WEBPACK_IMPORTED_MODULE_6__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
99101 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
99102 |
};
|
99103 |
|
99104 |
+
var sizeTypes = [{ key: "px", name: __("px", 'ultimate-addons-for-gutenberg') }, { key: "em", name: __("em", 'ultimate-addons-for-gutenberg') }];
|
99105 |
|
99106 |
var loadHeadGoogleFonts = void 0;
|
99107 |
var loadSubHeadGoogleFonts = void 0;
|
99165 |
}
|
99166 |
|
99167 |
var iconColorSettings = wp.element.createElement(PanelColorSettings, {
|
99168 |
+
title: __("Color Settings", 'ultimate-addons-for-gutenberg'),
|
99169 |
initialOpen: true,
|
99170 |
colorSettings: [{
|
99171 |
value: separatorColor,
|
99172 |
onChange: function onChange(colorValue) {
|
99173 |
return setAttributes({ separatorColor: colorValue });
|
99174 |
},
|
99175 |
+
label: __("Line Color", 'ultimate-addons-for-gutenberg')
|
99176 |
}, {
|
99177 |
value: iconColor,
|
99178 |
onChange: function onChange(colorValue) {
|
99179 |
return setAttributes({ iconColor: colorValue });
|
99180 |
},
|
99181 |
+
label: __("Icon Color", 'ultimate-addons-for-gutenberg')
|
99182 |
}, {
|
99183 |
value: separatorBg,
|
99184 |
onChange: function onChange(colorValue) {
|
99185 |
return setAttributes({ separatorBg: colorValue });
|
99186 |
},
|
99187 |
+
label: __("Background Color", 'ultimate-addons-for-gutenberg')
|
99188 |
}, {
|
99189 |
value: separatorBorder,
|
99190 |
onChange: function onChange(colorValue) {
|
99191 |
return setAttributes({ separatorBorder: colorValue });
|
99192 |
},
|
99193 |
+
label: __("Border Color", 'ultimate-addons-for-gutenberg')
|
99194 |
}]
|
99195 |
});
|
99196 |
|
99197 |
var iconFocusSettings = wp.element.createElement(PanelColorSettings, {
|
99198 |
+
title: __("Color Settings", 'ultimate-addons-for-gutenberg'),
|
99199 |
initialOpen: true,
|
99200 |
colorSettings: [{
|
99201 |
value: separatorFillColor,
|
99202 |
onChange: function onChange(colorValue) {
|
99203 |
return setAttributes({ separatorFillColor: colorValue });
|
99204 |
},
|
99205 |
+
label: __("Line Color", 'ultimate-addons-for-gutenberg')
|
99206 |
}, {
|
99207 |
value: iconFocus,
|
99208 |
onChange: function onChange(colorValue) {
|
99209 |
return setAttributes({ iconFocus: colorValue });
|
99210 |
},
|
99211 |
+
label: __("Icon Color", 'ultimate-addons-for-gutenberg')
|
99212 |
}, {
|
99213 |
value: iconBgFocus,
|
99214 |
onChange: function onChange(colorValue) {
|
99215 |
return setAttributes({ iconBgFocus: colorValue });
|
99216 |
},
|
99217 |
+
label: __("Background Color", 'ultimate-addons-for-gutenberg')
|
99218 |
}, {
|
99219 |
value: borderFocus,
|
99220 |
onChange: function onChange(colorValue) {
|
99221 |
return setAttributes({ borderFocus: colorValue });
|
99222 |
},
|
99223 |
+
label: __("Border Color", 'ultimate-addons-for-gutenberg')
|
99224 |
}]
|
99225 |
});
|
99226 |
|
99227 |
var iconControls = wp.element.createElement(
|
99228 |
PanelBody,
|
99229 |
+
{ title: __("Connector Color Settings", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
99230 |
wp.element.createElement(
|
99231 |
TabPanel,
|
99232 |
{ className: "uagb-inspect-tabs uagb-inspect-tabs-col-2",
|
99233 |
activeClass: "active-tab",
|
99234 |
tabs: [{
|
99235 |
name: "normal",
|
99236 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
99237 |
className: "uagb-normal-tab"
|
99238 |
}, {
|
99239 |
name: "focus",
|
99240 |
+
title: __("Focus", 'ultimate-addons-for-gutenberg'),
|
99241 |
className: "uagb-focus-tab"
|
99242 |
}] },
|
99243 |
function (tabName) {
|
99258 |
|
99259 |
var colorSetting = wp.element.createElement(
|
99260 |
PanelColorSettings,
|
99261 |
+
{ title: __("Color Settings", 'ultimate-addons-for-gutenberg'), initialOpen: false,
|
99262 |
colorSettings: [{
|
99263 |
value: backgroundColor,
|
99264 |
onChange: function onChange(colorValue) {
|
99265 |
return setAttributes({ backgroundColor: colorValue });
|
99266 |
},
|
99267 |
+
label: __("Background Color", 'ultimate-addons-for-gutenberg')
|
99268 |
}] },
|
99269 |
displayPostDate && wp.element.createElement(
|
99270 |
Fragment,
|
99272 |
wp.element.createElement(
|
99273 |
"p",
|
99274 |
{ className: "uagb-setting-label" },
|
99275 |
+
__("Date Color", 'ultimate-addons-for-gutenberg'),
|
99276 |
wp.element.createElement(
|
99277 |
"span",
|
99278 |
{ className: "components-base-control__label" },
|
99293 |
wp.element.createElement(
|
99294 |
"p",
|
99295 |
{ className: "uagb-setting-label" },
|
99296 |
+
__("Heading Color", 'ultimate-addons-for-gutenberg'),
|
99297 |
wp.element.createElement(
|
99298 |
"span",
|
99299 |
{ className: "components-base-control__label" },
|
99314 |
wp.element.createElement(
|
99315 |
"p",
|
99316 |
{ className: "uagb-setting-label" },
|
99317 |
+
__("Author Color", 'ultimate-addons-for-gutenberg'),
|
99318 |
wp.element.createElement(
|
99319 |
"span",
|
99320 |
{ className: "components-base-control__label" },
|
99335 |
wp.element.createElement(
|
99336 |
"p",
|
99337 |
{ className: "uagb-setting-label" },
|
99338 |
+
__("Content Color", 'ultimate-addons-for-gutenberg'),
|
99339 |
wp.element.createElement(
|
99340 |
"span",
|
99341 |
{ className: "components-base-control__label" },
|
99356 |
wp.element.createElement(
|
99357 |
"p",
|
99358 |
{ className: "uagb-setting-label" },
|
99359 |
+
__("CTA Color", 'ultimate-addons-for-gutenberg'),
|
99360 |
wp.element.createElement(
|
99361 |
"span",
|
99362 |
{ className: "components-base-control__label" },
|
99373 |
wp.element.createElement(
|
99374 |
"p",
|
99375 |
{ className: "uagb-setting-label" },
|
99376 |
+
__("CTA Background Color", 'ultimate-addons-for-gutenberg'),
|
99377 |
wp.element.createElement(
|
99378 |
"span",
|
99379 |
{ className: "components-base-control__label" },
|
99397 |
null,
|
99398 |
wp.element.createElement(
|
99399 |
PanelBody,
|
99400 |
+
{ title: __("Query", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
99401 |
wp.element.createElement(SelectControl, {
|
99402 |
+
label: __("Post Type", 'ultimate-addons-for-gutenberg'),
|
99403 |
value: postType,
|
99404 |
onChange: function onChange(value) {
|
99405 |
return _this2.onSelectPostType(value);
|
99408 |
}),
|
99409 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
99410 |
"" != taxonomyList && wp.element.createElement(SelectControl, {
|
99411 |
+
label: __("Taxonomy", 'ultimate-addons-for-gutenberg'),
|
99412 |
value: taxonomyType,
|
99413 |
onChange: function onChange(value) {
|
99414 |
return _this2.onSelectTaxonomyType(value);
|
99429 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
99430 |
),
|
99431 |
wp.element.createElement(ToggleControl, {
|
99432 |
+
label: __("Exclude Current Post", 'ultimate-addons-for-gutenberg'),
|
99433 |
checked: excludeCurrentPost,
|
99434 |
onChange: function onChange(value) {
|
99435 |
return setAttributes({ excludeCurrentPost: !excludeCurrentPost });
|
99442 |
}
|
99443 |
})),
|
99444 |
wp.element.createElement(SelectControl, {
|
99445 |
+
label: __("Order By", 'ultimate-addons-for-gutenberg'),
|
99446 |
value: orderBy,
|
99447 |
onChange: function onChange(value) {
|
99448 |
return setAttributes({ orderBy: value });
|
99449 |
},
|
99450 |
+
options: [{ value: "date", label: __("Date", 'ultimate-addons-for-gutenberg') }, { value: "title", label: __("Title", 'ultimate-addons-for-gutenberg') }, { value: "rand", label: __("Random", 'ultimate-addons-for-gutenberg') }, { value: "menu_order", label: __("Menu Order", 'ultimate-addons-for-gutenberg') }]
|
99451 |
}),
|
99452 |
wp.element.createElement(SelectControl, {
|
99453 |
+
label: __("Order", 'ultimate-addons-for-gutenberg'),
|
99454 |
value: order,
|
99455 |
onChange: function onChange(value) {
|
99456 |
return setAttributes({ order: value });
|
99457 |
},
|
99458 |
+
options: [{ value: "desc", label: __("Descending", 'ultimate-addons-for-gutenberg') }, { value: "asc", label: __("Ascending", 'ultimate-addons-for-gutenberg') }]
|
99459 |
})
|
99460 |
),
|
99461 |
wp.element.createElement(
|
99462 |
PanelBody,
|
99463 |
+
{ title: __("Layout", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
99464 |
wp.element.createElement(SelectControl, {
|
99465 |
+
label: __("Orientation", 'ultimate-addons-for-gutenberg'),
|
99466 |
value: timelinAlignment,
|
99467 |
onChange: function onChange(value) {
|
99468 |
return setAttributes({ timelinAlignment: value });
|
99469 |
},
|
99470 |
+
options: [{ value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }, { value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }]
|
99471 |
}),
|
99472 |
wp.element.createElement(SelectControl, {
|
99473 |
+
label: __("Arrow Alignment", 'ultimate-addons-for-gutenberg'),
|
99474 |
value: arrowlinAlignment,
|
99475 |
onChange: function onChange(value) {
|
99476 |
return setAttributes({ arrowlinAlignment: value });
|
99477 |
},
|
99478 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "bottom", label: __("Bottom", 'ultimate-addons-for-gutenberg') }, { value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }]
|
99479 |
}),
|
99480 |
wp.element.createElement(SelectControl, {
|
99481 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
99482 |
value: stack,
|
99483 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
99484 |
+
help: __("Note: Choose on what breakpoint the Post Timeline will stack.", 'ultimate-addons-for-gutenberg'),
|
99485 |
onChange: function onChange(value) {
|
99486 |
return setAttributes({ stack: value });
|
99487 |
}
|
99489 |
),
|
99490 |
wp.element.createElement(
|
99491 |
PanelBody,
|
99492 |
+
{ title: __("Image", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
99493 |
wp.element.createElement(ToggleControl, {
|
99494 |
+
label: __("Display Featured Image", 'ultimate-addons-for-gutenberg'),
|
99495 |
checked: displayPostImage,
|
99496 |
onChange: function onChange(value) {
|
99497 |
return setAttributes({ displayPostImage: !displayPostImage });
|
99498 |
}
|
99499 |
}),
|
99500 |
displayPostImage && wp.element.createElement(SelectControl, {
|
99501 |
+
label: __("Featured Image Style", 'ultimate-addons-for-gutenberg'),
|
99502 |
options: uagb_blocks_info.image_sizes,
|
99503 |
value: imageSize,
|
99504 |
onChange: function onChange(value) {
|
99508 |
),
|
99509 |
wp.element.createElement(
|
99510 |
PanelBody,
|
99511 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
99512 |
wp.element.createElement(ToggleControl, {
|
99513 |
+
label: __("Display Post Author", 'ultimate-addons-for-gutenberg'),
|
99514 |
checked: displayPostAuthor,
|
99515 |
onChange: function onChange(value) {
|
99516 |
return setAttributes({ displayPostAuthor: !displayPostAuthor });
|
99517 |
}
|
99518 |
}),
|
99519 |
wp.element.createElement(ToggleControl, {
|
99520 |
+
label: __("Display Post Date", 'ultimate-addons-for-gutenberg'),
|
99521 |
checked: displayPostDate,
|
99522 |
onChange: function onChange(value) {
|
99523 |
return setAttributes({ displayPostDate: !displayPostDate });
|
99524 |
}
|
99525 |
}),
|
99526 |
displayPostDate && wp.element.createElement(SelectControl, {
|
99527 |
+
label: __("Date Format", 'ultimate-addons-for-gutenberg'),
|
99528 |
value: dateFormat,
|
99529 |
onChange: function onChange(value) {
|
99530 |
return setAttributes({ dateFormat: value });
|
99532 |
options: [{ value: 'M j, Y', label: dateI18n('M j, Y', today) }, { value: 'F j, Y', label: dateI18n('F j, Y', today) }, { value: 'm/d/Y', label: dateI18n('m/d/Y', today) }, { value: 'm-d-Y', label: dateI18n('m-d-Y', today) }, { value: 'm.d.Y', label: dateI18n('m.d.Y', today) }, { value: 'd M Y', label: dateI18n('d M Y', today) }, { value: 'd F Y', label: dateI18n('d F Y', today) }, { value: 'd-m-Y', label: dateI18n('d-m-Y', today) }, { value: 'd.m.Y', label: dateI18n('d.m.Y', today) }, { value: 'd/m/Y', label: dateI18n('d/m/Y', today) }, { value: 'Y-m-d', label: dateI18n('Y-m-d', today) }, { value: 'Y.m.d', label: dateI18n('Y.m.d', today) }, { value: 'Y/m/d', label: dateI18n('Y/m/d', today) }, { value: 'M, Y', label: dateI18n('M, Y', today) }, { value: 'M Y', label: dateI18n('M Y', today) }, { value: 'F, Y', label: dateI18n('F, Y', today) }, { value: 'F Y', label: dateI18n('F Y', today) }]
|
99533 |
}),
|
99534 |
wp.element.createElement(ToggleControl, {
|
99535 |
+
label: __("Display Post Excerpt", 'ultimate-addons-for-gutenberg'),
|
99536 |
checked: displayPostExcerpt,
|
99537 |
onChange: function onChange(value) {
|
99538 |
return setAttributes({ displayPostExcerpt: !displayPostExcerpt });
|
99539 |
}
|
99540 |
}),
|
99541 |
displayPostExcerpt && wp.element.createElement(RangeControl, {
|
99542 |
+
label: __("Excerpt Length", 'ultimate-addons-for-gutenberg'),
|
99543 |
value: exerptLength,
|
99544 |
onChange: function onChange(value) {
|
99545 |
return setAttributes({ exerptLength: value });
|
99549 |
allowReset: true
|
99550 |
}),
|
99551 |
wp.element.createElement(ToggleControl, {
|
99552 |
+
label: __("Display Continue Reading Link", 'ultimate-addons-for-gutenberg'),
|
99553 |
checked: displayPostLink,
|
99554 |
onChange: function onChange(value) {
|
99555 |
return setAttributes({ displayPostLink: !displayPostLink });
|
99559 |
Fragment,
|
99560 |
null,
|
99561 |
wp.element.createElement(TextControl, {
|
99562 |
+
label: __("CTA Text", 'ultimate-addons-for-gutenberg'),
|
99563 |
value: readMoreText,
|
99564 |
onChange: function onChange(value) {
|
99565 |
return setAttributes({ readMoreText: value });
|
99567 |
})
|
99568 |
),
|
99569 |
wp.element.createElement(ToggleControl, {
|
99570 |
+
label: __("Open links in New Tab", 'ultimate-addons-for-gutenberg'),
|
99571 |
checked: linkTarget,
|
99572 |
onChange: function onChange(value) {
|
99573 |
return setAttributes({ linkTarget: !linkTarget });
|
99576 |
),
|
99577 |
wp.element.createElement(
|
99578 |
PanelBody,
|
99579 |
+
{ title: __("Timeline Item", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
99580 |
wp.element.createElement(
|
99581 |
"h2",
|
99582 |
null,
|
99583 |
+
__("Heading", 'ultimate-addons-for-gutenberg')
|
99584 |
),
|
99585 |
wp.element.createElement(SelectControl, {
|
99586 |
+
label: __("Heading Tag", 'ultimate-addons-for-gutenberg'),
|
99587 |
value: headingTag,
|
99588 |
onChange: function onChange(value) {
|
99589 |
return setAttributes({ headingTag: value });
|
99590 |
},
|
99591 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }, { value: "p", label: __("P", 'ultimate-addons-for-gutenberg') }, { value: "span", label: __("SPAN", 'ultimate-addons-for-gutenberg') }]
|
99592 |
}),
|
99593 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99594 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
99595 |
attributes: this.props.attributes,
|
99596 |
setAttributes: setAttributes,
|
99597 |
loadGoogleFonts: { value: headLoadGoogleFonts, label: "headLoadGoogleFonts" },
|
99614 |
wp.element.createElement(
|
99615 |
"h2",
|
99616 |
null,
|
99617 |
+
__("Content", 'ultimate-addons-for-gutenberg')
|
99618 |
),
|
99619 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99620 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
99621 |
attributes: this.props.attributes,
|
99622 |
setAttributes: setAttributes,
|
99623 |
loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: "subHeadLoadGoogleFonts" },
|
99641 |
wp.element.createElement(
|
99642 |
"h2",
|
99643 |
null,
|
99644 |
+
__("Date", 'ultimate-addons-for-gutenberg')
|
99645 |
),
|
99646 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99647 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
99648 |
attributes: this.props.attributes,
|
99649 |
setAttributes: setAttributes,
|
99650 |
loadGoogleFonts: { value: dateLoadGoogleFonts, label: "dateLoadGoogleFonts" },
|
99668 |
wp.element.createElement(
|
99669 |
"h2",
|
99670 |
null,
|
99671 |
+
__("Author", 'ultimate-addons-for-gutenberg')
|
99672 |
),
|
99673 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99674 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
99675 |
attributes: attributes,
|
99676 |
setAttributes: setAttributes,
|
99677 |
loadGoogleFonts: { value: authorLoadGoogleFonts, label: "authorLoadGoogleFonts" },
|
99695 |
wp.element.createElement(
|
99696 |
"h2",
|
99697 |
null,
|
99698 |
+
__("CTA", 'ultimate-addons-for-gutenberg')
|
99699 |
),
|
99700 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_18__components_typography__["a" /* default */], {
|
99701 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
99702 |
attributes: attributes,
|
99703 |
setAttributes: setAttributes,
|
99704 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: "ctaLoadGoogleFonts" },
|
99717 |
),
|
99718 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
99719 |
wp.element.createElement(RangeControl, {
|
99720 |
+
label: __("Rounded Corners", 'ultimate-addons-for-gutenberg'),
|
99721 |
value: borderRadius,
|
99722 |
onChange: function onChange(value) {
|
99723 |
return setAttributes({ borderRadius: value });
|
99730 |
),
|
99731 |
wp.element.createElement(
|
99732 |
PanelBody,
|
99733 |
+
{ title: __("Connector", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
99734 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
99735 |
wp.element.createElement(RangeControl, {
|
99736 |
+
label: __("Icon Size", 'ultimate-addons-for-gutenberg'),
|
99737 |
value: iconSize,
|
99738 |
onChange: function onChange(value) {
|
99739 |
return setAttributes({ iconSize: value });
|
99743 |
allowReset: true
|
99744 |
}),
|
99745 |
wp.element.createElement(RangeControl, {
|
99746 |
+
label: __("Icon Background Size", 'ultimate-addons-for-gutenberg'),
|
99747 |
value: connectorBgsize,
|
99748 |
onChange: function onChange(value) {
|
99749 |
return setAttributes({ connectorBgsize: value });
|
99753 |
allowReset: true
|
99754 |
}),
|
99755 |
wp.element.createElement(RangeControl, {
|
99756 |
+
label: __("Border Width", 'ultimate-addons-for-gutenberg'),
|
99757 |
value: borderwidth,
|
99758 |
onChange: function onChange(value) {
|
99759 |
return setAttributes({ borderwidth: value });
|
99763 |
allowReset: true
|
99764 |
}),
|
99765 |
wp.element.createElement(RangeControl, {
|
99766 |
+
label: __("Connector Width", 'ultimate-addons-for-gutenberg'),
|
99767 |
value: separatorwidth,
|
99768 |
onChange: function onChange(value) {
|
99769 |
return setAttributes({ separatorwidth: value });
|
99777 |
colorSetting,
|
99778 |
wp.element.createElement(
|
99779 |
PanelBody,
|
99780 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
99781 |
wp.element.createElement(RangeControl, {
|
99782 |
+
label: __("Block Padding", 'ultimate-addons-for-gutenberg'),
|
99783 |
value: bgPadding,
|
99784 |
onChange: function onChange(value) {
|
99785 |
return setAttributes({ bgPadding: value });
|
99790 |
allowReset: true
|
99791 |
}),
|
99792 |
wp.element.createElement(RangeControl, {
|
99793 |
+
label: __("Content Padding", 'ultimate-addons-for-gutenberg'),
|
99794 |
value: contentPadding,
|
99795 |
onChange: function onChange(value) {
|
99796 |
return setAttributes({ contentPadding: value });
|
99801 |
allowReset: true
|
99802 |
}),
|
99803 |
wp.element.createElement(RangeControl, {
|
99804 |
+
label: __("Horizontal Space", 'ultimate-addons-for-gutenberg'),
|
99805 |
value: horizontalSpace,
|
99806 |
onChange: function onChange(value) {
|
99807 |
return setAttributes({ horizontalSpace: value });
|
99812 |
allowReset: true
|
99813 |
}),
|
99814 |
wp.element.createElement(RangeControl, {
|
99815 |
+
label: __("Vertical Space", 'ultimate-addons-for-gutenberg'),
|
99816 |
value: verticalSpace,
|
99817 |
onChange: function onChange(value) {
|
99818 |
return setAttributes({ verticalSpace: value });
|
99823 |
allowReset: true
|
99824 |
}),
|
99825 |
wp.element.createElement(RangeControl, {
|
99826 |
+
label: __("Heading Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
99827 |
value: headSpace,
|
99828 |
onChange: function onChange(value) {
|
99829 |
return setAttributes({ headSpace: value });
|
99834 |
allowReset: true
|
99835 |
}),
|
99836 |
displayPostAuthor && wp.element.createElement(RangeControl, {
|
99837 |
+
label: __("Author Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
99838 |
value: authorSpace,
|
99839 |
onChange: function onChange(value) {
|
99840 |
return setAttributes({ authorSpace: value });
|
99845 |
allowReset: true
|
99846 |
}),
|
99847 |
displayPostExcerpt && displayPostLink && wp.element.createElement(RangeControl, {
|
99848 |
+
label: __("Content Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
99849 |
value: contentSpace,
|
99850 |
onChange: function onChange(value) {
|
99851 |
return setAttributes({ contentSpace: value });
|
99856 |
allowReset: true
|
99857 |
}),
|
99858 |
displayPostDate && timelinAlignment !== "center" && wp.element.createElement(RangeControl, {
|
99859 |
+
label: __("Date Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
99860 |
value: dateBottomspace,
|
99861 |
onChange: function onChange(value) {
|
99862 |
return setAttributes({ dateBottomspace: value });
|
100250 |
})(UAGBTimeline));
|
100251 |
|
100252 |
/***/ }),
|
100253 |
+
/* 601 */
|
100254 |
/*!********************************************!*\
|
100255 |
!*** ./node_modules/lodash/isUndefined.js ***!
|
100256 |
\********************************************/
|
100282 |
|
100283 |
|
100284 |
/***/ }),
|
100285 |
+
/* 602 */
|
100286 |
/*!***************************************!*\
|
100287 |
!*** ./node_modules/lodash/pickBy.js ***!
|
100288 |
\***************************************/
|
100291 |
|
100292 |
var arrayMap = __webpack_require__(/*! ./_arrayMap */ 44),
|
100293 |
baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 143),
|
100294 |
+
basePickBy = __webpack_require__(/*! ./_basePickBy */ 603),
|
100295 |
getAllKeysIn = __webpack_require__(/*! ./_getAllKeysIn */ 99);
|
100296 |
|
100297 |
/**
|
100329 |
|
100330 |
|
100331 |
/***/ }),
|
100332 |
+
/* 603 */
|
100333 |
/*!********************************************!*\
|
100334 |
!*** ./node_modules/lodash/_basePickBy.js ***!
|
100335 |
\********************************************/
|
100338 |
/***/ (function(module, exports, __webpack_require__) {
|
100339 |
|
100340 |
var baseGet = __webpack_require__(/*! ./_baseGet */ 55),
|
100341 |
+
baseSet = __webpack_require__(/*! ./_baseSet */ 604),
|
100342 |
castPath = __webpack_require__(/*! ./_castPath */ 30);
|
100343 |
|
100344 |
/**
|
100370 |
|
100371 |
|
100372 |
/***/ }),
|
100373 |
+
/* 604 */
|
100374 |
/*!*****************************************!*\
|
100375 |
!*** ./node_modules/lodash/_baseSet.js ***!
|
100376 |
\*****************************************/
|
100381 |
var assignValue = __webpack_require__(/*! ./_assignValue */ 63),
|
100382 |
castPath = __webpack_require__(/*! ./_castPath */ 30),
|
100383 |
isIndex = __webpack_require__(/*! ./_isIndex */ 50),
|
100384 |
+
isObject = __webpack_require__(/*! ./isObject */ 13),
|
100385 |
toKey = __webpack_require__(/*! ./_toKey */ 31);
|
100386 |
|
100387 |
/**
|
100428 |
|
100429 |
|
100430 |
/***/ }),
|
100431 |
+
/* 605 */
|
100432 |
/*!***************************************************************!*\
|
100433 |
!*** ./src/blocks/timeline/post-timeline/components/Title.js ***!
|
100434 |
\***************************************************************/
|
100494 |
/* harmony default export */ __webpack_exports__["a"] = (Title);
|
100495 |
|
100496 |
/***/ }),
|
100497 |
+
/* 606 */
|
100498 |
/*!***********************************************************************!*\
|
100499 |
!*** ./src/blocks/timeline/post-timeline/components/FeaturedImage.js ***!
|
100500 |
\***********************************************************************/
|
100563 |
/* harmony default export */ __webpack_exports__["a"] = (FeaturedImage);
|
100564 |
|
100565 |
/***/ }),
|
100566 |
+
/* 607 */
|
100567 |
/*!*****************************************************************!*\
|
100568 |
!*** ./src/blocks/timeline/post-timeline/components/Excerpt.js ***!
|
100569 |
\*****************************************************************/
|
100622 |
/* harmony default export */ __webpack_exports__["a"] = (Excerpt);
|
100623 |
|
100624 |
/***/ }),
|
100625 |
+
/* 608 */
|
100626 |
/*!*****************************************************************!*\
|
100627 |
!*** ./src/blocks/timeline/post-timeline/components/CtaLink.js ***!
|
100628 |
\*****************************************************************/
|
100682 |
/* harmony default export */ __webpack_exports__["a"] = (CtaLink);
|
100683 |
|
100684 |
/***/ }),
|
100685 |
+
/* 609 */
|
100686 |
/*!****************************************************************!*\
|
100687 |
!*** ./src/blocks/timeline/post-timeline/components/Author.js ***!
|
100688 |
\****************************************************************/
|
100746 |
/* harmony default export */ __webpack_exports__["a"] = (Author);
|
100747 |
|
100748 |
/***/ }),
|
100749 |
+
/* 610 */
|
100750 |
/*!******************************************************************!*\
|
100751 |
!*** ./src/blocks/timeline/post-timeline/components/PostDate.js ***!
|
100752 |
\******************************************************************/
|
100806 |
/* harmony default export */ __webpack_exports__["a"] = (PostDate);
|
100807 |
|
100808 |
/***/ }),
|
100809 |
+
/* 611 */
|
100810 |
/*!**************************************************************!*\
|
100811 |
!*** ./src/blocks/timeline/post-timeline/components/Icon.js ***!
|
100812 |
\**************************************************************/
|
100860 |
/* harmony default export */ __webpack_exports__["a"] = (Icon);
|
100861 |
|
100862 |
/***/ }),
|
100863 |
+
/* 612 */
|
100864 |
/*!********************************************!*\
|
100865 |
!*** ./src/blocks/call-to-action/block.js ***!
|
100866 |
\********************************************/
|
100869 |
|
100870 |
"use strict";
|
100871 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
100872 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */ 613);
|
100873 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__save__ = __webpack_require__(/*! ./save */ 615);
|
100874 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes__ = __webpack_require__(/*! ./attributes */ 222);
|
100875 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */ 616);
|
100876 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 618);
|
100877 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
100878 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */ 619);
|
100879 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
|
100880 |
+
/**
|
100881 |
+
* BLOCK: Call To Action.
|
100882 |
*/
|
100883 |
|
100884 |
// Import block dependencies and components.
|
100900 |
title: uagb_blocks_info.blocks["uagb/call-to-action"]["title"],
|
100901 |
description: uagb_blocks_info.blocks["uagb/call-to-action"]["description"],
|
100902 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].call_to_action,
|
100903 |
+
keywords: [__("cta", 'ultimate-addons-for-gutenberg'), __("call to action", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
100904 |
supports: {
|
100905 |
anchor: true
|
100906 |
},
|
100913 |
});
|
100914 |
|
100915 |
/***/ }),
|
100916 |
+
/* 613 */
|
100917 |
/*!*******************************************!*\
|
100918 |
!*** ./src/blocks/call-to-action/edit.js ***!
|
100919 |
\*******************************************/
|
100933 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__classes__ = __webpack_require__(/*! ./classes */ 122);
|
100934 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_CTA__ = __webpack_require__(/*! ./components/CTA */ 123);
|
100935 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
100936 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 614);
|
100937 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
100938 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
|
100939 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
100947 |
|
100948 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
100949 |
|
100950 |
+
/**
|
100951 |
+
* BLOCK: Call To Action
|
100952 |
*/
|
100953 |
|
100954 |
|
101008 |
this.props.setAttributes({ ctaIcon: value });
|
101009 |
}
|
101010 |
|
101011 |
+
/**
|
101012 |
+
* Function Name: toggleTarget.
|
101013 |
*/
|
101014 |
|
101015 |
}, {
|
101140 |
onChange: this.setCtaIcon,
|
101141 |
isMulti: false,
|
101142 |
renderFunc: __WEBPACK_IMPORTED_MODULE_9__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
101143 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
101144 |
|
101145 |
// CTA settings.
|
101146 |
};var ctaSettings = wp.element.createElement(
|
101147 |
PanelBody,
|
101148 |
+
{ title: __("Button", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
101149 |
wp.element.createElement(SelectControl, {
|
101150 |
+
label: __("Type", 'ultimate-addons-for-gutenberg'),
|
101151 |
value: ctaType,
|
101152 |
onChange: function onChange(value) {
|
101153 |
return setAttributes({ ctaType: value });
|
101154 |
},
|
101155 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "text", label: __("Text", 'ultimate-addons-for-gutenberg') }, { value: "button", label: __("Button", 'ultimate-addons-for-gutenberg') }, { value: "all", label: __("Complete Box", 'ultimate-addons-for-gutenberg') }]
|
101156 |
}),
|
101157 |
(ctaType === "text" || ctaType === "button") && wp.element.createElement(
|
101158 |
Fragment,
|
101159 |
null,
|
101160 |
wp.element.createElement(TextControl, {
|
101161 |
+
label: __("Text", 'ultimate-addons-for-gutenberg'),
|
101162 |
value: ctaText,
|
101163 |
onChange: function onChange(value) {
|
101164 |
return setAttributes({ ctaText: value });
|
101165 |
}
|
101166 |
}),
|
101167 |
ctaType === "button" && wp.element.createElement(ToggleControl, {
|
101168 |
+
label: __("Inherit from Theme", 'ultimate-addons-for-gutenberg'),
|
101169 |
checked: inheritFromTheme,
|
101170 |
onChange: function onChange(value) {
|
101171 |
return setAttributes({ inheritFromTheme: !inheritFromTheme });
|
101172 |
}
|
101173 |
}),
|
101174 |
!inheritFromTheme && ctaType === "button" || ctaType === "text" && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
101175 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
101176 |
attributes: attributes,
|
101177 |
setAttributes: setAttributes,
|
101178 |
loadGoogleFonts: { value: ctaLoadGoogleFonts, label: 'ctaLoadGoogleFonts' },
|
101190 |
Fragment,
|
101191 |
null,
|
101192 |
wp.element.createElement(TextControl, {
|
101193 |
+
label: __("Link", 'ultimate-addons-for-gutenberg'),
|
101194 |
value: ctaLink,
|
101195 |
onChange: function onChange(value) {
|
101196 |
return setAttributes({ ctaLink: value });
|
101197 |
}
|
101198 |
}),
|
101199 |
wp.element.createElement(ToggleControl, {
|
101200 |
+
label: __("Open in new Window", 'ultimate-addons-for-gutenberg'),
|
101201 |
checked: ctaTarget,
|
101202 |
onChange: this.toggleTarget
|
101203 |
})
|
101216 |
Fragment,
|
101217 |
null,
|
101218 |
wp.element.createElement(SelectControl, {
|
101219 |
+
label: __("Icon Position", 'ultimate-addons-for-gutenberg'),
|
101220 |
value: ctaIconPosition,
|
101221 |
onChange: function onChange(value) {
|
101222 |
return setAttributes({ ctaIconPosition: value });
|
101223 |
},
|
101224 |
+
options: [{ value: "before", label: __("Before Text", 'ultimate-addons-for-gutenberg') }, { value: "after", label: __("After Text", 'ultimate-addons-for-gutenberg') }]
|
101225 |
}),
|
101226 |
wp.element.createElement(RangeControl, {
|
101227 |
+
label: __("Icon Spacing", 'ultimate-addons-for-gutenberg'),
|
101228 |
value: ctaIconSpace,
|
101229 |
onChange: function onChange(value) {
|
101230 |
return setAttributes({ ctaIconSpace: value });
|
101243 |
wp.element.createElement(
|
101244 |
"h2",
|
101245 |
null,
|
101246 |
+
__("Button Padding (px)", 'ultimate-addons-for-gutenberg')
|
101247 |
),
|
101248 |
wp.element.createElement(RangeControl, {
|
101249 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
101273 |
wp.element.createElement(
|
101274 |
"h2",
|
101275 |
null,
|
101276 |
+
__("Button Border", 'ultimate-addons-for-gutenberg')
|
101277 |
),
|
101278 |
wp.element.createElement(SelectControl, {
|
101279 |
label: __("Style"),
|
101281 |
onChange: function onChange(value) {
|
101282 |
return setAttributes({ ctaBorderStyle: value });
|
101283 |
},
|
101284 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }]
|
101285 |
}),
|
101286 |
ctaBorderStyle != "none" && wp.element.createElement(
|
101287 |
Fragment,
|
101288 |
null,
|
101289 |
wp.element.createElement(RangeControl, {
|
101290 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
101291 |
value: ctaBorderWidth,
|
101292 |
onChange: function onChange(value) {
|
101293 |
return setAttributes({ ctaBorderWidth: value });
|
101298 |
allowReset: true
|
101299 |
}),
|
101300 |
wp.element.createElement(RangeControl, {
|
101301 |
+
label: __("Rounded Corner", 'ultimate-addons-for-gutenberg'),
|
101302 |
value: ctaBorderRadius,
|
101303 |
onChange: function onChange(value) {
|
101304 |
return setAttributes({ ctaBorderRadius: value });
|
101316 |
activeClass: "active-tab",
|
101317 |
tabs: [{
|
101318 |
name: "normal",
|
101319 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
101320 |
className: "uagb-normal-tab"
|
101321 |
}, {
|
101322 |
name: "hover",
|
101323 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
101324 |
className: "uagb-hover-tab"
|
101325 |
}] },
|
101326 |
function (tabName) {
|
101343 |
activeClass: "active-tab",
|
101344 |
tabs: [{
|
101345 |
name: "normal",
|
101346 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
101347 |
className: "uagb-normal-tab"
|
101348 |
}, {
|
101349 |
name: "hover",
|
101350 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
101351 |
className: "uagb-focus-tab"
|
101352 |
}] },
|
101353 |
function (tabName) {
|
101372 |
wp.element.createElement(
|
101373 |
"p",
|
101374 |
{ className: "uagb-setting-label" },
|
101375 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
101376 |
wp.element.createElement(
|
101377 |
"span",
|
101378 |
{ className: "components-base-control__label" },
|
101389 |
wp.element.createElement(
|
101390 |
"p",
|
101391 |
{ className: "uagb-setting-label" },
|
101392 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
101393 |
wp.element.createElement(
|
101394 |
"span",
|
101395 |
{ className: "components-base-control__label" },
|
101409 |
wp.element.createElement(
|
101410 |
"p",
|
101411 |
{ className: "uagb-setting-label" },
|
101412 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
101413 |
wp.element.createElement(
|
101414 |
"span",
|
101415 |
{ className: "components-base-control__label" },
|
101432 |
wp.element.createElement(
|
101433 |
"p",
|
101434 |
{ className: "uagb-setting-label" },
|
101435 |
+
__("Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
101436 |
wp.element.createElement(
|
101437 |
"span",
|
101438 |
{ className: "components-base-control__label" },
|
101449 |
wp.element.createElement(
|
101450 |
"p",
|
101451 |
{ className: "uagb-setting-label" },
|
101452 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
101453 |
wp.element.createElement(
|
101454 |
"span",
|
101455 |
{ className: "components-base-control__label" },
|
101469 |
wp.element.createElement(
|
101470 |
"p",
|
101471 |
{ className: "uagb-setting-label" },
|
101472 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
101473 |
wp.element.createElement(
|
101474 |
"span",
|
101475 |
{ className: "components-base-control__label" },
|
101492 |
wp.element.createElement(
|
101493 |
"p",
|
101494 |
{ className: "uagb-setting-label" },
|
101495 |
+
__("CTA Text Color", 'ultimate-addons-for-gutenberg'),
|
101496 |
wp.element.createElement(
|
101497 |
"span",
|
101498 |
{ className: "components-base-control__label" },
|
101514 |
wp.element.createElement(
|
101515 |
"p",
|
101516 |
{ className: "uagb-setting-label" },
|
101517 |
+
__("CTA Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
101518 |
wp.element.createElement(
|
101519 |
"span",
|
101520 |
{ className: "components-base-control__label" },
|
101533 |
// Typography settings.
|
101534 |
var TypographySettings = wp.element.createElement(
|
101535 |
PanelBody,
|
101536 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
101537 |
wp.element.createElement(
|
101538 |
"h2",
|
101539 |
null,
|
101540 |
+
__("Heading", 'ultimate-addons-for-gutenberg')
|
101541 |
),
|
101542 |
wp.element.createElement(SelectControl, {
|
101543 |
+
label: __("Tag", 'ultimate-addons-for-gutenberg'),
|
101544 |
value: titleTag,
|
101545 |
onChange: function onChange(value) {
|
101546 |
return setAttributes({ titleTag: value });
|
101547 |
},
|
101548 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }]
|
101549 |
}),
|
101550 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
101551 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
101552 |
attributes: attributes,
|
101553 |
setAttributes: setAttributes,
|
101554 |
loadGoogleFonts: { value: titleLoadGoogleFonts, label: 'titleLoadGoogleFonts' },
|
101567 |
wp.element.createElement(
|
101568 |
"p",
|
101569 |
{ className: "uagb-setting-label" },
|
101570 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
101571 |
wp.element.createElement(
|
101572 |
"span",
|
101573 |
{ className: "components-base-control__label" },
|
101585 |
wp.element.createElement(
|
101586 |
"h2",
|
101587 |
null,
|
101588 |
+
__("Description", 'ultimate-addons-for-gutenberg')
|
101589 |
),
|
101590 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_10__components_typography__["a" /* default */], {
|
101591 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
101592 |
attributes: attributes,
|
101593 |
setAttributes: setAttributes,
|
101594 |
loadGoogleFonts: { value: descLoadGoogleFonts, label: 'descLoadGoogleFonts' },
|
101607 |
wp.element.createElement(
|
101608 |
"p",
|
101609 |
{ className: "uagb-setting-label" },
|
101610 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
101611 |
wp.element.createElement(
|
101612 |
"span",
|
101613 |
{ className: "components-base-control__label" },
|
101626 |
// Margin Settings.
|
101627 |
var marginSettings = wp.element.createElement(
|
101628 |
PanelBody,
|
101629 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
101630 |
wp.element.createElement(RangeControl, {
|
101631 |
+
label: __("Heading Bottom Margin", 'ultimate-addons-for-gutenberg'),
|
101632 |
value: titleSpace,
|
101633 |
onChange: function onChange(value) {
|
101634 |
return setAttributes({ titleSpace: value });
|
101639 |
allowReset: true
|
101640 |
}),
|
101641 |
wp.element.createElement(RangeControl, {
|
101642 |
+
label: __("Description Bottom Margin", 'ultimate-addons-for-gutenberg'),
|
101643 |
value: descSpace,
|
101644 |
onChange: function onChange(value) {
|
101645 |
return setAttributes({ descSpace: value });
|
101650 |
allowReset: true
|
101651 |
}),
|
101652 |
textAlign === "left" && ctaPosition === "right" && wp.element.createElement(RangeControl, {
|
101653 |
+
label: __("Content Left Margin", 'ultimate-addons-for-gutenberg'),
|
101654 |
value: ctaLeftSpace,
|
101655 |
onChange: function onChange(value) {
|
101656 |
return setAttributes({ ctaLeftSpace: value });
|
101661 |
allowReset: true
|
101662 |
}),
|
101663 |
textAlign === "right" && ctaPosition === "right" && wp.element.createElement(RangeControl, {
|
101664 |
+
label: __("Content Right Margin", 'ultimate-addons-for-gutenberg'),
|
101665 |
value: ctaRightSpace,
|
101666 |
onChange: function onChange(value) {
|
101667 |
return setAttributes({ ctaRightSpace: value });
|
101675 |
|
101676 |
var layouts = wp.element.createElement(
|
101677 |
PanelBody,
|
101678 |
+
{ title: __("Layout", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
101679 |
wp.element.createElement(SelectControl, {
|
101680 |
+
label: __("Button Position", 'ultimate-addons-for-gutenberg'),
|
101681 |
value: ctaPosition,
|
101682 |
onChange: function onChange(value) {
|
101683 |
return setAttributes({ ctaPosition: value });
|
101684 |
},
|
101685 |
+
options: [{ value: "right", label: __("Normal", 'ultimate-addons-for-gutenberg') }, { value: "below-title", label: __("Stack", 'ultimate-addons-for-gutenberg') }]
|
101686 |
}),
|
101687 |
ctaPosition == "right" && wp.element.createElement(SelectControl, {
|
101688 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
101689 |
value: stack,
|
101690 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
101691 |
+
help: __("Note: Choose on what breakpoint the CTA button will stack.", 'ultimate-addons-for-gutenberg'),
|
101692 |
onChange: function onChange(value) {
|
101693 |
return setAttributes({ stack: value });
|
101694 |
}
|
101697 |
Fragment,
|
101698 |
null,
|
101699 |
ctaPosition === "right" && wp.element.createElement(RangeControl, {
|
101700 |
+
label: __("Content Width (%)", 'ultimate-addons-for-gutenberg'),
|
101701 |
value: contentWidth,
|
101702 |
onChange: function onChange(value) {
|
101703 |
return setAttributes({ contentWidth: value });
|
101709 |
})
|
101710 |
),
|
101711 |
ctaPosition && ctaPosition === "right" && wp.element.createElement(SelectControl, {
|
101712 |
+
label: __("Verticle Alignment", 'ultimate-addons-for-gutenberg'),
|
101713 |
value: buttonAlign,
|
101714 |
onChange: function onChange(value) {
|
101715 |
return setAttributes({ buttonAlign: value });
|
101716 |
},
|
101717 |
+
options: [{ value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }, { value: "middle", label: __("Middle", 'ultimate-addons-for-gutenberg') }]
|
101718 |
})
|
101719 |
);
|
101720 |
|
101837 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBCallToAction);
|
101838 |
|
101839 |
/***/ }),
|
101840 |
+
/* 614 */
|
101841 |
/*!****************************************************!*\
|
101842 |
!*** ./src/blocks/call-to-action/inline-styles.js ***!
|
101843 |
\****************************************************/
|
101848 |
"use strict";
|
101849 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
101850 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
101851 |
+
/**
|
101852 |
+
* Returns Dynamic Generated CSS
|
101853 |
*/
|
101854 |
|
101855 |
|
102074 |
/* harmony default export */ __webpack_exports__["a"] = (CtaStyle);
|
102075 |
|
102076 |
/***/ }),
|
102077 |
+
/* 615 */
|
102078 |
/*!*******************************************!*\
|
102079 |
!*** ./src/blocks/call-to-action/save.js ***!
|
102080 |
\*******************************************/
|
102092 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_CTA__ = __webpack_require__(/*! ./components/CTA */ 123);
|
102093 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
102094 |
|
102095 |
+
/**
|
102096 |
+
* BLOCK: Call To Action - Save Block
|
102097 |
*/
|
102098 |
|
102099 |
// Import block dependencies and components.
|
102203 |
}
|
102204 |
|
102205 |
/***/ }),
|
102206 |
+
/* 616 */
|
102207 |
/*!*************************************************!*\
|
102208 |
!*** ./src/blocks/call-to-action/deprecated.js ***!
|
102209 |
\*************************************************/
|
102217 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_Title__ = __webpack_require__(/*! ./components/Title */ 120);
|
102218 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_Description__ = __webpack_require__(/*! ./components/Description */ 121);
|
102219 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__classes__ = __webpack_require__(/*! ./classes */ 122);
|
102220 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_CallToAction__ = __webpack_require__(/*! ./components/CallToAction */ 617);
|
102221 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_CTA__ = __webpack_require__(/*! ./components/CTA */ 123);
|
102222 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__attributes__ = __webpack_require__(/*! ./attributes */ 222);
|
102223 |
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
102224 |
|
102225 |
+
/**
|
102226 |
+
* BLOCK: Call To Action - Deprecated Block
|
102227 |
*/
|
102228 |
|
102229 |
// Import block dependencies and components.
|
102542 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
102543 |
|
102544 |
/***/ }),
|
102545 |
+
/* 617 */
|
102546 |
/*!**************************************************************!*\
|
102547 |
!*** ./src/blocks/call-to-action/components/CallToAction.js ***!
|
102548 |
\**************************************************************/
|
102636 |
/* harmony default export */ __webpack_exports__["a"] = (CallToAction);
|
102637 |
|
102638 |
/***/ }),
|
102639 |
+
/* 618 */
|
102640 |
/*!***********************************************!*\
|
102641 |
!*** ./src/blocks/call-to-action/editor.scss ***!
|
102642 |
\***********************************************/
|
102646 |
// removed by extract-text-webpack-plugin
|
102647 |
|
102648 |
/***/ }),
|
102649 |
+
/* 619 */
|
102650 |
/*!**********************************************!*\
|
102651 |
!*** ./src/blocks/call-to-action/style.scss ***!
|
102652 |
\**********************************************/
|
102656 |
// removed by extract-text-webpack-plugin
|
102657 |
|
102658 |
/***/ }),
|
102659 |
+
/* 620 */
|
102660 |
/*!************************************!*\
|
102661 |
!*** ./src/blocks/column/block.js ***!
|
102662 |
\************************************/
|
102665 |
|
102666 |
"use strict";
|
102667 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
102668 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */ 621);
|
102669 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__save__ = __webpack_require__(/*! ./save */ 624);
|
102670 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__deprecated__ = __webpack_require__(/*! ./deprecated */ 625);
|
102671 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__attributes__ = __webpack_require__(/*! ./attributes */ 223);
|
102672 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 626);
|
102673 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
102674 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 627);
|
102675 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
102676 |
+
/**
|
102677 |
+
* BLOCK: Column
|
102678 |
*/
|
102679 |
|
102680 |
|
102707 |
});
|
102708 |
|
102709 |
/***/ }),
|
102710 |
+
/* 621 */
|
102711 |
/*!***********************************!*\
|
102712 |
!*** ./src/blocks/column/edit.js ***!
|
102713 |
\***********************************/
|
102719 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
102720 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
102721 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
102722 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__styling__ = __webpack_require__(/*! ./styling */ 622);
|
102723 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_gradient_settings__ = __webpack_require__(/*! ../../components/gradient-settings */ 101);
|
102724 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
102725 |
|
102729 |
|
102730 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
102731 |
|
102732 |
+
/**
|
102733 |
+
* BLOCK: Column - Edit
|
102734 |
*/
|
102735 |
|
102736 |
|
102795 |
}
|
102796 |
}
|
102797 |
|
102798 |
+
/*
|
102799 |
+
* Event to set Image as null while removing.
|
102800 |
*/
|
102801 |
|
102802 |
}, {
|
102808 |
setAttributes({ backgroundImage: null });
|
102809 |
}
|
102810 |
|
102811 |
+
/*
|
102812 |
+
* Event to set Image as while adding.
|
102813 |
*/
|
102814 |
|
102815 |
}, {
|
102907 |
null,
|
102908 |
wp.element.createElement(
|
102909 |
PanelBody,
|
102910 |
+
{ title: __("Border", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
102911 |
wp.element.createElement(SelectControl, {
|
102912 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
102913 |
value: borderStyle,
|
102914 |
onChange: function onChange(value) {
|
102915 |
return setAttributes({ borderStyle: value });
|
102916 |
},
|
102917 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
102918 |
}),
|
102919 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
102920 |
+
label: __("Border Width", 'ultimate-addons-for-gutenberg'),
|
102921 |
value: borderWidth,
|
102922 |
onChange: function onChange(value) {
|
102923 |
return setAttributes({ borderWidth: value });
|
102927 |
allowReset: true
|
102928 |
}),
|
102929 |
wp.element.createElement(RangeControl, {
|
102930 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
102931 |
value: borderRadius,
|
102932 |
onChange: function onChange(value) {
|
102933 |
return setAttributes({ borderRadius: value });
|
102942 |
wp.element.createElement(
|
102943 |
"p",
|
102944 |
{ className: "uagb-setting-label" },
|
102945 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
102946 |
wp.element.createElement(
|
102947 |
"span",
|
102948 |
{ className: "components-base-control__label" },
|
102965 |
null,
|
102966 |
wp.element.createElement(
|
102967 |
PanelBody,
|
102968 |
+
{ title: __("Layout", 'ultimate-addons-for-gutenberg') },
|
102969 |
wp.element.createElement(
|
102970 |
TabPanel,
|
102971 |
{ className: "uagb-size-type-field-tabs uagb-without-size-type", activeClass: "active-tab",
|
102987 |
|
102988 |
if ("mobile" === tab.name) {
|
102989 |
tabout = wp.element.createElement(RangeControl, {
|
102990 |
+
label: __("Content Width (%)", 'ultimate-addons-for-gutenberg'),
|
102991 |
value: colWidthMobile,
|
102992 |
onChange: function onChange(value) {
|
102993 |
setAttributes({
|
102999 |
});
|
103000 |
} else if ("tablet" === tab.name) {
|
103001 |
tabout = wp.element.createElement(RangeControl, {
|
103002 |
+
label: __("Content Width (%)", 'ultimate-addons-for-gutenberg'),
|
103003 |
value: colWidthTablet,
|
103004 |
onChange: function onChange(value) {
|
103005 |
setAttributes({
|
103011 |
});
|
103012 |
} else {
|
103013 |
tabout = wp.element.createElement(RangeControl, {
|
103014 |
+
label: __("Content Width (%)", 'ultimate-addons-for-gutenberg'),
|
103015 |
value: colWidth,
|
103016 |
onChange: function onChange(value) {
|
103017 |
setAttributes({
|
103033 |
),
|
103034 |
wp.element.createElement(
|
103035 |
PanelBody,
|
103036 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
103037 |
wp.element.createElement(
|
103038 |
TabPanel,
|
103039 |
{ className: "uagb-size-type-field-tabs uagb-size-type-field__common-tabs uagb-inline-margin", activeClass: "active-tab",
|
103078 |
wp.element.createElement(
|
103079 |
"h2",
|
103080 |
null,
|
103081 |
+
__("Padding Mobile", 'ultimate-addons-for-gutenberg')
|
103082 |
),
|
103083 |
wp.element.createElement(RangeControl, {
|
103084 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
103131 |
null,
|
103132 |
wp.element.createElement(
|
103133 |
ButtonGroup,
|
103134 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
103135 |
wp.element.createElement(
|
103136 |
Button,
|
103137 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletPaddingType === "px", "aria-pressed": tabletPaddingType === "px", onClick: function onClick() {
|
103150 |
wp.element.createElement(
|
103151 |
"h2",
|
103152 |
null,
|
103153 |
+
__("Padding Tablet", 'ultimate-addons-for-gutenberg')
|
103154 |
),
|
103155 |
wp.element.createElement(RangeControl, {
|
103156 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
103203 |
null,
|
103204 |
wp.element.createElement(
|
103205 |
ButtonGroup,
|
103206 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
103207 |
wp.element.createElement(
|
103208 |
Button,
|
103209 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: desktopPaddingType === "px", "aria-pressed": desktopPaddingType === "px", onClick: function onClick() {
|
103222 |
wp.element.createElement(
|
103223 |
"h2",
|
103224 |
null,
|
103225 |
+
__("Padding", 'ultimate-addons-for-gutenberg')
|
103226 |
),
|
103227 |
wp.element.createElement(RangeControl, {
|
103228 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
103304 |
null,
|
103305 |
wp.element.createElement(
|
103306 |
ButtonGroup,
|
103307 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
103308 |
wp.element.createElement(
|
103309 |
Button,
|
103310 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobileMarginType === "px", "aria-pressed": mobileMarginType === "px", onClick: function onClick() {
|
103323 |
wp.element.createElement(
|
103324 |
"h2",
|
103325 |
null,
|
103326 |
+
__("Margin Mobile", 'ultimate-addons-for-gutenberg')
|
103327 |
),
|
103328 |
wp.element.createElement(RangeControl, {
|
103329 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
103395 |
wp.element.createElement(
|
103396 |
"h2",
|
103397 |
null,
|
103398 |
+
__("Margin Tablet", 'ultimate-addons-for-gutenberg')
|
103399 |
),
|
103400 |
wp.element.createElement(RangeControl, {
|
103401 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
103467 |
wp.element.createElement(
|
103468 |
"h2",
|
103469 |
null,
|
103470 |
+
__("Margin", 'ultimate-addons-for-gutenberg')
|
103471 |
),
|
103472 |
wp.element.createElement(RangeControl, {
|
103473 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
103526 |
),
|
103527 |
wp.element.createElement(
|
103528 |
PanelBody,
|
103529 |
+
{ title: __("Background", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
103530 |
wp.element.createElement(SelectControl, {
|
103531 |
+
label: __("Background Type", 'ultimate-addons-for-gutenberg'),
|
103532 |
value: backgroundType,
|
103533 |
onChange: function onChange(value) {
|
103534 |
return setAttributes({ backgroundType: value });
|
103535 |
},
|
103536 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "color", label: __("Color", 'ultimate-addons-for-gutenberg') }, { value: "gradient", label: __("Gradient", 'ultimate-addons-for-gutenberg') }, { value: "image", label: __("Image", 'ultimate-addons-for-gutenberg') }]
|
103537 |
}),
|
103538 |
"color" == backgroundType && wp.element.createElement(
|
103539 |
Fragment,
|
103541 |
wp.element.createElement(
|
103542 |
"p",
|
103543 |
{ className: "uagb-setting-label" },
|
103544 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
103545 |
wp.element.createElement(
|
103546 |
"span",
|
103547 |
{ className: "components-base-control__label" },
|
103563 |
BaseControl,
|
103564 |
{
|
103565 |
className: "editor-bg-image-control",
|
103566 |
+
label: __("Background Image", 'ultimate-addons-for-gutenberg') },
|
103567 |
wp.element.createElement(MediaUpload, {
|
103568 |
+
title: __("Select Background Image", 'ultimate-addons-for-gutenberg'),
|
103569 |
onSelect: this.onSelectImage,
|
103570 |
allowedTypes: ["image"],
|
103571 |
value: backgroundImage,
|
103574 |
return wp.element.createElement(
|
103575 |
Button,
|
103576 |
{ isDefault: true, onClick: open },
|
103577 |
+
!backgroundImage ? __("Select Background Image", 'ultimate-addons-for-gutenberg') : __("Replace image", 'ultimate-addons-for-gutenberg')
|
103578 |
);
|
103579 |
}
|
103580 |
}),
|
103581 |
backgroundImage && wp.element.createElement(
|
103582 |
Button,
|
103583 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
103584 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
103585 |
)
|
103586 |
),
|
103587 |
backgroundImage && wp.element.createElement(
|
103588 |
Fragment,
|
103589 |
null,
|
103590 |
wp.element.createElement(SelectControl, {
|
103591 |
+
label: __("Image Position", 'ultimate-addons-for-gutenberg'),
|
103592 |
value: backgroundPosition,
|
103593 |
onChange: function onChange(value) {
|
103594 |
return setAttributes({ backgroundPosition: value });
|
103595 |
},
|
103596 |
+
options: [{ value: "top-left", label: __("Top Left", 'ultimate-addons-for-gutenberg') }, { value: "top-center", label: __("Top Center", 'ultimate-addons-for-gutenberg') }, { value: "top-right", label: __("Top Right", 'ultimate-addons-for-gutenberg') }, { value: "center-left", label: __("Center Left", 'ultimate-addons-for-gutenberg') }, { value: "center-center", label: __("Center Center", 'ultimate-addons-for-gutenberg') }, { value: "center-right", label: __("Center Right", 'ultimate-addons-for-gutenberg') }, { value: "bottom-left", label: __("Bottom Left", 'ultimate-addons-for-gutenberg') }, { value: "bottom-center", label: __("Bottom Center", 'ultimate-addons-for-gutenberg') }, { value: "bottom-right", label: __("Bottom Right", 'ultimate-addons-for-gutenberg') }]
|
103597 |
}),
|
103598 |
wp.element.createElement(SelectControl, {
|
103599 |
+
label: __("Attachment", 'ultimate-addons-for-gutenberg'),
|
103600 |
value: backgroundAttachment,
|
103601 |
onChange: function onChange(value) {
|
103602 |
return setAttributes({ backgroundAttachment: value });
|
103603 |
},
|
103604 |
+
options: [{ value: "fixed", label: __("Fixed", 'ultimate-addons-for-gutenberg') }, { value: "scroll", label: __("Scroll", 'ultimate-addons-for-gutenberg') }]
|
103605 |
}),
|
103606 |
wp.element.createElement(SelectControl, {
|
103607 |
+
label: __("Repeat", 'ultimate-addons-for-gutenberg'),
|
103608 |
value: backgroundRepeat,
|
103609 |
onChange: function onChange(value) {
|
103610 |
return setAttributes({ backgroundRepeat: value });
|
103611 |
},
|
103612 |
+
options: [{ value: "no-repeat", label: __("No Repeat", 'ultimate-addons-for-gutenberg') }, { value: "repeat", label: __("Repeat", 'ultimate-addons-for-gutenberg') }, { value: "repeat-x", label: __("Repeat-x", 'ultimate-addons-for-gutenberg') }, { value: "repeat-y", label: __("Repeat-y", 'ultimate-addons-for-gutenberg') }]
|
103613 |
}),
|
103614 |
wp.element.createElement(SelectControl, {
|
103615 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
103616 |
value: backgroundSize,
|
103617 |
onChange: function onChange(value) {
|
103618 |
return setAttributes({ backgroundSize: value });
|
103619 |
},
|
103620 |
+
options: [{ value: "auto", label: __("Auto", 'ultimate-addons-for-gutenberg') }, { value: "cover", label: __("Cover", 'ultimate-addons-for-gutenberg') }, { value: "contain", label: __("Contain", 'ultimate-addons-for-gutenberg') }]
|
103621 |
}),
|
103622 |
wp.element.createElement(SelectControl, {
|
103623 |
+
label: __("Image Overlay Type", 'ultimate-addons-for-gutenberg'),
|
103624 |
value: overlayType,
|
103625 |
onChange: function onChange(value) {
|
103626 |
return setAttributes({ overlayType: value });
|
103627 |
},
|
103628 |
+
options: [{ value: "color", label: __("Color", 'ultimate-addons-for-gutenberg') }, { value: "gradient", label: __("Gradient", 'ultimate-addons-for-gutenberg') }]
|
103629 |
}),
|
103630 |
"color" == overlayType && wp.element.createElement(
|
103631 |
Fragment,
|
103633 |
wp.element.createElement(
|
103634 |
"p",
|
103635 |
{ className: "uagb-setting-label" },
|
103636 |
+
__("Image Overlay Color", 'ultimate-addons-for-gutenberg'),
|
103637 |
wp.element.createElement(
|
103638 |
"span",
|
103639 |
{ className: "components-base-control__label" },
|
103652 |
Fragment,
|
103653 |
null,
|
103654 |
wp.element.createElement(PanelColorSettings, {
|
103655 |
+
title: __("Color Settings", 'ultimate-addons-for-gutenberg'),
|
103656 |
colorSettings: [{
|
103657 |
value: gradientOverlayColor2,
|
103658 |
onChange: function onChange(value) {
|
103659 |
return setAttributes({ gradientOverlayColor2: value });
|
103660 |
},
|
103661 |
+
label: __("Color 1", 'ultimate-addons-for-gutenberg')
|
103662 |
}, {
|
103663 |
value: gradientOverlayColor1,
|
103664 |
onChange: function onChange(value) {
|
103665 |
return setAttributes({ gradientOverlayColor1: value });
|
103666 |
},
|
103667 |
+
label: __("Color 2", 'ultimate-addons-for-gutenberg')
|
103668 |
}]
|
103669 |
}),
|
103670 |
wp.element.createElement(SelectControl, {
|
103671 |
+
label: __("Type", 'ultimate-addons-for-gutenberg'),
|
103672 |
value: gradientOverlayType,
|
103673 |
onChange: function onChange(value) {
|
103674 |
return setAttributes({ gradientOverlayType: value });
|
103675 |
},
|
103676 |
+
options: [{ value: "linear", label: __("Linear", 'ultimate-addons-for-gutenberg') }, { value: "radial", label: __("Radial", 'ultimate-addons-for-gutenberg') }]
|
103677 |
}),
|
103678 |
wp.element.createElement(RangeControl, {
|
103679 |
+
label: __("Location 1", 'ultimate-addons-for-gutenberg'),
|
103680 |
value: gradientOverlayLocation1,
|
103681 |
onChange: function onChange(value) {
|
103682 |
return setAttributes({ gradientOverlayLocation1: value });
|
103686 |
allowReset: true
|
103687 |
}),
|
103688 |
wp.element.createElement(RangeControl, {
|
103689 |
+
label: __("Location 2", 'ultimate-addons-for-gutenberg'),
|
103690 |
value: gradientOverlayLocation2,
|
103691 |
onChange: function onChange(value) {
|
103692 |
return setAttributes({ gradientOverlayLocation2: value });
|
103696 |
allowReset: true
|
103697 |
}),
|
103698 |
wp.element.createElement(RangeControl, {
|
103699 |
+
label: __("Angle", 'ultimate-addons-for-gutenberg'),
|
103700 |
value: gradientOverlayAngle,
|
103701 |
onChange: function onChange(value) {
|
103702 |
return setAttributes({ gradientOverlayAngle: value });
|
103764 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBColumnEdit);
|
103765 |
|
103766 |
/***/ }),
|
103767 |
+
/* 622 */
|
103768 |
/*!**************************************!*\
|
103769 |
!*** ./src/blocks/column/styling.js ***!
|
103770 |
\**************************************/
|
103773 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
103774 |
|
103775 |
"use strict";
|
103776 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 623);
|
103777 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
103778 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
103779 |
+
/**
|
103780 |
+
* Returns Dynamic Generated CSS
|
103781 |
*/
|
103782 |
|
103783 |
|
103921 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
103922 |
|
103923 |
/***/ }),
|
103924 |
+
/* 623 */
|
103925 |
/*!********************************************!*\
|
103926 |
!*** ./src/blocks/column/inline-styles.js ***!
|
103927 |
\********************************************/
|
103931 |
|
103932 |
"use strict";
|
103933 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
103934 |
+
/**
|
103935 |
+
* Returns Dynamic Generated CSS
|
103936 |
*/
|
103937 |
|
103938 |
|
104007 |
/* harmony default export */ __webpack_exports__["a"] = (inlineStyles);
|
104008 |
|
104009 |
/***/ }),
|
104010 |
+
/* 624 */
|
104011 |
/*!***********************************!*\
|
104012 |
!*** ./src/blocks/column/save.js ***!
|
104013 |
\***********************************/
|
104019 |
/* harmony export (immutable) */ __webpack_exports__["a"] = save;
|
104020 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
104021 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
104022 |
+
/**
|
104023 |
+
* BLOCK: Column - Save Block
|
104024 |
*/
|
104025 |
|
104026 |
|
104057 |
}
|
104058 |
|
104059 |
/***/ }),
|
104060 |
+
/* 625 */
|
104061 |
/*!*****************************************!*\
|
104062 |
!*** ./src/blocks/column/deprecated.js ***!
|
104063 |
\*****************************************/
|
104069 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
104070 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
104071 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 223);
|
104072 |
+
/**
|
104073 |
+
* BLOCK: Column - Deprecated Block
|
104074 |
*/
|
104075 |
|
104076 |
// Import block dependencies and components.
|
104118 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
104119 |
|
104120 |
/***/ }),
|
104121 |
+
/* 626 */
|
104122 |
/*!**************************************!*\
|
104123 |
!*** ./src/blocks/column/style.scss ***!
|
104124 |
\**************************************/
|
104128 |
// removed by extract-text-webpack-plugin
|
104129 |
|
104130 |
/***/ }),
|
104131 |
+
/* 627 */
|
104132 |
/*!***************************************!*\
|
104133 |
!*** ./src/blocks/column/editor.scss ***!
|
104134 |
\***************************************/
|
104138 |
// removed by extract-text-webpack-plugin
|
104139 |
|
104140 |
/***/ }),
|
104141 |
+
/* 628 */
|
104142 |
/*!*************************************!*\
|
104143 |
!*** ./src/blocks/columns/block.js ***!
|
104144 |
\*************************************/
|
104150 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
104151 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
104152 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 224);
|
104153 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__edit__ = __webpack_require__(/*! ./edit */ 629);
|
104154 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */ 634);
|
104155 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__shapes__ = __webpack_require__(/*! ./shapes */ 124);
|
104156 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__variations__ = __webpack_require__(/*! ./variations */ 635);
|
104157 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__style_scss__ = __webpack_require__(/*! ./style.scss */ 645);
|
104158 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__style_scss__);
|
104159 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 646);
|
104160 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__editor_scss__);
|
104161 |
+
/**
|
104162 |
+
* BLOCK: Columns
|
104163 |
*/
|
104164 |
|
104165 |
|
104182 |
description: uagb_blocks_info.blocks["uagb/columns"]["description"],
|
104183 |
icon: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].columns,
|
104184 |
category: uagb_blocks_info.category,
|
104185 |
+
keywords: [__("columns", 'ultimate-addons-for-gutenberg'), __("rows", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
104186 |
attributes: __WEBPACK_IMPORTED_MODULE_2__attributes__["a" /* default */],
|
104187 |
variations: __WEBPACK_IMPORTED_MODULE_6__variations__["a" /* default */],
|
104188 |
edit: __WEBPACK_IMPORTED_MODULE_3__edit__["a" /* default */],
|
104268 |
});
|
104269 |
|
104270 |
/***/ }),
|
104271 |
+
/* 629 */
|
104272 |
/*!************************************!*\
|
104273 |
!*** ./src/blocks/columns/edit.js ***!
|
104274 |
\************************************/
|
104277 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
104278 |
|
104279 |
"use strict";
|
104280 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_option_selector_control__ = __webpack_require__(/*! ../../components/option-selector-control */ 630);
|
104281 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(/*! classnames */ 0);
|
104282 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
104283 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__styling__ = __webpack_require__(/*! ./styling */ 631);
|
104284 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_memize__ = __webpack_require__(/*! memize */ 19);
|
104285 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_memize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_memize__);
|
104286 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
104287 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_lodash_times__);
|
104288 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
104289 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash_map__);
|
104290 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_dropRight__ = __webpack_require__(/*! lodash/dropRight */ 633);
|
104291 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_dropRight___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_dropRight__);
|
104292 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
104293 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shapes__ = __webpack_require__(/*! ./shapes */ 124);
|
104304 |
|
104305 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
104306 |
|
104307 |
+
/**
|
104308 |
+
* BLOCK: UAGB - Columns Edit Class
|
104309 |
*/
|
104310 |
|
104311 |
|
104409 |
}
|
104410 |
}
|
104411 |
|
104412 |
+
/*
|
104413 |
+
* Event to set Image as null while removing.
|
104414 |
*/
|
104415 |
|
104416 |
}, {
|
104422 |
setAttributes({ backgroundImage: null });
|
104423 |
}
|
104424 |
|
104425 |
+
/*
|
104426 |
+
* Event to set Image as while adding.
|
104427 |
*/
|
104428 |
|
104429 |
}, {
|
104444 |
setAttributes({ backgroundImage: media });
|
104445 |
}
|
104446 |
|
104447 |
+
/*
|
104448 |
+
* Event to set Video as null while removing.
|
104449 |
*/
|
104450 |
|
104451 |
}, {
|
104457 |
setAttributes({ backgroundVideo: null });
|
104458 |
}
|
104459 |
|
104460 |
+
/*
|
104461 |
+
* Event to set Video while adding.
|
104462 |
*/
|
104463 |
|
104464 |
}, {
|
104606 |
|
104607 |
var active = isSelected ? "active" : "not-active";
|
104608 |
|
104609 |
+
var dividers = [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tilt", label: __("Tilt", 'ultimate-addons-for-gutenberg') }, { value: "mountains", label: __("Mountains", 'ultimate-addons-for-gutenberg') }, { value: "wave_brush", label: __("Wave Brush", 'ultimate-addons-for-gutenberg') }, { value: "waves", label: __("Waves", 'ultimate-addons-for-gutenberg') }, { value: "wave_pattern", label: __("Waves Pattern", 'ultimate-addons-for-gutenberg') }, { value: "triangle", label: __("Triangle", 'ultimate-addons-for-gutenberg') }, { value: "drops", label: __("Drops", 'ultimate-addons-for-gutenberg') }, { value: "clouds", label: __("Clouds", 'ultimate-addons-for-gutenberg') }, { value: "zigzag", label: __("ZigZag", 'ultimate-addons-for-gutenberg') }, { value: "pyramids", label: __("Pyramids", 'ultimate-addons-for-gutenberg') }, { value: "triangle_asymmetrical", label: __("Triangle Asymmetrical", 'ultimate-addons-for-gutenberg') }, { value: "tilt_opacity", label: __("Tilt Opacity", 'ultimate-addons-for-gutenberg') }, { value: "fan_opacity", label: __("Fan Opacity", 'ultimate-addons-for-gutenberg') }, { value: "curve", label: __("Curve", 'ultimate-addons-for-gutenberg') }, { value: "curve_asymmetrical", label: __("Curve Asymmetrical", 'ultimate-addons-for-gutenberg') }, { value: "arrow", label: __("Arrow", 'ultimate-addons-for-gutenberg') }, { value: "arrow_split", label: __("Arrow Split", 'ultimate-addons-for-gutenberg') }, { value: "book", label: __("Book", 'ultimate-addons-for-gutenberg') }];
|
104610 |
|
104611 |
var bottomSettings = wp.element.createElement(
|
104612 |
Fragment,
|
104613 |
null,
|
104614 |
wp.element.createElement(SelectControl, {
|
104615 |
+
label: __("Type", 'ultimate-addons-for-gutenberg'),
|
104616 |
value: bottomType,
|
104617 |
onChange: function onChange(value) {
|
104618 |
return setAttributes({ bottomType: value });
|
104625 |
wp.element.createElement(
|
104626 |
"p",
|
104627 |
{ className: "uagb-setting-label" },
|
104628 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
104629 |
wp.element.createElement(
|
104630 |
"span",
|
104631 |
{ className: "components-base-control__label" },
|
104640 |
allowReset: true
|
104641 |
}),
|
104642 |
wp.element.createElement(RangeControl, {
|
104643 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
104644 |
value: bottomDividerOpacity,
|
104645 |
onChange: function onChange(value) {
|
104646 |
return setAttributes({ bottomDividerOpacity: value });
|
104650 |
allowReset: true
|
104651 |
}),
|
104652 |
wp.element.createElement(RangeControl, {
|
104653 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
104654 |
value: bottomWidth,
|
104655 |
onChange: function onChange(value) {
|
104656 |
return setAttributes({ bottomWidth: value });
|
104680 |
|
104681 |
if ("mobile" === tab.name) {
|
104682 |
tabout = wp.element.createElement(RangeControl, {
|
104683 |
+
label: __("Height", 'ultimate-addons-for-gutenberg'),
|
104684 |
value: bottomHeightMobile,
|
104685 |
onChange: function onChange(value) {
|
104686 |
return setAttributes({ bottomHeightMobile: value });
|
104691 |
});
|
104692 |
} else if ("tablet" === tab.name) {
|
104693 |
tabout = wp.element.createElement(RangeControl, {
|
104694 |
+
label: __("Height", 'ultimate-addons-for-gutenberg'),
|
104695 |
value: bottomHeightTablet,
|
104696 |
onChange: function onChange(value) {
|
104697 |
return setAttributes({ bottomHeightTablet: value });
|
104702 |
});
|
104703 |
} else {
|
104704 |
tabout = wp.element.createElement(RangeControl, {
|
104705 |
+
label: __("Height", 'ultimate-addons-for-gutenberg'),
|
104706 |
value: bottomHeight,
|
104707 |
onChange: function onChange(value) {
|
104708 |
return setAttributes({ bottomHeight: value });
|
104721 |
}
|
104722 |
),
|
104723 |
wp.element.createElement(ToggleControl, {
|
104724 |
+
label: __("Flip", 'ultimate-addons-for-gutenberg'),
|
104725 |
checked: bottomFlip,
|
104726 |
onChange: function onChange(value) {
|
104727 |
return setAttributes({ bottomFlip: !bottomFlip });
|
104728 |
}
|
104729 |
}),
|
104730 |
wp.element.createElement(ToggleControl, {
|
104731 |
+
label: __("Bring To Front", 'ultimate-addons-for-gutenberg'),
|
104732 |
checked: bottomContentAboveShape,
|
104733 |
onChange: function onChange(value) {
|
104734 |
return setAttributes({ bottomContentAboveShape: !bottomContentAboveShape });
|
104741 |
Fragment,
|
104742 |
null,
|
104743 |
wp.element.createElement(SelectControl, {
|
104744 |
+
label: __("Type", 'ultimate-addons-for-gutenberg'),
|
104745 |
value: topType,
|
104746 |
onChange: function onChange(value) {
|
104747 |
return setAttributes({ topType: value });
|
104754 |
wp.element.createElement(
|
104755 |
"p",
|
104756 |
{ className: "uagb-setting-label" },
|
104757 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
104758 |
wp.element.createElement(
|
104759 |
"span",
|
104760 |
{ className: "components-base-control__label" },
|
104769 |
allowReset: true
|
104770 |
}),
|
104771 |
wp.element.createElement(RangeControl, {
|
104772 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
104773 |
value: topDividerOpacity,
|
104774 |
onChange: function onChange(value) {
|
104775 |
return setAttributes({ topDividerOpacity: value });
|
104779 |
allowReset: true
|
104780 |
}),
|
104781 |
wp.element.createElement(RangeControl, {
|
104782 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
104783 |
value: topWidth,
|
104784 |
onChange: function onChange(value) {
|
104785 |
return setAttributes({ topWidth: value });
|
104809 |
|
104810 |
if ("mobile" === tab.name) {
|
104811 |
tabout = wp.element.createElement(RangeControl, {
|
104812 |
+
label: __("Height", 'ultimate-addons-for-gutenberg'),
|
104813 |
value: topHeightMobile,
|
104814 |
onChange: function onChange(value) {
|
104815 |
return setAttributes({ topHeightMobile: value });
|
104820 |
});
|
104821 |
} else if ("tablet" === tab.name) {
|
104822 |
tabout = wp.element.createElement(RangeControl, {
|
104823 |
+
label: __("Height", 'ultimate-addons-for-gutenberg'),
|
104824 |
value: topHeightTablet,
|
104825 |
onChange: function onChange(value) {
|
104826 |
return setAttributes({ topHeightTablet: value });
|
104831 |
});
|
104832 |
} else {
|
104833 |
tabout = wp.element.createElement(RangeControl, {
|
104834 |
+
label: __("Height", 'ultimate-addons-for-gutenberg'),
|
104835 |
value: topHeight,
|
104836 |
onChange: function onChange(value) {
|
104837 |
return setAttributes({ topHeight: value });
|
104850 |
}
|
104851 |
),
|
104852 |
wp.element.createElement(ToggleControl, {
|
104853 |
+
label: __("Flip", 'ultimate-addons-for-gutenberg'),
|
104854 |
checked: topFlip,
|
104855 |
onChange: function onChange(value) {
|
104856 |
return setAttributes({ topFlip: !topFlip });
|
104857 |
}
|
104858 |
}),
|
104859 |
wp.element.createElement(ToggleControl, {
|
104860 |
+
label: __("Bring To Front", 'ultimate-addons-for-gutenberg'),
|
104861 |
checked: topContentAboveShape,
|
104862 |
onChange: function onChange(value) {
|
104863 |
return setAttributes({ topContentAboveShape: !topContentAboveShape });
|
104892 |
wp.element.createElement(__experimentalBlockVariationPicker, {
|
104893 |
icon: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].columns,
|
104894 |
label: uagb_blocks_info.blocks["uagb/columns"]["title"],
|
104895 |
+
instructions: __('Select a variation to start with.', 'ultimate-addons-for-gutenberg'),
|
104896 |
variations: variations,
|
104897 |
allowSkip: true,
|
104898 |
onSelect: function onSelect(nextVariation) {
|
104927 |
null,
|
104928 |
wp.element.createElement(
|
104929 |
PanelBody,
|
104930 |
+
{ title: __("Layout", 'ultimate-addons-for-gutenberg') },
|
104931 |
wp.element.createElement(RangeControl, {
|
104932 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
104933 |
value: columns,
|
104934 |
min: 0,
|
104935 |
max: 6,
|
104938 |
}
|
104939 |
}),
|
104940 |
wp.element.createElement(SelectControl, {
|
104941 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
104942 |
value: stack,
|
104943 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
104944 |
onChange: function onChange(value) {
|
104945 |
return setAttributes({ stack: value });
|
104946 |
},
|
104947 |
+
help: __("Note: Choose on what breakpoint the columns will stack.", 'ultimate-addons-for-gutenberg')
|
104948 |
}),
|
104949 |
wp.element.createElement(SelectControl, {
|
104950 |
+
label: __("Container Width", 'ultimate-addons-for-gutenberg'),
|
104951 |
value: contentWidth,
|
104952 |
onChange: function onChange(value) {
|
104953 |
return setAttributes({ contentWidth: value });
|
104954 |
},
|
104955 |
+
options: [{ value: "theme", label: __("Theme Container Width", 'ultimate-addons-for-gutenberg') }, { value: "custom", label: __("Custom", 'ultimate-addons-for-gutenberg') }]
|
104956 |
}),
|
104957 |
contentWidth == "custom" && wp.element.createElement(
|
104958 |
Fragment,
|
104959 |
null,
|
104960 |
wp.element.createElement(
|
104961 |
ButtonGroup,
|
104962 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
104963 |
wp.element.createElement(
|
104964 |
Button,
|
104965 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: widthType === "px", "aria-pressed": widthType === "px", min: 0, max: 2000, onClick: function onClick() {
|
104976 |
)
|
104977 |
),
|
104978 |
wp.element.createElement(RangeControl, {
|
104979 |
+
label: __("Inner Width", 'ultimate-addons-for-gutenberg'),
|
104980 |
value: width,
|
104981 |
min: 0,
|
104982 |
max: "%" == widthType ? 100 : 2000,
|
104986 |
})
|
104987 |
),
|
104988 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_0__components_option_selector_control__["a" /* default */], {
|
104989 |
+
label: __("Column Gap", 'ultimate-addons-for-gutenberg'),
|
104990 |
currentOption: columnGap,
|
104991 |
+
options: [{ value: "10", label: __("Default", 'ultimate-addons-for-gutenberg'), tooltip: __('Default (10px)', 'ultimate-addons-for-gutenberg') }, { value: "0", label: __("None", 'ultimate-addons-for-gutenberg'), tooltip: __('No Gap (0px)', 'ultimate-addons-for-gutenberg') }, { value: "5", label: __("S", 'ultimate-addons-for-gutenberg'), tooltip: __('Narrow (5px)', 'ultimate-addons-for-gutenberg') }, { value: "15", label: __("M", 'ultimate-addons-for-gutenberg'), tooltip: __('Extended (15px)', 'ultimate-addons-for-gutenberg') }, { value: "20", label: __("L", 'ultimate-addons-for-gutenberg'), tooltip: __('Wide (20px)', 'ultimate-addons-for-gutenberg') }, { value: "30", label: __("XL", 'ultimate-addons-for-gutenberg'), tooltip: __('Wider (30px)', 'ultimate-addons-for-gutenberg') }],
|
104992 |
onChange: function onChange(columnGap) {
|
104993 |
return setAttributes({ columnGap: columnGap });
|
104994 |
},
|
104995 |
+
help: __("Note: The individual Column Gap can be managed from Column Settings.", 'ultimate-addons-for-gutenberg')
|
104996 |
}),
|
104997 |
wp.element.createElement(SelectControl, {
|
104998 |
+
label: __("HTML Tag", 'ultimate-addons-for-gutenberg'),
|
104999 |
value: tag,
|
105000 |
onChange: function onChange(value) {
|
105001 |
return setAttributes({ tag: value });
|
105002 |
},
|
105003 |
+
options: [{ value: "div", label: __("div", 'ultimate-addons-for-gutenberg') }, { value: "header", label: __("header", 'ultimate-addons-for-gutenberg') }, { value: "footer", label: __("footer", 'ultimate-addons-for-gutenberg') }, { value: "main", label: __("main", 'ultimate-addons-for-gutenberg') }, { value: "article", label: __("article", 'ultimate-addons-for-gutenberg') }, { value: "section", label: __("section", 'ultimate-addons-for-gutenberg') }, { value: "aside", label: __("aside", 'ultimate-addons-for-gutenberg') }, { value: "nav", label: __("nav", 'ultimate-addons-for-gutenberg') }]
|
105004 |
}),
|
105005 |
wp.element.createElement(ToggleControl, {
|
105006 |
+
label: __("Reverse Columns (Tablet)", 'ultimate-addons-for-gutenberg'),
|
105007 |
checked: reverseTablet,
|
105008 |
onChange: function onChange(value) {
|
105009 |
return setAttributes({ reverseTablet: !reverseTablet });
|
105010 |
}
|
105011 |
}),
|
105012 |
wp.element.createElement(ToggleControl, {
|
105013 |
+
label: __("Reverse Columns (Mobile)", 'ultimate-addons-for-gutenberg'),
|
105014 |
checked: reverseMobile,
|
105015 |
onChange: function onChange(value) {
|
105016 |
return setAttributes({ reverseMobile: !reverseMobile });
|
105045 |
null,
|
105046 |
wp.element.createElement(
|
105047 |
ButtonGroup,
|
105048 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
105049 |
wp.element.createElement(
|
105050 |
Button,
|
105051 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobilePaddingType === "px", "aria-pressed": mobilePaddingType === "px", onClick: function onClick() {
|
105064 |
wp.element.createElement(
|
105065 |
"h2",
|
105066 |
null,
|
105067 |
+
__("Padding Mobile", 'ultimate-addons-for-gutenberg')
|
105068 |
),
|
105069 |
wp.element.createElement(RangeControl, {
|
105070 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
105117 |
null,
|
105118 |
wp.element.createElement(
|
105119 |
ButtonGroup,
|
105120 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
105121 |
wp.element.createElement(
|
105122 |
Button,
|
105123 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletPaddingType === "px", "aria-pressed": tabletPaddingType === "px", onClick: function onClick() {
|
105136 |
wp.element.createElement(
|
105137 |
"h2",
|
105138 |
null,
|
105139 |
+
__("Padding Tablet", 'ultimate-addons-for-gutenberg')
|
105140 |
),
|
105141 |
wp.element.createElement(RangeControl, {
|
105142 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
105189 |
null,
|
105190 |
wp.element.createElement(
|
105191 |
ButtonGroup,
|
105192 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
105193 |
wp.element.createElement(
|
105194 |
Button,
|
105195 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: desktopPaddingType === "px", "aria-pressed": desktopPaddingType === "px", onClick: function onClick() {
|
105290 |
null,
|
105291 |
wp.element.createElement(
|
105292 |
ButtonGroup,
|
105293 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
105294 |
wp.element.createElement(
|
105295 |
Button,
|
105296 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: mobileMarginType === "px", "aria-pressed": mobileMarginType === "px", onClick: function onClick() {
|
105309 |
wp.element.createElement(
|
105310 |
"h2",
|
105311 |
null,
|
105312 |
+
__("Margin Mobile", 'ultimate-addons-for-gutenberg')
|
105313 |
),
|
105314 |
wp.element.createElement(RangeControl, {
|
105315 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
105340 |
null,
|
105341 |
wp.element.createElement(
|
105342 |
ButtonGroup,
|
105343 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
105344 |
wp.element.createElement(
|
105345 |
Button,
|
105346 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: tabletMarginType === "px", "aria-pressed": tabletMarginType === "px", onClick: function onClick() {
|
105359 |
wp.element.createElement(
|
105360 |
"h2",
|
105361 |
null,
|
105362 |
+
__("Margin Tablet", 'ultimate-addons-for-gutenberg')
|
105363 |
),
|
105364 |
wp.element.createElement(RangeControl, {
|
105365 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
105409 |
wp.element.createElement(
|
105410 |
"h2",
|
105411 |
null,
|
105412 |
+
__("Margin", 'ultimate-addons-for-gutenberg')
|
105413 |
),
|
105414 |
wp.element.createElement(RangeControl, {
|
105415 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
105446 |
),
|
105447 |
wp.element.createElement(
|
105448 |
PanelBody,
|
105449 |
+
{ title: __("Background", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
105450 |
wp.element.createElement(SelectControl, {
|
105451 |
+
label: __("Background Type", 'ultimate-addons-for-gutenberg'),
|
105452 |
value: backgroundType,
|
105453 |
onChange: function onChange(value) {
|
105454 |
return setAttributes({ backgroundType: value });
|
105455 |
},
|
105456 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "color", label: __("Color", 'ultimate-addons-for-gutenberg') }, { value: "gradient", label: __("Gradient", 'ultimate-addons-for-gutenberg') }, { value: "image", label: __("Image", 'ultimate-addons-for-gutenberg') }, { value: "video", label: __("Video", 'ultimate-addons-for-gutenberg') }]
|
105457 |
}),
|
105458 |
"color" == backgroundType && wp.element.createElement(
|
105459 |
Fragment,
|
105461 |
wp.element.createElement(
|
105462 |
"p",
|
105463 |
{ className: "uagb-setting-label" },
|
105464 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
105465 |
wp.element.createElement(
|
105466 |
"span",
|
105467 |
{ className: "components-base-control__label" },
|
105483 |
BaseControl,
|
105484 |
{
|
105485 |
className: "editor-bg-image-control",
|
105486 |
+
label: __("Background Image", 'ultimate-addons-for-gutenberg') },
|
105487 |
wp.element.createElement(MediaUpload, {
|
105488 |
+
title: __("Select Background Image", 'ultimate-addons-for-gutenberg'),
|
105489 |
onSelect: this.onSelectImage,
|
105490 |
allowedTypes: ["image"],
|
105491 |
value: backgroundImage,
|
105494 |
return wp.element.createElement(
|
105495 |
Button,
|
105496 |
{ isDefault: true, onClick: open },
|
105497 |
+
!backgroundImage ? __("Select Background Image", 'ultimate-addons-for-gutenberg') : __("Replace image", 'ultimate-addons-for-gutenberg')
|
105498 |
);
|
105499 |
}
|
105500 |
}),
|
105501 |
backgroundImage && wp.element.createElement(
|
105502 |
Button,
|
105503 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
105504 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
105505 |
)
|
105506 |
),
|
105507 |
backgroundImage && wp.element.createElement(
|
105508 |
Fragment,
|
105509 |
null,
|
105510 |
wp.element.createElement(SelectControl, {
|
105511 |
+
label: __("Image Position", 'ultimate-addons-for-gutenberg'),
|
105512 |
value: backgroundPosition,
|
105513 |
onChange: function onChange(value) {
|
105514 |
return setAttributes({ backgroundPosition: value });
|
105515 |
},
|
105516 |
+
options: [{ value: "top-left", label: __("Top Left", 'ultimate-addons-for-gutenberg') }, { value: "top-center", label: __("Top Center", 'ultimate-addons-for-gutenberg') }, { value: "top-right", label: __("Top Right", 'ultimate-addons-for-gutenberg') }, { value: "center-left", label: __("Center Left", 'ultimate-addons-for-gutenberg') }, { value: "center-center", label: __("Center Center", 'ultimate-addons-for-gutenberg') }, { value: "center-right", label: __("Center Right", 'ultimate-addons-for-gutenberg') }, { value: "bottom-left", label: __("Bottom Left", 'ultimate-addons-for-gutenberg') }, { value: "bottom-center", label: __("Bottom Center", 'ultimate-addons-for-gutenberg') }, { value: "bottom-right", label: __("Bottom Right", 'ultimate-addons-for-gutenberg') }]
|
105517 |
}),
|
105518 |
wp.element.createElement(SelectControl, {
|
105519 |
+
label: __("Attachment", 'ultimate-addons-for-gutenberg'),
|
105520 |
value: backgroundAttachment,
|
105521 |
onChange: function onChange(value) {
|
105522 |
return setAttributes({ backgroundAttachment: value });
|
105523 |
},
|
105524 |
+
options: [{ value: "fixed", label: __("Fixed", 'ultimate-addons-for-gutenberg') }, { value: "scroll", label: __("Scroll", 'ultimate-addons-for-gutenberg') }]
|
105525 |
}),
|
105526 |
wp.element.createElement(SelectControl, {
|
105527 |
+
label: __("Repeat", 'ultimate-addons-for-gutenberg'),
|
105528 |
value: backgroundRepeat,
|
105529 |
onChange: function onChange(value) {
|
105530 |
return setAttributes({ backgroundRepeat: value });
|
105531 |
},
|
105532 |
+
options: [{ value: "no-repeat", label: __("No Repeat", 'ultimate-addons-for-gutenberg') }, { value: "repeat", label: __("Repeat", 'ultimate-addons-for-gutenberg') }, { value: "repeat-x", label: __("Repeat-x", 'ultimate-addons-for-gutenberg') }, { value: "repeat-y", label: __("Repeat-y", 'ultimate-addons-for-gutenberg') }]
|
105533 |
}),
|
105534 |
wp.element.createElement(SelectControl, {
|
105535 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
105536 |
value: backgroundSize,
|
105537 |
onChange: function onChange(value) {
|
105538 |
return setAttributes({ backgroundSize: value });
|
105539 |
},
|
105540 |
+
options: [{ value: "auto", label: __("Auto", 'ultimate-addons-for-gutenberg') }, { value: "cover", label: __("Cover", 'ultimate-addons-for-gutenberg') }, { value: "contain", label: __("Contain", 'ultimate-addons-for-gutenberg') }]
|
105541 |
}),
|
105542 |
wp.element.createElement(
|
105543 |
Fragment,
|
105545 |
wp.element.createElement(
|
105546 |
"p",
|
105547 |
{ className: "uagb-setting-label" },
|
105548 |
+
__("Image Overlay Color", 'ultimate-addons-for-gutenberg'),
|
105549 |
wp.element.createElement(
|
105550 |
"span",
|
105551 |
{ className: "components-base-control__label" },
|
105571 |
BaseControl,
|
105572 |
{
|
105573 |
className: "editor-bg-video-control",
|
105574 |
+
label: __("Background Video", 'ultimate-addons-for-gutenberg')
|
105575 |
},
|
105576 |
wp.element.createElement(MediaUpload, {
|
105577 |
+
title: __("Select Background Video", 'ultimate-addons-for-gutenberg'),
|
105578 |
onSelect: this.onSelectVideo,
|
105579 |
allowedTypes: ["video"],
|
105580 |
value: backgroundVideo,
|
105583 |
return wp.element.createElement(
|
105584 |
Button,
|
105585 |
{ isDefault: true, onClick: open },
|
105586 |
+
!backgroundVideo ? __("Select Background Video", 'ultimate-addons-for-gutenberg') : __("Replace Video", 'ultimate-addons-for-gutenberg')
|
105587 |
);
|
105588 |
}
|
105589 |
}),
|
105590 |
backgroundVideo && wp.element.createElement(
|
105591 |
Button,
|
105592 |
{ onClick: this.onRemoveVideo, isLink: true, isDestructive: true },
|
105593 |
+
__("Remove Video", 'ultimate-addons-for-gutenberg')
|
105594 |
)
|
105595 |
),
|
105596 |
("color" == backgroundType || "image" == backgroundType && backgroundImage || "gradient" == backgroundType) && wp.element.createElement(RangeControl, {
|
105597 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
105598 |
value: backgroundOpacity,
|
105599 |
onChange: function onChange(value) {
|
105600 |
return setAttributes({ backgroundOpacity: value });
|
105610 |
wp.element.createElement(
|
105611 |
"p",
|
105612 |
{ className: "uagb-setting-label" },
|
105613 |
+
__("Video Overlay Color", 'ultimate-addons-for-gutenberg'),
|
105614 |
wp.element.createElement(
|
105615 |
"span",
|
105616 |
{ className: "components-base-control__label" },
|
105626 |
})
|
105627 |
),
|
105628 |
"video" == backgroundType && backgroundVideo && wp.element.createElement(RangeControl, {
|
105629 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
105630 |
value: backgroundVideoOpacity,
|
105631 |
onChange: function onChange(value) {
|
105632 |
return setAttributes({ backgroundVideoOpacity: value });
|
105639 |
),
|
105640 |
wp.element.createElement(
|
105641 |
PanelBody,
|
105642 |
+
{ title: __("Shape Dividers", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
105643 |
wp.element.createElement(
|
105644 |
TabPanel,
|
105645 |
{ className: "uagb-inspect-tabs uagb-inspect-tabs-col-2",
|
105646 |
activeClass: "active-tab",
|
105647 |
tabs: [{
|
105648 |
name: "top",
|
105649 |
+
title: __("Top", 'ultimate-addons-for-gutenberg'),
|
105650 |
className: "uagb-top-tab"
|
105651 |
}, {
|
105652 |
name: "bottom",
|
105653 |
+
title: __("Bottom", 'ultimate-addons-for-gutenberg'),
|
105654 |
className: "uagb-bottom-tab"
|
105655 |
}] },
|
105656 |
function (tabName) {
|
105670 |
),
|
105671 |
wp.element.createElement(
|
105672 |
PanelBody,
|
105673 |
+
{ title: __("Border", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
105674 |
wp.element.createElement(SelectControl, {
|
105675 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
105676 |
value: borderStyle,
|
105677 |
onChange: function onChange(value) {
|
105678 |
return setAttributes({ borderStyle: value });
|
105679 |
},
|
105680 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
105681 |
}),
|
105682 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
105683 |
+
label: __("Border Width", 'ultimate-addons-for-gutenberg'),
|
105684 |
value: borderWidth,
|
105685 |
onChange: function onChange(value) {
|
105686 |
return setAttributes({ borderWidth: value });
|
105690 |
allowReset: true
|
105691 |
}),
|
105692 |
wp.element.createElement(RangeControl, {
|
105693 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
105694 |
value: borderRadius,
|
105695 |
onChange: function onChange(value) {
|
105696 |
return setAttributes({ borderRadius: value });
|
105705 |
wp.element.createElement(
|
105706 |
"p",
|
105707 |
{ className: "uagb-setting-label" },
|
105708 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
105709 |
wp.element.createElement(
|
105710 |
"span",
|
105711 |
{ className: "components-base-control__label" },
|
105722 |
),
|
105723 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_9__components_box_shadow__["a" /* default */], {
|
105724 |
setAttributes: setAttributes,
|
105725 |
+
label: __("Box Shadow", 'ultimate-addons-for-gutenberg'),
|
105726 |
+
boxShadowColor: { value: boxShadowColor, label: __("Color", 'ultimate-addons-for-gutenberg') },
|
105727 |
+
boxShadowHOffset: { value: boxShadowHOffset, label: __("Horizontal", 'ultimate-addons-for-gutenberg') },
|
105728 |
+
boxShadowVOffset: { value: boxShadowVOffset, label: __("Vertical", 'ultimate-addons-for-gutenberg') },
|
105729 |
+
boxShadowBlur: { value: boxShadowBlur, label: __("Blur", 'ultimate-addons-for-gutenberg') },
|
105730 |
+
boxShadowSpread: { value: boxShadowSpread, label: __("Spread", 'ultimate-addons-for-gutenberg') },
|
105731 |
+
boxShadowPosition: { value: boxShadowPosition, label: __("Position", 'ultimate-addons-for-gutenberg') }
|
105732 |
|
105733 |
})
|
105734 |
)
|
105797 |
/* harmony default export */ __webpack_exports__["a"] = (compose(withNotices, applyWithSelect)(UAGBColumns));
|
105798 |
|
105799 |
/***/ }),
|
105800 |
+
/* 630 */
|
105801 |
/*!*********************************************************!*\
|
105802 |
!*** ./src/components/option-selector-control/index.js ***!
|
105803 |
\*********************************************************/
|
105816 |
|
105817 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
105818 |
|
105819 |
+
/**
|
105820 |
+
* WordPress dependencies
|
105821 |
*/
|
105822 |
var _wp$element = wp.element,
|
105823 |
Component = _wp$element.Component,
|
105831 |
Tooltip = _wp$components.Tooltip;
|
105832 |
var __ = wp.i18n.__;
|
105833 |
|
105834 |
+
/**
|
105835 |
+
* Constants
|
105836 |
*/
|
105837 |
|
105838 |
var DEFAULT_OPTIONS = [{
|
105839 |
value: "5",
|
105840 |
/* translators: abbreviation for small size */
|
105841 |
+
label: __('S', 'ultimate-addons-for-gutenberg'),
|
105842 |
+
tooltip: __('Small', 'ultimate-addons-for-gutenberg')
|
105843 |
}, {
|
105844 |
value: "15",
|
105845 |
/* translators: abbreviation for medium size */
|
105846 |
+
label: __('M', 'ultimate-addons-for-gutenberg'),
|
105847 |
+
tooltip: __('Medium', 'ultimate-addons-for-gutenberg')
|
105848 |
}, {
|
105849 |
value: "20",
|
105850 |
/* translators: abbreviation for large size */
|
105851 |
+
label: __('L', 'ultimate-addons-for-gutenberg'),
|
105852 |
+
tooltip: __('Large', 'ultimate-addons-for-gutenberg')
|
105853 |
}, {
|
105854 |
value: "30",
|
105855 |
/* translators: abbreviation for extra large size */
|
105856 |
+
label: __('XL', 'ultimate-addons-for-gutenberg'),
|
105857 |
+
tooltip: __('Extra Large', 'ultimate-addons-for-gutenberg')
|
105858 |
}];
|
105859 |
|
105860 |
var NONE_OPTION = {
|
105861 |
value: "0",
|
105862 |
+
label: __('None', 'ultimate-addons-for-gutenberg'),
|
105863 |
+
tooltip: __('None', 'ultimate-addons-for-gutenberg')
|
105864 |
};
|
105865 |
|
105866 |
var OptionSelectorControl = function (_Component) {
|
105943 |
/* harmony default export */ __webpack_exports__["a"] = (OptionSelectorControl);
|
105944 |
|
105945 |
/***/ }),
|
105946 |
+
/* 631 */
|
105947 |
/*!***************************************!*\
|
105948 |
!*** ./src/blocks/columns/styling.js ***!
|
105949 |
\***************************************/
|
105952 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
105953 |
|
105954 |
"use strict";
|
105955 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 632);
|
105956 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
105957 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_hexToRgba__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/hexToRgba */ 102);
|
105958 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
105959 |
+
/**
|
105960 |
+
* Returns Dynamic Generated CSS
|
105961 |
*/
|
105962 |
|
105963 |
|
106154 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
106155 |
|
106156 |
/***/ }),
|
106157 |
+
/* 632 */
|
106158 |
/*!*********************************************!*\
|
106159 |
!*** ./src/blocks/columns/inline-styles.js ***!
|
106160 |
\*********************************************/
|
106164 |
|
106165 |
"use strict";
|
106166 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
106167 |
+
/**
|
106168 |
+
* Returns Dynamic Generated CSS
|
106169 |
*/
|
106170 |
|
106171 |
|
106224 |
/* harmony default export */ __webpack_exports__["a"] = (inlineStyles);
|
106225 |
|
106226 |
/***/ }),
|
106227 |
+
/* 633 */
|
106228 |
/*!******************************************!*\
|
106229 |
!*** ./node_modules/lodash/dropRight.js ***!
|
106230 |
\******************************************/
|
106273 |
|
106274 |
|
106275 |
/***/ }),
|
106276 |
+
/* 634 */
|
106277 |
/*!******************************************!*\
|
106278 |
!*** ./src/blocks/columns/deprecated.js ***!
|
106279 |
\******************************************/
|
106286 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
106287 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shapes__ = __webpack_require__(/*! ./shapes */ 124);
|
106288 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attributes__ = __webpack_require__(/*! ./attributes */ 224);
|
106289 |
+
/**
|
106290 |
+
* BLOCK: Columns - Deprecated Block
|
106291 |
*/
|
106292 |
|
106293 |
// Import block dependencies and components.
|
106445 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
106446 |
|
106447 |
/***/ }),
|
106448 |
+
/* 635 */
|
106449 |
/*!******************************************!*\
|
106450 |
!*** ./src/blocks/columns/variations.js ***!
|
106451 |
\******************************************/
|
106455 |
|
106456 |
"use strict";
|
106457 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__icons__ = __webpack_require__(/*! ./icons */ 225);
|
106458 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__ = __webpack_require__(/*! @wordpress/i18n */ 636);
|
106459 |
+
/**
|
106460 |
+
* Internal dependencies
|
106461 |
*/
|
106462 |
|
106463 |
|
106464 |
+
/**
|
106465 |
+
* WordPress dependencies
|
106466 |
*/
|
106467 |
|
106468 |
|
106469 |
+
/**
|
106470 |
+
* Template option choices for predefined form layouts.
|
106471 |
+
*
|
106472 |
+
* @constant
|
106473 |
+
* @type {Array}
|
106474 |
*/
|
106475 |
var variations = [{
|
106476 |
name: 'one-column',
|
106477 |
+
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('One column', 'ultimate-addons-for-gutenberg'),
|
106478 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].colOne,
|
106479 |
attributes: {
|
106480 |
columns: 1,
|
106484 |
scope: ['block']
|
106485 |
}, {
|
106486 |
name: 'two-column-split',
|
106487 |
+
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Two columns; equal split', 'ultimate-addons-for-gutenberg'),
|
106488 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout5050,
|
106489 |
attributes: {
|
106490 |
columns: 2,
|
106495 |
scope: ['block']
|
106496 |
}, {
|
106497 |
name: 'two-columns-one-third-two-thirds',
|
106498 |
+
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Two columns; one-third, two-thirds split', 'ultimate-addons-for-gutenberg'),
|
106499 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout3366,
|
106500 |
attributes: {
|
106501 |
columns: 2
|
106504 |
scope: ['block']
|
106505 |
}, {
|
106506 |
name: 'two-columns-two-thirds-one-third',
|
106507 |
+
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Two columns; two-thirds, one-third split', 'ultimate-addons-for-gutenberg'),
|
106508 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout6633,
|
106509 |
attributes: {
|
106510 |
columns: 2
|
106513 |
scope: ['block']
|
106514 |
}, {
|
106515 |
name: 'three-column',
|
106516 |
+
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Three columns; equal split', 'ultimate-addons-for-gutenberg'),
|
106517 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout502525,
|
106518 |
attributes: {
|
106519 |
columns: 3,
|
106523 |
scope: ['block']
|
106524 |
}, {
|
106525 |
name: 'three-columns-equal',
|
106526 |
+
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Three columns; equal split', 'ultimate-addons-for-gutenberg'),
|
106527 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout333333,
|
106528 |
attributes: {
|
106529 |
columns: 3
|
106532 |
scope: ['block']
|
106533 |
}, {
|
106534 |
name: 'three-columns-wider-center',
|
106535 |
+
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Three columns; wide center column', 'ultimate-addons-for-gutenberg'),
|
106536 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout255025,
|
106537 |
attributes: {
|
106538 |
columns: 3
|
106541 |
scope: ['block']
|
106542 |
}, {
|
106543 |
name: 'four-column',
|
106544 |
+
label: Object(__WEBPACK_IMPORTED_MODULE_1__wordpress_i18n__["a" /* __ */])('Four columns; equal split', 'ultimate-addons-for-gutenberg'),
|
106545 |
icon: __WEBPACK_IMPORTED_MODULE_0__icons__["a" /* default */].layout25252525,
|
106546 |
attributes: {
|
106547 |
columns: 4,
|
106554 |
/* harmony default export */ __webpack_exports__["a"] = (variations);
|
106555 |
|
106556 |
/***/ }),
|
106557 |
+
/* 636 */
|
106558 |
/*!************************************************************!*\
|
106559 |
!*** ./node_modules/@wordpress/i18n/build-module/index.js ***!
|
106560 |
\************************************************************/
|
106569 |
/* unused harmony export _n */
|
106570 |
/* unused harmony export _nx */
|
106571 |
/* unused harmony export sprintf */
|
106572 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectSpread__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ 637);
|
106573 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_tannin__ = __webpack_require__(/*! tannin */ 639);
|
106574 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_memize__ = __webpack_require__(/*! memize */ 19);
|
106575 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_memize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_memize__);
|
106576 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_sprintf_js__ = __webpack_require__(/*! sprintf-js */ 644);
|
106577 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_sprintf_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_sprintf_js__);
|
106578 |
|
106579 |
|
106751 |
//# sourceMappingURL=index.js.map
|
106752 |
|
106753 |
/***/ }),
|
106754 |
+
/* 637 */
|
106755 |
/*!*****************************************************************!*\
|
106756 |
!*** ./node_modules/@babel/runtime/helpers/esm/objectSpread.js ***!
|
106757 |
\*****************************************************************/
|
106761 |
|
106762 |
"use strict";
|
106763 |
/* harmony export (immutable) */ __webpack_exports__["a"] = _objectSpread;
|
106764 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__defineProperty__ = __webpack_require__(/*! ./defineProperty */ 638);
|
106765 |
|
106766 |
function _objectSpread(target) {
|
106767 |
for (var i = 1; i < arguments.length; i++) {
|
106783 |
}
|
106784 |
|
106785 |
/***/ }),
|
106786 |
+
/* 638 */
|
106787 |
/*!*******************************************************************!*\
|
106788 |
!*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
106789 |
\*******************************************************************/
|
106809 |
}
|
106810 |
|
106811 |
/***/ }),
|
106812 |
+
/* 639 */
|
106813 |
/*!**************************************!*\
|
106814 |
!*** ./node_modules/tannin/index.js ***!
|
106815 |
\**************************************/
|
106819 |
|
106820 |
"use strict";
|
106821 |
/* harmony export (immutable) */ __webpack_exports__["a"] = Tannin;
|
106822 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__tannin_plural_forms__ = __webpack_require__(/*! @tannin/plural-forms */ 640);
|
106823 |
|
106824 |
|
106825 |
/**
|
106963 |
|
106964 |
|
106965 |
/***/ }),
|
106966 |
+
/* 640 */
|
106967 |
/*!****************************************************!*\
|
106968 |
!*** ./node_modules/@tannin/plural-forms/index.js ***!
|
106969 |
\****************************************************/
|
106973 |
|
106974 |
"use strict";
|
106975 |
/* harmony export (immutable) */ __webpack_exports__["a"] = pluralForms;
|
106976 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__tannin_compile__ = __webpack_require__(/*! @tannin/compile */ 641);
|
106977 |
|
106978 |
|
106979 |
/**
|
106995 |
|
106996 |
|
106997 |
/***/ }),
|
106998 |
+
/* 641 */
|
106999 |
/*!***********************************************!*\
|
107000 |
!*** ./node_modules/@tannin/compile/index.js ***!
|
107001 |
\***********************************************/
|
107005 |
|
107006 |
"use strict";
|
107007 |
/* harmony export (immutable) */ __webpack_exports__["a"] = compile;
|
107008 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__tannin_postfix__ = __webpack_require__(/*! @tannin/postfix */ 642);
|
107009 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__tannin_evaluate__ = __webpack_require__(/*! @tannin/evaluate */ 643);
|
107010 |
|
107011 |
|
107012 |
|
107039 |
|
107040 |
|
107041 |
/***/ }),
|
107042 |
+
/* 642 */
|
107043 |
/*!***********************************************!*\
|
107044 |
!*** ./node_modules/@tannin/postfix/index.js ***!
|
107045 |
\***********************************************/
|
107176 |
|
107177 |
|
107178 |
/***/ }),
|
107179 |
+
/* 643 */
|
107180 |
/*!************************************************!*\
|
107181 |
!*** ./node_modules/@tannin/evaluate/index.js ***!
|
107182 |
\************************************************/
|
107299 |
|
107300 |
|
107301 |
/***/ }),
|
107302 |
+
/* 644 */
|
107303 |
/*!*****************************************************************************!*\
|
107304 |
!*** ./node_modules/@wordpress/i18n/node_modules/sprintf-js/src/sprintf.js ***!
|
107305 |
\*****************************************************************************/
|
107542 |
|
107543 |
|
107544 |
/***/ }),
|
107545 |
+
/* 645 */
|
107546 |
/*!***************************************!*\
|
107547 |
!*** ./src/blocks/columns/style.scss ***!
|
107548 |
\***************************************/
|
107552 |
// removed by extract-text-webpack-plugin
|
107553 |
|
107554 |
/***/ }),
|
107555 |
+
/* 646 */
|
107556 |
/*!****************************************!*\
|
107557 |
!*** ./src/blocks/columns/editor.scss ***!
|
107558 |
\****************************************/
|
107562 |
// removed by extract-text-webpack-plugin
|
107563 |
|
107564 |
/***/ }),
|
107565 |
+
/* 647 */
|
107566 |
/*!****************************************!*\
|
107567 |
!*** ./src/blocks/cf7-styler/block.js ***!
|
107568 |
\****************************************/
|
107571 |
|
107572 |
"use strict";
|
107573 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
107574 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */ 648);
|
107575 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 650);
|
107576 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
107577 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(/*! ./style.scss */ 651);
|
107578 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
|
107579 |
+
/**
|
107580 |
+
* BLOCK: Contact Form 7 Styler
|
107581 |
*/
|
107582 |
|
107583 |
// Import block dependencies and components.
|
107593 |
|
107594 |
var registerBlockType = wp.blocks.registerBlockType;
|
107595 |
|
107596 |
+
/**
|
107597 |
+
* Register: as Gutenberg Block.
|
107598 |
+
*
|
107599 |
+
* Registers a new block provided a unique name and an object defining its
|
107600 |
+
* behavior.
|
107601 |
+
*
|
107602 |
+
* @link https://wordpress.org/gutenberg/handbook/block-api/
|
107603 |
+
* @param {string} name Block name.
|
107604 |
+
* @param {Object} settings Block settings.
|
107605 |
+
* @return {?WPBlock} The block, if it has been successfully
|
107606 |
+
* registered; otherwise `undefined`.
|
107607 |
*/
|
107608 |
|
107609 |
if (uagb_blocks_info.blocks["uagb/cf7-styler"]["is_active"]) {
|
107612 |
title: uagb_blocks_info.blocks["uagb/cf7-styler"]["title"], // Block title.
|
107613 |
description: uagb_blocks_info.blocks["uagb/cf7-styler"]["description"], // Block description.
|
107614 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].cf7_styler,
|
107615 |
+
keywords: [__("CF7 styler", 'ultimate-addons-for-gutenberg'), __("contact form styler", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
107616 |
supports: {
|
107617 |
anchor: true
|
107618 |
},
|
107626 |
}
|
107627 |
|
107628 |
/***/ }),
|
107629 |
+
/* 648 */
|
107630 |
/*!***************************************!*\
|
107631 |
!*** ./src/blocks/cf7-styler/edit.js ***!
|
107632 |
\***************************************/
|
107640 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
107641 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
|
107642 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
107643 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__styling__ = __webpack_require__(/*! ./styling */ 649);
|
107644 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
107645 |
|
107646 |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
107698 |
return _this;
|
107699 |
}
|
107700 |
|
107701 |
+
/*
|
107702 |
+
* Event to set Image as while adding.
|
107703 |
*/
|
107704 |
|
107705 |
|
107942 |
|
107943 |
var field_border_setting = wp.element.createElement(
|
107944 |
PanelBody,
|
107945 |
+
{ title: __("Field Style & Border", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
107946 |
wp.element.createElement(SelectControl, {
|
107947 |
+
label: __("Field Style", 'ultimate-addons-for-gutenberg'),
|
107948 |
value: fieldStyle,
|
107949 |
onChange: function onChange(value) {
|
107950 |
return setAttributes({ fieldStyle: value });
|
107951 |
},
|
107952 |
+
options: [{ value: "box", label: __("Box", 'ultimate-addons-for-gutenberg') }, { value: "underline", label: __("Underline", 'ultimate-addons-for-gutenberg') }]
|
107953 |
}),
|
107954 |
fieldStyle == "box" && wp.element.createElement(SelectControl, {
|
107955 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
107956 |
value: fieldBorderStyle,
|
107957 |
onChange: function onChange(value) {
|
107958 |
return setAttributes({ fieldBorderStyle: value });
|
107959 |
},
|
107960 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
107961 |
}),
|
107962 |
("none" != fieldBorderStyle || fieldStyle == "underline") && wp.element.createElement(RangeControl, {
|
107963 |
+
label: __("Border Width (px)", 'ultimate-addons-for-gutenberg'),
|
107964 |
value: fieldBorderWidth,
|
107965 |
onChange: function onChange(value) {
|
107966 |
return setAttributes({ fieldBorderWidth: value });
|
107971 |
}),
|
107972 |
wp.element.createElement(
|
107973 |
ButtonGroup,
|
107974 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
107975 |
wp.element.createElement(
|
107976 |
Button,
|
107977 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: fieldBorderRadiusType === "px", "aria-pressed": fieldBorderRadiusType === "px", onClick: function onClick() {
|
107988 |
)
|
107989 |
),
|
107990 |
wp.element.createElement(RangeControl, {
|
107991 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
107992 |
value: fieldBorderRadius,
|
107993 |
onChange: function onChange(value) {
|
107994 |
return setAttributes({ fieldBorderRadius: value });
|
108003 |
wp.element.createElement(
|
108004 |
"p",
|
108005 |
{ className: "uagb-setting-label" },
|
108006 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
108007 |
wp.element.createElement(
|
108008 |
"span",
|
108009 |
{ className: "components-base-control__label" },
|
108021 |
wp.element.createElement(
|
108022 |
"p",
|
108023 |
{ className: "uagb-setting-label" },
|
108024 |
+
__("Active Border Color", 'ultimate-addons-for-gutenberg'),
|
108025 |
wp.element.createElement(
|
108026 |
"span",
|
108027 |
{ className: "components-base-control__label" },
|
108039 |
|
108040 |
var typography_settings = wp.element.createElement(
|
108041 |
PanelBody,
|
108042 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
108043 |
wp.element.createElement(
|
108044 |
"h2",
|
108045 |
null,
|
108046 |
+
__("Label", 'ultimate-addons-for-gutenberg')
|
108047 |
),
|
108048 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108049 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
108050 |
attributes: attributes,
|
108051 |
setAttributes: setAttributes,
|
108052 |
loadGoogleFonts: { value: labelLoadGoogleFonts, label: 'labelLoadGoogleFonts' },
|
108065 |
wp.element.createElement(
|
108066 |
"p",
|
108067 |
{ className: "uagb-setting-label" },
|
108068 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
108069 |
wp.element.createElement(
|
108070 |
"span",
|
108071 |
{ className: "components-base-control__label" },
|
108083 |
wp.element.createElement(
|
108084 |
"h2",
|
108085 |
null,
|
108086 |
+
__("Input", 'ultimate-addons-for-gutenberg')
|
108087 |
),
|
108088 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108089 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
108090 |
attributes: attributes,
|
108091 |
setAttributes: setAttributes,
|
108092 |
loadGoogleFonts: { value: inputLoadGoogleFonts, label: 'inputLoadGoogleFonts' },
|
108105 |
wp.element.createElement(
|
108106 |
"p",
|
108107 |
{ className: "uagb-setting-label" },
|
108108 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
108109 |
wp.element.createElement(
|
108110 |
"span",
|
108111 |
{ className: "components-base-control__label" },
|
108123 |
wp.element.createElement(
|
108124 |
"p",
|
108125 |
{ className: "uagb-setting-label" },
|
108126 |
+
__("Field Background Color", 'ultimate-addons-for-gutenberg'),
|
108127 |
wp.element.createElement(
|
108128 |
"span",
|
108129 |
{ className: "components-base-control__label" },
|
108141 |
|
108142 |
var field_settings = wp.element.createElement(
|
108143 |
PanelBody,
|
108144 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg') },
|
108145 |
wp.element.createElement(SelectControl, {
|
108146 |
+
label: __("Select Form", 'ultimate-addons-for-gutenberg'),
|
108147 |
value: formId,
|
108148 |
onChange: this.onSelectForm,
|
108149 |
options: uagb_blocks_info.cf7_forms
|
108158 |
Placeholder,
|
108159 |
{
|
108160 |
icon: "admin-post",
|
108161 |
+
label: __("Select a Contact Form 7", 'ultimate-addons-for-gutenberg')
|
108162 |
},
|
108163 |
wp.element.createElement(SelectControl, {
|
108164 |
value: formId,
|
108174 |
Fragment,
|
108175 |
null,
|
108176 |
wp.element.createElement(SelectControl, {
|
108177 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
108178 |
value: buttonBorderStyle,
|
108179 |
onChange: function onChange(value) {
|
108180 |
return setAttributes({ buttonBorderStyle: value });
|
108181 |
},
|
108182 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
108183 |
}),
|
108184 |
"none" != buttonBorderStyle && wp.element.createElement(RangeControl, {
|
108185 |
+
label: __("Border Width (px)", 'ultimate-addons-for-gutenberg'),
|
108186 |
value: buttonBorderWidth,
|
108187 |
onChange: function onChange(value) {
|
108188 |
return setAttributes({ buttonBorderWidth: value });
|
108193 |
}),
|
108194 |
wp.element.createElement(
|
108195 |
ButtonGroup,
|
108196 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
108197 |
wp.element.createElement(
|
108198 |
Button,
|
108199 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: buttonBorderRadiusType === "px", "aria-pressed": buttonBorderRadiusType === "px", onClick: function onClick() {
|
108210 |
)
|
108211 |
),
|
108212 |
wp.element.createElement(RangeControl, {
|
108213 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
108214 |
value: buttonBorderRadius,
|
108215 |
onChange: function onChange(value) {
|
108216 |
return setAttributes({ buttonBorderRadius: value });
|
108227 |
wp.element.createElement(
|
108228 |
"p",
|
108229 |
{ className: "uagb-setting-label" },
|
108230 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
108231 |
wp.element.createElement(
|
108232 |
"span",
|
108233 |
{ className: "components-base-control__label" },
|
108244 |
wp.element.createElement(
|
108245 |
"p",
|
108246 |
{ className: "uagb-setting-label" },
|
108247 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
108248 |
wp.element.createElement(
|
108249 |
"span",
|
108250 |
{ className: "components-base-control__label" },
|
108264 |
wp.element.createElement(
|
108265 |
"p",
|
108266 |
{ className: "uagb-setting-label" },
|
108267 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
108268 |
wp.element.createElement(
|
108269 |
"span",
|
108270 |
{ className: "components-base-control__label" },
|
108287 |
wp.element.createElement(
|
108288 |
"p",
|
108289 |
{ className: "uagb-setting-label" },
|
108290 |
+
__("Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
108291 |
wp.element.createElement(
|
108292 |
"span",
|
108293 |
{ className: "components-base-control__label" },
|
108304 |
wp.element.createElement(
|
108305 |
"p",
|
108306 |
{ className: "uagb-setting-label" },
|
108307 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
108308 |
wp.element.createElement(
|
108309 |
"span",
|
108310 |
{ className: "components-base-control__label" },
|
108324 |
wp.element.createElement(
|
108325 |
"p",
|
108326 |
{ className: "uagb-setting-label" },
|
108327 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
108328 |
wp.element.createElement(
|
108329 |
"span",
|
108330 |
{ className: "components-base-control__label" },
|
108343 |
|
108344 |
var btn_setting = wp.element.createElement(
|
108345 |
PanelBody,
|
108346 |
+
{ title: __("Submit Button", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
108347 |
wp.element.createElement(SelectControl, {
|
108348 |
+
label: __("Button Alignment", 'ultimate-addons-for-gutenberg'),
|
108349 |
value: buttonAlignment,
|
108350 |
onChange: function onChange(value) {
|
108351 |
return setAttributes({ buttonAlignment: value });
|
108352 |
},
|
108353 |
+
options: [{ value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }, { value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }, { value: "justify", label: __("Justified", 'ultimate-addons-for-gutenberg') }]
|
108354 |
}),
|
108355 |
wp.element.createElement(
|
108356 |
"h2",
|
108357 |
null,
|
108358 |
+
__("Button Font", 'ultimate-addons-for-gutenberg')
|
108359 |
),
|
108360 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108361 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
108362 |
attributes: attributes,
|
108363 |
setAttributes: setAttributes,
|
108364 |
loadGoogleFonts: { value: buttonLoadGoogleFonts, label: 'buttonLoadGoogleFonts' },
|
108383 |
activeClass: "active-tab",
|
108384 |
tabs: [{
|
108385 |
name: "normal",
|
108386 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
108387 |
className: "uagb-normal-tab"
|
108388 |
}, {
|
108389 |
name: "hover",
|
108390 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
108391 |
className: "uagb-focus-tab"
|
108392 |
}] },
|
108393 |
function (tabName) {
|
108408 |
wp.element.createElement(
|
108409 |
"h2",
|
108410 |
null,
|
108411 |
+
__("Button Padding (px)", 'ultimate-addons-for-gutenberg')
|
108412 |
),
|
108413 |
wp.element.createElement(RangeControl, {
|
108414 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
108436 |
|
108437 |
var spacing = wp.element.createElement(
|
108438 |
PanelBody,
|
108439 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
108440 |
wp.element.createElement(RangeControl, {
|
108441 |
+
label: __("Label & Input Space", 'ultimate-addons-for-gutenberg'),
|
108442 |
value: fieldLabelSpacing,
|
108443 |
onChange: function onChange(value) {
|
108444 |
return setAttributes({ fieldLabelSpacing: value });
|
108448 |
allowReset: true
|
108449 |
}),
|
108450 |
wp.element.createElement(RangeControl, {
|
108451 |
+
label: __("Fields Space", 'ultimate-addons-for-gutenberg'),
|
108452 |
value: fieldSpacing,
|
108453 |
onChange: function onChange(value) {
|
108454 |
return setAttributes({ fieldSpacing: value });
|
108461 |
wp.element.createElement(
|
108462 |
"h2",
|
108463 |
null,
|
108464 |
+
__("Field Padding (px)", 'ultimate-addons-for-gutenberg')
|
108465 |
),
|
108466 |
wp.element.createElement(RangeControl, {
|
108467 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
108489 |
|
108490 |
var radio_check_setting = wp.element.createElement(
|
108491 |
PanelBody,
|
108492 |
+
{ title: __("Radio & Checkbox", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
108493 |
wp.element.createElement(ToggleControl, {
|
108494 |
+
label: __("Override Current Style", 'ultimate-addons-for-gutenberg'),
|
108495 |
checked: enableOveride,
|
108496 |
onChange: function onChange(value) {
|
108497 |
return setAttributes({ enableOveride: !enableOveride });
|
108501 |
Fragment,
|
108502 |
null,
|
108503 |
wp.element.createElement(RangeControl, {
|
108504 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
108505 |
value: radioCheckSize,
|
108506 |
onChange: function onChange(value) {
|
108507 |
return setAttributes({ radioCheckSize: value });
|
108514 |
wp.element.createElement(
|
108515 |
"h2",
|
108516 |
null,
|
108517 |
+
__("Radio & Checkbox Label", 'ultimate-addons-for-gutenberg')
|
108518 |
),
|
108519 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108520 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
108521 |
attributes: attributes,
|
108522 |
setAttributes: setAttributes,
|
108523 |
loadGoogleFonts: { value: radioCheckLoadGoogleFonts, label: 'radioCheckLoadGoogleFonts' },
|
108537 |
wp.element.createElement(
|
108538 |
"p",
|
108539 |
{ className: "uagb-setting-label" },
|
108540 |
+
__("Label Color", 'ultimate-addons-for-gutenberg'),
|
108541 |
wp.element.createElement(
|
108542 |
"span",
|
108543 |
{ className: "components-base-control__label" },
|
108554 |
wp.element.createElement(
|
108555 |
"p",
|
108556 |
{ className: "uagb-setting-label" },
|
108557 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
108558 |
wp.element.createElement(
|
108559 |
"span",
|
108560 |
{ className: "components-base-control__label" },
|
108571 |
wp.element.createElement(
|
108572 |
"p",
|
108573 |
{ className: "uagb-setting-label" },
|
108574 |
+
__("Selected Color", 'ultimate-addons-for-gutenberg'),
|
108575 |
wp.element.createElement(
|
108576 |
"span",
|
108577 |
{ className: "components-base-control__label" },
|
108595 |
__("Radio & Checkbox Border")
|
108596 |
),
|
108597 |
wp.element.createElement(RangeControl, {
|
108598 |
+
label: __("Border Width (px)", 'ultimate-addons-for-gutenberg'),
|
108599 |
value: radioCheckBorderWidth,
|
108600 |
onChange: function onChange(value) {
|
108601 |
return setAttributes({ radioCheckBorderWidth: value });
|
108606 |
}),
|
108607 |
wp.element.createElement(
|
108608 |
ButtonGroup,
|
108609 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
108610 |
wp.element.createElement(
|
108611 |
Button,
|
108612 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: radioCheckBorderRadiusType === "px", "aria-pressed": radioCheckBorderRadiusType === "px", onClick: function onClick() {
|
108623 |
)
|
108624 |
),
|
108625 |
wp.element.createElement(RangeControl, {
|
108626 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
108627 |
value: radioCheckBorderRadius,
|
108628 |
onChange: function onChange(value) {
|
108629 |
return setAttributes({ radioCheckBorderRadius: value });
|
108635 |
wp.element.createElement(
|
108636 |
"p",
|
108637 |
{ className: "uagb-setting-label" },
|
108638 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
108639 |
wp.element.createElement(
|
108640 |
"span",
|
108641 |
{ className: "components-base-control__label" },
|
108655 |
|
108656 |
var msg_settings = wp.element.createElement(
|
108657 |
PanelBody,
|
108658 |
+
{ title: __("Success / Error Message", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
108659 |
wp.element.createElement(
|
108660 |
"p",
|
108661 |
{ className: "uagb-settings-notice" },
|
108662 |
+
__("Note: This styling can be only seen at frontend", 'ultimate-addons-for-gutenberg')
|
108663 |
),
|
108664 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
108665 |
wp.element.createElement(
|
108666 |
"h2",
|
108667 |
null,
|
108668 |
+
__("Field Validation", 'ultimate-addons-for-gutenberg')
|
108669 |
),
|
108670 |
wp.element.createElement(SelectControl, {
|
108671 |
+
label: __("Validation Message Position", 'ultimate-addons-for-gutenberg'),
|
108672 |
value: validationMsgPosition,
|
108673 |
onChange: function onChange(value) {
|
108674 |
return setAttributes({ validationMsgPosition: value });
|
108675 |
},
|
108676 |
+
options: [{ value: "default", label: __("Default", 'ultimate-addons-for-gutenberg') }, { value: "bottom_right", label: __("Bottom Right Side of Field", 'ultimate-addons-for-gutenberg') }]
|
108677 |
}),
|
108678 |
wp.element.createElement(
|
108679 |
"h2",
|
108680 |
null,
|
108681 |
+
__("Validation Font", 'ultimate-addons-for-gutenberg')
|
108682 |
),
|
108683 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108684 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
108685 |
attributes: attributes,
|
108686 |
setAttributes: setAttributes,
|
108687 |
loadGoogleFonts: { value: validationMsgLoadGoogleFonts, label: 'validationMsgLoadGoogleFonts' },
|
108700 |
wp.element.createElement(
|
108701 |
"p",
|
108702 |
{ className: "uagb-setting-label" },
|
108703 |
+
__("Validation Message Color", 'ultimate-addons-for-gutenberg'),
|
108704 |
wp.element.createElement(
|
108705 |
"span",
|
108706 |
{ className: "components-base-control__label" },
|
108720 |
wp.element.createElement(
|
108721 |
"p",
|
108722 |
{ className: "uagb-setting-label" },
|
108723 |
+
__("Message Background Color", 'ultimate-addons-for-gutenberg'),
|
108724 |
wp.element.createElement(
|
108725 |
"span",
|
108726 |
{ className: "components-base-control__label" },
|
108737 |
),
|
108738 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
108739 |
wp.element.createElement(ToggleControl, {
|
108740 |
+
label: __("Highlight Borders", 'ultimate-addons-for-gutenberg'),
|
108741 |
checked: enableHighlightBorder,
|
108742 |
onChange: function onChange(value) {
|
108743 |
return setAttributes({ enableHighlightBorder: !enableHighlightBorder });
|
108749 |
wp.element.createElement(
|
108750 |
"p",
|
108751 |
{ className: "uagb-setting-label" },
|
108752 |
+
__("Highlight Border Color", 'ultimate-addons-for-gutenberg'),
|
108753 |
wp.element.createElement(
|
108754 |
"span",
|
108755 |
{ className: "components-base-control__label" },
|
108768 |
wp.element.createElement(
|
108769 |
"h2",
|
108770 |
null,
|
108771 |
+
__("Form Success / Error Validation", 'ultimate-addons-for-gutenberg')
|
108772 |
),
|
108773 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
108774 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
108775 |
attributes: attributes,
|
108776 |
setAttributes: setAttributes,
|
108777 |
loadGoogleFonts: { value: msgLoadGoogleFonts, label: 'msgLoadGoogleFonts' },
|
108791 |
wp.element.createElement(
|
108792 |
"h2",
|
108793 |
null,
|
108794 |
+
__("Success Message", 'ultimate-addons-for-gutenberg')
|
108795 |
),
|
108796 |
wp.element.createElement(
|
108797 |
"p",
|
108798 |
{ className: "uagb-setting-label" },
|
108799 |
+
__("Message Color", 'ultimate-addons-for-gutenberg'),
|
108800 |
wp.element.createElement(
|
108801 |
"span",
|
108802 |
{ className: "components-base-control__label" },
|
108813 |
wp.element.createElement(
|
108814 |
"p",
|
108815 |
{ className: "uagb-setting-label" },
|
108816 |
+
__("Message Background Color", 'ultimate-addons-for-gutenberg'),
|
108817 |
wp.element.createElement(
|
108818 |
"span",
|
108819 |
{ className: "components-base-control__label" },
|
108830 |
wp.element.createElement(
|
108831 |
"p",
|
108832 |
{ className: "uagb-setting-label" },
|
108833 |
+
__("Message Border Color", 'ultimate-addons-for-gutenberg'),
|
108834 |
wp.element.createElement(
|
108835 |
"span",
|
108836 |
{ className: "components-base-control__label" },
|
108848 |
wp.element.createElement(
|
108849 |
"h2",
|
108850 |
null,
|
108851 |
+
__("Error Message", 'ultimate-addons-for-gutenberg')
|
108852 |
),
|
108853 |
wp.element.createElement(
|
108854 |
"p",
|
108855 |
{ className: "uagb-setting-label" },
|
108856 |
+
__("Message Color", 'ultimate-addons-for-gutenberg'),
|
108857 |
wp.element.createElement(
|
108858 |
"span",
|
108859 |
{ className: "components-base-control__label" },
|
108870 |
wp.element.createElement(
|
108871 |
"p",
|
108872 |
{ className: "uagb-setting-label" },
|
108873 |
+
__("Message Background Color", 'ultimate-addons-for-gutenberg'),
|
108874 |
wp.element.createElement(
|
108875 |
"span",
|
108876 |
{ className: "components-base-control__label" },
|
108887 |
wp.element.createElement(
|
108888 |
"p",
|
108889 |
{ className: "uagb-setting-label" },
|
108890 |
+
__("Message Border Color", 'ultimate-addons-for-gutenberg'),
|
108891 |
wp.element.createElement(
|
108892 |
"span",
|
108893 |
{ className: "components-base-control__label" },
|
108903 |
}),
|
108904 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
108905 |
wp.element.createElement(RangeControl, {
|
108906 |
+
label: __("Message Border Width (px)", 'ultimate-addons-for-gutenberg'),
|
108907 |
value: msgBorderSize,
|
108908 |
onChange: function onChange(value) {
|
108909 |
return setAttributes({ msgBorderSize: value });
|
108914 |
}),
|
108915 |
wp.element.createElement(
|
108916 |
ButtonGroup,
|
108917 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
108918 |
wp.element.createElement(
|
108919 |
Button,
|
108920 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: msgBorderRadiusType === "px", "aria-pressed": msgBorderRadiusType === "px", onClick: function onClick() {
|
108931 |
)
|
108932 |
),
|
108933 |
wp.element.createElement(RangeControl, {
|
108934 |
+
label: __("Message Border Radius", 'ultimate-addons-for-gutenberg'),
|
108935 |
value: msgBorderRadius,
|
108936 |
onChange: function onChange(value) {
|
108937 |
return setAttributes({ msgBorderRadius: value });
|
108944 |
wp.element.createElement(
|
108945 |
"h2",
|
108946 |
null,
|
108947 |
+
__("Message Padding (px)", 'ultimate-addons-for-gutenberg')
|
108948 |
),
|
108949 |
wp.element.createElement(RangeControl, {
|
108950 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
109007 |
Placeholder,
|
109008 |
{
|
109009 |
icon: "admin-post",
|
109010 |
+
label: __("Loading", 'ultimate-addons-for-gutenberg')
|
109011 |
},
|
109012 |
wp.element.createElement(Spinner, null)
|
109013 |
)
|
109082 |
})(UAGBCF7));
|
109083 |
|
109084 |
/***/ }),
|
109085 |
+
/* 649 */
|
109086 |
/*!******************************************!*\
|
109087 |
!*** ./src/blocks/cf7-styler/styling.js ***!
|
109088 |
\******************************************/
|
109095 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
109096 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
109097 |
|
109098 |
+
/**
|
109099 |
+
* Set inline styles.
|
109100 |
+
* @param {object} props - The block object.
|
109101 |
+
* @return {object} The inline background type CSS.
|
109102 |
*/
|
109103 |
|
109104 |
|
109495 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
109496 |
|
109497 |
/***/ }),
|
109498 |
+
/* 650 */
|
109499 |
/*!*******************************************!*\
|
109500 |
!*** ./src/blocks/cf7-styler/editor.scss ***!
|
109501 |
\*******************************************/
|
109505 |
// removed by extract-text-webpack-plugin
|
109506 |
|
109507 |
/***/ }),
|
109508 |
+
/* 651 */
|
109509 |
/*!******************************************!*\
|
109510 |
!*** ./src/blocks/cf7-styler/style.scss ***!
|
109511 |
\******************************************/
|
109515 |
// removed by extract-text-webpack-plugin
|
109516 |
|
109517 |
/***/ }),
|
109518 |
+
/* 652 */
|
109519 |
/*!***************************************!*\
|
109520 |
!*** ./src/blocks/gf-styler/block.js ***!
|
109521 |
\***************************************/
|
109524 |
|
109525 |
"use strict";
|
109526 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
109527 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */ 653);
|
109528 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 655);
|
109529 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
109530 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(/*! ./style.scss */ 656);
|
109531 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
|
109532 |
+
/**
|
109533 |
+
* BLOCK: Gravity Form Styler
|
109534 |
*/
|
109535 |
|
109536 |
// Import block dependencies and components.
|
109546 |
|
109547 |
var registerBlockType = wp.blocks.registerBlockType;
|
109548 |
|
109549 |
+
/**
|
109550 |
+
* Register: as Gutenberg Block.
|
109551 |
+
*
|
109552 |
+
* Registers a new block provided a unique name and an object defining its
|
109553 |
+
* behavior.
|
109554 |
+
*
|
109555 |
+
* @link https://wordpress.org/gutenberg/handbook/block-api/
|
109556 |
+
* @param {string} name Block name.
|
109557 |
+
* @param {Object} settings Block settings.
|
109558 |
+
* @return {?WPBlock} The block, if it has been successfully
|
109559 |
+
* registered; otherwise `undefined`.
|
109560 |
*/
|
109561 |
|
109562 |
if (uagb_blocks_info.blocks["uagb/gf-styler"]["is_active"]) {
|
109565 |
title: uagb_blocks_info.blocks["uagb/gf-styler"]["title"], // Block title.
|
109566 |
description: uagb_blocks_info.blocks["uagb/gf-styler"]["description"], // Block description.
|
109567 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].gf_styler,
|
109568 |
+
keywords: [__("GF styler", 'ultimate-addons-for-gutenberg'), __("gravity form styler", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
109569 |
supports: {
|
109570 |
anchor: true
|
109571 |
},
|
109579 |
}
|
109580 |
|
109581 |
/***/ }),
|
109582 |
+
/* 653 */
|
109583 |
/*!**************************************!*\
|
109584 |
!*** ./src/blocks/gf-styler/edit.js ***!
|
109585 |
\**************************************/
|
109595 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
109596 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
109597 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_lodash_map__);
|
109598 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styling__ = __webpack_require__(/*! ./styling */ 654);
|
109599 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
109600 |
|
109601 |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
109656 |
return _this;
|
109657 |
}
|
109658 |
|
109659 |
+
/*
|
109660 |
+
* Event to set Image as while adding.
|
109661 |
*/
|
109662 |
|
109663 |
|
109913 |
|
109914 |
var field_border_setting = wp.element.createElement(
|
109915 |
PanelBody,
|
109916 |
+
{ title: __("Field Style & Border", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
109917 |
wp.element.createElement(SelectControl, {
|
109918 |
+
label: __("Field Style", 'ultimate-addons-for-gutenberg'),
|
109919 |
value: fieldStyle,
|
109920 |
onChange: function onChange(value) {
|
109921 |
return setAttributes({ fieldStyle: value });
|
109922 |
},
|
109923 |
+
options: [{ value: "box", label: __("Box", 'ultimate-addons-for-gutenberg') }, { value: "underline", label: __("Underline", 'ultimate-addons-for-gutenberg') }]
|
109924 |
}),
|
109925 |
fieldStyle == "box" && wp.element.createElement(SelectControl, {
|
109926 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
109927 |
value: fieldBorderStyle,
|
109928 |
onChange: function onChange(value) {
|
109929 |
return setAttributes({ fieldBorderStyle: value });
|
109930 |
},
|
109931 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
109932 |
}),
|
109933 |
("none" != fieldBorderStyle || fieldStyle == "underline") && wp.element.createElement(RangeControl, {
|
109934 |
+
label: __("Border Width (px)", 'ultimate-addons-for-gutenberg'),
|
109935 |
value: fieldBorderWidth,
|
109936 |
onChange: function onChange(value) {
|
109937 |
return setAttributes({ fieldBorderWidth: value });
|
109942 |
}),
|
109943 |
wp.element.createElement(
|
109944 |
ButtonGroup,
|
109945 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
109946 |
wp.element.createElement(
|
109947 |
Button,
|
109948 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: fieldBorderRadiusType === "px", "aria-pressed": fieldBorderRadiusType === "px", onClick: function onClick() {
|
109959 |
)
|
109960 |
),
|
109961 |
wp.element.createElement(RangeControl, {
|
109962 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
109963 |
value: fieldBorderRadius,
|
109964 |
onChange: function onChange(value) {
|
109965 |
return setAttributes({ fieldBorderRadius: value });
|
109974 |
wp.element.createElement(
|
109975 |
"p",
|
109976 |
{ className: "uagb-setting-label" },
|
109977 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
109978 |
wp.element.createElement(
|
109979 |
"span",
|
109980 |
{ className: "components-base-control__label" },
|
109992 |
wp.element.createElement(
|
109993 |
"p",
|
109994 |
{ className: "uagb-setting-label" },
|
109995 |
+
__("Active Border Color", 'ultimate-addons-for-gutenberg'),
|
109996 |
wp.element.createElement(
|
109997 |
"span",
|
109998 |
{ className: "components-base-control__label" },
|
110010 |
|
110011 |
var typography_settings = wp.element.createElement(
|
110012 |
PanelBody,
|
110013 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
110014 |
wp.element.createElement(ToggleControl, {
|
110015 |
label: "Hide Label?",
|
110016 |
checked: enableLabel,
|
110024 |
wp.element.createElement(
|
110025 |
"h2",
|
110026 |
null,
|
110027 |
+
__("Label", 'ultimate-addons-for-gutenberg')
|
110028 |
),
|
110029 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110030 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
110031 |
attributes: attributes,
|
110032 |
setAttributes: setAttributes,
|
110033 |
loadGoogleFonts: { value: labelLoadGoogleFonts, label: 'labelLoadGoogleFonts' },
|
110046 |
wp.element.createElement(
|
110047 |
"p",
|
110048 |
{ className: "uagb-setting-label" },
|
110049 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
110050 |
wp.element.createElement(
|
110051 |
"span",
|
110052 |
{ className: "components-base-control__label" },
|
110065 |
wp.element.createElement(
|
110066 |
"h2",
|
110067 |
null,
|
110068 |
+
__("Input", 'ultimate-addons-for-gutenberg')
|
110069 |
),
|
110070 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110071 |
label: __("Typography"),
|
110087 |
wp.element.createElement(
|
110088 |
"p",
|
110089 |
{ className: "uagb-setting-label" },
|
110090 |
+
__("Color", 'ultimate-addons-for-gutenberg'),
|
110091 |
wp.element.createElement(
|
110092 |
"span",
|
110093 |
{ className: "components-base-control__label" },
|
110104 |
wp.element.createElement(
|
110105 |
"p",
|
110106 |
{ className: "uagb-setting-label" },
|
110107 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
110108 |
wp.element.createElement(
|
110109 |
"span",
|
110110 |
{ className: "components-base-control__label" },
|
110119 |
allowReset: true
|
110120 |
}),
|
110121 |
wp.element.createElement(RangeControl, {
|
110122 |
+
label: __("TextArea Height", 'ultimate-addons-for-gutenberg'),
|
110123 |
value: textAreaHeight,
|
110124 |
onChange: function onChange(value) {
|
110125 |
return setAttributes({ textAreaHeight: value });
|
110132 |
|
110133 |
var field_settings = wp.element.createElement(
|
110134 |
PanelBody,
|
110135 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg') },
|
110136 |
wp.element.createElement(SelectControl, {
|
110137 |
+
label: __("Select Form", 'ultimate-addons-for-gutenberg'),
|
110138 |
value: formId,
|
110139 |
onChange: this.onSelectForm,
|
110140 |
options: uagb_blocks_info.gf_forms
|
110154 |
}
|
110155 |
}),
|
110156 |
enableTabSupport && wp.element.createElement(RangeControl, {
|
110157 |
+
label: __("Tab Index", 'ultimate-addons-for-gutenberg'),
|
110158 |
value: formTabIndex,
|
110159 |
onChange: function onChange(value) {
|
110160 |
setAttributes({
|
110165 |
max: 500
|
110166 |
}),
|
110167 |
wp.element.createElement(SelectControl, {
|
110168 |
+
label: __("Form Title & Description", 'ultimate-addons-for-gutenberg'),
|
110169 |
value: titleDescStyle,
|
110170 |
onChange: function onChange(value) {
|
110171 |
return setAttributes({ titleDescStyle: value });
|
110172 |
},
|
110173 |
+
options: [{ value: "yes", label: __("Show", 'ultimate-addons-for-gutenberg') }, { value: "none", label: __("Hide", 'ultimate-addons-for-gutenberg') }]
|
110174 |
}),
|
110175 |
titleDescStyle !== "none" && wp.element.createElement(SelectControl, {
|
110176 |
+
label: __("Form Title & Description Alignment", 'ultimate-addons-for-gutenberg'),
|
110177 |
value: titleDescAlignment,
|
110178 |
onChange: function onChange(value) {
|
110179 |
return setAttributes({ titleDescAlignment: value });
|
110180 |
},
|
110181 |
+
options: [{ value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }, { value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }]
|
110182 |
})
|
110183 |
);
|
110184 |
|
110190 |
Placeholder,
|
110191 |
{
|
110192 |
icon: "admin-post",
|
110193 |
+
label: __("Select a Gravity Form", 'ultimate-addons-for-gutenberg')
|
110194 |
},
|
110195 |
wp.element.createElement(SelectControl, {
|
110196 |
value: formId,
|
110206 |
Fragment,
|
110207 |
null,
|
110208 |
wp.element.createElement(SelectControl, {
|
110209 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
110210 |
value: buttonBorderStyle,
|
110211 |
onChange: function onChange(value) {
|
110212 |
return setAttributes({ buttonBorderStyle: value });
|
110213 |
},
|
110214 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
110215 |
}),
|
110216 |
"none" != buttonBorderStyle && wp.element.createElement(RangeControl, {
|
110217 |
+
label: __("Border Width (px)", 'ultimate-addons-for-gutenberg'),
|
110218 |
value: buttonBorderWidth,
|
110219 |
onChange: function onChange(value) {
|
110220 |
return setAttributes({ buttonBorderWidth: value });
|
110225 |
}),
|
110226 |
wp.element.createElement(
|
110227 |
ButtonGroup,
|
110228 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
110229 |
wp.element.createElement(
|
110230 |
Button,
|
110231 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: buttonBorderRadiusType === "px", "aria-pressed": buttonBorderRadiusType === "px", onClick: function onClick() {
|
110242 |
)
|
110243 |
),
|
110244 |
wp.element.createElement(RangeControl, {
|
110245 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
110246 |
value: buttonBorderRadius,
|
110247 |
onChange: function onChange(value) {
|
110248 |
return setAttributes({ buttonBorderRadius: value });
|
110259 |
wp.element.createElement(
|
110260 |
"p",
|
110261 |
{ className: "uagb-setting-label" },
|
110262 |
+
__("Text Color", 'ultimate-addons-for-gutenberg'),
|
110263 |
wp.element.createElement(
|
110264 |
"span",
|
110265 |
{ className: "components-base-control__label" },
|
110276 |
wp.element.createElement(
|
110277 |
"p",
|
110278 |
{ className: "uagb-setting-label" },
|
110279 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
110280 |
wp.element.createElement(
|
110281 |
"span",
|
110282 |
{ className: "components-base-control__label" },
|
110296 |
wp.element.createElement(
|
110297 |
"p",
|
110298 |
{ className: "uagb-setting-label" },
|
110299 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
110300 |
wp.element.createElement(
|
110301 |
"span",
|
110302 |
{ className: "components-base-control__label" },
|
110319 |
wp.element.createElement(
|
110320 |
"p",
|
110321 |
{ className: "uagb-setting-label" },
|
110322 |
+
__("Text Hover Color", 'ultimate-addons-for-gutenberg'),
|
110323 |
wp.element.createElement(
|
110324 |
"span",
|
110325 |
{ className: "components-base-control__label" },
|
110336 |
wp.element.createElement(
|
110337 |
"p",
|
110338 |
{ className: "uagb-setting-label" },
|
110339 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
110340 |
wp.element.createElement(
|
110341 |
"span",
|
110342 |
{ className: "components-base-control__label" },
|
110356 |
wp.element.createElement(
|
110357 |
"p",
|
110358 |
{ className: "uagb-setting-label" },
|
110359 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
110360 |
wp.element.createElement(
|
110361 |
"span",
|
110362 |
{ className: "components-base-control__label" },
|
110375 |
|
110376 |
var btn_setting = wp.element.createElement(
|
110377 |
PanelBody,
|
110378 |
+
{ title: __("Submit Button", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
110379 |
wp.element.createElement(SelectControl, {
|
110380 |
+
label: __("Button Alignment", 'ultimate-addons-for-gutenberg'),
|
110381 |
value: buttonAlignment,
|
110382 |
onChange: function onChange(value) {
|
110383 |
return setAttributes({ buttonAlignment: value });
|
110384 |
},
|
110385 |
+
options: [{ value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }, { value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }, { value: "justify", label: __("Justified", 'ultimate-addons-for-gutenberg') }]
|
110386 |
}),
|
110387 |
wp.element.createElement(
|
110388 |
"h2",
|
110389 |
null,
|
110390 |
+
__("Button Font", 'ultimate-addons-for-gutenberg')
|
110391 |
),
|
110392 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110393 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
110394 |
attributes: attributes,
|
110395 |
setAttributes: setAttributes,
|
110396 |
loadGoogleFonts: { value: buttonLoadGoogleFonts, label: 'buttonLoadGoogleFonts' },
|
110415 |
activeClass: "active-tab",
|
110416 |
tabs: [{
|
110417 |
name: "normal",
|
110418 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
110419 |
className: "uagb-normal-tab"
|
110420 |
}, {
|
110421 |
name: "hover",
|
110422 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
110423 |
className: "uagb-focus-tab"
|
110424 |
}] },
|
110425 |
function (tabName) {
|
110440 |
wp.element.createElement(
|
110441 |
"h2",
|
110442 |
null,
|
110443 |
+
__("Button Padding (px)", 'ultimate-addons-for-gutenberg')
|
110444 |
),
|
110445 |
wp.element.createElement(RangeControl, {
|
110446 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
110468 |
|
110469 |
var spacing = wp.element.createElement(
|
110470 |
PanelBody,
|
110471 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
110472 |
wp.element.createElement(RangeControl, {
|
110473 |
+
label: __("Label & Input Space", 'ultimate-addons-for-gutenberg'),
|
110474 |
value: fieldLabelSpacing,
|
110475 |
onChange: function onChange(value) {
|
110476 |
return setAttributes({ fieldLabelSpacing: value });
|
110480 |
allowReset: true
|
110481 |
}),
|
110482 |
wp.element.createElement(RangeControl, {
|
110483 |
+
label: __("Fields Space", 'ultimate-addons-for-gutenberg'),
|
110484 |
value: fieldSpacing,
|
110485 |
onChange: function onChange(value) {
|
110486 |
return setAttributes({ fieldSpacing: value });
|
110493 |
wp.element.createElement(
|
110494 |
"h2",
|
110495 |
null,
|
110496 |
+
__("Field Padding (px)", 'ultimate-addons-for-gutenberg')
|
110497 |
),
|
110498 |
wp.element.createElement(RangeControl, {
|
110499 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
110521 |
|
110522 |
var radio_check_setting = wp.element.createElement(
|
110523 |
PanelBody,
|
110524 |
+
{ title: __("Radio & Checkbox", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
110525 |
wp.element.createElement(ToggleControl, {
|
110526 |
+
label: __("Override Current Style", 'ultimate-addons-for-gutenberg'),
|
110527 |
checked: enableOveride,
|
110528 |
onChange: function onChange(value) {
|
110529 |
return setAttributes({ enableOveride: !enableOveride });
|
110533 |
Fragment,
|
110534 |
null,
|
110535 |
wp.element.createElement(RangeControl, {
|
110536 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
110537 |
value: radioCheckSize,
|
110538 |
onChange: function onChange(value) {
|
110539 |
return setAttributes({ radioCheckSize: value });
|
110546 |
wp.element.createElement(
|
110547 |
"h2",
|
110548 |
null,
|
110549 |
+
__("Radio & Checkbox Label", 'ultimate-addons-for-gutenberg')
|
110550 |
),
|
110551 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110552 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
110553 |
attributes: attributes,
|
110554 |
setAttributes: setAttributes,
|
110555 |
loadGoogleFonts: { value: radioCheckLoadGoogleFonts, label: 'radioCheckLoadGoogleFonts' },
|
110569 |
wp.element.createElement(
|
110570 |
"p",
|
110571 |
{ className: "uagb-setting-label" },
|
110572 |
+
__("Label Color", 'ultimate-addons-for-gutenberg'),
|
110573 |
wp.element.createElement(
|
110574 |
"span",
|
110575 |
{ className: "components-base-control__label" },
|
110586 |
wp.element.createElement(
|
110587 |
"p",
|
110588 |
{ className: "uagb-setting-label" },
|
110589 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
110590 |
wp.element.createElement(
|
110591 |
"span",
|
110592 |
{ className: "components-base-control__label" },
|
110603 |
wp.element.createElement(
|
110604 |
"p",
|
110605 |
{ className: "uagb-setting-label" },
|
110606 |
+
__("Selected Color", 'ultimate-addons-for-gutenberg'),
|
110607 |
wp.element.createElement(
|
110608 |
"span",
|
110609 |
{ className: "components-base-control__label" },
|
110627 |
__("Radio & Checkbox Border")
|
110628 |
),
|
110629 |
wp.element.createElement(RangeControl, {
|
110630 |
+
label: __("Border Width (px)", 'ultimate-addons-for-gutenberg'),
|
110631 |
value: radioCheckBorderWidth,
|
110632 |
onChange: function onChange(value) {
|
110633 |
return setAttributes({ radioCheckBorderWidth: value });
|
110638 |
}),
|
110639 |
wp.element.createElement(
|
110640 |
ButtonGroup,
|
110641 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
110642 |
wp.element.createElement(
|
110643 |
Button,
|
110644 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: radioCheckBorderRadiusType === "px", "aria-pressed": radioCheckBorderRadiusType === "px", onClick: function onClick() {
|
110655 |
)
|
110656 |
),
|
110657 |
wp.element.createElement(RangeControl, {
|
110658 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
110659 |
value: radioCheckBorderRadius,
|
110660 |
onChange: function onChange(value) {
|
110661 |
return setAttributes({ radioCheckBorderRadius: value });
|
110667 |
wp.element.createElement(
|
110668 |
"p",
|
110669 |
{ className: "uagb-setting-label" },
|
110670 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
110671 |
wp.element.createElement(
|
110672 |
"span",
|
110673 |
{ className: "components-base-control__label" },
|
110687 |
|
110688 |
var msg_settings = wp.element.createElement(
|
110689 |
PanelBody,
|
110690 |
+
{ title: __("Success / Error Message", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
110691 |
wp.element.createElement(
|
110692 |
"p",
|
110693 |
{ className: "uagb-settings-notice" },
|
110694 |
+
__("Note: This styling can be only seen on frontend", 'ultimate-addons-for-gutenberg')
|
110695 |
),
|
110696 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
110697 |
wp.element.createElement(
|
110698 |
"h2",
|
110699 |
null,
|
110700 |
+
__("Field Validation", 'ultimate-addons-for-gutenberg')
|
110701 |
),
|
110702 |
wp.element.createElement(
|
110703 |
"p",
|
110704 |
{ className: "uagb-setting-label" },
|
110705 |
+
__("Message Color", 'ultimate-addons-for-gutenberg'),
|
110706 |
wp.element.createElement(
|
110707 |
"span",
|
110708 |
{ className: "components-base-control__label" },
|
110734 |
lineHeightTablet: { value: validationMsgLineHeightTablet, label: 'validationMsgLineHeightTablet' }
|
110735 |
}),
|
110736 |
wp.element.createElement(ToggleControl, {
|
110737 |
+
label: __("Advanced Settings", 'ultimate-addons-for-gutenberg'),
|
110738 |
checked: advancedValidationSettings,
|
110739 |
onChange: function onChange(value) {
|
110740 |
return setAttributes({ advancedValidationSettings: !advancedValidationSettings });
|
110746 |
wp.element.createElement(
|
110747 |
"p",
|
110748 |
{ className: "uagb-setting-label" },
|
110749 |
+
__("Field Background Color", 'ultimate-addons-for-gutenberg'),
|
110750 |
wp.element.createElement(
|
110751 |
"span",
|
110752 |
{ className: "components-base-control__label" },
|
110767 |
wp.element.createElement(
|
110768 |
"p",
|
110769 |
{ className: "uagb-setting-label" },
|
110770 |
+
__("Highlight Border Color", 'ultimate-addons-for-gutenberg'),
|
110771 |
wp.element.createElement(
|
110772 |
"span",
|
110773 |
{ className: "components-base-control__label" },
|
110786 |
wp.element.createElement(
|
110787 |
"h2",
|
110788 |
null,
|
110789 |
+
__("Form Error Validation", 'ultimate-addons-for-gutenberg')
|
110790 |
),
|
110791 |
wp.element.createElement(
|
110792 |
"p",
|
110793 |
{ className: "uagb-setting-label" },
|
110794 |
+
__("Error Message Color", 'ultimate-addons-for-gutenberg'),
|
110795 |
wp.element.createElement(
|
110796 |
"span",
|
110797 |
{ className: "components-base-control__label" },
|
110808 |
wp.element.createElement(
|
110809 |
"p",
|
110810 |
{ className: "uagb-setting-label" },
|
110811 |
+
__("Error Message Background Color", 'ultimate-addons-for-gutenberg'),
|
110812 |
wp.element.createElement(
|
110813 |
"span",
|
110814 |
{ className: "components-base-control__label" },
|
110840 |
allowReset: true
|
110841 |
}),
|
110842 |
wp.element.createElement(RangeControl, {
|
110843 |
+
label: __("Message Border Width (px)", 'ultimate-addons-for-gutenberg'),
|
110844 |
value: msgBorderSize,
|
110845 |
onChange: function onChange(value) {
|
110846 |
return setAttributes({ msgBorderSize: value });
|
110868 |
)
|
110869 |
),
|
110870 |
wp.element.createElement(RangeControl, {
|
110871 |
+
label: __("Message Border Radius", 'ultimate-addons-for-gutenberg'),
|
110872 |
value: msgBorderRadius,
|
110873 |
onChange: function onChange(value) {
|
110874 |
return setAttributes({ msgBorderRadius: value });
|
110880 |
wp.element.createElement(
|
110881 |
"h2",
|
110882 |
null,
|
110883 |
+
__("Message Padding (px)", 'ultimate-addons-for-gutenberg')
|
110884 |
),
|
110885 |
wp.element.createElement(RangeControl, {
|
110886 |
label: __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
110905 |
allowReset: true
|
110906 |
}),
|
110907 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110908 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
110909 |
attributes: attributes,
|
110910 |
setAttributes: setAttributes,
|
110911 |
loadGoogleFonts: { value: msgLoadGoogleFonts, label: 'msgLoadGoogleFonts' },
|
110925 |
wp.element.createElement(
|
110926 |
"h2",
|
110927 |
null,
|
110928 |
+
__("Form Success Validation", 'ultimate-addons-for-gutenberg')
|
110929 |
),
|
110930 |
wp.element.createElement(
|
110931 |
"p",
|
110932 |
{ className: "uagb-setting-label" },
|
110933 |
+
__("Success Message Color", 'ultimate-addons-for-gutenberg'),
|
110934 |
wp.element.createElement(
|
110935 |
"span",
|
110936 |
{ className: "components-base-control__label" },
|
110945 |
allowReset: true
|
110946 |
}),
|
110947 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
|
110948 |
+
label: __("Success Message Typography", 'ultimate-addons-for-gutenberg'),
|
110949 |
attributes: attributes,
|
110950 |
setAttributes: setAttributes,
|
110951 |
loadGoogleFonts: { value: successMsgLoadGoogleFonts, label: 'successMsgLoadGoogleFonts' },
|
111000 |
Placeholder,
|
111001 |
{
|
111002 |
icon: "admin-post",
|
111003 |
+
label: __("Loading", 'ultimate-addons-for-gutenberg')
|
111004 |
},
|
111005 |
wp.element.createElement(Spinner, null)
|
111006 |
)
|
111076 |
})(UAGBGF));
|
111077 |
|
111078 |
/***/ }),
|
111079 |
+
/* 654 */
|
111080 |
/*!*****************************************!*\
|
111081 |
!*** ./src/blocks/gf-styler/styling.js ***!
|
111082 |
\*****************************************/
|
111089 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
111090 |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
111091 |
|
111092 |
+
/**
|
111093 |
+
* Set inline styles.
|
111094 |
+
* @param {object} props - The block object.
|
111095 |
+
* @return {object} The inline background type CSS.
|
111096 |
*/
|
111097 |
|
111098 |
|
111719 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
111720 |
|
111721 |
/***/ }),
|
111722 |
+
/* 655 */
|
111723 |
/*!******************************************!*\
|
111724 |
!*** ./src/blocks/gf-styler/editor.scss ***!
|
111725 |
\******************************************/
|
111729 |
// removed by extract-text-webpack-plugin
|
111730 |
|
111731 |
/***/ }),
|
111732 |
+
/* 656 */
|
111733 |
/*!*****************************************!*\
|
111734 |
!*** ./src/blocks/gf-styler/style.scss ***!
|
111735 |
\*****************************************/
|
111739 |
// removed by extract-text-webpack-plugin
|
111740 |
|
111741 |
/***/ }),
|
111742 |
+
/* 657 */
|
111743 |
/*!****************************************!*\
|
111744 |
!*** ./src/blocks/blockquote/block.js ***!
|
111745 |
\****************************************/
|
111748 |
|
111749 |
"use strict";
|
111750 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
111751 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__edit__ = __webpack_require__(/*! ./edit */ 658);
|
111752 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__deprecated__ = __webpack_require__(/*! ./deprecated */ 660);
|
111753 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 662);
|
111754 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__attributes__ = __webpack_require__(/*! ./attributes */ 226);
|
111755 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 663);
|
111756 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
111757 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */ 664);
|
111758 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
|
111759 |
+
/**
|
111760 |
+
* BLOCK: Quote
|
111761 |
*/
|
111762 |
|
111763 |
// Import block dependencies and components.
|
111774 |
|
111775 |
// Import registerBlockType() from wp.blocks
|
111776 |
|
111777 |
+
var _wp$blocks = wp.blocks,
|
111778 |
+
registerBlockType = _wp$blocks.registerBlockType,
|
111779 |
+
createBlock = _wp$blocks.createBlock;
|
111780 |
+
|
111781 |
+
/**
|
111782 |
+
* Register: as Gutenberg Block.
|
111783 |
+
*
|
111784 |
+
* Registers a new block provided a unique name and an object defining its
|
111785 |
+
* behavior.
|
111786 |
+
*
|
111787 |
+
* @link https://.org/gutenberg/handbook/block-api/
|
111788 |
+
* @param {string} namwordpresse Block name.
|
111789 |
+
* @param {Object} settings Block settings.
|
111790 |
+
* @return {?WPBlock} The block, if it has been successfully
|
111791 |
+
* registered; otherwise `undefined`.
|
111792 |
*/
|
111793 |
|
111794 |
registerBlockType("uagb/blockquote", {
|
111795 |
title: uagb_blocks_info.blocks["uagb/blockquote"]["title"],
|
111796 |
description: uagb_blocks_info.blocks["uagb/blockquote"]["description"],
|
111797 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].blockquote,
|
111798 |
+
keywords: [__("blockquote", 'ultimate-addons-for-gutenberg'), __("quote", 'ultimate-addons-for-gutenberg'), __("uagb", 'ultimate-addons-for-gutenberg')],
|
111799 |
supports: {
|
111800 |
anchor: true
|
111801 |
},
|
111804 |
edit: __WEBPACK_IMPORTED_MODULE_1__edit__["a" /* default */],
|
111805 |
save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
|
111806 |
example: {},
|
111807 |
+
deprecated: __WEBPACK_IMPORTED_MODULE_2__deprecated__["a" /* default */],
|
111808 |
+
transforms: {
|
111809 |
+
from: [{
|
111810 |
+
type: 'block',
|
111811 |
+
blocks: ['core/quote'],
|
111812 |
+
transform: function transform(attributes) {
|
111813 |
+
return createBlock('uagb/blockquote', {
|
111814 |
+
descriptionText: attributes.value,
|
111815 |
+
author: attributes.citation,
|
111816 |
+
align: attributes.align
|
111817 |
+
});
|
111818 |
+
}
|
111819 |
+
}, {
|
111820 |
+
type: 'block',
|
111821 |
+
blocks: ['core/heading'],
|
111822 |
+
transform: function transform(attributes) {
|
111823 |
+
return createBlock('uagb/blockquote', {
|
111824 |
+
descriptionText: attributes.content,
|
111825 |
+
align: attributes.align
|
111826 |
+
});
|
111827 |
+
}
|
111828 |
+
}],
|
111829 |
+
to: [{
|
111830 |
+
type: 'block',
|
111831 |
+
blocks: ['core/quote'],
|
111832 |
+
transform: function transform(attributes) {
|
111833 |
+
return createBlock('core/quote', {
|
111834 |
+
value: "<p>" + attributes.descriptionText + "</p>",
|
111835 |
+
citation: attributes.author,
|
111836 |
+
align: attributes.align
|
111837 |
+
});
|
111838 |
+
}
|
111839 |
+
}, {
|
111840 |
+
type: 'block',
|
111841 |
+
blocks: ['core/heading'],
|
111842 |
+
transform: function transform(attributes) {
|
111843 |
+
return createBlock('core/heading', {
|
111844 |
+
content: attributes.descriptionText,
|
111845 |
+
align: attributes.align
|
111846 |
+
});
|
111847 |
+
}
|
111848 |
+
}]
|
111849 |
+
}
|
111850 |
});
|
111851 |
|
111852 |
/***/ }),
|
111853 |
+
/* 658 */
|
111854 |
/*!***************************************!*\
|
111855 |
!*** ./src/blocks/blockquote/edit.js ***!
|
111856 |
\***************************************/
|
111865 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_Description__ = __webpack_require__(/*! ./components/Description */ 126);
|
111866 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_AuthorText__ = __webpack_require__(/*! ./components/AuthorText */ 127);
|
111867 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_AuthorImage__ = __webpack_require__(/*! ./components/AuthorImage */ 128);
|
111868 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styling__ = __webpack_require__(/*! ./styling */ 659);
|
111869 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map__ = __webpack_require__(/*! lodash/map */ 17);
|
111870 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_map__);
|
111871 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
111936 |
return _this;
|
111937 |
}
|
111938 |
|
111939 |
+
/*
|
111940 |
+
* Event to set Image as null while removing.
|
111941 |
*/
|
111942 |
|
111943 |
|
111950 |
setAttributes({ authorImage: null });
|
111951 |
}
|
111952 |
|
111953 |
+
/*
|
111954 |
+
* Event to set Image as while adding.
|
111955 |
*/
|
111956 |
|
111957 |
}, {
|
112070 |
borderHoverColor = attributes.borderHoverColor;
|
112071 |
|
112072 |
|
112073 |
+
var sizeTypes = [{ key: "px", name: __("px", 'ultimate-addons-for-gutenberg') }, { key: "em", name: __("em", 'ultimate-addons-for-gutenberg') }];
|
112074 |
|
112075 |
var loadDescGoogleFonts = void 0;
|
112076 |
var loadAuthorGoogleFonts = void 0;
|
112111 |
|
112112 |
var quoteSizeTypeControls = wp.element.createElement(
|
112113 |
ButtonGroup,
|
112114 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
112115 |
__WEBPACK_IMPORTED_MODULE_6_lodash_map___default()(sizeTypes, function (_ref) {
|
112116 |
var name = _ref.name,
|
112117 |
key = _ref.key;
|
112134 |
|
112135 |
var quotePaddingControls = wp.element.createElement(
|
112136 |
ButtonGroup,
|
112137 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
112138 |
__WEBPACK_IMPORTED_MODULE_6_lodash_map___default()(sizeTypes, function (_ref2) {
|
112139 |
var name = _ref2.name,
|
112140 |
key = _ref2.key;
|
112155 |
})
|
112156 |
);
|
112157 |
|
112158 |
+
var image_name = __("Select Image", 'ultimate-addons-for-gutenberg');
|
112159 |
if (authorImage) {
|
112160 |
if (authorImage.url == null || authorImage.url == "") {
|
112161 |
+
image_name = __("Select Image", 'ultimate-addons-for-gutenberg');
|
112162 |
} else {
|
112163 |
+
image_name = __("Replace Image", 'ultimate-addons-for-gutenberg');
|
112164 |
}
|
112165 |
}
|
112166 |
|
112167 |
// Image sizes.
|
112168 |
+
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail", 'ultimate-addons-for-gutenberg') }, { value: "medium", label: __("Medium", 'ultimate-addons-for-gutenberg') }, { value: "full", label: __("Large", 'ultimate-addons-for-gutenberg') }];
|
112169 |
|
112170 |
var border_settings = wp.element.createElement(
|
112171 |
Fragment,
|
112173 |
wp.element.createElement(
|
112174 |
"h2",
|
112175 |
null,
|
112176 |
+
__("Modern Layout - Styling", 'ultimate-addons-for-gutenberg')
|
112177 |
),
|
112178 |
wp.element.createElement(SelectControl, {
|
112179 |
+
label: __("Quote Border Style", 'ultimate-addons-for-gutenberg'),
|
112180 |
value: borderStyle,
|
112181 |
onChange: function onChange(value) {
|
112182 |
return setAttributes({ borderStyle: value });
|
112183 |
},
|
112184 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
112185 |
}),
|
112186 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
112187 |
+
label: __("Thickness (px)", 'ultimate-addons-for-gutenberg'),
|
112188 |
value: borderWidth,
|
112189 |
onChange: function onChange(value) {
|
112190 |
return setAttributes({ borderWidth: value });
|
112201 |
wp.element.createElement(
|
112202 |
"h2",
|
112203 |
null,
|
112204 |
+
__("Quotation Layout - Styling", 'ultimate-addons-for-gutenberg')
|
112205 |
),
|
112206 |
wp.element.createElement(
|
112207 |
TabPanel,
|
112228 |
null,
|
112229 |
quoteSizeTypeControls,
|
112230 |
wp.element.createElement(RangeControl, {
|
112231 |
+
label: __("Quote Icon Size", 'ultimate-addons-for-gutenberg'),
|
112232 |
value: quoteSizeMobile,
|
112233 |
onChange: function onChange(value) {
|
112234 |
return setAttributes({ quoteSizeMobile: value });
|
112246 |
null,
|
112247 |
quoteSizeTypeControls,
|
112248 |
wp.element.createElement(RangeControl, {
|
112249 |
+
label: __("Quote Icon Size", 'ultimate-addons-for-gutenberg'),
|
112250 |
value: quoteSizeTablet,
|
112251 |
onChange: function onChange(value) {
|
112252 |
return setAttributes({ quoteSizeTablet: value });
|
112264 |
null,
|
112265 |
quoteSizeTypeControls,
|
112266 |
wp.element.createElement(RangeControl, {
|
112267 |
+
label: __("Quote Icon Size", 'ultimate-addons-for-gutenberg'),
|
112268 |
value: quoteSize,
|
112269 |
onChange: function onChange(value) {
|
112270 |
return setAttributes({ quoteSize: value });
|
112310 |
null,
|
112311 |
quotePaddingControls,
|
112312 |
wp.element.createElement(RangeControl, {
|
112313 |
+
label: __("Background Size", 'ultimate-addons-for-gutenberg'),
|
112314 |
value: quotePaddingMobile,
|
112315 |
onChange: function onChange(value) {
|
112316 |
return setAttributes({ quotePaddingMobile: value });
|
112328 |
null,
|
112329 |
quotePaddingControls,
|
112330 |
wp.element.createElement(RangeControl, {
|
112331 |
+
label: __("Background Size", 'ultimate-addons-for-gutenberg'),
|
112332 |
value: quotePaddingTablet,
|
112333 |
onChange: function onChange(value) {
|
112334 |
return setAttributes({ quotePaddingTablet: value });
|
112346 |
null,
|
112347 |
quotePaddingControls,
|
112348 |
wp.element.createElement(RangeControl, {
|
112349 |
+
label: __("Background Size", 'ultimate-addons-for-gutenberg'),
|
112350 |
value: quotePadding,
|
112351 |
onChange: function onChange(value) {
|
112352 |
return setAttributes({ quotePadding: value });
|
112368 |
}
|
112369 |
),
|
112370 |
quoteBgColor && wp.element.createElement(RangeControl, {
|
112371 |
+
label: __("Quote Icon Border Radius (%)", 'ultimate-addons-for-gutenberg'),
|
112372 |
value: quoteBorderRadius,
|
112373 |
onChange: function onChange(value) {
|
112374 |
return setAttributes({ quoteBorderRadius: value });
|
112381 |
|
112382 |
var skin_settings = wp.element.createElement(
|
112383 |
PanelBody,
|
112384 |
+
{ title: __("Layout", 'ultimate-addons-for-gutenberg') },
|
112385 |
wp.element.createElement(SelectControl, {
|
112386 |
+
label: __("Layout", 'ultimate-addons-for-gutenberg'),
|
112387 |
+
options: [{ value: "border", label: __("Modern", 'ultimate-addons-for-gutenberg') }, { value: "quotation", label: __("Quotation", 'ultimate-addons-for-gutenberg') }],
|
112388 |
value: skinStyle,
|
112389 |
onChange: function onChange(value) {
|
112390 |
return setAttributes({ skinStyle: value });
|
112400 |
wp.element.createElement(
|
112401 |
"h2",
|
112402 |
null,
|
112403 |
+
__("Quote Icon Colors", 'ultimate-addons-for-gutenberg')
|
112404 |
)
|
112405 |
),
|
112406 |
"none" != borderStyle && wp.element.createElement(
|
112409 |
activeClass: "active-tab",
|
112410 |
tabs: [{
|
112411 |
name: "normal",
|
112412 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
112413 |
className: "uagb-normal-tab"
|
112414 |
}, {
|
112415 |
name: "hover",
|
112416 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
112417 |
className: "uagb-hover-tab"
|
112418 |
}] },
|
112419 |
function (tabName) {
|
112432 |
),
|
112433 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
112434 |
wp.element.createElement(SelectControl, {
|
112435 |
+
label: __("Stack on", 'ultimate-addons-for-gutenberg'),
|
112436 |
value: stack,
|
112437 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "tablet", label: __("Tablet", 'ultimate-addons-for-gutenberg') }, { value: "mobile", label: __("Mobile", 'ultimate-addons-for-gutenberg') }],
|
112438 |
+
help: __("Note: Choose on what breakpoint the elements will stack.", 'ultimate-addons-for-gutenberg'),
|
112439 |
onChange: function onChange(value) {
|
112440 |
return setAttributes({ stack: value });
|
112441 |
}
|
112449 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
112450 |
wp.element.createElement(
|
112451 |
BaseControl,
|
112452 |
+
{ className: "editor-bg-image-control", label: __("Author Image", 'ultimate-addons-for-gutenberg') },
|
112453 |
wp.element.createElement(MediaUpload, {
|
112454 |
+
title: __("Select Image", 'ultimate-addons-for-gutenberg'),
|
112455 |
onSelect: this.onSelectImage,
|
112456 |
allowedTypes: ["image"],
|
112457 |
value: authorImage,
|
112467 |
authorImage && authorImage.url !== "null" && authorImage.url !== "" && wp.element.createElement(
|
112468 |
Button,
|
112469 |
{ className: "uagb-rm-btn", onClick: this.onRemoveImage, isLink: true, isDestructive: true },
|
112470 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
112471 |
)
|
112472 |
),
|
112473 |
authorImage && authorImage.url !== "null" && authorImage.url !== "" && wp.element.createElement(
|
112474 |
Fragment,
|
112475 |
null,
|
112476 |
wp.element.createElement(SelectControl, {
|
112477 |
+
label: __("Author Image Position", 'ultimate-addons-for-gutenberg'),
|
112478 |
value: authorImgPosition,
|
112479 |
onChange: function onChange(value) {
|
112480 |
return setAttributes({ authorImgPosition: value });
|
112481 |
},
|
112482 |
+
options: [{ value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }, { value: "top", label: __("Top", 'ultimate-addons-for-gutenberg') }]
|
112483 |
}),
|
112484 |
wp.element.createElement(SelectControl, {
|
112485 |
+
label: __("Author Image Size", 'ultimate-addons-for-gutenberg'),
|
112486 |
options: imageSizeOptions,
|
112487 |
value: authorImageSize,
|
112488 |
onChange: function onChange(value) {
|
112490 |
}
|
112491 |
}),
|
112492 |
wp.element.createElement(RangeControl, {
|
112493 |
+
label: __("Author Image Width", 'ultimate-addons-for-gutenberg'),
|
112494 |
value: authorImageWidth,
|
112495 |
onChange: function onChange(value) {
|
112496 |
return setAttributes({ authorImageWidth: value });
|
112501 |
allowReset: true
|
112502 |
}),
|
112503 |
wp.element.createElement(RangeControl, {
|
112504 |
+
label: __("Author Image Rounded Corners", 'ultimate-addons-for-gutenberg'),
|
112505 |
value: authorImgBorderRadius,
|
112506 |
onChange: function onChange(value) {
|
112507 |
return setAttributes({ authorImgBorderRadius: value });
|
112523 |
wp.element.createElement(
|
112524 |
"p",
|
112525 |
{ className: "uagb-setting-label" },
|
112526 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
112527 |
wp.element.createElement(
|
112528 |
"span",
|
112529 |
{ className: "components-base-control__label" },
|
112544 |
wp.element.createElement(
|
112545 |
"p",
|
112546 |
{ className: "uagb-setting-label" },
|
112547 |
+
__("Icon Color", 'ultimate-addons-for-gutenberg'),
|
112548 |
wp.element.createElement(
|
112549 |
"span",
|
112550 |
{ className: "components-base-control__label" },
|
112561 |
wp.element.createElement(
|
112562 |
"p",
|
112563 |
{ className: "uagb-setting-label" },
|
112564 |
+
__("Icon Background Color", 'ultimate-addons-for-gutenberg'),
|
112565 |
wp.element.createElement(
|
112566 |
"span",
|
112567 |
{ className: "components-base-control__label" },
|
112587 |
wp.element.createElement(
|
112588 |
"p",
|
112589 |
{ className: "uagb-setting-label" },
|
112590 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
112591 |
wp.element.createElement(
|
112592 |
"span",
|
112593 |
{ className: "components-base-control__label" },
|
112608 |
wp.element.createElement(
|
112609 |
"p",
|
112610 |
{ className: "uagb-setting-label" },
|
112611 |
+
__("Hover Color", 'ultimate-addons-for-gutenberg'),
|
112612 |
wp.element.createElement(
|
112613 |
"span",
|
112614 |
{ className: "components-base-control__label" },
|
112625 |
wp.element.createElement(
|
112626 |
"p",
|
112627 |
{ className: "uagb-setting-label" },
|
112628 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
112629 |
wp.element.createElement(
|
112630 |
"span",
|
112631 |
{ className: "components-base-control__label" },
|
112647 |
null,
|
112648 |
wp.element.createElement(
|
112649 |
PanelBody,
|
112650 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
112651 |
wp.element.createElement(
|
112652 |
"h2",
|
112653 |
null,
|
112654 |
+
__("Quote", 'ultimate-addons-for-gutenberg')
|
112655 |
),
|
112656 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
112657 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
112658 |
attributes: attributes,
|
112659 |
setAttributes: setAttributes,
|
112660 |
loadGoogleFonts: { value: descLoadGoogleFonts, label: 'descLoadGoogleFonts' },
|
112673 |
wp.element.createElement(
|
112674 |
"p",
|
112675 |
{ className: "uagb-setting-label" },
|
112676 |
+
__("Quote Color", 'ultimate-addons-for-gutenberg'),
|
112677 |
wp.element.createElement(
|
112678 |
"span",
|
112679 |
{ className: "components-base-control__label" },
|
112691 |
wp.element.createElement(
|
112692 |
"h2",
|
112693 |
null,
|
112694 |
+
__("Author", 'ultimate-addons-for-gutenberg')
|
112695 |
),
|
112696 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
112697 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
112698 |
attributes: attributes,
|
112699 |
setAttributes: setAttributes,
|
112700 |
loadGoogleFonts: { value: authorLoadGoogleFonts, label: 'authorLoadGoogleFonts' },
|
112713 |
wp.element.createElement(
|
112714 |
"p",
|
112715 |
{ className: "uagb-setting-label" },
|
112716 |
+
__("Author Color", 'ultimate-addons-for-gutenberg'),
|
112717 |
wp.element.createElement(
|
112718 |
"span",
|
112719 |
{ className: "components-base-control__label" },
|
112740 |
wp.element.createElement(
|
112741 |
"p",
|
112742 |
{ className: "uagb-setting-label" },
|
112743 |
+
__("Tweet Color", 'ultimate-addons-for-gutenberg'),
|
112744 |
wp.element.createElement(
|
112745 |
"span",
|
112746 |
{ className: "components-base-control__label" },
|
112761 |
wp.element.createElement(
|
112762 |
"p",
|
112763 |
{ className: "uagb-setting-label" },
|
112764 |
+
__("Tweet Color", 'ultimate-addons-for-gutenberg'),
|
112765 |
wp.element.createElement(
|
112766 |
"span",
|
112767 |
{ className: "components-base-control__label" },
|
112778 |
wp.element.createElement(
|
112779 |
"p",
|
112780 |
{ className: "uagb-setting-label" },
|
112781 |
+
__("Tweet Background Color", 'ultimate-addons-for-gutenberg'),
|
112782 |
wp.element.createElement(
|
112783 |
"span",
|
112784 |
{ className: "components-base-control__label" },
|
112804 |
wp.element.createElement(
|
112805 |
"p",
|
112806 |
{ className: "uagb-setting-label" },
|
112807 |
+
__("Tweet Hover Color", 'ultimate-addons-for-gutenberg'),
|
112808 |
wp.element.createElement(
|
112809 |
"span",
|
112810 |
{ className: "components-base-control__label" },
|
112825 |
wp.element.createElement(
|
112826 |
"p",
|
112827 |
{ className: "uagb-setting-label" },
|
112828 |
+
__("Tweet Hover Color", 'ultimate-addons-for-gutenberg'),
|
112829 |
wp.element.createElement(
|
112830 |
"span",
|
112831 |
{ className: "components-base-control__label" },
|
112842 |
wp.element.createElement(
|
112843 |
"p",
|
112844 |
{ className: "uagb-setting-label" },
|
112845 |
+
__("Tweet Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
112846 |
wp.element.createElement(
|
112847 |
"span",
|
112848 |
{ className: "components-base-control__label" },
|
112861 |
|
112862 |
var spacing_settings = wp.element.createElement(
|
112863 |
PanelBody,
|
112864 |
+
{ title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
112865 |
skinStyle === "quotation" && wp.element.createElement(
|
112866 |
Fragment,
|
112867 |
null,
|
112868 |
wp.element.createElement(
|
112869 |
"h2",
|
112870 |
null,
|
112871 |
+
__("Quote Icon Margin (px)", 'ultimate-addons-for-gutenberg')
|
112872 |
),
|
112873 |
wp.element.createElement(RangeControl, {
|
112874 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].top_margin,
|
112917 |
wp.element.createElement("hr", { className: "uagb-editor__separator" })
|
112918 |
),
|
112919 |
skinStyle === "border" && wp.element.createElement(RangeControl, {
|
112920 |
+
label: __("Gap Between Border and Quote", 'ultimate-addons-for-gutenberg'),
|
112921 |
value: borderGap,
|
112922 |
onChange: function onChange(value) {
|
112923 |
return setAttributes({ borderGap: value });
|
112927 |
allowReset: true
|
112928 |
}),
|
112929 |
wp.element.createElement(RangeControl, {
|
112930 |
+
label: __("Quote Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
112931 |
value: descSpace,
|
112932 |
onChange: function onChange(value) {
|
112933 |
return setAttributes({ descSpace: value });
|
112938 |
initialPosition: 0
|
112939 |
}),
|
112940 |
align == "center" && skinStyle !== "border" && wp.element.createElement(RangeControl, {
|
112941 |
+
label: __("Author Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
112942 |
value: authorSpace,
|
112943 |
onChange: function onChange(value) {
|
112944 |
return setAttributes({ authorSpace: value });
|
112955 |
wp.element.createElement(
|
112956 |
"h2",
|
112957 |
null,
|
112958 |
+
__("Vertical Padding", 'ultimate-addons-for-gutenberg')
|
112959 |
),
|
112960 |
wp.element.createElement(RangeControl, {
|
112961 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
112973 |
|
112974 |
var twitter_settings = wp.element.createElement(
|
112975 |
PanelBody,
|
112976 |
+
{ title: __("Twitter Icon", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
112977 |
wp.element.createElement(ToggleControl, {
|
112978 |
+
label: __("Enable Twitter Icon", 'ultimate-addons-for-gutenberg'),
|
112979 |
checked: enableTweet,
|
112980 |
onChange: function onChange(value) {
|
112981 |
return setAttributes({ enableTweet: !enableTweet });
|
112985 |
Fragment,
|
112986 |
null,
|
112987 |
wp.element.createElement(SelectControl, {
|
112988 |
+
label: __("Icon View", 'ultimate-addons-for-gutenberg'),
|
112989 |
value: iconView,
|
112990 |
onChange: function onChange(value) {
|
112991 |
return setAttributes({ iconView: value });
|
112992 |
},
|
112993 |
+
options: [{ value: "icon_text", label: __("Icon & Text", 'ultimate-addons-for-gutenberg') }, { value: "icon", label: __("Icon", 'ultimate-addons-for-gutenberg') }, { value: "text", label: __("Text", 'ultimate-addons-for-gutenberg') }]
|
112994 |
}),
|
112995 |
wp.element.createElement(SelectControl, {
|
112996 |
+
label: __("Icon Style", 'ultimate-addons-for-gutenberg'),
|
112997 |
value: iconSkin,
|
112998 |
onChange: function onChange(value) {
|
112999 |
return setAttributes({ iconSkin: value });
|
113000 |
},
|
113001 |
+
options: [{ value: "classic", label: __("Classic", 'ultimate-addons-for-gutenberg') }, { value: "bubble", label: __("Bubble", 'ultimate-addons-for-gutenberg') }, { value: "link", label: __("Link", 'ultimate-addons-for-gutenberg') }]
|
113002 |
})
|
113003 |
),
|
113004 |
enableTweet && iconView !== "icon" && wp.element.createElement(
|
113006 |
null,
|
113007 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
113008 |
wp.element.createElement(TextControl, {
|
113009 |
+
label: __("Label", 'ultimate-addons-for-gutenberg'),
|
113010 |
value: iconLabel,
|
113011 |
onChange: function onChange(value) {
|
113012 |
return setAttributes({ iconLabel: value });
|
113017 |
Fragment,
|
113018 |
null,
|
113019 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_8__components_typography__["a" /* default */], {
|
113020 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
113021 |
attributes: attributes,
|
113022 |
setAttributes: setAttributes,
|
113023 |
loadGoogleFonts: { value: tweetBtnLoadGoogleFonts, label: 'tweetBtnLoadGoogleFonts' },
|
113034 |
lineHeightTablet: { value: tweetBtnLineHeightTablet, label: 'tweetBtnLineHeightTablet' }
|
113035 |
}),
|
113036 |
wp.element.createElement(SelectControl, {
|
113037 |
+
label: __("Target URL", 'ultimate-addons-for-gutenberg'),
|
113038 |
value: iconTargetUrl,
|
113039 |
onChange: function onChange(value) {
|
113040 |
return setAttributes({ iconTargetUrl: value });
|
113041 |
},
|
113042 |
+
options: [{ value: "current", label: __("Current Page", 'ultimate-addons-for-gutenberg') }, { value: "custom", label: __("Custom URL", 'ultimate-addons-for-gutenberg') }]
|
113043 |
}),
|
113044 |
iconTargetUrl == "custom" && wp.element.createElement(TextControl, {
|
113045 |
+
label: __("URL", 'ultimate-addons-for-gutenberg'),
|
113046 |
value: customUrl,
|
113047 |
onChange: function onChange(value) {
|
113048 |
return setAttributes({ customUrl: value });
|
113056 |
wp.element.createElement(
|
113057 |
"h2",
|
113058 |
null,
|
113059 |
+
__("Button Padding (px)", 'ultimate-addons-for-gutenberg')
|
113060 |
),
|
113061 |
wp.element.createElement(RangeControl, {
|
113062 |
label: __WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
113088 |
null,
|
113089 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
113090 |
wp.element.createElement(RangeControl, {
|
113091 |
+
label: __("Space between Tweet Icon and Text", 'ultimate-addons-for-gutenberg'),
|
113092 |
value: tweetIconSpacing,
|
113093 |
onChange: function onChange(value) {
|
113094 |
return setAttributes({ tweetIconSpacing: value });
|
113109 |
activeClass: "active-tab",
|
113110 |
tabs: [{
|
113111 |
name: "normal",
|
113112 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
113113 |
className: "uagb-normal-tab"
|
113114 |
}, {
|
113115 |
name: "hover",
|
113116 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
113117 |
className: "uagb-hover-tab"
|
113118 |
}] },
|
113119 |
function (tabName) {
|
113153 |
null,
|
113154 |
wp.element.createElement(
|
113155 |
Tooltip,
|
113156 |
+
{ text: __("Normal Quote", 'ultimate-addons-for-gutenberg') },
|
113157 |
wp.element.createElement(
|
113158 |
Button,
|
113159 |
{
|
113171 |
null,
|
113172 |
wp.element.createElement(
|
113173 |
Tooltip,
|
113174 |
+
{ text: __("Inline Quote", 'ultimate-addons-for-gutenberg') },
|
113175 |
wp.element.createElement(
|
113176 |
Button,
|
113177 |
{
|
113194 |
wp.element.createElement(
|
113195 |
"label",
|
113196 |
{
|
113197 |
+
"aria-label": __("Twitter Username", 'ultimate-addons-for-gutenberg'),
|
113198 |
className: className + "__via-label",
|
113199 |
htmlFor: className + "__via"
|
113200 |
},
|
113202 |
__WEBPACK_IMPORTED_MODULE_7__dist_blocks_uagb_controls_block_icons__["a" /* default */].at_the_rate
|
113203 |
),
|
113204 |
wp.element.createElement("input", {
|
113205 |
+
"aria-label": __("Twitter Username", 'ultimate-addons-for-gutenberg'),
|
113206 |
className: className + "__via",
|
113207 |
id: className + "__via",
|
113208 |
onChange: function onChange(event) {
|
113209 |
return setAttributes({ iconShareVia: event.target.value });
|
113210 |
},
|
113211 |
+
placeholder: __("Username", 'ultimate-addons-for-gutenberg'),
|
113212 |
type: "text",
|
113213 |
value: iconShareVia
|
113214 |
})
|
113299 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBBlockQuote);
|
113300 |
|
113301 |
/***/ }),
|
113302 |
+
/* 659 */
|
113303 |
/*!******************************************!*\
|
113304 |
!*** ./src/blocks/blockquote/styling.js ***!
|
113305 |
\******************************************/
|
113310 |
"use strict";
|
113311 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
113312 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
113313 |
+
/**
|
113314 |
+
* Set inline styles.
|
113315 |
+
* @param {object} props - The block object.
|
113316 |
+
* @return {object} The inline background type CSS.
|
113317 |
*/
|
113318 |
|
113319 |
|
113622 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
113623 |
|
113624 |
/***/ }),
|
113625 |
+
/* 660 */
|
113626 |
/*!*********************************************!*\
|
113627 |
!*** ./src/blocks/blockquote/deprecated.js ***!
|
113628 |
\*********************************************/
|
113635 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(/*! classnames */ 0);
|
113636 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
113637 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
113638 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_TweetButton__ = __webpack_require__(/*! ./components/TweetButton */ 661);
|
113639 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_TweetButtonCTA__ = __webpack_require__(/*! ./components/TweetButtonCTA */ 125);
|
113640 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_Description__ = __webpack_require__(/*! ./components/Description */ 126);
|
113641 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_AuthorText__ = __webpack_require__(/*! ./components/AuthorText */ 127);
|
113642 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_AuthorImage__ = __webpack_require__(/*! ./components/AuthorImage */ 128);
|
113643 |
+
/**
|
113644 |
+
* BLOCK: Advanced Heading - Deprecated Block
|
113645 |
*/
|
113646 |
|
113647 |
|
113777 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
113778 |
|
113779 |
/***/ }),
|
113780 |
+
/* 661 */
|
113781 |
/*!*********************************************************!*\
|
113782 |
!*** ./src/blocks/blockquote/components/TweetButton.js ***!
|
113783 |
\*********************************************************/
|
113851 |
/* harmony default export */ __webpack_exports__["a"] = (TweetButton);
|
113852 |
|
113853 |
/***/ }),
|
113854 |
+
/* 662 */
|
113855 |
/*!***************************************!*\
|
113856 |
!*** ./src/blocks/blockquote/save.js ***!
|
113857 |
\***************************************/
|
113868 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_Description__ = __webpack_require__(/*! ./components/Description */ 126);
|
113869 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_AuthorText__ = __webpack_require__(/*! ./components/AuthorText */ 127);
|
113870 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_AuthorImage__ = __webpack_require__(/*! ./components/AuthorImage */ 128);
|
113871 |
+
/**
|
113872 |
+
* BLOCK: Blockquote - Save Block
|
113873 |
*/
|
113874 |
|
113875 |
|
113944 |
}
|
113945 |
|
113946 |
/***/ }),
|
113947 |
+
/* 663 */
|
113948 |
/*!*******************************************!*\
|
113949 |
!*** ./src/blocks/blockquote/editor.scss ***!
|
113950 |
\*******************************************/
|
113954 |
// removed by extract-text-webpack-plugin
|
113955 |
|
113956 |
/***/ }),
|
113957 |
+
/* 664 */
|
113958 |
/*!******************************************!*\
|
113959 |
!*** ./src/blocks/blockquote/style.scss ***!
|
113960 |
\******************************************/
|
113964 |
// removed by extract-text-webpack-plugin
|
113965 |
|
113966 |
/***/ }),
|
113967 |
+
/* 665 */
|
113968 |
/*!**********************************************!*\
|
113969 |
!*** ./src/blocks/marketing-button/block.js ***!
|
113970 |
\**********************************************/
|
113974 |
"use strict";
|
113975 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
113976 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 227);
|
113977 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 666);
|
113978 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 668);
|
113979 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */ 669);
|
113980 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 670);
|
113981 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
113982 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 671);
|
113983 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
113984 |
+
/**
|
113985 |
+
* BLOCK: Marketing Button
|
113986 |
*/
|
113987 |
|
113988 |
|
114001 |
description: uagb_blocks_info.blocks["uagb/marketing-button"]["description"],
|
114002 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].marketing_button,
|
114003 |
category: uagb_blocks_info.category,
|
114004 |
+
keywords: [__("marketing button", 'ultimate-addons-for-gutenberg'), __("cta", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
114005 |
supports: {
|
114006 |
anchor: true
|
114007 |
},
|
114013 |
});
|
114014 |
|
114015 |
/***/ }),
|
114016 |
+
/* 666 */
|
114017 |
/*!*********************************************!*\
|
114018 |
!*** ./src/blocks/marketing-button/edit.js ***!
|
114019 |
\*********************************************/
|
114024 |
"use strict";
|
114025 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
114026 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
114027 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__styling__ = __webpack_require__(/*! ./styling */ 667);
|
114028 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker__ = __webpack_require__(/*! @fonticonpicker/react-fonticonpicker */ 10);
|
114029 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__fonticonpicker_react_fonticonpicker__);
|
114030 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
114041 |
|
114042 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
114043 |
|
114044 |
+
/**
|
114045 |
+
* BLOCK: Marketing Button
|
114046 |
*/
|
114047 |
|
114048 |
|
114289 |
wp.element.createElement(ToolbarButton, {
|
114290 |
icon: "admin-links",
|
114291 |
name: "link",
|
114292 |
+
title: __('Link', 'ultimate-addons-for-gutenberg'),
|
114293 |
onClick: this.onClickLinkSettings
|
114294 |
})
|
114295 |
)
|
114300 |
null,
|
114301 |
wp.element.createElement(
|
114302 |
PanelBody,
|
114303 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
114304 |
wp.element.createElement(SelectControl, {
|
114305 |
+
label: __("Text Alignment", 'ultimate-addons-for-gutenberg'),
|
114306 |
value: textAlign,
|
114307 |
onChange: function onChange(value) {
|
114308 |
return setAttributes({ textAlign: value });
|
114309 |
},
|
114310 |
+
options: [{ value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }, { value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }]
|
114311 |
}),
|
114312 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
114313 |
wp.element.createElement(
|
114323 |
return setAttributes({ icon: value });
|
114324 |
},
|
114325 |
isMulti: false,
|
114326 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
114327 |
}),
|
114328 |
"" != icon && wp.element.createElement(
|
114329 |
Fragment,
|
114330 |
null,
|
114331 |
wp.element.createElement(SelectControl, {
|
114332 |
+
label: __("Icon Position", 'ultimate-addons-for-gutenberg'),
|
114333 |
value: iconPosition,
|
114334 |
onChange: function onChange(value) {
|
114335 |
return setAttributes({ iconPosition: value });
|
114336 |
},
|
114337 |
+
options: [{ value: "before", label: __("Before Text", 'ultimate-addons-for-gutenberg') }, { value: "after", label: __("After Text", 'ultimate-addons-for-gutenberg') }]
|
114338 |
}),
|
114339 |
wp.element.createElement(RangeControl, {
|
114340 |
+
label: __("Icon Spacing", 'ultimate-addons-for-gutenberg'),
|
114341 |
value: iconSpace,
|
114342 |
onChange: function onChange(value) {
|
114343 |
return setAttributes({ iconSpace: value });
|
114348 |
allowReset: true
|
114349 |
}),
|
114350 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
114351 |
+
label: __("Icon Size", 'ultimate-addons-for-gutenberg'),
|
114352 |
attributes: attributes,
|
114353 |
setAttributes: setAttributes,
|
114354 |
fontSizeType: { value: iconFontSizeType, label: "iconFontSizeType" },
|
114362 |
})
|
114363 |
),
|
114364 |
wp.element.createElement(RangeControl, {
|
114365 |
+
label: __("Title Bottom Spacing", 'ultimate-addons-for-gutenberg'),
|
114366 |
value: titleSpace,
|
114367 |
onChange: function onChange(value) {
|
114368 |
return setAttributes({ titleSpace: value });
|
114375 |
),
|
114376 |
wp.element.createElement(
|
114377 |
PanelBody,
|
114378 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
114379 |
wp.element.createElement(SelectControl, {
|
114380 |
+
label: __("Title Tag", 'ultimate-addons-for-gutenberg'),
|
114381 |
value: titleTag,
|
114382 |
onChange: function onChange(value) {
|
114383 |
return setAttributes({ titleTag: value });
|
114384 |
},
|
114385 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }, { value: "span", label: __("span", 'ultimate-addons-for-gutenberg') }, { value: "p", label: __("p", 'ultimate-addons-for-gutenberg') }]
|
114386 |
}),
|
114387 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
114388 |
wp.element.createElement(
|
114389 |
"h2",
|
114390 |
null,
|
114391 |
+
__("Title", 'ultimate-addons-for-gutenberg')
|
114392 |
),
|
114393 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
114394 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
114395 |
attributes: attributes,
|
114396 |
setAttributes: setAttributes,
|
114397 |
loadGoogleFonts: { value: loadTitleGoogleFonts, label: "loadTitleGoogleFonts" },
|
114411 |
wp.element.createElement(
|
114412 |
"h2",
|
114413 |
null,
|
114414 |
+
__("Description", 'ultimate-addons-for-gutenberg')
|
114415 |
),
|
114416 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
114417 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
114418 |
attributes: attributes,
|
114419 |
setAttributes: setAttributes,
|
114420 |
loadGoogleFonts: { value: loadPrefixGoogleFonts, label: "loadPrefixGoogleFonts" },
|
114442 |
activeClass: "active-tab",
|
114443 |
tabs: [{
|
114444 |
name: "normal",
|
114445 |
+
title: __("Normal", 'ultimate-addons-for-gutenberg'),
|
114446 |
className: "uagb-normal-tab"
|
114447 |
}, {
|
114448 |
name: "hover",
|
114449 |
+
title: __("Hover", 'ultimate-addons-for-gutenberg'),
|
114450 |
className: "uagb-focus-tab"
|
114451 |
}] },
|
114452 |
function (tabName) {
|
114458 |
wp.element.createElement(
|
114459 |
"p",
|
114460 |
{ className: "uagb-setting-label" },
|
114461 |
+
__("Title Color", 'ultimate-addons-for-gutenberg'),
|
114462 |
wp.element.createElement(
|
114463 |
"span",
|
114464 |
{ className: "components-base-control__label" },
|
114475 |
wp.element.createElement(
|
114476 |
"p",
|
114477 |
{ className: "uagb-setting-label" },
|
114478 |
+
__("Icon Color", 'ultimate-addons-for-gutenberg'),
|
114479 |
wp.element.createElement(
|
114480 |
"span",
|
114481 |
{ className: "components-base-control__label" },
|
114492 |
wp.element.createElement(
|
114493 |
"p",
|
114494 |
{ className: "uagb-setting-label" },
|
114495 |
+
__("Description Color", 'ultimate-addons-for-gutenberg'),
|
114496 |
wp.element.createElement(
|
114497 |
"span",
|
114498 |
{ className: "components-base-control__label" },
|
114514 |
wp.element.createElement(
|
114515 |
"p",
|
114516 |
{ className: "uagb-setting-label" },
|
114517 |
+
__("Title Hover Color", 'ultimate-addons-for-gutenberg'),
|
114518 |
wp.element.createElement(
|
114519 |
"span",
|
114520 |
{ className: "components-base-control__label" },
|
114531 |
wp.element.createElement(
|
114532 |
"p",
|
114533 |
{ className: "uagb-setting-label" },
|
114534 |
+
__("Icon Hover Color", 'ultimate-addons-for-gutenberg'),
|
114535 |
wp.element.createElement(
|
114536 |
"span",
|
114537 |
{ className: "components-base-control__label" },
|
114548 |
wp.element.createElement(
|
114549 |
"p",
|
114550 |
{ className: "uagb-setting-label" },
|
114551 |
+
__("Description Hover Color", 'ultimate-addons-for-gutenberg'),
|
114552 |
wp.element.createElement(
|
114553 |
"span",
|
114554 |
{ className: "components-base-control__label" },
|
114574 |
),
|
114575 |
wp.element.createElement(
|
114576 |
PanelBody,
|
114577 |
+
{ title: __("Background", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
114578 |
wp.element.createElement(
|
114579 |
TabPanel,
|
114580 |
{ className: "uagb-size-type-field-tabs uagb-size-type-field__common-tabs uagb-inline-margin", activeClass: "active-tab",
|
114600 |
null,
|
114601 |
wp.element.createElement(
|
114602 |
ButtonGroup,
|
114603 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
114604 |
wp.element.createElement(
|
114605 |
Button,
|
114606 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingType === "px", "aria-pressed": paddingType === "px", onClick: function onClick() {
|
114619 |
wp.element.createElement(
|
114620 |
"h2",
|
114621 |
null,
|
114622 |
+
__("Button Padding", 'ultimate-addons-for-gutenberg')
|
114623 |
),
|
114624 |
wp.element.createElement(RangeControl, {
|
114625 |
label: __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
114648 |
null,
|
114649 |
wp.element.createElement(
|
114650 |
ButtonGroup,
|
114651 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
114652 |
wp.element.createElement(
|
114653 |
Button,
|
114654 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingType === "px", "aria-pressed": paddingType === "px", onClick: function onClick() {
|
114667 |
wp.element.createElement(
|
114668 |
"h2",
|
114669 |
null,
|
114670 |
+
__("Button Padding", 'ultimate-addons-for-gutenberg')
|
114671 |
),
|
114672 |
wp.element.createElement(RangeControl, {
|
114673 |
label: __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
114696 |
null,
|
114697 |
wp.element.createElement(
|
114698 |
ButtonGroup,
|
114699 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
114700 |
wp.element.createElement(
|
114701 |
Button,
|
114702 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingType === "px", "aria-pressed": paddingType === "px", onClick: function onClick() {
|
114715 |
wp.element.createElement(
|
114716 |
"h2",
|
114717 |
null,
|
114718 |
+
__("Button Padding", 'ultimate-addons-for-gutenberg')
|
114719 |
),
|
114720 |
wp.element.createElement(RangeControl, {
|
114721 |
label: __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
114751 |
wp.element.createElement(
|
114752 |
"h2",
|
114753 |
null,
|
114754 |
+
__("Button Background", 'ultimate-addons-for-gutenberg')
|
114755 |
),
|
114756 |
wp.element.createElement(SelectControl, {
|
114757 |
+
label: __("Background Type", 'ultimate-addons-for-gutenberg'),
|
114758 |
value: backgroundType,
|
114759 |
onChange: function onChange(value) {
|
114760 |
return setAttributes({ backgroundType: value });
|
114761 |
},
|
114762 |
+
options: [{ value: "transparent", label: __("Transparent", 'ultimate-addons-for-gutenberg') }, { value: "color", label: __("Color", 'ultimate-addons-for-gutenberg') }, { value: "gradient", label: __("Gradient", 'ultimate-addons-for-gutenberg') }]
|
114763 |
}),
|
114764 |
"color" == backgroundType && wp.element.createElement(
|
114765 |
Fragment,
|
114767 |
wp.element.createElement(
|
114768 |
"p",
|
114769 |
{ className: "uagb-setting-label" },
|
114770 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
114771 |
wp.element.createElement(
|
114772 |
"span",
|
114773 |
{ className: "components-base-control__label" },
|
114786 |
Fragment,
|
114787 |
null,
|
114788 |
wp.element.createElement(PanelColorSettings, {
|
114789 |
+
title: __("Color Settings", 'ultimate-addons-for-gutenberg'),
|
114790 |
colorSettings: [{
|
114791 |
value: gradientColor2,
|
114792 |
onChange: function onChange(value) {
|
114793 |
return setAttributes({ gradientColor2: value });
|
114794 |
},
|
114795 |
+
label: __("Color 1", 'ultimate-addons-for-gutenberg')
|
114796 |
}, {
|
114797 |
value: gradientColor1,
|
114798 |
onChange: function onChange(value) {
|
114799 |
return setAttributes({ gradientColor1: value });
|
114800 |
},
|
114801 |
+
label: __("Color 2", 'ultimate-addons-for-gutenberg')
|
114802 |
}]
|
114803 |
}),
|
114804 |
wp.element.createElement(SelectControl, {
|
114805 |
+
label: __("Type", 'ultimate-addons-for-gutenberg'),
|
114806 |
value: gradientType,
|
114807 |
onChange: function onChange(value) {
|
114808 |
return setAttributes({ gradientType: value });
|
114809 |
},
|
114810 |
+
options: [{ value: "linear", label: __("Linear", 'ultimate-addons-for-gutenberg') }, { value: "radial", label: __("Radial", 'ultimate-addons-for-gutenberg') }]
|
114811 |
}),
|
114812 |
wp.element.createElement(RangeControl, {
|
114813 |
+
label: __("Location 1", 'ultimate-addons-for-gutenberg'),
|
114814 |
value: gradientLocation1,
|
114815 |
onChange: function onChange(value) {
|
114816 |
return setAttributes({ gradientLocation1: value });
|
114820 |
allowReset: true
|
114821 |
}),
|
114822 |
wp.element.createElement(RangeControl, {
|
114823 |
+
label: __("Location 2", 'ultimate-addons-for-gutenberg'),
|
114824 |
value: gradientLocation2,
|
114825 |
onChange: function onChange(value) {
|
114826 |
return setAttributes({ gradientLocation2: value });
|
114830 |
allowReset: true
|
114831 |
}),
|
114832 |
wp.element.createElement(RangeControl, {
|
114833 |
+
label: __("Angle", 'ultimate-addons-for-gutenberg'),
|
114834 |
value: gradientAngle,
|
114835 |
onChange: function onChange(value) {
|
114836 |
return setAttributes({ gradientAngle: value });
|
114841 |
})
|
114842 |
),
|
114843 |
"transparent" != backgroundType && wp.element.createElement(RangeControl, {
|
114844 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
114845 |
value: backgroundOpacity,
|
114846 |
onChange: function onChange(value) {
|
114847 |
return setAttributes({ backgroundOpacity: value });
|
114857 |
wp.element.createElement(
|
114858 |
"p",
|
114859 |
{ className: "uagb-setting-label" },
|
114860 |
+
__("Background Hover Color", 'ultimate-addons-for-gutenberg'),
|
114861 |
wp.element.createElement(
|
114862 |
"span",
|
114863 |
{ className: "components-base-control__label" },
|
114872 |
allowReset: true
|
114873 |
}),
|
114874 |
wp.element.createElement(RangeControl, {
|
114875 |
+
label: __("Opacity", 'ultimate-addons-for-gutenberg'),
|
114876 |
value: backgroundHoverOpacity,
|
114877 |
onChange: function onChange(value) {
|
114878 |
return setAttributes({ backgroundHoverOpacity: value });
|
114886 |
),
|
114887 |
wp.element.createElement(
|
114888 |
PanelBody,
|
114889 |
+
{ title: __("Border", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
114890 |
wp.element.createElement(SelectControl, {
|
114891 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
114892 |
value: borderStyle,
|
114893 |
onChange: function onChange(value) {
|
114894 |
return setAttributes({ borderStyle: value });
|
114895 |
},
|
114896 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
114897 |
}),
|
114898 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
114899 |
+
label: __("Border Width", 'ultimate-addons-for-gutenberg'),
|
114900 |
value: borderWidth,
|
114901 |
onChange: function onChange(value) {
|
114902 |
return setAttributes({ borderWidth: value });
|
114906 |
allowReset: true
|
114907 |
}),
|
114908 |
wp.element.createElement(RangeControl, {
|
114909 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
114910 |
value: borderRadius,
|
114911 |
onChange: function onChange(value) {
|
114912 |
return setAttributes({ borderRadius: value });
|
114921 |
wp.element.createElement(
|
114922 |
"p",
|
114923 |
{ className: "uagb-setting-label" },
|
114924 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
114925 |
wp.element.createElement(
|
114926 |
"span",
|
114927 |
{ className: "components-base-control__label" },
|
114938 |
wp.element.createElement(
|
114939 |
"p",
|
114940 |
{ className: "uagb-setting-label" },
|
114941 |
+
__("Border Hover Color", 'ultimate-addons-for-gutenberg'),
|
114942 |
wp.element.createElement(
|
114943 |
"span",
|
114944 |
{ className: "components-base-control__label" },
|
114973 |
Object(__WEBPACK_IMPORTED_MODULE_5__dist_blocks_uagb_controls_renderIcon__["a" /* default */])(icon)
|
114974 |
),
|
114975 |
wp.element.createElement(RichText, {
|
114976 |
+
placeholder: __("Add Button Title…", 'ultimate-addons-for-gutenberg'),
|
114977 |
value: heading,
|
114978 |
tagName: titleTag,
|
114979 |
onChange: function onChange(value) {
|
115000 |
"div",
|
115001 |
{ className: "uagb-marketing-btn__prefix-wrap" },
|
115002 |
wp.element.createElement(RichText, {
|
115003 |
+
placeholder: __("Add Button Description…", 'ultimate-addons-for-gutenberg'),
|
115004 |
value: prefix,
|
115005 |
tagName: "p",
|
115006 |
onChange: function onChange(value) {
|
115038 |
/* harmony default export */ __webpack_exports__["a"] = (UAGBMarketingButtonEdit);
|
115039 |
|
115040 |
/***/ }),
|
115041 |
+
/* 667 */
|
115042 |
/*!************************************************!*\
|
115043 |
!*** ./src/blocks/marketing-button/styling.js ***!
|
115044 |
\************************************************/
|
115050 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
115051 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_hexToRgba__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/hexToRgba */ 102);
|
115052 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
115053 |
+
/**
|
115054 |
+
* Returns Dynamic Generated CSS
|
115055 |
*/
|
115056 |
|
115057 |
|
115256 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
115257 |
|
115258 |
/***/ }),
|
115259 |
+
/* 668 */
|
115260 |
/*!*********************************************!*\
|
115261 |
!*** ./src/blocks/marketing-button/save.js ***!
|
115262 |
\*********************************************/
|
115269 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
115270 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
115271 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
115272 |
+
/**
|
115273 |
+
* BLOCK: Column - Save Block
|
115274 |
*/
|
115275 |
|
115276 |
// Import block dependencies and components.
|
115336 |
}
|
115337 |
|
115338 |
/***/ }),
|
115339 |
+
/* 669 */
|
115340 |
/*!***************************************************!*\
|
115341 |
!*** ./src/blocks/marketing-button/deprecated.js ***!
|
115342 |
\***************************************************/
|
115349 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
115350 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 227);
|
115351 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
115352 |
+
/**
|
115353 |
+
* BLOCK: Columns - Deprecated Block
|
115354 |
*/
|
115355 |
|
115356 |
// Import block dependencies and components.
|
115422 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
115423 |
|
115424 |
/***/ }),
|
115425 |
+
/* 670 */
|
115426 |
/*!************************************************!*\
|
115427 |
!*** ./src/blocks/marketing-button/style.scss ***!
|
115428 |
\************************************************/
|
115432 |
// removed by extract-text-webpack-plugin
|
115433 |
|
115434 |
/***/ }),
|
115435 |
+
/* 671 */
|
115436 |
/*!*************************************************!*\
|
115437 |
!*** ./src/blocks/marketing-button/editor.scss ***!
|
115438 |
\*************************************************/
|
115442 |
// removed by extract-text-webpack-plugin
|
115443 |
|
115444 |
/***/ }),
|
115445 |
+
/* 672 */
|
115446 |
/*!***********************************************!*\
|
115447 |
!*** ./src/blocks/table-of-contents/block.js ***!
|
115448 |
\***********************************************/
|
115452 |
"use strict";
|
115453 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
115454 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 228);
|
115455 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 673);
|
115456 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 675);
|
115457 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */ 676);
|
115458 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 679);
|
115459 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
|
115460 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 680);
|
115461 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__editor_scss__);
|
115462 |
+
/**
|
115463 |
+
* BLOCK: Table of Contents
|
115464 |
*/
|
115465 |
|
115466 |
|
115480 |
description: uagb_blocks_info.blocks["uagb/table-of-contents"]["description"],
|
115481 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].table_of_contents,
|
115482 |
category: uagb_blocks_info.category,
|
115483 |
+
keywords: [__("table of contents", 'ultimate-addons-for-gutenberg'), __("table", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
115484 |
supports: {
|
115485 |
anchor: true
|
115486 |
},
|
115492 |
});
|
115493 |
|
115494 |
/***/ }),
|
115495 |
+
/* 673 */
|
115496 |
/*!**********************************************!*\
|
115497 |
!*** ./src/blocks/table-of-contents/edit.js ***!
|
115498 |
\**********************************************/
|
115503 |
"use strict";
|
115504 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
115505 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
115506 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__styling__ = __webpack_require__(/*! ./styling */ 674);
|
115507 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
115508 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_UAGBIcon_json__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/UAGBIcon.json */ 9);
|
115509 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_UAGBIcon_json___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__dist_blocks_uagb_controls_UAGBIcon_json__);
|
115523 |
|
115524 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
115525 |
|
115526 |
+
/**
|
115527 |
+
* BLOCK: Table of Contents
|
115528 |
*/
|
115529 |
|
115530 |
|
115758 |
onChange: this.getIcon,
|
115759 |
isMulti: false,
|
115760 |
renderFunc: __WEBPACK_IMPORTED_MODULE_5__dist_blocks_uagb_controls_renderIcon__["a" /* default */],
|
115761 |
+
noSelectedPlaceholder: __("Select Icon", 'ultimate-addons-for-gutenberg')
|
115762 |
};
|
115763 |
|
115764 |
var icon_html = '';
|
115790 |
null,
|
115791 |
wp.element.createElement(
|
115792 |
PanelBody,
|
115793 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
115794 |
wp.element.createElement(
|
115795 |
"h2",
|
115796 |
null,
|
115797 |
+
__("Select the heading to consider when generating the table", 'ultimate-addons-for-gutenberg')
|
115798 |
),
|
115799 |
mappingHeaders.map(function (a, i) {
|
115800 |
return wp.element.createElement(
|
115819 |
),
|
115820 |
wp.element.createElement(
|
115821 |
PanelBody,
|
115822 |
+
{ title: __("Scroll", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
115823 |
wp.element.createElement(ToggleControl, {
|
115824 |
+
label: __("Smooth Scroll", 'ultimate-addons-for-gutenberg'),
|
115825 |
checked: smoothScroll,
|
115826 |
+
help: __("This will be in Action only in Front End.", 'ultimate-addons-for-gutenberg'),
|
115827 |
onChange: function onChange(value) {
|
115828 |
return setAttributes({ smoothScroll: !smoothScroll });
|
115829 |
}
|
115832 |
Fragment,
|
115833 |
null,
|
115834 |
wp.element.createElement(RangeControl, {
|
115835 |
+
label: __("Smooth Scroll Offset (px)", 'ultimate-addons-for-gutenberg'),
|
115836 |
value: smoothScrollOffset,
|
115837 |
onChange: function onChange(value) {
|
115838 |
return setAttributes({ smoothScrollOffset: value });
|
115841 |
max: 1000
|
115842 |
}),
|
115843 |
wp.element.createElement(RangeControl, {
|
115844 |
+
label: __("Scroll Animation Delay (ms)", 'ultimate-addons-for-gutenberg'),
|
115845 |
value: smoothScrollDelay,
|
115846 |
onChange: function onChange(value) {
|
115847 |
return setAttributes({ smoothScrollDelay: value });
|
115852 |
),
|
115853 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
115854 |
wp.element.createElement(ToggleControl, {
|
115855 |
+
label: __("Show Scroll To Top", 'ultimate-addons-for-gutenberg'),
|
115856 |
checked: scrollToTop,
|
115857 |
+
help: __("This will add a Scroll to Top arrow at the bottom of page.", 'ultimate-addons-for-gutenberg'),
|
115858 |
onChange: function onChange(value) {
|
115859 |
return setAttributes({ scrollToTop: !scrollToTop });
|
115860 |
}
|
115865 |
wp.element.createElement(
|
115866 |
"p",
|
115867 |
{ className: "uagb-setting-label" },
|
115868 |
+
__("Icon Color", 'ultimate-addons-for-gutenberg'),
|
115869 |
wp.element.createElement(
|
115870 |
"span",
|
115871 |
{ className: "components-base-control__label" },
|
115882 |
wp.element.createElement(
|
115883 |
"p",
|
115884 |
{ className: "uagb-setting-label" },
|
115885 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
115886 |
wp.element.createElement(
|
115887 |
"span",
|
115888 |
{ className: "components-base-control__label" },
|
115900 |
),
|
115901 |
wp.element.createElement(
|
115902 |
PanelBody,
|
115903 |
+
{ title: __("Content", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
115904 |
wp.element.createElement(
|
115905 |
"h2",
|
115906 |
null,
|
115907 |
+
__("Heading", 'ultimate-addons-for-gutenberg')
|
115908 |
),
|
115909 |
wp.element.createElement(SelectControl, {
|
115910 |
+
label: __("Alignment", 'ultimate-addons-for-gutenberg'),
|
115911 |
value: headingAlignment,
|
115912 |
onChange: function onChange(value) {
|
115913 |
return setAttributes({ headingAlignment: value });
|
115914 |
},
|
115915 |
+
options: [{ value: "left", label: __("Left", 'ultimate-addons-for-gutenberg') }, { value: "center", label: __("Center", 'ultimate-addons-for-gutenberg') }, { value: "right", label: __("Right", 'ultimate-addons-for-gutenberg') }]
|
115916 |
}),
|
115917 |
wp.element.createElement(RangeControl, {
|
115918 |
+
label: __("Bottom Space", 'ultimate-addons-for-gutenberg'),
|
115919 |
value: headingBottom,
|
115920 |
onChange: function onChange(value) {
|
115921 |
return setAttributes({ headingBottom: value });
|
115925 |
allowReset: true
|
115926 |
}),
|
115927 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
115928 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
115929 |
attributes: attributes,
|
115930 |
setAttributes: setAttributes,
|
115931 |
loadGoogleFonts: { value: headingLoadGoogleFonts, label: "headingLoadGoogleFonts" },
|
115944 |
wp.element.createElement(
|
115945 |
"p",
|
115946 |
{ className: "uagb-setting-label" },
|
115947 |
+
__("Heading Color", 'ultimate-addons-for-gutenberg'),
|
115948 |
wp.element.createElement(
|
115949 |
"span",
|
115950 |
{ className: "components-base-control__label" },
|
115962 |
wp.element.createElement(
|
115963 |
"h2",
|
115964 |
null,
|
115965 |
+
__("Collapsible", 'ultimate-addons-for-gutenberg')
|
115966 |
),
|
115967 |
wp.element.createElement(ToggleControl, {
|
115968 |
+
label: __("Make Content Collapsible", 'ultimate-addons-for-gutenberg'),
|
115969 |
checked: makeCollapsible,
|
115970 |
onChange: function onChange(value) {
|
115971 |
return setAttributes({ makeCollapsible: !makeCollapsible });
|
115975 |
Fragment,
|
115976 |
null,
|
115977 |
wp.element.createElement(ToggleControl, {
|
115978 |
+
label: __("Keep Collapsed Initially", 'ultimate-addons-for-gutenberg'),
|
115979 |
checked: initialCollapse,
|
115980 |
onChange: function onChange(value) {
|
115981 |
return setAttributes({ initialCollapse: !initialCollapse });
|
115983 |
}),
|
115984 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__fonticonpicker_react_fonticonpicker___default.a, icon_props),
|
115985 |
wp.element.createElement(RangeControl, {
|
115986 |
+
label: __("Icon Size", 'ultimate-addons-for-gutenberg'),
|
115987 |
value: iconSize,
|
115988 |
onChange: function onChange(value) {
|
115989 |
return setAttributes({ iconSize: value });
|
116005 |
wp.element.createElement(
|
116006 |
"h2",
|
116007 |
null,
|
116008 |
+
__("Content", 'ultimate-addons-for-gutenberg')
|
116009 |
),
|
116010 |
wp.element.createElement(ToggleControl, {
|
116011 |
+
label: __("Disable Bullet Points", 'ultimate-addons-for-gutenberg'),
|
116012 |
checked: disableBullets,
|
116013 |
onChange: function onChange(value) {
|
116014 |
return setAttributes({ disableBullets: !disableBullets });
|
116020 |
wp.element.createElement(
|
116021 |
"p",
|
116022 |
{ className: "uagb-setting-label" },
|
116023 |
+
__("Bullet Points Color", 'ultimate-addons-for-gutenberg'),
|
116024 |
wp.element.createElement(
|
116025 |
"span",
|
116026 |
{ className: "components-base-control__label" },
|
116060 |
null,
|
116061 |
wp.element.createElement(
|
116062 |
ButtonGroup,
|
116063 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116064 |
wp.element.createElement(
|
116065 |
Button,
|
116066 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: contentPaddingTypeMobile === "px", "aria-pressed": contentPaddingTypeMobile === "px", onClick: function onClick() {
|
116079 |
wp.element.createElement(
|
116080 |
"h2",
|
116081 |
{ className: "uagb-light-font-weight" },
|
116082 |
+
__("Gap Between Lists", 'ultimate-addons-for-gutenberg')
|
116083 |
),
|
116084 |
wp.element.createElement(RangeControl, {
|
116085 |
className: "uagb-margin-control",
|
116098 |
null,
|
116099 |
wp.element.createElement(
|
116100 |
ButtonGroup,
|
116101 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116102 |
wp.element.createElement(
|
116103 |
Button,
|
116104 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: contentPaddingTypeTablet === "px", "aria-pressed": contentPaddingTypeTablet === "px", onClick: function onClick() {
|
116117 |
wp.element.createElement(
|
116118 |
"h2",
|
116119 |
{ className: "uagb-lighter-font-weight" },
|
116120 |
+
__("Gap Between Lists", 'ultimate-addons-for-gutenberg')
|
116121 |
),
|
116122 |
wp.element.createElement(RangeControl, {
|
116123 |
className: "uagb-margin-control",
|
116136 |
null,
|
116137 |
wp.element.createElement(
|
116138 |
ButtonGroup,
|
116139 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116140 |
wp.element.createElement(
|
116141 |
Button,
|
116142 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: contentPaddingTypeDesktop === "px", "aria-pressed": contentPaddingTypeDesktop === "px", onClick: function onClick() {
|
116155 |
wp.element.createElement(
|
116156 |
"h2",
|
116157 |
{ className: "uagb-light-font-weight" },
|
116158 |
+
__("Gap Between Lists", 'ultimate-addons-for-gutenberg')
|
116159 |
),
|
116160 |
wp.element.createElement(RangeControl, {
|
116161 |
className: "uagb-gap-control",
|
116178 |
}
|
116179 |
),
|
116180 |
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_typography__["a" /* default */], {
|
116181 |
+
label: __("Typography", 'ultimate-addons-for-gutenberg'),
|
116182 |
attributes: attributes,
|
116183 |
setAttributes: setAttributes,
|
116184 |
loadGoogleFonts: { value: loadGoogleFonts, label: "loadGoogleFonts" },
|
116197 |
wp.element.createElement(
|
116198 |
"p",
|
116199 |
{ className: "uagb-setting-label" },
|
116200 |
+
__("Content Color", 'ultimate-addons-for-gutenberg'),
|
116201 |
wp.element.createElement(
|
116202 |
"span",
|
116203 |
{ className: "components-base-control__label" },
|
116214 |
wp.element.createElement(
|
116215 |
"p",
|
116216 |
{ className: "uagb-setting-label" },
|
116217 |
+
__("Content Hover Color", 'ultimate-addons-for-gutenberg'),
|
116218 |
wp.element.createElement(
|
116219 |
"span",
|
116220 |
{ className: "components-base-control__label" },
|
116231 |
),
|
116232 |
wp.element.createElement(
|
116233 |
PanelBody,
|
116234 |
+
{ title: __("Style", 'ultimate-addons-for-gutenberg'), initialOpen: false },
|
116235 |
wp.element.createElement(
|
116236 |
"h2",
|
116237 |
null,
|
116238 |
+
__("Background", 'ultimate-addons-for-gutenberg')
|
116239 |
),
|
116240 |
wp.element.createElement(
|
116241 |
"p",
|
116242 |
{ className: "uagb-setting-label" },
|
116243 |
+
__("Background Color", 'ultimate-addons-for-gutenberg'),
|
116244 |
wp.element.createElement(
|
116245 |
"span",
|
116246 |
{ className: "components-base-control__label" },
|
116256 |
}),
|
116257 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
116258 |
wp.element.createElement(ToggleControl, {
|
116259 |
+
label: __("Custom Width", 'ultimate-addons-for-gutenberg'),
|
116260 |
checked: customWidth,
|
116261 |
onChange: function onChange(value) {
|
116262 |
return setAttributes({ customWidth: !customWidth });
|
116263 |
},
|
116264 |
+
help: __("Table's width will be auto if this is kept off.", 'ultimate-addons-for-gutenberg')
|
116265 |
}),
|
116266 |
customWidth && wp.element.createElement(
|
116267 |
TabPanel,
|
116288 |
null,
|
116289 |
wp.element.createElement(
|
116290 |
ButtonGroup,
|
116291 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116292 |
wp.element.createElement(
|
116293 |
Button,
|
116294 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: widthTypeMobile === "px", "aria-pressed": widthTypeMobile === "px", onClick: function onClick() {
|
116305 |
)
|
116306 |
),
|
116307 |
wp.element.createElement(RangeControl, {
|
116308 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
116309 |
value: widthMobile,
|
116310 |
onChange: function onChange(value) {
|
116311 |
return setAttributes({ widthMobile: value });
|
116322 |
null,
|
116323 |
wp.element.createElement(
|
116324 |
ButtonGroup,
|
116325 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116326 |
wp.element.createElement(
|
116327 |
Button,
|
116328 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: widthTypeTablet === "px", "aria-pressed": widthTypeTablet === "px", onClick: function onClick() {
|
116339 |
)
|
116340 |
),
|
116341 |
wp.element.createElement(RangeControl, {
|
116342 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
116343 |
value: widthTablet,
|
116344 |
onChange: function onChange(value) {
|
116345 |
return setAttributes({ widthTablet: value });
|
116356 |
null,
|
116357 |
wp.element.createElement(
|
116358 |
ButtonGroup,
|
116359 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116360 |
wp.element.createElement(
|
116361 |
Button,
|
116362 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: widthTypeDesktop === "px", "aria-pressed": widthTypeDesktop === "px", onClick: function onClick() {
|
116373 |
)
|
116374 |
),
|
116375 |
wp.element.createElement(RangeControl, {
|
116376 |
+
label: __("Width", 'ultimate-addons-for-gutenberg'),
|
116377 |
value: widthDesktop,
|
116378 |
onChange: function onChange(value) {
|
116379 |
return setAttributes({ widthDesktop: value });
|
116414 |
|
116415 |
if ("mobile" === tab.name) {
|
116416 |
tabout = wp.element.createElement(RangeControl, {
|
116417 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
116418 |
value: tColumnsMobile,
|
116419 |
onChange: function onChange(value) {
|
116420 |
return setAttributes({ tColumnsMobile: value });
|
116424 |
});
|
116425 |
} else if ("tablet" === tab.name) {
|
116426 |
tabout = wp.element.createElement(RangeControl, {
|
116427 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
116428 |
value: tColumnsTablet,
|
116429 |
onChange: function onChange(value) {
|
116430 |
return setAttributes({ tColumnsTablet: value });
|
116434 |
});
|
116435 |
} else {
|
116436 |
tabout = wp.element.createElement(RangeControl, {
|
116437 |
+
label: __("Columns", 'ultimate-addons-for-gutenberg'),
|
116438 |
value: tColumnsDesktop,
|
116439 |
onChange: function onChange(value) {
|
116440 |
return setAttributes({ tColumnsDesktop: value });
|
116477 |
null,
|
116478 |
wp.element.createElement(
|
116479 |
ButtonGroup,
|
116480 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116481 |
wp.element.createElement(
|
116482 |
Button,
|
116483 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingTypeMobile === "px", "aria-pressed": paddingTypeMobile === "px", onClick: function onClick() {
|
116496 |
wp.element.createElement(
|
116497 |
"h2",
|
116498 |
null,
|
116499 |
+
__("Padding", 'ultimate-addons-for-gutenberg')
|
116500 |
),
|
116501 |
wp.element.createElement(RangeControl, {
|
116502 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
116527 |
null,
|
116528 |
wp.element.createElement(
|
116529 |
ButtonGroup,
|
116530 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116531 |
wp.element.createElement(
|
116532 |
Button,
|
116533 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingTypeTablet === "px", "aria-pressed": paddingTypeTablet === "px", onClick: function onClick() {
|
116546 |
wp.element.createElement(
|
116547 |
"h2",
|
116548 |
null,
|
116549 |
+
__("Padding", 'ultimate-addons-for-gutenberg')
|
116550 |
),
|
116551 |
wp.element.createElement(RangeControl, {
|
116552 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
116577 |
null,
|
116578 |
wp.element.createElement(
|
116579 |
ButtonGroup,
|
116580 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116581 |
wp.element.createElement(
|
116582 |
Button,
|
116583 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: paddingTypeDesktop === "px", "aria-pressed": paddingTypeDesktop === "px", onClick: function onClick() {
|
116596 |
wp.element.createElement(
|
116597 |
"h2",
|
116598 |
null,
|
116599 |
+
__("Padding", 'ultimate-addons-for-gutenberg')
|
116600 |
),
|
116601 |
wp.element.createElement(RangeControl, {
|
116602 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
116655 |
null,
|
116656 |
wp.element.createElement(
|
116657 |
ButtonGroup,
|
116658 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116659 |
wp.element.createElement(
|
116660 |
Button,
|
116661 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: marginTypeMobile === "px", "aria-pressed": marginTypeMobile === "px", onClick: function onClick() {
|
116674 |
wp.element.createElement(
|
116675 |
"h2",
|
116676 |
null,
|
116677 |
+
__("List Margin", 'ultimate-addons-for-gutenberg')
|
116678 |
),
|
116679 |
wp.element.createElement(RangeControl, {
|
116680 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
116705 |
null,
|
116706 |
wp.element.createElement(
|
116707 |
ButtonGroup,
|
116708 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116709 |
wp.element.createElement(
|
116710 |
Button,
|
116711 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: marginTypeTablet === "px", "aria-pressed": marginTypeTablet === "px", onClick: function onClick() {
|
116724 |
wp.element.createElement(
|
116725 |
"h2",
|
116726 |
null,
|
116727 |
+
__("List Margin", 'ultimate-addons-for-gutenberg')
|
116728 |
),
|
116729 |
wp.element.createElement(RangeControl, {
|
116730 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
116755 |
null,
|
116756 |
wp.element.createElement(
|
116757 |
ButtonGroup,
|
116758 |
+
{ className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
|
116759 |
wp.element.createElement(
|
116760 |
Button,
|
116761 |
{ key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: marginTypeDesktop === "px", "aria-pressed": marginTypeDesktop === "px", onClick: function onClick() {
|
116774 |
wp.element.createElement(
|
116775 |
"h2",
|
116776 |
null,
|
116777 |
+
__("List Margin", 'ultimate-addons-for-gutenberg')
|
116778 |
),
|
116779 |
wp.element.createElement(RangeControl, {
|
116780 |
label: __WEBPACK_IMPORTED_MODULE_2__dist_blocks_uagb_controls_block_icons__["a" /* default */].vertical_spacing,
|
116812 |
wp.element.createElement(
|
116813 |
"h2",
|
116814 |
null,
|
116815 |
+
__("Border", 'ultimate-addons-for-gutenberg')
|
116816 |
),
|
116817 |
wp.element.createElement(SelectControl, {
|
116818 |
+
label: __("Border Style", 'ultimate-addons-for-gutenberg'),
|
116819 |
value: borderStyle,
|
116820 |
onChange: function onChange(value) {
|
116821 |
return setAttributes({ borderStyle: value });
|
116822 |
},
|
116823 |
+
options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "groove", label: __("Groove", 'ultimate-addons-for-gutenberg') }, { value: "inset", label: __("Inset", 'ultimate-addons-for-gutenberg') }, { value: "outset", label: __("Outset", 'ultimate-addons-for-gutenberg') }, { value: "ridge", label: __("Ridge", 'ultimate-addons-for-gutenberg') }]
|
116824 |
}),
|
116825 |
"none" != borderStyle && wp.element.createElement(RangeControl, {
|
116826 |
+
label: __("Border Width", 'ultimate-addons-for-gutenberg'),
|
116827 |
value: borderWidth,
|
116828 |
onChange: function onChange(value) {
|
116829 |
return setAttributes({ borderWidth: value });
|
116833 |
allowReset: true
|
116834 |
}),
|
116835 |
wp.element.createElement(RangeControl, {
|
116836 |
+
label: __("Border Radius", 'ultimate-addons-for-gutenberg'),
|
116837 |
value: borderRadius,
|
116838 |
onChange: function onChange(value) {
|
116839 |
return setAttributes({ borderRadius: value });
|
116848 |
wp.element.createElement(
|
116849 |
"p",
|
116850 |
{ className: "uagb-setting-label" },
|
116851 |
+
__("Border Color", 'ultimate-addons-for-gutenberg'),
|
116852 |
wp.element.createElement(
|
116853 |
"span",
|
116854 |
{ className: "components-base-control__label" },
|
116877 |
{ className: "uagb-toc__title-wrap" },
|
116878 |
wp.element.createElement(RichText, {
|
116879 |
tagName: "div",
|
116880 |
+
placeholder: __("Table Of Contents", 'ultimate-addons-for-gutenberg'),
|
116881 |
value: heading,
|
116882 |
className: "uagb-toc__title",
|
116883 |
onChange: function onChange(value) {
|
117020 |
}))(UAGBTableOfContentsEdit));
|
117021 |
|
117022 |
/***/ }),
|
117023 |
+
/* 674 */
|
117024 |
/*!*************************************************!*\
|
117025 |
!*** ./src/blocks/table-of-contents/styling.js ***!
|
117026 |
\*************************************************/
|
117031 |
"use strict";
|
117032 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
|
117033 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
|
117034 |
+
/**
|
117035 |
+
* Returns Dynamic Generated CSS
|
117036 |
*/
|
117037 |
|
117038 |
|
117276 |
/* harmony default export */ __webpack_exports__["a"] = (styling);
|
117277 |
|
117278 |
/***/ }),
|
117279 |
+
/* 675 */
|
117280 |
/*!**********************************************!*\
|
117281 |
!*** ./src/blocks/table-of-contents/save.js ***!
|
117282 |
\**********************************************/
|
117290 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
117291 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
117292 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__toc__ = __webpack_require__(/*! ./toc */ 229);
|
117293 |
+
/**
|
117294 |
+
* BLOCK: Table of Contents - Save Block
|
117295 |
*/
|
117296 |
|
117297 |
|
117358 |
}
|
117359 |
|
117360 |
/***/ }),
|
117361 |
+
/* 676 */
|
117362 |
/*!****************************************************!*\
|
117363 |
!*** ./src/blocks/table-of-contents/deprecated.js ***!
|
117364 |
\****************************************************/
|
117369 |
"use strict";
|
117370 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
117371 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
117372 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deprecated_components__ = __webpack_require__(/*! ./deprecated/components */ 677);
|
117373 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__deprecated_table_of_contents__ = __webpack_require__(/*! ./deprecated/table-of-contents */ 678);
|
117374 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes__ = __webpack_require__(/*! ./attributes */ 228);
|
117375 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/renderIcon */ 2);
|
117376 |
+
/**
|
117377 |
+
* BLOCK: Table of Contents - Deprecated Block
|
117378 |
*/
|
117379 |
|
117380 |
|
117545 |
/* harmony default export */ __webpack_exports__["a"] = (deprecated);
|
117546 |
|
117547 |
/***/ }),
|
117548 |
+
/* 677 */
|
117549 |
/*!***************************************************************!*\
|
117550 |
!*** ./src/blocks/table-of-contents/deprecated/components.js ***!
|
117551 |
\***************************************************************/
|
117784 |
/* harmony default export */ __webpack_exports__["a"] = (TableOfContents);
|
117785 |
|
117786 |
/***/ }),
|
117787 |
+
/* 678 */
|
117788 |
/*!**********************************************************************!*\
|
117789 |
!*** ./src/blocks/table-of-contents/deprecated/table-of-contents.js ***!
|
117790 |
\**********************************************************************/
|
117917 |
/* harmony default export */ __webpack_exports__["a"] = (TOC);
|
117918 |
|
117919 |
/***/ }),
|
117920 |
+
/* 679 */
|
117921 |
/*!*************************************************!*\
|
117922 |
!*** ./src/blocks/table-of-contents/style.scss ***!
|
117923 |
\*************************************************/
|
117927 |
// removed by extract-text-webpack-plugin
|
117928 |
|
117929 |
/***/ }),
|
117930 |
+
/* 680 */
|
117931 |
/*!**************************************************!*\
|
117932 |
!*** ./src/blocks/table-of-contents/editor.scss ***!
|
117933 |
\**************************************************/
|
117937 |
// removed by extract-text-webpack-plugin
|
117938 |
|
117939 |
/***/ }),
|
117940 |
+
/* 681 */
|
117941 |
/*!************************************!*\
|
117942 |
!*** ./src/blocks/how-to/block.js ***!
|
117943 |
\************************************/
|
117947 |
"use strict";
|
117948 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
|
117949 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 231);
|
117950 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 682);
|
117951 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 685);
|
117952 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */ 232);
|
117953 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__style_scss__);
|
117954 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 686);
|
117955 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__editor_scss__);
|
117956 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */ 687);
|
117957 |
+
/**
|
117958 |
+
* BLOCK: How-To Schema
|
117959 |
*/
|
117960 |
|
117961 |
|
117975 |
description: uagb_blocks_info.blocks["uagb/how-to"]["description"],
|
117976 |
icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].how_to,
|
117977 |
category: uagb_blocks_info.category,
|
117978 |
+
keywords: [__("how to", 'ultimate-addons-for-gutenberg'), __("schema", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg')],
|
117979 |
supports: {
|
117980 |
anchor: true
|
117981 |
},
|
118019 |
});
|
118020 |
|
118021 |
/***/ }),
|
118022 |
+
/* 682 */
|
118023 |
/*!***********************************!*\
|
118024 |
!*** ./src/blocks/how-to/edit.js ***!
|
118025 |
\***********************************/
|
118030 |
"use strict";
|
118031 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
|
118032 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
|
118033 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__schema_notices__ = __webpack_require__(/*! ./schema-notices */ 683);
|
118034 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_times__ = __webpack_require__(/*! lodash/times */ 11);
|
118035 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_times___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_times__);
|
118036 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__styling__ = __webpack_require__(/*! ./styling */ 684);
|
118037 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
|
118038 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
|
118039 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */ 232);
|
118052 |
|
118053 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
118054 |
|
118055 |
+
/**
|
118056 |
+
* BLOCK: How-To Schema
|
118057 |
*/
|
118058 |
|
118059 |
// Import block dependencies and components.
|
118099 |
|
118100 |
var ALLOWED_BLOCKS = ['uagb/info-box'];
|
118101 |
|
118102 |
+
var imageSizeOptions = [{ value: "thumbnail", label: __("Thumbnail", 'ultimate-addons-for-gutenberg') }, { value: "medium", label: __("Medium", 'ultimate-addons-for-gutenberg') }, { value: "full", label: __("Large", 'ultimate-addons-for-gutenberg') }];
|
118103 |
|
118104 |
var UAGBHowTo = function (_Component) {
|
118105 |
_inherits(UAGBHowTo, _Component);
|
118187 |
});
|
118188 |
}
|
118189 |
|
118190 |
+
/*
|
118191 |
+
* Event to set Image as null while removing.
|
118192 |
*/
|
118193 |
|
118194 |
}, {
|
118199 |
setAttributes({ mainimage: null });
|
118200 |
}
|
118201 |
|
118202 |
+
/*
|
118203 |
+
* Event to set Image as while adding.
|
118204 |
*/
|
118205 |
|
118206 |
}, {
|
118420 |
|
118421 |
return wp.element.createElement(
|
118422 |
PanelBody,
|
118423 |
+
{ title: __("General", 'ultimate-addons-for-gutenberg'), initialOpen: true },
|
118424 |
wp.element.createElement(
|
118425 |
"h2",
|
118426 |
null,
|
118427 |
+
__("Image", 'ultimate-addons-for-gutenberg')
|
118428 |
),
|
118429 |
wp.element.createElement(MediaUpload, {
|
118430 |
+
title: __("Select Image", 'ultimate-addons-for-gutenberg'),
|
118431 |
onSelect: function onSelect(value) {
|
118432 |
return setAttributes({ mainimage: value });
|
118433 |
},
|
118438 |
return wp.element.createElement(
|
118439 |
Button,
|
118440 |
{ isDefault: true, onClick: open },
|
118441 |
+
!mainimage.url ? __("Select Image", 'ultimate-addons-for-gutenberg') : __("Replace image", 'ultimate-addons-for-gutenberg')
|
118442 |
);
|
118443 |
}
|
118444 |
}),
|
118450 |
return setAttributes({ mainimage: '' });
|
118451 |
},
|
118452 |
isLink: true, isDestructive: true },
|
118453 |
+
__("Remove Image", 'ultimate-addons-for-gutenberg')
|
118454 |
),
|
118455 |
mainimage.url && wp.element.createElement(SelectControl, {
|
118456 |
+
label: __("Size", 'ultimate-addons-for-gutenberg'),
|
118457 |
options: imageSizeOptions,
|
118458 |
value: imgSize,
|
118459 |
onChange: function onChange(value) {
|
118463 |
wp.element.createElement(
|
118464 |
"h2",
|
118465 |
null,
|
118466 |
+
__("Primary Heading", 'ultimate-addons-for-gutenberg')
|
118467 |
),
|
118468 |
wp.element.createElement(SelectControl, {
|
118469 |
label: __("Tag"),
|
118471 |
onChange: function onChange(value) {
|
118472 |
return setAttributes({ headingTag: value });
|
118473 |
},
|
118474 |
+
options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }]
|
118475 |
}),
|
118476 |
wp.element.createElement("hr", { className: "uagb-editor__separator" }),
|
118477 |
wp.element.createElement(ToggleControl, {
|
118478 |
+
label: __("Show Total Time", 'ultimate-addons-for-gutenberg'),
|
118479 |
checked: showTotaltime,
|
118480 |
onChange: function onChange(value) {
|
118481 |
return setAttributes({ showTotaltime: !showTotaltime });
|
118482 |
},
|
118483 |
+
help: __("Note: Time is recommended field for schema. It should be ON", 'ultimate-addons-for-gutenberg')
|
118484 |
}),
|
118485 |
showTotaltime && wp.element.createElement(
|
118486 |
PanelBody,
|
118487 |
+
{ title: __("Time", 'ultimate-addons-for-gutenberg'), initialOpen: true, className: "uagb-editor-howto-timepanel" },
|
118488 |
wp.element.createElement(
|
118489 |
Fragment,
|
118490 |
null,
|
118491 |
wp.element.createElement(RangeControl, {
|
118492 |
+
label: __("Years", 'ultimate-addons-for-gutenberg'),
|
118493 |
value: timeInYears,
|
118494 |
onChange: function onChange(value) {
|
118495 |
return setAttributes({ timeInYears: value });
|
118499 |
allowReset: true
|
118500 |
}),
|
118501 |
wp.element.createElement(RangeControl, {
|
118502 |
+
label: __("Months", 'ultimate-addons-for-gutenberg'),
|
118503 |
value: timeInMonths,
|
118504 |
onChange: function onChange(value) {
|
118505 |
return setAttributes({ timeInMonths: value });
|
118509 |
allowReset: true
|
118510 |
}),
|
118511 |
wp.element.createElement(RangeControl, {
|
118512 |
+
label: __("Days", 'ultimate-addons-for-gutenberg'),
|
118513 |
value: timeInDays,
|
118514 |
onChange: function onChange(value) {
|
118515 |
return setAttributes({ timeInDays: value });
|
118519 |
allowReset: true
|
118520 |
}),
|
118521 |
wp.element.createElement(RangeControl, {
|
118522 |
+
label: __("Hours", 'ultimate-addons-for-gutenberg'),
|
118523 |
value: timeInHours,
|
118524 |
onChange: function onChange(value) {
|