File: /home/blushinc/loleverywhere.com/wp-content/plugins/td-composer/includes/tdc_config.php
<?php
/**
* Created by ra.
* Date: 3/7/2016
*/
class tdc_config {
static $js_files_for_wp_admin = array (
'tdcWindowFrame' => '/assets/js/tdcWindowFrame.js',
'tdcNotice' => '/assets/js/tdcNotice.js',
'tdcShortcodeParser' => '/assets/js/tdcShortcodeParser.js',
'tdcInit' => '/assets/js/wp-admin/tdcInit.js', //@todo this should load only on edit post in wp-admin
'tdcDebug' => '/assets/js/tdcDebug.js', //inject tdcDebug in the iframe also
'tdcStore' => '/assets/js/tdcStore.js',
'tdcVue' => '/assets/js/admin/vue/external/vue.js',
'tdcVueRouter' => '/assets/js/admin/vue/external/vue-router.js',
'tdcError' => '/assets/js/admin/vue/error.js',
'tdcApi' => '/assets/js/admin/tdcApi.js',
'tdcCheckKey' => '/assets/js/admin/check-key.js',
'tdcCheckLicence' => '/assets/js/admin/check-licence.js',
);
static $js_files_for_wrapper = array (
'tdcNotice' => '/assets/js/tdcNotice.js',
'tdcDebug' => '/assets/js/tdcDebug.js',
'tdcUtil' => '/assets/js/tdcUtil.js',
'tdcRecycle' => '/assets/js/tdcRecycle.js',
'tdcState' => '/assets/js/tdcState.js',
'tdcStore' => '/assets/js/tdcStore.js',
'tdcSavePost' => '/assets/js/tdcSavePost.js',
'tdcShortcodeParser' => '/assets/js/tdcShortcodeParser.js',
'tdcJobManager' => '/assets/js/tdcJobManager.js',
'tdcAdminWrapperUI' => '/assets/js/tdcAdminWrapperUI.js',
'tdcOperationUI' => '/assets/js/ui/tdcOperationUI.js',
'tdcZoneUI' => '/assets/js/ui/tdcZoneUI.js',
'tdcRowUI' => '/assets/js/ui/tdcRowUI.js',
'tdcColumnUI' => '/assets/js/ui/tdcColumnUI.js',
'tdcInnerRowUI' => '/assets/js/ui/tdcInnerRowUI.js',
'tdcInnerColumnUI' => '/assets/js/ui/tdcInnerColumnUI.js',
'tdcElementsUI' => '/assets/js/ui/tdcElementsUI.js',
'tdcElementUI' => '/assets/js/ui/tdcElementUI.js',
'tdcRecycleUI' => '/assets/js/ui/tdcRecycleUI.js',
'tdcMaskUI' => '/assets/js/ui/mask/tdcMaskUI.js',
'tdcZoneHandlerUI' => '/assets/js/ui/mask/tdcZoneHandlerUI.js',
'tdcRowHandlerUI' => '/assets/js/ui/mask/tdcRowHandlerUI.js',
'tdcColumnHandlerUI' => '/assets/js/ui/mask/tdcColumnHandlerUI.js',
'tdcInnerRowHandlerUI' => '/assets/js/ui/mask/tdcInnerRowHandlerUI.js',
'tdcInnerColumnHandlerUI' => '/assets/js/ui/mask/tdcInnerColumnHandlerUI.js',
'tdcElementHandlerUI' => '/assets/js/ui/mask/tdcElementHandlerUI.js',
'tdcIFrameData' => '/assets/js/data/tdcIFrameData.js',
'tdcAdminIFrameUI' => '/assets/js/tdcAdminIFrameUI.js',
'tdcMain' => '/assets/js/tdcMain.js',
'tdcSidebarPanel' => '/assets/js/tdcSidebarPanel.js',
'tdcSidebar' => '/assets/js/tdcSidebar.js',
'tdcSidebarController' => '/assets/js/tdcSidebarController.js',
'tdcCss' => '/assets/js/tdcCssEditor.js',
'tdcContextMenu' => '/assets/js/tdcContextMenu.js',
'tdcColorPicker' => '/assets/js/tdcColorPicker.js',
'cssJs' => '/assets/js/external/css.js',
'tdcLoader' => '/assets/js/tdcLoader.js',
'tdcLivePanel' => '/assets/js/tdcLivePanel.js',
'tdcLivePanelMenuSettings' => '/assets/js/tdcLivePanelMenuSettings.js',
'tdcLivePanelPageSettings' => '/assets/js/tdcLivePanelPageSettings.js',
'tdcTemplateSettingsPanel' => '/assets/js/tdcTemplateSettingsPanel.js',
);
static $js_files_for_widget = array (
'tdcAdminIFrameUI' => '/assets/js/tdcAdminIFrameUI.js',
'tdcCss' => '/assets/js/tdcCssEditor.js',
'tdcSidebarPanel' => '/assets/js/tdcSidebarPanel.js',
'tdcUtil' => '/assets/js/tdcUtil.js',
'tdcJobManager' => '/assets/js/tdcJobManager.js',
);
static $js_files_for_iframe = array (
'tdcComposerBlocksApi' => '/assets/js/iframe/tdcComposerBlocksApi.js',
'tdcDebug' => '/assets/js/tdcDebug.js', // inject tdcDebug in the iframe also
);
static $js_files_for_gutenberg_editor = array(
'tdcGutenberg' => '/assets/js/tdcGutenberg.js',
);
static $js_files_for_gutenberg_style = array(
'tdcGutenbergStyle' => '/assets/js/tdcGutenbergStyle.js',
);
static $js_files_for_gutenberg_yoast_analyzer = array(
'tdcYoastAnalyzer' => '/assets/js/tdcYoastAnalyzer.js',
);
static $js_files_for_live_css = array(
'td_live_css_state' => '/css-live/assets/js/tdLiveCssState.js',
'td_live_css_inject' => '/css-live/assets/js/tdLiveCssInject.js',
'td_live_css_less' => '/css-live/assets/external/less.min.js',
);
static $js_files_for_extension_live_css = array(
'td_live_css_main_tdc' => '/css-live/assets/js/tdLiveCssMainTdc.js',
);
static $js_files_for_plugin_live_css = array(
'td_live_css_main' => '/css-live/assets/js/tdLiveCssMain.js',
);
static $font_settings = array(
'font_awesome' => array(
'name' => 'Font Awesome',
'family_class' => 'fa',
'css_file' => '/assets/fonts/font-awesome/font-awesome.css',
'template_file' => 'font-awesome.php',
'load' => false,
),
'typicons' => array(
'name' => 'Typicons',
'family_class' => 'typcn',
'css_file' => '/assets/fonts/typicons/typicons.css',
'template_file' => 'typicons.php',
'load' => false,
),
'open_iconic' => array(
'name' => 'Open Iconic',
'family_class' => 'oi',
'css_file' => '/assets/fonts/open-iconic/open-iconic.css',
'template_file' => 'open-iconic.php',
'load' => false,
),
'td-multipurpose' => array(
'name' => 'tagDiv Multi-purpose',
'family_class' => 'tdmp',
'css_file' => '/assets/fonts/td-multipurpose/td-multipurpose.css',
'template_file' => 'td-multipurpose.php',
'load' => false,
),
'font_newspaper' => array(
'name' => 'Font Newspaper',
'css_file' => '/font-newspaper.css',
'template_file' => 'font-newspaper.php',
'theme_font' => true,
),
'custom_svg_icons' => array(
'name' => 'Custom SVG Icons',
'css_file' => '',
'template_file' => 'custom-svg-icons.php',
'theme_font' => false,
),
);
/**
* placeholder images used by the multi-purpose shortcodes
* @see td_api_multi_purpose::tdm_get_image - in mapping
* @see tdc_ajax::on_ajax_get_image_url - for td-composer sidepanel - small squere image preview in the sidebar
* @see tdc_util::get_image_or_placeholder() - the new function that looks for a placeholder before loading the image from wordpress
* @var array the list of all the placeholders that we can use in shortcodes
*/
static $default_placeholder_images = array (
'tdm_pic_1' => '/assets/images/placeholders/thumb_01.jpg',
'tdm_pic_2' => '/assets/images/placeholders/thumb_02.jpg',
'tdm_pic_3' => '/assets/images/placeholders/thumb_03.jpg',
'tdm_pic_4' => '/assets/images/placeholders/thumb_04.jpg',
'tdm_pic_5' => '/assets/images/placeholders/thumb_05.jpg',
'tdm_pic_6' => '/assets/images/placeholders/thumb_06.png',
'tdm_pic_7' => '/assets/images/placeholders/thumb_07.jpg',
'tdm_pic_8' => '/assets/images/placeholders/thumb_08.jpg',
'tdm_pic_9' => '/assets/images/placeholders/thumb_09.jpg',
);
/**
* !!!! COMPATIBILITY ISSUE WITH Newsletter Plugin V1.0 !!!!!
* @since 19.4.2018
* @var array
*/
static $group_params = array(
'font' => array(
array(
'param_name' => 'font_family',
'type' => 'dropdown-responsive',
'value' => '',
'heading' => '',
'description' => 'Font family',
"class" => "tdc-font-dropdown tdc-font-family",
)
)
);
}