| @@ -17,9 +17,8 @@ | ||
| 17 | 17 | <# } #> |
| 18 | 18 | <div id="elementor-panel-elements-search-area"></div> |
| 19 | 19 | <div id="elementor-panel-elements-notice-area"></div> |
| 20 | 20 | <div id="elementor-panel-elements-wrapper"></div> |
| 21 | - <div id="elementor-panel-elements-widget-creation-area"></div> | |
| 22 | 21 | </script> |
| 23 | 22 | |
| 24 | 23 | <script type="text/template" id="tmpl-elementor-panel-categories"> |
| 25 | 24 | <div id="elementor-panel-categories"></div> |
| @@ -70,11 +69,9 @@ | ||
| 70 | 69 | </a> |
| 71 | 70 | </span> |
| 72 | 71 | <# } #> |
| 73 | 72 | </button> |
| 74 | - <div class="elementor-panel-category-items elementor-responsive-panel"> | |
| 75 | - <?php do_action( 'elementor/editor/templates/panel/category/content' ); ?> | |
| 76 | - </div> | |
| 73 | + <div class="elementor-panel-category-items elementor-responsive-panel"></div> | |
| 77 | 74 | </script> |
| 78 | 75 | |
| 79 | 76 | <script type="text/template" id="tmpl-elementor-panel-element-search"> |
| 80 | 77 | <label for="elementor-panel-elements-search-input" class="screen-reader-text"><?php echo esc_html__( 'Search Widget:', 'elementor' ); ?></label> |
| @@ -83,12 +80,12 @@ | ||
| 83 | 80 | </script> |
| 84 | 81 | |
| 85 | 82 | <script type="text/template" id="tmpl-elementor-element-library-element"> |
| 86 | 83 | <# const v4Categories = ['v4-elements', 'atomic-form']; #> |
| 87 | - <button class="elementor-element" data-library-element-type="{{ elType === 'widget' ? widgetType : elType }}"> | |
| 84 | + <button class="elementor-element"> | |
| 88 | 85 | <# if ( obj.integration ) { #> |
| 89 | 86 | <i class="eicon-plug"></i> |
| 90 | - <# } else if ( false === obj.editable && !obj.atomicFormPromotion ) { #> | |
| 87 | + <# } else if ( false === obj.editable ) { #> | |
| 91 | 88 | <i class="eicon-lock"></i> |
| 92 | 89 | <# } #> |
| 93 | 90 | <# if ( obj.categories.some( category => v4Categories.includes( category ) ) ) { #> |
| 94 | 91 | <i class="eicon-atomic"></i> |
| @@ -100,28 +97,8 @@ | ||
| 100 | 97 | <div class="title">{{{ title }}}</div> |
| 101 | 98 | </div> |
| 102 | 99 | </button> |
| 103 | 100 | </script> |
| 104 | - | |
| 105 | -<?php if ( Plugin::$instance->experiments->is_feature_active( Modules\WidgetCreation\Module::EXPERIMENT_NAME ) ) : ?> | |
| 106 | -<script type="text/template" id="tmpl-elementor-panel-elements-widget-creation-empty-state"> | |
| 107 | - <div class="elementor-panel-elements-widget-creation__title"><?php echo esc_html__( 'No widget found for', 'elementor' ); ?> "{{{ searchTerm }}}"</div> | |
| 108 | - <div class="elementor-panel-elements-widget-creation__message"><?php echo esc_html__( 'Build a custom widget with Angie by describing what you need.', 'elementor' ); ?></div> | |
| 109 | - <button type="button" class="elementor-panel-elements-widget-creation__cta"> | |
| 110 | - <i class="eicon-ai" aria-hidden="true"></i> | |
| 111 | - <?php echo esc_html__( 'Create custom widget', 'elementor' ); ?> | |
| 112 | - </button> | |
| 113 | -</script> | |
| 114 | - | |
| 115 | -<script type="text/template" id="tmpl-elementor-panel-elements-widget-creation-search-footer"> | |
| 116 | - <div class="elementor-panel-elements-widget-creation__title"><?php echo esc_html__( "Couldn't find what you're looking for?", 'elementor' ); ?></div> | |
| 117 | - <div class="elementor-panel-elements-widget-creation__message"><?php echo esc_html__( 'Build a custom widget with Angie by describing what you need.', 'elementor' ); ?></div> | |
| 118 | - <button type="button" class="elementor-panel-elements-widget-creation__cta"> | |
| 119 | - <i class="eicon-ai" aria-hidden="true"></i> | |
| 120 | - <?php echo esc_html__( 'Create custom widget', 'elementor' ); ?> | |
| 121 | - </button> | |
| 122 | -</script> | |
| 123 | -<?php endif; ?> | |
| 124 | 101 | |
| 125 | 102 | <script type="text/template" id="tmpl-elementor-panel-global"> |
| 126 | 103 | <div class="elementor-nerd-box"> |
| 127 | 104 | <img class="elementor-nerd-box-icon" src="<?php echo ELEMENTOR_ASSETS_URL . 'images/information.svg'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" loading="lazy" alt="<?php echo esc_attr__( 'Elementor', 'elementor' ); ?>" /> |