Version Description
- 2021-08-02 =
- Fix: Remove unnecessary stop button in client logo widget
Download this release
Release Info
Developer | jegstudio |
Plugin | Jeg Elementor Kit |
Version | 1.11.2 |
Comparing to | |
See all releases |
Code changes from version 1.11.1 to 1.11.2
- assets/dev/js/client-logo.js +1 -1
- assets/dev/js/testimonials.js +1 -1
- assets/img/admin/icon-1.svg +0 -1
- assets/img/admin/jkit-logo-old.svg +0 -11
- assets/js/elements/client-logo.js +1 -1
- assets/js/elements/elements.js +2 -2
- assets/js/elements/testimonials.js +1 -1
- jeg-elementor-kit.php +2 -2
- lib/jeg-element/assets/js/vc/vc.script.js +8 -9
- lib/jeg-element/includes/class/divi/class-divi-builder-abstract.php +3 -3
- lib/jeg-element/includes/class/image/class-image-background-load.php +11 -7
- lib/jeg-element/readme.txt +4 -0
- lib/jeg-framework/assets/css/customizer-rtl.css +4 -0
- lib/jeg-framework/assets/js/customizer-control/control-text.js +12 -10
- lib/jeg-framework/assets/js/customizer/active-callback.js +12 -1
- lib/jeg-framework/assets/js/form/form-builder.js +1 -0
- lib/jeg-framework/customizer/class-customizer.php +9 -2
- lib/jeg-framework/customizer/control/class-password.php +34 -0
- lib/jeg-framework/customizer/control/class-text.php +9 -1
- lib/jeg-framework/form/class-form-builder.php +1 -0
- lib/jeg-framework/form/field/class-password.php +32 -0
- lib/jeg-framework/form/field/class-text.php +8 -1
- lib/jeg-framework/readme.txt +3 -0
- lib/jeg-framework/util/framework-helper.php +35 -33
- readme.txt +4 -1
assets/dev/js/client-logo.js
CHANGED
@@ -56,7 +56,7 @@ class JKitClientLogo extends elementorModules.frontend.handlers.Base {
|
|
56 |
}
|
57 |
|
58 |
tns(attr)
|
59 |
-
this.elements.$wrapper.find('button[data-action
|
60 |
|
61 |
if (!options.show_navigation) {
|
62 |
this.elements.$wrapper.find('.tns-controls').remove()
|
56 |
}
|
57 |
|
58 |
tns(attr)
|
59 |
+
this.elements.$wrapper.find('button[data-action]').remove()
|
60 |
|
61 |
if (!options.show_navigation) {
|
62 |
this.elements.$wrapper.find('.tns-controls').remove()
|
assets/dev/js/testimonials.js
CHANGED
@@ -56,7 +56,7 @@ class JKitTestimonials extends elementorModules.frontend.handlers.Base {
|
|
56 |
}
|
57 |
|
58 |
tns(attr)
|
59 |
-
this.elements.$wrapper.find('button[data-action
|
60 |
|
61 |
if (!options.show_navigation) {
|
62 |
this.elements.$wrapper.find('.tns-controls').remove()
|
56 |
}
|
57 |
|
58 |
tns(attr)
|
59 |
+
this.elements.$wrapper.find('button[data-action]').remove()
|
60 |
|
61 |
if (!options.show_navigation) {
|
62 |
this.elements.$wrapper.find('.tns-controls').remove()
|
assets/img/admin/icon-1.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 330 320"><polygon points="75 230 35 310 0 240 40 160 75 230" /><polygon points="330 320 250 320 190 200 270 200 330 320" /><polygon points="220 0 200 0 120 0 100 0 40 0 80 80 100 80 160 80 40 320 120 320 280 0 220 0" /></svg>
|
|
assets/img/admin/jkit-logo-old.svg
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="9pt" height="9pt" viewBox="0 0 9 9" version="1.1">
|
3 |
-
<g id="surface1">
|
4 |
-
<rect x="0" y="0" width="9" height="9" style="fill:none;fill-opacity:1;stroke:none;"/>
|
5 |
-
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.588235%,12.156863%,14.509804%);fill-opacity:1;" d="M 1.699219 7.542969 C 1.914062 7.515625 2.074219 7.40625 2.171875 7.21875 C 2.277344 7.035156 2.328125 6.714844 2.328125 6.261719 L 2.328125 2.367188 L 3.207031 2.367188 L 3.207031 6.261719 C 3.207031 6.660156 3.164062 6.964844 3.078125 7.171875 C 2.996094 7.382812 2.851562 7.53125 2.636719 7.617188 C 2.425781 7.703125 2.113281 7.746094 1.699219 7.746094 Z M 3.628906 14.480469 C 3.320312 14.480469 3.046875 14.410156 2.8125 14.265625 C 2.578125 14.121094 2.398438 13.925781 2.265625 13.679688 C 2.140625 13.425781 2.078125 13.144531 2.078125 12.828125 C 2.078125 12.476562 2.140625 12.175781 2.265625 11.929688 C 2.398438 11.683594 2.574219 11.496094 2.800781 11.371094 C 3.023438 11.238281 3.28125 11.175781 3.5625 11.175781 C 3.84375 11.175781 4.09375 11.230469 4.320312 11.34375 C 4.542969 11.457031 4.722656 11.613281 4.851562 11.820312 C 4.984375 12.023438 5.046875 12.257812 5.046875 12.523438 C 5.046875 12.609375 5.042969 12.707031 5.035156 12.8125 L 5.019531 12.949219 L 2.988281 12.949219 C 2.988281 13.375 3.054688 13.691406 3.183594 13.886719 C 3.316406 14.082031 3.496094 14.179688 3.730469 14.179688 C 3.949219 14.179688 4.128906 14.128906 4.273438 14.035156 C 4.421875 13.9375 4.5625 13.796875 4.695312 13.617188 L 4.90625 13.773438 C 4.777344 13.976562 4.613281 14.144531 4.414062 14.277344 C 4.21875 14.414062 3.957031 14.480469 3.628906 14.480469 Z M 4.136719 12.644531 C 4.136719 12.222656 4.085938 11.921875 3.988281 11.746094 C 3.890625 11.566406 3.746094 11.476562 3.5625 11.476562 C 3.390625 11.476562 3.253906 11.570312 3.144531 11.753906 C 3.039062 11.933594 2.988281 12.230469 2.988281 12.644531 Z M 3.578125 23.359375 C 3.0625 23.359375 2.660156 23.273438 2.363281 23.109375 C 2.070312 22.945312 1.921875 22.679688 1.921875 22.3125 C 1.921875 22.085938 2.011719 21.898438 2.191406 21.75 C 2.371094 21.601562 2.585938 21.496094 2.832031 21.433594 C 2.632812 21.371094 2.53125 21.246094 2.53125 21.0625 C 2.53125 20.910156 2.621094 20.796875 2.800781 20.726562 C 2.605469 20.65625 2.445312 20.539062 2.3125 20.375 C 2.1875 20.207031 2.125 20.023438 2.125 19.820312 C 2.125 19.453125 2.253906 19.183594 2.515625 19.015625 C 2.78125 18.851562 3.136719 18.769531 3.578125 18.769531 L 4.992188 18.769531 L 4.992188 18.949219 L 4.386719 19.03125 C 4.574219 19.101562 4.726562 19.214844 4.84375 19.363281 C 4.96875 19.511719 5.027344 19.664062 5.027344 19.820312 C 5.027344 20.191406 4.902344 20.457031 4.648438 20.617188 C 4.402344 20.78125 4.042969 20.859375 3.578125 20.859375 C 3.34375 20.859375 3.171875 20.875 3.0625 20.902344 C 2.957031 20.921875 2.902344 20.976562 2.902344 21.0625 C 2.902344 21.136719 2.957031 21.183594 3.0625 21.203125 C 3.171875 21.226562 3.34375 21.242188 3.578125 21.246094 C 4.0625 21.253906 4.457031 21.351562 4.765625 21.535156 C 5.074219 21.714844 5.230469 21.972656 5.230469 22.3125 C 5.230469 22.679688 5.082031 22.945312 4.785156 23.109375 C 4.492188 23.273438 4.089844 23.359375 3.578125 23.359375 Z M 3.578125 20.589844 C 3.9375 20.589844 4.117188 20.332031 4.117188 19.820312 C 4.117188 19.570312 4.066406 19.375 3.96875 19.242188 C 3.867188 19.105469 3.738281 19.039062 3.578125 19.039062 C 3.410156 19.039062 3.277344 19.101562 3.179688 19.234375 C 3.082031 19.363281 3.035156 19.558594 3.035156 19.820312 C 3.035156 20.332031 3.214844 20.589844 3.578125 20.589844 Z M 3.578125 23.054688 C 3.808594 23.054688 3.992188 22.992188 4.125 22.863281 C 4.253906 22.742188 4.320312 22.558594 4.320312 22.3125 C 4.320312 22.113281 4.257812 21.949219 4.128906 21.820312 C 4.007812 21.683594 3.84375 21.597656 3.628906 21.554688 L 3.3125 21.523438 C 3.15625 21.589844 3.035156 21.6875 2.957031 21.8125 C 2.875 21.9375 2.832031 22.105469 2.832031 22.3125 C 2.832031 22.558594 2.898438 22.742188 3.03125 22.863281 C 3.160156 22.992188 3.34375 23.054688 3.578125 23.054688 Z M 3.578125 23.054688 "/>
|
6 |
-
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9 4.5 C 9 6.984375 6.984375 9 4.5 9 C 2.015625 9 0 6.984375 0 4.5 C 0 2.015625 2.015625 0 4.5 0 C 6.984375 0 9 2.015625 9 4.5 Z M 9 4.5 "/>
|
7 |
-
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.588235%,12.156863%,14.509804%);fill-opacity:1;" d="M 1.34375 4.226562 C 1.449219 4.214844 1.527344 4.160156 1.578125 4.066406 C 1.628906 3.972656 1.65625 3.8125 1.65625 3.585938 L 1.65625 1.640625 L 2.09375 1.640625 L 2.09375 3.585938 C 2.09375 3.789062 2.074219 3.9375 2.03125 4.042969 C 1.988281 4.148438 1.917969 4.222656 1.8125 4.265625 C 1.707031 4.308594 1.550781 4.328125 1.34375 4.328125 Z M 3.230469 3.902344 C 3.074219 3.902344 2.9375 3.863281 2.820312 3.792969 C 2.703125 3.722656 2.613281 3.625 2.546875 3.5 C 2.484375 3.375 2.453125 3.230469 2.453125 3.074219 C 2.453125 2.898438 2.484375 2.75 2.546875 2.625 C 2.613281 2.5 2.703125 2.40625 2.816406 2.34375 C 2.925781 2.28125 3.054688 2.246094 3.195312 2.246094 C 3.335938 2.246094 3.460938 2.273438 3.574219 2.332031 C 3.6875 2.386719 3.777344 2.46875 3.839844 2.570312 C 3.90625 2.671875 3.9375 2.789062 3.9375 2.921875 C 3.9375 2.964844 3.9375 3.011719 3.933594 3.066406 L 3.925781 3.136719 L 2.910156 3.136719 C 2.910156 3.347656 2.941406 3.503906 3.007812 3.605469 C 3.074219 3.699219 3.164062 3.75 3.28125 3.75 C 3.390625 3.75 3.480469 3.726562 3.550781 3.679688 C 3.625 3.628906 3.695312 3.558594 3.761719 3.46875 L 3.867188 3.546875 C 3.804688 3.648438 3.722656 3.730469 3.621094 3.800781 C 3.523438 3.867188 3.394531 3.902344 3.230469 3.902344 Z M 3.484375 2.984375 C 3.484375 2.769531 3.457031 2.621094 3.410156 2.535156 C 3.359375 2.445312 3.289062 2.398438 3.195312 2.398438 C 3.109375 2.398438 3.042969 2.445312 2.988281 2.539062 C 2.933594 2.628906 2.910156 2.777344 2.910156 2.984375 Z M 4.921875 4.542969 C 4.664062 4.542969 4.460938 4.5 4.3125 4.417969 C 4.167969 4.335938 4.09375 4.203125 4.09375 4.019531 C 4.09375 3.90625 4.136719 3.8125 4.230469 3.738281 C 4.320312 3.664062 4.425781 3.613281 4.550781 3.582031 C 4.449219 3.546875 4.398438 3.488281 4.398438 3.394531 C 4.398438 3.316406 4.441406 3.261719 4.53125 3.226562 C 4.433594 3.191406 4.355469 3.132812 4.289062 3.050781 C 4.226562 2.96875 4.195312 2.875 4.195312 2.773438 C 4.195312 2.589844 4.261719 2.457031 4.390625 2.371094 C 4.523438 2.289062 4.699219 2.246094 4.921875 2.246094 L 5.628906 2.246094 L 5.628906 2.339844 L 5.324219 2.378906 C 5.417969 2.414062 5.496094 2.46875 5.554688 2.542969 C 5.617188 2.617188 5.644531 2.695312 5.644531 2.773438 C 5.644531 2.957031 5.582031 3.089844 5.457031 3.171875 C 5.332031 3.253906 5.15625 3.292969 4.921875 3.292969 C 4.804688 3.292969 4.71875 3.300781 4.664062 3.3125 C 4.609375 3.324219 4.582031 3.351562 4.582031 3.394531 C 4.582031 3.429688 4.609375 3.453125 4.664062 3.464844 C 4.71875 3.476562 4.804688 3.484375 4.921875 3.484375 C 5.164062 3.492188 5.363281 3.539062 5.515625 3.632812 C 5.667969 3.722656 5.746094 3.851562 5.746094 4.019531 C 5.746094 4.203125 5.671875 4.335938 5.523438 4.417969 C 5.378906 4.5 5.175781 4.542969 4.921875 4.542969 Z M 4.921875 3.160156 C 5.101562 3.160156 5.191406 3.03125 5.191406 2.773438 C 5.191406 2.648438 5.164062 2.550781 5.117188 2.484375 C 5.066406 2.414062 5 2.382812 4.921875 2.382812 C 4.835938 2.382812 4.769531 2.414062 4.722656 2.480469 C 4.675781 2.546875 4.652344 2.644531 4.652344 2.773438 C 4.652344 3.03125 4.742188 3.160156 4.921875 3.160156 Z M 4.921875 4.390625 C 5.039062 4.390625 5.128906 4.359375 5.195312 4.296875 C 5.257812 4.234375 5.292969 4.144531 5.292969 4.019531 C 5.292969 3.921875 5.261719 3.839844 5.195312 3.773438 C 5.136719 3.707031 5.054688 3.660156 4.949219 3.640625 L 4.789062 3.625 C 4.710938 3.65625 4.652344 3.707031 4.609375 3.769531 C 4.570312 3.832031 4.550781 3.914062 4.550781 4.019531 C 4.550781 4.144531 4.582031 4.234375 4.648438 4.296875 C 4.710938 4.359375 4.804688 4.390625 4.921875 4.390625 Z M 4.921875 4.390625 "/>
|
8 |
-
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.588235%,12.156863%,14.509804%);fill-opacity:1;" d="M 5.433594 7.277344 C 5.292969 7.277344 5.15625 7.246094 5.027344 7.191406 C 4.898438 7.132812 4.757812 7.027344 4.609375 6.871094 L 4.066406 6.304688 L 4.066406 7.242188 L 3.628906 7.242188 L 3.625 5.453125 C 3.625 5.339844 3.609375 5.253906 3.578125 5.199219 C 3.546875 5.144531 3.484375 5.117188 3.390625 5.117188 L 3.355469 5.117188 L 3.355469 5.015625 L 3.761719 5.015625 C 3.839844 5.015625 3.898438 5.027344 3.941406 5.054688 C 3.988281 5.082031 4.019531 5.128906 4.035156 5.191406 C 4.058594 5.253906 4.066406 5.339844 4.066406 5.453125 L 4.066406 6.09375 L 4.652344 5.367188 C 4.734375 5.261719 4.824219 5.175781 4.917969 5.113281 C 5.015625 5.046875 5.125 5.015625 5.25 5.015625 L 5.484375 5.015625 L 5.484375 5.132812 C 5.34375 5.132812 5.226562 5.152344 5.125 5.1875 C 5.023438 5.21875 4.9375 5.28125 4.867188 5.371094 L 4.363281 5.992188 L 5.144531 6.804688 C 5.226562 6.894531 5.320312 6.976562 5.425781 7.046875 C 5.53125 7.113281 5.617188 7.152344 5.679688 7.160156 L 5.679688 7.242188 C 5.613281 7.265625 5.53125 7.277344 5.433594 7.277344 Z M 6.128906 5.472656 C 6.050781 5.472656 5.988281 5.449219 5.941406 5.398438 C 5.898438 5.351562 5.878906 5.289062 5.878906 5.21875 C 5.878906 5.160156 5.894531 5.113281 5.929688 5.078125 C 5.964844 5.046875 6.007812 5.027344 6.0625 5.027344 C 6.144531 5.027344 6.207031 5.054688 6.25 5.101562 C 6.292969 5.152344 6.316406 5.210938 6.316406 5.285156 C 6.316406 5.34375 6.296875 5.390625 6.261719 5.421875 C 6.230469 5.457031 6.183594 5.472656 6.128906 5.472656 Z M 5.910156 6.09375 C 5.910156 5.980469 5.894531 5.894531 5.863281 5.839844 C 5.832031 5.785156 5.769531 5.757812 5.675781 5.757812 L 5.640625 5.757812 L 5.640625 5.65625 L 6.046875 5.65625 C 6.128906 5.65625 6.1875 5.667969 6.230469 5.695312 C 6.273438 5.722656 6.304688 5.769531 6.324219 5.832031 C 6.339844 5.890625 6.351562 5.980469 6.351562 6.09375 L 6.351562 7.242188 L 5.910156 7.242188 Z M 7.308594 7.277344 C 7.152344 7.277344 7.03125 7.234375 6.945312 7.152344 C 6.859375 7.066406 6.816406 6.941406 6.816406 6.78125 L 6.816406 5.808594 L 6.617188 5.808594 L 6.617188 5.65625 L 6.816406 5.65625 L 6.816406 5.351562 L 6.988281 5.148438 L 7.257812 5.148438 L 7.257812 5.65625 L 7.628906 5.65625 L 7.628906 5.808594 L 7.257812 5.808594 L 7.257812 6.804688 C 7.257812 6.925781 7.269531 7.007812 7.300781 7.054688 C 7.328125 7.101562 7.375 7.125 7.433594 7.125 C 7.496094 7.125 7.558594 7.109375 7.621094 7.082031 C 7.644531 7.066406 7.671875 7.050781 7.699219 7.03125 L 7.746094 7.128906 C 7.71875 7.152344 7.683594 7.175781 7.640625 7.203125 C 7.546875 7.25 7.4375 7.277344 7.308594 7.277344 Z M 7.308594 7.277344 "/>
|
9 |
-
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(97.254902%,14.509804%,9.019608%);fill-opacity:1;" d="M 6.328125 5.152344 C 6.289062 4.984375 6.144531 4.878906 6.007812 4.910156 C 5.871094 4.941406 5.792969 5.101562 5.832031 5.269531 C 5.871094 5.433594 6.015625 5.542969 6.152344 5.507812 C 6.289062 5.476562 6.367188 5.316406 6.328125 5.152344 Z M 6.328125 5.152344 "/>
|
10 |
-
</g>
|
11 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/elements/client-logo.js
CHANGED
@@ -93,7 +93,7 @@
|
|
93 |
/*! no static exports found */
|
94 |
/***/ (function(module, exports) {
|
95 |
|
96 |
-
eval("class JKitClientLogo extends elementorModules.frontend.handlers.Base {\n getDefaultSettings() {\n return {\n selectors: {\n wrapper: '.jeg-elementor-kit.jkit-client-logo',\n items: '.client-track'\n }\n };\n }\n\n getDefaultElements() {\n const selectors = this.getSettings('selectors');\n return {\n $wrapper: this.$element.find(selectors.wrapper),\n $items: this.$element.find(selectors.items)\n };\n }\n\n bindEvents() {\n this.onLoadElement();\n }\n\n onLoadElement() {\n this.loadCarousel();\n }\n\n loadCarousel() {\n const id = this.elements.$wrapper.data('id'),\n options = this.elements.$wrapper.data('settings'),\n selectors = this.getSettings('selectors'),\n attr = {\n container: selectors.wrapper + '[data-id=\"' + id + '\"] ' + selectors.items,\n loop: true,\n mouseDrag: true,\n autoplay: options.autoplay,\n autoplayTimeout: options.autoplay_speed,\n autoplayHoverPause: options.autoplay_hover_pause,\n navPosition: 'bottom',\n controlsPosition: options.arrow_position,\n controlsText: [options.navigation_left, options.navigation_right],\n responsiveClass: true,\n responsive: {\n 0: {\n items: options.items_mobile,\n gutter: options.margin_mobile\n },\n 768: {\n items: options.items_tablet,\n gutter: options.margin_tablet\n },\n 1025: {\n items: options.items,\n gutter: options.margin\n }\n }\n };\n tns(attr);\n this.elements.$wrapper.find('button[data-action
|
97 |
|
98 |
/***/ })
|
99 |
|
93 |
/*! no static exports found */
|
94 |
/***/ (function(module, exports) {
|
95 |
|
96 |
+
eval("class JKitClientLogo extends elementorModules.frontend.handlers.Base {\n getDefaultSettings() {\n return {\n selectors: {\n wrapper: '.jeg-elementor-kit.jkit-client-logo',\n items: '.client-track'\n }\n };\n }\n\n getDefaultElements() {\n const selectors = this.getSettings('selectors');\n return {\n $wrapper: this.$element.find(selectors.wrapper),\n $items: this.$element.find(selectors.items)\n };\n }\n\n bindEvents() {\n this.onLoadElement();\n }\n\n onLoadElement() {\n this.loadCarousel();\n }\n\n loadCarousel() {\n const id = this.elements.$wrapper.data('id'),\n options = this.elements.$wrapper.data('settings'),\n selectors = this.getSettings('selectors'),\n attr = {\n container: selectors.wrapper + '[data-id=\"' + id + '\"] ' + selectors.items,\n loop: true,\n mouseDrag: true,\n autoplay: options.autoplay,\n autoplayTimeout: options.autoplay_speed,\n autoplayHoverPause: options.autoplay_hover_pause,\n navPosition: 'bottom',\n controlsPosition: options.arrow_position,\n controlsText: [options.navigation_left, options.navigation_right],\n responsiveClass: true,\n responsive: {\n 0: {\n items: options.items_mobile,\n gutter: options.margin_mobile\n },\n 768: {\n items: options.items_tablet,\n gutter: options.margin_tablet\n },\n 1025: {\n items: options.items,\n gutter: options.margin\n }\n }\n };\n tns(attr);\n this.elements.$wrapper.find('button[data-action]').remove();\n\n if (!options.show_navigation) {\n this.elements.$wrapper.find('.tns-controls').remove();\n }\n\n if (!options.show_dots) {\n this.elements.$wrapper.find('.tns-nav').remove();\n }\n }\n\n}\n\njQuery(window).on('elementor/frontend/init', () => {\n const addHandler = $element => {\n elementorFrontend.elementsHandler.addHandler(JKitClientLogo, {\n $element\n });\n };\n\n elementorFrontend.hooks.addAction('frontend/element_ready/jkit_client_logo.default', addHandler);\n});\n\n//# sourceURL=webpack:///./jeg-elementor-kit/assets/dev/js/client-logo.js?");
|
97 |
|
98 |
/***/ })
|
99 |
|
assets/js/elements/elements.js
CHANGED
@@ -115,7 +115,7 @@ eval("class JKitAnimatedText extends elementorModules.frontend.handlers.Base {\n
|
|
115 |
/*! no static exports found */
|
116 |
/***/ (function(module, exports) {
|
117 |
|
118 |
-
eval("class JKitClientLogo extends elementorModules.frontend.handlers.Base {\n getDefaultSettings() {\n return {\n selectors: {\n wrapper: '.jeg-elementor-kit.jkit-client-logo',\n items: '.client-track'\n }\n };\n }\n\n getDefaultElements() {\n const selectors = this.getSettings('selectors');\n return {\n $wrapper: this.$element.find(selectors.wrapper),\n $items: this.$element.find(selectors.items)\n };\n }\n\n bindEvents() {\n this.onLoadElement();\n }\n\n onLoadElement() {\n this.loadCarousel();\n }\n\n loadCarousel() {\n const id = this.elements.$wrapper.data('id'),\n options = this.elements.$wrapper.data('settings'),\n selectors = this.getSettings('selectors'),\n attr = {\n container: selectors.wrapper + '[data-id=\"' + id + '\"] ' + selectors.items,\n loop: true,\n mouseDrag: true,\n autoplay: options.autoplay,\n autoplayTimeout: options.autoplay_speed,\n autoplayHoverPause: options.autoplay_hover_pause,\n navPosition: 'bottom',\n controlsPosition: options.arrow_position,\n controlsText: [options.navigation_left, options.navigation_right],\n responsiveClass: true,\n responsive: {\n 0: {\n items: options.items_mobile,\n gutter: options.margin_mobile\n },\n 768: {\n items: options.items_tablet,\n gutter: options.margin_tablet\n },\n 1025: {\n items: options.items,\n gutter: options.margin\n }\n }\n };\n tns(attr);\n this.elements.$wrapper.find('button[data-action
|
119 |
|
120 |
/***/ }),
|
121 |
|
@@ -269,7 +269,7 @@ eval("class JKitTeam extends elementorModules.frontend.handlers.Base {\n getDef
|
|
269 |
/*! no static exports found */
|
270 |
/***/ (function(module, exports) {
|
271 |
|
272 |
-
eval("class JKitTestimonials extends elementorModules.frontend.handlers.Base {\n getDefaultSettings() {\n return {\n selectors: {\n wrapper: '.jeg-elementor-kit.jkit-testimonials',\n items: '.testimonials-track'\n }\n };\n }\n\n getDefaultElements() {\n const selectors = this.getSettings('selectors');\n return {\n $wrapper: this.$element.find(selectors.wrapper),\n $items: this.$element.find(selectors.items)\n };\n }\n\n bindEvents() {\n this.onLoadElement();\n }\n\n onLoadElement() {\n this.loadCarousel();\n }\n\n loadCarousel() {\n const id = this.elements.$wrapper.data('id'),\n selectors = this.getSettings('selectors'),\n options = this.elements.$wrapper.data('settings'),\n attr = {\n container: selectors.wrapper + '[data-id=\"' + id + '\"] ' + selectors.items,\n loop: true,\n mouseDrag: true,\n autoplay: options.autoplay,\n autoplayTimeout: options.autoplay_speed,\n autoplayHoverPause: options.autoplay_hover_pause,\n navPosition: 'bottom',\n controlsPosition: options.arrow_position,\n controlsText: [options.navigation_left, options.navigation_right],\n responsiveClass: true,\n responsive: {\n 0: {\n items: options.items_mobile,\n gutter: options.margin_mobile\n },\n 768: {\n items: options.items_tablet,\n gutter: options.margin_tablet\n },\n 1025: {\n items: options.items,\n gutter: options.margin\n }\n }\n };\n tns(attr);\n this.elements.$wrapper.find('button[data-action
|
273 |
|
274 |
/***/ }),
|
275 |
|
115 |
/*! no static exports found */
|
116 |
/***/ (function(module, exports) {
|
117 |
|
118 |
+
eval("class JKitClientLogo extends elementorModules.frontend.handlers.Base {\n getDefaultSettings() {\n return {\n selectors: {\n wrapper: '.jeg-elementor-kit.jkit-client-logo',\n items: '.client-track'\n }\n };\n }\n\n getDefaultElements() {\n const selectors = this.getSettings('selectors');\n return {\n $wrapper: this.$element.find(selectors.wrapper),\n $items: this.$element.find(selectors.items)\n };\n }\n\n bindEvents() {\n this.onLoadElement();\n }\n\n onLoadElement() {\n this.loadCarousel();\n }\n\n loadCarousel() {\n const id = this.elements.$wrapper.data('id'),\n options = this.elements.$wrapper.data('settings'),\n selectors = this.getSettings('selectors'),\n attr = {\n container: selectors.wrapper + '[data-id=\"' + id + '\"] ' + selectors.items,\n loop: true,\n mouseDrag: true,\n autoplay: options.autoplay,\n autoplayTimeout: options.autoplay_speed,\n autoplayHoverPause: options.autoplay_hover_pause,\n navPosition: 'bottom',\n controlsPosition: options.arrow_position,\n controlsText: [options.navigation_left, options.navigation_right],\n responsiveClass: true,\n responsive: {\n 0: {\n items: options.items_mobile,\n gutter: options.margin_mobile\n },\n 768: {\n items: options.items_tablet,\n gutter: options.margin_tablet\n },\n 1025: {\n items: options.items,\n gutter: options.margin\n }\n }\n };\n tns(attr);\n this.elements.$wrapper.find('button[data-action]').remove();\n\n if (!options.show_navigation) {\n this.elements.$wrapper.find('.tns-controls').remove();\n }\n\n if (!options.show_dots) {\n this.elements.$wrapper.find('.tns-nav').remove();\n }\n }\n\n}\n\njQuery(window).on('elementor/frontend/init', () => {\n const addHandler = $element => {\n elementorFrontend.elementsHandler.addHandler(JKitClientLogo, {\n $element\n });\n };\n\n elementorFrontend.hooks.addAction('frontend/element_ready/jkit_client_logo.default', addHandler);\n});\n\n//# sourceURL=webpack:///./jeg-elementor-kit/assets/dev/js/client-logo.js?");
|
119 |
|
120 |
/***/ }),
|
121 |
|
269 |
/*! no static exports found */
|
270 |
/***/ (function(module, exports) {
|
271 |
|
272 |
+
eval("class JKitTestimonials extends elementorModules.frontend.handlers.Base {\n getDefaultSettings() {\n return {\n selectors: {\n wrapper: '.jeg-elementor-kit.jkit-testimonials',\n items: '.testimonials-track'\n }\n };\n }\n\n getDefaultElements() {\n const selectors = this.getSettings('selectors');\n return {\n $wrapper: this.$element.find(selectors.wrapper),\n $items: this.$element.find(selectors.items)\n };\n }\n\n bindEvents() {\n this.onLoadElement();\n }\n\n onLoadElement() {\n this.loadCarousel();\n }\n\n loadCarousel() {\n const id = this.elements.$wrapper.data('id'),\n selectors = this.getSettings('selectors'),\n options = this.elements.$wrapper.data('settings'),\n attr = {\n container: selectors.wrapper + '[data-id=\"' + id + '\"] ' + selectors.items,\n loop: true,\n mouseDrag: true,\n autoplay: options.autoplay,\n autoplayTimeout: options.autoplay_speed,\n autoplayHoverPause: options.autoplay_hover_pause,\n navPosition: 'bottom',\n controlsPosition: options.arrow_position,\n controlsText: [options.navigation_left, options.navigation_right],\n responsiveClass: true,\n responsive: {\n 0: {\n items: options.items_mobile,\n gutter: options.margin_mobile\n },\n 768: {\n items: options.items_tablet,\n gutter: options.margin_tablet\n },\n 1025: {\n items: options.items,\n gutter: options.margin\n }\n }\n };\n tns(attr);\n this.elements.$wrapper.find('button[data-action]').remove();\n\n if (!options.show_navigation) {\n this.elements.$wrapper.find('.tns-controls').remove();\n }\n\n if (!options.show_dots) {\n this.elements.$wrapper.find('.tns-nav').remove();\n }\n\n if (options.show_navigation) {\n attr.nav = true;\n attr.navText = ['<i class=\"' + options.navigation_left + '\" aria-hidden=\"true\"></i>', '<i class=\"' + options.navigation_right + '\" aria-hidden=\"true\"></i>'];\n }\n }\n\n}\n\njQuery(window).on('elementor/frontend/init', () => {\n const addHandler = $element => {\n elementorFrontend.elementsHandler.addHandler(JKitTestimonials, {\n $element\n });\n };\n\n elementorFrontend.hooks.addAction('frontend/element_ready/jkit_testimonials.default', addHandler);\n});\n\n//# sourceURL=webpack:///./jeg-elementor-kit/assets/dev/js/testimonials.js?");
|
273 |
|
274 |
/***/ }),
|
275 |
|
assets/js/elements/testimonials.js
CHANGED
@@ -93,7 +93,7 @@
|
|
93 |
/*! no static exports found */
|
94 |
/***/ (function(module, exports) {
|
95 |
|
96 |
-
eval("class JKitTestimonials extends elementorModules.frontend.handlers.Base {\n getDefaultSettings() {\n return {\n selectors: {\n wrapper: '.jeg-elementor-kit.jkit-testimonials',\n items: '.testimonials-track'\n }\n };\n }\n\n getDefaultElements() {\n const selectors = this.getSettings('selectors');\n return {\n $wrapper: this.$element.find(selectors.wrapper),\n $items: this.$element.find(selectors.items)\n };\n }\n\n bindEvents() {\n this.onLoadElement();\n }\n\n onLoadElement() {\n this.loadCarousel();\n }\n\n loadCarousel() {\n const id = this.elements.$wrapper.data('id'),\n selectors = this.getSettings('selectors'),\n options = this.elements.$wrapper.data('settings'),\n attr = {\n container: selectors.wrapper + '[data-id=\"' + id + '\"] ' + selectors.items,\n loop: true,\n mouseDrag: true,\n autoplay: options.autoplay,\n autoplayTimeout: options.autoplay_speed,\n autoplayHoverPause: options.autoplay_hover_pause,\n navPosition: 'bottom',\n controlsPosition: options.arrow_position,\n controlsText: [options.navigation_left, options.navigation_right],\n responsiveClass: true,\n responsive: {\n 0: {\n items: options.items_mobile,\n gutter: options.margin_mobile\n },\n 768: {\n items: options.items_tablet,\n gutter: options.margin_tablet\n },\n 1025: {\n items: options.items,\n gutter: options.margin\n }\n }\n };\n tns(attr);\n this.elements.$wrapper.find('button[data-action
|
97 |
|
98 |
/***/ })
|
99 |
|
93 |
/*! no static exports found */
|
94 |
/***/ (function(module, exports) {
|
95 |
|
96 |
+
eval("class JKitTestimonials extends elementorModules.frontend.handlers.Base {\n getDefaultSettings() {\n return {\n selectors: {\n wrapper: '.jeg-elementor-kit.jkit-testimonials',\n items: '.testimonials-track'\n }\n };\n }\n\n getDefaultElements() {\n const selectors = this.getSettings('selectors');\n return {\n $wrapper: this.$element.find(selectors.wrapper),\n $items: this.$element.find(selectors.items)\n };\n }\n\n bindEvents() {\n this.onLoadElement();\n }\n\n onLoadElement() {\n this.loadCarousel();\n }\n\n loadCarousel() {\n const id = this.elements.$wrapper.data('id'),\n selectors = this.getSettings('selectors'),\n options = this.elements.$wrapper.data('settings'),\n attr = {\n container: selectors.wrapper + '[data-id=\"' + id + '\"] ' + selectors.items,\n loop: true,\n mouseDrag: true,\n autoplay: options.autoplay,\n autoplayTimeout: options.autoplay_speed,\n autoplayHoverPause: options.autoplay_hover_pause,\n navPosition: 'bottom',\n controlsPosition: options.arrow_position,\n controlsText: [options.navigation_left, options.navigation_right],\n responsiveClass: true,\n responsive: {\n 0: {\n items: options.items_mobile,\n gutter: options.margin_mobile\n },\n 768: {\n items: options.items_tablet,\n gutter: options.margin_tablet\n },\n 1025: {\n items: options.items,\n gutter: options.margin\n }\n }\n };\n tns(attr);\n this.elements.$wrapper.find('button[data-action]').remove();\n\n if (!options.show_navigation) {\n this.elements.$wrapper.find('.tns-controls').remove();\n }\n\n if (!options.show_dots) {\n this.elements.$wrapper.find('.tns-nav').remove();\n }\n\n if (options.show_navigation) {\n attr.nav = true;\n attr.navText = ['<i class=\"' + options.navigation_left + '\" aria-hidden=\"true\"></i>', '<i class=\"' + options.navigation_right + '\" aria-hidden=\"true\"></i>'];\n }\n }\n\n}\n\njQuery(window).on('elementor/frontend/init', () => {\n const addHandler = $element => {\n elementorFrontend.elementsHandler.addHandler(JKitTestimonials, {\n $element\n });\n };\n\n elementorFrontend.hooks.addAction('frontend/element_ready/jkit_testimonials.default', addHandler);\n});\n\n//# sourceURL=webpack:///./jeg-elementor-kit/assets/dev/js/testimonials.js?");
|
97 |
|
98 |
/***/ })
|
99 |
|
jeg-elementor-kit.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Jeg Elementor Kit
|
4 |
* Plugin URI: http://jegtheme.com/
|
5 |
* Description: Additional highly customizable widgets for Elementor page builder
|
6 |
-
* Version: 1.11.
|
7 |
* Author: Jegstudio
|
8 |
* Author URI: http://jegtheme.com
|
9 |
* License: GPLv3
|
@@ -25,7 +25,7 @@ add_action(
|
|
25 |
function() {
|
26 |
defined( 'JEG_ELEMENTOR_KIT' ) || define( 'JEG_ELEMENTOR_KIT', 'jeg-elementor-kit' );
|
27 |
defined( 'JEG_ELEMENTOR_KIT_NAME' ) || define( 'JEG_ELEMENTOR_KIT_NAME', 'Jeg Elementor Kit' );
|
28 |
-
defined( 'JEG_ELEMENTOR_KIT_VERSION' ) || define( 'JEG_ELEMENTOR_KIT_VERSION', '1.11.
|
29 |
defined( 'JEG_ELEMENTOR_KIT_URL' ) || define( 'JEG_ELEMENTOR_KIT_URL', plugins_url( JEG_ELEMENTOR_KIT ) );
|
30 |
defined( 'JEG_ELEMENTOR_KIT_FILE' ) || define( 'JEG_ELEMENTOR_KIT_FILE', __FILE__ );
|
31 |
defined( 'JEG_ELEMENTOR_KIT_DIR' ) || define( 'JEG_ELEMENTOR_KIT_DIR', plugin_dir_path( __FILE__ ) );
|
3 |
* Plugin Name: Jeg Elementor Kit
|
4 |
* Plugin URI: http://jegtheme.com/
|
5 |
* Description: Additional highly customizable widgets for Elementor page builder
|
6 |
+
* Version: 1.11.2
|
7 |
* Author: Jegstudio
|
8 |
* Author URI: http://jegtheme.com
|
9 |
* License: GPLv3
|
25 |
function() {
|
26 |
defined( 'JEG_ELEMENTOR_KIT' ) || define( 'JEG_ELEMENTOR_KIT', 'jeg-elementor-kit' );
|
27 |
defined( 'JEG_ELEMENTOR_KIT_NAME' ) || define( 'JEG_ELEMENTOR_KIT_NAME', 'Jeg Elementor Kit' );
|
28 |
+
defined( 'JEG_ELEMENTOR_KIT_VERSION' ) || define( 'JEG_ELEMENTOR_KIT_VERSION', '1.11.2' );
|
29 |
defined( 'JEG_ELEMENTOR_KIT_URL' ) || define( 'JEG_ELEMENTOR_KIT_URL', plugins_url( JEG_ELEMENTOR_KIT ) );
|
30 |
defined( 'JEG_ELEMENTOR_KIT_FILE' ) || define( 'JEG_ELEMENTOR_KIT_FILE', __FILE__ );
|
31 |
defined( 'JEG_ELEMENTOR_KIT_DIR' ) || define( 'JEG_ELEMENTOR_KIT_DIR', plugin_dir_path( __FILE__ ) );
|
lib/jeg-element/assets/js/vc/vc.script.js
CHANGED
@@ -108,28 +108,27 @@
|
|
108 |
|
109 |
// Slider.js
|
110 |
$('.slider-input-wrapper').each(function () {
|
111 |
-
var element = $(this)
|
|
|
112 |
|
113 |
-
|
114 |
$(this).mousemove(function () {
|
115 |
-
|
116 |
-
$(this).closest('div').find('.jeg_range_value .value').text(value);
|
117 |
});
|
118 |
});
|
119 |
|
120 |
-
|
121 |
-
|
122 |
-
$(this).closest('div').find('.jeg_range_value .value').text(value);
|
123 |
});
|
124 |
|
125 |
-
|
126 |
var thisInput = $(this).parent().find('input'),
|
127 |
inputDefault = thisInput.data('reset_value')
|
128 |
|
129 |
thisInput.val(inputDefault);
|
130 |
thisInput.change();
|
131 |
|
132 |
-
|
133 |
});
|
134 |
});
|
135 |
|
108 |
|
109 |
// Slider.js
|
110 |
$('.slider-input-wrapper').each(function () {
|
111 |
+
var element = $(this),
|
112 |
+
input = element.find('input[type=range]');
|
113 |
|
114 |
+
input.on('mousedown', function () {
|
115 |
$(this).mousemove(function () {
|
116 |
+
element.find('.jeg_range_value .value').text($(this).val());
|
|
|
117 |
});
|
118 |
});
|
119 |
|
120 |
+
input.on('click', function () {
|
121 |
+
element.find('.jeg_range_value .value').text($(this).val());
|
|
|
122 |
});
|
123 |
|
124 |
+
element.find('.jeg-slider-reset').on('click', function () {
|
125 |
var thisInput = $(this).parent().find('input'),
|
126 |
inputDefault = thisInput.data('reset_value')
|
127 |
|
128 |
thisInput.val(inputDefault);
|
129 |
thisInput.change();
|
130 |
|
131 |
+
element.find('.jeg_range_value .value').text(inputDefault);
|
132 |
});
|
133 |
});
|
134 |
|
lib/jeg-element/includes/class/divi/class-divi-builder-abstract.php
CHANGED
@@ -32,9 +32,9 @@ abstract class Divi_Builder_Abstract extends \ET_Builder_Module {
|
|
32 |
* @var array
|
33 |
*/
|
34 |
protected $module_credits = array(
|
35 |
-
'module_uri' => 'https://
|
36 |
-
'author' => '
|
37 |
-
'author_uri' => 'https://
|
38 |
);
|
39 |
|
40 |
/**
|
32 |
* @var array
|
33 |
*/
|
34 |
protected $module_credits = array(
|
35 |
+
'module_uri' => 'https://support.jegtheme.com/',
|
36 |
+
'author' => 'Jegtheme',
|
37 |
+
'author_uri' => 'https://support.jegtheme.com/',
|
38 |
);
|
39 |
|
40 |
/**
|
lib/jeg-element/includes/class/image/class-image-background-load.php
CHANGED
@@ -45,13 +45,17 @@ class Image_Background_Load implements Image_Interface {
|
|
45 |
public function get_image_url( $image_id, $size ) {
|
46 |
$image = wp_get_attachment_image_src( $image_id, $size );
|
47 |
|
48 |
-
if (
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
|
|
|
|
55 |
}
|
56 |
|
57 |
/**
|
45 |
public function get_image_url( $image_id, $size ) {
|
46 |
$image = wp_get_attachment_image_src( $image_id, $size );
|
47 |
|
48 |
+
if ( is_array( $image ) ) {
|
49 |
+
if ( $this->is_gif_file( $image[0] ) ) {
|
50 |
+
$image = wp_get_attachment_image_src( $image_id, 'full' );
|
51 |
+
|
52 |
+
return $image[0];
|
53 |
+
} else {
|
54 |
+
return $image[0];
|
55 |
+
}
|
56 |
+
} else {
|
57 |
+
return '';
|
58 |
+
}
|
59 |
}
|
60 |
|
61 |
/**
|
lib/jeg-element/readme.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
=== 1.1.1 ===
|
2 |
- fix elementor dynamic select if not use ajax option condition
|
3 |
|
1 |
+
=== 1.1.2 ===
|
2 |
+
- Update author information
|
3 |
+
- Fix element not rendered in divi builder
|
4 |
+
|
5 |
=== 1.1.1 ===
|
6 |
- fix elementor dynamic select if not use ajax option condition
|
7 |
|
lib/jeg-framework/assets/css/customizer-rtl.css
CHANGED
@@ -8,6 +8,10 @@
|
|
8 |
border-right: none;
|
9 |
}
|
10 |
|
|
|
|
|
|
|
|
|
11 |
.customizer-search-wrapper .customizer-search-toggle {
|
12 |
left: 0;
|
13 |
right: auto;
|
8 |
border-right: none;
|
9 |
}
|
10 |
|
11 |
+
#customize-header-actions .button-primary {
|
12 |
+
margin-right: unset;
|
13 |
+
}
|
14 |
+
|
15 |
.customizer-search-wrapper .customizer-search-toggle {
|
16 |
left: 0;
|
17 |
right: auto;
|
lib/jeg-framework/assets/js/customizer-control/control-text.js
CHANGED
@@ -1,13 +1,15 @@
|
|
1 |
-
(function($, api){
|
2 |
-
|
3 |
|
4 |
api.controlConstructor['jeg-text'] = api.controlConstructor.default.extend({
|
5 |
-
ready: function() {
|
6 |
-
var control = this
|
7 |
|
8 |
-
this.container.on(
|
9 |
-
control.setting.set(
|
10 |
-
})
|
11 |
-
}
|
12 |
-
})
|
13 |
-
|
|
|
|
1 |
+
;(function ($, api) {
|
2 |
+
'use strict'
|
3 |
|
4 |
api.controlConstructor['jeg-text'] = api.controlConstructor.default.extend({
|
5 |
+
ready: function () {
|
6 |
+
var control = this
|
7 |
|
8 |
+
this.container.on('change click keyup paste', 'input', function () {
|
9 |
+
control.setting.set($(this).val())
|
10 |
+
})
|
11 |
+
},
|
12 |
+
})
|
13 |
+
|
14 |
+
api.controlConstructor['jeg-password'] = api.controlConstructor['jeg-text']
|
15 |
+
})(jQuery, wp.customize)
|
lib/jeg-framework/assets/js/customizer/active-callback.js
CHANGED
@@ -47,7 +47,18 @@
|
|
47 |
}
|
48 |
|
49 |
if (compare === 'in' || compare === 'contains') {
|
50 |
-
var result = value1.indexOf(value2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
return result >= 0;
|
52 |
}
|
53 |
};
|
47 |
}
|
48 |
|
49 |
if (compare === 'in' || compare === 'contains') {
|
50 |
+
var result = value1.indexOf(value2),
|
51 |
+
high,
|
52 |
+
low;
|
53 |
+
if ( value1 instanceof Array && value2 instanceof Array ) {
|
54 |
+
high = value1.length > value2.length ? value1 : value2
|
55 |
+
low = value1.length > value2.length ? value2 : value1
|
56 |
+
high.forEach(function(hiVal){
|
57 |
+
low.forEach(function(lowVal){
|
58 |
+
if ( hiVal == lowVal ) result++
|
59 |
+
})
|
60 |
+
})
|
61 |
+
}
|
62 |
return result >= 0;
|
63 |
}
|
64 |
};
|
lib/jeg-framework/assets/js/form/form-builder.js
CHANGED
@@ -2312,6 +2312,7 @@
|
|
2312 |
|
2313 |
api.fieldConstructor = {
|
2314 |
text: api.textField,
|
|
|
2315 |
color: api.colorField,
|
2316 |
select: api.selectField,
|
2317 |
checkbox: api.checkboxField,
|
2312 |
|
2313 |
api.fieldConstructor = {
|
2314 |
text: api.textField,
|
2315 |
+
password: api.textField,
|
2316 |
color: api.colorField,
|
2317 |
select: api.selectField,
|
2318 |
checkbox: api.checkboxField,
|
lib/jeg-framework/customizer/class-customizer.php
CHANGED
@@ -962,7 +962,7 @@ class Customizer {
|
|
962 |
* @return array
|
963 |
*/
|
964 |
public function get_all_control_class() {
|
965 |
-
$handler =
|
966 |
'jeg-alert' => 'Jeg\Customizer\Control\Alert',
|
967 |
'jeg-header' => 'Jeg\Customizer\Control\Header',
|
968 |
'jeg-color' => 'Jeg\Customizer\Control\Color',
|
@@ -977,6 +977,7 @@ class Customizer {
|
|
977 |
'jeg-preset' => 'Jeg\Customizer\Control\Preset',
|
978 |
'jeg-preset-image' => 'Jeg\Customizer\Control\Preset_Image',
|
979 |
'jeg-text' => 'Jeg\Customizer\Control\Text',
|
|
|
980 |
'jeg-textarea' => 'Jeg\Customizer\Control\Textarea',
|
981 |
'jeg-radio' => 'Jeg\Customizer\Control\Radio',
|
982 |
'jeg-image' => 'Jeg\Customizer\Control\Image',
|
@@ -985,7 +986,7 @@ class Customizer {
|
|
985 |
'jeg-repeater' => 'Jeg\Customizer\Control\Repeater',
|
986 |
'jeg-typography' => 'Jeg\Customizer\Control\Typography',
|
987 |
'jeg-gradient' => 'Jeg\Customizer\Control\Gradient',
|
988 |
-
|
989 |
|
990 |
return $handler;
|
991 |
}
|
@@ -1463,6 +1464,12 @@ class Customizer {
|
|
1463 |
$in_footer = 1;
|
1464 |
$wp_scripts->add( $handle, $src, $deps, $this->version, $in_footer );
|
1465 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1466 |
$handle = 'jeg-textarea-control';
|
1467 |
$src = JEG_URL . '/assets/js/customizer-control/control-textarea.js';
|
1468 |
$deps = array( 'jeg-default-control' );
|
962 |
* @return array
|
963 |
*/
|
964 |
public function get_all_control_class() {
|
965 |
+
$handler = array(
|
966 |
'jeg-alert' => 'Jeg\Customizer\Control\Alert',
|
967 |
'jeg-header' => 'Jeg\Customizer\Control\Header',
|
968 |
'jeg-color' => 'Jeg\Customizer\Control\Color',
|
977 |
'jeg-preset' => 'Jeg\Customizer\Control\Preset',
|
978 |
'jeg-preset-image' => 'Jeg\Customizer\Control\Preset_Image',
|
979 |
'jeg-text' => 'Jeg\Customizer\Control\Text',
|
980 |
+
'jeg-password' => 'Jeg\Customizer\Control\Password',
|
981 |
'jeg-textarea' => 'Jeg\Customizer\Control\Textarea',
|
982 |
'jeg-radio' => 'Jeg\Customizer\Control\Radio',
|
983 |
'jeg-image' => 'Jeg\Customizer\Control\Image',
|
986 |
'jeg-repeater' => 'Jeg\Customizer\Control\Repeater',
|
987 |
'jeg-typography' => 'Jeg\Customizer\Control\Typography',
|
988 |
'jeg-gradient' => 'Jeg\Customizer\Control\Gradient',
|
989 |
+
);
|
990 |
|
991 |
return $handler;
|
992 |
}
|
1464 |
$in_footer = 1;
|
1465 |
$wp_scripts->add( $handle, $src, $deps, $this->version, $in_footer );
|
1466 |
|
1467 |
+
$handle = 'jeg-password-control';
|
1468 |
+
$src = JEG_URL . '/assets/js/customizer-control/control-text.js';
|
1469 |
+
$deps = array( 'jeg-default-control' );
|
1470 |
+
$in_footer = 1;
|
1471 |
+
$wp_scripts->add( $handle, $src, $deps, $this->version, $in_footer );
|
1472 |
+
|
1473 |
$handle = 'jeg-textarea-control';
|
1474 |
$src = JEG_URL . '/assets/js/customizer-control/control-textarea.js';
|
1475 |
$deps = array( 'jeg-default-control' );
|
lib/jeg-framework/customizer/control/class-password.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Customizer Control: password.
|
4 |
+
*
|
5 |
+
* Creates a password
|
6 |
+
*
|
7 |
+
* @author Jegstudio
|
8 |
+
* @since 1.0.0
|
9 |
+
* @package jeg-framework
|
10 |
+
*/
|
11 |
+
|
12 |
+
namespace Jeg\Customizer\Control;
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Password control.
|
16 |
+
*/
|
17 |
+
class Password extends Text {
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The control type.
|
21 |
+
*
|
22 |
+
* @access public
|
23 |
+
* @var string
|
24 |
+
*/
|
25 |
+
public $type = 'jeg-password';
|
26 |
+
|
27 |
+
/**
|
28 |
+
* The input type.
|
29 |
+
*
|
30 |
+
* @access public
|
31 |
+
* @var string
|
32 |
+
*/
|
33 |
+
public $input_type = 'password';
|
34 |
+
}
|
lib/jeg-framework/customizer/control/class-text.php
CHANGED
@@ -24,6 +24,14 @@ class Text extends Control_Abstract {
|
|
24 |
*/
|
25 |
public $type = 'jeg-text';
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
/**
|
28 |
* An Underscore (JS) template for this control's content (but not its container).
|
29 |
*
|
@@ -44,7 +52,7 @@ class Text extends Control_Abstract {
|
|
44 |
<span class="description customize-control-description">{{{ data.description }}}</span>
|
45 |
<# } #>
|
46 |
<div>
|
47 |
-
<input type="
|
48 |
</div>
|
49 |
</label>
|
50 |
<?php
|
24 |
*/
|
25 |
public $type = 'jeg-text';
|
26 |
|
27 |
+
/**
|
28 |
+
* The input type
|
29 |
+
*
|
30 |
+
* @access public
|
31 |
+
* @var string
|
32 |
+
*/
|
33 |
+
public $input_type = 'text';
|
34 |
+
|
35 |
/**
|
36 |
* An Underscore (JS) template for this control's content (but not its container).
|
37 |
*
|
52 |
<span class="description customize-control-description">{{{ data.description }}}</span>
|
53 |
<# } #>
|
54 |
<div>
|
55 |
+
<input type="<?php echo esc_attr( $this->input_type ); ?>" {{{ data.link }}} value="{{ data.value }}"/>
|
56 |
</div>
|
57 |
</label>
|
58 |
<?php
|
lib/jeg-framework/form/class-form-builder.php
CHANGED
@@ -168,6 +168,7 @@ class Form_Builder {
|
|
168 |
$type = array(
|
169 |
'standart' => 'Jeg\Form\Field\Standart',
|
170 |
'text' => 'Jeg\Form\Field\Text',
|
|
|
171 |
'color' => 'Jeg\Form\Field\Color',
|
172 |
'select' => 'Jeg\Form\Field\Select',
|
173 |
'checkbox' => 'Jeg\Form\Field\Checkbox',
|
168 |
$type = array(
|
169 |
'standart' => 'Jeg\Form\Field\Standart',
|
170 |
'text' => 'Jeg\Form\Field\Text',
|
171 |
+
'password' => 'Jeg\Form\Field\Password',
|
172 |
'color' => 'Jeg\Form\Field\Color',
|
173 |
'select' => 'Jeg\Form\Field\Select',
|
174 |
'checkbox' => 'Jeg\Form\Field\Checkbox',
|
lib/jeg-framework/form/field/class-password.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Customizer Control: Password.
|
4 |
+
*
|
5 |
+
* Creates a password
|
6 |
+
*
|
7 |
+
* @author Jegstudio
|
8 |
+
* @since 1.0.0
|
9 |
+
* @package jeg-framework
|
10 |
+
*/
|
11 |
+
|
12 |
+
namespace Jeg\Form\Field;
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Password control.
|
16 |
+
*/
|
17 |
+
class Password extends Text {
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Form Password Template
|
21 |
+
*
|
22 |
+
* @var string
|
23 |
+
*/
|
24 |
+
protected $type = 'password';
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Input Type
|
28 |
+
*
|
29 |
+
* @var string
|
30 |
+
*/
|
31 |
+
protected $input_type = 'password';
|
32 |
+
}
|
lib/jeg-framework/form/field/class-text.php
CHANGED
@@ -23,6 +23,13 @@ class Text extends Field_Abstract {
|
|
23 |
*/
|
24 |
protected $type = 'text';
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* An Underscore (JS) template for this control's content
|
28 |
*/
|
@@ -33,7 +40,7 @@ class Text extends Field_Abstract {
|
|
33 |
<label for="{{ data.fieldID }}">{{{ data.title }}}</label>
|
34 |
</div>
|
35 |
<div class="widget-right">
|
36 |
-
<input class="widefat" id="{{ data.fieldID }}" name="{{ data.fieldName }}" autocomplete="off" type="
|
37 |
<i>{{{ data.description }}}</i>
|
38 |
</div>
|
39 |
</div>
|
23 |
*/
|
24 |
protected $type = 'text';
|
25 |
|
26 |
+
/**
|
27 |
+
* Input Type
|
28 |
+
*
|
29 |
+
* @var string
|
30 |
+
*/
|
31 |
+
protected $input_type = 'text';
|
32 |
+
|
33 |
/**
|
34 |
* An Underscore (JS) template for this control's content
|
35 |
*/
|
40 |
<label for="{{ data.fieldID }}">{{{ data.title }}}</label>
|
41 |
</div>
|
42 |
<div class="widget-right">
|
43 |
+
<input class="widefat" id="{{ data.fieldID }}" name="{{ data.fieldName }}" autocomplete="off" type="<?php echo esc_attr( $this->input_type ); ?>" value="{{ data.value }}" />
|
44 |
<i>{{{ data.description }}}</i>
|
45 |
</div>
|
46 |
</div>
|
lib/jeg-framework/readme.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
=== 1.2.6 ==
|
2 |
- [BUG] Fix sanitize data
|
3 |
|
1 |
+
=== 1.2.7 ==
|
2 |
+
- [BUG] Fix console error in wp 5.8 on gutenberg editor
|
3 |
+
|
4 |
=== 1.2.6 ==
|
5 |
- [BUG] Fix sanitize data
|
6 |
|
lib/jeg-framework/util/framework-helper.php
CHANGED
@@ -133,39 +133,41 @@ if ( ! function_exists( 'jeg_allowed_html' ) ) {
|
|
133 |
* @return array
|
134 |
*/
|
135 |
function jeg_allowed_html( $allowedtags ) {
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
|
|
|
|
169 |
|
170 |
return $allowedtags;
|
171 |
}
|
133 |
* @return array
|
134 |
*/
|
135 |
function jeg_allowed_html( $allowedtags ) {
|
136 |
+
$allowedtags['br'] = array_merge( isset( $allowedtags['br'] ) ? $allowedtags['br'] : [], [] );
|
137 |
+
$allowedtags['ul'] = array_merge( isset( $allowedtags['ul'] ) ? $allowedtags['ul'] : [], [
|
138 |
+
'class' => true,
|
139 |
+
'style' => true
|
140 |
+
] );
|
141 |
+
$allowedtags['ol'] = array_merge( isset( $allowedtags['ol'] ) ? $allowedtags['ol'] : [], [] );
|
142 |
+
$allowedtags['li'] = array_merge( isset( $allowedtags['li'] ) ? $allowedtags['li'] : [], [] );
|
143 |
+
$allowedtags['a'] = array_merge( isset( $allowedtags['a'] ) ? $allowedtags['a'] : [], [
|
144 |
+
'href' => true,
|
145 |
+
'title' => true,
|
146 |
+
'target' => true,
|
147 |
+
'class' => true,
|
148 |
+
'style' => true
|
149 |
+
] );
|
150 |
+
$allowedtags['span'] = array_merge( isset( $allowedtags['span'] ) ? $allowedtags['span'] : [], [
|
151 |
+
'class' => true,
|
152 |
+
'style' => true
|
153 |
+
] );
|
154 |
+
$allowedtags['i'] = array_merge( isset( $allowedtags['i'] ) ? $allowedtags['i'] : [], [
|
155 |
+
'class' => true
|
156 |
+
] );
|
157 |
+
$allowedtags['div'] = array_merge( isset( $allowedtags['div'] ) ? $allowedtags['div'] : [], [
|
158 |
+
'id' => true,
|
159 |
+
'class' => true,
|
160 |
+
'data-id' => true,
|
161 |
+
'data-video' => true
|
162 |
+
] );
|
163 |
+
$allowedtags['img'] = array_merge( isset( $allowedtags['img'] ) ? $allowedtags['img'] : [], [
|
164 |
+
'class' => true,
|
165 |
+
'src' => true,
|
166 |
+
'alt' => true,
|
167 |
+
'srcset' => true,
|
168 |
+
'width' => true,
|
169 |
+
'height' => true
|
170 |
+
] );
|
171 |
|
172 |
return $allowedtags;
|
173 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: elementor, element, addon, widget, extension, blog, post, elementor addon,
|
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.7
|
6 |
Requires PHP: 7.0
|
7 |
-
Stable tag: 1.11.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -75,6 +75,9 @@ https://elementor.com/help/requirements/ Also you can disable some widgets that
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
78 |
= 1.11.1 - 2021-07-31 =
|
79 |
* Improvement: Update logo assets
|
80 |
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.7
|
6 |
Requires PHP: 7.0
|
7 |
+
Stable tag: 1.11.2
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.11.2 - 2021-08-02 =
|
79 |
+
* Fix: Remove unnecessary stop button in client logo widget
|
80 |
+
|
81 |
= 1.11.1 - 2021-07-31 =
|
82 |
* Improvement: Update logo assets
|
83 |
|