Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 11/6/2017
* Time: 5:27 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class TCB_Progress_Icon_Element extends TCB_Icon_Element {
/**
* Section element identifier
*
* @return string
*/
public function identifier() {
return '.tve-progress-icon';
}
/**
* @inheritDoc
*/
public function expanded_state_config() {
return true;
}
/**
* @return bool
*/
public function has_hover_state() {
return true;
}
/**
* @inheritDoc
*/
public function expanded_state_apply_inline() {
return true;
}
/**
*
* @inheritDoc
*/
public function expanded_state_label() {
return __( 'Completed', 'thrive-cb' );
}
public function own_components() {
$components = parent::own_components();
$components['icon']['disabled_controls'] = [ 'ToggleURL', 'link' ];
return $components;
}
public function hide() {
return true;
}
}

View File

@@ -0,0 +1,53 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 11/6/2017
* Time: 5:27 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class TCB_Progress_Label_Element extends TCB_Label_Advanced_Element {
/**
* Section element identifier
*
* @return string
*/
public function identifier() {
return '.tve-progress-label';
}
/**
* @inheritDoc
*/
public function expanded_state_config() {
return true;
}
/**
* @return bool
*/
public function has_hover_state() {
return true;
}
/**
* @inheritDoc
*/
public function expanded_state_apply_inline() {
return true;
}
/**
*
* @inheritDoc
*/
public function expanded_state_label() {
return __( 'Completed', 'thrive-cb' );
}
}

View File

@@ -0,0 +1,70 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
/**
* Class TCB_Progress_Line_Element
*
*/
class TCB_Progress_Line_Element extends TCB_Element_Abstract {
public function name() {
return __( 'Progress line', 'thrive-cb' );
}
public function identifier() {
return '.tve-progress-line';
}
public function hide() {
return true;
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
return array(
'progress_line' => array(
'config' => array(
'ColorPicker' => array(
'config' => array(
'label' => __( 'Color', 'thrive-cb' ),
'options' => [ 'noBeforeInit' => false ],
),
),
'Candy' => array(
'config' => array(
'name' => '',
'label' => __( 'Candy stripe animation', 'thrive-cb' ),
'default' => false,
),
'extends' => 'Switch',
),
),
),
'background' => [ 'hidden' => true ],
'typography' => [ 'hidden' => true ],
'layout' => [ 'hidden' => true ],
'responsive' => [ 'hidden' => true ],
'borders' => [
'disabled_controls' => [],
'config' => [
'Corners' => [
'overflow' => false,
],
],
],
'animation' => [ 'hidden' => true ],
'shadow' => [
'config' => [
'disabled_controls' => [ 'text' ],
],
],
);
}
}

View File

@@ -0,0 +1,40 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
/**
* Class TCB_Progress_Line_Element
*
*/
class TCB_Progress_Line_Wrapper_Element extends TCB_Element_Abstract {
public function name() {
return __( 'Progress line wrapper', 'thrive-cb' );
}
public function identifier() {
return '.tve-line-wrapper';
}
public function hide() {
return true;
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
return [
'typography' => [ 'hidden' => true ],
'responsive' => [ 'hidden' => true ],
'animation' => [ 'hidden' => true ],
'layout' => [
'disabled_controls' => [ 'Alignment', 'Display', '.tve-advanced-controls', 'Width' ],
],
];
}
}

View File

@@ -0,0 +1,77 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
/**
* Class TCB_Progress_Node_Element
*
*/
class TCB_Progress_Node_Element extends TCB_Element_Abstract {
public function name() {
return __( 'Node', 'thrive-cb' );
}
public function identifier() {
return '.tve-progress-node';
}
public function hide() {
return true;
}
/**
* @inheritDoc
*/
public function expanded_state_config() {
return true;
}
/**
* @return bool
*/
public function has_hover_state() {
return true;
}
/**
* @inheritDoc
*/
public function expanded_state_apply_inline() {
return true;
}
/**
*
* @inheritDoc
*/
public function expanded_state_label() {
return __( 'Completed', 'thrive-cb' );
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
return [
'typography' => [ 'hidden' => true ],
'responsive' => [ 'hidden' => true ],
'animation' => [ 'hidden' => true ],
'layout' => [
'disabled_controls' => [ 'Alignment', 'Display', '.tve-advanced-controls', 'Width', 'Height' ],
],
'borders' => [
'disabled_controls' => [],
'config' => [
'Corners' => [
'overflow' => false,
],
],
],
];
}
}

View File

@@ -0,0 +1,162 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
/**
* Class TCB_Progressbar_Element
*/
class TCB_Progressbar_Old_Element extends TCB_Element_Abstract {
/**
* Name of the element
*
* @return string
*/
public function name() {
return __( 'Progress Bar', 'thrive-cb' );
}
/**
* Get element alternate
*
* @return string
*/
public function alternate() {
return 'progress, fill';
}
/**
* Return icon class needed for display in menu
*
* @return string
*/
public function icon() {
return 'progress_bar';
}
/**
* Section element identifier
*
* @return string
*/
public function identifier() {
return '.thrv_progress_bar, .thrv-progress-bar';
}
public function hide() {
return true;
}
/**
* Component and control config
*
* @return array
*/
public function own_components() {
return array(
'progressbar_old' => array(
'config' => array(
'FillPercent' => array(
'to' => '.tve_progress_bar_fill_wrapper',
'config' => array(
'default' => '20',
'min' => '0',
'max' => '100',
'label' => __( 'Fill Percentage', 'thrive-cb' ),
'um' => [ '%' ],
'css' => 'width',
),
'extends' => 'Slider',
),
'ExternalFields' => [
'config' => [
'key' => 'number',
'shortcode_element' => '.tve_progress_bar_fill_wrapper',
],
'extends' => 'CustomFields',
],
'FillColor' => array(
'to' => '.tve_progress_bar_fill',
'config' => array(
'default' => '000',
'label' => __( 'Fill', 'thrive-cb' ),
'options' => [
'output' => 'object',
],
),
'extends' => 'ColorPicker',
),
'LabelColor' => array(
'to' => '.thrv-inline-text',
'config' => array(
'default' => '000',
'label' => __( 'Label Color', 'thrive-cb' ),
'options' => [
'output' => 'object',
],
),
'extends' => 'ColorPicker',
),
'BackgroundColor' => array(
'to' => '.tve-progress-bar',
'config' => array(
'default' => '000',
'label' => __( 'Background', 'thrive-cb' ),
'options' => [
'output' => 'object',
],
),
'extends' => 'ColorPicker',
),
'InnerLabel' => array(
'config' => array(
'name' => '',
'label' => __( 'Add Inner Label', 'thrive-cb' ),
'default' => true,
),
'to' => '.tve-progress-bar-label',
'extends' => 'Switch',
),
),
),
'shadow' => [
'config' => [
'to' => '.tve-progress-bar',
'disabled_controls' => [ 'inner', 'text' ],
],
],
'borders' => [
'config' => [
'to' => '.tve-progress-bar',
'Borders' => [],
'Corners' => [],
],
],
'typography' => [ 'hidden' => true ],
'background' => [ 'hidden' => true ],
'animation' => [ 'hidden' => true ],
'layout' => [
'disabled_controls' => [
'Overflow',
'ScrollStyle',
],
],
);
}
/**
* Element category that will be displayed in the sidebar
*
* @return string
*/
public function category() {
return static::get_thrive_advanced_label();
}
}