Changeset 2392763
- Timestamp:
- 10/03/2020 11:22:14 AM (5 years ago)
- Location:
- lifeline-donation/trunk
- Files:
-
- 16 added
- 21 edited
-
config/donation_button.php (modified) (3 diffs)
-
config/donation_settings.php (modified) (9 diffs)
-
config/general_popup.php (added)
-
config/menu_button.php (added)
-
config/posttype_popup.php (added)
-
includes/class-lifeline-donation.php (modified) (1 diff)
-
languages/lifeline-donation.pot (modified) (49 diffs)
-
lifeline-donation.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
webinane-commerce/assets/css/dashboard.css (modified) (1 diff)
-
webinane-commerce/assets/css/main.css (modified) (1 diff)
-
webinane-commerce/assets/css/style.css (modified) (1 diff)
-
webinane-commerce/assets/js/admin/settings.js (modified) (1 diff)
-
webinane-commerce/config/settings.php (modified) (5 diffs)
-
webinane-commerce/includes/Admin/Settings.php (modified) (5 diffs)
-
webinane-commerce/includes/Classes/Enqueue.php (modified) (3 diffs)
-
webinane-commerce/includes/Classes/Extensions.php (modified) (3 diffs)
-
webinane-commerce/includes/Classes/Gateways.php (modified) (1 diff)
-
webinane-commerce/includes/Classes/Orders.php (modified) (2 diffs)
-
webinane-commerce/includes/Classes/Webinane.php (modified) (1 diff)
-
webinane-commerce/includes/Fields (added)
-
webinane-commerce/includes/Fields/Country.php (added)
-
webinane-commerce/includes/Fields/Field.php (added)
-
webinane-commerce/includes/Fields/Media.php (added)
-
webinane-commerce/includes/Fields/MultiText.php (added)
-
webinane-commerce/includes/Fields/Select.php (added)
-
webinane-commerce/includes/Fields/Switcher.php (added)
-
webinane-commerce/includes/Fields/Text.php (added)
-
webinane-commerce/includes/Fields/Textarea.php (added)
-
webinane-commerce/includes/Gateways/GatewayOffline.php (modified) (1 diff)
-
webinane-commerce/includes/Gateways/GatewayPaypal.php (modified) (2 diffs)
-
webinane-commerce/includes/Helpers/Api.php (modified) (6 diffs)
-
webinane-commerce/includes/Helpers/Macroable.php (added)
-
webinane-commerce/includes/Helpers/Metable.php (added)
-
webinane-commerce/includes/Helpers/Rulable.php (added)
-
webinane-commerce/includes/Helpers/SettingsResource.php (added)
-
webinane-commerce/templates/admin/order-metabox-basic.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lifeline-donation/trunk/config/donation_button.php
r2388230 r2392763 15 15 'label' => esc_html__( 'Select General Donation Type', 'lifeline-donation' ), 16 16 'id' => 'donation_general_type', 17 'type' => 'el- radio-group',17 'type' => 'el-select', 18 18 // 'main_heading' => esc_html__( 'General Button Type', 'lifeline-donation' ), 19 19 'options' => array( … … 25 25 // 'main_heading' => esc_html__( 'Lifeline Donation Options', 'lifeline-donation' ), 26 26 ), 27 array( 28 'type' => 'el-heading', 29 'props' => ['content' => esc_html__( 'General Donation Popup Style', 'lifeline-donation' )] 30 ), 31 array( 32 'label' => esc_html__( 'Select Donation Popup Style', 'lifeline-donation' ), 33 'id' => 'donation_popup_style', 34 'type' => 'el-radio-group', 35 'options' => array( 36 'style1' => esc_html__( 'Style 1', 'lifeline-donation' ), 37 'style2' => esc_html__( 'Style 2', 'lifeline-donation' ), 38 'style3' => esc_html__( 'Style 3', 'lifeline-donation' ), 39 ), 40 'default' => 'style1', 41 ), 42 array( 43 'label' => esc_html__( 'Donation Page for popup', 'lifeline-donation' ), 44 'help' => esc_html__( 'It is used to store the collected donations and show the collection data', 'lifeline-donation' ), 45 'id' => 'donation_dummy_page_select', 46 'type' => 'el-select', 47 'options' => wpcm_posts_data( array( 'post_type' => 'page' ) ), 48 'col' => 12, 49 ), 27 50 28 array( 51 29 'label' => esc_html__( 'Donation Page', 'lifeline-donation' ), … … 69 47 ) 70 48 ), 71 72 array( 73 'label' => esc_html__( 'General Amount Needed', 'lifeline-donation' ), 74 'help' => esc_html__( 'Enter the amount for donation box', 'lifeline-donation' ), 75 'id' => 'donation_general_amount', 76 'type' => 'el-input-number', 77 'col' => 12, 78 ), 79 80 array( 81 'id' => 'donation_general_bg', 82 'type' => 'media', 83 'label' => esc_html__( 'Background', 'lifeline-donation' ), 84 'help' => esc_html__( 'Insert donation popup box background', 'lifeline-donation' ), 85 'options' => array( 86 'new' => esc_html( 'Add Image', 'lifeline-donation' ), 87 'update' => esc_html__( 'Update Image', 'lifeline-donation' ) 88 ), 89 'col' => 24 90 /*'dependency' => array( 91 array('id' => 'general_donation_type', 'value' => 'donation_popup_box', 'compare' => '=') 92 )*/ 93 ), 94 array( 95 'label' => esc_html__( 'Donation Popup Title', 'lifeline-donation' ), 96 'help' => esc_html__( 'Enter the title for donation popup box', 'lifeline-donation' ), 97 'id' => 'donation_genral_title', 98 'type' => 'el-input', 99 'col' => 12 100 /*'dependency' => array( 101 array('id' => 'donation_predefined_amounts', 'value' => true, 'compare' => '=') 102 )*/ 103 ), 104 array( 105 'label' => esc_html__( 'Donation Popup Sub Title', 'lifeline-donation' ), 106 'help' => esc_html__( 'Enter the sub title for donation popup box', 'lifeline-donation' ), 107 'id' => 'donation_genral_subtitle', 108 'type' => 'el-input', 109 'col' => 12 110 /*'dependency' => array( 111 array('id' => 'donation_predefined_amounts', 'value' => true, 'compare' => '=') 112 )*/ 113 ), 114 array( 115 'id' => 'donation_popup_text', 116 'is' => 'wpcm-textarea', 117 'type' => 'el-input', 118 'label' => esc_html__( 'Donation Popup Description', 'lifeline-donation' ), 119 'help' => esc_html__( 'Enter the litle description for donation popup box', 'lifeline-donation' ), 120 'col' => 12, 121 'props' => ['type' => 'textarea', 'rows' => 5] 122 /*'dependency' => array( 123 array('id' => 'donation_predefined_amounts', 'donation_page_template' => true, 'compare' => '=') 124 )*/ 125 ), 126 127 array( 128 'label' => esc_html__( 'Donation Button URL', 'lifeline-donation' ), 129 'help' => esc_html__( 'Enter the donation button URL if you have selected button type to external link for external link', 'lifeline-donation' ), 130 'id' => 'donation_button_linkGeneral', 131 'type' => 'el-input', 132 'col' => 12 133 ), 134 array( 135 'label' => esc_html__( 'Show Donation Calculation Bar in Popup', 'lifeline-donation' ), 136 'help' => esc_html__( 'Whether to show donation calculation bar in popup', 'lifeline-donation' ), 137 'id' => 'donation_calculation_bar', 138 'type' => 'el-switch', 139 'default' => true, 140 'col' => 12 141 ), 142 array( 143 'type' => 'el-heading', 144 'props' => ['content' => esc_html__( 'Custom Posts Button Type', 'lifeline-donation' )] 145 ), 146 array( 147 'label' => esc_html__( 'Select Custom Posts Donation Type', 'lifeline-donation' ), 148 'id' => 'donation_Cpost_type', 149 'type' => 'el-select', 150 // 'main_heading' => esc_html__( 'Custom Posts Button Type', 'lifeline-donation' ), 151 'options' => array( 152 153 'donation_popup_box' => esc_html__( 'Popup Box', 'lifeline-donation' ), 154 'donation_page_template' => esc_html__( 'Page Template', 'lifeline-donation' ), 155 'external_link' => esc_html__( 'External Link', 'lifeline-donation' ), 156 ), 157 'default' => 'donation_popup_box', 158 'col' => 24 159 ), 160 array( 161 'label' => esc_html__( 'Popup Background', 'lifeline-donation' ), 162 'help' => esc_html__( 'Insert donation popup box background', 'lifeline-donation' ), 163 'id' => 'donation_Cpost_bg', 164 'type' => 'media', 165 'options' => array( 166 'new' => esc_html( 'Add Image', 'lifeline-donation' ), 167 'update' => esc_html__( 'Update Image', 'lifeline-donation' ) 168 ), 169 'col' => 24 170 ), 171 array( 172 'label' => esc_html__( 'Donation Popup Title', 'lifeline-donation' ), 173 'help' => esc_html__( 'Enter the title for donation popup box', 'lifeline-donation' ), 174 'id' => 'donation_Cpost_title', 175 'type' => 'el-input', 176 'col' => 12 177 /*'dependency' => array( 178 array('id' => 'donation_predefined_amounts', 'value' => true, 'compare' => '=') 179 )*/ 180 ), 181 array( 182 'label' => esc_html__( 'Donation Popup Sub Title', 'lifeline-donation' ), 183 'help' => esc_html__( 'Enter the sub title for donation popup box', 'lifeline-donation' ), 184 'id' => 'donation_Cpost_subtitle', 185 'type' => 'el-input', 186 'col' => 12 187 /*'dependency' => array( 188 array('id' => 'donation_predefined_amounts', 'value' => true, 'compare' => '=') 189 )*/ 190 ), 191 array( 192 'id' => 'donation_Cpost_text', 193 'type' => 'el-input', 194 'label' => esc_html__( 'Donation Popup Description', 'lifeline-donation' ), 195 'help' => esc_html__( 'Enter the litle description for donation popup box', 'lifeline-donation' ), 196 'col' => 12, 197 'props' => ['type' => 'textarea', 'rows' => 5] 198 /*'dependency' => array( 199 array('id' => 'donation_predefined_amounts', 'donation_page_template' => true, 'compare' => '=') 200 )*/ 201 ), 202 203 204 array( 205 'label' => esc_html__( 'Donation Page', 'lifeline-donation' ), 206 'help' => esc_html__( 'Choose the donation page', 'lifeline-donation' ), 207 'id' => 'donation_Cpost_select', 208 'type' => 'el-select', 209 'options' => wpcm_posts_data(array('post_type' => 'page')), 210 'col' => 12 211 ), 212 array( 213 'label' => esc_html__( 'Donation Button URL', 'lifeline-donation' ), 214 'help' => esc_html__( 'Enter the donation button URL for external link', 'lifeline-donation' ), 215 'id' => 'donation_Cpost_linkGeneral', 216 'type' => 'el-input', 217 'col' => 12 218 219 ), 220 array( 221 'type' => 'el-heading', 222 'props' => ['content' => esc_html__( 'Settings of Donation Button for Menu section', 'lifeline-donation' )] 223 ), 224 array( 225 'label' => esc_html__( 'Show Donation Button in Menus', 'lifeline-donation' ), 226 'help' => esc_html__( 'Whether to show donation button in menus', 'lifeline-donation' ), 227 'id' => 'menu_donation_button', 228 'type' => 'el-switch', 229 // 'main_heading' => esc_html__( 'Settings of Donation Button for Menu section', 'lifeline-donation' ), 230 'col' => 24 231 ), 232 array( 233 'label' => esc_html__( 'Menu Location', 'lifeline-donation' ), 234 'help' => esc_html__( 'Choose menu location where you want to show this button.', 'lifeline-donation' ), 235 'id' => 'menu_donation_button_theme_location', 236 'type' => 'el-select', 237 'options' => get_registered_nav_menus(), 238 'col' => 12, 239 'vshow' => array( 240 array('key' => 'menu_donation_button', 'value' => true, 'compare' => '=') 241 ) 242 ), 243 array( 244 'label' => esc_html__( 'Donation Button Title', 'lifeline-donation' ), 245 'help' => esc_html__( 'Enter the title for donation button', 'lifeline-donation' ), 246 'id' => 'menu_donation_button_title', 247 'type' => 'el-input', 248 'col' => 12, 249 'vshow' => array( 250 array('key' => 'menu_donation_button', 'value' => true, 'compare' => '=') 251 ) 252 ), 253 array( 254 'label' => esc_html__( 'Button Background Color', 'lifeline-donation' ), 255 'help' => esc_html__( 'Choose the color for donation button', 'lifeline-donation' ), 256 'id' => 'menu_donation_button_color', 257 'type' => 'el-color-picker', 258 'col' => 12, 259 'vshow' => array( 260 array('key' => 'menu_donation_button', 'value' => true, 'compare' => '=') 261 ) 262 ), 263 array( 264 'label' => esc_html__( 'Background Mouseover Color', 'lifeline-donation' ), 265 'help' => esc_html__( 'Choose the color for donation button', 'lifeline-donation' ), 266 'id' => 'menu_donation_button_hover_color', 267 'type' => 'el-color-picker', 268 'col' => 12, 269 'vshow' => array( 270 array('key' => 'menu_donation_button', 'value' => true, 'compare' => '=') 271 ) 272 ), 273 array( 274 'label' => esc_html__( 'Text Mouseover Color', 'lifeline-donation' ), 275 'help' => esc_html__( 'Choose the color for donation button', 'lifeline-donation' ), 276 'id' => 'menu_donation_button_text_hover_color', 277 'type' => 'el-color-picker', 278 'col' => 12, 279 'vshow' => array( 280 array('key' => 'menu_donation_button', 'value' => true, 'compare' => '=') 281 ) 282 ), 283 array( 284 'label' => esc_html__( 'Button Text Color', 'lifeline-donation' ), 285 'help' => esc_html__( 'Choose the color for font of donation button', 'lifeline-donation' ), 286 'id' => 'menu_donation_button_font_color', 287 'type' => 'el-color-picker', 288 'col' => 12, 289 'vshow' => array( 290 array('key' => 'menu_donation_button', 'value' => true, 'compare' => '=') 291 ) 292 ), 293 )) 49 ) 50 ) 294 51 295 52 ); -
lifeline-donation/trunk/config/donation_settings.php
r2388230 r2392763 7 7 array( 8 8 'label' => esc_html__( 'Enable Plugin Style', 'lifeline-donation' ), 9 'help' => esc_html__( 'Enable to apply plugin styles heet', 'lifeline-donation' ),9 'help' => esc_html__( 'Enable to apply plugin styles', 'lifeline-donation' ), 10 10 'id' => 'donation_enable_plugin_css', 11 11 'type' => 'el-switch', 12 // 'main_heading' => esc_html__( 'Lifeline Donation Options', 'lifeline-donation' ), 13 12 'default' => true, 13 'props' => [ 14 'active-text' => esc_html__( 'YES', 'lifeline-donation' ), 15 'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ), 16 ] 14 17 ), 15 18 array( … … 19 22 'type' => 'el-switch', 20 23 'default' => true, 24 'props' => [ 25 'active-text' => esc_html__( 'YES', 'lifeline-donation' ), 26 'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ), 27 ] 21 28 ), 22 29 array( … … 25 32 'id' => 'donation_projects_status', 26 33 'type' => 'el-switch', 27 'default' => true 34 'default' => true, 35 'props' => [ 36 'active-text' => esc_html__( 'YES', 'lifeline-donation' ), 37 'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ), 38 ] 28 39 ), 29 40 array( … … 32 43 'id' => 'donation_multicurrency', 33 44 'type' => 'el-switch', 45 'props' => [ 46 'active-text' => esc_html__( 'YES', 'lifeline-donation' ), 47 'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ), 48 ] 34 49 ), 35 50 array( … … 50 65 'id' => 'donation_predefined_amounts', 51 66 'type' => 'el-switch', 67 'props' => [ 68 'active-text' => esc_html__( 'YES', 'lifeline-donation' ), 69 'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ), 70 ] 52 71 ), 53 72 array( … … 66 85 'id' => 'donation_custom_amount', 67 86 'type' => 'el-switch', 87 'props' => [ 88 'active-text' => esc_html__( 'YES', 'lifeline-donation' ), 89 'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ), 90 ] 68 91 ), 69 92 array( … … 72 95 'id' => 'donation_recurring_payments', 73 96 'type' => 'el-switch', 97 'props' => [ 98 'active-text' => esc_html__( 'YES', 'lifeline-donation' ), 99 'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ), 100 ] 74 101 ), 75 102 array( … … 78 105 'id' => 'enable_custom_dropdown', 79 106 'type' => 'el-switch', 107 'props' => [ 108 'active-text' => esc_html__( 'YES', 'lifeline-donation' ), 109 'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ), 110 ] 80 111 ), 81 112 array( … … 84 115 'id' => 'donation_custom_dropdown', 85 116 'type' => 'multi-text', 117 'default' => [], 86 118 'vshow' => array( 87 119 array('key' => 'enable_custom_dropdown', 'value' => true, 'compare' => '=')) -
lifeline-donation/trunk/includes/class-lifeline-donation.php
r2388230 r2392763 83 83 add_filter('lifeline_donation/settings', function($settings) { 84 84 $settings[] = require LIFELINE_DONATION_PATH . 'config/donation_settings.php'; 85 $settings[] = require LIFELINE_DONATION_PATH . 'config/donation_button.php'; 85 // $settings[] = require LIFELINE_DONATION_PATH . 'config/donation_button.php'; 86 $settings[] = require LIFELINE_DONATION_PATH . 'config/general_popup.php'; 87 $settings[] = require LIFELINE_DONATION_PATH . 'config/posttype_popup.php'; 88 $settings[] = require LIFELINE_DONATION_PATH . 'config/menu_button.php'; 86 89 $settings[] = require LIFELINE_DONATION_PATH . 'config/archive_setting.php'; 87 90 -
lifeline-donation/trunk/languages/lifeline-donation.pot
r2388230 r2392763 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Lifeline Donation 1.2.0. 1\n"5 "Project-Id-Version: Lifeline Donation 1.2.0.3\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://wordpress.org/support/plugin/lifeline-donation\n" 8 "POT-Creation-Date: 2020- 09-24 10:51:42+00:00\n"8 "POT-Creation-Date: 2020-10-03 10:46:35+00:00\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=utf-8\n" … … 161 161 msgstr "" 162 162 163 #: config/causes.php:56 config/ donation_button.php:87164 #: config/ donation_button.php:167config/projects.php:56163 #: config/causes.php:56 config/general_popup.php:82 164 #: config/posttype_popup.php:54 config/projects.php:56 165 165 #: webinane-commerce/config/my-account.php:20 166 166 msgid "Update Image" … … 222 222 msgstr "" 223 223 224 #: config/donation_button.php:15 224 #: config/donation_button.php:15 config/general_popup.php:12 225 225 msgid "Select General Donation Type" 226 226 msgstr "" 227 227 228 #: config/donation_button.php:20 config/donation_button.php:153 228 #: config/donation_button.php:20 config/general_popup.php:17 229 #: config/posttype_popup.php:18 229 230 msgid "Popup Box" 230 231 msgstr "" 231 232 232 #: config/donation_button.php:21 config/donation_button.php:154 233 #: config/donation_button.php:21 config/general_popup.php:18 234 #: config/posttype_popup.php:19 233 235 msgid "Page Template" 234 236 msgstr "" 235 237 236 #: config/donation_button.php:22 config/donation_button.php:62 237 #: config/donation_button.php:155 238 #: config/donation_button.php:22 config/donation_button.php:40 239 #: config/general_popup.php:19 config/general_popup.php:36 240 #: config/posttype_popup.php:20 238 241 msgid "External Link" 239 242 msgstr "" 240 243 241 #: config/donation_button.php:29 242 msgid "General Donation Popup Style" 243 msgstr "" 244 245 #: config/donation_button.php:32 246 msgid "Select Donation Popup Style" 247 msgstr "" 248 249 #: config/donation_button.php:36 shortcodes/donation_template.php:42 250 msgid "Style 1" 251 msgstr "" 252 253 #: config/donation_button.php:37 shortcodes/donation_template.php:43 254 msgid "Style 2" 255 msgstr "" 256 257 #: config/donation_button.php:38 258 msgid "Style 3" 259 msgstr "" 260 261 #: config/donation_button.php:43 262 msgid "Donation Page for popup" 263 msgstr "" 264 265 #: config/donation_button.php:44 266 msgid "It is used to store the collected donations and show the collection data" 267 msgstr "" 268 269 #: config/donation_button.php:51 config/donation_button.php:205 244 #: config/donation_button.php:29 config/general_popup.php:25 245 #: config/posttype_popup.php:26 270 246 msgid "Donation Page" 271 247 msgstr "" 272 248 273 #: config/donation_button.php: 52249 #: config/donation_button.php:30 config/general_popup.php:26 274 250 msgid "" 275 251 "Page where you have placed donation shortcode. So when user visits the " … … 277 253 msgstr "" 278 254 279 #: config/donation_button.php: 63255 #: config/donation_button.php:41 config/general_popup.php:37 280 256 msgid "" 281 257 "Enter the external Link to redirect the user to. Must be starts with " … … 283 259 msgstr "" 284 260 285 #: config/donation_button.php:73 261 #: config/donation_settings.php:4 webinane-commerce/config/settings.php:10 262 msgid "General" 263 msgstr "" 264 265 #: config/donation_settings.php:5 266 msgid "Donation General Settings" 267 msgstr "" 268 269 #: config/donation_settings.php:8 270 msgid "Enable Plugin Style" 271 msgstr "" 272 273 #: config/donation_settings.php:9 274 msgid "Enable to apply plugin styles" 275 msgstr "" 276 277 #: config/donation_settings.php:14 config/donation_settings.php:25 278 #: config/donation_settings.php:36 config/donation_settings.php:46 279 #: config/donation_settings.php:68 config/donation_settings.php:88 280 #: config/donation_settings.php:98 config/donation_settings.php:108 281 #: config/general_popup.php:130 config/menu_button.php:18 282 #: webinane-commerce/includes/Gateways/GatewayOffline.php:172 283 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:973 284 msgid "YES" 285 msgstr "" 286 287 #: config/donation_settings.php:15 config/donation_settings.php:26 288 #: config/donation_settings.php:37 config/donation_settings.php:47 289 #: config/donation_settings.php:69 config/donation_settings.php:89 290 #: config/donation_settings.php:99 config/donation_settings.php:109 291 #: config/general_popup.php:131 config/menu_button.php:19 292 #: webinane-commerce/includes/Gateways/GatewayOffline.php:172 293 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:973 294 msgid "NO" 295 msgstr "" 296 297 #: config/donation_settings.php:19 298 msgid "Enable Causes" 299 msgstr "" 300 301 #: config/donation_settings.php:20 302 msgid "Enable to collect donation on causes" 303 msgstr "" 304 305 #: config/donation_settings.php:30 306 msgid "Enable Projects" 307 msgstr "" 308 309 #: config/donation_settings.php:31 310 msgid "Enable to collect donation on projects" 311 msgstr "" 312 313 #: config/donation_settings.php:41 314 msgid "Show Currency Selector" 315 msgstr "" 316 317 #: config/donation_settings.php:42 318 msgid "Whether to allow multi currecy in donations" 319 msgstr "" 320 321 #: config/donation_settings.php:51 322 msgid "Choose Currency to show in Donation Popup" 323 msgstr "" 324 325 #: config/donation_settings.php:52 326 msgid "Choose currency to show as selective on donation popup" 327 msgstr "" 328 329 #: config/donation_settings.php:63 330 msgid "Pre Defined Donation Amount" 331 msgstr "" 332 333 #: config/donation_settings.php:64 334 msgid "Enable pre defined donations amounts" 335 msgstr "" 336 337 #: config/donation_settings.php:73 338 msgid "Donation Amounts" 339 msgstr "" 340 341 #: config/donation_settings.php:74 342 msgid "Enter the donation amounts" 343 msgstr "" 344 345 #: config/donation_settings.php:83 346 msgid "Custom Donation Amount" 347 msgstr "" 348 349 #: config/donation_settings.php:84 350 msgid "Enable custom donations amount" 351 msgstr "" 352 353 #: config/donation_settings.php:93 config/donation_settings.php:94 354 msgid "Enable recurring payments" 355 msgstr "" 356 357 #: config/donation_settings.php:103 358 msgid "Enable Custom Dropdown" 359 msgstr "" 360 361 #: config/donation_settings.php:104 362 msgid "Enable to show custom dropdown in donation form." 363 msgstr "" 364 365 #: config/donation_settings.php:113 366 msgid "Dropdown Options" 367 msgstr "" 368 369 #: config/donation_settings.php:114 370 msgid "Enable custom donations dropdown options" 371 msgstr "" 372 373 #: config/general_popup.php:5 374 msgid "General Popup" 375 msgstr "" 376 377 #: config/general_popup.php:46 378 msgid "Select Donation Popup Style" 379 msgstr "" 380 381 #: config/general_popup.php:50 shortcodes/donation_template.php:42 382 msgid "Style 1" 383 msgstr "" 384 385 #: config/general_popup.php:51 shortcodes/donation_template.php:43 386 msgid "Style 2" 387 msgstr "" 388 389 #: config/general_popup.php:52 390 msgid "Style 3" 391 msgstr "" 392 393 #: config/general_popup.php:58 394 msgid "Donation Page for popup" 395 msgstr "" 396 397 #: config/general_popup.php:59 398 msgid "It is used to store the collected donations and show the collection data" 399 msgstr "" 400 401 #: config/general_popup.php:68 286 402 msgid "General Amount Needed" 287 403 msgstr "" 288 404 289 #: config/ donation_button.php:74405 #: config/general_popup.php:69 290 406 msgid "Enter the amount for donation box" 291 407 msgstr "" 292 408 293 #: config/ donation_button.php:83409 #: config/general_popup.php:78 294 410 msgid "Background" 295 411 msgstr "" 296 412 297 #: config/ donation_button.php:84 config/donation_button.php:162413 #: config/general_popup.php:79 config/posttype_popup.php:49 298 414 msgid "Insert donation popup box background" 299 415 msgstr "" 300 416 301 #: config/ donation_button.php:95 config/donation_button.php:172417 #: config/general_popup.php:90 config/posttype_popup.php:59 302 418 msgid "Donation Popup Title" 303 419 msgstr "" 304 420 305 #: config/ donation_button.php:96 config/donation_button.php:173421 #: config/general_popup.php:91 config/posttype_popup.php:60 306 422 msgid "Enter the title for donation popup box" 307 423 msgstr "" 308 424 309 #: config/ donation_button.php:105 config/donation_button.php:182425 #: config/general_popup.php:100 config/posttype_popup.php:66 310 426 msgid "Donation Popup Sub Title" 311 427 msgstr "" 312 428 313 #: config/ donation_button.php:106 config/donation_button.php:183429 #: config/general_popup.php:101 config/posttype_popup.php:67 314 430 msgid "Enter the sub title for donation popup box" 315 431 msgstr "" 316 432 317 #: config/ donation_button.php:118 config/donation_button.php:194433 #: config/general_popup.php:113 config/posttype_popup.php:75 318 434 msgid "Donation Popup Description" 319 435 msgstr "" 320 436 321 #: config/ donation_button.php:119 config/donation_button.php:195437 #: config/general_popup.php:114 config/posttype_popup.php:76 322 438 msgid "Enter the litle description for donation popup box" 323 439 msgstr "" 324 440 325 #: config/donation_button.php:128 config/donation_button.php:213 326 msgid "Donation Button URL" 327 msgstr "" 328 329 #: config/donation_button.php:129 330 msgid "" 331 "Enter the donation button URL if you have selected button type to external " 332 "link for external link" 333 msgstr "" 334 335 #: config/donation_button.php:135 441 #: config/general_popup.php:123 336 442 msgid "Show Donation Calculation Bar in Popup" 337 443 msgstr "" 338 444 339 #: config/ donation_button.php:136445 #: config/general_popup.php:124 340 446 msgid "Whether to show donation calculation bar in popup" 341 447 msgstr "" 342 448 343 #: config/donation_button.php:144 344 msgid "Custom Posts Button Type" 345 msgstr "" 346 347 #: config/donation_button.php:147 348 msgid "Select Custom Posts Donation Type" 349 msgstr "" 350 351 #: config/donation_button.php:161 352 msgid "Popup Background" 353 msgstr "" 354 355 #: config/donation_button.php:206 356 msgid "Choose the donation page" 357 msgstr "" 358 359 #: config/donation_button.php:214 360 msgid "Enter the donation button URL for external link" 361 msgstr "" 362 363 #: config/donation_button.php:222 364 msgid "Settings of Donation Button for Menu section" 365 msgstr "" 366 367 #: config/donation_button.php:225 449 #: config/menu_button.php:5 450 msgid "Menu Button" 451 msgstr "" 452 453 #: config/menu_button.php:12 368 454 msgid "Show Donation Button in Menus" 369 455 msgstr "" 370 456 371 #: config/ donation_button.php:226457 #: config/menu_button.php:13 372 458 msgid "Whether to show donation button in menus" 373 459 msgstr "" 374 460 375 #: config/ donation_button.php:233461 #: config/menu_button.php:23 376 462 msgid "Menu Location" 377 463 msgstr "" 378 464 379 #: config/ donation_button.php:234465 #: config/menu_button.php:24 380 466 msgid "Choose menu location where you want to show this button." 381 467 msgstr "" 382 468 383 #: config/ donation_button.php:244469 #: config/menu_button.php:34 384 470 msgid "Donation Button Title" 385 471 msgstr "" 386 472 387 #: config/ donation_button.php:245473 #: config/menu_button.php:35 388 474 msgid "Enter the title for donation button" 389 475 msgstr "" 390 476 391 #: config/ donation_button.php:254 shortcodes/button.php:200477 #: config/menu_button.php:44 shortcodes/button.php:200 392 478 #: shortcodes/donation_parallax2.php:151 393 479 msgid "Button Background Color" 394 480 msgstr "" 395 481 396 #: config/ donation_button.php:255 config/donation_button.php:265397 #: config/ donation_button.php:275482 #: config/menu_button.php:45 config/menu_button.php:55 483 #: config/menu_button.php:65 398 484 msgid "Choose the color for donation button" 399 485 msgstr "" 400 486 401 #: config/ donation_button.php:264487 #: config/menu_button.php:54 402 488 msgid "Background Mouseover Color" 403 489 msgstr "" 404 490 405 #: config/ donation_button.php:274491 #: config/menu_button.php:64 406 492 msgid "Text Mouseover Color" 407 493 msgstr "" 408 494 409 #: config/ donation_button.php:284495 #: config/menu_button.php:74 410 496 msgid "Button Text Color" 411 497 msgstr "" 412 498 413 #: config/ donation_button.php:285499 #: config/menu_button.php:75 414 500 msgid "Choose the color for font of donation button" 415 msgstr ""416 417 #: config/donation_settings.php:4 webinane-commerce/config/settings.php:6418 msgid "General"419 msgstr ""420 421 #: config/donation_settings.php:5422 msgid "Donation General Settings"423 msgstr ""424 425 #: config/donation_settings.php:8426 msgid "Enable Plugin Style"427 msgstr ""428 429 #: config/donation_settings.php:9430 msgid "Enable to apply plugin stylesheet"431 msgstr ""432 433 #: config/donation_settings.php:16434 msgid "Enable Causes"435 msgstr ""436 437 #: config/donation_settings.php:17438 msgid "Enable to collect donation on causes"439 msgstr ""440 441 #: config/donation_settings.php:23442 msgid "Enable Projects"443 msgstr ""444 445 #: config/donation_settings.php:24446 msgid "Enable to collect donation on projects"447 msgstr ""448 449 #: config/donation_settings.php:30450 msgid "Show Currency Selector"451 msgstr ""452 453 #: config/donation_settings.php:31454 msgid "Whether to allow multi currecy in donations"455 msgstr ""456 457 #: config/donation_settings.php:36458 msgid "Choose Currency to show in Donation Popup"459 msgstr ""460 461 #: config/donation_settings.php:37462 msgid "Choose currency to show as selective on donation popup"463 msgstr ""464 465 #: config/donation_settings.php:48466 msgid "Pre Defined Donation Amount"467 msgstr ""468 469 #: config/donation_settings.php:49470 msgid "Enable pre defined donations amounts"471 msgstr ""472 473 #: config/donation_settings.php:54474 msgid "Donation Amounts"475 msgstr ""476 477 #: config/donation_settings.php:55478 msgid "Enter the donation amounts"479 msgstr ""480 481 #: config/donation_settings.php:64482 msgid "Custom Donation Amount"483 msgstr ""484 485 #: config/donation_settings.php:65486 msgid "Enable custom donations amount"487 msgstr ""488 489 #: config/donation_settings.php:70 config/donation_settings.php:71490 msgid "Enable recurring payments"491 msgstr ""492 493 #: config/donation_settings.php:76494 msgid "Enable Custom Dropdown"495 msgstr ""496 497 #: config/donation_settings.php:77498 msgid "Enable to show custom dropdown in donation form."499 msgstr ""500 501 #: config/donation_settings.php:82502 msgid "Dropdown Options"503 msgstr ""504 505 #: config/donation_settings.php:83506 msgid "Enable custom donations dropdown options"507 501 msgstr "" 508 502 … … 513 507 #: config/my_account.php:8 514 508 msgid "Others" 509 msgstr "" 510 511 #: config/posttype_popup.php:5 512 msgid "Post Type Popup" 513 msgstr "" 514 515 #: config/posttype_popup.php:12 516 msgid "Select Custom Posts Donation Type" 517 msgstr "" 518 519 #: config/posttype_popup.php:27 520 msgid "Choose the donation page" 521 msgstr "" 522 523 #: config/posttype_popup.php:37 524 msgid "Donation Button URL" 525 msgstr "" 526 527 #: config/posttype_popup.php:38 528 msgid "Enter the donation button URL for external link" 529 msgstr "" 530 531 #: config/posttype_popup.php:48 532 msgid "Popup Background" 515 533 msgstr "" 516 534 … … 659 677 msgstr "" 660 678 661 #: elementor/button.php:203 webinane-commerce/config/settings.php: 88679 #: elementor/button.php:203 webinane-commerce/config/settings.php:50 662 680 msgid "Left" 663 681 msgstr "" … … 667 685 msgstr "" 668 686 669 #: elementor/button.php:211 webinane-commerce/config/settings.php: 89687 #: elementor/button.php:211 webinane-commerce/config/settings.php:51 670 688 msgid "Right" 671 689 msgstr "" … … 817 835 #: elementor/causes_listing_widget.php:143 818 836 #: elementor/single_causes_widget.php:143 819 #: webinane-commerce/includes/Classes/Orders.php:118 5837 #: webinane-commerce/includes/Classes/Orders.php:1184 820 838 msgid "Date" 821 839 msgstr "" … … 833 851 #: shortcodes/parallax3.php:38 shortcodes/parallax4.php:35 834 852 #: shortcodes/parallax5.php:35 835 #: webinane-commerce/includes/Gateways/GatewayOffline.php:7 5836 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:9 7853 #: webinane-commerce/includes/Gateways/GatewayOffline.php:76 854 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:99 837 855 msgid "Title" 838 856 msgstr "" … … 1004 1022 1005 1023 #: elementor/parallax-simple.php:39 shortcodes/parallax-simple.php:41 1006 #: webinane-commerce/includes/Gateways/GatewayOffline.php:8 51007 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:1 081024 #: webinane-commerce/includes/Gateways/GatewayOffline.php:87 1025 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:110 1008 1026 #: webinane-commerce/templates/orders/offline-order-detail.php:31 1009 1027 msgid "Description" … … 1277 1295 #: webinane-commerce/includes/Classes/Emails.php:208 1278 1296 #: webinane-commerce/includes/Classes/Orders.php:328 1279 #: webinane-commerce/includes/Classes/Orders.php:56 21280 #: webinane-commerce/includes/Classes/Orders.php:118 11297 #: webinane-commerce/includes/Classes/Orders.php:561 1298 #: webinane-commerce/includes/Classes/Orders.php:1180 1281 1299 #: webinane-commerce/templates/admin/order-metabox-items.php:10 1282 1300 #: webinane-commerce/templates/checkout/items.php:11 … … 1353 1371 #: includes/Classes/SingleDonation.php:187 1354 1372 #: webinane-commerce/includes/Classes/Metaboxes.php:100 1355 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:37 31373 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:375 1356 1374 msgid "There is something went wrong" 1357 1375 msgstr "" … … 1388 1406 msgstr "" 1389 1407 1390 #: includes/class-lifeline-donation.php:2 471391 #: includes/class-lifeline-donation.php:30 31408 #: includes/class-lifeline-donation.php:250 1409 #: includes/class-lifeline-donation.php:306 1392 1410 #: webinane-commerce/includes/Classes/Ajax.php:50 1393 1411 #: webinane-commerce/includes/Classes/Checkout.php:115 … … 1395 1413 msgstr "" 1396 1414 1397 #: includes/class-lifeline-donation.php:27 31415 #: includes/class-lifeline-donation.php:276 1398 1416 msgid "No currency data provided" 1399 1417 msgstr "" 1400 1418 1401 #: includes/class-lifeline-donation.php:3 271419 #: includes/class-lifeline-donation.php:330 1402 1420 msgid "Donation Setting" 1403 1421 msgstr "" 1404 1422 1405 #: includes/class-lifeline-donation.php:36 41423 #: includes/class-lifeline-donation.php:367 1406 1424 msgid "Donation List Page" 1407 1425 msgstr "" 1408 1426 1409 #: includes/class-lifeline-donation.php:36 51427 #: includes/class-lifeline-donation.php:368 1410 1428 msgid "Choose the donors donation listing page" 1411 1429 msgstr "" 1412 1430 1413 #: includes/class-lifeline-donation.php:38 61431 #: includes/class-lifeline-donation.php:389 1414 1432 msgid "Thumbnail" 1415 1433 msgstr "" 1416 1434 1417 #: includes/class-lifeline-donation.php:39 1templates/modal/modal3.php:171435 #: includes/class-lifeline-donation.php:394 templates/modal/modal3.php:17 1418 1436 msgid "Collected" 1419 1437 msgstr "" 1420 1438 1421 #: includes/class-lifeline-donation.php:39 21439 #: includes/class-lifeline-donation.php:395 1422 1440 msgid "Target" 1423 1441 msgstr "" … … 1671 1689 1672 1690 #: includes/class-tgm-plugin-activation.php:2816 1691 #: webinane-commerce/includes/Fields/Media.php:73 1673 1692 msgid "Update" 1674 1693 msgstr "" … … 1859 1878 1860 1879 #: post-types/cause.php:73 post-types/project.php:57 1880 #: webinane-commerce/includes/Fields/Media.php:53 1861 1881 msgid "Add New" 1862 1882 msgstr "" … … 2913 2933 #: webinane-commerce/includes/Classes/Emails.php:216 2914 2934 #: webinane-commerce/includes/Classes/Orders.php:352 2915 #: webinane-commerce/includes/Classes/Orders.php:64 42935 #: webinane-commerce/includes/Classes/Orders.php:643 2916 2936 msgid "Completed" 2917 2937 msgstr "" … … 2929 2949 #: templates/modal/modal3.php:26 2930 2950 #: webinane-commerce/includes/Classes/Orders.php:335 2931 #: webinane-commerce/includes/Gateways/GatewayOffline.php:1 692932 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:97 02951 #: webinane-commerce/includes/Gateways/GatewayOffline.php:171 2952 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:972 2933 2953 msgid "Recurring" 2934 2954 msgstr "" … … 2939 2959 #: templates/donation-templates/donation-page.php:63 2940 2960 #: templates/modal/modal.php:67 templates/modal/modal2.php:23 2961 #: templates/modal/modal3.php:27 2941 2962 msgid "One Time" 2942 2963 msgstr "" … … 3009 3030 3010 3031 #: webinane-commerce/config/checkout_form.php:6 3011 #: webinane-commerce/includes/Admin/Settings.php:2 883032 #: webinane-commerce/includes/Admin/Settings.php:297 3012 3033 msgid "WP Commerce" 3013 3034 msgstr "" … … 3029 3050 #: webinane-commerce/config/checkout_form.php:26 3030 3051 #: webinane-commerce/config/checkout_form.php:32 3031 #: webinane-commerce/config/settings.php:353032 #: webinane-commerce/config/settings.php:463033 3052 msgid "Enter the store address" 3034 3053 msgstr "" 3035 3054 3036 3055 #: webinane-commerce/config/checkout_form.php:31 3037 #: webinane-commerce/config/settings.php: 453056 #: webinane-commerce/config/settings.php:29 3038 3057 #: webinane-commerce/templates/admin/order-metabox-basic.php:3 3039 3058 msgid "Address Line 2" … … 3041 3060 3042 3061 #: webinane-commerce/config/checkout_form.php:37 3043 #: webinane-commerce/config/settings.php:2 63062 #: webinane-commerce/config/settings.php:23 3044 3063 #: webinane-commerce/templates/admin/order-metabox-basic.php:4 3045 3064 msgid "City" … … 3276 3295 msgstr "" 3277 3296 3278 #: webinane-commerce/config/settings.php:1 23297 #: webinane-commerce/config/settings.php:16 3279 3298 msgid "Address Info" 3280 3299 msgstr "" 3281 3300 3282 #: webinane-commerce/config/settings.php:1 33301 #: webinane-commerce/config/settings.php:17 3283 3302 msgid "Address Information" 3284 3303 msgstr "" 3285 3304 3286 #: webinane-commerce/config/settings.php: 163305 #: webinane-commerce/config/settings.php:20 3287 3306 msgid "Select Country and State" 3288 3307 msgstr "" 3289 3308 3290 #: webinane-commerce/config/settings.php: 173309 #: webinane-commerce/config/settings.php:22 3291 3310 msgid "Choose the base country and state" 3292 3311 msgstr "" 3293 3312 3294 #: webinane-commerce/config/settings.php:2 73313 #: webinane-commerce/config/settings.php:25 3295 3314 msgid "Enter the base city" 3296 3315 msgstr "" 3297 3316 3298 #: webinane-commerce/config/settings.php: 343317 #: webinane-commerce/config/settings.php:26 3299 3318 msgid "Add Address" 3300 3319 msgstr "" 3301 3320 3321 #: webinane-commerce/config/settings.php:28 3322 #: webinane-commerce/config/settings.php:30 3323 msgid "Enter the business address" 3324 msgstr "" 3325 3326 #: webinane-commerce/config/settings.php:31 3327 msgid "ZIP Code" 3328 msgstr "" 3329 3330 #: webinane-commerce/config/settings.php:33 3331 msgid "Enter the ZIP / Postal Code" 3332 msgstr "" 3333 3334 #: webinane-commerce/config/settings.php:39 3335 msgid "Currency Info" 3336 msgstr "" 3337 3302 3338 #: webinane-commerce/config/settings.php:40 3303 msgid "Address line 1" 3339 msgid "Currency Information" 3340 msgstr "" 3341 3342 #: webinane-commerce/config/settings.php:43 3343 msgid "Select Currency" 3344 msgstr "" 3345 3346 #: webinane-commerce/config/settings.php:46 3347 msgid "Choose the base currency" 3348 msgstr "" 3349 3350 #: webinane-commerce/config/settings.php:47 3351 msgid "Currency Position" 3304 3352 msgstr "" 3305 3353 3306 3354 #: webinane-commerce/config/settings.php:52 3307 msgid " ZIP Code"3355 msgid "Left with Space" 3308 3356 msgstr "" 3309 3357 3310 3358 #: webinane-commerce/config/settings.php:53 3311 msgid "Enter the ZIP / Postal Code" 3312 msgstr "" 3313 3314 #: webinane-commerce/config/settings.php:64 3315 msgid "Currency Info" 3359 msgid "Right with Space" 3360 msgstr "" 3361 3362 #: webinane-commerce/config/settings.php:55 3363 msgid "Choose the currency position" 3364 msgstr "" 3365 3366 #: webinane-commerce/config/settings.php:57 3367 msgid "Thousand Saparate" 3368 msgstr "" 3369 3370 #: webinane-commerce/config/settings.php:59 3371 msgid "Enter the thousand amount saparator" 3372 msgstr "" 3373 3374 #: webinane-commerce/config/settings.php:60 3375 msgid "Decimal Separator" 3376 msgstr "" 3377 3378 #: webinane-commerce/config/settings.php:62 3379 msgid "Enter the decimal saparator" 3380 msgstr "" 3381 3382 #: webinane-commerce/config/settings.php:63 3383 msgid "Number of decimals" 3316 3384 msgstr "" 3317 3385 3318 3386 #: webinane-commerce/config/settings.php:65 3319 msgid "Currency Information" 3320 msgstr "" 3321 3322 #: webinane-commerce/config/settings.php:74 3323 msgid "Select Currency" 3324 msgstr "" 3325 3326 #: webinane-commerce/config/settings.php:75 3327 msgid "Choose the base currency" 3328 msgstr "" 3329 3330 #: webinane-commerce/config/settings.php:83 3331 msgid "Currency Position" 3332 msgstr "" 3333 3334 #: webinane-commerce/config/settings.php:84 3335 msgid "Choose the currency position" 3336 msgstr "" 3337 3338 #: webinane-commerce/config/settings.php:90 3339 msgid "Left with Space" 3340 msgstr "" 3341 3342 #: webinane-commerce/config/settings.php:91 3343 msgid "Right with Space" 3387 msgid "Enter the number of decimals" 3388 msgstr "" 3389 3390 #: webinane-commerce/config/settings.php:73 3391 msgid "Payments" 3392 msgstr "" 3393 3394 #: webinane-commerce/config/settings.php:87 3395 msgid "Display" 3396 msgstr "" 3397 3398 #: webinane-commerce/config/settings.php:92 3399 msgid "Checkout Page" 3400 msgstr "" 3401 3402 #: webinane-commerce/config/settings.php:94 3403 msgid "Choose the checkout page" 3344 3404 msgstr "" 3345 3405 3346 3406 #: webinane-commerce/config/settings.php:96 3347 msgid "Thousand Separator" 3348 msgstr "" 3349 3350 #: webinane-commerce/config/settings.php:97 3351 msgid "Enter the thousand amount saparator" 3407 msgid "Order Success Page" 3408 msgstr "" 3409 3410 #: webinane-commerce/config/settings.php:98 3411 msgid "Choose the to show when an order is successfull" 3412 msgstr "" 3413 3414 #: webinane-commerce/config/settings.php:100 3415 msgid "My Account Page" 3416 msgstr "" 3417 3418 #: webinane-commerce/config/settings.php:102 3419 msgid "Choose the my account page" 3352 3420 msgstr "" 3353 3421 3354 3422 #: webinane-commerce/config/settings.php:104 3355 msgid " Decimal Separator"3423 msgid "Redirect to Checkout" 3356 3424 msgstr "" 3357 3425 3358 3426 #: webinane-commerce/config/settings.php:105 3359 msgid "Enter the decimal amount saparator"3360 msgstr ""3361 3362 #: webinane-commerce/config/settings.php:1123363 msgid "Number of decimal"3364 msgstr ""3365 3366 #: webinane-commerce/config/settings.php:1133367 msgid "Enter the number of decimals"3368 msgstr ""3369 3370 #: webinane-commerce/config/settings.php:1253371 msgid "Payments"3372 msgstr ""3373 3374 #: webinane-commerce/config/settings.php:1393375 msgid "Display"3376 msgstr ""3377 3378 #: webinane-commerce/config/settings.php:1443379 msgid "Checkout Page"3380 msgstr ""3381 3382 #: webinane-commerce/config/settings.php:1453383 msgid "Choose the checkout page"3384 msgstr ""3385 3386 #: webinane-commerce/config/settings.php:1523387 msgid "Order Success Page"3388 msgstr ""3389 3390 #: webinane-commerce/config/settings.php:1533391 #: webinane-commerce/config/settings.php:1623392 msgid "Choose the page to show when an order is successful"3393 msgstr ""3394 3395 #: webinane-commerce/config/settings.php:1613396 msgid "My Account Page"3397 msgstr ""3398 3399 #: webinane-commerce/config/settings.php:1703400 msgid "Redirect to Checkout"3401 msgstr ""3402 3403 #: webinane-commerce/config/settings.php:1713404 3427 msgid "Redirect user to checkout page after add to cart" 3405 msgstr ""3406 3407 #: webinane-commerce/config/settings.php:1753408 msgid "ON"3409 msgstr ""3410 3411 #: webinane-commerce/config/settings.php:1763412 msgid "OFF"3413 3428 msgstr "" 3414 3429 … … 3441 3456 msgstr "" 3442 3457 3443 #: webinane-commerce/includes/Admin/Settings.php:5 43458 #: webinane-commerce/includes/Admin/Settings.php:55 3444 3459 msgid "WPCM Checkout Page" 3445 3460 msgstr "" 3446 3461 3447 #: webinane-commerce/includes/Admin/Settings.php:5 63462 #: webinane-commerce/includes/Admin/Settings.php:57 3448 3463 msgid "WPCM Order Success Page" 3449 3464 msgstr "" 3450 3465 3451 #: webinane-commerce/includes/Admin/Settings.php:5 83466 #: webinane-commerce/includes/Admin/Settings.php:59 3452 3467 msgid "WPCM My Account Page" 3453 3468 msgstr "" 3454 3469 3455 #: webinane-commerce/includes/Admin/Settings.php:13 13470 #: webinane-commerce/includes/Admin/Settings.php:139 3456 3471 msgid "Sucurity verification failed" 3457 3472 msgstr "" 3458 3473 3459 #: webinane-commerce/includes/Admin/Settings.php:1 353460 #: webinane-commerce/includes/Admin/Settings.php:4 153474 #: webinane-commerce/includes/Admin/Settings.php:143 3475 #: webinane-commerce/includes/Admin/Settings.php:424 3461 3476 #: webinane-commerce/includes/Classes/Customers.php:286 3462 3477 #: webinane-commerce/includes/Classes/Customers.php:319 … … 3465 3480 #: webinane-commerce/includes/Classes/Metaboxes.php:90 3466 3481 #: webinane-commerce/includes/Classes/MyAccount.php:90 3467 #: webinane-commerce/includes/Classes/Orders.php:7 803468 #: webinane-commerce/includes/Classes/Orders.php:8 303469 #: webinane-commerce/includes/Classes/Orders.php:86 63482 #: webinane-commerce/includes/Classes/Orders.php:779 3483 #: webinane-commerce/includes/Classes/Orders.php:829 3484 #: webinane-commerce/includes/Classes/Orders.php:865 3470 3485 msgid "You are not authorized" 3471 3486 msgstr "" 3472 3487 3473 #: webinane-commerce/includes/Admin/Settings.php:1 653488 #: webinane-commerce/includes/Admin/Settings.php:174 3474 3489 msgid "Settings are updated successfully" 3475 3490 msgstr "" 3476 3491 3477 #: webinane-commerce/includes/Admin/Settings.php:1 673492 #: webinane-commerce/includes/Admin/Settings.php:176 3478 3493 #: webinane-commerce/includes/Classes/Checkout.php:153 3479 #: webinane-commerce/includes/Classes/Orders.php: 9003480 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:35 23494 #: webinane-commerce/includes/Classes/Orders.php:899 3495 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:354 3481 3496 msgid "Something went wrong" 3482 3497 msgstr "" 3483 3498 3484 #: webinane-commerce/includes/Admin/Settings.php:1 883499 #: webinane-commerce/includes/Admin/Settings.php:197 3485 3500 msgid "Invalid File provided" 3486 3501 msgstr "" 3487 3502 3488 #: webinane-commerce/includes/Admin/Settings.php: 1963503 #: webinane-commerce/includes/Admin/Settings.php:205 3489 3504 msgid "Invalid URL Provided" 3490 3505 msgstr "" 3491 3506 3492 #: webinane-commerce/includes/Admin/Settings.php:2 153507 #: webinane-commerce/includes/Admin/Settings.php:224 3493 3508 msgid "Please provide a proper json data" 3494 3509 msgstr "" 3495 3510 3496 #: webinane-commerce/includes/Admin/Settings.php:2 193511 #: webinane-commerce/includes/Admin/Settings.php:228 3497 3512 msgid "Settings are imported successfully" 3498 3513 msgstr "" 3499 3514 3500 #: webinane-commerce/includes/Admin/Settings.php:2 873515 #: webinane-commerce/includes/Admin/Settings.php:296 3501 3516 msgid "WP Commerce Settings" 3502 3517 msgstr "" 3503 3518 3504 #: webinane-commerce/includes/Admin/Settings.php: 2973505 #: webinane-commerce/includes/Admin/Settings.php: 2983519 #: webinane-commerce/includes/Admin/Settings.php:306 3520 #: webinane-commerce/includes/Admin/Settings.php:307 3506 3521 msgid "Dashboard" 3507 3522 msgstr "" 3508 3523 3509 #: webinane-commerce/includes/Admin/Settings.php:3 063524 #: webinane-commerce/includes/Admin/Settings.php:315 3510 3525 msgid "Webinane Extensions" 3511 3526 msgstr "" 3512 3527 3513 #: webinane-commerce/includes/Admin/Settings.php:3 073528 #: webinane-commerce/includes/Admin/Settings.php:316 3514 3529 msgid "Extensions" 3515 3530 msgstr "" 3516 3531 3517 #: webinane-commerce/includes/Admin/Settings.php:3 183532 #: webinane-commerce/includes/Admin/Settings.php:327 3518 3533 #: webinane-commerce/includes/Classes/MyAccount.php:406 3519 3534 #: webinane-commerce/includes/Classes/Orders.php:193 … … 3526 3541 msgstr "" 3527 3542 3528 #: webinane-commerce/includes/Admin/Settings.php:4 313543 #: webinane-commerce/includes/Admin/Settings.php:440 3529 3544 msgid "File is valid, and was successfully uploaded." 3530 3545 msgstr "" … … 3639 3654 #: webinane-commerce/includes/Classes/Emails.php:213 3640 3655 #: webinane-commerce/includes/Classes/Orders.php:349 3641 #: webinane-commerce/includes/Classes/Orders.php:64 13656 #: webinane-commerce/includes/Classes/Orders.php:640 3642 3657 msgid "Pending Payment" 3643 3658 msgstr "" … … 3645 3660 #: webinane-commerce/includes/Classes/Emails.php:214 3646 3661 #: webinane-commerce/includes/Classes/Orders.php:350 3647 #: webinane-commerce/includes/Classes/Orders.php:64 23662 #: webinane-commerce/includes/Classes/Orders.php:641 3648 3663 msgid "Processing" 3649 3664 msgstr "" … … 3651 3666 #: webinane-commerce/includes/Classes/Emails.php:215 3652 3667 #: webinane-commerce/includes/Classes/Orders.php:351 3653 #: webinane-commerce/includes/Classes/Orders.php:64 33668 #: webinane-commerce/includes/Classes/Orders.php:642 3654 3669 msgid "On Hold" 3655 3670 msgstr "" … … 3657 3672 #: webinane-commerce/includes/Classes/Emails.php:217 3658 3673 #: webinane-commerce/includes/Classes/Orders.php:353 3659 #: webinane-commerce/includes/Classes/Orders.php:64 53674 #: webinane-commerce/includes/Classes/Orders.php:644 3660 3675 msgid "Cancelled" 3661 3676 msgstr "" … … 3663 3678 #: webinane-commerce/includes/Classes/Emails.php:218 3664 3679 #: webinane-commerce/includes/Classes/Orders.php:354 3665 #: webinane-commerce/includes/Classes/Orders.php:64 63680 #: webinane-commerce/includes/Classes/Orders.php:645 3666 3681 msgid "Refunded" 3667 3682 msgstr "" … … 3669 3684 #: webinane-commerce/includes/Classes/Emails.php:219 3670 3685 #: webinane-commerce/includes/Classes/Orders.php:355 3671 #: webinane-commerce/includes/Classes/Orders.php:64 73686 #: webinane-commerce/includes/Classes/Orders.php:646 3672 3687 msgid "Failed" 3673 3688 msgstr "" … … 3879 3894 3880 3895 #: webinane-commerce/includes/Classes/Orders.php:333 3881 #: webinane-commerce/includes/Classes/Orders.php:118 23896 #: webinane-commerce/includes/Classes/Orders.php:1181 3882 3897 #: webinane-commerce/templates/admin/connect.php:59 3883 3898 #: webinane-commerce/templates/checkout/billing.php:46 … … 3887 3902 3888 3903 #: webinane-commerce/includes/Classes/Orders.php:334 3889 #: webinane-commerce/includes/Classes/Orders.php:55 83890 #: webinane-commerce/includes/Classes/Orders.php:118 33904 #: webinane-commerce/includes/Classes/Orders.php:557 3905 #: webinane-commerce/includes/Classes/Orders.php:1182 3891 3906 #: webinane-commerce/templates/orders/offline-order-detail.php:35 3892 3907 #: webinane-commerce/templates/orders/paypal-order-detail.php:33 … … 3895 3910 3896 3911 #: webinane-commerce/includes/Classes/Orders.php:336 3897 #: webinane-commerce/includes/Gateways/GatewayOffline.php:1 793898 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:98 13912 #: webinane-commerce/includes/Gateways/GatewayOffline.php:181 3913 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:983 3899 3914 msgid "Recurring Cycle" 3900 3915 msgstr "" 3901 3916 3902 3917 #: webinane-commerce/includes/Classes/Orders.php:337 3903 #: webinane-commerce/includes/Gateways/GatewayOffline.php:18 33904 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:98 53918 #: webinane-commerce/includes/Gateways/GatewayOffline.php:185 3919 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:987 3905 3920 msgid "Recurring Frequency" 3906 3921 msgstr "" … … 3926 3941 msgstr "" 3927 3942 3928 #: webinane-commerce/includes/Classes/Orders.php:68 53943 #: webinane-commerce/includes/Classes/Orders.php:684 3929 3944 msgid "Processing <span class=\"count\">(%s)</span>" 3930 3945 msgid_plural "Processing <span class=\"count\">(%s)</span>" … … 3932 3947 msgstr[1] "" 3933 3948 3934 #: webinane-commerce/includes/Classes/Orders.php:69 63949 #: webinane-commerce/includes/Classes/Orders.php:695 3935 3950 msgid "Pending Payment <span class=\"count\">(%s)</span>" 3936 3951 msgid_plural "Pending Payment <span class=\"count\">(%s)</span>" … … 3938 3953 msgstr[1] "" 3939 3954 3940 #: webinane-commerce/includes/Classes/Orders.php:70 83955 #: webinane-commerce/includes/Classes/Orders.php:707 3941 3956 msgid "On Hold <span class=\"count\">(%s)</span>" 3942 3957 msgid_plural "On Hold <span class=\"count\">(%s)</span>" … … 3944 3959 msgstr[1] "" 3945 3960 3946 #: webinane-commerce/includes/Classes/Orders.php:7 203961 #: webinane-commerce/includes/Classes/Orders.php:719 3947 3962 msgid "Completed <span class=\"count\">(%s)</span>" 3948 3963 msgid_plural "Completed <span class=\"count\">(%s)</span>" … … 3950 3965 msgstr[1] "" 3951 3966 3952 #: webinane-commerce/includes/Classes/Orders.php:73 23967 #: webinane-commerce/includes/Classes/Orders.php:731 3953 3968 msgid "Cancelled <span class=\"count\">(%s)</span>" 3954 3969 msgid_plural "Cancelled <span class=\"count\">(%s)</span>" … … 3956 3971 msgstr[1] "" 3957 3972 3958 #: webinane-commerce/includes/Classes/Orders.php:74 33973 #: webinane-commerce/includes/Classes/Orders.php:742 3959 3974 msgid "Refunded <span class=\"count\">(%s)</span>" 3960 3975 msgid_plural "Refunded <span class=\"count\">(%s)</span>" … … 3962 3977 msgstr[1] "" 3963 3978 3964 #: webinane-commerce/includes/Classes/Orders.php:75 43979 #: webinane-commerce/includes/Classes/Orders.php:753 3965 3980 msgid "Failed <span class=\"count\">(%s)</span>" 3966 3981 msgid_plural "Failed <span class=\"count\">(%s)</span>" … … 3968 3983 msgstr[1] "" 3969 3984 3970 #: webinane-commerce/includes/Classes/Orders.php:81 63985 #: webinane-commerce/includes/Classes/Orders.php:815 3971 3986 msgid "Successfully updated" 3972 3987 msgstr "" 3973 3988 3974 #: webinane-commerce/includes/Classes/Orders.php:83 53989 #: webinane-commerce/includes/Classes/Orders.php:834 3975 3990 msgid "Invalid Post id" 3976 3991 msgstr "" 3977 3992 3978 #: webinane-commerce/includes/Classes/Orders.php:83 83993 #: webinane-commerce/includes/Classes/Orders.php:837 3979 3994 msgid "No order found for the given ID" 3980 3995 msgstr "" 3981 3996 3982 #: webinane-commerce/includes/Classes/Orders.php:87 63997 #: webinane-commerce/includes/Classes/Orders.php:875 3983 3998 msgid "Invalid order data provided" 3984 3999 msgstr "" 3985 4000 3986 #: webinane-commerce/includes/Classes/Orders.php:89 74001 #: webinane-commerce/includes/Classes/Orders.php:896 3987 4002 msgid "Order updated successfully" 3988 4003 msgstr "" 3989 4004 3990 #: webinane-commerce/includes/Classes/Orders.php:91 23991 #: webinane-commerce/includes/Classes/Orders.php:98 53992 #: webinane-commerce/includes/Classes/Orders.php:105 33993 #: webinane-commerce/includes/Classes/Orders.php:110 53994 #: webinane-commerce/includes/Classes/Orders.php:11 303995 #: webinane-commerce/includes/Classes/Orders.php:115 93996 #: webinane-commerce/includes/Classes/Orders.php:125 34005 #: webinane-commerce/includes/Classes/Orders.php:911 4006 #: webinane-commerce/includes/Classes/Orders.php:984 4007 #: webinane-commerce/includes/Classes/Orders.php:1052 4008 #: webinane-commerce/includes/Classes/Orders.php:1104 4009 #: webinane-commerce/includes/Classes/Orders.php:1129 4010 #: webinane-commerce/includes/Classes/Orders.php:1158 4011 #: webinane-commerce/includes/Classes/Orders.php:1252 3997 4012 #. translators: it replaces the email address. 3998 4013 msgid "You are not authorized to do that" 3999 4014 msgstr "" 4000 4015 4001 #: webinane-commerce/includes/Classes/Orders.php:94 24002 #: webinane-commerce/includes/Classes/Orders.php:103 84016 #: webinane-commerce/includes/Classes/Orders.php:941 4017 #: webinane-commerce/includes/Classes/Orders.php:1037 4003 4018 msgid "Item is updated successfully" 4004 4019 msgstr "" 4005 4020 4006 #: webinane-commerce/includes/Classes/Orders.php:99 34007 #: webinane-commerce/includes/Classes/Orders.php:100 84021 #: webinane-commerce/includes/Classes/Orders.php:992 4022 #: webinane-commerce/includes/Classes/Orders.php:1007 4008 4023 msgid "Product doesn't exist" 4009 4024 msgstr "" 4010 4025 4011 #: webinane-commerce/includes/Classes/Orders.php:100 24026 #: webinane-commerce/includes/Classes/Orders.php:1001 4012 4027 msgid "Product pricie is not available" 4013 4028 msgstr "" 4014 4029 4015 #: webinane-commerce/includes/Classes/Orders.php:103 24030 #: webinane-commerce/includes/Classes/Orders.php:1031 4016 4031 msgid "Item is already in order, please update its quantity" 4017 4032 msgstr "" 4018 4033 4019 #: webinane-commerce/includes/Classes/Orders.php:108 94020 #: webinane-commerce/includes/Classes/Orders.php:111 54034 #: webinane-commerce/includes/Classes/Orders.php:1088 4035 #: webinane-commerce/includes/Classes/Orders.php:1114 4021 4036 msgid "Note added successfully" 4022 4037 msgstr "" 4023 4038 4024 #: webinane-commerce/includes/Classes/Orders.php:114 34025 #: webinane-commerce/includes/Classes/Orders.php:116 84039 #: webinane-commerce/includes/Classes/Orders.php:1142 4040 #: webinane-commerce/includes/Classes/Orders.php:1167 4026 4041 msgid "Note deleted successfully" 4027 4042 msgstr "" 4028 4043 4029 #: webinane-commerce/includes/Classes/Orders.php:11 804044 #: webinane-commerce/includes/Classes/Orders.php:1179 4030 4045 msgid "Donor" 4031 4046 msgstr "" 4032 4047 4033 #: webinane-commerce/includes/Classes/Orders.php:118 44048 #: webinane-commerce/includes/Classes/Orders.php:1183 4034 4049 msgid "Number of Items" 4035 4050 msgstr "" 4036 4051 4037 #: webinane-commerce/includes/Classes/Orders.php:13 804052 #: webinane-commerce/includes/Classes/Orders.php:1379 4038 4053 msgid "You have no permissions to do that" 4039 4054 msgstr "" 4040 4055 4041 #: webinane-commerce/includes/Classes/Orders.php:139 14056 #: webinane-commerce/includes/Classes/Orders.php:1390 4042 4057 msgid "Refund is processed successfully" 4043 4058 msgstr "" 4044 4059 4045 #: webinane-commerce/includes/Classes/Orders.php:139 34060 #: webinane-commerce/includes/Classes/Orders.php:1392 4046 4061 msgid "Gateway is not enabled" 4047 4062 msgstr "" 4048 4063 4049 #: webinane-commerce/includes/Classes/Orders.php:139 64064 #: webinane-commerce/includes/Classes/Orders.php:1395 4050 4065 msgid "Invalid gateway" 4051 4066 msgstr "" … … 4053 4068 #: webinane-commerce/includes/Classes/Webinane.php:159 4054 4069 msgid "Minimum PHP version 7.1 is required for Webinane Commerce to work" 4070 msgstr "" 4071 4072 #: webinane-commerce/includes/Fields/Switcher.php:71 4073 msgid "ON" 4074 msgstr "" 4075 4076 #: webinane-commerce/includes/Fields/Switcher.php:72 4077 msgid "OFF" 4055 4078 msgstr "" 4056 4079 … … 4076 4099 msgstr "" 4077 4100 4078 #: webinane-commerce/includes/Gateways/GatewayOffline.php: 394101 #: webinane-commerce/includes/Gateways/GatewayOffline.php:40 4079 4102 msgid "Offline Payment" 4080 4103 msgstr "" 4081 4104 4082 #: webinane-commerce/includes/Gateways/GatewayOffline.php:4 04105 #: webinane-commerce/includes/Gateways/GatewayOffline.php:41 4083 4106 msgid "Pay offline via check or cash" 4084 4107 msgstr "" 4085 4108 4086 #: webinane-commerce/includes/Gateways/GatewayOffline.php:6 84087 #: webinane-commerce/includes/Gateways/GatewayOffline.php:7 04109 #: webinane-commerce/includes/Gateways/GatewayOffline.php:69 4110 #: webinane-commerce/includes/Gateways/GatewayOffline.php:71 4088 4111 msgid "Offline Gateway" 4089 4112 msgstr "" 4090 4113 4091 #: webinane-commerce/includes/Gateways/GatewayOffline.php:7 64092 #: webinane-commerce/includes/Gateways/GatewayPaypal.php: 984114 #: webinane-commerce/includes/Gateways/GatewayOffline.php:77 4115 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:100 4093 4116 msgid "Title to show on the checkout page" 4094 4117 msgstr "" 4095 4118 4096 #: webinane-commerce/includes/Gateways/GatewayOffline.php:8 64097 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:1 094119 #: webinane-commerce/includes/Gateways/GatewayOffline.php:88 4120 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:111 4098 4121 msgid "Description to show on the checkout page" 4099 4122 msgstr "" 4100 4123 4101 #: webinane-commerce/includes/Gateways/GatewayOffline.php:9 54124 #: webinane-commerce/includes/Gateways/GatewayOffline.php:97 4102 4125 msgid "Payment Instructions" 4103 4126 msgstr "" 4104 4127 4105 #: webinane-commerce/includes/Gateways/GatewayOffline.php:9 64128 #: webinane-commerce/includes/Gateways/GatewayOffline.php:98 4106 4129 msgid "Enter the instructions to show users that how to pay offline" 4107 4130 msgstr "" 4108 4131 4109 #: webinane-commerce/includes/Gateways/GatewayOffline.php:13 44132 #: webinane-commerce/includes/Gateways/GatewayOffline.php:136 4110 4133 msgid "The gateway is not active, please try another gateway" 4111 4134 msgstr "" 4112 4135 4113 #: webinane-commerce/includes/Gateways/GatewayOffline.php:170 4114 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:971 4115 msgid "YES" 4116 msgstr "" 4117 4118 #: webinane-commerce/includes/Gateways/GatewayOffline.php:170 4119 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:971 4120 msgid "NO" 4121 msgstr "" 4122 4123 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:69 4124 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:89 4136 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:70 4137 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:90 4138 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:93 4125 4139 msgid "PayPal Standard" 4126 4140 msgstr "" 4127 4141 4128 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:7 04142 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:71 4129 4143 msgid "Pay using PayPal" 4130 4144 msgstr "" 4131 4145 4132 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:9 24146 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:94 4133 4147 msgid "Enable sandbox mode to do test payments" 4134 4148 msgstr "" 4135 4149 4136 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:1 194150 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:121 4137 4151 msgid "PayPal Email" 4138 4152 msgstr "" 4139 4153 4140 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:12 04154 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:122 4141 4155 msgid "Please enter your PayPal email, it is need to take the orders" 4142 4156 msgstr "" 4143 4157 4144 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:13 04158 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:132 4145 4159 msgid "API Username" 4146 4160 msgstr "" 4147 4161 4148 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:13 14162 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:133 4149 4163 msgid "" 4150 4164 "Please enter your PayPal live API username, Learn how to access <a " … … 4154 4168 msgstr "" 4155 4169 4156 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:14 14170 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:143 4157 4171 msgid "API Password" 4158 4172 msgstr "" 4159 4173 4160 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:14 24174 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:144 4161 4175 msgid "Please enter your PayPal live API password" 4162 4176 msgstr "" 4163 4177 4164 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:15 24178 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:154 4165 4179 msgid "API Signature" 4166 4180 msgstr "" 4167 4181 4168 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:15 34182 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:155 4169 4183 msgid "" 4170 4184 "Please enter your PayPal live API signature, the IPN listening URL should " … … 4172 4186 msgstr "" 4173 4187 4174 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:31 44175 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:65 34188 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:316 4189 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:655 4176 4190 msgid "Billing agreement" 4177 4191 msgstr "" 4178 4192 4179 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:74 24193 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:744 4180 4194 msgid "Invalid profile ID" 4181 4195 msgstr "" 4182 4196 4183 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:91 14197 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:913 4184 4198 msgid "Payment was not completed, cannot give refund" 4185 4199 msgstr "" 4186 4200 4187 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:95 54201 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:957 4188 4202 msgid "Refund is processed successfully in PayPal" 4189 4203 msgstr "" … … 4773 4787 msgstr "" 4774 4788 4775 #: webinane-commerce/includes/Classes/Orders.php:68 44789 #: webinane-commerce/includes/Classes/Orders.php:683 4776 4790 msgctxt "post status label" 4777 4791 msgid "Processing " 4778 4792 msgstr "" 4779 4793 4780 #: webinane-commerce/includes/Classes/Orders.php:69 54794 #: webinane-commerce/includes/Classes/Orders.php:694 4781 4795 msgctxt "post status label" 4782 4796 msgid "Pending Payment " 4783 4797 msgstr "" 4784 4798 4785 #: webinane-commerce/includes/Classes/Orders.php:70 74799 #: webinane-commerce/includes/Classes/Orders.php:706 4786 4800 msgctxt "post status label" 4787 4801 msgid "On Hold " 4788 4802 msgstr "" 4789 4803 4790 #: webinane-commerce/includes/Classes/Orders.php:71 94804 #: webinane-commerce/includes/Classes/Orders.php:718 4791 4805 msgctxt "post status label" 4792 4806 msgid "Completed " 4793 4807 msgstr "" 4794 4808 4795 #: webinane-commerce/includes/Classes/Orders.php:73 14809 #: webinane-commerce/includes/Classes/Orders.php:730 4796 4810 msgctxt "post status label" 4797 4811 msgid "Cancelled " 4798 4812 msgstr "" 4799 4813 4800 #: webinane-commerce/includes/Classes/Orders.php:74 24814 #: webinane-commerce/includes/Classes/Orders.php:741 4801 4815 msgctxt "post status label" 4802 4816 msgid "Refunded " 4803 4817 msgstr "" 4804 4818 4805 #: webinane-commerce/includes/Classes/Orders.php:75 34819 #: webinane-commerce/includes/Classes/Orders.php:752 4806 4820 msgctxt "post status label" 4807 4821 msgid "Failed " -
lifeline-donation/trunk/lifeline-donation.php
r2388856 r2392763 8 8 * Text Domain: lifeline-donation 9 9 * Domain Path: /languages 10 * Version: 1.2.0. 310 * Version: 1.2.0.4 11 11 * 12 12 * @package Lifeline_Donation -
lifeline-donation/trunk/readme.txt
r2388856 r2392763 5 5 Requires at least: 5.0 6 6 Tested up to: 5.5 7 Stable tag: 1.2.0. 37 Stable tag: 1.2.0.4 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 74 74 75 75 == Changelog == 76 = Version 1.2.0.4 = 77 - Fixed: Fixed country field issue. 78 79 = Version 1.2.0.3 = 80 - Fixed: Fixed old settings database upgradation. 81 76 82 = Version 1.2.0.2 = 77 83 - Fixed: Issue with saving data in Payment Gateways tab -
lifeline-donation/trunk/webinane-commerce/assets/css/dashboard.css
r2388230 r2392763 1 #wpcm-admin-dashboard { 2 /* Enter and leave animations can use different */ 3 /* durations and timing functions. */ 4 /* .slide-fade-leave-active below version 2.1.8 */ 5 /*===== Breadcrumbs =====*/ 6 /*===== Filter Charts =====*/ 7 /*===== Facts =====*/ 8 } 9 10 #wpcm-admin-dashboard .el-button:focus { 11 outline: none; 12 } 13 14 #wpcm-admin-dashboard .el-input-group input { 15 border-color: #ddd; 16 } 17 18 #wpcm-admin-dashboard .slide-fade-enter-active { 19 transition: all .3s ease; 20 } 21 22 #wpcm-admin-dashboard .slide-fade-leave-active { 23 transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1); 24 } 25 26 #wpcm-admin-dashboard .slide-fade-enter, #wpcm-admin-dashboard .slide-fade-leave-to { 27 transform: translateX(10px); 28 opacity: 0; 29 } 30 31 #wpcm-admin-dashboard .table-boxes .el-input .el-input__inner { 32 box-shadow: none; 33 } 34 35 #wpcm-admin-dashboard .title { 36 float: left; 37 width: 100%; 38 margin-bottom: 40px; 39 } 40 41 #wpcm-admin-dashboard .title.center { 42 text-align: center; 43 } 44 45 #wpcm-admin-dashboard .title h2 { 46 float: left; 47 margin: 0; 48 width: 100%; 49 } 50 51 #wpcm-admin-dashboard .gap { 52 display: flex; 53 flex-wrap: wrap; 54 max-width: 100%; 55 padding: 4.375rem 0; 56 position: relative; 57 width: 100%; 58 } 59 60 #wpcm-admin-dashboard .remove-gap { 61 padding-top: 0; 62 } 63 64 #wpcm-admin-dashboard .lfndn-plgn .breadcrumbs-wrap { 65 flex-grow: 1; 66 justify-content: start; 67 } 68 69 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb { 70 padding: 0; 71 background-color: transparent; 72 border-radius: 0; 73 margin: 1.25rem 0 0; 74 list-style: none; 75 display: flex; 76 display: -ms-flexbox; 77 } 78 79 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb > li.breadcrumb-item { 80 color: #999; 81 position: relative; 82 font-size: 0.9375rem; 83 font-family: Barlow; 84 } 85 86 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb > li.breadcrumb-item a { 87 color: #cd4aaa; 88 } 89 90 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb > li.breadcrumb-item + li.breadcrumb-item { 91 padding-left: 0.9375rem; 92 margin-left: 0.625rem; 93 } 94 95 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb > li.breadcrumb-item + li.breadcrumb-item:before { 96 content: "/"; 97 color: #999; 98 position: absolute; 99 padding: 0; 100 left: 0; 101 top: 0; 102 line-height: inherit; 103 } 104 105 #wpcm-admin-dashboard .lfndn-plgn .wdgt-box { 106 flex-grow: 1; 107 background-color: #fff; 108 border-radius: 0.1875rem; 109 -ms-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08); 110 -o-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08); 111 box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08); 112 margin-top: 1.875rem; 113 justify-content: space-between; 114 padding: 0 1.875rem 1.875rem; 115 position: relative; 116 overflow: hidden; 117 } 118 119 #wpcm-admin-dashboard .lfndn-plgn .wdgt-title { 120 flex: 0 0 calc(100% + 3.75rem); 121 max-width: calc(100% + 3.75rem); 122 margin-left: -1.875rem; 123 width: 100%; 124 overflow: hidden; 125 position: relative; 126 } 127 128 #wpcm-admin-dashboard .lfndn-plgn .wdgt-title > h4 { 129 color: #fff; 130 background-color: #8293ae; 131 margin-bottom: 0; 132 display: inline-block; 133 position: relative; 134 font-size: 1.125rem; 135 font-weight: 600; 136 padding: 0.95rem 1.875rem; 137 min-width: 15.625rem; 138 } 139 140 #wpcm-admin-dashboard .lfndn-plgn .wdgt-title > h4:before { 141 content: ""; 142 position: absolute; 143 right: -2.5rem; 144 background-color: inherit; 145 top: 0; 146 bottom: 0; 147 width: 4.375rem; 148 transform: skew(-35deg); 149 } 150 151 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt { 152 position: absolute; 153 right: 1.875rem; 154 top: 0.6875rem; 155 } 156 157 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt > a { 158 display: inline-block; 159 position: relative; 160 line-height: 0.875rem; 161 vertical-align: middle; 162 } 163 164 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt > a:hover { 165 opacity: .7; 166 } 167 168 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt > a + a { 169 margin-left: 1.5625rem; 170 } 171 172 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt > a + a:before { 173 content: ""; 174 position: absolute; 175 left: -0.75rem; 176 height: 0.8125rem; 177 width: 0.0625rem; 178 background-color: #e5e5e5; 179 top: 50%; 180 margin-top: -0.3125rem; 181 } 182 183 #wpcm-admin-dashboard .lfndn-plgn .chart { 184 width: 100%; 185 height: 15.625rem; 186 overflow: initial !important; 187 } 188 189 #wpcm-admin-dashboard .lfndn-plgn .chart * { 190 overflow: initial !important; 191 } 192 193 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-contextmenu { 194 top: -3.125rem !important; 195 } 196 197 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu { 198 border: 0 !important; 199 -ms-box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.15) !important; 200 -o-box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.15) !important; 201 box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.15) !important; 202 } 203 204 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu-item { 205 font-family: barlow; 206 font-weight: 500; 207 color: #646464 !important; 208 } 209 210 #wpcm-admin-dashboard .lfndn-plgn .chart hr { 211 margin: .5rem; 212 } 213 214 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu-item:hover { 215 color: #fff !important; 216 } 217 218 #wpcm-admin-dashboard .lfndn-plgn .chart g.highcharts-exporting-group { 219 transform: translate(-2.56rem, -4.8rem); 220 } 221 222 #wpcm-admin-dashboard .lfndn-plgn .chart text { 223 font-family: barlow; 224 color: #999; 225 } 226 227 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-legend-item text tspan { 228 font-size: 18px; 229 font-family: barlow; 230 font-weight: 600; 231 } 232 233 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-legend-item text tspan + tspan { 234 fill: #999; 235 font-weight: 400; 236 font-size: 14px; 237 } 238 239 #wpcm-admin-dashboard .lfndn-plgn .wdgt-title + .chart { 240 margin-top: 1.875rem; 241 } 242 243 #wpcm-admin-dashboard .lfndn-plgn .chart > * { 244 height: inherit; 245 } 246 247 #wpcm-admin-dashboard .lfndn-plgn .sec-title > h3 + .fltr-lnks { 248 margin-left: 2.8125rem; 249 } 250 251 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks { 252 padding-left: 0; 253 list-style: none; 254 margin-bottom: -0.3125rem; 255 display: inline-block; 256 } 257 258 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks > li { 259 display: inline-block; 260 } 261 262 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks > li + li { 263 margin-left: 0.3125rem; 264 } 265 266 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks > li a { 267 background-color: #fff; 268 border: 0.125rem solid #fff; 269 border-radius: 3px; 270 height: 2.5rem; 271 width: 2.5rem; 272 line-height: 2.25rem; 273 display: inline-block; 274 text-align: center; 275 border: 2px solid transparent; 276 transition: all 0.35s; 277 } 278 279 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks > li a:hover { 280 border-color: #5b93d3; 281 } 282 283 #wpcm-admin-dashboard .opt-tgls-wrap { 284 position: relative; 285 margin-left: auto; 286 } 287 288 #wpcm-admin-dashboard .opt-tgls-wrap i { 289 height: 35px; 290 width: 20px; 291 background-color: #fff; 292 border-radius: 20px; 293 text-align: center; 294 line-height: 35px; 295 cursor: pointer; 296 } 297 298 #wpcm-admin-dashboard .opt-tgls-lst { 299 list-style: none; 300 padding: 0; 301 margin: 0; 302 border-top: 3px solid #5b93d3; 303 position: absolute; 304 top: 140%; 305 right: 0; 306 z-index: 1; 307 width: 310px; 308 box-shadow: 0 0 35px rgba(0, 0, 0, 0.15); 309 background-color: #fff; 310 } 311 312 #wpcm-admin-dashboard .opt-tgls-lst:before { 313 content: ""; 314 border-left: 8px solid transparent; 315 border-right: 8px solid transparent; 316 border-bottom: 8px solid #5b93d3; 317 position: absolute; 318 right: 15px; 319 top: -11px; 320 } 321 322 #wpcm-admin-dashboard .opt-tgls-lst li { 323 font-size: 15px; 324 color: #454545; 325 padding: 15px 24px; 326 display: flex; 327 justify-content: space-between; 328 } 329 330 #wpcm-admin-dashboard .opt-tgls-lst li + li { 331 border-top: 1px solid #ececec; 332 } 333 334 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch { 335 height: 25px; 336 } 337 338 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch__core { 339 background-color: #fdfdfd !important; 340 border-color: #f2f2f2 !important; 341 height: 25px; 342 border-radius: 40px; 343 } 344 345 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch__core::after { 346 height: 22px; 347 width: 22px; 348 border: 1px solid #f2f2f2; 349 box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); 350 top: 0; 351 } 352 353 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch.is-checked .el-switch__core { 354 background-color: #4bd663 !important; 355 border-color: #4bd663 !important; 356 } 357 358 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch.is-checked .el-switch__core::after { 359 margin-left: -22px; 360 } 361 362 #wpcm-admin-dashboard .opt-tgls-lst.active { 363 opacity: 1; 364 visiblity: visible; 365 transform: translateY(14px); 366 -webkit-transform: translateY(14px); 367 -moz-transform: translateY(14px); 368 -o-transform: translateY(14px); 369 } 370 371 #wpcm-admin-dashboard .opt-wrap { 372 margin-left: auto; 373 display: flex; 374 } 375 376 #wpcm-admin-dashboard .opt-wrap .slc-wrp { 377 margin-right: 10px; 378 } 379 380 #wpcm-admin-dashboard .opt-wrap .slc-wrp .el-input--suffix .el-input__inner { 381 width: 150px; 382 color: #393939; 383 font-size: 13px; 384 font-family: Barlow; 385 font-weight: 500; 386 } 387 388 #wpcm-admin-dashboard .el-select-dropdown .el-select-dropdown__item { 389 color: #393939; 390 font-size: 13px; 391 font-family: Barlow; 392 font-weight: 500; 393 } 394 395 #wpcm-admin-dashboard .el-select-dropdown .el-select-dropdown__item.selected { 396 background-color: #5b93d3; 397 color: #fff; 398 } 399 400 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap { 401 width: 100%; 402 position: relative; 403 } 404 405 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > h6 { 406 vertical-align: middle; 407 margin-bottom: 0; 408 font-weight: 400; 409 font-size: 1.125rem; 410 display: inline-block; 411 font-family: Barlow; 412 color: #000; 413 } 414 415 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap + .sec-title { 416 margin-top: 2.5rem; 417 } 418 419 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > h6 + span { 420 margin-left: 1.875rem; 421 } 422 423 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > span { 424 display: inline-block; 425 vertical-align: middle; 426 background-color: #fff; 427 cursor: pointer; 428 position: relative; 429 border-radius: 0.1875rem; 430 text-transform: uppercase; 431 -ms-box-shadow: 0 0 1.5625rem rgba(0, 0, 0, 0.08); 432 -o-box-shadow: 0 0 1.5625rem rgba(0, 0, 0, 0.08); 433 box-shadow: 0 0 1.5625rem rgba(0, 0, 0, 0.08); 434 padding: 1.05rem 4.0625rem 1.05rem 1.875rem; 435 font-size: 1.125rem; 436 font-weight: 500; 437 color: #000; 438 min-width: 24.6875rem; 439 font-family: Barlow; 440 } 441 442 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > span i { 443 font-style: normal; 444 color: #a3a3a3; 445 } 446 447 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > span:before { 448 content: "\F0D7"; 449 width: 3.75rem; 450 text-align: center; 451 right: 0; 452 border-left: 0.125rem solid #f0f0f0; 453 position: absolute; 454 top: 0; 455 bottom: 0; 456 font-family: fontawesome; 457 font-size: 1rem; 458 color: #7f7f7f; 459 line-height: 3.75rem; 460 } 461 462 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap span + .date-filter-inner { 463 left: 7.8125rem; 464 background-color: #fff; 465 } 466 467 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner { 468 position: absolute; 469 left: 0; 470 z-index: 9; 471 max-width: 50rem; 472 border-radius: 0 0 0.3125rem 0.3125rem; 473 padding: 1.5625rem 2.5rem 1.875rem 2.5rem; 474 -ms-box-shadow: 0 0 2.1875rem rgba(0, 0, 0, 0.15); 475 -o-box-shadow: 0 0 2.1875rem rgba(0, 0, 0, 0.15); 476 box-shadow: 0 0 2.1875rem rgba(0, 0, 0, 0.15); 477 top: 100%; 478 border-top: 5px solid #5b93d3; 479 width: 100%; 480 opacity: 0; 481 visibility: hidden; 482 } 483 484 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner.active { 485 opacity: 1; 486 visibility: visible; 487 } 488 489 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header { 490 margin-bottom: 0; 491 } 492 493 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap { 494 margin-bottom: 0; 495 } 496 497 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__item { 498 padding: 0.9875rem 2.75rem; 499 height: initial; 500 line-height: initial; 501 font-size: 0.9375rem; 502 text-transform: uppercase; 503 font-weight: 700; 504 font-family: Barlow; 505 color: #333; 506 border-radius: 2.5rem; 507 } 508 509 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__active-bar { 510 top: 0; 511 bottom: 0; 512 height: initial; 513 z-index: -1; 514 display: none; 515 } 516 517 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__item.is-active { 518 color: #fff; 519 background-color: #5b93d3; 520 } 521 522 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content { 523 width: 100%; 524 } 525 526 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane { 527 width: 100%; 528 } 529 530 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap:after { 531 display: none; 532 } 533 534 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group { 535 display: inline-block; 536 } 537 538 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox { 539 max-width: 20%; 540 width: 100%; 541 margin: 0.9375rem 0 0; 542 padding-right: 1.25rem; 543 font-size: 0.9375rem; 544 color: #333; 545 font-weight: 500; 546 font-family: Barlow; 547 display: inline-block; 548 position: relative; 549 z-index: 1; 550 } 551 552 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox span.el-checkbox__label { 553 font-size: inherit; 554 font-weight: inherit; 555 font-family: inherit; 556 line-height: 0.9375rem; 557 } 558 559 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox span.el-checkbox__input span.el-checkbox__inner { 560 -ms-box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.13); 561 -o-box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.13); 562 box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.13); 563 border-color: #d3d3d3; 564 height: 11px; 565 width: 11px; 566 border-radius: 0.1875rem; 567 } 568 569 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__input span.el-radio__inner { 570 -ms-box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1); 571 -o-box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1); 572 box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1); 573 border-color: #d3d3d3; 574 height: 0.6875rem; 575 width: 0.6875rem; 576 border-radius: 0.1875rem; 577 } 578 579 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .lfndn-plgn .date-filter-wrap .compare-box .el-radio__input.is-checked .el-radio__inner { 580 border-color: #5b93d3; 581 background: #5b93d3; 582 } 583 584 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox span.el-checkbox__input.is-checked span.el-checkbox__inner { 585 background-color: transparent; 586 } 587 588 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox span.el-checkbox__input.is-checked span.el-checkbox__inner:after { 589 content: "\F00C"; 590 font-family: fontawesome; 591 transform: rotate(0); 592 left: 0; 593 top: -3px; 594 font-weight: 400; 595 font-size: 13px; 596 color: #009661; 597 } 598 599 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox.is-checked span.el-checkbox__label { 600 color: #333; 601 } 602 603 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box { 604 width: 100%; 605 } 606 607 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group + .compare-box { 608 margin-top: 2.5rem; 609 border-top: 0.0625rem solid #ececec; 610 } 611 612 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box > h6 { 613 margin: 0; 614 background-color: #fff; 615 display: inline-block; 616 position: relative; 617 top: -0.875rem; 618 z-index: 1; 619 font-size: 1rem; 620 text-transform: uppercase; 621 padding-right: 1.875rem; 622 clear: right; 623 } 624 625 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group { 626 clear: left; 627 display: block; 628 } 629 630 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio { 631 font-family: Barlow; 632 color: #333; 633 font-weight: 500; 634 font-size: 0.9375rem; 635 margin-bottom: 0; 636 } 637 638 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__label { 639 font-size: inherit; 640 font-weight: inherit; 641 font-family: inherit; 642 } 643 644 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__input span.el-radio__inner:after { 645 border-radius: 0; 646 height: 3px; 647 width: 3px; 648 margin-top: -1px; 649 } 650 651 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio.is-checked span.el-radio__label { 652 color: inherit; 653 } 654 655 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group + a { 656 margin-top: -1.5625rem; 657 } 658 659 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box > a { 660 float: right; 661 text-transform: uppercase; 662 border-radius: 0.3125rem; 663 font-size: 0.9375rem; 664 font-weight: 700; 665 font-family: Barlow; 666 padding: 0.55rem 2.625rem; 667 color: #fff; 668 } 669 670 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box > a:hover, #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box > a:focus { 671 background-color: #333; 672 } 673 674 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block { 675 margin-top: 30px; 676 } 677 678 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block > span { 679 font-weight: 600; 680 font-family: Barlow; 681 display: inline-block; 682 margin-right: 15px; 683 } 684 685 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block .el-date-editor { 686 font-family: Barlow; 687 font-weight: 500; 688 } 689 690 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block .el-date-editor span.el-range-separator { 691 width: auto; 692 } 693 694 #wpcm-admin-dashboard header { 695 -ms-box-shadow: 8px 16px 21px 0px rgba(0, 0, 0, 0.14); 696 -o-box-shadow: 8px 16px 21px 0px rgba(0, 0, 0, 0.14); 697 box-shadow: 8px 16px 21px 0px rgba(0, 0, 0, 0.14); 698 background-color: #002e5f; 699 margin-left: -20px; 700 } 701 702 #wpcm-admin-dashboard header nav { 703 display: flex; 704 flex-wrap: wrap; 705 max-width: 100%; 706 } 707 708 #wpcm-admin-dashboard header nav > ul { 709 padding-left: 0; 710 list-style: none; 711 margin-bottom: 0; 712 display: flex; 713 flex-wrap: wrap; 714 max-width: 100%; 715 } 716 717 #wpcm-admin-dashboard header nav > ul > li { 718 display: inline-block; 719 position: relative; 720 font-size: 0.875rem; 721 font-weight: 500; 722 color: #fff; 723 min-width: 8.4375rem; 724 border-left: 0.0625rem solid rgba(255, 255, 255, 0.12); 725 text-align: center; 726 } 727 728 #wpcm-admin-dashboard header nav > ul > li > a { 729 display: block; 730 padding: 1.1875rem 0.9375rem; 731 color: #fff; 732 } 733 734 #wpcm-admin-dashboard header nav > ul > li:last-child { 735 border-right: 0.0625rem solid rgba(255, 255, 255, 0.12); 736 } 737 738 #wpcm-admin-dashboard header nav > ul > li i { 739 display: block; 740 } 741 742 #wpcm-admin-dashboard header nav > ul > li:hover > a, 743 #wpcm-admin-dashboard header nav > ul > li > a:focus { 744 color: #fff; 745 opacity: 0.7; 746 } 747 748 #wpcm-admin-dashboard .lfndn-plgn .msg-list-wrap { 749 position: fixed; 750 right: -38.75rem; 751 top: 0; 752 bottom: 0; 753 -ms-box-shadow: 15px 26px 73px 0px rgba(0, 0, 0, 0); 754 -o-box-shadow: 15px 26px 73px 0px rgba(0, 0, 0, 0); 755 box-shadow: 15px 26px 73px 0px rgba(0, 0, 0, 0); 756 background-color: #002e5f; 757 z-index: 99; 758 max-width: 38.75rem; 759 opacity: 0; 760 visibility: hidden; 761 } 762 763 #wpcm-admin-dashboard .lfndn-plgn .msg-list-wrap.active { 764 right: 0; 765 opacity: 1; 766 visibility: visible; 767 } 768 769 #wpcm-admin-dashboard .lfndn-plgn .msg-list { 770 padding: 0; 771 list-style: none; 772 width: 100%; 773 height: 100%; 774 text-align: initial; 775 } 776 777 #wpcm-admin-dashboard .lfndn-plgn .msg-list > li { 778 width: 100%; 779 display: inline-block; 780 position: relative; 781 border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.12); 782 padding: 3.125rem 3.75rem; 783 line-height: initial; 784 } 785 786 #wpcm-admin-dashboard .lfndn-plgn .msg-list > li:before { 787 content: ""; 788 position: absolute; 789 height: 0.9375rem; 790 width: 0.9375rem; 791 background-color: #e5354e; 792 border-radius: 50%; 793 left: 0.9375rem; 794 top: 1.5625rem; 795 } 796 797 #wpcm-admin-dashboard .lfndn-plgn .msg-list > li > i { 798 float: left; 799 border-radius: 0.3125rem; 800 font-size: 1.25rem; 801 color: #fff; 802 border: 0.125rem solid rgba(255, 255, 255, 0.3); 803 line-height: 2.59375rem; 804 width: 2.8125rem; 805 text-align: center; 806 height: 2.8125rem; 807 } 808 809 #wpcm-admin-dashboard .lfndn-plgn .msg-inr { 810 width: 100%; 811 display: inline-block; 812 } 813 814 #wpcm-admin-dashboard .lfndn-plgn .msg-list > li > i + .msg-inr { 815 width: calc(100% - 2.8125rem); 816 padding-left: 0.9375rem; 817 } 818 819 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > h4 { 820 margin-bottom: 0; 821 color: #fff; 822 font-size: 1.25rem; 823 } 824 825 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > h4 + span { 826 margin-top: 0.25rem; 827 } 828 829 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > span { 830 display: inline-block; 831 font-size: 0.9375rem; 832 color: #fff; 833 text-transform: uppercase; 834 } 835 836 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > span + a { 837 float: right; 838 margin-top: -1.25rem; 839 background-color: #5b93d3; 840 } 841 842 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > a { 843 font-size: 0.875rem; 844 color: #fff; 845 border-radius: 0.1875rem; 846 font-weight: 600; 847 padding: 0.7rem 1.25rem; 848 } 849 850 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > a + p { 851 margin-top: 0.9375rem; 852 } 853 854 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > p { 855 color: #9facb9; 856 line-height: 1.625rem; 857 font-size: 1rem; 858 max-width: 95%; 859 margin-bottom: 0; 860 } 861 862 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > a:hover, #wpcm-admin-dashboard .lfndn-plgn .msg-inr > a:focus { 863 background-color: #fff; 864 color: #000; 865 } 866 867 #wpcm-admin-dashboard .lfndn-plgn .sec-title { 868 display: flex; 869 background-color: #edeaea; 870 padding: 15px 12px 15px 30px; 871 align-items: center; 872 } 873 874 #wpcm-admin-dashboard .lfndn-plgn .sec-title h3 { 875 font-size: 20px; 876 color: #000; 877 font-weight: bold; 878 font-family: Barlow; 879 margin-bottom: 0; 880 text-transform: uppercase; 881 } 882 883 #wpcm-admin-dashboard .lfndn-plgn .facts-wrap { 884 width: 100%; 885 margin-bottom: 40px; 886 } 887 888 #wpcm-admin-dashboard .lfndn-plgn .fact-box { 889 position: relative; 890 padding: 1.875rem; 891 border-radius: 0.21875rem; 892 overflow: hidden; 893 margin-top: 1.875rem; 894 } 895 896 #wpcm-admin-dashboard .lfndn-plgn .fact-box > h4 { 897 font-size: 2.125rem; 898 color: #ffffff; 899 margin-bottom: 0; 900 } 901 902 #wpcm-admin-dashboard .lfndn-plgn .fact-box > h4 sup { 903 font-weight: 400; 904 font-size: 65%; 905 top: -0.625rem; 906 } 907 908 #wpcm-admin-dashboard .lfndn-plgn .fact-box > span { 909 display: block; 910 font-size: 0.8125rem; 911 color: #ffffff; 912 font-family: Barlow; 913 text-transform: uppercase; 914 } 915 916 #wpcm-admin-dashboard .lfndn-plgn .fact-box > span + i { 917 margin-top: 1.25rem; 918 } 919 920 #wpcm-admin-dashboard .lfndn-plgn .fact-box > i { 921 color: #ffffff; 922 font-size: 1.5625rem; 923 font-style: normal; 924 display: inline-block; 925 } 926 927 #wpcm-admin-dashboard .lfndn-plgn .fact-inner { 928 position: absolute; 929 right: 0; 930 bottom: 0.3125rem; 931 background-color: rgba(0, 0, 0, 0.1); 932 padding: 0.9375rem 3.125rem 0.9375rem 1.5625rem; 933 border-radius: 0.625rem 0 0 0.625rem; 934 } 935 936 #wpcm-admin-dashboard .lfndn-plgn .fact-inner > h6 { 937 color: #ffffff; 938 margin-bottom: 0; 939 font-size: 0.9375rem; 940 font-weight: 600; 941 } 942 943 #wpcm-admin-dashboard .lfndn-plgn .fact-inner > h6 + span { 944 margin-top: 0.25rem; 945 font-family: Barlow; 946 } 947 948 #wpcm-admin-dashboard .lfndn-plgn .fact-inner > span { 949 display: block; 950 color: #ffffff; 951 font-size: 0.8125rem; 952 } 953 954 #wpcm-admin-dashboard .lfndn-plgn .clr1 { 955 background-color: #e23a3a; 956 } 957 958 #wpcm-admin-dashboard .lfndn-plgn .clr2 { 959 background-color: #4683e8; 960 } 961 962 #wpcm-admin-dashboard .lfndn-plgn .clr3 { 963 background-color: #83b639; 964 } 965 966 #wpcm-admin-dashboard .lfndn-plgn .clr4 { 967 background-color: #c43ae2; 968 } 969 970 #wpcm-admin-dashboard .lfndn-plgn .clr5 { 971 background-color: #a47823; 972 } 973 974 #wpcm-admin-dashboard .lfndn-plgn .clr6 { 975 background-color: #4cb6c9; 976 } 1 #wpcm-admin-dashboard .el-button:focus{outline:none}#wpcm-admin-dashboard .el-input-group input{border-color:#ddd}#wpcm-admin-dashboard .slide-fade-enter-active{transition:all .3s ease}#wpcm-admin-dashboard .slide-fade-leave-active{transition:all .3s cubic-bezier(1,.5,.8,1)}#wpcm-admin-dashboard .slide-fade-enter,#wpcm-admin-dashboard .slide-fade-leave-to{transform:translateX(10px);opacity:0}#wpcm-admin-dashboard .table-boxes .el-input .el-input__inner{box-shadow:none}#wpcm-admin-dashboard .title{float:left;width:100%;margin-bottom:40px}#wpcm-admin-dashboard .title.center{text-align:center}#wpcm-admin-dashboard .title h2{float:left;margin:0;width:100%}#wpcm-admin-dashboard .gap{display:flex;flex-wrap:wrap;max-width:100%;padding:4.375rem 0;position:relative;width:100%}#wpcm-admin-dashboard .remove-gap{padding-top:0}#wpcm-admin-dashboard .lfndn-plgn .breadcrumbs-wrap{flex-grow:1;justify-content:start}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb{padding:0;background-color:transparent;border-radius:0;margin:1.25rem 0 0;list-style:none;display:flex;display:-ms-flexbox}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb>li.breadcrumb-item{color:#999;position:relative;font-size:.9375rem;font-family:Barlow}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb>li.breadcrumb-item a{color:#cd4aaa}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb>li.breadcrumb-item+li.breadcrumb-item{padding-left:.9375rem;margin-left:.625rem}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb>li.breadcrumb-item+li.breadcrumb-item:before{content:"/";color:#999;position:absolute;padding:0;left:0;top:0;line-height:inherit}#wpcm-admin-dashboard .lfndn-plgn .wdgt-box{flex-grow:1;background-color:#fff;border-radius:.1875rem;-ms-box-shadow:0 0 24px 0 rgba(0,0,0,.08);-o-box-shadow:0 0 24px 0 rgba(0,0,0,.08);box-shadow:0 0 24px 0 rgba(0,0,0,.08);margin-top:1.875rem;justify-content:space-between;padding:0 1.875rem 1.875rem;position:relative;overflow:hidden}#wpcm-admin-dashboard .lfndn-plgn .wdgt-title{flex:0 0 calc(100% + 3.75rem);max-width:calc(100% + 3.75rem);margin-left:-1.875rem;width:100%;overflow:hidden;position:relative}#wpcm-admin-dashboard .lfndn-plgn .wdgt-title>h4{color:#fff;background-color:#8293ae;margin-bottom:0;display:inline-block;position:relative;font-size:1.125rem;font-weight:600;padding:.95rem 1.875rem;min-width:15.625rem}#wpcm-admin-dashboard .lfndn-plgn .wdgt-title>h4:before{content:"";position:absolute;right:-2.5rem;background-color:inherit;top:0;bottom:0;width:4.375rem;transform:skew(-35deg)}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt{position:absolute;right:1.875rem;top:.6875rem}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt>a{display:inline-block;position:relative;line-height:.875rem;vertical-align:middle}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt>a:hover{opacity:.7}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt>a+a{margin-left:1.5625rem}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt>a+a:before{content:"";position:absolute;left:-.75rem;height:.8125rem;width:.0625rem;background-color:#e5e5e5;top:50%;margin-top:-.3125rem}#wpcm-admin-dashboard .lfndn-plgn .chart{width:100%;height:15.625rem;overflow:initial!important}#wpcm-admin-dashboard .lfndn-plgn .chart *{overflow:initial!important}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-contextmenu{top:-3.125rem!important}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu{border:0!important;-ms-box-shadow:0 0 .9375rem rgba(0,0,0,.15)!important;-o-box-shadow:0 0 .9375rem rgba(0,0,0,.15)!important;box-shadow:0 0 .9375rem rgba(0,0,0,.15)!important}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu-item{font-family:barlow;font-weight:500;color:#646464!important}#wpcm-admin-dashboard .lfndn-plgn .chart hr{margin:.5rem}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu-item:hover{color:#fff!important}#wpcm-admin-dashboard .lfndn-plgn .chart g.highcharts-exporting-group{transform:translate(-2.56rem,-4.8rem)}#wpcm-admin-dashboard .lfndn-plgn .chart text{font-family:barlow;color:#999}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-legend-item text tspan{font-size:18px;font-family:barlow;font-weight:600}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-legend-item text tspan+tspan{fill:#999;font-weight:400;font-size:14px}#wpcm-admin-dashboard .lfndn-plgn .wdgt-title+.chart{margin-top:1.875rem}#wpcm-admin-dashboard .lfndn-plgn .chart>*{height:inherit}#wpcm-admin-dashboard .lfndn-plgn .sec-title>h3+.fltr-lnks{margin-left:2.8125rem}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks{padding-left:0;list-style:none;margin-bottom:-.3125rem;display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks>li{display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks>li+li{margin-left:.3125rem}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks>li a{background-color:#fff;border-radius:3px;height:2.5rem;width:2.5rem;line-height:2.25rem;display:inline-block;text-align:center;border:2px solid transparent;transition:all .35s}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks>li a:hover{border-color:#5b93d3}#wpcm-admin-dashboard .opt-tgls-wrap{position:relative;margin-left:auto}#wpcm-admin-dashboard .opt-tgls-wrap i{height:35px;width:20px;background-color:#fff;border-radius:20px;text-align:center;line-height:35px;cursor:pointer}#wpcm-admin-dashboard .opt-tgls-lst{list-style:none;padding:0;margin:0;border-top:3px solid #5b93d3;position:absolute;top:140%;right:0;z-index:1;width:310px;box-shadow:0 0 35px rgba(0,0,0,.15);background-color:#fff}#wpcm-admin-dashboard .opt-tgls-lst:before{content:"";border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #5b93d3;position:absolute;right:15px;top:-11px}#wpcm-admin-dashboard .opt-tgls-lst li{font-size:15px;color:#454545;padding:15px 24px;display:flex;justify-content:space-between}#wpcm-admin-dashboard .opt-tgls-lst li+li{border-top:1px solid #ececec}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch{height:25px}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch__core{background-color:#fdfdfd!important;border-color:#f2f2f2!important;height:25px;border-radius:40px}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch__core:after{height:22px;width:22px;border:1px solid #f2f2f2;box-shadow:0 0 15px rgba(0,0,0,.15);top:0}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch.is-checked .el-switch__core{background-color:#4bd663!important;border-color:#4bd663!important}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch.is-checked .el-switch__core:after{margin-left:-22px}#wpcm-admin-dashboard .opt-tgls-lst.active{opacity:1;visiblity:visible;transform:translateY(14px);-webkit-transform:translateY(14px);-moz-transform:translateY(14px);-o-transform:translateY(14px)}#wpcm-admin-dashboard .opt-wrap{margin-left:auto;display:flex}#wpcm-admin-dashboard .opt-wrap .slc-wrp{margin-right:10px}#wpcm-admin-dashboard .opt-wrap .slc-wrp .el-input--suffix .el-input__inner{width:150px;color:#393939;font-size:13px;font-family:Barlow;font-weight:500}#wpcm-admin-dashboard .el-select-dropdown .el-select-dropdown__item{color:#393939;font-size:13px;font-family:Barlow;font-weight:500}#wpcm-admin-dashboard .el-select-dropdown .el-select-dropdown__item.selected{background-color:#5b93d3;color:#fff}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap{width:100%;position:relative}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>h6{vertical-align:middle;margin-bottom:0;font-weight:400;font-size:1.125rem;display:inline-block;font-family:Barlow;color:#000}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap+.sec-title{margin-top:2.5rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>h6+span{margin-left:1.875rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>span{display:inline-block;vertical-align:middle;background-color:#fff;cursor:pointer;position:relative;border-radius:.1875rem;text-transform:uppercase;-ms-box-shadow:0 0 1.5625rem rgba(0,0,0,.08);-o-box-shadow:0 0 1.5625rem rgba(0,0,0,.08);box-shadow:0 0 1.5625rem rgba(0,0,0,.08);padding:1.05rem 4.0625rem 1.05rem 1.875rem;font-size:1.125rem;font-weight:500;color:#000;min-width:24.6875rem;font-family:Barlow}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>span i{font-style:normal;color:#a3a3a3}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>span:before{content:"\F0D7";width:3.75rem;text-align:center;right:0;border-left:.125rem solid #f0f0f0;position:absolute;top:0;bottom:0;font-family:fontawesome;font-size:1rem;color:#7f7f7f;line-height:3.75rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap span+.date-filter-inner{left:7.8125rem;background-color:#fff}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner{position:absolute;left:0;z-index:9;max-width:50rem;border-radius:0 0 .3125rem .3125rem;padding:1.5625rem 2.5rem 1.875rem;-ms-box-shadow:0 0 2.1875rem rgba(0,0,0,.15);-o-box-shadow:0 0 2.1875rem rgba(0,0,0,.15);box-shadow:0 0 2.1875rem rgba(0,0,0,.15);top:100%;border-top:5px solid #5b93d3;width:100%;opacity:0;visibility:hidden}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner.active{opacity:1;visibility:visible}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header,#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap{margin-bottom:0}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__item{padding:.9875rem 2.75rem;height:auto;line-height:normal;font-size:.9375rem;text-transform:uppercase;font-weight:700;font-family:Barlow;color:#333;border-radius:2.5rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__active-bar{top:0;bottom:0;height:auto;z-index:-1;display:none}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__item.is-active{color:#fff;background-color:#5b93d3}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content,#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane{width:100%}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap:after{display:none}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group{display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox{max-width:20%;width:100%;margin:.9375rem 0 0;padding-right:1.25rem;font-size:.9375rem;color:#333;font-weight:500;font-family:Barlow;display:inline-block;position:relative;z-index:1}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox span.el-checkbox__label{font-size:inherit;font-weight:inherit;font-family:inherit;line-height:.9375rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox span.el-checkbox__input span.el-checkbox__inner{-ms-box-shadow:0 0 .625rem rgba(0,0,0,.13);-o-box-shadow:0 0 .625rem rgba(0,0,0,.13);box-shadow:0 0 .625rem rgba(0,0,0,.13);border-color:#d3d3d3;height:11px;width:11px;border-radius:.1875rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__input span.el-radio__inner{-ms-box-shadow:0 0 .625rem rgba(0,0,0,.1);-o-box-shadow:0 0 .625rem rgba(0,0,0,.1);box-shadow:0 0 .625rem rgba(0,0,0,.1);border-color:#d3d3d3;height:.6875rem;width:.6875rem;border-radius:.1875rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .lfndn-plgn .date-filter-wrap .compare-box .el-radio__input.is-checked .el-radio__inner{border-color:#5b93d3;background:#5b93d3}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox span.el-checkbox__input.is-checked span.el-checkbox__inner{background-color:transparent}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox span.el-checkbox__input.is-checked span.el-checkbox__inner:after{content:"\F00C";font-family:fontawesome;transform:rotate(0);left:0;top:-3px;font-weight:400;font-size:13px;color:#009661}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox.is-checked span.el-checkbox__label{color:#333}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box{width:100%}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group+.compare-box{margin-top:2.5rem;border-top:.0625rem solid #ececec}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box>h6{margin:0;background-color:#fff;display:inline-block;position:relative;top:-.875rem;z-index:1;font-size:1rem;text-transform:uppercase;padding-right:1.875rem;clear:right}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group{clear:left;display:block}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio{font-family:Barlow;color:#333;font-weight:500;font-size:.9375rem;margin-bottom:0}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__label{font-size:inherit;font-weight:inherit;font-family:inherit}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__input span.el-radio__inner:after{border-radius:0;height:3px;width:3px;margin-top:-1px}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio.is-checked span.el-radio__label{color:inherit}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group+a{margin-top:-1.5625rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box>a{float:right;text-transform:uppercase;border-radius:.3125rem;font-size:.9375rem;font-weight:700;font-family:Barlow;padding:.55rem 2.625rem;color:#fff}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box>a:focus,#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box>a:hover{background-color:#333}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block{margin-top:30px}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block>span{font-weight:600;font-family:Barlow;display:inline-block;margin-right:15px}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block .el-date-editor{font-family:Barlow;font-weight:500}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block .el-date-editor span.el-range-separator{width:auto}#wpcm-admin-dashboard header{-ms-box-shadow:8px 16px 21px 0 rgba(0,0,0,.14);-o-box-shadow:8px 16px 21px 0 rgba(0,0,0,.14);box-shadow:8px 16px 21px 0 rgba(0,0,0,.14);background-color:#002e5f;margin-left:-20px}#wpcm-admin-dashboard header nav,#wpcm-admin-dashboard header nav>ul{display:flex;flex-wrap:wrap;max-width:100%}#wpcm-admin-dashboard header nav>ul{padding-left:0;list-style:none;margin-bottom:0}#wpcm-admin-dashboard header nav>ul>li{display:inline-block;position:relative;font-size:.875rem;font-weight:500;color:#fff;min-width:8.4375rem;border-left:.0625rem solid hsla(0,0%,100%,.12);text-align:center}#wpcm-admin-dashboard header nav>ul>li>a{display:block;padding:1.1875rem .9375rem;color:#fff}#wpcm-admin-dashboard header nav>ul>li:last-child{border-right:.0625rem solid hsla(0,0%,100%,.12)}#wpcm-admin-dashboard header nav>ul>li i{display:block}#wpcm-admin-dashboard header nav>ul>li:hover>a,#wpcm-admin-dashboard header nav>ul>li>a:focus{color:#fff;opacity:.7}#wpcm-admin-dashboard .lfndn-plgn .msg-list-wrap{position:fixed;right:-38.75rem;top:0;bottom:0;-ms-box-shadow:15px 26px 73px 0 transparent;-o-box-shadow:15px 26px 73px 0 transparent;box-shadow:15px 26px 73px 0 transparent;background-color:#002e5f;z-index:99;max-width:38.75rem;opacity:0;visibility:hidden}#wpcm-admin-dashboard .lfndn-plgn .msg-list-wrap.active{right:0;opacity:1;visibility:visible}#wpcm-admin-dashboard .lfndn-plgn .msg-list{padding:0;list-style:none;width:100%;height:100%;text-align:initial}#wpcm-admin-dashboard .lfndn-plgn .msg-list>li{width:100%;display:inline-block;position:relative;border-bottom:.0625rem solid hsla(0,0%,100%,.12);padding:3.125rem 3.75rem;line-height:normal}#wpcm-admin-dashboard .lfndn-plgn .msg-list>li:before{content:"";position:absolute;height:.9375rem;width:.9375rem;background-color:#e5354e;border-radius:50%;left:.9375rem;top:1.5625rem}#wpcm-admin-dashboard .lfndn-plgn .msg-list>li>i{float:left;border-radius:.3125rem;font-size:1.25rem;color:#fff;border:.125rem solid hsla(0,0%,100%,.3);line-height:2.59375rem;width:2.8125rem;text-align:center;height:2.8125rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr{width:100%;display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .msg-list>li>i+.msg-inr{width:calc(100% - 2.8125rem);padding-left:.9375rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>h4{margin-bottom:0;color:#fff;font-size:1.25rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>h4+span{margin-top:.25rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>span{display:inline-block;font-size:.9375rem;color:#fff;text-transform:uppercase}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>span+a{float:right;margin-top:-1.25rem;background-color:#5b93d3}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>a{font-size:.875rem;color:#fff;border-radius:.1875rem;font-weight:600;padding:.7rem 1.25rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>a+p{margin-top:.9375rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>p{color:#9facb9;line-height:1.625rem;font-size:1rem;max-width:95%;margin-bottom:0}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>a:focus,#wpcm-admin-dashboard .lfndn-plgn .msg-inr>a:hover{background-color:#fff;color:#000}#wpcm-admin-dashboard .lfndn-plgn .sec-title{display:flex;background-color:#edeaea;padding:15px 12px 15px 30px;align-items:center}#wpcm-admin-dashboard .lfndn-plgn .sec-title h3{font-size:20px;color:#000;font-weight:700;font-family:Barlow;margin-bottom:0;text-transform:uppercase}#wpcm-admin-dashboard .lfndn-plgn .facts-wrap{width:100%;margin-bottom:40px}#wpcm-admin-dashboard .lfndn-plgn .fact-box{position:relative;padding:1.875rem;border-radius:.21875rem;overflow:hidden;margin-top:1.875rem}#wpcm-admin-dashboard .lfndn-plgn .fact-box>h4{font-size:2.125rem;color:#fff;margin-bottom:0}#wpcm-admin-dashboard .lfndn-plgn .fact-box>h4 sup{font-weight:400;font-size:65%;top:-.625rem}#wpcm-admin-dashboard .lfndn-plgn .fact-box>span{display:block;font-size:.8125rem;color:#fff;font-family:Barlow;text-transform:uppercase}#wpcm-admin-dashboard .lfndn-plgn .fact-box>span+i{margin-top:1.25rem}#wpcm-admin-dashboard .lfndn-plgn .fact-box>i{color:#fff;font-size:1.5625rem;font-style:normal;display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .fact-inner{position:absolute;right:0;bottom:.3125rem;background-color:rgba(0,0,0,.1);padding:.9375rem 3.125rem .9375rem 1.5625rem;border-radius:.625rem 0 0 .625rem}#wpcm-admin-dashboard .lfndn-plgn .fact-inner>h6{color:#fff;margin-bottom:0;font-size:.9375rem;font-weight:600}#wpcm-admin-dashboard .lfndn-plgn .fact-inner>h6+span{margin-top:.25rem;font-family:Barlow}#wpcm-admin-dashboard .lfndn-plgn .fact-inner>span{display:block;color:#fff;font-size:.8125rem}#wpcm-admin-dashboard .lfndn-plgn .clr1{background-color:#e23a3a}#wpcm-admin-dashboard .lfndn-plgn .clr2{background-color:#4683e8}#wpcm-admin-dashboard .lfndn-plgn .clr3{background-color:#83b639}#wpcm-admin-dashboard .lfndn-plgn .clr4{background-color:#c43ae2}#wpcm-admin-dashboard .lfndn-plgn .clr5{background-color:#a47823}#wpcm-admin-dashboard .lfndn-plgn .clr6{background-color:#4cb6c9} -
lifeline-donation/trunk/webinane-commerce/assets/css/main.css
r2388230 r2392763 1 .hide { 2 display: none; 3 } 4 5 .modalOpen .el-notification { 6 z-index: 99999999 !important; 7 } 8 9 .modal.fade.in { 10 opacity: 1; 11 } 12 13 .modal-backdrop.fade.in { 14 opacity: 0.5; 15 } 16 17 .alert { 18 position: fixed; 19 top: 35px; 20 left: 25%; 21 z-index: 999; 22 } 23 24 .fade-enter-active, .fade-leave-active { 25 transition: opacity .5s; 26 } 27 28 .fade-enter, .fade-leave-to { 29 opacity: 0; 30 } 31 32 /* .wpcm-custom-select2 { 33 .vs__open-indicator { 34 background-color: #eee; 35 padding: 7px 10px; 36 } 37 } */ 38 body .el-select-dropdown { 39 z-index: 999999 !important; 40 } 41 42 .el-select__tags .el-select__input { 43 box-shadow: none; 44 border: none; 45 background-color: transparent; 46 -webkit-appearance: none; 47 appeance: none; 48 } 49 50 .el-custom-select .el-select.el-select--large { 51 display: block; 52 } 53 54 .el-custom-select .el-select .el-input__suffix { 55 background-color: #f8f8f8; 56 width: 35px; 57 border: 1px solid #ebebeb; 58 border-radius: 4px; 59 height: 70%; 60 top: 14.5%; 61 line-height: 34px; 62 } 63 64 .el-custom-select .el-select .el-input__inner[readonly] { 65 background-color: #fff; 66 } 67 68 .el-custom-select .el-select .el-input__inner { 69 height: 54px; 70 color: #999; 71 } 72 73 .el-custom-select .el-select i.el-input__icon { 74 line-height: 34px; 75 } 76 77 .el-custom-select .el-select .el-input.is-focus .el-input__inner { 78 border-color: #7470d2; 79 } 80 81 .wpcm-datetime-view .el-date-editor.el-input, 82 .wpcm-datetime-view .el-date-editor.el-input__inner { 83 width: 100%; 84 } 85 86 .el-input-number { 87 width: 125px; 88 margin-left: 11px; 89 /* .el-input__inner { 90 padding-left: 20px; 91 padding-right: 20px; 92 } */ 93 } 94 95 .el-input-number input.el-input__inner { 96 border-radius: 0px; 97 border: 1px solid #e6e6e6; 98 height: 50px; 99 padding: 0 20px; 100 } 101 102 .el-input-number .el-input-number__decrease { 103 left: -11px; 104 } 105 106 .el-input-number .el-input-number__increase { 107 right: -11px; 108 } 109 110 .el-input-number .el-input-number__decrease, 111 .el-input-number .el-input-number__increase { 112 top: 50%; 113 width: 26px; 114 height: 30px; 115 line-height: 26px; 116 background: #f6f6f6; 117 color: #69696a; 118 font-size: 12px; 119 border: 1px solid #ebebeb; 120 border-radius: 4px; 121 transform: translateY(-50%); 122 } 123 124 .el-input-number .el-input-number__decrease:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled), 125 .el-input-number .el-input-number__increase:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled) { 126 border-color: #7470d2; 127 } 128 129 .wpcm-wrapper .el-button { 130 line-height: 1; 131 } 132 133 .wpcm-ajax-processing { 134 width: 20px; 135 height: 20px; 136 -webkit-animation: wpcm-spin 2s infinite linear; 137 animation: wpcm-spin 2s infinite linear; 138 background-image: url("../images/refresh-button.svg"); 139 display: inline-block; 140 } 141 142 .wpcm-ajax-processing.white { 143 background-image: url("../images/refresh-button-white.svg"); 144 } 145 146 .action-response { 147 padding: 5px 10px; 148 } 149 150 .action-response.success { 151 background-color: #d4edda; 152 border-color: #d4edda; 153 color: #155724; 154 } 155 156 .action-response.danger { 157 background-color: #f8d7da; 158 border-color: #f8d7da; 159 color: #721c24; 160 } 161 162 @-webkit-keyframes wpcm-spin { 163 0% { 164 transform: rotate(0deg); 165 } 166 100% { 167 transform: rotate(359deg); 168 } 169 } 170 171 @keyframes wpcm-spin { 172 0% { 173 transform: rotate(0deg); 174 } 175 100% { 176 transform: rotate(359deg); 177 } 178 } 1 .hide{display:none}.modalOpen .el-notification{z-index:99999999!important}.modal.fade.in{opacity:1}.modal-backdrop.fade.in{opacity:.5}.alert{position:fixed;top:35px;left:25%;z-index:999}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}body .el-select-dropdown{z-index:999999!important}.el-select__tags .el-select__input{box-shadow:none;border:none;background-color:transparent;-webkit-appearance:none;appeance:none}.el-custom-select .el-select.el-select--large{display:block}.el-custom-select .el-select .el-input__suffix{background-color:#f8f8f8;width:35px;border:1px solid #ebebeb;border-radius:4px;height:70%;top:14.5%;line-height:34px}.el-custom-select .el-select .el-input__inner[readonly]{background-color:#fff}.el-custom-select .el-select .el-input__inner{height:54px;color:#999}.el-custom-select .el-select i.el-input__icon{line-height:34px}.el-custom-select .el-select .el-input.is-focus .el-input__inner{border-color:#7470d2}.wpcm-datetime-view .el-date-editor.el-input,.wpcm-datetime-view .el-date-editor.el-input__inner{width:100%}.el-input-number{width:125px;margin-left:11px}.el-input-number input.el-input__inner{border-radius:0;border:1px solid #e6e6e6;height:50px;padding:0 20px}.el-input-number .el-input-number__decrease{left:-11px}.el-input-number .el-input-number__increase{right:-11px}.el-input-number .el-input-number__decrease,.el-input-number .el-input-number__increase{top:50%;width:26px;height:30px;line-height:26px;background:#f6f6f6;color:#69696a;font-size:12px;border:1px solid #ebebeb;border-radius:4px;transform:translateY(-50%)}.el-input-number .el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled),.el-input-number .el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled){border-color:#7470d2}.wpcm-wrapper .el-button{line-height:1}.wpcm-ajax-processing{width:20px;height:20px;-webkit-animation:wpcm-spin 2s linear infinite;animation:wpcm-spin 2s linear infinite;background-image:url(../images/refresh-button.svg);display:inline-block}.wpcm-ajax-processing.white{background-image:url(../images/refresh-button-white.svg)}.action-response{padding:5px 10px}.action-response.success{background-color:#d4edda;border-color:#d4edda;color:#155724}.action-response.danger{background-color:#f8d7da;border-color:#f8d7da;color:#721c24}@-webkit-keyframes wpcm-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes wpcm-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}} -
lifeline-donation/trunk/webinane-commerce/assets/css/style.css
r2388230 r2392763 2158 2158 width: 100%; 2159 2159 } 2160 -
lifeline-donation/trunk/webinane-commerce/assets/js/admin/settings.js
r2388230 r2392763 1 !function(e){var t={};function n( o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=33)}([function(e,t,n){"use strict";function o(e,t,n,o,a,i,r,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=wp.i18n,a=(o.__,o.setLocaleData,{data:function(){return{isVisible:!1}},methods:{checkIsVisible:function(){this.$root.dep_fields;if(_.size(this.$root.dep_fields))return void 0!==this.$root.dep_fields[this.field.id]?!0===this.$root.dep_fields[this.field.id]?void(this.isVisible=!0):void(this.isVisible=!1):void(this.isVisible=!0);this.isVisible=!0}}})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var a=(r=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),i=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[n].concat(i).concat([a]).join("\n")}var r;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},a=0;a<this.length;a++){var i=this[a][0];"number"==typeof i&&(o[i]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&o[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),t.push(r))}},t}},function(e,t,n){var o,a,i={},r=(o=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===a&&(a=o.apply(this,arguments)),a}),s=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var o=s.call(this,e,n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}}(),c=null,d=0,p=[],u=n(12);function m(e,t){for(var n=0;n<e.length;n++){var o=e[n],a=i[o.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](o.parts[r]);for(;r<o.parts.length;r++)a.parts.push(w(o.parts[r],t))}else{var s=[];for(r=0;r<o.parts.length;r++)s.push(w(o.parts[r],t));i[o.id]={id:o.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],o={},a=0;a<e.length;a++){var i=e[a],r=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};o[r]?o[r].parts.push(s):n.push(o[r]={id:r,parts:[s]})}return n}function b(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=p[p.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),p.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var a=l(e.insertAt.before,n);n.insertBefore(t,a)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=p.indexOf(e);t>=0&&p.splice(t,1)}function _(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var o=function(){0;return n.nc}();o&&(e.attrs.nonce=o)}return g(t,e.attrs),b(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function w(e,t){var n,o,a,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var r=d++;n=c||(c=_(t)),o=x.bind(null,n,r,!1),a=x.bind(null,n,r,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),b(e,t),t}(t),o=C.bind(null,n,t),a=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=_(t),o=k.bind(null,n),a=function(){h(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return m(n,t),function(e){for(var o=[],a=0;a<n.length;a++){var r=n[a];(s=i[r.id]).refs--,o.push(s)}e&&m(f(e,t),t);for(a=0;a<o.length;a++){var s;if(0===(s=o[a]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var v,y=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function x(e,t,n,o){var a=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=y(t,a);else{var i=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(i,r[t]):e.appendChild(i)}}function k(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function C(e,t,n){var o=n.css,a=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||i)&&(o=u(o)),a&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var r=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(r),s&&URL.revokeObjectURL(s)}},function(e,t,n){"use strict";var o=wp.i18n,a=o.__,i=(o.setLocaleData,{id:a("id","webinane-commerce"),my:a("My","webinane-commerce"),my_methodes:a("My Used Payment Methods","webinane-commerce"),amount:a("Amount","webinane-commerce"),date:a("Date","webinane-commerce"),recurring:a("Recurring","webinane-commerce"),full_name:a("Full Name","webinane-commerce"),items:a("Items","webinane-commerce"),cost:a("Cost","webinane-commerce"),qty:a("Qty","webinane-commerce"),total:a("Total","webinane-commerce"),action:a("Action","webinane-commerce"),subtotal:a("Sub Total","webinane-commerce"),price:a("Price","webinane-commerce"),add_item:a("Add Item","webinane-commerce"),select_product:a("Select Product","webinane-commerce"),refund:a("Refund","webinane-commerce"),to_edit_this_order:a('to edit this order change the status back to "pending"',"webinane-commerce"),order_not_editable:a("This order is no longer editable.","webinane-commerce"),general:a("General","webinane-commerce"),date_created:a("Date Created","webinane-commerce"),status:a("Status","webinane-commerce"),customer:a("Customer","webinane-commerce"),choose_an_action:a("Choose an Action","webinane-commerce"),send_inv_via_email:a("Send Invoice via Email","webinane-commerce"),email_new_order_notif:a("Email new Order Notification","webinane-commerce"),update:a("Update","webinane-commerce"),transaction_id:a("Transaction ID","webinane-commerce"),currency:a("Currency","webinane-commerce"),gateway:a("Gateway","webinane-commerce"),order_total:a("Order Total","webinane-commerce"),order_fee:a("Order Fee","webinane-commerce"),billing:a("Billing","webinane-commerce"),load_billing_add:a("Load Billing Address","webinane-commerce"),name:a("Name","webinane-commerce"),company:a("Company","webinane-commerce"),email_id:a("Email ID","webinane-commerce"),phone:a("Phone","webinane-commerce"),address:a("Address","webinane-commerce"),address_2:a("Address 2","webinane-commerce"),zip:a("ZIP","webinane-commerce"),country:a("Country","webinane-commerce"),state:a("State","webinane-commerce"),please_choose_customer_to_load_data:a("Please choose the customer to load data","webinane-commerce"),shipping:a("Shipping","webinane-commerce"),load_shipping_add:a("Load Shipping Address","webinane-commerce"),copy_billing_add:a("Copy Billing Address","webinane-commerce"),order_notes:a("Order Notes","webinane-commerce"),add_note:a("Add Note","webinane-commerce"),customer_note:a("Customer Note","webinane-commerce"),private_note:a("Private Note","webinane-commerce"),processing:a("Processing","webinane-commerce"),payment_method:a("Payment Method","webinane-commerce"),pending_payment:a("Pending Payment","webinane-commerce"),hold:a("Hold","webinane-commerce"),completed:a("Completed","webinane-commerce"),cancelled:a("Cancelled","webinane-commerce"),refunded:a("Refunded","webinane-commerce"),failed:a("Failed","webinane-commerce"),success:a("Success","webinane-commerce"),error:a("Error","webinane-commerce"),ok:a("OK","webinane-commerce"),cancel:a("Cancel","webinane-commerce"),order_del_success_ful:a("Order deleted successfully","webinane-commerce"),delete_canceled:a("Delete canceled","webinane-commerce"),sure_remove_item_from_order:a("Are you sure to remove the item from Order?","webinane-commerce"),sure_remove_customer:a("Are you sure to remove Customer?","webinane-commerce"),sure_want_del_order:a("Are you sure, you want to delete this order ?","webinane-commerce"),please_enter_note:a("Please enter note","webinane-commerce"),sure_remove_note:a("Are you sure to remove note?","webinane-commerce"),ship_data_loaded:a("Shipping data loaded","webinane-commerce"),overwrite_ship_info:a("Are you sure? It will overwrite your shipping info","webinane-commerce"),add_new_item:a("Add New Item","webinane-commerce"),add_new:a("Add New","webinane-commerce"),pick_date:a("Pick a date","webinane-commerce"),order_status:a("Order Status","webinane-commerce"),first_name:a("First Name","webinane-commerce"),last_name:a("Last Name","webinane-commerce"),submit:a("Submit","webinane-commerce"),email:a("Email","webinane-commerce"),users:a("Users","webinane-commerce"),edit:a("Edit","webinane-commerce"),contact:a("Contact","webinane-commerce"),users_search_keyword:a("Type keyword to search users","webinane-commerce"),sure_to_give_refund:a("Are you sure that you want to give refund? this action will not undo.","webinane-commerce")}),r=function(e){e.prototype.$webinane_i18n=i};"undefined"!=typeof window&&window.Vue&&r(window.Vue),t.a={install:r}},,,,,function(e,t,n){var o=n(35);"string"==typeof o&&(o=[[e.i,o,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(3)(o,a);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(37);"string"==typeof o&&(o=[[e.i,o,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(3)(o,a);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(39);"string"==typeof o&&(o=[[e.i,o,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(3)(o,a);o.locals&&(e.exports=o.locals)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var a,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(a=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:o+i.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")}))}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(42)},function(e,t,n){"use strict";var o=n(9);n.n(o).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'#wpcm-admin-live-connect .price {\n font-size: 20px;\n font-weight: bold;\n}\n#wpcm-admin-live-connect .bottom {\n margin-top: 13px;\n line-height: 12px;\n}\n#wpcm-admin-live-connect .button {\n float: right;\n}\n#wpcm-admin-live-connect .image {\n width: 100%;\n display: block;\n height: auto;\n}\n#wpcm-admin-live-connect .clearfix:before,\n#wpcm-admin-live-connect .clearfix:after {\n display: table;\n content: "";\n}\n#wpcm-admin-live-connect .clearfix:after {\n clear: both;\n}',""])},function(e,t,n){"use strict";var o=n(10);n.n(o).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,".wpcm-settings-editor {\n margin-top: 20px;\n}",""])},function(e,t,n){"use strict";var o=n(11);n.n(o).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'.wpcm-dashboard-wrapper {\n box-shadow: 0 0 57px rgba(0, 0, 0, 0.09);\n}\n.wpcm-dashboard-wrapper .el-switch {\n position: relative;\n margin-bottom: 10px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__core {\n height: 40px;\n width: 95px !important;\n box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);\n border-radius: 60px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__core::after {\n height: 36px;\n width: 36px;\n box-shadow: 3px 4px 15px 0px rgba(0, 0, 0, 0.25);\n}\n.wpcm-dashboard-wrapper .el-switch.is-checked .el-switch__core {\n background-color: #2f88e4;\n background-image: linear-gradient(#2f88e4, #2874df);\n border-color: #2f88e4;\n}\n.wpcm-dashboard-wrapper .el-switch.is-checked .el-switch__core::after {\n margin-left: -37px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label {\n font-size: 13px;\n color: #fff;\n position: absolute;\n left: 50%;\n margin-right: 0;\n z-index: 1;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--left {\n margin-left: -4px;\n opacity: 0;\n visibility: hidden;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--left.is-active {\n opacity: 1;\n visibility: visible;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--right {\n margin-left: -16px;\n opacity: 0;\n visibility: hidden;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--right.is-active {\n opacity: 1;\n visibility: visible;\n}\n.wpcm-dashboard-wrapper .tab-heading {\n font-size: 40px;\n color: #000000;\n font-weight: 700;\n position: relative;\n padding-bottom: 8px;\n margin-bottom: 20px;\n}\n.wpcm-dashboard-wrapper .tab-heading:before {\n content: "";\n height: 2px;\n width: 40px;\n background-color: #2b7de1;\n position: absolute;\n left: 0;\n bottom: 0;\n}\n.wpcm-dashboard-wrapper .save-settings {\n text-align: center;\n background-color: #fbfbfb;\n padding: 25px;\n position: -webkit-sticky;\n position: sticky;\n width: 100%;\n left: 0;\n bottom: 0;\n z-index: 30;\n}\n.wpcm-dashboard-wrapper .save-settings .el-button {\n font-size: 14px;\n font-weight: 600;\n color: #fff;\n padding: 20px 40px;\n border-radius: 2px;\n background-color: #2f88e4;\n background-image: linear-gradient(#2f88e4, #2874df);\n}\n.wpcm-dashboard-wrapper .enable-settings {\n padding-bottom: 30px;\n margin-bottom: 25px;\n border-bottom: 1px solid #ececec;\n margin-top: 30px;\n}\n.wpcm-dashboard-wrapper .enable-settings .enable-label {\n font-size: 16px;\n color: #666666;\n margin-right: 70px;\n}\n.wpcm-dashboard-wrapper .enable-settings .enable-desc {\n font-size: 14px;\n color: #999999;\n font-style: italic;\n margin-left: 15px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area {\n position: relative;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns {\n position: absolute;\n right: 22px;\n top: 36px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button {\n background-color: #354052;\n color: #fff;\n font-size: 20px;\n border: none;\n padding: 10px 12px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button:hover {\n background-color: #4385f5;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button + .el-button {\n margin-left: 5px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__label {\n color: #666666;\n font-weight: 500;\n line-height: normal;\n margin-bottom: 0;\n line-height: 58px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-input input {\n height: 58px;\n border-radius: 2px;\n border: 2px solid #e1e2e6;\n color: #999999;\n font-size: 14px;\n padding: 12px 15px;\n background-color: #fff;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-date-editor input {\n padding-left: 30px;\n padding-right: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content {\n line-height: normal;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-button.el-popover__reference {\n background-color: #c0c0c0;\n border: none;\n color: #fff;\n padding: 0;\n border-radius: 50%;\n height: 18px;\n width: 18px;\n line-height: 18px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select {\n width: 100%;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select .el-input__suffix {\n background-color: #f8f8f8;\n height: 34px;\n display: block;\n width: 32px;\n border-radius: 5px;\n right: 15px;\n border: 1px solid #ebebeb;\n top: 50%;\n margin-top: -17px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select .el-input__suffix .el-select__caret {\n color: #6a6a6a;\n line-height: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .wpcm-option-row {\n padding: 0;\n border: none;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-slider .el-slider__runway {\n margin: 32px 0 16px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list {\n box-shadow: none;\n border: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__nav-wrap {\n background-color: #011025;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item {\n height: auto;\n border: none;\n border-right: 1px solid #2b3648;\n padding: 28px 34px !important;\n text-align: center;\n line-height: normal;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item.is-active {\n color: #fff;\n background-color: #4385f5;\n border-color: #4385f5;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item.is-active i {\n color: #fff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item span {\n font-size: 14px;\n color: #fff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item span i {\n display: block;\n color: #8494ad;\n font-size: 30px;\n margin-bottom: 10px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content {\n padding: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .el-tabs--border-card {\n border: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .el-tabs__content {\n padding: 60px 22%;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content {\n padding: 60px 22%;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__content {\n padding: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav-wrap::after {\n display: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox {\n color: #333;\n font-weight: normal;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__label {\n font-size: 15px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input .el-checkbox__inner {\n border: 1px solid #d8d8d8;\n background-color: #f9f9f9;\n height: 20px;\n width: 20px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input .el-checkbox__inner::after {\n height: 10px;\n width: 6px;\n left: 6px;\n top: 2px;\n border: 2px solid #fff;\n border-left: 0;\n border-top: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input.is-checked .el-checkbox__inner {\n background-color: #409eff;\n border-color: #409eff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-tabs__active-bar {\n display: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content div .tab-heading {\n font-size: 28px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__content {\n padding: 50px 0 0 !important;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__nav-wrap {\n background-color: #f4f4f4;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item {\n height: auto;\n border: none;\n padding: 14px 34px !important;\n text-align: center;\n font-size: 14px;\n color: #000;\n position: relative;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item + .el-tabs__item:after {\n content: "";\n width: 1px;\n height: 13px;\n background-color: #bfbfbf;\n position: absolute;\n left: 0;\n top: 50%;\n margin-top: -6px;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item:hover {\n color: #2b7de1 !important;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item.is-active {\n background-color: #f4f4f4;\n color: #2b7de1;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header {\n background-color: #eaf1f6;\n padding: 24px 35px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header span {\n font-size: 22px;\n font-weight: 700;\n color: #000;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header .el-dialog__headerbtn {\n height: 34px;\n width: 34px;\n line-height: 38px;\n border-radius: 50%;\n background-color: #fff;\n text-align: center;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header .el-dialog__headerbtn .el-dialog__close {\n color: #000;\n font-size: 20px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__body {\n padding: 30px 35px;\n}\n.wpcm-dashboard-wrapper .import-modal .import-opt {\n margin-bottom: 30px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file > span {\n font-size: 14px;\n color: #000;\n display: block;\n padding-bottom: 22px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file .upload-demo .el-button {\n border-radius: 4px;\n border: 1px solid #d8d8d8;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.11);\n background-color: #fafafa;\n font-size: 13px;\n font-weight: 500;\n color: #000;\n padding: 14px 24px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file .upload-demo .el-upload__tip {\n font-size: 13px;\n color: #999999;\n margin-top: 12px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-input input {\n height: 58px;\n border-radius: 2px;\n border: 2px solid #e1e2e6;\n color: #999999;\n font-size: 14px;\n padding: 12px 15px;\n background-color: #fff;\n}\n.el-tooltip__popper.is-dark {\n border-radius: 30px;\n background-color: #ffffff;\n font-size: 12px;\n color: #000000;\n padding: 4px 15px;\n}\n.el-tooltip__popper.is-dark .popper__arrow {\n border-top-color: #ffffff;\n}\n.el-tooltip__popper.is-dark .popper__arrow:after {\n border-top-color: #ffffff;\n}',""])},,,function(e,t,n){"use strict";n.r(t);n(58);var o=n(4),a={props:{nonce:String,is_active:Boolean,active_plugins:Array,inst_plugins:Array},data:function(){return{form:{},items:[],user_items:[],loading:!1,loaded:!0}},mounted:function(){this.is_active&&this.getItems()},methods:{getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_get_items",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.items=t.data.items,e.user_items=t.data.user_items)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},login:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.$notify({type:"success",message:t.data.message,offset:40}),window.location=location.href)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},login_out:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_disconnect",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.$notify({type:"success",message:t.data.message,offset:40}),window.location=location.href)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},is_installed:function(e){var t=e+"/"+e+".php";return this.inst_plugins.indexOf(t)>=0},plugin_active:function(e){var t=e+"/"+e+".php";return this.active_plugins.indexOf(t)>=0},is_purchased:function(e){return this.user_items.indexOf(e)>=0},installPlugin:function(e){var t=this,n=jQuery;this.loading=!0,n.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_install_plugin",item:e,nonce:this.nonce},success:function(e){t.loading=!1,e.success?(t.$notify({type:"success",message:e.data.message,offset:40}),window.location=location.href):t.$notify({type:"error",message:e.data.message,offset:40})},error:function(e){t.$notify({type:"error",message:e.responseJSON.data.message,offset:40})},complete:function(e){t.loading=!1}})},activatePlugin:function(e){var t=this,n=jQuery;this.loading=!0,n.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_activate_plugin",item:e,nonce:this.nonce},success:function(e){t.loading=!1,e.success?(t.$notify({type:"success",message:e.data.message,offset:40}),window.location=location.href):t.$notify({type:"error",message:e.data.message,offset:40})},error:function(e){t.$notify({type:"error",message:e.responseJSON.data.message,offset:40})},complete:function(e){t.loading=!1}})}}},i=(n(34),n(0)),r=Object(i.a)(a,void 0,void 0,!1,null,null,null).exports,s={data:function(){return{value:"",id:""}},mounted:function(){var e=this;this.id=this._uid,setTimeout((function(){e.value=e.$attrs.value,e.editor()}),2e3)},methods:{editor:function(){var e=this;setTimeout((function(){wp.editor.remove(e.id);jQuery;var t=wp.editor.getDefaultSettings().tinymce;t.setup=function(t){t.on("keyup",(function(n){var o=t.getContent();o=o.replace(/\n/g,"<br>"),e.$emit("input",o),e.$emit("change",o)}))},wp.editor.initialize(e.id,{tinymce:t})}),500)},nl2br:function(e,t){return(e+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+(t||void 0===t?"<br />":"<br>")+"$2")},getValue:function(){}}},l=(n(36),Object(i.a)(s,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wpcm-settings-editor"},[t("textarea",{ref:"editor",attrs:{id:this.id,cols:"30",rows:"10"},domProps:{innerHTML:this._s(this.value)}})])}),[],!1,null,null,null).exports),c=window,d=c.ajaxurl,p=c.wpcm_data,u={props:{field:Object,options:Object},data:function(){return{value:"",attachment:{},loading:!1,is_done:!1}},computed:{fieldModel:{get:function(){return 2},set:function(e){}}},watch:{options:function(e,t){_.size(e)>0&&0==this.is_done&&this.getMedia()}},mounted:function(){this.fieldModel>0&&this.getMedia()},methods:{getValue:function(){return this.value?this.value:this.field.default?this.field.default:""},getMedia:function(){var e=this,t=void 0!==d?d:"";if(null!=t&&t||(t=void 0!==p?p.ajaxurl:""),_.size(this.options)>0){var n=jQuery,o=this;o.loading=!0,n.ajax({url:t,type:"post",data:{action:"get-attachment",id:o.fieldModel},success:function(e){!0===e.success&&(o.attachment=e.data)},complete:function(t){o.loading=!1,e.is_done=!0}})}},getClass:function(){return"text_small"==this.field.type?"wpcm-field-input wpcm-col-lg-4 wpcm-col-md-12 wpcm-col-sm-12":"wpcm-field-input wpcm-col-lg-8 wpcm-col-md-12 wpcm-col-sm-12"},addMedia:function(e){var t=this,n=this,o=$(e.target);o.prev();return wp.media.editor.send.attachment=function(e,o){n.fieldModel=o.id,n.attachment=o,t.$emit("input",o.id)},wp.media.editor.open(o),!1},btnText:function(){return this.attachment.sizes?this.field.options.update:this.field.options.new}}},m=Object(i.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldModel,expression:"fieldModel"}],attrs:{type:"hidden"},domProps:{value:e.fieldModel},on:{input:function(t){t.target.composing||(e.fieldModel=t.target.value)}}}),e._v(" "),e.attachment.sizes?n("div",{staticClass:"image"},[n("img",{attrs:{src:e.attachment.sizes.thumbnail.url,alt:e.attachment.title}})]):e._e(),e._v(" "),n("a",{staticClass:"button wpcm-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addMedia(t)}}},[e._v("\n\t\t\tAdd Media \n\t\t\t"),e.loading?n("i",{staticClass:"fa fa-refresh fa-spin"}):e._e()])])])}),[],!1,null,null,null).exports,f={name:"gateway-fields",components:{Media:m,Editor:l},props:{fields:{type:Array,required:!0},values:{type:Object,default:function(){return{}}}},data:function(){return{form:{}}},watch:{values:function(e){var t=this;_.each(this.fields,(function(n){var o=void 0!==e[n.id]?e[n.id]:"";t.$set(t.form,n.id,o)}))}},mounted:function(){},methods:{handleChange:function(e){this.$emit("input",this.form)}}};function b(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var w={components:{GatewayFields:Object(i.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.fields?n("div",[n("el-form",{attrs:{model:e.form,"label-position":"left"}},[n("el-row",{attrs:{gutter:30}},[e._l(e.fields,(function(t){return[n("el-col",{attrs:{span:24}},["gateway_tab"!=t.type?n("el-form-item",{attrs:{label:t.label,"label-width":"30%"}},[n(t.type,e._b({tag:"component",on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[field.id]"}},"component",t.props,!1),[e._l(t.options,(function(o,a){return"el-select"==t.type?n("el-option",{key:a,attrs:{label:o,value:a}},[e._v(e._s(o))]):e._e()})),e._v(" "),e._l(t.options,(function(o,a){return"el-radio-group"==t.type?n("el-radio",{key:a,attrs:{label:o}},[e._v(e._s(o))]):e._e()})),e._v(" "),e._l(t.options,(function(o,a){return"el-checkbox-group"==t.type?n("el-checkbox",{key:a,attrs:{label:o}},[e._v(e._s(o))]):e._e()}))],2)],1):e._e()],1),e._v(" "),"gateway_tab"==t.type?n("el-tabs",e._l(t.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-checkbox",{attrs:{label:t.label},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[g_tab.id]"}})],1),e._v(" "),n("PaymentGateways",{attrs:{gateway_data:t}})],1)})),1):e._e()]}))],2)],1)],1):e._e()}),[],!1,null,null,null).exports},props:{gateway_data:{type:Object,required:!0},values:{type:Object,default:function(){return{}}}},data:function(){return{form:{}}},created:function(){"object"==g(this.gateway_data.fields)&&(this.gateway_data.fields=Object.values(this.gateway_data.fields))},mounted:function(){var e=this;_.size(this.values)&&"string"==typeof this.values.sandbox&&(this.values.sandbox="false"!==this.values.sandbox);var t=!_.size(this.value)||b(this.value.sandbox);this.$set(this.form,"sandbox",t),setTimeout((function(){e.setValuesOnLoad()}),300)},methods:{setValuesOnLoad:function(){var e=this;console.log(this.values),_.each(this.values,(function(t,n){e.form[n]=t}))},handleChange:function(e){var t=_.extend(this.form,e);this.$emit("input",t,this.gateway_data.id)}}},v=Object(i.a)(w,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h2",{staticClass:"tab-heading"},[e._v(e._s(e.gateway_data.heading))]),e._v(" "),e.gateway_data.has_sandbox?n("div",{staticClass:"enable-settings"},[n("span",{staticClass:"enable-label"},[e._v("Sandbox")]),e._v(" "),n("el-switch",{attrs:{"active-text":"ON","inactive-text":"OFF"},on:{change:e.handleChange},model:{value:e.form.sandbox,callback:function(t){e.$set(e.form,"sandbox",t)},expression:"form.sandbox"}}),e._v(" "),e.gateway_data.sandbox_help?n("span",{staticClass:"enable-desc"},[e._v(e._s(e.gateway_data.sandbox_help))]):e._e()],1):e._e(),e._v(" "),n("gateway-fields",{attrs:{fields:e.gateway_data.fields,values:e.values},on:{input:e.handleChange}})],1)}),[],!1,null,null,null).exports,y=n(1),x={mixins:[y.a],props:["value"],data:function(){return{address:{country:"",city:"",state:""},countries:[],states:[],loading:!1}},computed:{},watch:{value:function(e){this.address=e,this.getStates()}},mounted:function(){this.getCountries()},methods:{onChange:function(e){this.$emit("input",this.address),this.$emit("change",this.address),this.getStates()},getCountries:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:"https://raw.githubusercontent.com/wowthemes/countries/master/src/data/countries/default/_countries.json",type:"get",dataType:"json",success:function(t){e.countries=[],_.each(t,(function(t,n){e.countries.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})},getStates:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:wpApiSettings.root+"webinane-commerce/v1/countries/"+this.address.country+"/states",type:"get",dataType:"json",success:function(t){e.states=[],_.each(t.states,(function(t,n){e.states.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})}}},k=Object(i.a)(x,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:24}},[n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select Country",remote:"","remote-method":e.getCountries,filterable:"",loading:e.loading,size:"large","loading-text":"Loading..."},on:{change:e.onChange},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}},"el-select",e.$attrs,!1),[e.countries?e._l(e.countries,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)],1),e._v(" "),n("el-col",{staticClass:"mt-3",attrs:{span:24}},[n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select States",remote:"","remote-method":e.getStates,filterable:"",loading:e.loading,size:"large","loading-text":"Loading..."},on:{change:function(t){return e.$emit("input",e.address)}},model:{value:e.address.state,callback:function(t){e.$set(e.address,"state",t)},expression:"address.state"}},"el-select",e.$attrs,!1),[e.states?e._l(e.states,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)],1)],1)}),[],!1,null,null,null).exports,C={mixins:[y.a],props:{},data:function(){return{address:{country:"",city:"",state:""},items:[],loading:!1}},computed:{},watch:{},mounted:function(){this.address=this.$attrs.value?$this.attrs.value:{},this.getItems()},methods:{onChange:function(e){this.$emit("input",this.address)},getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:"https://raw.githubusercontent.com/wowthemes/countries/master/src/data/countries/default/_countries.json",type:"get",dataType:"json",success:function(t){e.items=[],_.each(t,(function(t,n){e.items.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})}}},j={props:["values","value"],data:function(){return{form:[""],isVisible:!1,fieldSize:[]}},watch:{form:function(e){this.$emit("input",e),this.$emit("change",e)}},computed:{},mounted:function(){var e=this;setTimeout((function(){_.isArray(e.value)&&(e.form=e.value)}),200)},methods:{handleAdd:function(){this.form.push("")},handleRemove:function(e){var t=_.reject(this.form,(function(t,n){return e===n}));this.form=t}}},S={props:["content"]},O={name:"Fields",components:{PaymentGateways:v,Media:m,Editor:l,Country:k,State:Object(i.a)(C,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select Country",remote:"","remote-method":e.getItems,filterable:"",loading:e.loading,size:"large","loading-text":"Loading..."},on:{change:e.onChange},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}},"el-select",e.$attrs,!1),[e.items?e._l(e.items,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)}),[],!1,null,null,null).exports,MultiText:Object(i.a)(j,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.form,(function(t,o){return n("div",{key:o},[n("el-input",{staticClass:"mb-2",model:{value:e.form[o],callback:function(t){e.$set(e.form,o,t)},expression:"form[index]"}},[n("el-button",{attrs:{slot:"append",type:"info",size:"mini",icon:"el-icon-plus"},on:{click:function(t){return e.handleAdd()}},slot:"append"}),e._v(" "),e.form.length>1?n("el-button",{attrs:{slot:"append",type:"danger",size:"mini",icon:"el-icon-close"},on:{click:function(t){return e.handleRemove(o)}},slot:"append"}):e._e()],1)],1)})),0)}),[],!1,null,null,null).exports,ElHeading:Object(i.a)(S,(function(){var e=this.$createElement;return(this._self._c||e)("h4",{domProps:{innerHTML:this._s(this.content)}})}),[],!1,null,null,null).exports},props:{fields:{type:Array,required:!0},values:Object},data:function(){return{form:{gateways:{}}}},mounted:function(){var e=this;setTimeout((function(){e.setDefaultValues(),e.setValuesToForm()}),100)},methods:{setValuesToForm:function(){var e=this;_.each(this.values,(function(t,n){e.$set(e.form,n,t)}))},setDefaultValues:function(){var e=this;_.each(this.fields,(function(t){var n=void 0!==e.values[t.id]?e.values[t.id]:t.default;e.fixElMultiSelect(t),t.id&&e.$set(e.form,t.id,n)}))},fixElMultiSelect:function(e){"el-select"==e.type&&e.props&&e.props.multiple&&!_.isArray(this.values[e.id])&&(this.values[e.id]=[])},handleChange:function(e){this.$emit("input",this.form)},handleGatewayChange:function(e,t){this.$set(this.form.gateways,t,e),this.$emit("input",this.form)},handleShow:function(e){var t=this;if(e.vshow){if(_.isArray(e.vshow)){var n=!1;return _.each(e.vshow,(function(e){n=t.form[e.key]==e.value})),n}return this.form[e.vshow.key]==e.vshow.value}return!0}}},A={components:{Editor:l,Fields:Object(i.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.fields?n("div",[n("el-form",{attrs:{model:e.form,"label-position":"left"}},[n("el-row",{attrs:{gutter:30}},[e._l(e.fields,(function(t){return[n("el-col",{directives:[{name:"show",rawName:"v-show",value:e.handleShow(t),expression:"handleShow(field)"}],attrs:{span:24}},[t.main_heading?n("h6",{staticClass:"mb-2",domProps:{innerHTML:e._s(t.main_heading)}}):e._e(),e._v(" "),"gateway_tab"!=t.type?n("el-form-item",{attrs:{label:t.label,"label-width":"30%"}},[n(t.type,e._b({ref:t.id,refInFor:!0,tag:"component",attrs:{name:t.id},on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[field.id]"}},"component",t.props,!1,!0),[e._l(t.options,(function(o,a){return"el-select"==t.type?n("el-option",{key:a,attrs:{label:o,value:a}},[e._v(e._s(o))]):e._e()})),e._v(" "),e._l(t.options,(function(o,a){return"el-radio-group"==t.type?n("el-radio",{key:a,attrs:{label:a,border:""}},[e._v(e._s(o))]):e._e()})),e._v(" "),e._l(t.options,(function(o,a){return"el-checkbox-group"==t.type?n("el-checkbox",{key:a,attrs:{label:o}},[e._v(e._s(o))]):e._e()}))],2),e._v(" "),t.help?n("p",{staticClass:"mt-1",style:{color:"#999"}},[n("em",{domProps:{innerHTML:e._s(t.help)}})]):e._e()],1):e._e()],1),e._v(" "),"gateway_tab"==t.type?n("el-tabs",e._l(t.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-checkbox",{on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[g_tab.id]"}}),n("label",[e._v(e._s(t.label))])],1),e._v(" "),n("PaymentGateways",{attrs:{gateway_data:t,values:e.form.gateways[t.id]},on:{input:e.handleGatewayChange}})],1)})),1):e._e()]}))],2)],1)],1):e._e()}),[],!1,null,null,null).exports},data:function(){return{tabs:[],values:{},form:{},dialogVisible:!1,import_radio:3,import_input:"",loading:!1,dialog_loading:!1}},mounted:function(){this.getData()},methods:{handleClose:function(e){this.$confirm("Are you sure to close this dialog?").then((function(t){e()})).catch((function(e){}))},getData:function(){var e=this;this.loading=!0,$.ajax({url:ajaxurl,type:"post",dataType:"json",data:{action:"_wpcommerce_admin_settings",subaction:"fields_data",nonce:wpApiSettings.nonce},success:function(t){void 0===t.options.gateways&&(t.options.gateways={}),_.isArray(t.options.gateways)&&(t.options.gateways={}),e.tabs=t.data,e.values=t.options},complete:function(t){e.loading=!1}})},setValues:function(e){this.form=e},saveChange:function(){var e=this;this.form,wpApiSettings.nonce;this.loading=!0,$.ajax({url:ajaxurl+"?action=_wpcommerce_admin_settings",type:"post",dataType:"json",data:{action:"_wpcommerce_admin_settings",subaction:"save_data",data:JSON.stringify(this.form),nonce:wpApiSettings.nonce},success:function(t){e.$notify.success({title:"Success",message:t.message,offset:33})},error:function(t){e.$notify.error({title:"Error",message:t,offset:33})},complete:function(){e.loading=!1}})},exportSettings:function(){var e=this;this.loading=!0,jQuery.ajax({url:ajaxurl,type:"post",data:{action:"_wpcommerce_admin_settings",subaction:"export_settings",nonce:wpApiSettings.nonce},success:function(t,n,o){e.loading=!1;var a="",i=o.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var r=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=r&&r[1]&&(a=r[1].replace(/['"]/g,""))}var s=o.getResponseHeader("Content-Type"),l=new Blob([t],{type:s});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,a);else{var c=window.URL||window.webkitURL,d=c.createObjectURL(l);if(a){var p=document.createElement("a");void 0===p.download?window.location=d:(p.href=d,p.download=a,document.body.appendChild(p),p.click())}else window.location=d;setTimeout((function(){c.revokeObjectURL(d)}),100)}},error:function(t){e.loading=!1,e.$notify.error({title:"Error",message:t.statusText,offset:30})}})},importSettings:function(){var e=this,t=jQuery;this.$confirm("This will permanently overwite all settings. Continue?","Warning",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((function(){if(e.loading=!0,e.dialog_loading=!0,3===e.import_radio&&(e.import_input=e.$refs.upload.uploadFiles[0].raw),9===e.import_radio)try{e.import_input=JSON.parse(e.import_input)}catch(t){e.$notify.error({title:"Error",message:"Invalid input data"})}var n=new FormData;n.append("file",e.import_input),n.append("input_type",e.import_radio),n.append("action","_wpcommerce_admin_settings"),n.append("subaction","import_settings"),n.append("nonce",wpApiSettings.nonce),t.ajax({url:ajaxurl,type:"post",data:n,processData:!1,contentType:!1,success:function(t,n,o){e.loading=!1;var a=0==t.success?"error":"success";e.$notify({type:a,title:a,message:t.data,offset:30}),t.success&&(window.location=window.location)},error:function(t){e.$notify.error({title:"Error",message:t.statusText,offset:30})},complete:function(t){e.loading=!1,e.dialog_loading=!1}})})).catch((function(){e.loading=!1,e.dialog_loading=!1,e.$message({type:"info",message:"canceled"})}))}}},E=(n(38),Object(i.a)(A,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:{position:"relative"}},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"settings-tab-area"},[e.tabs&&e.values?n("el-tabs",{staticClass:"main-tabs-list",attrs:{type:"border-card"}},e._l(e.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[t.icon?n("i",{class:t.icon}):e._e(),e._v(" "+e._s(t.title))]),e._v(" "),t.children?n("el-tabs",{staticClass:"child-tabs-list",attrs:{type:"border-card"}},e._l(t.children,(function(t){return n("el-tab-pane",{key:t.id,attrs:{label:t.title}},[t.heading?n("h2",{staticClass:"tab-heading"},[e._v("\n "+e._s(t.heading)+"\n ")]):e._e(),e._v(" "),n("fields",{attrs:{fields:t.fields,values:e.values},on:{input:e.setValues}})],1)})),1):n("div",{staticClass:"settings-tab-content"},[t.heading?n("h2",{staticClass:"tab-heading"},[e._v(e._s(t.heading))]):e._e(),e._v(" "),n("Fields",{attrs:{fields:t.fields,values:e.values},on:{input:e.setValues}})],1)],1)})),1):e._e(),e._v(" "),n("div",{staticClass:"import-export-btns"},[n("el-tooltip",{staticClass:"item",attrs:{content:"Export Settings",placement:"top"}},[n("el-button",{attrs:{icon:"el-icon-upload2"},on:{click:function(t){return e.exportSettings()}}})],1),e._v(" "),n("el-tooltip",{staticClass:"item",attrs:{content:"Import Settings",placement:"top"}},[n("el-button",{attrs:{icon:"el-icon-download"},on:{click:function(t){e.dialogVisible=!0}}})],1),e._v(" "),n("el-dialog",{staticClass:"import-modal",attrs:{title:"IMPORT SETTINGS",visible:e.dialogVisible,width:"30%","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"import-opt"},[n("el-radio-group",{model:{value:e.import_radio,callback:function(t){e.import_radio=t},expression:"import_radio"}},[n("el-radio",{attrs:{label:3}},[e._v("From File")]),e._v(" "),n("el-radio",{attrs:{label:6}},[e._v("From URL")]),e._v(" "),n("el-radio",{attrs:{label:9}},[e._v("Paste Content")])],1)],1),e._v(" "),3===e.import_radio?n("div",{staticClass:"chose-import-file"},[n("span",[e._v("Choose the import file")]),e._v(" "),n("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{accept:"application/json",action:"https://jsonplaceholder.typicode.com/posts/","auto-upload":!1}},[n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("\n Please Select a .json file.\n ")]),e._v(" "),n("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("Choose file")])],1)],1):6===e.import_radio?n("div",{staticClass:"url-import"},[n("el-input",{attrs:{placeholder:"Please URL"},model:{value:e.import_input,callback:function(t){e.import_input=t},expression:"import_input"}})],1):n("div",{staticClass:"paste-content-import"},[n("el-input",{attrs:{placehoder:"Please paste content here",type:"textarea",rows:"5"},model:{value:e.import_input,callback:function(t){e.import_input=t},expression:"import_input"}})],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("Cancel")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.importSettings()}}},[e._v("Import")])],1)])],1)],1),e._v(" "),n("div",{staticClass:"save-settings"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.saveChange()}}},[e._v("SAVE CHANGES")])],1)])}),[],!1,null,null,null).exports),T=window.ELEMENT;if(T.locale(window.ELEMENT.lang.en),window.$=jQuery,Vue.use(T),Vue.use(o.a),document.querySelector(".wpcm-settings-wrapper"))new Vue({components:{Settings:E},el:".wpcm-settings-wrapper",data:{},computed:{},mounted:function(){},methods:{}});document.getElementById("wpcm-admin-live-connect")&&new Vue({el:"#wpcm-admin-live-connect",components:{Connect:r}})},,,,,,,,,,,,,,,,function(e,t){}]);1 !function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=33)}([function(e,t,n){"use strict";function a(e,t,n,a,o,i,r,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),a&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=wp.i18n,o=(a.__,a.setLocaleData,{data:function(){return{isVisible:!1}},methods:{checkIsVisible:function(){this.$root.dep_fields;if(_.size(this.$root.dep_fields))return void 0!==this.$root.dep_fields[this.field.id]?!0===this.$root.dep_fields[this.field.id]?void(this.isVisible=!0):void(this.isVisible=!1):void(this.isVisible=!0);this.isVisible=!0}}})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",a=e[3];if(!a)return n;if(t&&"function"==typeof btoa){var o=(r=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),i=a.sources.map((function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"}));return[n].concat(i).concat([o]).join("\n")}var r;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(a[i]=!0)}for(o=0;o<e.length;o++){var r=e[o];"number"==typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),t.push(r))}},t}},function(e,t,n){var a,o,i={},r=(a=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=a.apply(this,arguments)),o}),s=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var a=s.call(this,e,n);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}t[e]=a}return t[e]}}(),c=null,d=0,p=[],u=n(12);function m(e,t){for(var n=0;n<e.length;n++){var a=e[n],o=i[a.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](a.parts[r]);for(;r<a.parts.length;r++)o.parts.push(g(a.parts[r],t))}else{var s=[];for(r=0;r<a.parts.length;r++)s.push(g(a.parts[r],t));i[a.id]={id:a.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],a={},o=0;o<e.length;o++){var i=e[o],r=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};a[r]?a[r].parts.push(s):n.push(a[r]={id:r,parts:[s]})}return n}function b(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var a=p[p.length-1];if("top"===e.insertAt)a?a.nextSibling?n.insertBefore(t,a.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),p.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertAt.before,n);n.insertBefore(t,o)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=p.indexOf(e);t>=0&&p.splice(t,1)}function _(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var a=function(){0;return n.nc}();a&&(e.attrs.nonce=a)}return w(t,e.attrs),b(e,t),t}function w(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function g(e,t){var n,a,o,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var r=d++;n=c||(c=_(t)),a=x.bind(null,n,r,!1),o=x.bind(null,n,r,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",w(t,e.attrs),b(e,t),t}(t),a=k.bind(null,n,t),o=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=_(t),a=C.bind(null,n),o=function(){h(n)});return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return m(n,t),function(e){for(var a=[],o=0;o<n.length;o++){var r=n[o];(s=i[r.id]).refs--,a.push(s)}e&&m(f(e,t),t);for(o=0;o<a.length;o++){var s;if(0===(s=a[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var v,y=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function x(e,t,n,a){var o=n?"":a.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(i,r[t]):e.appendChild(i)}}function C(e,t){var n=t.css,a=t.media;if(a&&e.setAttribute("media",a),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function k(e,t,n){var a=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(a=u(a)),o&&(a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([a],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(r),s&&URL.revokeObjectURL(s)}},function(e,t,n){"use strict";var a=wp.i18n,o=a.__,i=(a.setLocaleData,{id:o("id","webinane-commerce"),my:o("My","webinane-commerce"),my_methodes:o("My Used Payment Methods","webinane-commerce"),amount:o("Amount","webinane-commerce"),date:o("Date","webinane-commerce"),recurring:o("Recurring","webinane-commerce"),full_name:o("Full Name","webinane-commerce"),items:o("Items","webinane-commerce"),cost:o("Cost","webinane-commerce"),qty:o("Qty","webinane-commerce"),total:o("Total","webinane-commerce"),action:o("Action","webinane-commerce"),subtotal:o("Sub Total","webinane-commerce"),price:o("Price","webinane-commerce"),add_item:o("Add Item","webinane-commerce"),select_product:o("Select Product","webinane-commerce"),refund:o("Refund","webinane-commerce"),to_edit_this_order:o('to edit this order change the status back to "pending"',"webinane-commerce"),order_not_editable:o("This order is no longer editable.","webinane-commerce"),general:o("General","webinane-commerce"),date_created:o("Date Created","webinane-commerce"),status:o("Status","webinane-commerce"),customer:o("Customer","webinane-commerce"),choose_an_action:o("Choose an Action","webinane-commerce"),send_inv_via_email:o("Send Invoice via Email","webinane-commerce"),email_new_order_notif:o("Email new Order Notification","webinane-commerce"),update:o("Update","webinane-commerce"),transaction_id:o("Transaction ID","webinane-commerce"),currency:o("Currency","webinane-commerce"),gateway:o("Gateway","webinane-commerce"),order_total:o("Order Total","webinane-commerce"),order_fee:o("Order Fee","webinane-commerce"),billing:o("Billing","webinane-commerce"),load_billing_add:o("Load Billing Address","webinane-commerce"),name:o("Name","webinane-commerce"),company:o("Company","webinane-commerce"),email_id:o("Email ID","webinane-commerce"),phone:o("Phone","webinane-commerce"),address:o("Address","webinane-commerce"),address_2:o("Address 2","webinane-commerce"),zip:o("ZIP","webinane-commerce"),country:o("Country","webinane-commerce"),state:o("State","webinane-commerce"),please_choose_customer_to_load_data:o("Please choose the customer to load data","webinane-commerce"),shipping:o("Shipping","webinane-commerce"),load_shipping_add:o("Load Shipping Address","webinane-commerce"),copy_billing_add:o("Copy Billing Address","webinane-commerce"),order_notes:o("Order Notes","webinane-commerce"),add_note:o("Add Note","webinane-commerce"),customer_note:o("Customer Note","webinane-commerce"),private_note:o("Private Note","webinane-commerce"),processing:o("Processing","webinane-commerce"),payment_method:o("Payment Method","webinane-commerce"),pending_payment:o("Pending Payment","webinane-commerce"),hold:o("Hold","webinane-commerce"),completed:o("Completed","webinane-commerce"),cancelled:o("Cancelled","webinane-commerce"),refunded:o("Refunded","webinane-commerce"),failed:o("Failed","webinane-commerce"),success:o("Success","webinane-commerce"),error:o("Error","webinane-commerce"),ok:o("OK","webinane-commerce"),cancel:o("Cancel","webinane-commerce"),order_del_success_ful:o("Order deleted successfully","webinane-commerce"),delete_canceled:o("Delete canceled","webinane-commerce"),sure_remove_item_from_order:o("Are you sure to remove the item from Order?","webinane-commerce"),sure_remove_customer:o("Are you sure to remove Customer?","webinane-commerce"),sure_want_del_order:o("Are you sure, you want to delete this order ?","webinane-commerce"),please_enter_note:o("Please enter note","webinane-commerce"),sure_remove_note:o("Are you sure to remove note?","webinane-commerce"),ship_data_loaded:o("Shipping data loaded","webinane-commerce"),overwrite_ship_info:o("Are you sure? It will overwrite your shipping info","webinane-commerce"),add_new_item:o("Add New Item","webinane-commerce"),add_new:o("Add New","webinane-commerce"),pick_date:o("Pick a date","webinane-commerce"),order_status:o("Order Status","webinane-commerce"),first_name:o("First Name","webinane-commerce"),last_name:o("Last Name","webinane-commerce"),submit:o("Submit","webinane-commerce"),email:o("Email","webinane-commerce"),users:o("Users","webinane-commerce"),edit:o("Edit","webinane-commerce"),contact:o("Contact","webinane-commerce"),users_search_keyword:o("Type keyword to search users","webinane-commerce"),sure_to_give_refund:o("Are you sure that you want to give refund? this action will not undo.","webinane-commerce")}),r=function(e){e.prototype.$webinane_i18n=i};"undefined"!=typeof window&&window.Vue&&r(window.Vue),t.a={install:r}},,,,,function(e,t,n){var a=n(35);"string"==typeof a&&(a=[[e.i,a,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(3)(a,o);a.locals&&(e.exports=a.locals)},function(e,t,n){var a=n(37);"string"==typeof a&&(a=[[e.i,a,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(3)(a,o);a.locals&&(e.exports=a.locals)},function(e,t,n){var a=n(39);"string"==typeof a&&(a=[[e.i,a,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(3)(a,o);a.locals&&(e.exports=a.locals)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,a=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:a+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(42)},function(e,t,n){"use strict";var a=n(9);n.n(a).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'#wpcm-admin-live-connect .price {\n font-size: 20px;\n font-weight: bold;\n}\n#wpcm-admin-live-connect .bottom {\n margin-top: 13px;\n line-height: 12px;\n}\n#wpcm-admin-live-connect .button {\n float: right;\n}\n#wpcm-admin-live-connect .image {\n width: 100%;\n display: block;\n height: auto;\n}\n#wpcm-admin-live-connect .clearfix:before,\n#wpcm-admin-live-connect .clearfix:after {\n display: table;\n content: "";\n}\n#wpcm-admin-live-connect .clearfix:after {\n clear: both;\n}',""])},function(e,t,n){"use strict";var a=n(10);n.n(a).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,".wpcm-settings-editor {\n margin-top: 20px;\n}",""])},function(e,t,n){"use strict";var a=n(11);n.n(a).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'.wpcm-dashboard-wrapper {\n box-shadow: 0 0 57px rgba(0, 0, 0, 0.09);\n}\n.wpcm-dashboard-wrapper .el-switch {\n position: relative;\n margin-bottom: 10px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__core {\n height: 40px;\n width: 95px !important;\n box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);\n border-radius: 60px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__core::after {\n height: 36px;\n width: 36px;\n box-shadow: 3px 4px 15px 0px rgba(0, 0, 0, 0.25);\n}\n.wpcm-dashboard-wrapper .el-switch.is-checked .el-switch__core {\n background-color: #2f88e4;\n background-image: linear-gradient(#2f88e4, #2874df);\n border-color: #2f88e4;\n}\n.wpcm-dashboard-wrapper .el-switch.is-checked .el-switch__core::after {\n margin-left: -37px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label {\n font-size: 13px;\n color: #fff;\n position: absolute;\n left: 50%;\n margin-right: 0;\n z-index: 1;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--left {\n margin-left: -4px;\n opacity: 0;\n visibility: hidden;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--left.is-active {\n opacity: 1;\n visibility: visible;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--right {\n margin-left: -25px;\n opacity: 0;\n visibility: hidden;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--right.is-active {\n opacity: 1;\n visibility: visible;\n}\n.wpcm-dashboard-wrapper .tab-heading {\n font-size: 40px;\n color: #000000;\n font-weight: 700;\n position: relative;\n padding-bottom: 8px;\n margin-bottom: 20px;\n}\n.wpcm-dashboard-wrapper .tab-heading:before {\n content: "";\n height: 2px;\n width: 40px;\n background-color: #2b7de1;\n position: absolute;\n left: 0;\n bottom: 0;\n}\n.wpcm-dashboard-wrapper .save-settings {\n text-align: center;\n background-color: #fbfbfb;\n padding: 25px;\n position: -webkit-sticky;\n position: sticky;\n width: 100%;\n left: 0;\n bottom: 0;\n z-index: 30;\n}\n.wpcm-dashboard-wrapper .save-settings .el-button {\n font-size: 14px;\n font-weight: 600;\n color: #fff;\n padding: 20px 40px;\n border-radius: 2px;\n background-color: #2f88e4;\n background-image: linear-gradient(#2f88e4, #2874df);\n}\n.wpcm-dashboard-wrapper .enable-settings {\n padding-bottom: 30px;\n margin-bottom: 25px;\n border-bottom: 1px solid #ececec;\n margin-top: 30px;\n}\n.wpcm-dashboard-wrapper .enable-settings .enable-label {\n font-size: 16px;\n color: #666666;\n margin-right: 70px;\n}\n.wpcm-dashboard-wrapper .enable-settings .enable-desc {\n font-size: 14px;\n color: #999999;\n font-style: italic;\n margin-left: 15px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area {\n position: relative;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns {\n position: absolute;\n right: 22px;\n top: 36px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button {\n background-color: #354052;\n color: #fff;\n font-size: 20px;\n border: none;\n padding: 10px 12px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button:hover {\n background-color: #4385f5;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button + .el-button {\n margin-left: 5px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item {\n margin-bottom: 3rem;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__label {\n color: #666666;\n font-weight: 500;\n line-height: normal;\n margin-bottom: 0;\n line-height: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-input input {\n height: 58px;\n border-radius: 2px;\n border: 2px solid #e1e2e6;\n color: #999999;\n font-size: 14px;\n padding: 12px 15px;\n background-color: #fff;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-date-editor input {\n padding-left: 30px;\n padding-right: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content {\n line-height: normal;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-button.el-popover__reference {\n background-color: #c0c0c0;\n border: none;\n color: #fff;\n padding: 0;\n border-radius: 50%;\n height: 18px;\n width: 18px;\n line-height: 18px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select {\n width: 100%;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select .el-input__suffix {\n background-color: #f8f8f8;\n height: 34px;\n display: block;\n width: 32px;\n border-radius: 5px;\n right: 15px;\n border: 1px solid #ebebeb;\n top: 50%;\n margin-top: -17px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select .el-input__suffix .el-select__caret {\n color: #6a6a6a;\n line-height: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .wpcm-option-row {\n padding: 0;\n border: none;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-slider .el-slider__runway {\n margin: 32px 0 16px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list {\n box-shadow: none;\n border: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__nav-wrap {\n background-color: #011025;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item {\n height: auto;\n border: none;\n border-right: 1px solid #2b3648;\n padding: 28px 34px !important;\n text-align: center;\n line-height: normal;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item.is-active {\n color: #fff;\n background-color: #4385f5;\n border-color: #4385f5;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item.is-active i {\n color: #fff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item span {\n font-size: 14px;\n color: #fff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item span i {\n display: block;\n color: #8494ad;\n font-size: 30px;\n margin-bottom: 10px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content {\n padding: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .el-tabs--border-card {\n border: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .el-tabs__content {\n padding: 60px 22%;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content {\n padding: 60px 22%;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__content {\n padding: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav-wrap::after {\n display: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox {\n color: #333;\n font-weight: normal;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__label {\n font-size: 15px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input .el-checkbox__inner {\n border: 1px solid #d8d8d8;\n background-color: #f9f9f9;\n height: 20px;\n width: 20px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input .el-checkbox__inner::after {\n height: 10px;\n width: 6px;\n left: 6px;\n top: 2px;\n border: 2px solid #fff;\n border-left: 0;\n border-top: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input.is-checked .el-checkbox__inner {\n background-color: #409eff;\n border-color: #409eff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-tabs__active-bar {\n display: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content div .tab-heading {\n font-size: 28px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__content {\n padding: 50px 0 0 !important;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__nav-wrap {\n background-color: #f4f4f4;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item {\n height: auto;\n border: none;\n padding: 14px 34px !important;\n text-align: center;\n font-size: 14px;\n color: #000;\n position: relative;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item + .el-tabs__item:after {\n content: "";\n width: 1px;\n height: 13px;\n background-color: #bfbfbf;\n position: absolute;\n left: 0;\n top: 50%;\n margin-top: -6px;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item:hover {\n color: #2b7de1 !important;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item.is-active {\n background-color: #f4f4f4;\n color: #2b7de1;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header {\n background-color: #eaf1f6;\n padding: 24px 35px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header span {\n font-size: 22px;\n font-weight: 700;\n color: #000;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header .el-dialog__headerbtn {\n height: 34px;\n width: 34px;\n line-height: 38px;\n border-radius: 50%;\n background-color: #fff;\n text-align: center;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header .el-dialog__headerbtn .el-dialog__close {\n color: #000;\n font-size: 20px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__body {\n padding: 30px 35px;\n}\n.wpcm-dashboard-wrapper .import-modal .import-opt {\n margin-bottom: 30px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file > span {\n font-size: 14px;\n color: #000;\n display: block;\n padding-bottom: 22px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file .upload-demo .el-button {\n border-radius: 4px;\n border: 1px solid #d8d8d8;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.11);\n background-color: #fafafa;\n font-size: 13px;\n font-weight: 500;\n color: #000;\n padding: 14px 24px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file .upload-demo .el-upload__tip {\n font-size: 13px;\n color: #999999;\n margin-top: 12px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-input input {\n height: 58px;\n border-radius: 2px;\n border: 2px solid #e1e2e6;\n color: #999999;\n font-size: 14px;\n padding: 12px 15px;\n background-color: #fff;\n}\n.el-tooltip__popper.is-dark {\n border-radius: 30px;\n background-color: #ffffff;\n font-size: 12px;\n color: #000000;\n padding: 4px 15px;\n}\n.el-tooltip__popper.is-dark .popper__arrow {\n border-top-color: #ffffff;\n}\n.el-tooltip__popper.is-dark .popper__arrow:after {\n border-top-color: #ffffff;\n}',""])},,,function(e,t,n){"use strict";n.r(t);n(58);var a=n(4),o={props:{nonce:String,is_active:Boolean,active_plugins:Array,inst_plugins:Array},data:function(){return{form:{},items:[],user_items:[],loading:!1,loaded:!0}},mounted:function(){this.is_active&&this.getItems()},methods:{getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_get_items",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.items=t.data.items,e.user_items=t.data.user_items)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},login:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.$notify({type:"success",message:t.data.message,offset:40}),window.location=location.href)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},login_out:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_disconnect",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.$notify({type:"success",message:t.data.message,offset:40}),window.location=location.href)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},is_installed:function(e){var t=e+"/"+e+".php";return this.inst_plugins.indexOf(t)>=0},plugin_active:function(e){var t=e+"/"+e+".php";return this.active_plugins.indexOf(t)>=0},is_purchased:function(e){return this.user_items.indexOf(e)>=0},installPlugin:function(e){var t=this,n=jQuery;this.loading=!0,n.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_install_plugin",item:e,nonce:this.nonce},success:function(e){t.loading=!1,e.success?(t.$notify({type:"success",message:e.data.message,offset:40}),window.location=location.href):t.$notify({type:"error",message:e.data.message,offset:40})},error:function(e){t.$notify({type:"error",message:e.responseJSON.data.message,offset:40})},complete:function(e){t.loading=!1}})},activatePlugin:function(e){var t=this,n=jQuery;this.loading=!0,n.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_activate_plugin",item:e,nonce:this.nonce},success:function(e){t.loading=!1,e.success?(t.$notify({type:"success",message:e.data.message,offset:40}),window.location=location.href):t.$notify({type:"error",message:e.data.message,offset:40})},error:function(e){t.$notify({type:"error",message:e.responseJSON.data.message,offset:40})},complete:function(e){t.loading=!1}})}}},i=(n(34),n(0)),r=Object(i.a)(o,void 0,void 0,!1,null,null,null).exports,s={data:function(){return{value:"",id:""}},mounted:function(){var e=this;this.id=this._uid,setTimeout((function(){e.value=e.$attrs.value,e.editor()}),2e3)},methods:{editor:function(){var e=this;setTimeout((function(){wp.editor.remove(e.id);jQuery;var t=wp.editor.getDefaultSettings().tinymce;t.setup=function(t){t.on("keyup",(function(n){var a=t.getContent();a=a.replace(/\n/g,"<br>"),e.$emit("input",a),e.$emit("change",a)}))},wp.editor.initialize(e.id,{tinymce:t})}),500)},nl2br:function(e,t){return(e+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+(t||void 0===t?"<br />":"<br>")+"$2")},getValue:function(){}}},l=(n(36),Object(i.a)(s,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wpcm-settings-editor"},[t("textarea",{ref:"editor",attrs:{id:this.id,cols:"30",rows:"10"},domProps:{innerHTML:this._s(this.value)}})])}),[],!1,null,null,null).exports),c=window,d=c.ajaxurl,p=c.wpcm_data,u={props:{field:Object,options:Object,value:"",update_text:{required:!1,default:"Update Media"},add_text:{required:!1,default:"Add Media"}},data:function(){return{attachment:{},loading:!1,is_done:!1}},computed:{fieldModel:{get:function(){return 2},set:function(e){}}},watch:{value:function(e){this.getMedia()}},mounted:function(){this.value},methods:{getValue:function(){return this.value?this.value:this.field.default?this.field.default:""},getMedia:function(){var e=this,t=void 0!==d?d:"";if(null!=t&&t||(t=void 0!==p?p.ajaxurl:""),this.value>0){var n=jQuery,a=this;a.loading=!0,n.ajax({url:t,type:"post",data:{action:"get-attachment",id:a.value},success:function(e){!0===e.success&&(a.attachment=e.data)},complete:function(t){a.loading=!1,e.is_done=!0}})}},getClass:function(){return"text_small"==this.field.type?"wpcm-field-input wpcm-col-lg-4 wpcm-col-md-12 wpcm-col-sm-12":"wpcm-field-input wpcm-col-lg-8 wpcm-col-md-12 wpcm-col-sm-12"},addMedia:function(e){var t=this,n=this,a=$(e.target);a.prev();return wp.media.editor.send.attachment=function(e,a){n.fieldModel=a.id,n.attachment=a,t.$emit("input",a.id)},wp.media.editor.open(a),!1},btnText:function(){return this.attachment.sizes?this.update_text:this.add_text}}},m=Object(i.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldModel,expression:"fieldModel"}],attrs:{type:"hidden"},domProps:{value:e.fieldModel},on:{input:function(t){t.target.composing||(e.fieldModel=t.target.value)}}}),e._v(" "),e.attachment.sizes?n("div",{staticClass:"image"},[n("img",{attrs:{src:e.attachment.sizes.thumbnail.url,alt:e.attachment.title}})]):e._e(),e._v(" "),n("a",{staticClass:"button wpcm-btn mt-3",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addMedia(t)}}},[e._v("\n\t\t\t"+e._s(e.btnText())+"\n\t\t\t"),e.loading?n("i",{staticClass:"fa fa-refresh fa-spin"}):e._e()])])])}),[],!1,null,null,null).exports,f={name:"gateway-fields",components:{Media:m,Editor:l},props:{fields:{type:Array,required:!0},values:{type:Object,default:function(){return{}}}},data:function(){return{form:{}}},watch:{values:function(e){var t=this;_.each(this.fields,(function(n){var a=n.default?n.default:"",o=void 0!==e[n.id]?e[n.id]:a;t.$set(t.form,n.id,o)}))}},mounted:function(){},methods:{handleChange:function(e){this.$emit("input",this.form)}}};function b(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var g={components:{GatewayFields:Object(i.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.fields?n("div",[n("el-form",{attrs:{model:e.form,"label-position":"left"}},[n("el-row",{attrs:{gutter:30}},[e._l(e.fields,(function(t){return[n("el-col",{attrs:{span:24}},["gateway_tab"!=t.type?n("el-form-item",{attrs:{label:t.label,"label-width":"30%"}},[n(t.type,e._b({tag:"component",on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[field.id]"}},"component",t.props,!1),[e._l(t.options,(function(a,o){return"el-select"==t.type?n("el-option",{key:o,attrs:{label:a,value:o}},[e._v(e._s(a))]):e._e()})),e._v(" "),e._l(t.options,(function(a,o){return"el-radio-group"==t.type?n("el-radio",{key:o,attrs:{label:a}},[e._v(e._s(a))]):e._e()})),e._v(" "),e._l(t.options,(function(a,o){return"el-checkbox-group"==t.type?n("el-checkbox",{key:o,attrs:{label:a}},[e._v(e._s(a))]):e._e()}))],2)],1):e._e()],1),e._v(" "),"gateway_tab"==t.type?n("el-tabs",e._l(t.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-checkbox",{attrs:{label:t.label},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[g_tab.id]"}})],1),e._v(" "),n("PaymentGateways",{attrs:{gateway_data:t}})],1)})),1):e._e()]}))],2)],1)],1):e._e()}),[],!1,null,null,null).exports},props:{gateway_data:{type:Object,required:!0},values:{type:Object,default:function(){return{}}}},data:function(){return{form:{}}},created:function(){"object"==w(this.gateway_data.fields)&&(this.gateway_data.fields=Object.values(this.gateway_data.fields))},mounted:function(){var e=this;_.size(this.values)&&"string"==typeof this.values.sandbox&&(this.values.sandbox="false"!==this.values.sandbox);var t=!_.size(this.value)||b(this.value.sandbox);this.$set(this.form,"sandbox",t),setTimeout((function(){e.setValuesOnLoad()}),300)},methods:{setValuesOnLoad:function(){var e=this;_.each(this.values,(function(t,n){e.form[n]=t}))},handleChange:function(e){var t=_.extend(this.form,e);this.$emit("input",t,this.gateway_data.id)}}},v=Object(i.a)(g,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h2",{staticClass:"tab-heading"},[e._v(e._s(e.gateway_data.heading))]),e._v(" "),e.gateway_data.has_sandbox?n("div",{staticClass:"enable-settings"},[n("span",{staticClass:"enable-label"},[e._v("Sandbox")]),e._v(" "),n("el-switch",{attrs:{"active-text":"ON","inactive-text":"OFF"},on:{change:e.handleChange},model:{value:e.form.sandbox,callback:function(t){e.$set(e.form,"sandbox",t)},expression:"form.sandbox"}}),e._v(" "),e.gateway_data.sandbox_help?n("span",{staticClass:"enable-desc"},[e._v(e._s(e.gateway_data.sandbox_help))]):e._e()],1):e._e(),e._v(" "),n("gateway-fields",{attrs:{fields:e.gateway_data.fields,values:e.values},on:{input:e.handleChange}})],1)}),[],!1,null,null,null).exports,y=n(1),x={mixins:[y.a],props:["value","countries_list"],data:function(){return{address:{country:"",state:""},countries:[],states:[],loading:!1}},computed:{},watch:{value:function(e){this.address=_.isObject(e)?e:{},this.getStates()}},mounted:function(){this.countries_list?this.setCountries(this.countries_list):this.getCountries()},methods:{setCountries:function(e){var t=this;this.countries=[],_.each(e,(function(e,n){t.countries.push({value:n,label:e})}))},onChange:function(e){this.$emit("input",this.address),this.$emit("change",this.address),this.getStates()},getCountries:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:"https://raw.githubusercontent.com/wowthemes/countries/master/src/data/countries/default/_countries.json",type:"get",dataType:"json",success:function(t){e.setCountries(t)},complete:function(t){e.loading=!1}})},getStates:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:wpApiSettings.root+"webinane-commerce/v1/countries/"+this.address.country+"/states",type:"get",dataType:"json",success:function(t){e.states=[],_.each(t.states,(function(t,n){e.states.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})}}},C=Object(i.a)(x,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:24}},[n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select Country",filterable:"",size:"large"},on:{change:e.onChange},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}},"el-select",e.$attrs,!1),[e.countries?e._l(e.countries,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)],1),e._v(" "),n("el-col",{staticClass:"mt-3",attrs:{span:24}},[n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select States",filterable:"",size:"large"},on:{change:function(t){return e.$emit("input",e.address)}},model:{value:e.address.state,callback:function(t){e.$set(e.address,"state",t)},expression:"address.state"}},"el-select",e.$attrs,!1),[e.states?e._l(e.states,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)],1)],1)}),[],!1,null,null,null).exports,k={mixins:[y.a],props:{},data:function(){return{address:{country:"",city:"",state:""},items:[],loading:!1}},computed:{},watch:{},mounted:function(){this.address=this.$attrs.value?$this.attrs.value:{},this.getItems()},methods:{onChange:function(e){this.$emit("input",this.address)},getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:"https://raw.githubusercontent.com/wowthemes/countries/master/src/data/countries/default/_countries.json",type:"get",dataType:"json",success:function(t){e.items=[],_.each(t,(function(t,n){e.items.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})}}},j={props:["values","value"],data:function(){return{form:[""],isVisible:!1,fieldSize:[]}},watch:{form:function(e){this.$emit("input",e),this.$emit("change",e)},value:function(e){_.isArray(e)?this.form=e:this.form=["."]}},computed:{},mounted:function(){},methods:{handleAdd:function(){this.form.push("")},handleRemove:function(e){var t=_.reject(this.form,(function(t,n){return e===n}));this.form=t}}},S={props:["content"]},O={name:"Fields",components:{PaymentGateways:v,Media:m,Editor:l,Country:C,State:Object(i.a)(k,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select Country",remote:"","remote-method":e.getItems,filterable:"",loading:e.loading,size:"large","loading-text":"Loading..."},on:{change:e.onChange},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}},"el-select",e.$attrs,!1),[e.items?e._l(e.items,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)}),[],!1,null,null,null).exports,MultiText:Object(i.a)(j,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.form,(function(t,a){return n("div",{key:a},[n("el-input",{staticClass:"mb-2",model:{value:e.form[a],callback:function(t){e.$set(e.form,a,t)},expression:"form[index]"}},[n("el-button",{attrs:{slot:"append",type:"info",size:"mini",icon:"el-icon-plus"},on:{click:function(t){return e.handleAdd()}},slot:"append"}),e._v(" "),e.form.length>1?n("el-button",{attrs:{slot:"append",type:"danger",size:"mini",icon:"el-icon-close"},on:{click:function(t){return e.handleRemove(a)}},slot:"append"}):e._e()],1)],1)})),0)}),[],!1,null,null,null).exports,ElHeading:Object(i.a)(S,(function(){var e=this.$createElement;return(this._self._c||e)("h4",{domProps:{innerHTML:this._s(this.content)}})}),[],!1,null,null,null).exports},props:{fields:{type:Array,required:!0},values:Object},data:function(){return{form:{gateways:{}}}},mounted:function(){var e=this;setTimeout((function(){e.setDefaultValues(),e.setValuesToForm()}),100)},methods:{setValuesToForm:function(){var e=this;_.each(this.values,(function(t,n){e.$set(e.form,n,t)}))},setDefaultValues:function(){var e=this;_.each(this.fields,(function(t){var n=t.default?t.default:"",a=void 0!==e.values[t.id]?e.values[t.id]:n;e.fixElMultiSelect(t),t.id&&e.$set(e.form,t.id,a)}))},fixElMultiSelect:function(e){"el-select"==e.type&&e.props&&e.props.multiple&&!_.isArray(this.values[e.id])&&(this.values[e.id]=[])},handleChange:function(e){this.$emit("input",this.form)},handleGatewayChange:function(e,t){this.$set(this.form.gateways,t,e),this.$emit("input",this.form)},handleShow:function(e){var t=this;if(e.vshow){if(_.isArray(e.vshow)){var n=!1;return _.each(e.vshow,(function(e){n=t.form[e.key]==e.value})),n}return this.form[e.vshow.key]==e.vshow.value}return!0}}},A={components:{Editor:l,Fields:Object(i.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.fields?n("div",[n("el-form",{attrs:{model:e.form,"label-position":"left"}},[n("el-row",{attrs:{gutter:30}},[e._l(e.fields,(function(t){return[n("el-col",{directives:[{name:"show",rawName:"v-show",value:e.handleShow(t),expression:"handleShow(field)"}],attrs:{span:24}},[t.main_heading?n("h6",{staticClass:"mb-2",domProps:{innerHTML:e._s(t.main_heading)}}):e._e(),e._v(" "),"gateway_tab"!=t.type?n("el-form-item",{attrs:{label:t.label,"label-width":"30%"}},[n(t.type,e._b({ref:t.id,refInFor:!0,tag:"component",attrs:{name:t.id},on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[field.id]"}},"component",t.props,!1,!0),[e._l(t.options,(function(a,o){return"el-select"==t.type?n("el-option",{key:o,attrs:{label:a,value:o}},[e._v(e._s(a))]):e._e()})),e._v(" "),e._l(t.options,(function(a,o){return"el-radio-group"==t.type?n("el-radio",{key:o,attrs:{label:o,border:""}},[e._v(e._s(a))]):e._e()})),e._v(" "),e._l(t.options,(function(a,o){return"el-checkbox-group"==t.type?n("el-checkbox",{key:o,attrs:{label:a}},[e._v(e._s(a))]):e._e()}))],2),e._v(" "),t.help?n("p",{staticClass:"mt-1",style:{color:"#999"}},[n("em",{domProps:{innerHTML:e._s(t.help)}})]):e._e()],1):e._e(),e._v(" "),"gateway_tab"==t.type?n("el-tabs",e._l(t.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-checkbox",{on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[g_tab.id]"}}),n("label",[e._v(e._s(t.label))])],1),e._v(" "),n("PaymentGateways",{attrs:{gateway_data:t,values:e.form.gateways[t.id]},on:{input:e.handleGatewayChange}})],1)})),1):e._e()],1)]}))],2)],1)],1):e._e()}),[],!1,null,null,null).exports},data:function(){return{tabs:[],values:{},form:{},dialogVisible:!1,import_radio:3,import_input:"",loading:!1,dialog_loading:!1}},mounted:function(){this.getData()},methods:{handleClose:function(e){this.$confirm("Are you sure to close this dialog?").then((function(t){e()})).catch((function(e){}))},getData:function(){var e=this;this.loading=!0,$.ajax({url:ajaxurl,type:"post",dataType:"json",data:{action:"_wpcommerce_admin_settings",subaction:"fields_data",nonce:wpApiSettings.nonce},success:function(t){void 0===t.options.gateways&&(t.options.gateways={}),_.isArray(t.options.gateways)&&(t.options.gateways={}),e.tabs=t.data,e.values=t.options},complete:function(t){e.loading=!1}})},setValues:function(e){this.form=e},saveChange:function(){var e=this;this.form,wpApiSettings.nonce;this.loading=!0,$.ajax({url:ajaxurl+"?action=_wpcommerce_admin_settings",type:"post",dataType:"json",data:{action:"_wpcommerce_admin_settings",subaction:"save_data",data:JSON.stringify(this.form),nonce:wpApiSettings.nonce},success:function(t){e.$notify.success({title:"Success",message:t.message,offset:33})},error:function(t){e.$notify.error({title:"Error",message:t,offset:33})},complete:function(){e.loading=!1}})},exportSettings:function(){var e=this;this.loading=!0,jQuery.ajax({url:ajaxurl,type:"post",data:{action:"_wpcommerce_admin_settings",subaction:"export_settings",nonce:wpApiSettings.nonce},success:function(t,n,a){e.loading=!1;var o="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var r=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=r&&r[1]&&(o=r[1].replace(/['"]/g,""))}var s=a.getResponseHeader("Content-Type"),l=new Blob([t],{type:s});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,o);else{var c=window.URL||window.webkitURL,d=c.createObjectURL(l);if(o){var p=document.createElement("a");void 0===p.download?window.location=d:(p.href=d,p.download=o,document.body.appendChild(p),p.click())}else window.location=d;setTimeout((function(){c.revokeObjectURL(d)}),100)}},error:function(t){e.loading=!1,e.$notify.error({title:"Error",message:t.statusText,offset:30})}})},importSettings:function(){var e=this,t=jQuery;this.$confirm("This will permanently overwite all settings. Continue?","Warning",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((function(){if(e.loading=!0,e.dialog_loading=!0,3===e.import_radio&&(e.import_input=e.$refs.upload.uploadFiles[0].raw),9===e.import_radio)try{e.import_input=JSON.parse(e.import_input)}catch(t){e.$notify.error({title:"Error",message:"Invalid input data"})}var n=new FormData;n.append("file",e.import_input),n.append("input_type",e.import_radio),n.append("action","_wpcommerce_admin_settings"),n.append("subaction","import_settings"),n.append("nonce",wpApiSettings.nonce),t.ajax({url:ajaxurl,type:"post",data:n,processData:!1,contentType:!1,success:function(t,n,a){e.loading=!1;var o=0==t.success?"error":"success";e.$notify({type:o,title:o,message:t.data,offset:30}),t.success&&(window.location=window.location)},error:function(t){e.$notify.error({title:"Error",message:t.statusText,offset:30})},complete:function(t){e.loading=!1,e.dialog_loading=!1}})})).catch((function(){e.loading=!1,e.dialog_loading=!1,e.$message({type:"info",message:"canceled"})}))}}},E=(n(38),Object(i.a)(A,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:{position:"relative"}},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"settings-tab-area"},[e.tabs&&e.values?n("el-tabs",{staticClass:"main-tabs-list",attrs:{type:"border-card"}},e._l(e.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[t.icon?n("i",{class:t.icon}):e._e(),e._v(" "+e._s(t.title))]),e._v(" "),t.children?n("el-tabs",{staticClass:"child-tabs-list",attrs:{type:"border-card"}},e._l(t.children,(function(t){return n("el-tab-pane",{key:t.id,attrs:{label:t.title}},[t.heading?n("h2",{staticClass:"tab-heading"},[e._v("\n "+e._s(t.heading)+"\n ")]):e._e(),e._v(" "),n("fields",{attrs:{fields:t.fields,values:e.values},on:{input:e.setValues}})],1)})),1):n("div",{staticClass:"settings-tab-content"},[t.heading?n("h2",{staticClass:"tab-heading"},[e._v(e._s(t.heading))]):e._e(),e._v(" "),n("Fields",{attrs:{fields:t.fields,values:e.values},on:{input:e.setValues}})],1)],1)})),1):e._e(),e._v(" "),n("div",{staticClass:"import-export-btns"},[n("el-tooltip",{staticClass:"item",attrs:{content:"Export Settings",placement:"top"}},[n("el-button",{attrs:{icon:"el-icon-upload2"},on:{click:function(t){return e.exportSettings()}}})],1),e._v(" "),n("el-tooltip",{staticClass:"item",attrs:{content:"Import Settings",placement:"top"}},[n("el-button",{attrs:{icon:"el-icon-download"},on:{click:function(t){e.dialogVisible=!0}}})],1),e._v(" "),n("el-dialog",{staticClass:"import-modal",attrs:{title:"IMPORT SETTINGS",visible:e.dialogVisible,width:"30%","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"import-opt"},[n("el-radio-group",{model:{value:e.import_radio,callback:function(t){e.import_radio=t},expression:"import_radio"}},[n("el-radio",{attrs:{label:3}},[e._v("From File")]),e._v(" "),n("el-radio",{attrs:{label:6}},[e._v("From URL")]),e._v(" "),n("el-radio",{attrs:{label:9}},[e._v("Paste Content")])],1)],1),e._v(" "),3===e.import_radio?n("div",{staticClass:"chose-import-file"},[n("span",[e._v("Choose the import file")]),e._v(" "),n("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{accept:"application/json",action:"https://jsonplaceholder.typicode.com/posts/","auto-upload":!1}},[n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("\n Please Select a .json file.\n ")]),e._v(" "),n("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("Choose file")])],1)],1):6===e.import_radio?n("div",{staticClass:"url-import"},[n("el-input",{attrs:{placeholder:"Please URL"},model:{value:e.import_input,callback:function(t){e.import_input=t},expression:"import_input"}})],1):n("div",{staticClass:"paste-content-import"},[n("el-input",{attrs:{placehoder:"Please paste content here",type:"textarea",rows:"5"},model:{value:e.import_input,callback:function(t){e.import_input=t},expression:"import_input"}})],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("Cancel")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.importSettings()}}},[e._v("Import")])],1)])],1)],1),e._v(" "),n("div",{staticClass:"save-settings"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.saveChange()}}},[e._v("SAVE CHANGES")])],1)])}),[],!1,null,null,null).exports),T=window.ELEMENT;if(T.locale(window.ELEMENT.lang.en),window.$=jQuery,Vue.use(T),Vue.use(a.a),document.querySelector(".wpcm-settings-wrapper"))new Vue({components:{Settings:E},el:".wpcm-settings-wrapper",data:{},computed:{},mounted:function(){},methods:{}});document.getElementById("wpcm-admin-live-connect")&&new Vue({el:"#wpcm-admin-live-connect",components:{Connect:r}})},,,,,,,,,,,,,,,,function(e,t){}]); -
lifeline-donation/trunk/webinane-commerce/config/settings.php
r2388230 r2392763 1 1 <?php 2 use WebinaneCommerce\Fields\Country; 3 use WebinaneCommerce\Fields\Select; 4 use WebinaneCommerce\Fields\Switcher; 5 use WebinaneCommerce\Fields\Text; 2 6 3 7 return array( … … 13 17 'heading' => esc_html__('Address Information', 'lifeline-donation'), 14 18 'fields' => array( 15 array( 16 'label' => esc_html__( 'Select Country and State', 'lifeline-donation' ), 17 'help' => esc_html__( 'Choose the base country and state', 'lifeline-donation' ), 18 'id' => 'base_country', 19 'type' => 'country', 20 'default' => ['country' => 'USA', 'state' => ''], 21 'options' => [], 22 'col' => 24, 23 'props' => [] 24 ), 25 array( 26 'label' => esc_html__( 'City', 'lifeline-donation' ), 27 'help' => esc_html__( 'Enter the base city', 'lifeline-donation' ), 28 'id' => 'base_city', 29 'type' => 'el-input', 30 'default' => 'California', 31 'col' => 12 32 ), 33 array( 34 'label' => esc_html__( 'Add Address', 'lifeline-donation' ), 35 'help' => esc_html__( 'Enter the store address', 'lifeline-donation' ), 36 'id' => 'address_line_1', 37 'type' => 'el-input', 38 'default' => 'Webinane Plaza, 3rd Floor NY', 39 'props' => array( 40 'placeholder' => esc_html__('Address line 1', 'lifeline-donation') 41 ), 42 'col' => 12 43 ), 44 array( 45 'label' => esc_html__( 'Address Line 2', 'lifeline-donation' ), 46 'help' => esc_html__( 'Enter the store address', 'lifeline-donation' ), 47 'id' => 'address_line_2', 48 'type' => 'el-input', 49 'col' => 12 50 ), 51 array( 52 'label' => esc_html__( 'ZIP Code', 'lifeline-donation' ), 53 'help' => esc_html__( 'Enter the ZIP / Postal Code', 'lifeline-donation' ), 54 'id' => 'zip_code', 55 'type' => 'el-input', 56 'default' => '42000', 57 'col' => 12 58 ), 19 20 Country::make(__('Select Country and State', 'lifeline-donation'), 'base_country') 21 ->default(['country' => 'USA', 'state' => '']) 22 ->setHelp(esc_html__( 'Choose the base country and state', 'lifeline-donation' )), 23 Text::make(esc_html__('City', 'lifeline-donation'), 'base_city') 24 ->default('New York') 25 ->setHelp(esc_html__( 'Enter the base city', 'lifeline-donation' )), 26 Text::make(esc_html__('Add Address', 'lifeline-donation'), 'address_line_1') 27 ->default('Webinane Plaza, 3rd Floor NY') 28 ->setHelp(esc_html__( 'Enter the business address', 'lifeline-donation' )), 29 Text::make(esc_html__('Address Line 2', 'lifeline-donation'), 'address_line_2') 30 ->setHelp(esc_html__( 'Enter the business address', 'lifeline-donation' )), 31 Text::make(esc_html__('ZIP Code', 'lifeline-donation'), 'zip_code') 32 ->default('10200') 33 ->setHelp(esc_html__( 'Enter the ZIP / Postal Code', 'lifeline-donation' )), 59 34 60 35 ) … … 65 40 'heading' => esc_html__('Currency Information', 'lifeline-donation'), 66 41 'fields' => array( 67 /*array( 68 'type' => 'el-heading', 69 'props' => [ 70 'content' => esc_html__( 'Currency Options', 'webinane-commerce' ) 71 ] 72 ),*/ 73 array( 74 'label' => esc_html__( 'Select Currency', 'lifeline-donation' ), 75 'help' => esc_html__( 'Choose the base currency', 'lifeline-donation' ), 76 'id' => 'base_currency', 77 'type' => 'el-select', 78 'default' => 'USD', 79 'options' => wpcm_currency_assos_data(), 80 'col' => 12 81 ), 82 array( 83 'label' => esc_html__( 'Currency Position', 'lifeline-donation' ), 84 'help' => esc_html__( 'Choose the currency position', 'lifeline-donation' ), 85 'id' => 'currency_position', 86 'type' => 'el-select', 87 'options' => array( 42 43 Select::make(esc_html__('Select Currency', 'lifeline-donation'), 'base_currency') 44 ->default('USD') 45 ->setOptions(wpcm_currency_assos_data()) 46 ->setHelp(esc_html__( 'Choose the base currency', 'lifeline-donation' )), 47 Select::make(esc_html__('Currency Position', 'lifeline-donation'), 'currency_position') 48 ->default('left') 49 ->setOptions([ 88 50 'left' => esc_html__( 'Left', 'lifeline-donation' ), 89 51 'right' => esc_html__( 'Right', 'lifeline-donation' ), 90 52 'left_s' => esc_html__( 'Left with Space', 'lifeline-donation' ), 91 53 'right_s' => esc_html__( 'Right with Space', 'lifeline-donation' ), 92 ), 93 'col' => 6 94 ), 95 array( 96 'label' => esc_html__( 'Thousand Separator', 'lifeline-donation' ), 97 'help' => esc_html__( 'Enter the thousand amount saparator', 'lifeline-donation' ), 98 'id' => 'thousand_saparator', 99 'type' => 'el-input', 100 'default' => ',', 101 'col' => 6 102 ), 103 array( 104 'label' => esc_html__( 'Decimal Separator', 'lifeline-donation' ), 105 'help' => esc_html__( 'Enter the decimal amount saparator', 'lifeline-donation' ), 106 'id' => 'decimal_saparator', 107 'type' => 'el-input', 108 'default' => '.', 109 'col' => 6 110 ), 111 array( 112 'label' => esc_html__( 'Number of decimal', 'lifeline-donation' ), 113 'help' => esc_html__( 'Enter the number of decimals', 'lifeline-donation' ), 114 'id' => 'number_decimals', 115 'type' => 'el-input', 116 'default' => '2', 117 'col' => 6 118 ), 54 ]) 55 ->setHelp(esc_html__( 'Choose the currency position', 'lifeline-donation' )), 56 57 Text::make(esc_html__('Thousand Saparate', 'lifeline-donation'), 'thousand_saparator') 58 ->default(',') 59 ->setHelp(esc_html__( 'Enter the thousand amount saparator', 'lifeline-donation' )), 60 Text::make(esc_html__('Decimal Separator', 'lifeline-donation'), 'decimal_saparator') 61 ->default('.') 62 ->setHelp(esc_html__( 'Enter the decimal saparator', 'lifeline-donation' )), 63 Text::make(esc_html__('Number of decimals', 'lifeline-donation'), 'number_decimals') 64 ->default('.') 65 ->setHelp(esc_html__( 'Enter the number of decimals', 'lifeline-donation' )), 66 119 67 ) 120 68 ) … … 131 79 'tabs' => apply_filters( 'wpcommerce_payment_gateways_setting_tabs', array() ), 132 80 'id' => 'gateways', 133 'default' => [ ]81 'default' => ['offline_gateway' => []] 134 82 ), 135 83 … … 141 89 'id' => 'display_settings', 142 90 'fields' => apply_filters( 'webinane_settings_display_settings', array( 143 array( 144 'label' => esc_html__( 'Checkout Page', 'lifeline-donation' ), 145 'help' => esc_html__( 'Choose the checkout page', 'lifeline-donation' ), 146 'id' => 'checkout_page', 147 'type' => 'el-select', 148 'options' => wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) ), 149 'col' => 12 150 ), 151 array( 152 'label' => esc_html__( 'Order Success Page', 'lifeline-donation' ), 153 'help' => esc_html__( 'Choose the page to show when an order is successful', 'lifeline-donation' ), 154 'id' => 'success_page', 155 'type' => 'el-select', 156 'options' => wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) ), 157 'col' => 12, 91 92 Select::make(esc_html__('Checkout Page', 'lifeline-donation'), 'checkout_page') 93 ->setOptions(wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) )) 94 ->setHelp(esc_html__( 'Choose the checkout page', 'lifeline-donation' )), 158 95 159 ), 160 array( 161 'label' => esc_html__( 'My Account Page', 'lifeline-donation' ), 162 'help' => esc_html__( 'Choose the page to show when an order is successful', 'lifeline-donation' ), 163 'id' => 'my_account_page', 164 'type' => 'el-select', 165 'is' => 'wpcm-select-remote', 166 'options' => wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) ), 167 'col' => 12 168 ), 169 array( 170 'label' => esc_html__( 'Redirect to Checkout', 'lifeline-donation' ), 171 'help' => esc_html__( 'Redirect user to checkout page after add to cart', 'lifeline-donation' ), 172 'id' => 'redirect_to_checkout', 173 'type' => 'el-switch', 174 'props' => [ 175 'active-text' => __('ON', 'lifeline-donation'), 176 'inactive-text' => __('OFF', 'lifeline-donation'), 177 ], 178 'col' => 12 179 ), 96 Select::make(esc_html__('Order Success Page', 'lifeline-donation'), 'success_page') 97 ->setOptions(wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) )) 98 ->setHelp(esc_html__( 'Choose the to show when an order is successfull', 'lifeline-donation' )), 99 100 Select::make(esc_html__('My Account Page', 'lifeline-donation'), 'my_account_page') 101 ->setOptions(wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) )) 102 ->setHelp(esc_html__( 'Choose the my account page', 'lifeline-donation' )), 103 104 Switcher::make(esc_html__('Redirect to Checkout', 'lifeline-donation'), 'redirect_to_checkout') 105 ->setHelp(esc_html__( 'Redirect user to checkout page after add to cart', 'lifeline-donation' )), 180 106 ) ) 181 107 ), -
lifeline-donation/trunk/webinane-commerce/includes/Admin/Settings.php
r2388789 r2392763 5 5 use WebinaneCommerce\Helpers\Connect; 6 6 use WebinaneCommerce\Helpers\MapOldFields; 7 use WebinaneCommerce\Helpers\SettingsResource; 7 8 8 9 /** … … 66 67 Connect::init(); 67 68 Dashboard::instance()->init(); 69 70 /*$settings = require_once WNCM_PATH . 'config/settings.php'; 71 $settings = apply_filters( 'wpcommerce_settings', $settings ); 72 $myins = (new SettingsResource($settings, wpcm_get_settings())); 73 $resolve = $myins->resolve(); 74 75 printr($myins->values);*/ 68 76 } 69 77 … … 83 91 */ 84 92 static function admin_custom_css() { 85 $version = (defined('WP_DEBUG') && WP_DEBUG ) ? time() : time();93 $version = (defined('WP_DEBUG') && WP_DEBUG ) ? time() : WPCM_VERSION; 86 94 wp_enqueue_editor(); 87 95 wp_enqueue_media(); … … 140 148 $settings = apply_filters( 'wpcommerce_settings', $settings ); 141 149 142 $settings = self::instance()->make($settings); 150 $settings = (new SettingsResource($settings, wpcm_get_settings()))->resolve(); 151 // $settings = self::instance()->make($settings); 143 152 144 153 $options = wpcm_get_settings(false, true); … … 234 243 235 244 $settings = apply_filters( 'wpcommerce_settings', $settings ); 236 $list = wp_list_pluck( $settings, 'fields' );237 /*foreach( $list as $li ) {245 /*$list = wp_list_pluck( $settings, 'fields' ); 246 foreach( $list as $li ) { 238 247 foreach( $li as $field ) { 239 248 if( isset( $field['id']) && ! isset( $options[ $field['id'] ] ) ) { -
lifeline-donation/trunk/webinane-commerce/includes/Classes/Enqueue.php
r2386206 r2392763 17 17 $trans = include WNCM_PATH . 'config/i18n.php'; 18 18 $version = (defined('WP_DEBUG') && WP_DEBUG ) ? time() : WPCM_VERSION; 19 20 21 19 22 20 self::common(); … … 77 75 ); 78 76 wp_localize_script( 'vuejs', 'wpcm_data', $data ); 77 } 79 78 80 }81 79 static function admin_enqueue() { 82 80 $settings = wpcm_get_settings(); … … 94 92 $vars = compact('symbol', 'position', 'sep', 'd_sep', 'd_point'); 95 93 wp_register_script( 'wpcm-admin-metaboxes', WNCM_URL . 'assets/js/admin/metaboxes.js', array('jquery', 'element-ui', 'wpcm-components'), $version, true ); 96 //wp_localize_script( 'wpcm-admin-metaboxes', 'wpcm_data', $vars );94 wp_localize_script( 'wpcm-admin-metaboxes', 'wpcm_data', $vars ); 97 95 } 98 96 -
lifeline-donation/trunk/webinane-commerce/includes/Classes/Extensions.php
r2388230 r2392763 43 43 44 44 $config = self::ext_config(); 45 45 46 if ( ! function_exists('is_plugin_active')) { 46 47 require_once ABSPATH . '/wp-admin/includes/plugin.php'; … … 48 49 49 50 foreach (self::$extensions as $file => $ext) { 50 51 51 if($found = array_get($config, $ext)) { 52 52 if(is_plugin_active( $ext )) { … … 79 79 } 80 80 } 81 $items[] = 'webinane-stripe';82 81 83 82 return $items; -
lifeline-donation/trunk/webinane-commerce/includes/Classes/Gateways.php
r2388230 r2392763 48 48 } 49 49 50 function computedValue($resource, $att) { 51 return array_get($resource, 'gateways.'.$this->id.'_gateway.'.$att); 52 } 53 50 54 public function jsonSerialize() { 51 55 return [ -
lifeline-donation/trunk/webinane-commerce/includes/Classes/Orders.php
r2364873 r2392763 551 551 ); 552 552 } 553 554 553 $order->order_items = $order->items; 555 $gateway = $order->meta_data->_wpcm_order_gateway;554 $gateway = array_get($order->meta_data, '_wpcm_order_gateway'); 556 555 $meta_data = [ 557 556 [ … … 561 560 [ 562 561 'label' => esc_html__('Total', 'lifeline-donation'), 563 'value' => webinane_cm_price_with_symbol( $order->meta_data->_wpcm_order_total)562 'value' => webinane_cm_price_with_symbol(array_get($order->meta_data, '_wpcm_order_total')) 564 563 ] 565 564 ]; -
lifeline-donation/trunk/webinane-commerce/includes/Classes/Webinane.php
r2388856 r2392763 243 243 } 244 244 } 245 246 245 } 247 246 -
lifeline-donation/trunk/webinane-commerce/includes/Gateways/GatewayOffline.php
r2388230 r2392763 81 81 'data-dependency_id' => 'offline_payment_status', 82 82 'data-dependency_value' => 'on' 83 ) 83 ), 84 'parent' => 'gateways.offline_gateway' 84 85 ), 85 86 array( -
lifeline-donation/trunk/webinane-commerce/includes/Gateways/GatewayPaypal.php
r2388789 r2392763 91 91 'icon' => 'fa fa-th', 92 92 'id' => 'paypal_express_gateway', 93 'heading' => esc_html__('PayPal Standard', 'lifeline-donation'), 93 94 "sandbox_help" => esc_html__('Enable sandbox mode to do test payments', 'lifeline-donation'), 94 95 "has_sandbox" => true, … … 172 173 function is_active() { 173 174 $status = wpcm_get_settings()->get('paypal_express_gateway'); 174 175 175 if( ! $status ) { 176 176 return false; -
lifeline-donation/trunk/webinane-commerce/includes/Helpers/Api.php
r2362947 r2392763 18 18 19 19 /** 20 * Magic function to handle static or dynamic methods.21 *22 * @param string $method The method23 * @param array $parameters Array of parameters.24 * @return callable Returns nothing.25 */26 public function __call($method, $parameters = null) {27 if($method == 'exists') {28 return call_user_func_array(array($this, 'exists'), array(array($this->file)));29 }30 }31 32 public static function __callStatic($method, $parameters) {33 if($method == 'exists') {34 return call_user_func(__CLASS__.'::exists', $parameters);35 }36 }20 * Magic function to handle static or dynamic methods. 21 * 22 * @param string $method The method 23 * @param array $parameters Array of parameters. 24 * @return callable Returns nothing. 25 */ 26 public function __call($method, $parameters = null) { 27 if($method == 'exists') { 28 return call_user_func_array(array($this, 'exists'), array(array($this->file))); 29 } 30 } 31 32 public static function __callStatic($method, $parameters) { 33 if($method == 'exists') { 34 return call_user_func(__CLASS__.'::exists', $parameters); 35 } 36 } 37 37 38 38 /** … … 83 83 return self::$storage; 84 84 85 }86 87 /**85 } 86 87 /** 88 88 * remove storage. 89 89 * … … 92 92 public static function remove_storage() 93 93 { 94 if(!get_option(self::OPT_KEY)){95 return;96 }94 if(!get_option(self::OPT_KEY)){ 95 return; 96 } 97 97 98 98 return delete_option(self::OPT_KEY); … … 217 217 } 218 218 return false; 219 }219 } 220 220 221 221 /** … … 234 234 } 235 235 236 /**236 /** 237 237 * Get the status if disconnected or not. 238 238 * … … 240 240 */ 241 241 public static function is_disconnected() { 242 if(!Api::is_connected()){243 return;244 }245 $opt_disconnect = self::remove_storage();246 if(!$opt_disconnect){247 wp_send_json_error( ['message' => esc_html__('settings to disconnection is get wrong.', 'lifeline-donation')], 403 );248 }242 if(!Api::is_connected()){ 243 return; 244 } 245 $opt_disconnect = self::remove_storage(); 246 if(!$opt_disconnect){ 247 wp_send_json_error( ['message' => esc_html__('settings to disconnection is get wrong.', 'lifeline-donation')], 403 ); 248 } 249 249 return delete_transient( self::TRANSIENT ); 250 250 } -
lifeline-donation/trunk/webinane-commerce/templates/admin/order-metabox-basic.php
r2384455 r2392763 11 11 <notif v-on:done="onDone" :result="result" :type="result_type" :msg="result_msg"></notif> 12 12 <div class="wpcm-content" v-loading="loading"> 13 <general v-if="customer"title="<?php esc_html_e('Order Action', 'lifeline-donation' ) ?>"></general>13 <general title="<?php esc_html_e('Order Action', 'lifeline-donation' ) ?>"></general> 14 14 <div class="wpcm-row"> 15 15 <div class="wpcm-col-sm-6">
Note: See TracChangeset
for help on using the changeset viewer.