Version Description
- 2018-07-23
Download this release
Release Info
Developer | codeinwp |
Plugin | Orbit Fox by ThemeIsle |
Version | 2.5.5 |
Comparing to | |
See all releases |
Code changes from version 2.5.4 to 2.5.5
- CHANGELOG.md +4 -0
- core/assets/css/orbit-fox-admin.css +1 -1
- core/includes/class-orbit-fox.php +1 -1
- readme.md +5 -0
- readme.txt +5 -0
- themeisle-companion.php +1 -1
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/codeinwp/elementor-extra-widgets/widgets/elementor/posts-grid.php +9 -9
- vendor/codeinwp/themeisle-content-forms/assets/content-forms.css +21 -0
- vendor/codeinwp/themeisle-content-forms/class-themeisle-content-forms-elementor.php +133 -74
- vendor/codeinwp/themeisle-content-forms/composer.json +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php +16 -1
- vendor/codeinwp/themeisle-sdk/load.php +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +12 -12
CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
### v2.5.4 - 2018-07-11
|
3 |
**Changes:**
|
4 |
* Fixed undefined method for old elementor versions.
|
1 |
|
2 |
+
### v2.5.5 - 2018-07-23
|
3 |
+
**Changes:**
|
4 |
+
* Add new controls for Elementor content forms.
|
5 |
+
|
6 |
### v2.5.4 - 2018-07-11
|
7 |
**Changes:**
|
8 |
* Fixed undefined method for old elementor versions.
|
core/assets/css/orbit-fox-admin.css
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Extends Spectre.css Library
|
9 |
*/
|
10 |
/*
|
11 |
-
Version: 2.5.
|
12 |
*/
|
13 |
|
14 |
/* Document
|
8 |
* Extends Spectre.css Library
|
9 |
*/
|
10 |
/*
|
11 |
+
Version: 2.5.5
|
12 |
*/
|
13 |
|
14 |
/* Document
|
core/includes/class-orbit-fox.php
CHANGED
@@ -69,7 +69,7 @@ class Orbit_Fox {
|
|
69 |
|
70 |
$this->plugin_name = 'orbit-fox';
|
71 |
|
72 |
-
$this->version = '2.5.
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
69 |
|
70 |
$this->plugin_name = 'orbit-fox';
|
71 |
|
72 |
+
$this->version = '2.5.5';
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
readme.md
CHANGED
@@ -103,6 +103,11 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
|
|
103 |
5. Social Sharing Module
|
104 |
|
105 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
106 |
### 2.5.4 - 2018-07-11 ###
|
107 |
|
108 |
* Fixed undefined method for old elementor versions.
|
103 |
5. Social Sharing Module
|
104 |
|
105 |
## Changelog ##
|
106 |
+
### 2.5.5 - 2018-07-23 ###
|
107 |
+
|
108 |
+
* Add new controls for Elementor content forms.
|
109 |
+
|
110 |
+
|
111 |
### 2.5.4 - 2018-07-11 ###
|
112 |
|
113 |
* Fixed undefined method for old elementor versions.
|
readme.txt
CHANGED
@@ -103,6 +103,11 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
|
|
103 |
5. Social Sharing Module
|
104 |
|
105 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
106 |
= 2.5.4 - 2018-07-11 =
|
107 |
|
108 |
* Fixed undefined method for old elementor versions.
|
103 |
5. Social Sharing Module
|
104 |
|
105 |
== Changelog ==
|
106 |
+
= 2.5.5 - 2018-07-23 =
|
107 |
+
|
108 |
+
* Add new controls for Elementor content forms.
|
109 |
+
|
110 |
+
|
111 |
= 2.5.4 - 2018-07-11 =
|
112 |
|
113 |
* Fixed undefined method for old elementor versions.
|
themeisle-companion.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: Orbit Fox Companion
|
16 |
* Plugin URI: https://orbitfox.com/
|
17 |
* Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, and newly added Elementor/BeaverBuilder page builder widgets on each release.
|
18 |
-
* Version: 2.5.
|
19 |
* Author: Themeisle
|
20 |
* Author URI: https://orbitfox.com/
|
21 |
* License: GPL-2.0+
|
15 |
* Plugin Name: Orbit Fox Companion
|
16 |
* Plugin URI: https://orbitfox.com/
|
17 |
* Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, and newly added Elementor/BeaverBuilder page builder widgets on each release.
|
18 |
+
* Version: 2.5.5
|
19 |
* Author: Themeisle
|
20 |
* Author URI: https://orbitfox.com/
|
21 |
* License: GPL-2.0+
|
themeisle-hash.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"
|
1 |
+
{"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"0956d3519d569c31f0672799f0a61f6e","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit5ee4a84c648882abe8e1d6e8cb5af071::getLoader();
|
vendor/codeinwp/elementor-extra-widgets/widgets/elementor/posts-grid.php
CHANGED
@@ -696,7 +696,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
696 |
);
|
697 |
|
698 |
// Columns margin.
|
699 |
-
$this->
|
700 |
'grid_style_columns_margin',
|
701 |
[
|
702 |
'label' => __( 'Columns margin', 'themeisle-companion' ),
|
@@ -718,7 +718,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
718 |
);
|
719 |
|
720 |
// Row margin.
|
721 |
-
$this->
|
722 |
'grid_style_rows_margin',
|
723 |
[
|
724 |
'label' => __( 'Rows margin', 'themeisle-companion' ),
|
@@ -759,7 +759,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
759 |
);
|
760 |
|
761 |
// Items internal padding.
|
762 |
-
$this->
|
763 |
'grid_items_style_padding',
|
764 |
[
|
765 |
'label' => __( 'Padding', 'themeisle-companion' ),
|
@@ -853,7 +853,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
853 |
);
|
854 |
|
855 |
// Image margin.
|
856 |
-
$this->
|
857 |
'grid_image_style_margin',
|
858 |
[
|
859 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
@@ -915,7 +915,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
915 |
);
|
916 |
|
917 |
// Title margin.
|
918 |
-
$this->
|
919 |
'grid_title_style_margin',
|
920 |
[
|
921 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
@@ -975,7 +975,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
975 |
);
|
976 |
|
977 |
// Meta margin.
|
978 |
-
$this->
|
979 |
'grid_meta_style_margin',
|
980 |
[
|
981 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
@@ -1036,7 +1036,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
1036 |
);
|
1037 |
|
1038 |
// Content margin
|
1039 |
-
$this->
|
1040 |
'grid_content_style_margin',
|
1041 |
[
|
1042 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
@@ -1100,7 +1100,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
1100 |
);
|
1101 |
|
1102 |
// Price bottom margin.
|
1103 |
-
$this->
|
1104 |
'grid_content_price_style_margin',
|
1105 |
[
|
1106 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
@@ -1350,7 +1350,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
1350 |
);
|
1351 |
|
1352 |
// Image margin.
|
1353 |
-
$this->
|
1354 |
'grid_pagination_style_margin',
|
1355 |
[
|
1356 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
696 |
);
|
697 |
|
698 |
// Columns margin.
|
699 |
+
$this->add_responsive_control(
|
700 |
'grid_style_columns_margin',
|
701 |
[
|
702 |
'label' => __( 'Columns margin', 'themeisle-companion' ),
|
718 |
);
|
719 |
|
720 |
// Row margin.
|
721 |
+
$this->add_responsive_control(
|
722 |
'grid_style_rows_margin',
|
723 |
[
|
724 |
'label' => __( 'Rows margin', 'themeisle-companion' ),
|
759 |
);
|
760 |
|
761 |
// Items internal padding.
|
762 |
+
$this->add_responsive_control(
|
763 |
'grid_items_style_padding',
|
764 |
[
|
765 |
'label' => __( 'Padding', 'themeisle-companion' ),
|
853 |
);
|
854 |
|
855 |
// Image margin.
|
856 |
+
$this->add_responsive_control(
|
857 |
'grid_image_style_margin',
|
858 |
[
|
859 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
915 |
);
|
916 |
|
917 |
// Title margin.
|
918 |
+
$this->add_responsive_control(
|
919 |
'grid_title_style_margin',
|
920 |
[
|
921 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
975 |
);
|
976 |
|
977 |
// Meta margin.
|
978 |
+
$this->add_responsive_control(
|
979 |
'grid_meta_style_margin',
|
980 |
[
|
981 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
1036 |
);
|
1037 |
|
1038 |
// Content margin
|
1039 |
+
$this->add_responsive_control(
|
1040 |
'grid_content_style_margin',
|
1041 |
[
|
1042 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
1100 |
);
|
1101 |
|
1102 |
// Price bottom margin.
|
1103 |
+
$this->add_responsive_control(
|
1104 |
'grid_content_price_style_margin',
|
1105 |
[
|
1106 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
1350 |
);
|
1351 |
|
1352 |
// Image margin.
|
1353 |
+
$this->add_responsive_control(
|
1354 |
'grid_pagination_style_margin',
|
1355 |
[
|
1356 |
'label' => __( 'Margin', 'themeisle-companion' ),
|
vendor/codeinwp/themeisle-content-forms/assets/content-forms.css
CHANGED
@@ -46,4 +46,25 @@ fieldset {
|
|
46 |
|
47 |
.form-control {
|
48 |
height: auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
}
|
46 |
|
47 |
.form-control {
|
48 |
height: auto;
|
49 |
+
}
|
50 |
+
|
51 |
+
.content-form-newsletter {
|
52 |
+
align-items: flex-end;
|
53 |
+
}
|
54 |
+
|
55 |
+
.newsletter button {
|
56 |
+
margin: 0;
|
57 |
+
}
|
58 |
+
|
59 |
+
.content-form-newsletter fieldset {
|
60 |
+
margin-bottom: 0;
|
61 |
+
padding-bottom: 0;
|
62 |
+
}
|
63 |
+
|
64 |
+
#elementor .content-form-newsletter fieldset > input {
|
65 |
+
margin-bottom: 0;
|
66 |
+
|
67 |
+
}
|
68 |
+
.content-form-newsletter .elementor-column:not(.elementor-col-100) + .submit-form {
|
69 |
+
display: flex; width: auto;
|
70 |
}
|
vendor/codeinwp/themeisle-content-forms/class-themeisle-content-forms-elementor.php
CHANGED
@@ -95,10 +95,6 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
95 |
$this->_register_settings_controls();
|
96 |
}
|
97 |
}
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
}
|
103 |
|
104 |
/**
|
@@ -108,21 +104,21 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
108 |
$this->add_responsive_control(
|
109 |
'align_submit',
|
110 |
[
|
111 |
-
'label' => __( 'Alignment', 'themeisle-companion' ),
|
112 |
'type' => \Elementor\Controls_Manager::CHOOSE,
|
113 |
'toggle' => false,
|
114 |
'default' => 'left',
|
115 |
'options' => [
|
116 |
'left' => [
|
117 |
-
'title' => __( 'Left', 'themeisle-companion' ),
|
118 |
'icon' => 'fa fa-align-left',
|
119 |
],
|
120 |
'center' => [
|
121 |
-
'title' => __( 'Center', 'themeisle-companion' ),
|
122 |
'icon' => 'fa fa-align-center',
|
123 |
],
|
124 |
'right' => [
|
125 |
-
'title' => __( 'Right', 'themeisle-companion' ),
|
126 |
'icon' => 'fa fa-align-right',
|
127 |
],
|
128 |
],
|
@@ -138,7 +134,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
138 |
$this->start_controls_section(
|
139 |
'section_form_settings',
|
140 |
array(
|
141 |
-
'label' => __( 'Form Settings', 'themeisle-companion' ),
|
142 |
)
|
143 |
);
|
144 |
|
@@ -173,7 +169,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
173 |
$this->start_controls_section(
|
174 |
'section_form_style',
|
175 |
[
|
176 |
-
'label' => __( 'Form', 'themeisle-companion' ),
|
177 |
'tab' => Controls_Manager::TAB_STYLE,
|
178 |
]
|
179 |
);
|
@@ -181,7 +177,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
181 |
$this->add_control(
|
182 |
'column_gap',
|
183 |
[
|
184 |
-
'label' => __( 'Columns Gap', 'themeisle-companion' ),
|
185 |
'type' => Controls_Manager::SLIDER,
|
186 |
'default' => [
|
187 |
'size' => 10,
|
@@ -202,7 +198,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
202 |
$this->add_control(
|
203 |
'row_gap',
|
204 |
[
|
205 |
-
'label' => __( 'Rows Gap', 'themeisle-companion' ),
|
206 |
'type' => Controls_Manager::SLIDER,
|
207 |
'default' => [
|
208 |
'size' => 10,
|
@@ -223,7 +219,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
223 |
$this->add_control(
|
224 |
'heading_label',
|
225 |
[
|
226 |
-
'label' => __( 'Label', 'themeisle-companion' ),
|
227 |
'type' => Controls_Manager::HEADING,
|
228 |
'separator' => 'before',
|
229 |
]
|
@@ -232,7 +228,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
232 |
$this->add_control(
|
233 |
'label_spacing',
|
234 |
[
|
235 |
-
'label' => __( 'Spacing', 'themeisle-companion' ),
|
236 |
'type' => Controls_Manager::SLIDER,
|
237 |
'default' => [
|
238 |
'size' => 0,
|
@@ -257,7 +253,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
257 |
$this->add_control(
|
258 |
'label_color',
|
259 |
[
|
260 |
-
'label' => __( 'Text Color', 'themeisle-companion' ),
|
261 |
'type' => Controls_Manager::COLOR,
|
262 |
'selectors' => [
|
263 |
'{{WRAPPER}} fieldset > label, {{WRAPPER}} .elementor-field-subgroup label' => 'color: {{VALUE}};',
|
@@ -272,7 +268,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
272 |
$this->add_control(
|
273 |
'mark_required_color',
|
274 |
[
|
275 |
-
'label' => __( 'Mark Color', 'themeisle-companion' ),
|
276 |
'type' => Controls_Manager::COLOR,
|
277 |
'default' => '',
|
278 |
'selectors' => [
|
@@ -294,7 +290,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
294 |
$this->start_controls_section(
|
295 |
'section_field_style',
|
296 |
[
|
297 |
-
'label' => __( 'Field', 'themeisle-companion' ),
|
298 |
'tab' => Controls_Manager::TAB_STYLE,
|
299 |
]
|
300 |
);
|
@@ -311,21 +307,21 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
311 |
$this->add_responsive_control(
|
312 |
'align_field_text',
|
313 |
[
|
314 |
-
'label' => __( 'Text alignment', 'themeisle-companion' ),
|
315 |
'type' => \Elementor\Controls_Manager::CHOOSE,
|
316 |
'toggle' => false,
|
317 |
'default' => 'left',
|
318 |
'options' => [
|
319 |
'left' => [
|
320 |
-
'title' => __( 'Left', 'themeisle-companion' ),
|
321 |
'icon' => 'fa fa-align-left',
|
322 |
],
|
323 |
'center' => [
|
324 |
-
'title' => __( 'Center', 'themeisle-companion' ),
|
325 |
'icon' => 'fa fa-align-center',
|
326 |
],
|
327 |
'right' => [
|
328 |
-
'title' => __( 'Right', 'themeisle-companion' ),
|
329 |
'icon' => 'fa fa-align-right',
|
330 |
],
|
331 |
],
|
@@ -336,19 +332,31 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
336 |
]
|
337 |
);
|
338 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
$this->start_controls_tabs( 'tabs_field_style' );
|
340 |
|
341 |
$this->start_controls_tab(
|
342 |
'tab_field_normal',
|
343 |
[
|
344 |
-
'label' => __( 'Normal', 'themeisle-companion' ),
|
345 |
]
|
346 |
);
|
347 |
|
348 |
$this->add_control(
|
349 |
'field_text_color',
|
350 |
[
|
351 |
-
'label' => __( 'Text Color', 'themeisle-companion' ),
|
352 |
'type' => Controls_Manager::COLOR,
|
353 |
'selectors' => [
|
354 |
'{{WRAPPER}} fieldset > input' => 'color: {{VALUE}};',
|
@@ -368,7 +376,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
368 |
$this->add_control(
|
369 |
'field_background_color',
|
370 |
[
|
371 |
-
'label' => __( 'Background Color', 'themeisle-companion' ),
|
372 |
'type' => Controls_Manager::COLOR,
|
373 |
'default' => '#ffffff',
|
374 |
'selectors' => [
|
@@ -382,7 +390,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
382 |
$this->add_control(
|
383 |
'field_border_color',
|
384 |
[
|
385 |
-
'label' => __( 'Border Color', 'themeisle-companion' ),
|
386 |
'type' => Controls_Manager::COLOR,
|
387 |
'selectors' => [
|
388 |
'{{WRAPPER}} fieldset > input' => 'border-color: {{VALUE}};',
|
@@ -395,15 +403,15 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
395 |
$this->add_control(
|
396 |
'field_border_style',
|
397 |
[
|
398 |
-
'label' => _x( 'Border Type', 'Border Control', 'themeisle-companion' ),
|
399 |
'type' => Controls_Manager::SELECT,
|
400 |
'options' => [
|
401 |
-
'' => __( 'None', 'themeisle-companion' ),
|
402 |
-
'solid' => _x( 'Solid', 'Border Control', 'themeisle-companion' ),
|
403 |
-
'double' => _x( 'Double', 'Border Control', 'themeisle-companion' ),
|
404 |
-
'dotted' => _x( 'Dotted', 'Border Control', 'themeisle-companion' ),
|
405 |
-
'dashed' => _x( 'Dashed', 'Border Control', 'themeisle-companion' ),
|
406 |
-
'groove' => _x( 'Groove', 'Border Control', 'themeisle-companion' ),
|
407 |
],
|
408 |
'selectors' => [
|
409 |
'{{WRAPPER}} fieldset > input' => 'border-style: {{VALUE}};',
|
@@ -415,7 +423,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
415 |
$this->add_control(
|
416 |
'field_border_width',
|
417 |
[
|
418 |
-
'label' => __( 'Border Width', 'themeisle-companion' ),
|
419 |
'type' => Controls_Manager::DIMENSIONS,
|
420 |
'placeholder' => '',
|
421 |
'size_units' => [ 'px' ],
|
@@ -429,7 +437,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
429 |
$this->add_control(
|
430 |
'field_border_radius',
|
431 |
[
|
432 |
-
'label' => __( 'Border Radius', 'themeisle-companion' ),
|
433 |
'type' => Controls_Manager::DIMENSIONS,
|
434 |
'size_units' => [ 'px', '%' ],
|
435 |
'selectors' => [
|
@@ -444,14 +452,14 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
444 |
$this->start_controls_tab(
|
445 |
'tab_field_focus',
|
446 |
[
|
447 |
-
'label' => __( 'Focus', 'themeisle-companion' ),
|
448 |
]
|
449 |
);
|
450 |
|
451 |
$this->add_control(
|
452 |
'field_focus_text_color',
|
453 |
[
|
454 |
-
'label' => __( 'Text Color', 'themeisle-companion' ),
|
455 |
'type' => Controls_Manager::COLOR,
|
456 |
'selectors' => [
|
457 |
'{{WRAPPER}} fieldset > input:focus' => 'color: {{VALUE}};',
|
@@ -469,7 +477,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
469 |
$this->add_control(
|
470 |
'field_focus_background_color',
|
471 |
[
|
472 |
-
'label' => __( 'Background Color', 'themeisle-companion' ),
|
473 |
'type' => Controls_Manager::COLOR,
|
474 |
'default' => '#ffffff',
|
475 |
'selectors' => [
|
@@ -483,7 +491,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
483 |
$this->add_control(
|
484 |
'field_focus_border_color',
|
485 |
[
|
486 |
-
'label' => __( 'Border Color', 'themeisle-companion' ),
|
487 |
'type' => Controls_Manager::COLOR,
|
488 |
'selectors' => [
|
489 |
'{{WRAPPER}} fieldset > input:focus' => 'border-color: {{VALUE}};',
|
@@ -496,15 +504,15 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
496 |
$this->add_control(
|
497 |
'field_focus_border_style',
|
498 |
[
|
499 |
-
'label' => _x( 'Border Type', 'Border Control', 'themeisle-companion' ),
|
500 |
'type' => Controls_Manager::SELECT,
|
501 |
'options' => [
|
502 |
-
'' => __( 'None', 'themeisle-companion' ),
|
503 |
-
'solid' => _x( 'Solid', 'Border Control', 'themeisle-companion' ),
|
504 |
-
'double' => _x( 'Double', 'Border Control', 'themeisle-companion' ),
|
505 |
-
'dotted' => _x( 'Dotted', 'Border Control', 'themeisle-companion' ),
|
506 |
-
'dashed' => _x( 'Dashed', 'Border Control', 'themeisle-companion' ),
|
507 |
-
'groove' => _x( 'Groove', 'Border Control', 'themeisle-companion' ),
|
508 |
],
|
509 |
'selectors' => [
|
510 |
'{{WRAPPER}} fieldset > input:focus' => 'border-style: {{VALUE}};',
|
@@ -516,7 +524,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
516 |
$this->add_control(
|
517 |
'field_focus_border_width',
|
518 |
[
|
519 |
-
'label' => __( 'Border Width', 'themeisle-companion' ),
|
520 |
'type' => Controls_Manager::DIMENSIONS,
|
521 |
'placeholder' => '',
|
522 |
'size_units' => [ 'px' ],
|
@@ -530,7 +538,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
530 |
$this->add_control(
|
531 |
'field_focus_border_radius',
|
532 |
[
|
533 |
-
'label' => __( 'Border Radius', 'themeisle-companion' ),
|
534 |
'type' => Controls_Manager::DIMENSIONS,
|
535 |
'size_units' => [ 'px', '%' ],
|
536 |
'selectors' => [
|
@@ -549,7 +557,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
549 |
$this->start_controls_section(
|
550 |
'section_button_style',
|
551 |
[
|
552 |
-
'label' => __( 'Button', 'themeisle-companion' ),
|
553 |
'tab' => Controls_Manager::TAB_STYLE,
|
554 |
]
|
555 |
);
|
@@ -559,14 +567,14 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
559 |
$this->start_controls_tab(
|
560 |
'tab_button_normal',
|
561 |
[
|
562 |
-
'label' => __( 'Normal', 'themeisle-companion' ),
|
563 |
]
|
564 |
);
|
565 |
|
566 |
$this->add_control(
|
567 |
'button_background_color',
|
568 |
[
|
569 |
-
'label' => __( 'Background Color', 'themeisle-companion' ),
|
570 |
'type' => Controls_Manager::COLOR,
|
571 |
'scheme' => [
|
572 |
'type' => Scheme_Color::get_type(),
|
@@ -581,7 +589,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
581 |
$this->add_control(
|
582 |
'button_text_color',
|
583 |
[
|
584 |
-
'label' => __( 'Text Color', 'themeisle-companion' ),
|
585 |
'type' => Controls_Manager::COLOR,
|
586 |
'default' => '',
|
587 |
'selectors' => [
|
@@ -612,7 +620,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
612 |
$this->add_control(
|
613 |
'button_border_radius',
|
614 |
[
|
615 |
-
'label' => __( 'Border Radius', 'themeisle-companion' ),
|
616 |
'type' => Controls_Manager::DIMENSIONS,
|
617 |
'size_units' => [ 'px', '%' ],
|
618 |
'selectors' => [
|
@@ -624,7 +632,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
624 |
$this->add_control(
|
625 |
'button_text_padding',
|
626 |
[
|
627 |
-
'label' => __( 'Text Padding', 'themeisle-companion' ),
|
628 |
'type' => Controls_Manager::DIMENSIONS,
|
629 |
'size_units' => [ 'px', 'em', '%' ],
|
630 |
'selectors' => [
|
@@ -638,14 +646,14 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
638 |
$this->start_controls_tab(
|
639 |
'tab_button_hover',
|
640 |
[
|
641 |
-
'label' => __( 'Hover', 'themeisle-companion' ),
|
642 |
]
|
643 |
);
|
644 |
|
645 |
$this->add_control(
|
646 |
'button_background_hover_color',
|
647 |
[
|
648 |
-
'label' => __( 'Background Color', 'themeisle-companion' ),
|
649 |
'type' => Controls_Manager::COLOR,
|
650 |
'selectors' => [
|
651 |
'{{WRAPPER}} fieldset > button:hover' => 'background-color: {{VALUE}};',
|
@@ -656,7 +664,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
656 |
$this->add_control(
|
657 |
'button_hover_color',
|
658 |
[
|
659 |
-
'label' => __( 'Text Color', 'themeisle-companion' ),
|
660 |
'type' => Controls_Manager::COLOR,
|
661 |
'selectors' => [
|
662 |
'{{WRAPPER}} fieldset > button:hover' => 'color: {{VALUE}};',
|
@@ -667,7 +675,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
667 |
$this->add_control(
|
668 |
'button_hover_border_color',
|
669 |
[
|
670 |
-
'label' => __( 'Border Color', 'themeisle-companion' ),
|
671 |
'type' => Controls_Manager::COLOR,
|
672 |
'selectors' => [
|
673 |
'{{WRAPPER}} fieldset > button:hover' => 'border-color: {{VALUE}};',
|
@@ -689,7 +697,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
689 |
|
690 |
$this->start_controls_section(
|
691 |
$this->form_type . '_form_fields',
|
692 |
-
array( 'label' => __( 'Fields', 'themeisle-companion' ) )
|
693 |
);
|
694 |
|
695 |
$repeater = new \Elementor\Repeater();
|
@@ -697,7 +705,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
697 |
$repeater->add_control(
|
698 |
'label',
|
699 |
array(
|
700 |
-
'label' => __( 'Label', 'themeisle-companion' ),
|
701 |
'type' => \Elementor\Controls_Manager::TEXT,
|
702 |
'default' => '',
|
703 |
)
|
@@ -706,7 +714,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
706 |
$repeater->add_control(
|
707 |
'placeholder',
|
708 |
array(
|
709 |
-
'label' => __( 'Placeholder', 'themeisle-companion' ),
|
710 |
'type' => \Elementor\Controls_Manager::TEXT,
|
711 |
'default' => '',
|
712 |
)
|
@@ -715,7 +723,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
715 |
$repeater->add_control(
|
716 |
'requirement',
|
717 |
array(
|
718 |
-
'label' => __( 'Required', 'themeisle-companion' ),
|
719 |
'type' => \Elementor\Controls_Manager::SWITCHER,
|
720 |
'return_value' => 'required',
|
721 |
'default' => '',
|
@@ -723,11 +731,11 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
723 |
);
|
724 |
|
725 |
$field_types = array(
|
726 |
-
'text' => __( 'Text', 'themeisle-companion' ),
|
727 |
-
'password' => __( 'Password', 'themeisle-companion' ),
|
728 |
// 'tel' => __( 'Tel', 'textdomain' ),
|
729 |
-
'email' => __( 'Email', 'themeisle-companion' ),
|
730 |
-
'textarea' => __( 'Textarea', 'themeisle-companion' ),
|
731 |
// 'number' => __( 'Number', 'textdomain' ),
|
732 |
// 'select' => __( 'Select', 'textdomain' ),
|
733 |
// 'url' => __( 'URL', 'textdomain' ),
|
@@ -736,7 +744,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
736 |
$repeater->add_control(
|
737 |
'type',
|
738 |
array(
|
739 |
-
'label' => __( 'Type', 'themeisle-companion' ),
|
740 |
'type' => \Elementor\Controls_Manager::SELECT,
|
741 |
'options' => $field_types,
|
742 |
'default' => 'text'
|
@@ -746,7 +754,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
746 |
$repeater->add_control(
|
747 |
'key',
|
748 |
array(
|
749 |
-
'label' => __( 'Key', 'themeisle-companion' ),
|
750 |
'type' => \Elementor\Controls_Manager::HIDDEN
|
751 |
)
|
752 |
);
|
@@ -754,7 +762,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
754 |
$repeater->add_responsive_control(
|
755 |
'field_width',
|
756 |
[
|
757 |
-
'label' => __( 'Field Width', 'themeisle-companion' ),
|
758 |
'type' => Controls_Manager::SELECT,
|
759 |
'options' => [
|
760 |
'100' => '100%',
|
@@ -786,7 +794,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
786 |
$this->add_control(
|
787 |
'form_fields',
|
788 |
array(
|
789 |
-
'label' => __( 'Form Fields', 'themeisle-companion' ),
|
790 |
'type' => \Elementor\Controls_Manager::REPEATER,
|
791 |
'show_label' => false,
|
792 |
'separator' => 'before',
|
@@ -796,6 +804,40 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
796 |
)
|
797 |
);
|
798 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
799 |
$this->end_controls_section();
|
800 |
}
|
801 |
|
@@ -810,6 +852,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
810 |
protected function render( $instance = array() ) {
|
811 |
$form_id = $this->get_data( 'id' );
|
812 |
$settings = $this->get_settings();
|
|
|
813 |
|
814 |
$this->maybe_load_widget_style();
|
815 |
|
@@ -831,7 +874,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
831 |
<div class="content-forms-required">
|
832 |
<?php
|
833 |
printf(
|
834 |
-
esc_html__( 'The %s setting is required!', 'themeisle-companion' ),
|
835 |
'<strong>' . $control['label'] . '</strong>'
|
836 |
); ?>
|
837 |
</div>
|
@@ -844,14 +887,22 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
844 |
$this->render_form_field( $field );
|
845 |
}
|
846 |
|
847 |
-
$btn_label = esc_html__( 'Submit', 'themeisle-companion' );
|
848 |
|
849 |
if ( ! empty( $controls['submit_label'] ) ) {
|
850 |
$btn_label = $this->get_settings( 'submit_label' );
|
851 |
} ?>
|
852 |
-
<fieldset class="submit-form">
|
853 |
-
<button type="submit" name="submit" value="submit-<?php echo $this->form_type; ?>-<?php echo $form_id;
|
854 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
855 |
</button>
|
856 |
</fieldset>
|
857 |
<?php
|
@@ -934,6 +985,14 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
934 |
|
935 |
$this->add_render_attribute( 'fieldset' . $field['_id'], 'class', 'content-form-field-' . $field['type'] );
|
936 |
$this->add_render_attribute( 'fieldset' . $field['_id'], 'class', 'elementor-column elementor-col-' . $field['field_width'] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
937 |
$this->add_inline_editing_attributes( $item_index . '_label', 'none' );
|
938 |
?>
|
939 |
|
95 |
$this->_register_settings_controls();
|
96 |
}
|
97 |
}
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
|
100 |
/**
|
104 |
$this->add_responsive_control(
|
105 |
'align_submit',
|
106 |
[
|
107 |
+
'label' => __( 'Alignment', 'elementor-addon-widgets', 'themeisle-companion' ),
|
108 |
'type' => \Elementor\Controls_Manager::CHOOSE,
|
109 |
'toggle' => false,
|
110 |
'default' => 'left',
|
111 |
'options' => [
|
112 |
'left' => [
|
113 |
+
'title' => __( 'Left', 'elementor-addon-widgets', 'themeisle-companion' ),
|
114 |
'icon' => 'fa fa-align-left',
|
115 |
],
|
116 |
'center' => [
|
117 |
+
'title' => __( 'Center', 'elementor-addon-widgets', 'themeisle-companion' ),
|
118 |
'icon' => 'fa fa-align-center',
|
119 |
],
|
120 |
'right' => [
|
121 |
+
'title' => __( 'Right', 'elementor-addon-widgets', 'themeisle-companion' ),
|
122 |
'icon' => 'fa fa-align-right',
|
123 |
],
|
124 |
],
|
134 |
$this->start_controls_section(
|
135 |
'section_form_settings',
|
136 |
array(
|
137 |
+
'label' => __( 'Form Settings', 'elementor-addon-widgets', 'themeisle-companion' ),
|
138 |
)
|
139 |
);
|
140 |
|
169 |
$this->start_controls_section(
|
170 |
'section_form_style',
|
171 |
[
|
172 |
+
'label' => __( 'Form', 'elementor-addon-widgets', 'themeisle-companion' ),
|
173 |
'tab' => Controls_Manager::TAB_STYLE,
|
174 |
]
|
175 |
);
|
177 |
$this->add_control(
|
178 |
'column_gap',
|
179 |
[
|
180 |
+
'label' => __( 'Columns Gap', 'elementor-addon-widgets', 'themeisle-companion' ),
|
181 |
'type' => Controls_Manager::SLIDER,
|
182 |
'default' => [
|
183 |
'size' => 10,
|
198 |
$this->add_control(
|
199 |
'row_gap',
|
200 |
[
|
201 |
+
'label' => __( 'Rows Gap', 'elementor-addon-widgets', 'themeisle-companion' ),
|
202 |
'type' => Controls_Manager::SLIDER,
|
203 |
'default' => [
|
204 |
'size' => 10,
|
219 |
$this->add_control(
|
220 |
'heading_label',
|
221 |
[
|
222 |
+
'label' => __( 'Label', 'elementor-addon-widgets', 'themeisle-companion' ),
|
223 |
'type' => Controls_Manager::HEADING,
|
224 |
'separator' => 'before',
|
225 |
]
|
228 |
$this->add_control(
|
229 |
'label_spacing',
|
230 |
[
|
231 |
+
'label' => __( 'Spacing', 'elementor-addon-widgets', 'themeisle-companion' ),
|
232 |
'type' => Controls_Manager::SLIDER,
|
233 |
'default' => [
|
234 |
'size' => 0,
|
253 |
$this->add_control(
|
254 |
'label_color',
|
255 |
[
|
256 |
+
'label' => __( 'Text Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
257 |
'type' => Controls_Manager::COLOR,
|
258 |
'selectors' => [
|
259 |
'{{WRAPPER}} fieldset > label, {{WRAPPER}} .elementor-field-subgroup label' => 'color: {{VALUE}};',
|
268 |
$this->add_control(
|
269 |
'mark_required_color',
|
270 |
[
|
271 |
+
'label' => __( 'Mark Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
272 |
'type' => Controls_Manager::COLOR,
|
273 |
'default' => '',
|
274 |
'selectors' => [
|
290 |
$this->start_controls_section(
|
291 |
'section_field_style',
|
292 |
[
|
293 |
+
'label' => __( 'Field', 'elementor-addon-widgets', 'themeisle-companion' ),
|
294 |
'tab' => Controls_Manager::TAB_STYLE,
|
295 |
]
|
296 |
);
|
307 |
$this->add_responsive_control(
|
308 |
'align_field_text',
|
309 |
[
|
310 |
+
'label' => __( 'Text alignment', 'elementor-addon-widgets', 'themeisle-companion' ),
|
311 |
'type' => \Elementor\Controls_Manager::CHOOSE,
|
312 |
'toggle' => false,
|
313 |
'default' => 'left',
|
314 |
'options' => [
|
315 |
'left' => [
|
316 |
+
'title' => __( 'Left', 'elementor-addon-widgets', 'themeisle-companion' ),
|
317 |
'icon' => 'fa fa-align-left',
|
318 |
],
|
319 |
'center' => [
|
320 |
+
'title' => __( 'Center', 'elementor-addon-widgets', 'themeisle-companion' ),
|
321 |
'icon' => 'fa fa-align-center',
|
322 |
],
|
323 |
'right' => [
|
324 |
+
'title' => __( 'Right', 'elementor-addon-widgets', 'themeisle-companion' ),
|
325 |
'icon' => 'fa fa-align-right',
|
326 |
],
|
327 |
],
|
332 |
]
|
333 |
);
|
334 |
|
335 |
+
$this->add_responsive_control(
|
336 |
+
'field-text-padding', [
|
337 |
+
'label' => __( 'Text Padding', 'elementor-addon-widgets', 'themeisle-companion' ),
|
338 |
+
'type' => Controls_Manager::DIMENSIONS,
|
339 |
+
'size_units' => [ 'px', 'em', '%' ],
|
340 |
+
'selectors' => [
|
341 |
+
'{{WRAPPER}} fieldset > input' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
342 |
+
'{{WRAPPER}} fieldset > textarea' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
343 |
+
],
|
344 |
+
]
|
345 |
+
);
|
346 |
+
|
347 |
$this->start_controls_tabs( 'tabs_field_style' );
|
348 |
|
349 |
$this->start_controls_tab(
|
350 |
'tab_field_normal',
|
351 |
[
|
352 |
+
'label' => __( 'Normal', 'elementor-addon-widgets', 'themeisle-companion' ),
|
353 |
]
|
354 |
);
|
355 |
|
356 |
$this->add_control(
|
357 |
'field_text_color',
|
358 |
[
|
359 |
+
'label' => __( 'Text Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
360 |
'type' => Controls_Manager::COLOR,
|
361 |
'selectors' => [
|
362 |
'{{WRAPPER}} fieldset > input' => 'color: {{VALUE}};',
|
376 |
$this->add_control(
|
377 |
'field_background_color',
|
378 |
[
|
379 |
+
'label' => __( 'Background Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
380 |
'type' => Controls_Manager::COLOR,
|
381 |
'default' => '#ffffff',
|
382 |
'selectors' => [
|
390 |
$this->add_control(
|
391 |
'field_border_color',
|
392 |
[
|
393 |
+
'label' => __( 'Border Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
394 |
'type' => Controls_Manager::COLOR,
|
395 |
'selectors' => [
|
396 |
'{{WRAPPER}} fieldset > input' => 'border-color: {{VALUE}};',
|
403 |
$this->add_control(
|
404 |
'field_border_style',
|
405 |
[
|
406 |
+
'label' => _x( 'Border Type', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
407 |
'type' => Controls_Manager::SELECT,
|
408 |
'options' => [
|
409 |
+
'' => __( 'None', 'elementor-addon-widgets', 'themeisle-companion' ),
|
410 |
+
'solid' => _x( 'Solid', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
411 |
+
'double' => _x( 'Double', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
412 |
+
'dotted' => _x( 'Dotted', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
413 |
+
'dashed' => _x( 'Dashed', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
414 |
+
'groove' => _x( 'Groove', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
415 |
],
|
416 |
'selectors' => [
|
417 |
'{{WRAPPER}} fieldset > input' => 'border-style: {{VALUE}};',
|
423 |
$this->add_control(
|
424 |
'field_border_width',
|
425 |
[
|
426 |
+
'label' => __( 'Border Width', 'elementor-addon-widgets', 'themeisle-companion' ),
|
427 |
'type' => Controls_Manager::DIMENSIONS,
|
428 |
'placeholder' => '',
|
429 |
'size_units' => [ 'px' ],
|
437 |
$this->add_control(
|
438 |
'field_border_radius',
|
439 |
[
|
440 |
+
'label' => __( 'Border Radius', 'elementor-addon-widgets', 'themeisle-companion' ),
|
441 |
'type' => Controls_Manager::DIMENSIONS,
|
442 |
'size_units' => [ 'px', '%' ],
|
443 |
'selectors' => [
|
452 |
$this->start_controls_tab(
|
453 |
'tab_field_focus',
|
454 |
[
|
455 |
+
'label' => __( 'Focus', 'elementor-addon-widgets', 'themeisle-companion' ),
|
456 |
]
|
457 |
);
|
458 |
|
459 |
$this->add_control(
|
460 |
'field_focus_text_color',
|
461 |
[
|
462 |
+
'label' => __( 'Text Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
463 |
'type' => Controls_Manager::COLOR,
|
464 |
'selectors' => [
|
465 |
'{{WRAPPER}} fieldset > input:focus' => 'color: {{VALUE}};',
|
477 |
$this->add_control(
|
478 |
'field_focus_background_color',
|
479 |
[
|
480 |
+
'label' => __( 'Background Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
481 |
'type' => Controls_Manager::COLOR,
|
482 |
'default' => '#ffffff',
|
483 |
'selectors' => [
|
491 |
$this->add_control(
|
492 |
'field_focus_border_color',
|
493 |
[
|
494 |
+
'label' => __( 'Border Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
495 |
'type' => Controls_Manager::COLOR,
|
496 |
'selectors' => [
|
497 |
'{{WRAPPER}} fieldset > input:focus' => 'border-color: {{VALUE}};',
|
504 |
$this->add_control(
|
505 |
'field_focus_border_style',
|
506 |
[
|
507 |
+
'label' => _x( 'Border Type', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
508 |
'type' => Controls_Manager::SELECT,
|
509 |
'options' => [
|
510 |
+
'' => __( 'None', 'elementor-addon-widgets', 'themeisle-companion' ),
|
511 |
+
'solid' => _x( 'Solid', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
512 |
+
'double' => _x( 'Double', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
513 |
+
'dotted' => _x( 'Dotted', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
514 |
+
'dashed' => _x( 'Dashed', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
515 |
+
'groove' => _x( 'Groove', 'Border Control', 'elementor-addon-widgets', 'themeisle-companion' ),
|
516 |
],
|
517 |
'selectors' => [
|
518 |
'{{WRAPPER}} fieldset > input:focus' => 'border-style: {{VALUE}};',
|
524 |
$this->add_control(
|
525 |
'field_focus_border_width',
|
526 |
[
|
527 |
+
'label' => __( 'Border Width', 'elementor-addon-widgets', 'themeisle-companion' ),
|
528 |
'type' => Controls_Manager::DIMENSIONS,
|
529 |
'placeholder' => '',
|
530 |
'size_units' => [ 'px' ],
|
538 |
$this->add_control(
|
539 |
'field_focus_border_radius',
|
540 |
[
|
541 |
+
'label' => __( 'Border Radius', 'elementor-addon-widgets', 'themeisle-companion' ),
|
542 |
'type' => Controls_Manager::DIMENSIONS,
|
543 |
'size_units' => [ 'px', '%' ],
|
544 |
'selectors' => [
|
557 |
$this->start_controls_section(
|
558 |
'section_button_style',
|
559 |
[
|
560 |
+
'label' => __( 'Button', 'elementor-addon-widgets', 'themeisle-companion' ),
|
561 |
'tab' => Controls_Manager::TAB_STYLE,
|
562 |
]
|
563 |
);
|
567 |
$this->start_controls_tab(
|
568 |
'tab_button_normal',
|
569 |
[
|
570 |
+
'label' => __( 'Normal', 'elementor-addon-widgets', 'themeisle-companion' ),
|
571 |
]
|
572 |
);
|
573 |
|
574 |
$this->add_control(
|
575 |
'button_background_color',
|
576 |
[
|
577 |
+
'label' => __( 'Background Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
578 |
'type' => Controls_Manager::COLOR,
|
579 |
'scheme' => [
|
580 |
'type' => Scheme_Color::get_type(),
|
589 |
$this->add_control(
|
590 |
'button_text_color',
|
591 |
[
|
592 |
+
'label' => __( 'Text Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
593 |
'type' => Controls_Manager::COLOR,
|
594 |
'default' => '',
|
595 |
'selectors' => [
|
620 |
$this->add_control(
|
621 |
'button_border_radius',
|
622 |
[
|
623 |
+
'label' => __( 'Border Radius', 'elementor-addon-widgets', 'themeisle-companion' ),
|
624 |
'type' => Controls_Manager::DIMENSIONS,
|
625 |
'size_units' => [ 'px', '%' ],
|
626 |
'selectors' => [
|
632 |
$this->add_control(
|
633 |
'button_text_padding',
|
634 |
[
|
635 |
+
'label' => __( 'Text Padding', 'elementor-addon-widgets', 'themeisle-companion' ),
|
636 |
'type' => Controls_Manager::DIMENSIONS,
|
637 |
'size_units' => [ 'px', 'em', '%' ],
|
638 |
'selectors' => [
|
646 |
$this->start_controls_tab(
|
647 |
'tab_button_hover',
|
648 |
[
|
649 |
+
'label' => __( 'Hover', 'elementor-addon-widgets', 'themeisle-companion' ),
|
650 |
]
|
651 |
);
|
652 |
|
653 |
$this->add_control(
|
654 |
'button_background_hover_color',
|
655 |
[
|
656 |
+
'label' => __( 'Background Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
657 |
'type' => Controls_Manager::COLOR,
|
658 |
'selectors' => [
|
659 |
'{{WRAPPER}} fieldset > button:hover' => 'background-color: {{VALUE}};',
|
664 |
$this->add_control(
|
665 |
'button_hover_color',
|
666 |
[
|
667 |
+
'label' => __( 'Text Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
668 |
'type' => Controls_Manager::COLOR,
|
669 |
'selectors' => [
|
670 |
'{{WRAPPER}} fieldset > button:hover' => 'color: {{VALUE}};',
|
675 |
$this->add_control(
|
676 |
'button_hover_border_color',
|
677 |
[
|
678 |
+
'label' => __( 'Border Color', 'elementor-addon-widgets', 'themeisle-companion' ),
|
679 |
'type' => Controls_Manager::COLOR,
|
680 |
'selectors' => [
|
681 |
'{{WRAPPER}} fieldset > button:hover' => 'border-color: {{VALUE}};',
|
697 |
|
698 |
$this->start_controls_section(
|
699 |
$this->form_type . '_form_fields',
|
700 |
+
array( 'label' => __( 'Fields', 'elementor-addon-widgets', 'themeisle-companion' ) )
|
701 |
);
|
702 |
|
703 |
$repeater = new \Elementor\Repeater();
|
705 |
$repeater->add_control(
|
706 |
'label',
|
707 |
array(
|
708 |
+
'label' => __( 'Label', 'elementor-addon-widgets', 'themeisle-companion' ),
|
709 |
'type' => \Elementor\Controls_Manager::TEXT,
|
710 |
'default' => '',
|
711 |
)
|
714 |
$repeater->add_control(
|
715 |
'placeholder',
|
716 |
array(
|
717 |
+
'label' => __( 'Placeholder', 'elementor-addon-widgets', 'themeisle-companion' ),
|
718 |
'type' => \Elementor\Controls_Manager::TEXT,
|
719 |
'default' => '',
|
720 |
)
|
723 |
$repeater->add_control(
|
724 |
'requirement',
|
725 |
array(
|
726 |
+
'label' => __( 'Required', 'elementor-addon-widgets', 'themeisle-companion' ),
|
727 |
'type' => \Elementor\Controls_Manager::SWITCHER,
|
728 |
'return_value' => 'required',
|
729 |
'default' => '',
|
731 |
);
|
732 |
|
733 |
$field_types = array(
|
734 |
+
'text' => __( 'Text', 'elementor-addon-widgets', 'themeisle-companion' ),
|
735 |
+
'password' => __( 'Password', 'elementor-addon-widgets', 'themeisle-companion' ),
|
736 |
// 'tel' => __( 'Tel', 'textdomain' ),
|
737 |
+
'email' => __( 'Email', 'elementor-addon-widgets', 'themeisle-companion' ),
|
738 |
+
'textarea' => __( 'Textarea', 'elementor-addon-widgets', 'themeisle-companion' ),
|
739 |
// 'number' => __( 'Number', 'textdomain' ),
|
740 |
// 'select' => __( 'Select', 'textdomain' ),
|
741 |
// 'url' => __( 'URL', 'textdomain' ),
|
744 |
$repeater->add_control(
|
745 |
'type',
|
746 |
array(
|
747 |
+
'label' => __( 'Type', 'elementor-addon-widgets', 'themeisle-companion' ),
|
748 |
'type' => \Elementor\Controls_Manager::SELECT,
|
749 |
'options' => $field_types,
|
750 |
'default' => 'text'
|
754 |
$repeater->add_control(
|
755 |
'key',
|
756 |
array(
|
757 |
+
'label' => __( 'Key', 'elementor-addon-widgets', 'themeisle-companion' ),
|
758 |
'type' => \Elementor\Controls_Manager::HIDDEN
|
759 |
)
|
760 |
);
|
762 |
$repeater->add_responsive_control(
|
763 |
'field_width',
|
764 |
[
|
765 |
+
'label' => __( 'Field Width', 'elementor-addon-widgets', 'themeisle-companion' ),
|
766 |
'type' => Controls_Manager::SELECT,
|
767 |
'options' => [
|
768 |
'100' => '100%',
|
794 |
$this->add_control(
|
795 |
'form_fields',
|
796 |
array(
|
797 |
+
'label' => __( 'Form Fields', 'elementor-addon-widgets', 'themeisle-companion' ),
|
798 |
'type' => \Elementor\Controls_Manager::REPEATER,
|
799 |
'show_label' => false,
|
800 |
'separator' => 'before',
|
804 |
)
|
805 |
);
|
806 |
|
807 |
+
if( $this->form_type === 'newsletter') {
|
808 |
+
|
809 |
+
$this->add_control(
|
810 |
+
'button_icon',
|
811 |
+
[
|
812 |
+
'label' => __( 'Submit Icon', 'elementor-pro', 'themeisle-companion' ),
|
813 |
+
'type' => Controls_Manager::ICON,
|
814 |
+
'label_block' => true,
|
815 |
+
'default' => '',
|
816 |
+
]
|
817 |
+
);
|
818 |
+
|
819 |
+
$this->add_control(
|
820 |
+
'button_icon_indent',
|
821 |
+
[
|
822 |
+
'label' => __( 'Icon Spacing', 'elementor-pro', 'themeisle-companion' ),
|
823 |
+
'type' => Controls_Manager::SLIDER,
|
824 |
+
'range' => [
|
825 |
+
'px' => [
|
826 |
+
'max' => 100,
|
827 |
+
],
|
828 |
+
],
|
829 |
+
'condition' => [
|
830 |
+
'button_icon!' => '',
|
831 |
+
],
|
832 |
+
'selectors' => [
|
833 |
+
'{{WRAPPER}} .elementor-button-icon' => 'margin-right: {{SIZE}}{{UNIT}}; margin-left: {{SIZE}}{{UNIT}};',
|
834 |
+
],
|
835 |
+
]
|
836 |
+
);
|
837 |
+
|
838 |
+
}
|
839 |
+
|
840 |
+
|
841 |
$this->end_controls_section();
|
842 |
}
|
843 |
|
852 |
protected function render( $instance = array() ) {
|
853 |
$form_id = $this->get_data( 'id' );
|
854 |
$settings = $this->get_settings();
|
855 |
+
$instance = $this->get_settings();
|
856 |
|
857 |
$this->maybe_load_widget_style();
|
858 |
|
874 |
<div class="content-forms-required">
|
875 |
<?php
|
876 |
printf(
|
877 |
+
esc_html__( 'The %s setting is required!', 'elementor-addon-widgets', 'themeisle-companion' ),
|
878 |
'<strong>' . $control['label'] . '</strong>'
|
879 |
); ?>
|
880 |
</div>
|
887 |
$this->render_form_field( $field );
|
888 |
}
|
889 |
|
890 |
+
$btn_label = esc_html__( 'Submit', 'elementor-addon-widgets', 'themeisle-companion' );
|
891 |
|
892 |
if ( ! empty( $controls['submit_label'] ) ) {
|
893 |
$btn_label = $this->get_settings( 'submit_label' );
|
894 |
} ?>
|
895 |
+
<fieldset class="submit-form <?php echo $this->form_type; ?>">
|
896 |
+
<button type="submit" name="submit" value="submit-<?php echo $this->form_type; ?>-<?php echo $form_id;
|
897 |
+
?>" class="<?php $this->get_render_attribute_string( 'button' ); ?>">
|
898 |
+
<?php echo $btn_label; ?>
|
899 |
+
<?php if ( ! empty( $instance['button_icon'] ) ){ ?><span <?php echo
|
900 |
+
$this->get_render_attribute_string( 'content-wrapper' ); // TODO: what to do about content-wrapper ?>
|
901 |
+
|
902 |
+
<span <?php echo $this->get_render_attribute_string( 'icon-align' ); ?>>
|
903 |
+
<i class="<?php echo esc_attr( $instance['button_icon'] ); ?>"></i>
|
904 |
+
</span>
|
905 |
+
<?php }; ?>
|
906 |
</button>
|
907 |
</fieldset>
|
908 |
<?php
|
985 |
|
986 |
$this->add_render_attribute( 'fieldset' . $field['_id'], 'class', 'content-form-field-' . $field['type'] );
|
987 |
$this->add_render_attribute( 'fieldset' . $field['_id'], 'class', 'elementor-column elementor-col-' . $field['field_width'] );
|
988 |
+
$this->add_render_attribute( ['icon-align' => [
|
989 |
+
'class' => [
|
990 |
+
empty( $instance['button_icon_align'] ) ? '' :
|
991 |
+
'elementor-align-icon-' . $instance['button_icon_align'],
|
992 |
+
'elementor-button-icon',
|
993 |
+
],
|
994 |
+
]] );
|
995 |
+
|
996 |
$this->add_inline_editing_attributes( $item_index . '_label', 'none' );
|
997 |
?>
|
998 |
|
vendor/codeinwp/themeisle-content-forms/composer.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "codeinwp/themeisle-content-forms",
|
3 |
-
"version": "1.0.
|
4 |
"description": "ThemeIsle Content Forms ",
|
5 |
"keywords": [
|
6 |
"wordpress"
|
1 |
{
|
2 |
"name": "codeinwp/themeisle-content-forms",
|
3 |
+
"version": "1.0.8",
|
4 |
"description": "ThemeIsle Content Forms ",
|
5 |
"keywords": [
|
6 |
"wordpress"
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php
CHANGED
@@ -108,6 +108,9 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
108 |
*/
|
109 |
function render_dashboard_widget() {
|
110 |
$this->setup_feeds();
|
|
|
|
|
|
|
111 |
?>
|
112 |
<style type="text/css">
|
113 |
#themeisle ul li.ti-dw-recommend-item {
|
@@ -116,20 +119,24 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
116 |
margin-bottom: 0px;
|
117 |
padding-top: 6px;
|
118 |
}
|
|
|
119 |
#themeisle h2.hndle {
|
120 |
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3Ny4xMiA3Ny4xMiI+PHRpdGxlPkFzc2V0IDM8L3RpdGxlPjxwYXRoIGQ9Ik03NS43Niw0Ny42cS0xLjUsNi40Ni00LjA3LDkuMjZBMzYuMjIsMzYuMjIsMCwwLDEsNjMuMjYsNjNhNTEsNTEsMCwwLDEtOS43OSw0LjZoLS4xNXY0LjgyQTQuNjYs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w1MS4wNiw2NS4zN1oiLz48L3N2Zz4=');
|
121 |
background-repeat: no-repeat;
|
122 |
background-position: 92% 50%;
|
123 |
background-size: 30px;
|
124 |
}
|
|
|
125 |
#themeisle .inside {
|
126 |
padding: 0;
|
127 |
}
|
|
|
128 |
.ti-feed-list {
|
129 |
padding: 0 12px 5px;
|
130 |
margin-bottom: 10px;
|
131 |
border-bottom: 1px solid #eee;
|
132 |
}
|
|
|
133 |
.ti-dw-feed-item a {
|
134 |
display: flex;
|
135 |
align-items: center;
|
@@ -138,12 +145,15 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
138 |
transition: .2s ease;
|
139 |
border-radius: 3px;
|
140 |
}
|
|
|
141 |
.ti-dw-feed-item a:hover {
|
142 |
background-color: #f8f8f8;
|
143 |
}
|
|
|
144 |
.ti-dw-feed-item a:hover .ti-dw-date-container {
|
145 |
opacity: .9;
|
146 |
}
|
|
|
147 |
.ti-dw-feed-item .ti-dw-month-container {
|
148 |
margin-top: -5px;
|
149 |
text-transform: uppercase;
|
@@ -151,6 +161,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
151 |
letter-spacing: 1px;
|
152 |
font-weight: 700;
|
153 |
}
|
|
|
154 |
.ti-dw-feed-item .ti-dw-date-container {
|
155 |
border-radius: 3px;
|
156 |
transition: .2s ease;
|
@@ -165,27 +176,31 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
165 |
flex-direction: column;
|
166 |
justify-content: center;
|
167 |
}
|
|
|
168 |
.ti-dw-footer {
|
169 |
padding: 0 12px 5px;
|
170 |
text-align: center;
|
171 |
}
|
|
|
172 |
.ti-dw-recommend-item {
|
173 |
display: block;
|
174 |
}
|
|
|
175 |
.ti-dw-recommend-item span {
|
176 |
color: #72777c;
|
177 |
}
|
|
|
178 |
.ti-dw-powered-by {
|
179 |
font-size: 11px;
|
180 |
margin-top: 3px;
|
181 |
display: block;
|
182 |
color: #72777c;
|
183 |
}
|
|
|
184 |
.ti-dw-powered-by span {
|
185 |
font-weight: 600;
|
186 |
}
|
187 |
|
188 |
-
|
189 |
</style>
|
190 |
<ul class="ti-feed-list">
|
191 |
<?php
|
108 |
*/
|
109 |
function render_dashboard_widget() {
|
110 |
$this->setup_feeds();
|
111 |
+
if ( empty( $this->items ) || ! is_array( $this->items ) ) {
|
112 |
+
return;
|
113 |
+
}
|
114 |
?>
|
115 |
<style type="text/css">
|
116 |
#themeisle ul li.ti-dw-recommend-item {
|
119 |
margin-bottom: 0px;
|
120 |
padding-top: 6px;
|
121 |
}
|
122 |
+
|
123 |
#themeisle h2.hndle {
|
124 |
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3Ny4xMiA3Ny4xMiI+PHRpdGxlPkFzc2V0IDM8L3RpdGxlPjxwYXRoIGQ9Ik03NS43Niw0Ny42cS0xLjUsNi40Ni00LjA3LDkuMjZBMzYuMjIsMzYuMjIsMCwwLDEsNjMuMjYsNjNhNTEsNTEsMCwwLDEtOS43OSw0LjZoLS4xNXY0LjgyQTQuNjYsNC42NiwwLDAsMSw1Miw3NS43Niw0LjA3LDQuMDcsMCwwLDEsNDksNzcuMTJhNCw0LDAsMCwxLTIuMTgtLjYxQTQuOTQsNC45NCwwLDAsMSw0NS4xOSw3NWE0LjQyLDQuNDIsMCwwLDEtNy41NCwwLDQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSwzLjc1LDMuNzUsMCwwLDEtMiwuNjFBNC4yNyw0LjI3LDAsMCwxLDMwLjI3LDc1YTQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSw0LDQsMCwwLDEtMi4xOC42MSwzLjkzLDMuOTMsMCwwLDEtMy4xNi0xLjQzLDUuMyw1LjMsMCwwLDEtMS4yMS0zLjU0LDEzLjgxLDEzLjgxLDAsMCwxL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LjUuNzUsNS4xMmEyMS43MiwyMS43MiwwLDAsMCw1LTcuMTVBMjEuMzgsMjEuMzgsMCwwLDAsNjUuMDcsMjgsMTcuNDQsMTcuNDQsMCwwLDAsNjEuNDUsMTdaTTQzLjYsNjUuMzdhMi43MiwyLjcyLDAsMCwwLTIuMS0uOSwzLDMsMCwwLDAtMi4xOS45LDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi44NCwyLjg0LDAsMCwwLDIuMTksMSwyLjYxLDIuNjEsMCwwLDAsMi4xLTEsMy40NSwzLjQ1LDAsMCwwLC44My0yLjMzVjY3LjYzQTMuMTcsMy4xNywwLDAsMCw0My42LDY1LjM3Wm03LjQ2LDBhMywzLDAsMCwwLTIuMTgtLjksMi43MywyLjczLDAsMCwwLTIuMTEuOSwzLjE3LDMuMTcsMCwwLDAtLjgzLDIuMjZ2NC44MmEzLjQ1LDMuNDUsMCwwLDAsLjgzLDIuMzMsMi42MSwyLjYxLDAsMCwwLDIuMTEsMSwyLjgzLDIuODMsMCwwLDAsMi4xOC0xLDMuMzIsMy4zMiwwLDAsMCwuOS0yLjMzVjY3LjYzQTMuMDYsMy4wNiwwLDAsMCw1MS4wNiw2NS4zN1oiLz48L3N2Zz4=');
|
125 |
background-repeat: no-repeat;
|
126 |
background-position: 92% 50%;
|
127 |
background-size: 30px;
|
128 |
}
|
129 |
+
|
130 |
#themeisle .inside {
|
131 |
padding: 0;
|
132 |
}
|
133 |
+
|
134 |
.ti-feed-list {
|
135 |
padding: 0 12px 5px;
|
136 |
margin-bottom: 10px;
|
137 |
border-bottom: 1px solid #eee;
|
138 |
}
|
139 |
+
|
140 |
.ti-dw-feed-item a {
|
141 |
display: flex;
|
142 |
align-items: center;
|
145 |
transition: .2s ease;
|
146 |
border-radius: 3px;
|
147 |
}
|
148 |
+
|
149 |
.ti-dw-feed-item a:hover {
|
150 |
background-color: #f8f8f8;
|
151 |
}
|
152 |
+
|
153 |
.ti-dw-feed-item a:hover .ti-dw-date-container {
|
154 |
opacity: .9;
|
155 |
}
|
156 |
+
|
157 |
.ti-dw-feed-item .ti-dw-month-container {
|
158 |
margin-top: -5px;
|
159 |
text-transform: uppercase;
|
161 |
letter-spacing: 1px;
|
162 |
font-weight: 700;
|
163 |
}
|
164 |
+
|
165 |
.ti-dw-feed-item .ti-dw-date-container {
|
166 |
border-radius: 3px;
|
167 |
transition: .2s ease;
|
176 |
flex-direction: column;
|
177 |
justify-content: center;
|
178 |
}
|
179 |
+
|
180 |
.ti-dw-footer {
|
181 |
padding: 0 12px 5px;
|
182 |
text-align: center;
|
183 |
}
|
184 |
+
|
185 |
.ti-dw-recommend-item {
|
186 |
display: block;
|
187 |
}
|
188 |
+
|
189 |
.ti-dw-recommend-item span {
|
190 |
color: #72777c;
|
191 |
}
|
192 |
+
|
193 |
.ti-dw-powered-by {
|
194 |
font-size: 11px;
|
195 |
margin-top: 3px;
|
196 |
display: block;
|
197 |
color: #72777c;
|
198 |
}
|
199 |
+
|
200 |
.ti-dw-powered-by span {
|
201 |
font-weight: 600;
|
202 |
}
|
203 |
|
|
|
204 |
</style>
|
205 |
<ul class="ti-feed-list">
|
206 |
<?php
|
vendor/codeinwp/themeisle-sdk/load.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
*/
|
12 |
|
13 |
// Current SDK version and path.
|
14 |
-
$themeisle_sdk_version = '2.2.
|
15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
16 |
|
17 |
global $themeisle_sdk_max_version;
|
11 |
*/
|
12 |
|
13 |
// Current SDK version and path.
|
14 |
+
$themeisle_sdk_version = '2.2.7';
|
15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
16 |
|
17 |
global $themeisle_sdk_max_version;
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit77ec8b6cfebaf7d980af01bf48d7920f
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit77ec8b6cfebaf7d980af01bf48d7920f
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit5ee4a84c648882abe8e1d6e8cb5af071
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit5ee4a84c648882abe8e1d6e8cb5af071', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit5ee4a84c648882abe8e1d6e8cb5af071', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
+
composerRequire5ee4a84c648882abe8e1d6e8cb5af071($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire5ee4a84c648882abe8e1d6e8cb5af071($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/installed.json
CHANGED
@@ -6,15 +6,15 @@
|
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
-
"time": "2018-
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|
@@ -46,15 +46,15 @@
|
|
46 |
"source": {
|
47 |
"type": "git",
|
48 |
"url": "https://github.com/Codeinwp/elementor-extra-widgets.git",
|
49 |
-
"reference": "
|
50 |
},
|
51 |
"dist": {
|
52 |
"type": "zip",
|
53 |
-
"url": "https://api.github.com/repos/Codeinwp/elementor-extra-widgets/zipball/
|
54 |
-
"reference": "
|
55 |
"shasum": ""
|
56 |
},
|
57 |
-
"time": "2018-07-
|
58 |
"type": "library",
|
59 |
"installation-source": "dist",
|
60 |
"autoload": {
|
@@ -159,15 +159,15 @@
|
|
159 |
"source": {
|
160 |
"type": "git",
|
161 |
"url": "https://github.com/Codeinwp/themeisle-content-forms.git",
|
162 |
-
"reference": "
|
163 |
},
|
164 |
"dist": {
|
165 |
"type": "zip",
|
166 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-content-forms/zipball/
|
167 |
-
"reference": "
|
168 |
"shasum": ""
|
169 |
},
|
170 |
-
"time": "2018-07-
|
171 |
"type": "library",
|
172 |
"installation-source": "dist",
|
173 |
"autoload": {
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
9 |
+
"reference": "caa9bf2b2c48c12a0ac745b6e2880c94339a777d"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/caa9bf2b2c48c12a0ac745b6e2880c94339a777d",
|
14 |
+
"reference": "caa9bf2b2c48c12a0ac745b6e2880c94339a777d",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
+
"time": "2018-07-19 07:48:21",
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|
46 |
"source": {
|
47 |
"type": "git",
|
48 |
"url": "https://github.com/Codeinwp/elementor-extra-widgets.git",
|
49 |
+
"reference": "ad8d03c3b1b6552603a19ef3e2ffc4a81a407dfc"
|
50 |
},
|
51 |
"dist": {
|
52 |
"type": "zip",
|
53 |
+
"url": "https://api.github.com/repos/Codeinwp/elementor-extra-widgets/zipball/ad8d03c3b1b6552603a19ef3e2ffc4a81a407dfc",
|
54 |
+
"reference": "ad8d03c3b1b6552603a19ef3e2ffc4a81a407dfc",
|
55 |
"shasum": ""
|
56 |
},
|
57 |
+
"time": "2018-07-19 07:48:31",
|
58 |
"type": "library",
|
59 |
"installation-source": "dist",
|
60 |
"autoload": {
|
159 |
"source": {
|
160 |
"type": "git",
|
161 |
"url": "https://github.com/Codeinwp/themeisle-content-forms.git",
|
162 |
+
"reference": "ad10088a675bfce72174a946c5691942326c6c8b"
|
163 |
},
|
164 |
"dist": {
|
165 |
"type": "zip",
|
166 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-content-forms/zipball/ad10088a675bfce72174a946c5691942326c6c8b",
|
167 |
+
"reference": "ad10088a675bfce72174a946c5691942326c6c8b",
|
168 |
"shasum": ""
|
169 |
},
|
170 |
+
"time": "2018-07-20 12:41:17",
|
171 |
"type": "library",
|
172 |
"installation-source": "dist",
|
173 |
"autoload": {
|