Plugin Directory

Changeset 2392763


Ignore:
Timestamp:
10/03/2020 11:22:14 AM (5 years ago)
Author:
webinnane
Message:

version 1.2.0.4

Location:
lifeline-donation/trunk
Files:
16 added
21 edited

Legend:

Unmodified
Added
Removed
  • lifeline-donation/trunk/config/donation_button.php

    r2388230 r2392763  
    1515                'label'          => esc_html__( 'Select General Donation Type', 'lifeline-donation' ),
    1616                'id'            => 'donation_general_type',
    17                 'type'          => 'el-radio-group',
     17                'type'          => 'el-select',
    1818                // 'main_heading'   => esc_html__( 'General Button Type', 'lifeline-donation' ),
    1919                'options'       => array(
     
    2525                // 'main_heading' => esc_html__( 'Lifeline Donation Options', 'lifeline-donation' ),
    2626            ),
    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           
    5028            array(
    5129                'label'       => esc_html__( 'Donation Page', 'lifeline-donation' ),
     
    6947                )
    7048            ),
    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    )
    29451
    29552);
  • lifeline-donation/trunk/config/donation_settings.php

    r2388230 r2392763  
    77        array(
    88            'label'       => esc_html__( 'Enable Plugin Style', 'lifeline-donation' ),
    9             'help'       => esc_html__( 'Enable to apply plugin stylesheet', 'lifeline-donation' ),
     9            'help'       => esc_html__( 'Enable to apply plugin styles', 'lifeline-donation' ),
    1010            'id'         => 'donation_enable_plugin_css',
    1111            '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            ]
    1417        ),
    1518        array(
     
    1922            'type'       => 'el-switch',
    2023            'default'    => true,
     24            'props' => [
     25                'active-text' => esc_html__( 'YES', 'lifeline-donation' ),
     26                'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ),
     27            ]
    2128        ),
    2229        array(
     
    2532            'id'         => 'donation_projects_status',
    2633            '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            ]
    2839        ),     
    2940        array(
     
    3243            'id'         => 'donation_multicurrency',
    3344            'type'       => 'el-switch',
     45            'props' => [
     46                'active-text' => esc_html__( 'YES', 'lifeline-donation' ),
     47                'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ),
     48            ]
    3449        ),
    3550        array(
     
    5065            'id'         => 'donation_predefined_amounts',
    5166            'type'       => 'el-switch',
     67            'props' => [
     68                'active-text' => esc_html__( 'YES', 'lifeline-donation' ),
     69                'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ),
     70            ]
    5271        ),
    5372        array(
     
    6685            'id'         => 'donation_custom_amount',
    6786            'type'       => 'el-switch',
     87            'props' => [
     88                'active-text' => esc_html__( 'YES', 'lifeline-donation' ),
     89                'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ),
     90            ]
    6891        ),
    6992        array(
     
    7295            'id'         => 'donation_recurring_payments',
    7396            'type'       => 'el-switch',
     97            'props' => [
     98                'active-text' => esc_html__( 'YES', 'lifeline-donation' ),
     99                'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ),
     100            ]
    74101        ),
    75102        array(
     
    78105            'id'         => 'enable_custom_dropdown',
    79106            'type'       => 'el-switch',
     107            'props' => [
     108                'active-text' => esc_html__( 'YES', 'lifeline-donation' ),
     109                'inactive-text' => esc_html__( 'NO', 'lifeline-donation' ),
     110            ]
    80111        ),
    81112        array(
     
    84115            'id'         => 'donation_custom_dropdown',
    85116            'type'       => 'multi-text',
     117            'default'   => [],
    86118            'vshow' => array(
    87119                array('key' => 'enable_custom_dropdown', 'value' => true, 'compare' => '='))
  • lifeline-donation/trunk/includes/class-lifeline-donation.php

    r2388230 r2392763  
    8383        add_filter('lifeline_donation/settings', function($settings) {
    8484            $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';
    8689            $settings[] = require LIFELINE_DONATION_PATH . 'config/archive_setting.php';
    8790
  • lifeline-donation/trunk/languages/lifeline-donation.pot

    r2388230 r2392763  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Lifeline Donation 1.2.0.1\n"
     5"Project-Id-Version: Lifeline Donation 1.2.0.3\n"
    66"Report-Msgid-Bugs-To: "
    77"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"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    161161msgstr ""
    162162
    163 #: config/causes.php:56 config/donation_button.php:87
    164 #: config/donation_button.php:167 config/projects.php:56
     163#: config/causes.php:56 config/general_popup.php:82
     164#: config/posttype_popup.php:54 config/projects.php:56
    165165#: webinane-commerce/config/my-account.php:20
    166166msgid "Update Image"
     
    222222msgstr ""
    223223
    224 #: config/donation_button.php:15
     224#: config/donation_button.php:15 config/general_popup.php:12
    225225msgid "Select General Donation Type"
    226226msgstr ""
    227227
    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
    229230msgid "Popup Box"
    230231msgstr ""
    231232
    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
    233235msgid "Page Template"
    234236msgstr ""
    235237
    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
    238241msgid "External Link"
    239242msgstr ""
    240243
    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
    270246msgid "Donation Page"
    271247msgstr ""
    272248
    273 #: config/donation_button.php:52
     249#: config/donation_button.php:30 config/general_popup.php:26
    274250msgid ""
    275251"Page where you have placed donation shortcode. So when user visits the "
     
    277253msgstr ""
    278254
    279 #: config/donation_button.php:63
     255#: config/donation_button.php:41 config/general_popup.php:37
    280256msgid ""
    281257"Enter the external Link to redirect the user to. Must be starts with "
     
    283259msgstr ""
    284260
    285 #: config/donation_button.php:73
     261#: config/donation_settings.php:4 webinane-commerce/config/settings.php:10
     262msgid "General"
     263msgstr ""
     264
     265#: config/donation_settings.php:5
     266msgid "Donation General Settings"
     267msgstr ""
     268
     269#: config/donation_settings.php:8
     270msgid "Enable Plugin Style"
     271msgstr ""
     272
     273#: config/donation_settings.php:9
     274msgid "Enable to apply plugin styles"
     275msgstr ""
     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
     284msgid "YES"
     285msgstr ""
     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
     294msgid "NO"
     295msgstr ""
     296
     297#: config/donation_settings.php:19
     298msgid "Enable Causes"
     299msgstr ""
     300
     301#: config/donation_settings.php:20
     302msgid "Enable to collect donation on causes"
     303msgstr ""
     304
     305#: config/donation_settings.php:30
     306msgid "Enable Projects"
     307msgstr ""
     308
     309#: config/donation_settings.php:31
     310msgid "Enable to collect donation on projects"
     311msgstr ""
     312
     313#: config/donation_settings.php:41
     314msgid "Show Currency Selector"
     315msgstr ""
     316
     317#: config/donation_settings.php:42
     318msgid "Whether to allow multi currecy in donations"
     319msgstr ""
     320
     321#: config/donation_settings.php:51
     322msgid "Choose Currency to show in Donation Popup"
     323msgstr ""
     324
     325#: config/donation_settings.php:52
     326msgid "Choose currency to show as selective on donation popup"
     327msgstr ""
     328
     329#: config/donation_settings.php:63
     330msgid "Pre Defined Donation Amount"
     331msgstr ""
     332
     333#: config/donation_settings.php:64
     334msgid "Enable pre defined donations amounts"
     335msgstr ""
     336
     337#: config/donation_settings.php:73
     338msgid "Donation Amounts"
     339msgstr ""
     340
     341#: config/donation_settings.php:74
     342msgid "Enter the donation amounts"
     343msgstr ""
     344
     345#: config/donation_settings.php:83
     346msgid "Custom Donation Amount"
     347msgstr ""
     348
     349#: config/donation_settings.php:84
     350msgid "Enable custom donations amount"
     351msgstr ""
     352
     353#: config/donation_settings.php:93 config/donation_settings.php:94
     354msgid "Enable recurring payments"
     355msgstr ""
     356
     357#: config/donation_settings.php:103
     358msgid "Enable Custom Dropdown"
     359msgstr ""
     360
     361#: config/donation_settings.php:104
     362msgid "Enable to show custom dropdown in donation form."
     363msgstr ""
     364
     365#: config/donation_settings.php:113
     366msgid "Dropdown Options"
     367msgstr ""
     368
     369#: config/donation_settings.php:114
     370msgid "Enable custom donations dropdown options"
     371msgstr ""
     372
     373#: config/general_popup.php:5
     374msgid "General Popup"
     375msgstr ""
     376
     377#: config/general_popup.php:46
     378msgid "Select Donation Popup Style"
     379msgstr ""
     380
     381#: config/general_popup.php:50 shortcodes/donation_template.php:42
     382msgid "Style 1"
     383msgstr ""
     384
     385#: config/general_popup.php:51 shortcodes/donation_template.php:43
     386msgid "Style 2"
     387msgstr ""
     388
     389#: config/general_popup.php:52
     390msgid "Style 3"
     391msgstr ""
     392
     393#: config/general_popup.php:58
     394msgid "Donation Page for popup"
     395msgstr ""
     396
     397#: config/general_popup.php:59
     398msgid "It is used to store the collected donations and show the collection data"
     399msgstr ""
     400
     401#: config/general_popup.php:68
    286402msgid "General Amount Needed"
    287403msgstr ""
    288404
    289 #: config/donation_button.php:74
     405#: config/general_popup.php:69
    290406msgid "Enter the amount for donation box"
    291407msgstr ""
    292408
    293 #: config/donation_button.php:83
     409#: config/general_popup.php:78
    294410msgid "Background"
    295411msgstr ""
    296412
    297 #: config/donation_button.php:84 config/donation_button.php:162
     413#: config/general_popup.php:79 config/posttype_popup.php:49
    298414msgid "Insert donation popup box background"
    299415msgstr ""
    300416
    301 #: config/donation_button.php:95 config/donation_button.php:172
     417#: config/general_popup.php:90 config/posttype_popup.php:59
    302418msgid "Donation Popup Title"
    303419msgstr ""
    304420
    305 #: config/donation_button.php:96 config/donation_button.php:173
     421#: config/general_popup.php:91 config/posttype_popup.php:60
    306422msgid "Enter the title for donation popup box"
    307423msgstr ""
    308424
    309 #: config/donation_button.php:105 config/donation_button.php:182
     425#: config/general_popup.php:100 config/posttype_popup.php:66
    310426msgid "Donation Popup Sub Title"
    311427msgstr ""
    312428
    313 #: config/donation_button.php:106 config/donation_button.php:183
     429#: config/general_popup.php:101 config/posttype_popup.php:67
    314430msgid "Enter the sub title for donation popup box"
    315431msgstr ""
    316432
    317 #: config/donation_button.php:118 config/donation_button.php:194
     433#: config/general_popup.php:113 config/posttype_popup.php:75
    318434msgid "Donation Popup Description"
    319435msgstr ""
    320436
    321 #: config/donation_button.php:119 config/donation_button.php:195
     437#: config/general_popup.php:114 config/posttype_popup.php:76
    322438msgid "Enter the litle description for donation popup box"
    323439msgstr ""
    324440
    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
    336442msgid "Show Donation Calculation Bar in Popup"
    337443msgstr ""
    338444
    339 #: config/donation_button.php:136
     445#: config/general_popup.php:124
    340446msgid "Whether to show donation calculation bar in popup"
    341447msgstr ""
    342448
    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
     450msgid "Menu Button"
     451msgstr ""
     452
     453#: config/menu_button.php:12
    368454msgid "Show Donation Button in Menus"
    369455msgstr ""
    370456
    371 #: config/donation_button.php:226
     457#: config/menu_button.php:13
    372458msgid "Whether to show donation button in menus"
    373459msgstr ""
    374460
    375 #: config/donation_button.php:233
     461#: config/menu_button.php:23
    376462msgid "Menu Location"
    377463msgstr ""
    378464
    379 #: config/donation_button.php:234
     465#: config/menu_button.php:24
    380466msgid "Choose menu location where you want to show this button."
    381467msgstr ""
    382468
    383 #: config/donation_button.php:244
     469#: config/menu_button.php:34
    384470msgid "Donation Button Title"
    385471msgstr ""
    386472
    387 #: config/donation_button.php:245
     473#: config/menu_button.php:35
    388474msgid "Enter the title for donation button"
    389475msgstr ""
    390476
    391 #: config/donation_button.php:254 shortcodes/button.php:200
     477#: config/menu_button.php:44 shortcodes/button.php:200
    392478#: shortcodes/donation_parallax2.php:151
    393479msgid "Button Background Color"
    394480msgstr ""
    395481
    396 #: config/donation_button.php:255 config/donation_button.php:265
    397 #: config/donation_button.php:275
     482#: config/menu_button.php:45 config/menu_button.php:55
     483#: config/menu_button.php:65
    398484msgid "Choose the color for donation button"
    399485msgstr ""
    400486
    401 #: config/donation_button.php:264
     487#: config/menu_button.php:54
    402488msgid "Background Mouseover Color"
    403489msgstr ""
    404490
    405 #: config/donation_button.php:274
     491#: config/menu_button.php:64
    406492msgid "Text Mouseover Color"
    407493msgstr ""
    408494
    409 #: config/donation_button.php:284
     495#: config/menu_button.php:74
    410496msgid "Button Text Color"
    411497msgstr ""
    412498
    413 #: config/donation_button.php:285
     499#: config/menu_button.php:75
    414500msgid "Choose the color for font of donation button"
    415 msgstr ""
    416 
    417 #: config/donation_settings.php:4 webinane-commerce/config/settings.php:6
    418 msgid "General"
    419 msgstr ""
    420 
    421 #: config/donation_settings.php:5
    422 msgid "Donation General Settings"
    423 msgstr ""
    424 
    425 #: config/donation_settings.php:8
    426 msgid "Enable Plugin Style"
    427 msgstr ""
    428 
    429 #: config/donation_settings.php:9
    430 msgid "Enable to apply plugin stylesheet"
    431 msgstr ""
    432 
    433 #: config/donation_settings.php:16
    434 msgid "Enable Causes"
    435 msgstr ""
    436 
    437 #: config/donation_settings.php:17
    438 msgid "Enable to collect donation on causes"
    439 msgstr ""
    440 
    441 #: config/donation_settings.php:23
    442 msgid "Enable Projects"
    443 msgstr ""
    444 
    445 #: config/donation_settings.php:24
    446 msgid "Enable to collect donation on projects"
    447 msgstr ""
    448 
    449 #: config/donation_settings.php:30
    450 msgid "Show Currency Selector"
    451 msgstr ""
    452 
    453 #: config/donation_settings.php:31
    454 msgid "Whether to allow multi currecy in donations"
    455 msgstr ""
    456 
    457 #: config/donation_settings.php:36
    458 msgid "Choose Currency to show in Donation Popup"
    459 msgstr ""
    460 
    461 #: config/donation_settings.php:37
    462 msgid "Choose currency to show as selective on donation popup"
    463 msgstr ""
    464 
    465 #: config/donation_settings.php:48
    466 msgid "Pre Defined Donation Amount"
    467 msgstr ""
    468 
    469 #: config/donation_settings.php:49
    470 msgid "Enable pre defined donations amounts"
    471 msgstr ""
    472 
    473 #: config/donation_settings.php:54
    474 msgid "Donation Amounts"
    475 msgstr ""
    476 
    477 #: config/donation_settings.php:55
    478 msgid "Enter the donation amounts"
    479 msgstr ""
    480 
    481 #: config/donation_settings.php:64
    482 msgid "Custom Donation Amount"
    483 msgstr ""
    484 
    485 #: config/donation_settings.php:65
    486 msgid "Enable custom donations amount"
    487 msgstr ""
    488 
    489 #: config/donation_settings.php:70 config/donation_settings.php:71
    490 msgid "Enable recurring payments"
    491 msgstr ""
    492 
    493 #: config/donation_settings.php:76
    494 msgid "Enable Custom Dropdown"
    495 msgstr ""
    496 
    497 #: config/donation_settings.php:77
    498 msgid "Enable to show custom dropdown in donation form."
    499 msgstr ""
    500 
    501 #: config/donation_settings.php:82
    502 msgid "Dropdown Options"
    503 msgstr ""
    504 
    505 #: config/donation_settings.php:83
    506 msgid "Enable custom donations dropdown options"
    507501msgstr ""
    508502
     
    513507#: config/my_account.php:8
    514508msgid "Others"
     509msgstr ""
     510
     511#: config/posttype_popup.php:5
     512msgid "Post Type Popup"
     513msgstr ""
     514
     515#: config/posttype_popup.php:12
     516msgid "Select Custom Posts Donation Type"
     517msgstr ""
     518
     519#: config/posttype_popup.php:27
     520msgid "Choose the donation page"
     521msgstr ""
     522
     523#: config/posttype_popup.php:37
     524msgid "Donation Button URL"
     525msgstr ""
     526
     527#: config/posttype_popup.php:38
     528msgid "Enter the donation button URL for external link"
     529msgstr ""
     530
     531#: config/posttype_popup.php:48
     532msgid "Popup Background"
    515533msgstr ""
    516534
     
    659677msgstr ""
    660678
    661 #: elementor/button.php:203 webinane-commerce/config/settings.php:88
     679#: elementor/button.php:203 webinane-commerce/config/settings.php:50
    662680msgid "Left"
    663681msgstr ""
     
    667685msgstr ""
    668686
    669 #: elementor/button.php:211 webinane-commerce/config/settings.php:89
     687#: elementor/button.php:211 webinane-commerce/config/settings.php:51
    670688msgid "Right"
    671689msgstr ""
     
    817835#: elementor/causes_listing_widget.php:143
    818836#: elementor/single_causes_widget.php:143
    819 #: webinane-commerce/includes/Classes/Orders.php:1185
     837#: webinane-commerce/includes/Classes/Orders.php:1184
    820838msgid "Date"
    821839msgstr ""
     
    833851#: shortcodes/parallax3.php:38 shortcodes/parallax4.php:35
    834852#: shortcodes/parallax5.php:35
    835 #: webinane-commerce/includes/Gateways/GatewayOffline.php:75
    836 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:97
     853#: webinane-commerce/includes/Gateways/GatewayOffline.php:76
     854#: webinane-commerce/includes/Gateways/GatewayPaypal.php:99
    837855msgid "Title"
    838856msgstr ""
     
    10041022
    10051023#: elementor/parallax-simple.php:39 shortcodes/parallax-simple.php:41
    1006 #: webinane-commerce/includes/Gateways/GatewayOffline.php:85
    1007 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:108
     1024#: webinane-commerce/includes/Gateways/GatewayOffline.php:87
     1025#: webinane-commerce/includes/Gateways/GatewayPaypal.php:110
    10081026#: webinane-commerce/templates/orders/offline-order-detail.php:31
    10091027msgid "Description"
     
    12771295#: webinane-commerce/includes/Classes/Emails.php:208
    12781296#: webinane-commerce/includes/Classes/Orders.php:328
    1279 #: webinane-commerce/includes/Classes/Orders.php:562
    1280 #: webinane-commerce/includes/Classes/Orders.php:1181
     1297#: webinane-commerce/includes/Classes/Orders.php:561
     1298#: webinane-commerce/includes/Classes/Orders.php:1180
    12811299#: webinane-commerce/templates/admin/order-metabox-items.php:10
    12821300#: webinane-commerce/templates/checkout/items.php:11
     
    13531371#: includes/Classes/SingleDonation.php:187
    13541372#: webinane-commerce/includes/Classes/Metaboxes.php:100
    1355 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:373
     1373#: webinane-commerce/includes/Gateways/GatewayPaypal.php:375
    13561374msgid "There is something went wrong"
    13571375msgstr ""
     
    13881406msgstr ""
    13891407
    1390 #: includes/class-lifeline-donation.php:247
    1391 #: includes/class-lifeline-donation.php:303
     1408#: includes/class-lifeline-donation.php:250
     1409#: includes/class-lifeline-donation.php:306
    13921410#: webinane-commerce/includes/Classes/Ajax.php:50
    13931411#: webinane-commerce/includes/Classes/Checkout.php:115
     
    13951413msgstr ""
    13961414
    1397 #: includes/class-lifeline-donation.php:273
     1415#: includes/class-lifeline-donation.php:276
    13981416msgid "No currency data provided"
    13991417msgstr ""
    14001418
    1401 #: includes/class-lifeline-donation.php:327
     1419#: includes/class-lifeline-donation.php:330
    14021420msgid "Donation Setting"
    14031421msgstr ""
    14041422
    1405 #: includes/class-lifeline-donation.php:364
     1423#: includes/class-lifeline-donation.php:367
    14061424msgid "Donation List Page"
    14071425msgstr ""
    14081426
    1409 #: includes/class-lifeline-donation.php:365
     1427#: includes/class-lifeline-donation.php:368
    14101428msgid "Choose the donors donation listing page"
    14111429msgstr ""
    14121430
    1413 #: includes/class-lifeline-donation.php:386
     1431#: includes/class-lifeline-donation.php:389
    14141432msgid "Thumbnail"
    14151433msgstr ""
    14161434
    1417 #: includes/class-lifeline-donation.php:391 templates/modal/modal3.php:17
     1435#: includes/class-lifeline-donation.php:394 templates/modal/modal3.php:17
    14181436msgid "Collected"
    14191437msgstr ""
    14201438
    1421 #: includes/class-lifeline-donation.php:392
     1439#: includes/class-lifeline-donation.php:395
    14221440msgid "Target"
    14231441msgstr ""
     
    16711689
    16721690#: includes/class-tgm-plugin-activation.php:2816
     1691#: webinane-commerce/includes/Fields/Media.php:73
    16731692msgid "Update"
    16741693msgstr ""
     
    18591878
    18601879#: post-types/cause.php:73 post-types/project.php:57
     1880#: webinane-commerce/includes/Fields/Media.php:53
    18611881msgid "Add New"
    18621882msgstr ""
     
    29132933#: webinane-commerce/includes/Classes/Emails.php:216
    29142934#: webinane-commerce/includes/Classes/Orders.php:352
    2915 #: webinane-commerce/includes/Classes/Orders.php:644
     2935#: webinane-commerce/includes/Classes/Orders.php:643
    29162936msgid "Completed"
    29172937msgstr ""
     
    29292949#: templates/modal/modal3.php:26
    29302950#: webinane-commerce/includes/Classes/Orders.php:335
    2931 #: webinane-commerce/includes/Gateways/GatewayOffline.php:169
    2932 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:970
     2951#: webinane-commerce/includes/Gateways/GatewayOffline.php:171
     2952#: webinane-commerce/includes/Gateways/GatewayPaypal.php:972
    29332953msgid "Recurring"
    29342954msgstr ""
     
    29392959#: templates/donation-templates/donation-page.php:63
    29402960#: templates/modal/modal.php:67 templates/modal/modal2.php:23
     2961#: templates/modal/modal3.php:27
    29412962msgid "One Time"
    29422963msgstr ""
     
    30093030
    30103031#: webinane-commerce/config/checkout_form.php:6
    3011 #: webinane-commerce/includes/Admin/Settings.php:288
     3032#: webinane-commerce/includes/Admin/Settings.php:297
    30123033msgid "WP Commerce"
    30133034msgstr ""
     
    30293050#: webinane-commerce/config/checkout_form.php:26
    30303051#: webinane-commerce/config/checkout_form.php:32
    3031 #: webinane-commerce/config/settings.php:35
    3032 #: webinane-commerce/config/settings.php:46
    30333052msgid "Enter the store address"
    30343053msgstr ""
    30353054
    30363055#: webinane-commerce/config/checkout_form.php:31
    3037 #: webinane-commerce/config/settings.php:45
     3056#: webinane-commerce/config/settings.php:29
    30383057#: webinane-commerce/templates/admin/order-metabox-basic.php:3
    30393058msgid "Address Line 2"
     
    30413060
    30423061#: webinane-commerce/config/checkout_form.php:37
    3043 #: webinane-commerce/config/settings.php:26
     3062#: webinane-commerce/config/settings.php:23
    30443063#: webinane-commerce/templates/admin/order-metabox-basic.php:4
    30453064msgid "City"
     
    32763295msgstr ""
    32773296
    3278 #: webinane-commerce/config/settings.php:12
     3297#: webinane-commerce/config/settings.php:16
    32793298msgid "Address Info"
    32803299msgstr ""
    32813300
    3282 #: webinane-commerce/config/settings.php:13
     3301#: webinane-commerce/config/settings.php:17
    32833302msgid "Address Information"
    32843303msgstr ""
    32853304
    3286 #: webinane-commerce/config/settings.php:16
     3305#: webinane-commerce/config/settings.php:20
    32873306msgid "Select Country and State"
    32883307msgstr ""
    32893308
    3290 #: webinane-commerce/config/settings.php:17
     3309#: webinane-commerce/config/settings.php:22
    32913310msgid "Choose the base country and state"
    32923311msgstr ""
    32933312
    3294 #: webinane-commerce/config/settings.php:27
     3313#: webinane-commerce/config/settings.php:25
    32953314msgid "Enter the base city"
    32963315msgstr ""
    32973316
    3298 #: webinane-commerce/config/settings.php:34
     3317#: webinane-commerce/config/settings.php:26
    32993318msgid "Add Address"
    33003319msgstr ""
    33013320
     3321#: webinane-commerce/config/settings.php:28
     3322#: webinane-commerce/config/settings.php:30
     3323msgid "Enter the business address"
     3324msgstr ""
     3325
     3326#: webinane-commerce/config/settings.php:31
     3327msgid "ZIP Code"
     3328msgstr ""
     3329
     3330#: webinane-commerce/config/settings.php:33
     3331msgid "Enter the ZIP / Postal Code"
     3332msgstr ""
     3333
     3334#: webinane-commerce/config/settings.php:39
     3335msgid "Currency Info"
     3336msgstr ""
     3337
    33023338#: webinane-commerce/config/settings.php:40
    3303 msgid "Address line 1"
     3339msgid "Currency Information"
     3340msgstr ""
     3341
     3342#: webinane-commerce/config/settings.php:43
     3343msgid "Select Currency"
     3344msgstr ""
     3345
     3346#: webinane-commerce/config/settings.php:46
     3347msgid "Choose the base currency"
     3348msgstr ""
     3349
     3350#: webinane-commerce/config/settings.php:47
     3351msgid "Currency Position"
    33043352msgstr ""
    33053353
    33063354#: webinane-commerce/config/settings.php:52
    3307 msgid "ZIP Code"
     3355msgid "Left with Space"
    33083356msgstr ""
    33093357
    33103358#: 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"
     3359msgid "Right with Space"
     3360msgstr ""
     3361
     3362#: webinane-commerce/config/settings.php:55
     3363msgid "Choose the currency position"
     3364msgstr ""
     3365
     3366#: webinane-commerce/config/settings.php:57
     3367msgid "Thousand Saparate"
     3368msgstr ""
     3369
     3370#: webinane-commerce/config/settings.php:59
     3371msgid "Enter the thousand amount saparator"
     3372msgstr ""
     3373
     3374#: webinane-commerce/config/settings.php:60
     3375msgid "Decimal Separator"
     3376msgstr ""
     3377
     3378#: webinane-commerce/config/settings.php:62
     3379msgid "Enter the decimal saparator"
     3380msgstr ""
     3381
     3382#: webinane-commerce/config/settings.php:63
     3383msgid "Number of decimals"
    33163384msgstr ""
    33173385
    33183386#: 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"
     3387msgid "Enter the number of decimals"
     3388msgstr ""
     3389
     3390#: webinane-commerce/config/settings.php:73
     3391msgid "Payments"
     3392msgstr ""
     3393
     3394#: webinane-commerce/config/settings.php:87
     3395msgid "Display"
     3396msgstr ""
     3397
     3398#: webinane-commerce/config/settings.php:92
     3399msgid "Checkout Page"
     3400msgstr ""
     3401
     3402#: webinane-commerce/config/settings.php:94
     3403msgid "Choose the checkout page"
    33443404msgstr ""
    33453405
    33463406#: 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"
     3407msgid "Order Success Page"
     3408msgstr ""
     3409
     3410#: webinane-commerce/config/settings.php:98
     3411msgid "Choose the to show when an order is successfull"
     3412msgstr ""
     3413
     3414#: webinane-commerce/config/settings.php:100
     3415msgid "My Account Page"
     3416msgstr ""
     3417
     3418#: webinane-commerce/config/settings.php:102
     3419msgid "Choose the my account page"
    33523420msgstr ""
    33533421
    33543422#: webinane-commerce/config/settings.php:104
    3355 msgid "Decimal Separator"
     3423msgid "Redirect to Checkout"
    33563424msgstr ""
    33573425
    33583426#: webinane-commerce/config/settings.php:105
    3359 msgid "Enter the decimal amount saparator"
    3360 msgstr ""
    3361 
    3362 #: webinane-commerce/config/settings.php:112
    3363 msgid "Number of decimal"
    3364 msgstr ""
    3365 
    3366 #: webinane-commerce/config/settings.php:113
    3367 msgid "Enter the number of decimals"
    3368 msgstr ""
    3369 
    3370 #: webinane-commerce/config/settings.php:125
    3371 msgid "Payments"
    3372 msgstr ""
    3373 
    3374 #: webinane-commerce/config/settings.php:139
    3375 msgid "Display"
    3376 msgstr ""
    3377 
    3378 #: webinane-commerce/config/settings.php:144
    3379 msgid "Checkout Page"
    3380 msgstr ""
    3381 
    3382 #: webinane-commerce/config/settings.php:145
    3383 msgid "Choose the checkout page"
    3384 msgstr ""
    3385 
    3386 #: webinane-commerce/config/settings.php:152
    3387 msgid "Order Success Page"
    3388 msgstr ""
    3389 
    3390 #: webinane-commerce/config/settings.php:153
    3391 #: webinane-commerce/config/settings.php:162
    3392 msgid "Choose the page to show when an order is successful"
    3393 msgstr ""
    3394 
    3395 #: webinane-commerce/config/settings.php:161
    3396 msgid "My Account Page"
    3397 msgstr ""
    3398 
    3399 #: webinane-commerce/config/settings.php:170
    3400 msgid "Redirect to Checkout"
    3401 msgstr ""
    3402 
    3403 #: webinane-commerce/config/settings.php:171
    34043427msgid "Redirect user to checkout page after add to cart"
    3405 msgstr ""
    3406 
    3407 #: webinane-commerce/config/settings.php:175
    3408 msgid "ON"
    3409 msgstr ""
    3410 
    3411 #: webinane-commerce/config/settings.php:176
    3412 msgid "OFF"
    34133428msgstr ""
    34143429
     
    34413456msgstr ""
    34423457
    3443 #: webinane-commerce/includes/Admin/Settings.php:54
     3458#: webinane-commerce/includes/Admin/Settings.php:55
    34443459msgid "WPCM Checkout Page"
    34453460msgstr ""
    34463461
    3447 #: webinane-commerce/includes/Admin/Settings.php:56
     3462#: webinane-commerce/includes/Admin/Settings.php:57
    34483463msgid "WPCM Order Success Page"
    34493464msgstr ""
    34503465
    3451 #: webinane-commerce/includes/Admin/Settings.php:58
     3466#: webinane-commerce/includes/Admin/Settings.php:59
    34523467msgid "WPCM My Account Page"
    34533468msgstr ""
    34543469
    3455 #: webinane-commerce/includes/Admin/Settings.php:131
     3470#: webinane-commerce/includes/Admin/Settings.php:139
    34563471msgid "Sucurity verification failed"
    34573472msgstr ""
    34583473
    3459 #: webinane-commerce/includes/Admin/Settings.php:135
    3460 #: webinane-commerce/includes/Admin/Settings.php:415
     3474#: webinane-commerce/includes/Admin/Settings.php:143
     3475#: webinane-commerce/includes/Admin/Settings.php:424
    34613476#: webinane-commerce/includes/Classes/Customers.php:286
    34623477#: webinane-commerce/includes/Classes/Customers.php:319
     
    34653480#: webinane-commerce/includes/Classes/Metaboxes.php:90
    34663481#: webinane-commerce/includes/Classes/MyAccount.php:90
    3467 #: webinane-commerce/includes/Classes/Orders.php:780
    3468 #: webinane-commerce/includes/Classes/Orders.php:830
    3469 #: webinane-commerce/includes/Classes/Orders.php:866
     3482#: webinane-commerce/includes/Classes/Orders.php:779
     3483#: webinane-commerce/includes/Classes/Orders.php:829
     3484#: webinane-commerce/includes/Classes/Orders.php:865
    34703485msgid "You are not authorized"
    34713486msgstr ""
    34723487
    3473 #: webinane-commerce/includes/Admin/Settings.php:165
     3488#: webinane-commerce/includes/Admin/Settings.php:174
    34743489msgid "Settings are updated successfully"
    34753490msgstr ""
    34763491
    3477 #: webinane-commerce/includes/Admin/Settings.php:167
     3492#: webinane-commerce/includes/Admin/Settings.php:176
    34783493#: webinane-commerce/includes/Classes/Checkout.php:153
    3479 #: webinane-commerce/includes/Classes/Orders.php:900
    3480 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:352
     3494#: webinane-commerce/includes/Classes/Orders.php:899
     3495#: webinane-commerce/includes/Gateways/GatewayPaypal.php:354
    34813496msgid "Something went wrong"
    34823497msgstr ""
    34833498
    3484 #: webinane-commerce/includes/Admin/Settings.php:188
     3499#: webinane-commerce/includes/Admin/Settings.php:197
    34853500msgid "Invalid File provided"
    34863501msgstr ""
    34873502
    3488 #: webinane-commerce/includes/Admin/Settings.php:196
     3503#: webinane-commerce/includes/Admin/Settings.php:205
    34893504msgid "Invalid URL Provided"
    34903505msgstr ""
    34913506
    3492 #: webinane-commerce/includes/Admin/Settings.php:215
     3507#: webinane-commerce/includes/Admin/Settings.php:224
    34933508msgid "Please provide a proper json data"
    34943509msgstr ""
    34953510
    3496 #: webinane-commerce/includes/Admin/Settings.php:219
     3511#: webinane-commerce/includes/Admin/Settings.php:228
    34973512msgid "Settings are imported successfully"
    34983513msgstr ""
    34993514
    3500 #: webinane-commerce/includes/Admin/Settings.php:287
     3515#: webinane-commerce/includes/Admin/Settings.php:296
    35013516msgid "WP Commerce Settings"
    35023517msgstr ""
    35033518
    3504 #: webinane-commerce/includes/Admin/Settings.php:297
    3505 #: webinane-commerce/includes/Admin/Settings.php:298
     3519#: webinane-commerce/includes/Admin/Settings.php:306
     3520#: webinane-commerce/includes/Admin/Settings.php:307
    35063521msgid "Dashboard"
    35073522msgstr ""
    35083523
    3509 #: webinane-commerce/includes/Admin/Settings.php:306
     3524#: webinane-commerce/includes/Admin/Settings.php:315
    35103525msgid "Webinane Extensions"
    35113526msgstr ""
    35123527
    3513 #: webinane-commerce/includes/Admin/Settings.php:307
     3528#: webinane-commerce/includes/Admin/Settings.php:316
    35143529msgid "Extensions"
    35153530msgstr ""
    35163531
    3517 #: webinane-commerce/includes/Admin/Settings.php:318
     3532#: webinane-commerce/includes/Admin/Settings.php:327
    35183533#: webinane-commerce/includes/Classes/MyAccount.php:406
    35193534#: webinane-commerce/includes/Classes/Orders.php:193
     
    35263541msgstr ""
    35273542
    3528 #: webinane-commerce/includes/Admin/Settings.php:431
     3543#: webinane-commerce/includes/Admin/Settings.php:440
    35293544msgid "File is valid, and was successfully uploaded."
    35303545msgstr ""
     
    36393654#: webinane-commerce/includes/Classes/Emails.php:213
    36403655#: webinane-commerce/includes/Classes/Orders.php:349
    3641 #: webinane-commerce/includes/Classes/Orders.php:641
     3656#: webinane-commerce/includes/Classes/Orders.php:640
    36423657msgid "Pending Payment"
    36433658msgstr ""
     
    36453660#: webinane-commerce/includes/Classes/Emails.php:214
    36463661#: webinane-commerce/includes/Classes/Orders.php:350
    3647 #: webinane-commerce/includes/Classes/Orders.php:642
     3662#: webinane-commerce/includes/Classes/Orders.php:641
    36483663msgid "Processing"
    36493664msgstr ""
     
    36513666#: webinane-commerce/includes/Classes/Emails.php:215
    36523667#: webinane-commerce/includes/Classes/Orders.php:351
    3653 #: webinane-commerce/includes/Classes/Orders.php:643
     3668#: webinane-commerce/includes/Classes/Orders.php:642
    36543669msgid "On Hold"
    36553670msgstr ""
     
    36573672#: webinane-commerce/includes/Classes/Emails.php:217
    36583673#: webinane-commerce/includes/Classes/Orders.php:353
    3659 #: webinane-commerce/includes/Classes/Orders.php:645
     3674#: webinane-commerce/includes/Classes/Orders.php:644
    36603675msgid "Cancelled"
    36613676msgstr ""
     
    36633678#: webinane-commerce/includes/Classes/Emails.php:218
    36643679#: webinane-commerce/includes/Classes/Orders.php:354
    3665 #: webinane-commerce/includes/Classes/Orders.php:646
     3680#: webinane-commerce/includes/Classes/Orders.php:645
    36663681msgid "Refunded"
    36673682msgstr ""
     
    36693684#: webinane-commerce/includes/Classes/Emails.php:219
    36703685#: webinane-commerce/includes/Classes/Orders.php:355
    3671 #: webinane-commerce/includes/Classes/Orders.php:647
     3686#: webinane-commerce/includes/Classes/Orders.php:646
    36723687msgid "Failed"
    36733688msgstr ""
     
    38793894
    38803895#: webinane-commerce/includes/Classes/Orders.php:333
    3881 #: webinane-commerce/includes/Classes/Orders.php:1182
     3896#: webinane-commerce/includes/Classes/Orders.php:1181
    38823897#: webinane-commerce/templates/admin/connect.php:59
    38833898#: webinane-commerce/templates/checkout/billing.php:46
     
    38873902
    38883903#: webinane-commerce/includes/Classes/Orders.php:334
    3889 #: webinane-commerce/includes/Classes/Orders.php:558
    3890 #: webinane-commerce/includes/Classes/Orders.php:1183
     3904#: webinane-commerce/includes/Classes/Orders.php:557
     3905#: webinane-commerce/includes/Classes/Orders.php:1182
    38913906#: webinane-commerce/templates/orders/offline-order-detail.php:35
    38923907#: webinane-commerce/templates/orders/paypal-order-detail.php:33
     
    38953910
    38963911#: webinane-commerce/includes/Classes/Orders.php:336
    3897 #: webinane-commerce/includes/Gateways/GatewayOffline.php:179
    3898 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:981
     3912#: webinane-commerce/includes/Gateways/GatewayOffline.php:181
     3913#: webinane-commerce/includes/Gateways/GatewayPaypal.php:983
    38993914msgid "Recurring Cycle"
    39003915msgstr ""
    39013916
    39023917#: webinane-commerce/includes/Classes/Orders.php:337
    3903 #: webinane-commerce/includes/Gateways/GatewayOffline.php:183
    3904 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:985
     3918#: webinane-commerce/includes/Gateways/GatewayOffline.php:185
     3919#: webinane-commerce/includes/Gateways/GatewayPaypal.php:987
    39053920msgid "Recurring Frequency"
    39063921msgstr ""
     
    39263941msgstr ""
    39273942
    3928 #: webinane-commerce/includes/Classes/Orders.php:685
     3943#: webinane-commerce/includes/Classes/Orders.php:684
    39293944msgid "Processing <span class=\"count\">(%s)</span>"
    39303945msgid_plural "Processing <span class=\"count\">(%s)</span>"
     
    39323947msgstr[1] ""
    39333948
    3934 #: webinane-commerce/includes/Classes/Orders.php:696
     3949#: webinane-commerce/includes/Classes/Orders.php:695
    39353950msgid "Pending Payment <span class=\"count\">(%s)</span>"
    39363951msgid_plural "Pending Payment <span class=\"count\">(%s)</span>"
     
    39383953msgstr[1] ""
    39393954
    3940 #: webinane-commerce/includes/Classes/Orders.php:708
     3955#: webinane-commerce/includes/Classes/Orders.php:707
    39413956msgid "On Hold <span class=\"count\">(%s)</span>"
    39423957msgid_plural "On Hold <span class=\"count\">(%s)</span>"
     
    39443959msgstr[1] ""
    39453960
    3946 #: webinane-commerce/includes/Classes/Orders.php:720
     3961#: webinane-commerce/includes/Classes/Orders.php:719
    39473962msgid "Completed <span class=\"count\">(%s)</span>"
    39483963msgid_plural "Completed <span class=\"count\">(%s)</span>"
     
    39503965msgstr[1] ""
    39513966
    3952 #: webinane-commerce/includes/Classes/Orders.php:732
     3967#: webinane-commerce/includes/Classes/Orders.php:731
    39533968msgid "Cancelled <span class=\"count\">(%s)</span>"
    39543969msgid_plural "Cancelled <span class=\"count\">(%s)</span>"
     
    39563971msgstr[1] ""
    39573972
    3958 #: webinane-commerce/includes/Classes/Orders.php:743
     3973#: webinane-commerce/includes/Classes/Orders.php:742
    39593974msgid "Refunded <span class=\"count\">(%s)</span>"
    39603975msgid_plural "Refunded <span class=\"count\">(%s)</span>"
     
    39623977msgstr[1] ""
    39633978
    3964 #: webinane-commerce/includes/Classes/Orders.php:754
     3979#: webinane-commerce/includes/Classes/Orders.php:753
    39653980msgid "Failed <span class=\"count\">(%s)</span>"
    39663981msgid_plural "Failed <span class=\"count\">(%s)</span>"
     
    39683983msgstr[1] ""
    39693984
    3970 #: webinane-commerce/includes/Classes/Orders.php:816
     3985#: webinane-commerce/includes/Classes/Orders.php:815
    39713986msgid "Successfully updated"
    39723987msgstr ""
    39733988
    3974 #: webinane-commerce/includes/Classes/Orders.php:835
     3989#: webinane-commerce/includes/Classes/Orders.php:834
    39753990msgid "Invalid Post id"
    39763991msgstr ""
    39773992
    3978 #: webinane-commerce/includes/Classes/Orders.php:838
     3993#: webinane-commerce/includes/Classes/Orders.php:837
    39793994msgid "No order found for the given ID"
    39803995msgstr ""
    39813996
    3982 #: webinane-commerce/includes/Classes/Orders.php:876
     3997#: webinane-commerce/includes/Classes/Orders.php:875
    39833998msgid "Invalid order data provided"
    39843999msgstr ""
    39854000
    3986 #: webinane-commerce/includes/Classes/Orders.php:897
     4001#: webinane-commerce/includes/Classes/Orders.php:896
    39874002msgid "Order updated successfully"
    39884003msgstr ""
    39894004
    3990 #: webinane-commerce/includes/Classes/Orders.php:912
    3991 #: webinane-commerce/includes/Classes/Orders.php:985
    3992 #: webinane-commerce/includes/Classes/Orders.php:1053
    3993 #: webinane-commerce/includes/Classes/Orders.php:1105
    3994 #: webinane-commerce/includes/Classes/Orders.php:1130
    3995 #: webinane-commerce/includes/Classes/Orders.php:1159
    3996 #: webinane-commerce/includes/Classes/Orders.php:1253
     4005#: 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
    39974012#. translators: it replaces the email address.
    39984013msgid "You are not authorized to do that"
    39994014msgstr ""
    40004015
    4001 #: webinane-commerce/includes/Classes/Orders.php:942
    4002 #: webinane-commerce/includes/Classes/Orders.php:1038
     4016#: webinane-commerce/includes/Classes/Orders.php:941
     4017#: webinane-commerce/includes/Classes/Orders.php:1037
    40034018msgid "Item is updated successfully"
    40044019msgstr ""
    40054020
    4006 #: webinane-commerce/includes/Classes/Orders.php:993
    4007 #: webinane-commerce/includes/Classes/Orders.php:1008
     4021#: webinane-commerce/includes/Classes/Orders.php:992
     4022#: webinane-commerce/includes/Classes/Orders.php:1007
    40084023msgid "Product doesn't exist"
    40094024msgstr ""
    40104025
    4011 #: webinane-commerce/includes/Classes/Orders.php:1002
     4026#: webinane-commerce/includes/Classes/Orders.php:1001
    40124027msgid "Product pricie is not available"
    40134028msgstr ""
    40144029
    4015 #: webinane-commerce/includes/Classes/Orders.php:1032
     4030#: webinane-commerce/includes/Classes/Orders.php:1031
    40164031msgid "Item is already in order, please update its quantity"
    40174032msgstr ""
    40184033
    4019 #: webinane-commerce/includes/Classes/Orders.php:1089
    4020 #: webinane-commerce/includes/Classes/Orders.php:1115
     4034#: webinane-commerce/includes/Classes/Orders.php:1088
     4035#: webinane-commerce/includes/Classes/Orders.php:1114
    40214036msgid "Note added successfully"
    40224037msgstr ""
    40234038
    4024 #: webinane-commerce/includes/Classes/Orders.php:1143
    4025 #: webinane-commerce/includes/Classes/Orders.php:1168
     4039#: webinane-commerce/includes/Classes/Orders.php:1142
     4040#: webinane-commerce/includes/Classes/Orders.php:1167
    40264041msgid "Note deleted successfully"
    40274042msgstr ""
    40284043
    4029 #: webinane-commerce/includes/Classes/Orders.php:1180
     4044#: webinane-commerce/includes/Classes/Orders.php:1179
    40304045msgid "Donor"
    40314046msgstr ""
    40324047
    4033 #: webinane-commerce/includes/Classes/Orders.php:1184
     4048#: webinane-commerce/includes/Classes/Orders.php:1183
    40344049msgid "Number of Items"
    40354050msgstr ""
    40364051
    4037 #: webinane-commerce/includes/Classes/Orders.php:1380
     4052#: webinane-commerce/includes/Classes/Orders.php:1379
    40384053msgid "You have no permissions to do that"
    40394054msgstr ""
    40404055
    4041 #: webinane-commerce/includes/Classes/Orders.php:1391
     4056#: webinane-commerce/includes/Classes/Orders.php:1390
    40424057msgid "Refund is processed successfully"
    40434058msgstr ""
    40444059
    4045 #: webinane-commerce/includes/Classes/Orders.php:1393
     4060#: webinane-commerce/includes/Classes/Orders.php:1392
    40464061msgid "Gateway is not enabled"
    40474062msgstr ""
    40484063
    4049 #: webinane-commerce/includes/Classes/Orders.php:1396
     4064#: webinane-commerce/includes/Classes/Orders.php:1395
    40504065msgid "Invalid gateway"
    40514066msgstr ""
     
    40534068#: webinane-commerce/includes/Classes/Webinane.php:159
    40544069msgid "Minimum PHP version 7.1 is required for Webinane Commerce to work"
     4070msgstr ""
     4071
     4072#: webinane-commerce/includes/Fields/Switcher.php:71
     4073msgid "ON"
     4074msgstr ""
     4075
     4076#: webinane-commerce/includes/Fields/Switcher.php:72
     4077msgid "OFF"
    40554078msgstr ""
    40564079
     
    40764099msgstr ""
    40774100
    4078 #: webinane-commerce/includes/Gateways/GatewayOffline.php:39
     4101#: webinane-commerce/includes/Gateways/GatewayOffline.php:40
    40794102msgid "Offline Payment"
    40804103msgstr ""
    40814104
    4082 #: webinane-commerce/includes/Gateways/GatewayOffline.php:40
     4105#: webinane-commerce/includes/Gateways/GatewayOffline.php:41
    40834106msgid "Pay offline via check or cash"
    40844107msgstr ""
    40854108
    4086 #: webinane-commerce/includes/Gateways/GatewayOffline.php:68
    4087 #: webinane-commerce/includes/Gateways/GatewayOffline.php:70
     4109#: webinane-commerce/includes/Gateways/GatewayOffline.php:69
     4110#: webinane-commerce/includes/Gateways/GatewayOffline.php:71
    40884111msgid "Offline Gateway"
    40894112msgstr ""
    40904113
    4091 #: webinane-commerce/includes/Gateways/GatewayOffline.php:76
    4092 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:98
     4114#: webinane-commerce/includes/Gateways/GatewayOffline.php:77
     4115#: webinane-commerce/includes/Gateways/GatewayPaypal.php:100
    40934116msgid "Title to show on the checkout page"
    40944117msgstr ""
    40954118
    4096 #: webinane-commerce/includes/Gateways/GatewayOffline.php:86
    4097 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:109
     4119#: webinane-commerce/includes/Gateways/GatewayOffline.php:88
     4120#: webinane-commerce/includes/Gateways/GatewayPaypal.php:111
    40984121msgid "Description to show on the checkout page"
    40994122msgstr ""
    41004123
    4101 #: webinane-commerce/includes/Gateways/GatewayOffline.php:95
     4124#: webinane-commerce/includes/Gateways/GatewayOffline.php:97
    41024125msgid "Payment Instructions"
    41034126msgstr ""
    41044127
    4105 #: webinane-commerce/includes/Gateways/GatewayOffline.php:96
     4128#: webinane-commerce/includes/Gateways/GatewayOffline.php:98
    41064129msgid "Enter the instructions to show users that how to pay offline"
    41074130msgstr ""
    41084131
    4109 #: webinane-commerce/includes/Gateways/GatewayOffline.php:134
     4132#: webinane-commerce/includes/Gateways/GatewayOffline.php:136
    41104133msgid "The gateway is not active, please try another gateway"
    41114134msgstr ""
    41124135
    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
    41254139msgid "PayPal Standard"
    41264140msgstr ""
    41274141
    4128 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:70
     4142#: webinane-commerce/includes/Gateways/GatewayPaypal.php:71
    41294143msgid "Pay using PayPal"
    41304144msgstr ""
    41314145
    4132 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:92
     4146#: webinane-commerce/includes/Gateways/GatewayPaypal.php:94
    41334147msgid "Enable sandbox mode to do test payments"
    41344148msgstr ""
    41354149
    4136 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:119
     4150#: webinane-commerce/includes/Gateways/GatewayPaypal.php:121
    41374151msgid "PayPal Email"
    41384152msgstr ""
    41394153
    4140 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:120
     4154#: webinane-commerce/includes/Gateways/GatewayPaypal.php:122
    41414155msgid "Please enter your PayPal email, it is need to take the orders"
    41424156msgstr ""
    41434157
    4144 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:130
     4158#: webinane-commerce/includes/Gateways/GatewayPaypal.php:132
    41454159msgid "API Username"
    41464160msgstr ""
    41474161
    4148 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:131
     4162#: webinane-commerce/includes/Gateways/GatewayPaypal.php:133
    41494163msgid ""
    41504164"Please enter your PayPal live API username, Learn how to access <a "
     
    41544168msgstr ""
    41554169
    4156 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:141
     4170#: webinane-commerce/includes/Gateways/GatewayPaypal.php:143
    41574171msgid "API Password"
    41584172msgstr ""
    41594173
    4160 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:142
     4174#: webinane-commerce/includes/Gateways/GatewayPaypal.php:144
    41614175msgid "Please enter your PayPal live API password"
    41624176msgstr ""
    41634177
    4164 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:152
     4178#: webinane-commerce/includes/Gateways/GatewayPaypal.php:154
    41654179msgid "API Signature"
    41664180msgstr ""
    41674181
    4168 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:153
     4182#: webinane-commerce/includes/Gateways/GatewayPaypal.php:155
    41694183msgid ""
    41704184"Please enter your PayPal live API signature, the IPN listening URL should "
     
    41724186msgstr ""
    41734187
    4174 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:314
    4175 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:653
     4188#: webinane-commerce/includes/Gateways/GatewayPaypal.php:316
     4189#: webinane-commerce/includes/Gateways/GatewayPaypal.php:655
    41764190msgid "Billing agreement"
    41774191msgstr ""
    41784192
    4179 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:742
     4193#: webinane-commerce/includes/Gateways/GatewayPaypal.php:744
    41804194msgid "Invalid profile ID"
    41814195msgstr ""
    41824196
    4183 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:911
     4197#: webinane-commerce/includes/Gateways/GatewayPaypal.php:913
    41844198msgid "Payment was not completed, cannot give refund"
    41854199msgstr ""
    41864200
    4187 #: webinane-commerce/includes/Gateways/GatewayPaypal.php:955
     4201#: webinane-commerce/includes/Gateways/GatewayPaypal.php:957
    41884202msgid "Refund is processed successfully in PayPal"
    41894203msgstr ""
     
    47734787msgstr ""
    47744788
    4775 #: webinane-commerce/includes/Classes/Orders.php:684
     4789#: webinane-commerce/includes/Classes/Orders.php:683
    47764790msgctxt "post status label"
    47774791msgid "Processing "
    47784792msgstr ""
    47794793
    4780 #: webinane-commerce/includes/Classes/Orders.php:695
     4794#: webinane-commerce/includes/Classes/Orders.php:694
    47814795msgctxt "post status label"
    47824796msgid "Pending Payment "
    47834797msgstr ""
    47844798
    4785 #: webinane-commerce/includes/Classes/Orders.php:707
     4799#: webinane-commerce/includes/Classes/Orders.php:706
    47864800msgctxt "post status label"
    47874801msgid "On Hold "
    47884802msgstr ""
    47894803
    4790 #: webinane-commerce/includes/Classes/Orders.php:719
     4804#: webinane-commerce/includes/Classes/Orders.php:718
    47914805msgctxt "post status label"
    47924806msgid "Completed "
    47934807msgstr ""
    47944808
    4795 #: webinane-commerce/includes/Classes/Orders.php:731
     4809#: webinane-commerce/includes/Classes/Orders.php:730
    47964810msgctxt "post status label"
    47974811msgid "Cancelled "
    47984812msgstr ""
    47994813
    4800 #: webinane-commerce/includes/Classes/Orders.php:742
     4814#: webinane-commerce/includes/Classes/Orders.php:741
    48014815msgctxt "post status label"
    48024816msgid "Refunded "
    48034817msgstr ""
    48044818
    4805 #: webinane-commerce/includes/Classes/Orders.php:753
     4819#: webinane-commerce/includes/Classes/Orders.php:752
    48064820msgctxt "post status label"
    48074821msgid "Failed "
  • lifeline-donation/trunk/lifeline-donation.php

    r2388856 r2392763  
    88 * Text Domain:     lifeline-donation
    99 * Domain Path:     /languages
    10  * Version:         1.2.0.3
     10 * Version:         1.2.0.4
    1111 *
    1212 * @package         Lifeline_Donation
  • lifeline-donation/trunk/readme.txt

    r2388856 r2392763  
    55Requires at least: 5.0
    66Tested up to: 5.5
    7 Stable tag: 1.2.0.3
     7Stable tag: 1.2.0.4
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    7474
    7575== 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
    7682= Version 1.2.0.2 =
    7783- 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  
    21582158    width: 100%;
    21592159}
    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  
    11<?php
     2use WebinaneCommerce\Fields\Country;
     3use WebinaneCommerce\Fields\Select;
     4use WebinaneCommerce\Fields\Switcher;
     5use WebinaneCommerce\Fields\Text;
    26
    37return array(
     
    1317                'heading'   => esc_html__('Address Information', 'lifeline-donation'),
    1418                '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' )),
    5934                   
    6035                )
     
    6540                'heading'   => esc_html__('Currency Information', 'lifeline-donation'),
    6641                '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([
    8850                            'left'      => esc_html__( 'Left', 'lifeline-donation' ),
    8951                            'right'     => esc_html__( 'Right', 'lifeline-donation' ),
    9052                            'left_s'    => esc_html__( 'Left with Space', 'lifeline-donation' ),
    9153                            '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                   
    11967                )
    12068            )
     
    13179                'tabs'       => apply_filters( 'wpcommerce_payment_gateways_setting_tabs', array() ),
    13280                'id'        => 'gateways',
    133                 'default'   => []
     81                'default'   => ['offline_gateway' => []]
    13482            ),
    13583
     
    14189        'id'            => 'display_settings',
    14290        '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' )),
    15895
    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' )),
    180106        ) )
    181107    ),
  • lifeline-donation/trunk/webinane-commerce/includes/Admin/Settings.php

    r2388789 r2392763  
    55use WebinaneCommerce\Helpers\Connect;
    66use WebinaneCommerce\Helpers\MapOldFields;
     7use WebinaneCommerce\Helpers\SettingsResource;
    78
    89/**
     
    6667        Connect::init();
    6768        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);*/
    6876    }
    6977
     
    8391     */
    8492    static function admin_custom_css() {
    85         $version = (defined('WP_DEBUG') && WP_DEBUG ) ? time() : time();
     93        $version = (defined('WP_DEBUG') && WP_DEBUG ) ? time() : WPCM_VERSION;
    8694        wp_enqueue_editor();
    8795        wp_enqueue_media();
     
    140148            $settings = apply_filters( 'wpcommerce_settings', $settings );
    141149           
    142             $settings = self::instance()->make($settings);
     150            $settings = (new SettingsResource($settings, wpcm_get_settings()))->resolve();
     151            // $settings = self::instance()->make($settings);
    143152
    144153            $options = wpcm_get_settings(false, true);
     
    234243
    235244        $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 ) {
    238247            foreach( $li as $field ) {
    239248                if( isset( $field['id']) && ! isset( $options[ $field['id'] ] ) ) {
  • lifeline-donation/trunk/webinane-commerce/includes/Classes/Enqueue.php

    r2386206 r2392763  
    1717        $trans = include WNCM_PATH . 'config/i18n.php';
    1818        $version = (defined('WP_DEBUG') && WP_DEBUG ) ? time() : WPCM_VERSION;
    19 
    20        
    2119
    2220        self::common();
     
    7775        );
    7876        wp_localize_script( 'vuejs', 'wpcm_data', $data );
     77    }
    7978
    80     }
    8179    static function admin_enqueue() {
    8280        $settings = wpcm_get_settings();
     
    9492        $vars = compact('symbol', 'position', 'sep', 'd_sep', 'd_point');
    9593        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 );
    9795    }
    9896
  • lifeline-donation/trunk/webinane-commerce/includes/Classes/Extensions.php

    r2388230 r2392763  
    4343
    4444        $config = self::ext_config();
     45
    4546        if ( ! function_exists('is_plugin_active')) {
    4647            require_once ABSPATH . '/wp-admin/includes/plugin.php';
     
    4849
    4950        foreach (self::$extensions as $file => $ext) {
    50            
    5151            if($found = array_get($config, $ext)) {
    5252                if(is_plugin_active( $ext )) {
     
    7979            }
    8080        }
    81         $items[] = 'webinane-stripe';
    8281
    8382        return $items;
  • lifeline-donation/trunk/webinane-commerce/includes/Classes/Gateways.php

    r2388230 r2392763  
    4848    }
    4949
     50    function computedValue($resource, $att) {
     51        return array_get($resource, 'gateways.'.$this->id.'_gateway.'.$att);
     52    }
     53
    5054    public function jsonSerialize() {
    5155        return [
  • lifeline-donation/trunk/webinane-commerce/includes/Classes/Orders.php

    r2364873 r2392763  
    551551            );
    552552        }
    553 
    554553        $order->order_items = $order->items;
    555         $gateway = $order->meta_data->_wpcm_order_gateway;
     554        $gateway = array_get($order->meta_data, '_wpcm_order_gateway');
    556555        $meta_data = [
    557556            [
     
    561560            [
    562561                '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'))
    564563            ]
    565564        ];
  • lifeline-donation/trunk/webinane-commerce/includes/Classes/Webinane.php

    r2388856 r2392763  
    243243           }
    244244        }
    245        
    246245    }
    247246
  • lifeline-donation/trunk/webinane-commerce/includes/Gateways/GatewayOffline.php

    r2388230 r2392763  
    8181                        'data-dependency_id'        => 'offline_payment_status',
    8282                        'data-dependency_value'     => 'on'
    83                     )
     83                    ),
     84                    'parent'    => 'gateways.offline_gateway'
    8485                ),
    8586                array(
  • lifeline-donation/trunk/webinane-commerce/includes/Gateways/GatewayPaypal.php

    r2388789 r2392763  
    9191            'icon'          => 'fa fa-th',
    9292            'id'            => 'paypal_express_gateway',
     93            'heading'   => esc_html__('PayPal Standard', 'lifeline-donation'),
    9394            "sandbox_help" => esc_html__('Enable sandbox mode to do test payments', 'lifeline-donation'),
    9495            "has_sandbox"   => true,
     
    172173    function is_active() {
    173174        $status = wpcm_get_settings()->get('paypal_express_gateway');
    174 
    175175        if( ! $status ) {
    176176            return false;
  • lifeline-donation/trunk/webinane-commerce/includes/Helpers/Api.php

    r2362947 r2392763  
    1818
    1919    /**
    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     }
     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    }
    3737
    3838    /**
     
    8383        return self::$storage;
    8484
    85     }
    86 
    87     /**
     85    }
     86
     87    /**
    8888     * remove storage.
    8989     *
     
    9292    public static function remove_storage()
    9393    {
    94         if(!get_option(self::OPT_KEY)){
    95             return;
    96         }
     94        if(!get_option(self::OPT_KEY)){
     95            return;
     96        }
    9797
    9898        return delete_option(self::OPT_KEY);
     
    217217        }
    218218        return false;
    219     }
     219    }
    220220
    221221    /**
     
    234234    }
    235235
    236     /**
     236    /**
    237237     * Get the status if disconnected or not.
    238238     *
     
    240240     */
    241241    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        }
    249249        return delete_transient( self::TRANSIENT );
    250250    }
  • lifeline-donation/trunk/webinane-commerce/templates/admin/order-metabox-basic.php

    r2384455 r2392763  
    1111    <notif v-on:done="onDone" :result="result" :type="result_type" :msg="result_msg"></notif>
    1212    <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>
    1414        <div class="wpcm-row">
    1515            <div class="wpcm-col-sm-6">
Note: See TracChangeset for help on using the changeset viewer.