-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
xtrasolutionsco.com
/
wp-content
/
plugins
/
elementor
/
includes
/
controls
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
groups
--
NONE
alert.php
1.795KB
Edit File
Delete File
Rename
animation.php
4.756KB
Edit File
Delete File
Rename
base-data.php
3.662KB
Edit File
Delete File
Rename
base-icon-font.php
0.566KB
Edit File
Delete File
Rename
base-multiple.php
2.033KB
Edit File
Delete File
Rename
base-ui.php
0.504KB
Edit File
Delete File
Rename
base-units.php
3.495KB
Edit File
Delete File
Rename
base.php
3.08KB
Edit File
Delete File
Rename
box-shadow.php
3.393KB
Edit File
Delete File
Rename
button.php
1.678KB
Edit File
Delete File
Rename
choose.php
2.187KB
Edit File
Delete File
Rename
code.php
1.99KB
Edit File
Delete File
Rename
color.php
2.035KB
Edit File
Delete File
Rename
date-time.php
2.036KB
Edit File
Delete File
Rename
deprecated-notice.php
2.273KB
Edit File
Delete File
Rename
dimensions.php
5KB
Edit File
Delete File
Rename
divider.php
0.81KB
Edit File
Delete File
Rename
exit-animation.php
2.542KB
Edit File
Delete File
Rename
font.php
2.216KB
Edit File
Delete File
Rename
gallery.php
6.387KB
Edit File
Delete File
Rename
gaps.php
1.618KB
Edit File
Delete File
Rename
heading.php
1.316KB
Edit File
Delete File
Rename
hidden.php
0.926KB
Edit File
Delete File
Rename
hover-animation.php
4.321KB
Edit File
Delete File
Rename
icon.php
31.325KB
Edit File
Delete File
Rename
icons.php
7.566KB
Edit File
Delete File
Rename
image-dimensions.php
3.708KB
Edit File
Delete File
Rename
media.php
14.117KB
Edit File
Delete File
Rename
notice.php
4.071KB
Edit File
Delete File
Rename
number.php
2.765KB
Edit File
Delete File
Rename
popover-toggle.php
2.664KB
Edit File
Delete File
Rename
raw-html.php
1.483KB
Edit File
Delete File
Rename
repeater.php
4.964KB
Edit File
Delete File
Rename
section.php
1.33KB
Edit File
Delete File
Rename
select.php
2.563KB
Edit File
Delete File
Rename
select2.php
2.716KB
Edit File
Delete File
Rename
slider.php
3.488KB
Edit File
Delete File
Rename
structure.php
2.462KB
Edit File
Delete File
Rename
switcher.php
2.076KB
Edit File
Delete File
Rename
tab.php
1.006KB
Edit File
Delete File
Rename
tabs.php
0.922KB
Edit File
Delete File
Rename
text-shadow.php
3.133KB
Edit File
Delete File
Rename
text.php
2.08KB
Edit File
Delete File
Rename
textarea.php
2.006KB
Edit File
Delete File
Rename
url.php
5.126KB
Edit File
Delete File
Rename
visual-choice.php
2.152KB
Edit File
Delete File
Rename
wp-widget.php
1.346KB
Edit File
Delete File
Rename
wysiwyg.php
1.734KB
Edit File
Delete File
Rename
<?php namespace Elementor; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Elementor control base units. * * An abstract class for creating new unit controls in the panel. * * @since 1.0.0 * @abstract */ abstract class Control_Base_Units extends Control_Base_Multiple { /** * Get units control default value. * * Retrieve the default value of the units control. Used to return the default * values while initializing the units control. * * @since 1.0.0 * @access public * * @return array Control default value. */ public function get_default_value() { return [ 'unit' => 'px', ]; } /** * Get units control default settings. * * Retrieve the default settings of the units control. Used to return the default * settings while initializing the units control. * * @since 1.0.0 * @access protected * * @return array Control default settings. */ protected function get_default_settings() { return [ 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], 'em' => [ 'min' => 0.1, 'max' => 10, 'step' => 0.1, ], 'rem' => [ 'min' => 0.1, 'max' => 10, 'step' => 0.1, ], '%' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], 'deg' => [ 'min' => 0, 'max' => 360, 'step' => 1, ], 'grad' => [ 'min' => 0, 'max' => 400, 'step' => 1, ], 'rad' => [ 'min' => 0, 'max' => 6.2832, 'step' => 0.0001, ], 'turn' => [ 'min' => 0, 'max' => 1, 'step' => 0.01, ], 'vh' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], 'vw' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], 's' => [ 'min' => 0, 'max' => 3, 'step' => 0.1, ], 'ms' => [ 'min' => 0, 'max' => 3000, 'step' => 100, ], ], ]; } /** * Print units control settings. * * Used to generate the units control template in the editor. * * @since 1.0.0 * @access protected */ protected function print_units_template() { ?> <# if ( data.size_units && data.size_units.length > 1 ) { #> <div class="e-units-wrapper"> <div class="e-units-switcher"> <span></span> <i class="eicon-edit" aria-hidden="true"></i> <i class="eicon-angle-right" aria-hidden="true"></i> <span class="elementor-screen-only"><?php echo esc_html__( 'Switch units', 'elementor' ); ?></span> </div> <div class="e-units-choices"> <# _.each( data.size_units, function( unit ) { #> <input id="elementor-choose-{{ data._cid + data.name + unit }}" type="radio" name="elementor-choose-{{ data.name + data._cid }}" data-setting="unit" value="{{ unit }}"> <label class="elementor-units-choices-label" for="elementor-choose-{{ data._cid + data.name + unit }}" data-choose="{{{ unit }}}"> <# if ( 'custom' === unit ) { #> <i class="eicon-edit" aria-hidden="true"></i> <span class="elementor-screen-only"><?php echo esc_html__( 'Custom unit', 'elementor' ); ?></span> <# } else { #> <span>{{{ unit }}}</span> <# } #> </label> <# } ); #> </div> </div> <# } #> <?php } public function get_style_value( $css_property, $control_value, array $control_data ) { $return_value = parent::get_style_value( $css_property, $control_value, $control_data ); if ( 'UNIT' === $css_property && 'custom' === $return_value ) { $return_value = '__EMPTY__'; } return $return_value; } }
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat