Booking Calendar - Version 9.2

Version Description

  • Changes in all versions:
    • New. modern toolbar with handy buttons, dropdown lists and other elements that have been redesigned and rearranged in a new smarter way.
    • New. Refreshed colors of labels, icons, buttons and other UI elements for modern and clear look.
    • New. Rearranged content of booking details in unified way for all Booking Calendar versions.
    • New. Instant showing booking listing, using ajax without page reloading when filtering search results. Single page app design.
    • New. Immediate searching of bookings for a specific keyword. Reservations are displayed just after entering a specific keyword without other user actions.
    • New. Highlighting certain keywords in booking details to make it easier to find specific data when entering keywords.
    • New. Saving any choice of filter options (select-boxes and other UI toolbar elements), toolbar selection or user options personally for each user. User will see last configured search filter parameters each time, when open admin panel.
    • New. Keeping last selected filter or actions toolbar, during each time, when user open booking admin panel. No need to define default state of toolbars in the settings.
    • New. User options toolbar, where possible to select "Emails sending" on specific actions or "Show notes" by default (in paid versions).
    • New. Print feature is available in the Free version.
    • New. Print layout displaying the exact content of the booking listing page.
    • New. Ability to print any selected bookings**. Possibility to print all bookings / selected bookings / specific single booking.
    • New. Added 2 new filter options Check in today and Check out today to display bookings on the booking list page
    • New. Ability to define and save the locale for each specific booking. This locale is saved and will exist when the following pages are loaded. Previously such option was not saved and was available only in paid versions.
    • New. Show action buttons when such actions can be applied to specific bookings. You need to select bookings to display additional action buttons like "Confirm" or "Reject", etc...
    • Improvement. Smarter structure of request parameters escaping.
    • Lots of other improvements and fixes...
  • Changes in Personal / Business Small / Business Medium / Business Large / MultiUser versions:
    • New. Export CSV functionality. Ability to enter field names to skip from the export.
    • New. Selection export of single or all pages and CSV column separator in pop-up window.
Download this release

Release Info

Developer wpdevelop
Plugin Icon 128x128 Booking Calendar
Version 9.2
Comparing to
See all releases

Code changes from version 9.1.4 to 9.2

Files changed (40) hide show
  1. core/admin/api-settings.php +53 -4
  2. core/admin/page-bookings.php +10 -0
  3. core/admin/page-form-free.php +3 -3
  4. core/admin/page-form-timeslots.php +1 -1
  5. core/admin/wpbc-sql.php +10 -2
  6. core/admin/wpbc-toolbars.php +37 -17
  7. core/any/js/admin-support.js +13 -4
  8. core/class/wpbc-class-welcome.php +286 -134
  9. core/lib/wpbc-ajax.php +2 -2
  10. core/sync/wpbc-gcal-class.php +8 -3
  11. core/sync/wpbc-gcal.php +1 -1
  12. core/wpbc-activation.php +5 -2
  13. core/wpbc-constants.php +1 -8
  14. core/wpbc-include.php +2 -1
  15. core/wpbc-js.php +1 -1
  16. core/wpbc.php +12 -0
  17. includes/_listing_css_js/listing_ui.css +482 -0
  18. includes/_listing_css_js/listing_ui.js +188 -0
  19. includes/_listing_css_js/listing_ui.php +78 -0
  20. includes/_pagination/pagination.css +53 -0
  21. includes/_pagination/pagination.js +35 -0
  22. includes/_pagination/pagination.php +318 -0
  23. includes/_toolbar_ui/_out/toolbar_ui.css +993 -0
  24. includes/_toolbar_ui/_out/toolbar_ui.js +97 -0
  25. includes/_toolbar_ui/_out/toolbar_ui.min.css +2 -0
  26. includes/_toolbar_ui/_out/toolbar_ui.min.js +2 -0
  27. includes/_toolbar_ui/_src/toolbar_ui.css +889 -0
  28. includes/_toolbar_ui/_src/toolbar_ui.js +114 -0
  29. includes/_toolbar_ui/toolbar_ui.php +3652 -0
  30. includes/index.php +2 -0
  31. includes/page-bookings/_out/bookings__actions.js +512 -0
  32. includes/page-bookings/_out/bookings__actions.min.js +2 -0
  33. includes/page-bookings/_out/bookings__hooks.js +143 -0
  34. includes/page-bookings/_out/bookings__hooks.min.js +2 -0
  35. includes/page-bookings/_out/bookings__listing.js +502 -0
  36. includes/page-bookings/_out/bookings__listing.min.js +2 -0
  37. includes/page-bookings/_src/bookings__actions.js +589 -0
  38. includes/page-bookings/_src/bookings__hooks.js +179 -0
  39. includes/page-bookings/_src/bookings__listing.js +534 -0
  40. includes/page-bookings/bookings__actions.php +1985 -0
core/admin/api-settings.php CHANGED
@@ -45,8 +45,8 @@ class WPBC_Settings_API_General extends WPBC_Settings_API {
45
  $this->fields = array();
46
 
47
  $default_options_values = wpbc_get_default_options();
48
-
49
-
50
  // <editor-fold defaultstate="collapsed" desc=" C a l e n d a r S e c t i o n " >
51
 
52
  // Calendar Skin /////////////////////////////////////////////////////
@@ -647,7 +647,7 @@ class WPBC_Settings_API_General extends WPBC_Settings_API {
647
 
648
 
649
  // <editor-fold defaultstate="collapsed" desc=" Booking Admin Panel " >
650
-
651
  $field_options = array(
652
  'vm_listing' => __('Bookings Listing' ,'booking')
653
  , 'vm_calendar' => __('Calendar Overview' ,'booking')
@@ -662,6 +662,19 @@ class WPBC_Settings_API_General extends WPBC_Settings_API {
662
  );
663
 
664
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  //Default booking resources
666
  $this->fields = apply_filters( 'wpbc_settings_booking_listing_br_default_count', $this->fields, $default_options_values );
667
 
@@ -1260,7 +1273,43 @@ class WPBC_Settings_API_General extends WPBC_Settings_API {
1260
  public function enqueue_js( $menu_slug, $active_page_tab, $active_page_subtab ) {
1261
 
1262
  $js_script = '';
1263
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1264
  // Hide Legend items
1265
  $js_script .= "
1266
  if ( ! jQuery('#set_gen_booking_is_show_legend').is(':checked') ) {
45
  $this->fields = array();
46
 
47
  $default_options_values = wpbc_get_default_options();
48
+
49
+
50
  // <editor-fold defaultstate="collapsed" desc=" C a l e n d a r S e c t i o n " >
51
 
52
  // Calendar Skin /////////////////////////////////////////////////////
647
 
648
 
649
  // <editor-fold defaultstate="collapsed" desc=" Booking Admin Panel " >
650
+
651
  $field_options = array(
652
  'vm_listing' => __('Bookings Listing' ,'booking')
653
  , 'vm_calendar' => __('Calendar Overview' ,'booking')
662
  );
663
 
664
 
665
+
666
+
667
+ if ( WPBC_EXIST_NEW_BOOKING_LISTING ) {
668
+ $this->fields['booking_is_use_old_booking_listing'] = array(
669
+ 'type' => 'checkbox'
670
+ , 'default' => $default_options_values['booking_is_use_old_booking_listing'] //'On'
671
+ , 'title' => __('Use old Booking Listing' ,'booking')
672
+ , 'label' => __( 'Check this box to use old Booking Listing admin panel.', 'booking' ) . ' <strong>' . __( 'Deprecated', 'booking' ) . '!</strong>'
673
+ , 'description' => ''
674
+ , 'group' => 'booking_listing'
675
+ );
676
+ }
677
+
678
  //Default booking resources
679
  $this->fields = apply_filters( 'wpbc_settings_booking_listing_br_default_count', $this->fields, $default_options_values );
680
 
1273
  public function enqueue_js( $menu_slug, $active_page_tab, $active_page_subtab ) {
1274
 
1275
  $js_script = '';
1276
+
1277
+ if ( WPBC_EXIST_NEW_BOOKING_LISTING ) {
1278
+ // Hide or Show Booking Listing elements, depends on from checkbox selection
1279
+ $js_script .= " jQuery('#set_gen_booking_is_use_old_booking_listing').on( 'change', function(){
1280
+ if ( this.checked ) {
1281
+ jQuery('.wpbc_tr_set_gen_hr_booking_listing_before_view_days_num').removeClass('hidden_items');
1282
+ jQuery('.wpbc_tr_set_gen_booking_default_toolbar_tab').removeClass('hidden_items');
1283
+ jQuery('.wpbc_tr_set_gen_booking_num_per_page').removeClass('hidden_items');
1284
+ jQuery('.wpbc_tr_set_gen_booking_sort_order').removeClass('hidden_items');
1285
+ jQuery('.wpbc_tr_set_gen_hr_booking_listing_before_csv_export_separator').removeClass('hidden_items');
1286
+ jQuery('.wpbc_tr_set_gen_booking_csv_export_separator').removeClass('hidden_items');
1287
+ jQuery('.wpbc_tr_set_gen_booking_send_emails_off_listing').removeClass('hidden_items');
1288
+ jQuery('.wpbc_tr_set_gen_booking_listing_show_notes').removeClass('hidden_items');
1289
+ } else {
1290
+ jQuery('.wpbc_tr_set_gen_hr_booking_listing_before_view_days_num').addClass('hidden_items');
1291
+ jQuery('.wpbc_tr_set_gen_booking_default_toolbar_tab').addClass('hidden_items');
1292
+ jQuery('.wpbc_tr_set_gen_booking_num_per_page').addClass('hidden_items');
1293
+ jQuery('.wpbc_tr_set_gen_booking_sort_order').addClass('hidden_items');
1294
+ jQuery('.wpbc_tr_set_gen_hr_booking_listing_before_csv_export_separator').addClass('hidden_items');
1295
+ jQuery('.wpbc_tr_set_gen_booking_csv_export_separator').addClass('hidden_items');
1296
+ jQuery('.wpbc_tr_set_gen_booking_send_emails_off_listing').addClass('hidden_items');
1297
+ jQuery('.wpbc_tr_set_gen_booking_listing_show_notes').addClass('hidden_items');
1298
+ }
1299
+ } ); ";
1300
+ $js_script .= "
1301
+ if ( ! jQuery('#set_gen_booking_is_use_old_booking_listing').is(':checked') ) {
1302
+ jQuery('.wpbc_tr_set_gen_hr_booking_listing_before_view_days_num').addClass('hidden_items');
1303
+ jQuery('.wpbc_tr_set_gen_booking_default_toolbar_tab').addClass('hidden_items');
1304
+ jQuery('.wpbc_tr_set_gen_booking_num_per_page').addClass('hidden_items');
1305
+ jQuery('.wpbc_tr_set_gen_booking_sort_order').addClass('hidden_items');
1306
+ jQuery('.wpbc_tr_set_gen_hr_booking_listing_before_csv_export_separator').addClass('hidden_items');
1307
+ jQuery('.wpbc_tr_set_gen_booking_csv_export_separator').addClass('hidden_items');
1308
+ jQuery('.wpbc_tr_set_gen_booking_send_emails_off_listing').addClass('hidden_items');
1309
+ jQuery('.wpbc_tr_set_gen_booking_listing_show_notes').addClass('hidden_items');
1310
+ }
1311
+ ";
1312
+ }
1313
  // Hide Legend items
1314
  $js_script .= "
1315
  if ( ! jQuery('#set_gen_booking_is_show_legend').is(':checked') ) {
core/admin/page-bookings.php CHANGED
@@ -151,6 +151,16 @@ function wpbc_define_listing_page_parameters( $page_tag ) {
151
  return;
152
  }
153
 
 
 
 
 
 
 
 
 
 
 
154
  // Get saved filters set, (if its not set in request yet), like "tab" & "view_mode" and overload $_REQUEST
155
  wpbc_set_default_saved_params_to_request_for_booking_listing( 'default' );
156
  }
151
  return;
152
  }
153
 
154
+ if (
155
+ ( WPBC_EXIST_NEW_BOOKING_LISTING )
156
+ && ( 'On' != get_bk_option( 'booking_is_use_old_booking_listing' ) )
157
+ ) {
158
+ $booking_default_view_mode = wpbc_get_default_saved_view_mode_for_wpbc_page();
159
+ if ( ! isset( $_REQUEST['view_mode'] ) ) {
160
+ $_REQUEST['view_mode'] = $booking_default_view_mode; // Set to REQUEST
161
+ }
162
+ }
163
+
164
  // Get saved filters set, (if its not set in request yet), like "tab" & "view_mode" and overload $_REQUEST
165
  wpbc_set_default_saved_params_to_request_for_booking_listing( 'default' );
166
  }
core/admin/page-form-free.php CHANGED
@@ -1430,8 +1430,8 @@ class WPBC_Page_SettingsFormFieldsFree extends WPBC_Page_Structure {
1430
 
1431
  $('.wpbc_input_table').on( 'focus click', 'input', function( e ) {
1432
 
1433
- $this_table = $(this).closest('table');
1434
- $this_row = $(this).closest('tr');
1435
 
1436
  if ( ( e.type == 'focus' && hasFocus != $this_row.index() ) || ( e.type == 'click' && $(this).is(':focus') ) ) {
1437
 
@@ -1568,7 +1568,7 @@ class WPBC_Page_SettingsFormFieldsFree extends WPBC_Page_Structure {
1568
  var field_type_array = [ 'text', 'textarea', 'select', 'checkbox' , 'rangetime']; //FixIn: TimeFreeGenerator
1569
  var field_type;
1570
 
1571
- for (i = 0; i < field_type_array.length; i++) {
1572
  field_type = field_type_array[i];
1573
 
1574
  if ( ! jQuery('#' + field_type + '_field_generator_name').is(':disabled') ){ //FixIn: TimeFreeGenerator
1430
 
1431
  $('.wpbc_input_table').on( 'focus click', 'input', function( e ) {
1432
 
1433
+ var $this_table = $(this).closest('table');
1434
+ var $this_row = $(this).closest('tr');
1435
 
1436
  if ( ( e.type == 'focus' && hasFocus != $this_row.index() ) || ( e.type == 'click' && $(this).is(':focus') ) ) {
1437
 
1568
  var field_type_array = [ 'text', 'textarea', 'select', 'checkbox' , 'rangetime']; //FixIn: TimeFreeGenerator
1569
  var field_type;
1570
 
1571
+ for (var i = 0; i < field_type_array.length; i++) {
1572
  field_type = field_type_array[i];
1573
 
1574
  if ( ! jQuery('#' + field_type + '_field_generator_name').is(':disabled') ){ //FixIn: TimeFreeGenerator
core/admin/page-form-timeslots.php CHANGED
@@ -636,7 +636,7 @@ function wpbc_timeslots_table_config_js() {
636
 
637
  // Update A C T I O N for Delete buttons :: firstly Remove all "Delete" actions and then Add "Delete" button actions.
638
  jQuery( '.wpbc_input_table .delete_time_bk_link' ).off( 'click' );
639
- is_show_confirm = false;
640
  wpbc_activate_table_row_delete( '.wpbc_input_table .delete_time_bk_link', is_show_confirm );
641
 
642
  });
636
 
637
  // Update A C T I O N for Delete buttons :: firstly Remove all "Delete" actions and then Add "Delete" button actions.
638
  jQuery( '.wpbc_input_table .delete_time_bk_link' ).off( 'click' );
639
+ var is_show_confirm = false;
640
  wpbc_activate_table_row_delete( '.wpbc_input_table .delete_time_bk_link', is_show_confirm );
641
 
642
  });
core/admin/wpbc-sql.php CHANGED
@@ -31,8 +31,16 @@ function wpbc_get_default_saved_view_mode_for_wpbc_page() {
31
 
32
  //FixIn: 9.2.1
33
  if ( ! in_array( $booking_default_view_mode, array( 'vm_calendar', 'vm_listing', 'vm_booking_listing' ) ) )
34
- $booking_default_view_mode = 'vm_listing';
35
-
 
 
 
 
 
 
 
 
36
  return $booking_default_view_mode; // 'vm_calendar' / 'vm_listing' ;
37
  }
38
 
31
 
32
  //FixIn: 9.2.1
33
  if ( ! in_array( $booking_default_view_mode, array( 'vm_calendar', 'vm_listing', 'vm_booking_listing' ) ) )
34
+ $booking_default_view_mode = 'vm_listing';
35
+
36
+ if (
37
+ ( WPBC_EXIST_NEW_BOOKING_LISTING )
38
+ && ( 'On' != get_bk_option( 'booking_is_use_old_booking_listing' ) )
39
+ && ( 'vm_listing' == $booking_default_view_mode )
40
+ ) {
41
+ $booking_default_view_mode = 'vm_booking_listing';
42
+ }
43
+
44
  return $booking_default_view_mode; // 'vm_calendar' / 'vm_listing' ;
45
  }
46
 
core/admin/wpbc-toolbars.php CHANGED
@@ -463,25 +463,35 @@ function wpbc_toolbar_btn__view_mode() {
463
 
464
  $params = array();
465
 
466
- if ( function_exists( 'wpbc_ajx_get__request_params__names_default' ) ) {
 
 
 
 
 
 
 
467
  $params['btn_vm_listing_new'] = array(
468
  'title' => ''
469
  , 'hint' => array( 'title' => __('Booking Listing' ,'booking') , 'position' => 'top' )
470
- , 'selected' => ( $selected_view_mode == 'vm_booking_listing' ) ? true : false
471
  , 'link' => wpbc_get_bookings_url('booking-listing', true ) . '&view_mode=vm_booking_listing'
472
  , 'icon' => ''
473
  , 'font_icon' => 'wpbc-bi-collection'//'glyphicon glyphicon-align-justify'
474
  );
 
 
 
 
 
 
 
 
 
 
 
475
  }
476
 
477
- $params['btn_vm_listing'] = array(
478
- 'title' => ''
479
- , 'hint' => array( 'title' => __('Booking Listing' ,'booking') , 'position' => 'top' )
480
- , 'selected' => ( $selected_view_mode == 'vm_listing' ) ? true : false
481
- , 'link' => $bk_admin_url . '&view_mode=vm_listing'
482
- , 'icon' => ''
483
- , 'font_icon' => ( function_exists( 'wpbc_ajx_get__request_params__names_default' ) ) ? 'wpbc-bi-card-list' : 'wpbc-bi-collection'//'glyphicon glyphicon-align-justify'
484
- );
485
 
486
 
487
  $bk_admin_url = wpbc_get_params_in_url( wpbc_get_bookings_url( false ) , array() // Exclude Value of this parameter
@@ -2374,7 +2384,7 @@ function wpbc_datepicker_js() {
2374
  maxDate: null, //'1Y',
2375
  showStatus: false,
2376
  multiSeparator: ', ',
2377
- closeAtTop: false,
2378
  firstDay:<?php echo get_bk_option( 'booking_start_day_weeek' ); ?>,
2379
  gotoCurrent: false,
2380
  hideIfNoPrevNext:true,
@@ -2393,11 +2403,21 @@ function wpbc_datepicker_js() {
2393
 
2394
  /** Support CSS - datepick, etc... */
2395
  function wpbc_datepicker_css(){
 
 
 
 
2396
  ?>
2397
  <style type="text/css">
2398
- #datepick-div .datepick-header {
2399
- width: 172px !important;
2400
- }
 
 
 
 
 
 
2401
  #datepick-div {
2402
  -border-radius: 3px;
2403
  -box-shadow: 0 0 2px #888888;
@@ -2405,16 +2425,16 @@ function wpbc_datepicker_css(){
2405
  -webkit-box-shadow: 0 0 2px #888888;
2406
  -moz-border-radius: 3px;
2407
  -moz-box-shadow: 0 0 2px #888888;
2408
- width: 172px !important;
2409
  }
2410
  #datepick-div .datepick .datepick-days-cell a{
2411
  font-size: 12px;
2412
  }
2413
  #datepick-div table.datepick tr td {
2414
  border-top: 0 none !important;
2415
- line-height: 24px;
2416
  padding: 0 !important;
2417
- width: 24px;
2418
  }
2419
  #datepick-div .datepick-control {
2420
  font-size: 10px;
463
 
464
  $params = array();
465
 
466
+
467
+ if (
468
+ ( WPBC_EXIST_NEW_BOOKING_LISTING )
469
+ && ( 'On' != get_bk_option( 'booking_is_use_old_booking_listing' ) )
470
+ ) {
471
+
472
+ $is_selected = ( ( $selected_view_mode == 'vm_booking_listing' ) || ( $selected_view_mode == 'vm_listing' ) ) ? true : false;
473
+
474
  $params['btn_vm_listing_new'] = array(
475
  'title' => ''
476
  , 'hint' => array( 'title' => __('Booking Listing' ,'booking') , 'position' => 'top' )
477
+ , 'selected' => $is_selected
478
  , 'link' => wpbc_get_bookings_url('booking-listing', true ) . '&view_mode=vm_booking_listing'
479
  , 'icon' => ''
480
  , 'font_icon' => 'wpbc-bi-collection'//'glyphicon glyphicon-align-justify'
481
  );
482
+
483
+ } else {
484
+ $is_selected = ( ( $selected_view_mode == 'vm_booking_listing' ) || ( $selected_view_mode == 'vm_listing' ) ) ? true : false;
485
+ $params['btn_vm_listing'] = array(
486
+ 'title' => ''
487
+ , 'hint' => array( 'title' => __('Booking Listing' ,'booking') , 'position' => 'top' )
488
+ , 'selected' => $is_selected
489
+ , 'link' => $bk_admin_url . '&view_mode=vm_listing'
490
+ , 'icon' => ''
491
+ , 'font_icon' => ( function_exists( 'wpbc_ajx_get__request_params__names_default' ) ) ? 'wpbc-bi-card-list' : 'wpbc-bi-collection'//'glyphicon glyphicon-align-justify'
492
+ );
493
  }
494
 
 
 
 
 
 
 
 
 
495
 
496
 
497
  $bk_admin_url = wpbc_get_params_in_url( wpbc_get_bookings_url( false ) , array() // Exclude Value of this parameter
2384
  maxDate: null, //'1Y',
2385
  showStatus: false,
2386
  multiSeparator: ', ',
2387
+ closeAtTop: null,//!false,
2388
  firstDay:<?php echo get_bk_option( 'booking_start_day_weeek' ); ?>,
2389
  gotoCurrent: false,
2390
  hideIfNoPrevNext:true,
2403
 
2404
  /** Support CSS - datepick, etc... */
2405
  function wpbc_datepicker_css(){
2406
+
2407
+ $width = 240;
2408
+ $height = 35;
2409
+
2410
  ?>
2411
  <style type="text/css">
2412
+ #datepick-div .datepick-header {
2413
+ width: <?php echo $width ?>px !important;
2414
+ }
2415
+ #datepick-div .datepick-days-cell {
2416
+ height: <?php echo $height ?>px !important;
2417
+ }
2418
+ #datepick-div .datepick-control {
2419
+ display: none;
2420
+ }
2421
  #datepick-div {
2422
  -border-radius: 3px;
2423
  -box-shadow: 0 0 2px #888888;
2425
  -webkit-box-shadow: 0 0 2px #888888;
2426
  -moz-border-radius: 3px;
2427
  -moz-box-shadow: 0 0 2px #888888;
2428
+ width: <?php echo $width ?>px !important;
2429
  }
2430
  #datepick-div .datepick .datepick-days-cell a{
2431
  font-size: 12px;
2432
  }
2433
  #datepick-div table.datepick tr td {
2434
  border-top: 0 none !important;
2435
+ /*line-height: 24px;*/
2436
  padding: 0 !important;
2437
+ /*width: 24px;*/
2438
  }
2439
  #datepick-div .datepick-control {
2440
  font-size: 10px;
core/any/js/admin-support.js CHANGED
@@ -118,10 +118,19 @@ function wpbc_admin_show_message( message, m_type, m_delay, is_append ){
118
  }
119
 
120
  var alert_class = 'notice '; //'alert ';
121
- if (m_type == 'error') alert_class += 'notice-error '; //'alert-danger ';
122
- if (m_type == 'warning') alert_class += 'notice-warning ';
 
 
 
 
 
 
123
  if (m_type == 'info') alert_class += 'notice-info '; //'alert-info ';
124
- if (m_type == 'success') alert_class += 'alert-success updated ';
 
 
 
125
 
126
  // var ajx_working_content = '';
127
  // if ( is_append )
@@ -352,7 +361,7 @@ function wpbc_submit_client_form( submit_form, wpdev_active_locale ){
352
  var element;
353
  var el_type;
354
 
355
- for (i=0; i<count; i++) {
356
  element = submit_form.elements[i];
357
 
358
  if ( (element.type !=='button') && (element.type !=='hidden') ) {
118
  }
119
 
120
  var alert_class = 'notice '; //'alert ';
121
+ if (m_type == 'error'){
122
+ alert_class += 'notice-error ';
123
+ message = '<i style="margin-right: 0.5em;color: #d63638;" class="menu_icon icon-1x wpbc_icn_report_gmailerrorred"></i>' + message;
124
+ } //'alert-danger ';
125
+ if (m_type == 'warning'){
126
+ alert_class += 'notice-warning ';
127
+ message = '<i style="margin-right: 0.5em;color: #e9aa04;" class="menu_icon icon-1x wpbc_icn_warning"></i>' + message;
128
+ };
129
  if (m_type == 'info') alert_class += 'notice-info '; //'alert-info ';
130
+ if ( m_type == 'success' ){
131
+ alert_class += 'alert-success updated ';
132
+ message = '<i style="margin-right: 0.5em;color: #64aa45;" class="menu_icon icon-1x wpbc_icn_done_outline"></i>' + message;
133
+ }
134
 
135
  // var ajx_working_content = '';
136
  // if ( is_append )
361
  var element;
362
  var el_type;
363
 
364
+ for (var i=0; i<count; i++) {
365
  element = submit_form.elements[i];
366
 
367
  if ( (element.type !=='button') && (element.type !=='hidden') ) {
core/class/wpbc-class-welcome.php CHANGED
@@ -435,167 +435,319 @@ class WPBC_Welcome {
435
  </td>
436
  </tr>
437
  </table>
438
- <?php
439
-
440
 
441
  $this->maintence_section();
442
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
443
- // 9.0
444
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
445
- ?>
446
- <h2 style='font-size: 2.1em;'>What's New in Booking Calendar <span style="font-size: 1.1em;
447
- font-weight: 600;font-family: Consolas,Monaco,monospace;padding-left: 10px;color: #5F5F5F;">9.1</span></h2><?php
448
-
449
- ?><div class="feature-section two-col">
450
- <div class="col col-1" style="flex: 1 1 75%;width: 100%;">
451
- <img src="<?php echo $this->asset_path; ?>9.1/9.1_new_popovers2.png"
452
- style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
453
- class="wpbc-section-image" />
454
- </div>
455
- <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
456
- <?php echo
457
- '<h4>' .wpbc_recheck_strong_symbols( 'New Popover and Tooltips' ) . '</h4>' .
458
- '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
459
- . '<li>' . wpbc_recheck_strong_symbols( 'Faster and more accurate display of beautiful and informative popovers and tooltips. New script for displaying popover and tooltips in the Booking Calendar.' ) . '</li>'
460
- . '<li>' . wpbc_recheck_strong_symbols( 'For 2 or more bookings on the Timeline and Calendar Overview page, the system displays the title of the bookings exactly near to the specific booking details in popovers' ) . '</li>'
461
- . '<li>' . wpbc_recheck_strong_symbols( 'Avoiding script conflicts regarding popovers and tooltips' ) . '</li>'
462
- . '</ul>';
463
- ?>
464
- <!--span style="font-size:0.8em;padding:1em;">* This feature is available in the Booking Calendar Business Small or higher versions.</span-->
465
- </div>
466
- </div><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
467
 
468
  $this->show_separator();
469
 
470
- ?><div class="feature-section two-col">
471
- <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
 
 
 
 
 
 
 
 
 
 
 
 
 
472
  <?php echo
473
- '<h4>' .wpbc_recheck_strong_symbols( 'New UI elements' ) . '</h4>' .
474
- '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
475
- . '<li>' . wpbc_recheck_strong_symbols( '**Icons for UI elements** in the booking admin panel.' ) . '</li>'
476
- . '<li>' . wpbc_recheck_strong_symbols( '**Booking Calendar Icon** for WordPress side menu.' ) . '</li>'
477
- . '</ul>' .
478
- '<h4>' .wpbc_recheck_strong_symbols( 'Improvements and fixes' ) . '</h4>' .
479
- '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
480
- . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Separate library for modal windows to prevent script conflicts' ) . '</li>'
481
- //. '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Removing old Bootstrap library' ) . '</li>'
482
- //. '<li>' . wpbc_recheck_strong_symbols( '**Fix**. issue of showing "Warning! Number of check in != check out times." after import .ics feed with specific start/end time' ) . '</li>'
483
- //. '<li>' . wpbc_recheck_strong_symbols( '**Fix**. issue of not hiding booked time slots after selecting date in calendar, for the bookings that was imported from ics feed with specific timeslots' ) . '</li>'
484
- //. '<li>' . wpbc_recheck_strong_symbols( '**Fix**. issue of unable expand or collapse right side WordPress menu, while opened Booking Calendar pages.' ) . '</li>'
485
- . '<li>' . wpbc_recheck_strong_symbols( 'Lots of other improvements and fixes...' ) . '</li>'
486
- . '</ul>';
487
- ?>
488
- </div>
489
- <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
490
 
491
- <img src="<?php echo $this->asset_path; ?>9.1/9.1_new_icons2.png"
492
- style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
493
- class="wpbc-section-image" />
494
- <div style="font-style:italic;font-size:0.75em;padding:1em;text-align: right;">* This picture from paid version of Booking Calendar</div>
495
- </div>
496
- </div><?php
497
 
498
  $this->show_separator();
499
 
 
500
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////
501
- // 9.0
502
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////
503
  ?>
504
- <h2 style='font-size: 2.1em;'>What's New in Booking Calendar <span style="font-size: 1.1em;
505
- font-weight: 600;font-family: Consolas,Monaco,monospace;padding-left: 10px;color: #5F5F5F;">9.0</span></h2><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
506
 
507
- ?><div class="feature-section two-col">
508
- <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
509
- <?php echo
510
- '<h4>' .wpbc_recheck_strong_symbols( 'Time slots' ) . '</h4>' .
511
- '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
512
- . '<li>' . wpbc_recheck_strong_symbols( 'Showing **time slots as dots** in calendar day cells. Modern and beautiful view of time slots within calendar days.' ) . '</li>'
513
- . '<li>' . wpbc_recheck_strong_symbols( 'Display the **exact number** of booked **time slots** in calendar day cells. System shows **as many dots** (time slots) as many time slots have been booked for a particular day. Your customers can see occupancy by time interval from the beginning of the calendar view.' ) . '</li>'
514
- . '<li>' . wpbc_recheck_strong_symbols( '**Improvement** CSS styling in all calendar skins. If you have customized a calendar skin before, check the changes in the new calendar skins marked with a number: 8.9.4.13 ' ) . '</li>'
515
- . '</ul>';
516
- ?>
517
- </div>
518
- <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
519
 
520
- <img src="<?php echo $this->asset_path; ?>9.0/wpbc-9-0-time-slots.png"
521
- style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
522
- class="wpbc-section-image" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
523
 
524
- </div>
525
- </div><?php
526
 
527
- $this->show_separator();
 
 
 
528
 
529
- ?><div class="feature-section two-col">
530
- <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
531
- <img src="<?php echo $this->asset_path; ?>9.0/wpbc-9-0-co2.png"
532
- style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
533
- class="wpbc-section-image" />
534
- </div>
535
- <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
536
- <?php echo
537
- '<h4>' .wpbc_recheck_strong_symbols( 'Change over days' ) . '</h4>' .
538
- '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
539
- . '<li>' . wpbc_recheck_strong_symbols( 'Accurate clear display of the diagonal change over days line. Now it correctly shows the **diagonal line for any shape of day cells** (square or rectangle). This means that for any calendar size you will see the correct sharp diagonal line.' ) . '</li>'
540
- . '<li>' . wpbc_recheck_strong_symbols( 'Show **diagonal line in dates**, where we have check in/out bookings with the **same status (pending or approved)**. It is useful to see where one booking ends and another begins when both bookings are pending or approved. Previously it was shown just full booked date without diagonal line.' ) . '</li>'
541
- . '<li>' . wpbc_recheck_strong_symbols( 'The ability to use **change over days only on certain pages**. Useful in a situation where you need to make a booking with change over days at on a certain page(s) (check in/out dates with diagonal lines) and make bookings for specific time slots on another page(s). You can define list of pages on which to use this feature at the Booking > Settings General page in "Calendar" section.' ) . '</li>'
542
- . '</ul>';
543
- ?>
544
- <span style="font-size:0.8em;padding:1em;">* This feature is available in the Booking Calendar Business Small or higher versions.</span>
545
- </div>
546
  </div><?php
547
 
548
- $this->show_separator();
549
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
550
 
551
- ?><div class="feature-section one-col">
552
- <div class="col col-1" style="flex: 1 1 100%;width: 100%;">
553
- <?php echo '<h4>' .wpbc_recheck_strong_symbols( 'Timeline' ) . '</h4>' ;?>
554
- <img src="<?php echo $this->asset_path; ?>9.0/wpbc-9-0-timeline.png"
555
- style="margin:30px 5px 0;width: 100%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
556
- class="wpbc-section-image" />
557
- </div>
558
- <div class="col col-2 last-feature" style="flex: 1 1 100%;width: 100%;">
559
- <?php echo
560
- '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
561
- . '<li>' . wpbc_recheck_strong_symbols( '**Timeline**. Ability to **define how many days to show in Timeline** at the front-end side, while showing Timeline for one booking resource, and select "**Month view mode**" in shortcode (parameter "view_days_num=30" or this parameter skipped). You can define it at the Booking > Settings General page in "Calendar Overview | Timeline" section.' ) . '</li>'
562
- . '<li>' . wpbc_recheck_strong_symbols( '**Calendar Overview** page. Ability to **define how many days to show** in the Calendar Overview page in the admin panel, while showing Calendar Overview page for one booking resource, and selected "**Day view mode**". You can define it at the Booking > Settings General page in "Calendar Overview | Timeline" section.' ) . '</li>'
563
- . '<li>' . wpbc_recheck_strong_symbols( 'Timeline / Calendar Overview page. Scroll exactly the number of days (for one booking resource, and select "Month view mode" / "Day view mode"), that was defined at option "Days number to show in Month mode in Timeline" / "Days number to show in Day view mode in Calendar Overview page".' ) . '</li>'
564
- . '<li>' . wpbc_recheck_strong_symbols( 'Separate settings sections for "Calendar Overview" | "Timeline" options at the Booking > Settings General page.' ) . '</li>'
565
- . '</ul>';
566
- ?>
567
- </div>
568
- </div><?php
569
 
570
- $this->show_separator();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
571
 
572
- ?><div class="feature-section two-col">
573
- <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
574
- <?php echo
575
- '<h4>' .wpbc_recheck_strong_symbols( 'Translations' ) . '</h4>' .
576
- '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
577
- . '<li>' . wpbc_recheck_strong_symbols( '**New**. Ability to define where firstly plugin tries to use translations from "../wp-content/languages/plugins/", or from "../wp-content/plugins/{Booking Calendar Folder}/languages/" folder. You can change this behavior at the Booking > Settings General page.' ) . '</li>'
578
- . '<li>' . wpbc_recheck_strong_symbols( '**New**. Force plugin translation update. Download and update plugin translations from WordPress translation repository and from wpbookingcalendar.com You can make updates at Booking > Settings General page in Translation section.' ) . '</li>'
579
- . '<li>' . wpbc_recheck_strong_symbols( '**New**. Check translation status at WordPress translation repository and local translation from wpbookingcalendar.com to understand what translation to load. You can check it at the Booking > Settings General page in the Translation section.' ) . '</li>'
580
- . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Booking Calendar by default does not contain MO and PO translation files. You can force download them at the Booking > Settings General page in the Translation section.' ) . '</li>'
581
- . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Switching language/locale by using "Globe icon" in the Booking Listing page has higher priority than switching languages by translation plugins.' ) . '</li>'
582
- . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Optimization structure of country list file for future translations.' ) . '</li>'
583
- . '<li>' . wpbc_recheck_strong_symbols( '**Compatibility**. Support WPML 4.5.4' ) . '</li>'
584
- . '<li>' . wpbc_recheck_strong_symbols( '**Compatibility**. Support Polylang 3.1.4' ) . '</li>'
585
- . '<li>' . wpbc_recheck_strong_symbols( '**Compatibility**. Support qTranslate-X 3.4.6.8 (Currently closed "qTranslate-X", was tested with Booking Calendar in php 5.6)' ) . '</li>'
586
- . '</ul>';
587
- ?>
588
- </div>
589
- <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
590
 
591
- <img src="<?php echo $this->asset_path; ?>9.0/wpbc-9-0-translations.png"
592
- style="margin:30px 5px 0;width: 62%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
593
- class="wpbc-section-image" />
594
 
595
- </div>
596
- </div><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
597
 
598
- $this->show_separator();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
599
 
600
  // <editor-fold defaultstate="collapsed" desc=" 8.9 " >
601
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////
435
  </td>
436
  </tr>
437
  </table>
438
+ <?php
 
439
 
440
  $this->maintence_section();
441
+
442
+
443
+
444
+
445
+ ?><h2 style='font-size: 2.1em;'>What's New in Booking Calendar <span style="font-size: 1.1em;
446
+ font-weight: 600;font-family: Consolas,Monaco,monospace;padding-left: 10px;color: #5F5F5F;">9.2</span></h2><?php
447
+
448
+ ?><div class="feature-section one-col">
449
+ <div class="col col-1" style="flex: 1 1 100%;width: 100%;">
450
+ <?php echo '<h4>' .wpbc_recheck_strong_symbols( 'New Booking Listing - modern looking & instant working' ) . '</h4>' ;?>
451
+ <img src="<?php echo $this->asset_path; ?>9.2/booking_listing_text_searching_long.png"
452
+ style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
453
+ class="wpbc-section-image" />
454
+ </div>
455
+ <div class="col col-2 last-feature" style="flex: 1 1 100%;width: 100%;">
456
+ <?php echo
457
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
458
+ . '<li>' . wpbc_recheck_strong_symbols( '**New modern toolbar** with handy buttons, dropdown lists and other elements that have been redesigned and rearranged in a new smarter way.' ) . '</li>'
459
+ . '<li>' . wpbc_recheck_strong_symbols( '**Refreshed colors** of labels, icons, buttons and other UI elements for modern and clear look.' ) . '</li>'
460
+ . '<li>' . wpbc_recheck_strong_symbols( 'Rearranged content of booking details in unified way for all Booking Calendar versions.' ) . '</li>'
461
+ . '</ul>';
462
+ ?>
463
+ </div>
464
+ </div><?php
465
+
466
+ $this->show_separator();
467
+
468
+ ?><div class="feature-section two-col">
469
+ <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
470
+ <?php echo
471
+ '<h4>' .wpbc_recheck_strong_symbols( 'Instant working without page reloading' ) . '</h4>' .
472
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
473
+ . '<li>' . wpbc_recheck_strong_symbols( '**Instant showing booking listing**, using ajax without page reloading when filtering search results. Single page app design.' ) . '</li>'
474
+ . '<li>' . wpbc_recheck_strong_symbols( 'Immediate **searching** of bookings for a **specific keyword**. Reservations are displayed just after entering a specific keyword without other user actions.' ) . '</li>'
475
+ . '<li>' . wpbc_recheck_strong_symbols( '**Highlighting** certain **keywords** in booking details to make it easier to find specific data when entering keywords.' ) . '</li>'
476
+ . '</ul>' ;
477
+ ?>
478
+ </div>
479
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 70%;">
480
+
481
+ <img src="<?php echo $this->asset_path; ?>9.2/screenshot-01_high_res.gif"
482
+ style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
483
+ class="wpbc-section-image" />
484
+ </div>
485
+ </div><?php
486
+
487
+ $this->show_separator();
488
+
489
+ ?><div class="feature-section two-col">
490
+ <div class="col col-1" style="flex: 1 1 75%;width: 100%;">
491
+ <img src="<?php echo $this->asset_path; ?>9.2/booking_listing_dates_filtering.png"
492
+ style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
493
+ class="wpbc-section-image" />
494
+ </div>
495
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
496
+ <?php echo
497
+ '<h4>' .wpbc_recheck_strong_symbols( 'User Saved Options' ) . '</h4>' .
498
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
499
+ . '<li>' . wpbc_recheck_strong_symbols( '**Saving** any choice of **filter options** (select-boxes and other UI toolbar elements), toolbar selection or user options **personally for each user**. User will see last configured search filter parameters each time, when open admin panel.' ) . '</li>'
500
+ . '<li>' . wpbc_recheck_strong_symbols( '**Keeping** last selected **filter or actions toolbar**, during each time, when user open booking admin panel. No need to define default state of toolbars in the settings.' ) . '</li>'
501
+ . '<li>' . wpbc_recheck_strong_symbols( '**New user options toolbar**, where possible to select "Emails sending" on specific actions or "Show notes" by default (in paid versions).' ) . '</li>'
502
+ . '</ul>';
503
+ ?>
504
+ </div>
505
+ </div><?php
506
+
507
+ $this->show_separator();
508
+
509
+ ?><div class="feature-section two-col">
510
+ <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
511
+ <?php echo
512
+ '<h4>' .wpbc_recheck_strong_symbols( 'Print functionality' ) . '</h4>' .
513
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
514
+ . '<li>' . wpbc_recheck_strong_symbols( 'The new **print feature** is available in the **Free version**.' ) . '</li>'
515
+ . '<li>' . wpbc_recheck_strong_symbols( 'New **print layout** displaying the exact content of the booking listing page.' ) . '</li>'
516
+ . '<li>' . wpbc_recheck_strong_symbols( '**Print any selected bookings**. Possibility to print all bookings / selected bookings / specific single booking.' ) . '</li>'
517
+
518
+ . '</ul>' ;
519
+ ?>
520
+ </div>
521
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 70%;">
522
+
523
+ <img src="<?php echo $this->asset_path; ?>9.2/booking_listing_printing.png"
524
+ style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
525
+ class="wpbc-section-image" />
526
+ </div>
527
+ </div><?php
528
 
529
  $this->show_separator();
530
 
531
+
532
+
533
+ ?><div class="feature-section two-col">
534
+ <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
535
+ <?php echo
536
+ '<h4>' .wpbc_recheck_strong_symbols( 'Other new features' ) . '</h4>' .
537
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
538
+ . '<li>' . wpbc_recheck_strong_symbols( 'Added 2 new filter options **Check in today** and **Check out today** to display bookings on the booking list page' ) . '</li>'
539
+ . '<li>' . wpbc_recheck_strong_symbols( 'Ability to define and **save the locale for each specific booking**. This locale is saved and will exist when the following pages are loaded.' ) . '</li>'
540
+ . '<li>' . wpbc_recheck_strong_symbols( '**Show action** buttons when such actions **can be applied to specific bookings**. You need to select bookings to display additional action buttons like "Confirm" or "Reject", etc...' ) . '</li>'
541
+
542
+ . '</ul>' ;
543
+ ?>
544
+ </div>
545
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
546
  <?php echo
547
+ '<h4>' .wpbc_recheck_strong_symbols( 'CSV Export (paid versions)' ) . '</h4>' .
548
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
549
+ . '<li>' . wpbc_recheck_strong_symbols( '**New**. Ability to enter **field names to skip** from the export.' ) . '</li>'
550
+ . '<li>' . wpbc_recheck_strong_symbols( 'Selection **export of single or all pages** and CSV column separator in pop-up window.' ) . '</li>'
551
+ . '</ul>'; ?>
552
+ <?php echo
553
+ '<h4>' .wpbc_recheck_strong_symbols( 'Improvements and fixes' ) . '</h4>' .
554
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
555
+ . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Smarter structure of request parameters escaping.' ) . '</li>'
556
+ . '<li>' . wpbc_recheck_strong_symbols( 'Lots of other improvements and fixes...' ) . '</li>'
557
+ . '</ul>'; ?>
558
+ </div>
559
+ </div><?php
560
+
561
+
562
+
 
563
 
 
 
 
 
 
 
564
 
565
  $this->show_separator();
566
 
567
+ // <editor-fold defaultstate="collapsed" desc=" 9.1 " >
568
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////
569
+ // 9.1
570
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////
571
  ?>
572
+ <div class="clear" style="margin-top:20px;"></div>
573
+ <a id="wpbc_show_advanced_section_link_show" class="wpbc_expand_section_link" href="javascript:void(0)"
574
+ onclick="javascript:jQuery( '.version_update_9_1' ).toggle();"
575
+ >+ Show changes in version update <span style="font-size: 1.35em;font-weight: 600;color: #079;font-family: Consolas,Monaco,monospace;padding-left:12px;">9.1</span></a>
576
+
577
+ <div class="version_update_9_1" style="display:none;">
578
+
579
+ <h2 style='font-size: 2.1em;'>What's New in Booking Calendar <span style="font-size: 1.1em;
580
+ font-weight: 600;font-family: Consolas,Monaco,monospace;padding-left: 10px;color: #5F5F5F;">9.1</span></h2><?php
581
+
582
+ ?><div class="feature-section two-col">
583
+ <div class="col col-1" style="flex: 1 1 75%;width: 100%;">
584
+ <img src="<?php echo $this->asset_path; ?>9.1/9.1_new_popovers2.png"
585
+ style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
586
+ class="wpbc-section-image" />
587
+ </div>
588
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
589
+ <?php echo
590
+ '<h4>' .wpbc_recheck_strong_symbols( 'New Popover and Tooltips' ) . '</h4>' .
591
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
592
+ . '<li>' . wpbc_recheck_strong_symbols( 'Faster and more accurate display of beautiful and informative popovers and tooltips. New script for displaying popover and tooltips in the Booking Calendar.' ) . '</li>'
593
+ . '<li>' . wpbc_recheck_strong_symbols( 'For 2 or more bookings on the Timeline and Calendar Overview page, the system displays the title of the bookings exactly near to the specific booking details in popovers' ) . '</li>'
594
+ . '<li>' . wpbc_recheck_strong_symbols( 'Avoiding script conflicts regarding popovers and tooltips' ) . '</li>'
595
+ . '</ul>';
596
+ ?>
597
+ <!--span style="font-size:0.8em;padding:1em;">* This feature is available in the Booking Calendar Business Small or higher versions.</span-->
598
+ </div>
599
+ </div><?php
600
 
601
+ $this->show_separator();
 
 
 
 
 
 
 
 
 
 
 
602
 
603
+ ?><div class="feature-section two-col">
604
+ <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
605
+ <?php echo
606
+ '<h4>' .wpbc_recheck_strong_symbols( 'New UI elements' ) . '</h4>' .
607
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
608
+ . '<li>' . wpbc_recheck_strong_symbols( '**Icons for UI elements** in the booking admin panel.' ) . '</li>'
609
+ . '<li>' . wpbc_recheck_strong_symbols( '**Booking Calendar Icon** for WordPress side menu.' ) . '</li>'
610
+ . '</ul>' .
611
+ '<h4>' .wpbc_recheck_strong_symbols( 'Improvements and fixes' ) . '</h4>' .
612
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
613
+ . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Separate library for modal windows to prevent script conflicts' ) . '</li>'
614
+ //. '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Removing old Bootstrap library' ) . '</li>'
615
+ //. '<li>' . wpbc_recheck_strong_symbols( '**Fix**. issue of showing "Warning! Number of check in != check out times." after import .ics feed with specific start/end time' ) . '</li>'
616
+ //. '<li>' . wpbc_recheck_strong_symbols( '**Fix**. issue of not hiding booked time slots after selecting date in calendar, for the bookings that was imported from ics feed with specific timeslots' ) . '</li>'
617
+ //. '<li>' . wpbc_recheck_strong_symbols( '**Fix**. issue of unable expand or collapse right side WordPress menu, while opened Booking Calendar pages.' ) . '</li>'
618
+ . '<li>' . wpbc_recheck_strong_symbols( 'Lots of other improvements and fixes...' ) . '</li>'
619
+ . '</ul>';
620
+ ?>
621
+ </div>
622
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
623
+
624
+ <img src="<?php echo $this->asset_path; ?>9.1/9.1_new_icons2.png"
625
+ style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
626
+ class="wpbc-section-image" />
627
+ <div style="font-style:italic;font-size:0.75em;padding:1em;text-align: right;">* This picture from paid version of Booking Calendar</div>
628
+ </div>
629
+ </div><?php
630
 
631
+ $this->show_separator();
 
632
 
633
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
634
+ // 9.0
635
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
636
+ ?>
637
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
638
  </div><?php
639
 
640
+ // </editor-fold>
641
 
642
+ // <editor-fold defaultstate="collapsed" desc=" 9.0 " >
643
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
644
+ // 9.0
645
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
646
+ ?>
647
+ <div class="clear" style="margin-top:20px;"></div>
648
+ <a id="wpbc_show_advanced_section_link_show" class="wpbc_expand_section_link" href="javascript:void(0)"
649
+ onclick="javascript:jQuery( '.version_update_9_0' ).toggle();"
650
+ >+ Show changes in version update <span style="font-size: 1.35em;font-weight: 600;color: #079;font-family: Consolas,Monaco,monospace;padding-left:12px;">9.0</span></a>
651
+
652
+ <div class="version_update_9_0" style="display:none;">
653
+
654
+ <h2 style='font-size: 2.1em;'>What's New in Booking Calendar <span style="font-size: 1.1em;
655
+ font-weight: 600;font-family: Consolas,Monaco,monospace;padding-left: 10px;color: #5F5F5F;">9.0</span></h2><?php
656
+
657
+ ?><div class="feature-section two-col">
658
+ <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
659
+ <?php echo
660
+ '<h4>' .wpbc_recheck_strong_symbols( 'Time slots' ) . '</h4>' .
661
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
662
+ . '<li>' . wpbc_recheck_strong_symbols( 'Showing **time slots as dots** in calendar day cells. Modern and beautiful view of time slots within calendar days.' ) . '</li>'
663
+ . '<li>' . wpbc_recheck_strong_symbols( 'Display the **exact number** of booked **time slots** in calendar day cells. System shows **as many dots** (time slots) as many time slots have been booked for a particular day. Your customers can see occupancy by time interval from the beginning of the calendar view.' ) . '</li>'
664
+ . '<li>' . wpbc_recheck_strong_symbols( '**Improvement** CSS styling in all calendar skins. If you have customized a calendar skin before, check the changes in the new calendar skins marked with a number: 8.9.4.13 ' ) . '</li>'
665
+ . '</ul>';
666
+ ?>
667
+ </div>
668
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
669
+
670
+ <img src="<?php echo $this->asset_path; ?>9.0/wpbc-9-0-time-slots.png"
671
+ style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
672
+ class="wpbc-section-image" />
673
+
674
+ </div>
675
+ </div><?php
676
 
677
+ $this->show_separator();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
678
 
679
+ ?><div class="feature-section two-col">
680
+ <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
681
+ <img src="<?php echo $this->asset_path; ?>9.0/wpbc-9-0-co2.png"
682
+ style="margin:30px 5px 0;width: 98%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
683
+ class="wpbc-section-image" />
684
+ </div>
685
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
686
+ <?php echo
687
+ '<h4>' .wpbc_recheck_strong_symbols( 'Change over days' ) . '</h4>' .
688
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
689
+ . '<li>' . wpbc_recheck_strong_symbols( 'Accurate clear display of the diagonal change over days line. Now it correctly shows the **diagonal line for any shape of day cells** (square or rectangle). This means that for any calendar size you will see the correct sharp diagonal line.' ) . '</li>'
690
+ . '<li>' . wpbc_recheck_strong_symbols( 'Show **diagonal line in dates**, where we have check in/out bookings with the **same status (pending or approved)**. It is useful to see where one booking ends and another begins when both bookings are pending or approved. Previously it was shown just full booked date without diagonal line.' ) . '</li>'
691
+ . '<li>' . wpbc_recheck_strong_symbols( 'The ability to use **change over days only on certain pages**. Useful in a situation where you need to make a booking with change over days at on a certain page(s) (check in/out dates with diagonal lines) and make bookings for specific time slots on another page(s). You can define list of pages on which to use this feature at the Booking > Settings General page in "Calendar" section.' ) . '</li>'
692
+ . '</ul>';
693
+ ?>
694
+ <span style="font-size:0.8em;padding:1em;">* This feature is available in the Booking Calendar Business Small or higher versions.</span>
695
+ </div>
696
+ </div><?php
697
 
698
+ $this->show_separator();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
 
 
 
 
700
 
701
+ ?><div class="feature-section one-col">
702
+ <div class="col col-1" style="flex: 1 1 100%;width: 100%;">
703
+ <?php echo '<h4>' .wpbc_recheck_strong_symbols( 'Timeline' ) . '</h4>' ;?>
704
+ <img src="<?php echo $this->asset_path; ?>9.0/wpbc-9-0-timeline.png"
705
+ style="margin:30px 5px 0;width: 100%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
706
+ class="wpbc-section-image" />
707
+ </div>
708
+ <div class="col col-2 last-feature" style="flex: 1 1 100%;width: 100%;">
709
+ <?php echo
710
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
711
+ . '<li>' . wpbc_recheck_strong_symbols( '**Timeline**. Ability to **define how many days to show in Timeline** at the front-end side, while showing Timeline for one booking resource, and select "**Month view mode**" in shortcode (parameter "view_days_num=30" or this parameter skipped). You can define it at the Booking > Settings General page in "Calendar Overview | Timeline" section.' ) . '</li>'
712
+ . '<li>' . wpbc_recheck_strong_symbols( '**Calendar Overview** page. Ability to **define how many days to show** in the Calendar Overview page in the admin panel, while showing Calendar Overview page for one booking resource, and selected "**Day view mode**". You can define it at the Booking > Settings General page in "Calendar Overview | Timeline" section.' ) . '</li>'
713
+ . '<li>' . wpbc_recheck_strong_symbols( 'Timeline / Calendar Overview page. Scroll exactly the number of days (for one booking resource, and select "Month view mode" / "Day view mode"), that was defined at option "Days number to show in Month mode in Timeline" / "Days number to show in Day view mode in Calendar Overview page".' ) . '</li>'
714
+ . '<li>' . wpbc_recheck_strong_symbols( 'Separate settings sections for "Calendar Overview" | "Timeline" options at the Booking > Settings General page.' ) . '</li>'
715
+ . '</ul>';
716
+ ?>
717
+ </div>
718
+ </div><?php
719
 
720
+ $this->show_separator();
721
+
722
+ ?><div class="feature-section two-col">
723
+ <div class="col col-1" style="flex: 1 1 50%;width: 100%;">
724
+ <?php echo
725
+ '<h4>' .wpbc_recheck_strong_symbols( 'Translations' ) . '</h4>' .
726
+ '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
727
+ . '<li>' . wpbc_recheck_strong_symbols( '**New**. Ability to define where firstly plugin tries to use translations from "../wp-content/languages/plugins/", or from "../wp-content/plugins/{Booking Calendar Folder}/languages/" folder. You can change this behavior at the Booking > Settings General page.' ) . '</li>'
728
+ . '<li>' . wpbc_recheck_strong_symbols( '**New**. Force plugin translation update. Download and update plugin translations from WordPress translation repository and from wpbookingcalendar.com You can make updates at Booking > Settings General page in Translation section.' ) . '</li>'
729
+ . '<li>' . wpbc_recheck_strong_symbols( '**New**. Check translation status at WordPress translation repository and local translation from wpbookingcalendar.com to understand what translation to load. You can check it at the Booking > Settings General page in the Translation section.' ) . '</li>'
730
+ . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Booking Calendar by default does not contain MO and PO translation files. You can force download them at the Booking > Settings General page in the Translation section.' ) . '</li>'
731
+ . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Switching language/locale by using "Globe icon" in the Booking Listing page has higher priority than switching languages by translation plugins.' ) . '</li>'
732
+ . '<li>' . wpbc_recheck_strong_symbols( '**Improvement**. Optimization structure of country list file for future translations.' ) . '</li>'
733
+ . '<li>' . wpbc_recheck_strong_symbols( '**Compatibility**. Support WPML 4.5.4' ) . '</li>'
734
+ . '<li>' . wpbc_recheck_strong_symbols( '**Compatibility**. Support Polylang 3.1.4' ) . '</li>'
735
+ . '<li>' . wpbc_recheck_strong_symbols( '**Compatibility**. Support qTranslate-X 3.4.6.8 (Currently closed "qTranslate-X", was tested with Booking Calendar in php 5.6)' ) . '</li>'
736
+ . '</ul>';
737
+ ?>
738
+ </div>
739
+ <div class="col col-2 last-feature" style="flex: 1 1 auto;width: 60%;">
740
+
741
+ <img src="<?php echo $this->asset_path; ?>9.0/wpbc-9-0-translations.png"
742
+ style="margin:30px 5px 0;width: 62%;box-shadow: 0 1px 3px #aaa;border-radius: 2px;"
743
+ class="wpbc-section-image" />
744
+
745
+ </div>
746
+ </div><?php
747
+
748
+ ?></div><?php
749
+
750
+ // </editor-fold>
751
 
752
  // <editor-fold defaultstate="collapsed" desc=" 8.9 " >
753
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////
core/lib/wpbc-ajax.php CHANGED
@@ -334,6 +334,8 @@ function wpbc_ajax_EMPTY_TRASH() { //FixIn: 8.5.2.24
334
  $user_id = intval( $_POST['user_id'] );
335
  make_bk_action('check_multiuser_params_for_client_side_by_user_id', $user_id );
336
 
 
 
337
  //FixIn: 8.8.0.1
338
  if ( true ) {
339
 
@@ -365,8 +367,6 @@ function wpbc_ajax_EMPTY_TRASH() { //FixIn: 8.5.2.24
365
 
366
  //debuge($sql, $bookings_in_trash );
367
 
368
- $bookings_id_in_trash_arr = array();
369
-
370
  foreach ( $bookings_in_trash as $booking_obj ) {
371
  $bookings_id_in_trash_arr[] = $booking_obj->booking_id;
372
  }
334
  $user_id = intval( $_POST['user_id'] );
335
  make_bk_action('check_multiuser_params_for_client_side_by_user_id', $user_id );
336
 
337
+ $bookings_id_in_trash_arr = array();
338
+
339
  //FixIn: 8.8.0.1
340
  if ( true ) {
341
 
367
 
368
  //debuge($sql, $bookings_in_trash );
369
 
 
 
370
  foreach ( $bookings_in_trash as $booking_obj ) {
371
  $bookings_id_in_trash_arr[] = $booking_obj->booking_id;
372
  }
core/sync/wpbc-gcal-class.php CHANGED
@@ -47,6 +47,7 @@ class WPBC_Google_Calendar {
47
  $this->error = '';
48
  $this->bktype = 1;
49
  $this->is_silent = false;
 
50
  $user = wp_get_current_user();
51
  $this->setUserID( $user->ID );
52
 
@@ -103,7 +104,9 @@ class WPBC_Google_Calendar {
103
  return $this->bktype;
104
  }
105
 
106
-
 
 
107
  public function set_events_from_with_array( $booking_gcal_events_from ) { // array( 'from type', 'offset', 'offset type' );
108
 
109
  if ($booking_gcal_events_from[0]=='date') {
@@ -485,9 +488,11 @@ class WPBC_Google_Calendar {
485
  if ( ! empty($this->error) ) {
486
  $is_spin = false;
487
  $is_error = true;
488
- $this->show_message( $this->error , $is_spin, $is_error);
 
 
 
489
  die;
490
- return false;
491
  } else
492
  $this->show_message( __('Done' ,'booking') );
493
 
47
  $this->error = '';
48
  $this->bktype = 1;
49
  $this->is_silent = false;
50
+ $this->events = array();
51
  $user = wp_get_current_user();
52
  $this->setUserID( $user->ID );
53
 
104
  return $this->bktype;
105
  }
106
 
107
+ public function getErrorMessage(){
108
+ return $this->error;
109
+ }
110
  public function set_events_from_with_array( $booking_gcal_events_from ) { // array( 'from type', 'offset', 'offset type' );
111
 
112
  if ($booking_gcal_events_from[0]=='date') {
488
  if ( ! empty($this->error) ) {
489
  $is_spin = false;
490
  $is_error = true;
491
+ $this->show_message( $this->error , $is_spin, $is_error);
492
+ if ( ( WPBC_EXIST_NEW_BOOKING_LISTING ) && ( isset( $_REQUEST['action'] ) ) && ( 'WPBC_AJX_BOOKING_ACTIONS' == $_REQUEST['action'] ) ) {
493
+ return false;
494
+ }
495
  die;
 
496
  } else
497
  $this->show_message( __('Done' ,'booking') );
498
 
core/sync/wpbc-gcal.php CHANGED
@@ -375,7 +375,7 @@ function wpbc_write_content_for_modal_import_gce() {
375
  if ( ( ! class_exists('wpdev_bk_personal') ) && ( $booking_gcal_feed == '' ) ) {
376
 
377
  $is_this_btn_disabled = true;
378
- $settigns_link = wpbc_get_settings_url() ."&tab=sync" ;
379
  } else {
380
  $booking_gcal_events_from = get_bk_option( 'booking_gcal_events_from');
381
  $booking_gcal_events_from_offset = get_bk_option( 'booking_gcal_events_from_offset' );
375
  if ( ( ! class_exists('wpdev_bk_personal') ) && ( $booking_gcal_feed == '' ) ) {
376
 
377
  $is_this_btn_disabled = true;
378
+ $settigns_link = wpbc_get_settings_url() ."&tab=sync&subtab=gcal" ;
379
  } else {
380
  $booking_gcal_events_from = get_bk_option( 'booking_gcal_events_from');
381
  $booking_gcal_events_from_offset = get_bk_option( 'booking_gcal_events_from_offset' );
core/wpbc-activation.php CHANGED
@@ -850,7 +850,10 @@ function wpbc_get_default_options( $option_name = '', $is_get_multiuser_general_
850
 
851
  $default_options = array();
852
  $mu_option4delete = array();
853
-
 
 
 
854
 
855
  $default_options['booking_admin_cal_count'] = ($is_demo) ? '3' : '2';
856
  $mu_option4delete[]='booking_admin_cal_count'; // $multiuser_general_option[] = implode( '', array_keys( array_slice( $default_options, -1 ) ) );
@@ -862,7 +865,7 @@ function wpbc_get_default_options( $option_name = '', $is_get_multiuser_general_
862
  $mu_option4delete[]='booking_sort_order'; //$mu_option4delete[]='booking_sort_order_direction';
863
  $default_options['booking_default_toolbar_tab'] = 'filter';
864
  $mu_option4delete[]='booking_default_toolbar_tab';
865
- $default_options['booking_listing_default_view_mode'] = 'vm_calendar';
866
  $mu_option4delete[]='booking_listing_default_view_mode';
867
  $default_options['booking_view_days_num'] = ( ( ! class_exists( 'wpdev_bk_personal' ) ) ? '90' : '30' );
868
  $mu_option4delete[]='booking_view_days_num';
850
 
851
  $default_options = array();
852
  $mu_option4delete = array();
853
+
854
+ $default_options['booking_is_use_old_booking_listing'] = 'Off';
855
+ $mu_option4delete[]='booking_is_use_old_booking_listing';
856
+
857
 
858
  $default_options['booking_admin_cal_count'] = ($is_demo) ? '3' : '2';
859
  $mu_option4delete[]='booking_admin_cal_count'; // $multiuser_general_option[] = implode( '', array_keys( array_slice( $default_options, -1 ) ) );
865
  $mu_option4delete[]='booking_sort_order'; //$mu_option4delete[]='booking_sort_order_direction';
866
  $default_options['booking_default_toolbar_tab'] = 'filter';
867
  $mu_option4delete[]='booking_default_toolbar_tab';
868
+ $default_options['booking_listing_default_view_mode'] = 'vm_listing'; // 'vm_calendar';
869
  $mu_option4delete[]='booking_listing_default_view_mode';
870
  $default_options['booking_view_days_num'] = ( ( ! class_exists( 'wpdev_bk_personal' ) ) ? '90' : '30' );
871
  $mu_option4delete[]='booking_view_days_num';
core/wpbc-constants.php CHANGED
@@ -26,7 +26,7 @@ if ( ! defined( 'WP_BK_CHECK_OUT_MINUS_DAY_SEARCH' ) ) { define( 'WP_BK_C
26
  ////////////////////////////////////////////////////////////
27
  // SYSTEM CONSTANTS //////////////
28
  ////////////////////////////////////////////////////////////
29
- if ( ! defined( 'WP_BK_MINOR_UPDATE' ) ) { define( 'WP_BK_MINOR_UPDATE', true ); }
30
  if ( ! defined( 'WP_BK_RESPONSE' ) ) { define( 'WP_BK_RESPONSE', false ); }
31
  if ( ! defined( 'WP_BK_BETA_DATA_FILL' ) ) { define( 'WP_BK_BETA_DATA_FILL', 0 ); } // Set 0 for no filling or 2 for 241 bookings or more for more
32
 
@@ -34,8 +34,6 @@ if ( ! defined( 'WP_BK_BETA_DATA_FILL' ) ) { define( 'WP_BK_BETA_DATA_FILL',
34
  ////////////////////////////////////////////////////////////
35
  // Deprecated
36
  ////////////////////////////////////////////////////////////
37
- // 'WP_BK_SHOW_INFO_IN_FORM' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.2x // This feature can impact to the performance
38
- // 'WP_BK_CUSTOM_FORMS_FOR_REGULAR_USERS' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.2x // Only for MultiUser version
39
  // 'WP_BK_PAYMENT_FORM_ONLY_IN_REQUEST' - deprecated - configure this option at Booking > Settings > Payment page //FixIn: 8.1.3.2x // Its will show payment form only in payment request during sending from Booking Listing page and do not show payment form after visitor made the booking.
40
  // 'WP_BK_AUTO_SEND_PAY_REQUEST_IF_ADD_IN_ADMIN_PANEL' - deprecated - configure this option at Booking > Settings > Payment page //FixIn: 8.1.3.2x // Auto send payment request, if booking was added in admin panel, and WP_BK_AUTO_APPROVE_IF_ADD_IN_ADMIN_PANEL == true
41
  // 'WP_BK_SHOW_DEPOSIT_AND_TOTAL_PAYMENT' - deprecated - configure this option at Booking > Settings > Payment page //FixIn: 8.1.3.2x // Show both deposit and total cost payment forms, after visitor submit booking. Important! Please note, in this case at admin panel for booking will be saved deposit cost and notes about deposit, do not depend from the visitor choise of this payment. So you need to check each such payment manually.
@@ -43,8 +41,3 @@ if ( ! defined( 'WP_BK_BETA_DATA_FILL' ) ) { define( 'WP_BK_BETA_DATA_FILL',
43
  // 'WP_BK_AUTO_APPROVE_WHEN_ZERO_COST' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.2x // Auto approve booking, if the cost of booking == 0
44
  // 'WP_BK_AUTO_APPROVE_IF_ADD_IN_ADMIN_PANEL' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.2x // Auto approve booking, if booking added in admin panel
45
  // 'WP_BK_LAST_CHECKOUT_DAY_AVAILABLE' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.28 // Its will remove last selected day of booking during saving it as booking. //FixIn: 6.2.3.6
46
- // 'WP_BK_IS_SEND_EMAILS_ON_COST_CHANGE' - deprecated - configure this option at Booking > Settings > Payment page //FixIn: 8.1.3.30 // Send modification email, if cost was changed in admin panel
47
- // 'WP_BK_TIMILINE_LIMIT_HOURS' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.31 // Limit times for showing cells in Calendar Overview page in admin panel for 1 day view mode. (7.0.1.18)
48
- // 'WP_BK_SHOW_BOOKING_NOTES' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.32 // Set notes of the specific booking visible by default.
49
-
50
- // booking_is_days_always_available - only for specific booking resources.
26
  ////////////////////////////////////////////////////////////
27
  // SYSTEM CONSTANTS //////////////
28
  ////////////////////////////////////////////////////////////
29
+ if ( ! defined( 'WP_BK_MINOR_UPDATE' ) ) { define( 'WP_BK_MINOR_UPDATE', ! true ); }
30
  if ( ! defined( 'WP_BK_RESPONSE' ) ) { define( 'WP_BK_RESPONSE', false ); }
31
  if ( ! defined( 'WP_BK_BETA_DATA_FILL' ) ) { define( 'WP_BK_BETA_DATA_FILL', 0 ); } // Set 0 for no filling or 2 for 241 bookings or more for more
32
 
34
  ////////////////////////////////////////////////////////////
35
  // Deprecated
36
  ////////////////////////////////////////////////////////////
 
 
37
  // 'WP_BK_PAYMENT_FORM_ONLY_IN_REQUEST' - deprecated - configure this option at Booking > Settings > Payment page //FixIn: 8.1.3.2x // Its will show payment form only in payment request during sending from Booking Listing page and do not show payment form after visitor made the booking.
38
  // 'WP_BK_AUTO_SEND_PAY_REQUEST_IF_ADD_IN_ADMIN_PANEL' - deprecated - configure this option at Booking > Settings > Payment page //FixIn: 8.1.3.2x // Auto send payment request, if booking was added in admin panel, and WP_BK_AUTO_APPROVE_IF_ADD_IN_ADMIN_PANEL == true
39
  // 'WP_BK_SHOW_DEPOSIT_AND_TOTAL_PAYMENT' - deprecated - configure this option at Booking > Settings > Payment page //FixIn: 8.1.3.2x // Show both deposit and total cost payment forms, after visitor submit booking. Important! Please note, in this case at admin panel for booking will be saved deposit cost and notes about deposit, do not depend from the visitor choise of this payment. So you need to check each such payment manually.
41
  // 'WP_BK_AUTO_APPROVE_WHEN_ZERO_COST' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.2x // Auto approve booking, if the cost of booking == 0
42
  // 'WP_BK_AUTO_APPROVE_IF_ADD_IN_ADMIN_PANEL' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.2x // Auto approve booking, if booking added in admin panel
43
  // 'WP_BK_LAST_CHECKOUT_DAY_AVAILABLE' - deprecated - configure this option at Booking > Settings General page //FixIn: 8.1.3.28 // Its will remove last selected day of booking during saving it as booking. //FixIn: 6.2.3.6
 
 
 
 
 
core/wpbc-include.php CHANGED
@@ -76,7 +76,8 @@ require_once( WPBC_PLUGIN_DIR . '/core/admin/wpbc-dashboard.php' );
76
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
77
 
78
  //FixIn: 9.2.1
79
- if ( 0 ) {
 
80
  require_once( WPBC_PLUGIN_DIR . '/includes/_toolbar_ui/toolbar_ui.php' );
81
  require_once( WPBC_PLUGIN_DIR . '/includes/_listing_css_js/listing_ui.php' );
82
  require_once( WPBC_PLUGIN_DIR . '/includes/_pagination/pagination.php' );
76
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
77
 
78
  //FixIn: 9.2.1
79
+
80
+ if ( WPBC_EXIST_NEW_BOOKING_LISTING ) {
81
  require_once( WPBC_PLUGIN_DIR . '/includes/_toolbar_ui/toolbar_ui.php' );
82
  require_once( WPBC_PLUGIN_DIR . '/includes/_listing_css_js/listing_ui.php' );
83
  require_once( WPBC_PLUGIN_DIR . '/includes/_pagination/pagination.php' );
core/wpbc-js.php CHANGED
@@ -291,7 +291,7 @@ function wpbc_js_load_files( $where_to_load ) {
291
  wp_enqueue_script( 'wpbc-datepick-localize', $calendar_localization_url, array( 'wpbc-datepick' ), '1.1' );
292
  }
293
 
294
-
295
  if ( ( $where_to_load == 'client' ) || ( wpbc_is_new_booking_page() ) ) {
296
 
297
  wp_enqueue_script( 'wpbc-main-client', wpbc_plugin_url( '/js/client.js' ), array( 'wpbc-datepick' ), WP_BK_VERSION_NUM ); // Client
291
  wp_enqueue_script( 'wpbc-datepick-localize', $calendar_localization_url, array( 'wpbc-datepick' ), '1.1' );
292
  }
293
 
294
+
295
  if ( ( $where_to_load == 'client' ) || ( wpbc_is_new_booking_page() ) ) {
296
 
297
  wp_enqueue_script( 'wpbc-main-client', wpbc_plugin_url( '/js/client.js' ), array( 'wpbc-datepick' ), WP_BK_VERSION_NUM ); // Client
core/wpbc.php CHANGED
@@ -99,6 +99,18 @@ public function define_admin_menu(){
99
  $title .= $update_count_title;
100
  }
101
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  /**
103
  global $menu;
104
  if ( current_user_can( ) ) {
99
  $title .= $update_count_title;
100
  }
101
 
102
+ $title = '<div class="name_container" style="display: flex;flex-flow: row nowrap;justify-content: flex-start;align-items: center;min-height: 16px;">'
103
+ . ' <div class="name_item" style="font-size: 6px;font-weight: 600;margin-left: -4px;margin-top: 12px;margin-right: 0px;word-wrap: normal;white-space: nowrap;position: absolute;">WP</div>'
104
+ . ' <div class="name_item" style="font-size: 11px;margin-left: -5px;margin-top: -7px;white-space: nowrap;margin-right: 4px;">Booking Calendar</div>';
105
+ if ( ( $update_count > 0 ) && ( $is_user_activated ) ) {
106
+ $badge_style= '';
107
+ } else {
108
+ $badge_style = 'display:none;';
109
+ }
110
+
111
+ $title .= '<span style="margin-top:-2px;'.$badge_style.'" class="wpbc_badge_count name_item update-plugins count-'.$update_count.'" title=""><span class="update-count bk-update-count" style="white-space: nowrap;word-wrap: normal;">' . number_format_i18n( $update_count ) . '</span></span>';
112
+ $title .= '</div>';
113
+
114
  /**
115
  global $menu;
116
  if ( current_user_can( ) ) {
includes/_listing_css_js/listing_ui.css ADDED
@@ -0,0 +1,482 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Input elements in Listing --------------------------------------------------------------------------------------- */
2
+ .wpbc_listing_container input {
3
+ /*border: 1px solid #d6d6d6;*/
4
+ border: 1px solid #c9c9c9;
5
+ }
6
+ /* :focus ---- */
7
+ .wpbc_listing_container input.focus,
8
+ .wpbc_listing_container input:focus {
9
+ border-color: #fff;
10
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
11
+ box-shadow: 0 0 0 1px #8fc8ff, 0 0 2px 1px rgba(79, 148, 212, 0.8);
12
+ z-index: 1;
13
+ /* Only visible in Windows High Contrast mode */
14
+ outline: 2px solid transparent;
15
+ }
16
+
17
+ /** C O N T A I N E R **/
18
+ .wpbc_listing_container {
19
+ display: flex;
20
+ flex-flow: column nowrap;
21
+ justify-content: space-between;
22
+
23
+ margin: 10px 0;
24
+ }
25
+ .wpbc_listing_container .wpbc_listing_usual_row {
26
+ flex: 1 1 auto;
27
+
28
+ display: flex;
29
+ flex-flow: row wrap;
30
+ justify-content: space-between;
31
+ align-items: stretch;
32
+ }
33
+ .wpbc_listing_container .wpbc_listing_usual_row.wpbc_list_header {
34
+ flex-flow: row nowrap;
35
+ }
36
+ .wpbc_listing_container .wpbc_listing_usual_row .wpbc_listing_col{
37
+ flex: 3.7 1 0;
38
+ word-wrap: break-word;
39
+ min-width: 150px;
40
+ }
41
+ /* //FixIn: forVideo *
42
+ .wp-admin .modal-backdrop.in {
43
+ opacity: 0.3 !important;
44
+ }
45
+ #wpbc_loading_section .wpbc_icn::before, #wpbc_loading_section [class^="wpbc_icn_"]::before {
46
+ font-size: 36px;
47
+
48
+ }
49
+ #wpbc_loading_section [class^="wpbc_icn_"]{
50
+ top:16.5em;
51
+ margin-left: -4em;
52
+ position:absolute;
53
+ }
54
+ /* //FixIn: forVideo */
55
+ /* Checkbox */
56
+ .wpbc_listing_container .wpbc_listing_usual_row .wpbc_listing_col:first-child{
57
+ flex: 40px 0 0;
58
+ min-width: 40px;
59
+ }
60
+ /* Labels */
61
+ .wpbc_listing_container .wpbc_listing_usual_row .wpbc_listing_col.wpbc_col_booking_labels{
62
+
63
+ }
64
+ /* Booking data */
65
+ .wpbc_listing_container .wpbc_listing_usual_row .wpbc_listing_col.wpbc_col_data{
66
+ flex: 10;
67
+ }
68
+ /* Dates */
69
+ .wpbc_listing_container .wpbc_listing_usual_row .wpbc_listing_col.wpbc_col_dates {
70
+ flex: 4.5 1 0;
71
+
72
+ display:flex;
73
+ flex-flow:row wrap;
74
+ justify-content: center;
75
+ align-items: flex-start;
76
+ }
77
+ /* Actions */
78
+ .wpbc_listing_container .wpbc_listing_usual_row .wpbc_item_actions {
79
+ flex: 100%;
80
+ display: flex;
81
+ flex-flow: row wrap;
82
+ justify-content: flex-start;
83
+
84
+ padding: 0 1em;
85
+ }
86
+ @media screen and (max-width: 782px) {
87
+ .wpbc_listing_container .wpbc_listing_usual_row.wpbc_list_row .wpbc_listing_col.wpbc_col_data {
88
+ flex: 1 1 auto;
89
+ }
90
+ }
91
+ /** R O W - Colors | Fonts **/
92
+ .wpbc_listing_container .wpbc_selectable_body{
93
+ border: 1px solid #dfdfdf;
94
+ border-top:none;
95
+ }
96
+ .wpbc_listing_container .wpbc_listing_usual_row{
97
+ border:none;
98
+ border-left:4px solid #f0f0f1;
99
+ background: #f0f0f1;
100
+ }
101
+ .wpbc_listing_container .wpbc_listing_usual_row:nth-of-type(2n+1) {
102
+ background: #F7F7F7;
103
+ border-left-color:#F7F7F7;
104
+ }
105
+ .wpbc_listing_container .wpbc_listing_usual_row div.content_text {
106
+ padding: 8px 1em;
107
+ line-height: 1.8em;
108
+ }
109
+ /** H E A D E R - Colors | Fonts **/
110
+ .wpbc_listing_container div.wpbc_listing_usual_row.wpbc_list_header{
111
+ background: #e4e4e4;
112
+ border: 1px solid #dfdfdf;
113
+ border-radius: 4px 4px 0 0;
114
+ color: #333;
115
+ font-size: 12px;
116
+ font-weight: 600;
117
+ text-shadow: 0 1px 1px #F5F5F5;
118
+ text-align: center;
119
+ line-height: 2.5em;
120
+ overflow: hidden;
121
+ }
122
+ .wpbc_listing_container div.wpbc_listing_usual_row.wpbc_list_header .wpbc_col_labels .content_text{
123
+ display: block;
124
+ }
125
+ .wpbc_listing_container div.wpbc_listing_usual_row.wpbc_list_header .wpbc_listing_col .content_text{
126
+ padding:8px 1em;
127
+ }
128
+ .wpbc_listing_container .wpbc_listing_usual_row.wpbc_list_header > div:last-child{
129
+ text-align: center;
130
+ }
131
+ .wpbc_listing_container .wpbc_listing_usual_row.wpbc_list_header:first-child input[type="checkbox"] {
132
+ margin-left:5px;
133
+ }
134
+ /** Header action buttons **/
135
+ .wpbc_listing_container .wpbc_listing_header_action_icon {
136
+ padding: 0 1em;
137
+ }
138
+ .wpbc_listing_container .wpbc_listing_header_action_icon a,
139
+ .wpbc_listing_container .wpbc_listing_header_action_icon a:hover{
140
+ color: #555;
141
+ text-decoration: none;
142
+ }
143
+ /**********************************************************************************************************************/
144
+ /** Content of fields data **/
145
+ .wpbc_listing_container .wpbc_list_row .wpbc_col_data .fieldvalue {
146
+ background: #FFF7D8;
147
+ margin: 0 5px 0 4px;
148
+ padding: 1px 5px;
149
+ }
150
+ .wpbc_listing_container .wpbc_list_row .wpbc_col_data .fieldvalue.fieldsearchvalue {
151
+ background: #ff9900;
152
+ }
153
+ /** Labels ------------------------------------------------------------------------------------------------------- */
154
+ .wpbc_col_labels .content_text .wpbc_label.hidden_items {
155
+ display: none;
156
+ }
157
+ .wpbc_listing_container .wpbc_listing_usual_row .wpbc_col_labels div.content_text{
158
+ overflow: hidden;
159
+ }
160
+ .wpbc_col_labels .content_text {
161
+ display: flex;
162
+ flex-flow: row wrap;
163
+ justify-content: flex-start;
164
+ align-items: first baseline;
165
+ }
166
+ .wpbc_col_labels .content_text .wpbc_label{
167
+ flex: 0 1 auto;
168
+ padding: 0 10px;
169
+ line-height: 2.1em;
170
+ margin: 0 1em 5px 0;
171
+ word-wrap: anywhere;
172
+ white-space: nowrap;
173
+ min-width: 0;
174
+
175
+ display: flex;
176
+ flex-flow: row wrap;
177
+ justify-content: flex-start;
178
+ align-items: last baseline;
179
+ }
180
+ .wpbc_label{
181
+ white-space: pre-wrap;
182
+ border: 0;
183
+ box-shadow: 0 0 1px #ddd;
184
+ padding: 4px 10px 4px;
185
+ line-height: 2.5em;
186
+ margin-right: 10px;
187
+ font-size: 0.92em;
188
+ border-radius: .2em;
189
+ font-weight: 600;
190
+ background-color: #5bc0de;
191
+ display: inline;
192
+ color: #ffffff;
193
+ text-align: center;
194
+ vertical-align: baseline;
195
+ }
196
+ .wpbc_listing_col .wpbc_label{
197
+ padding: 4px 5px;
198
+ line-height: 2.5em;
199
+ }
200
+ .wpbc_listing_col .wpbc_label .menu_icon {
201
+ margin-right: 0.5em;
202
+ }
203
+ /* Label Colors --------------------------------------------------------------------------------------------------- */
204
+ .wpbc_label.wpbc_label_booking_id {
205
+ /*background-color: #acacac;*/
206
+ /*color: #909090;*/
207
+ /*background: #c5c5c500;*/
208
+ /*background: #fff;*/
209
+ /*box-shadow: 0px 0px 1px #c0c0c0;*/
210
+ background: #adadad;
211
+
212
+ background: #fff;
213
+ color: #979797;
214
+ box-shadow: 0 0 1px #b7b7b7;
215
+ }
216
+ .wpbc_label.wpbc_label_resource {
217
+ /*background-color: #5bc0de;*/
218
+ background-color: #5aa3c0;
219
+ }
220
+ .wpbc_label.wpbc_label_deleted_resource{
221
+ background-color: #ee6f48;
222
+ }
223
+ .wpbc_label.wpbc_label_pending{
224
+ background-color: #FFBB45;
225
+ background-color: #BB864D;
226
+ background-color: #ed9f0a;
227
+ color: #fff;
228
+ box-shadow: 0 0 1px #fde4c9;
229
+ }
230
+ .wpbc_label.wpbc_label_approved{
231
+ background-color: #9BE;
232
+
233
+ background-color: #64AA45;
234
+ color: #f7fff4;
235
+ box-shadow: 0 0 1px #b8c6b1;
236
+ }
237
+ .wpbc_label.wpbc_label_payment_status {
238
+ /* General class for all payment statuses */
239
+ }
240
+ .wpbc_label.wpbc_label_payment_status_success {
241
+ background-color: #468847;
242
+ }
243
+ .wpbc_label.wpbc_label_payment_status_pending {
244
+ background-color: #992;
245
+ }
246
+ .wpbc_label.wpbc_label_payment_status_unknown {
247
+ /*background-color: #999;*/
248
+ background-color: #e7e7e7;
249
+ color: #7c7c7c;
250
+ }
251
+ .wpbc_label.wpbc_label_payment_status_error {
252
+ background-color: #FA773D;
253
+ }
254
+ .wpbc_label.wpbc_label_imported {
255
+ background-color: #81A6C6;
256
+ }
257
+ .wpbc_label.wpbc_label_trash {
258
+ background: #D94A48;
259
+ color: #fff;
260
+ text-shadow: 0 0 1px #E00;
261
+ }
262
+
263
+ /* Read booking button -- EYE ------------------------------------------------------------------------------------- */
264
+ .wpbc_is_new_button,
265
+ .wpbc_is_new_button:hover {
266
+ display: flex;
267
+ position: absolute;
268
+ left: 0;
269
+ margin-left: -17px;
270
+ border:none !important;
271
+ outline: none !important;
272
+ box-shadow:none !important;
273
+ }
274
+ @media (max-width: 782px) {
275
+ .wpbc_is_new_button {
276
+ left: auto;
277
+ margin-left: auto;
278
+ right: 0;
279
+ margin-right: 22px;
280
+ }
281
+ }
282
+
283
+ /* Dates labels ---------------------------------------------------------------------------------------------------- */
284
+ .wpbc_label.wpbc_label_booking_dates:hover,
285
+ .wpbc_label.wpbc_label_booking_dates{
286
+ background-color: #FFBB45;
287
+ text-decoration: none;
288
+ color: #ffffff;
289
+
290
+ background-color: #BB864D;
291
+ background-color: #ed9f0a;
292
+ color: #fff;
293
+ box-shadow: 0 0 1px #fde4c9;
294
+ }
295
+ .wpbc_label.wpbc_label_booking_dates:focus{
296
+ box-shadow: none;
297
+ }
298
+ .wpbc_label.wpbc_label_booking_dates.approved{
299
+ background-color: #9BE;
300
+
301
+ background-color: #64AA45;
302
+ color: #f7fff4;
303
+ box-shadow: 0 0 1px #b8c6b1;
304
+ }
305
+
306
+ /* Dates internal ------------------------------------------------------------------------------------------------- */
307
+ .wpbc_col_labels .content_text .wpbc_label.wpbc_label_booking_dates{
308
+ margin: 0 0 5px 0;
309
+ }
310
+ .wpbc_listing_container .wpbc_col_dates .wpbc_label.wpbc_label_booking_dates .field-booking-time{
311
+ color: #3e3e3e;
312
+ text-decoration: none;
313
+ text-shadow: 0 0 1px #AAA;
314
+ line-height: 2em;
315
+ white-space: nowrap;
316
+ }
317
+ .wpbc_listing_container .wpbc_col_dates .date_tire {
318
+ font-size: 17px;
319
+ font-weight: 600;
320
+ margin: 0 7px 10px;
321
+ line-height: 18px;
322
+ }
323
+
324
+ /* Booking Actions Buttons ---------------------------------------------------------------------------------------- */
325
+ .wpbc_ajx_toolbar.wpbc_buttons_row_for_booking .ui_container .ui_group .ui_element {
326
+ margin-right:5px;
327
+ }
328
+
329
+ .ui_element .wpbc_ui_button.wpbc_ui_red .menu_icon,
330
+ .ui_element .wpbc_ui_button .menu_icon.wpbc_ui_red{
331
+ color:#e06741
332
+ }
333
+
334
+ /* Remark button and textarea ------------------------------------------------------------------------------------- */
335
+
336
+ .wpbc_ajx_toolbar .ui_container .ui_remark_section {
337
+ /*display: none;*/
338
+ flex: 0 1 auto;
339
+ width:100%;
340
+ }
341
+ .wpbc_ajx_toolbar .ui_container .ui_remark_section .ui_group {
342
+ justify-content: flex-end;
343
+ }
344
+ .wpbc_ajx_toolbar .ui_container .ui_remark_section .ui_group .ui_element{
345
+ margin:0 0 0 10px;
346
+ }
347
+
348
+
349
+ /**********************************************************************************************************************/
350
+ /** Colors inside of the data fields in CONTENT DATA AREA **/
351
+ /**********************************************************************************************************************/
352
+ /* Refund */
353
+ .wpbc_listing_container .wpbc_list_row .wpbc_col_data .fieldvalue._refund{
354
+ color: #cc0202;
355
+ }
356
+ /* Order Number */
357
+ .wpbc_listing_container .wpbc_list_row .wpbc_col_data .fieldvalue._order_num{
358
+ font-weight: 600;
359
+ background: #9d9d9d;
360
+ color: #fff;
361
+ border-radius: 2px;
362
+ }
363
+ /**********************************************************************************************************************/
364
+ /** Selected row **/
365
+ .wpbc_selectable_body .row_selected_color {
366
+ /*background: #f9f9e7;*/
367
+ /*background: #ffffeb;*/
368
+ /*border-color: #d2d2d2 !important;*/
369
+ background: transparent;
370
+ border-color: #d2d2d2 !important;
371
+ border-left: 4px solid #08a !important;
372
+ }
373
+ /** Actions row with buttons **/
374
+ .wpbc_item_actions a.button,
375
+ .wpbc_item_actions a.button:hover {
376
+ flex: 0 0 auto;
377
+
378
+ margin: 0 1em 10px 0.25em;
379
+
380
+ color: #555;
381
+ border-color: #d8d8d8;
382
+ }
383
+
384
+ .wpbc_item_actions .wpbc_actions_buttons{
385
+ flex: 1 1 auto;
386
+ display: flex;
387
+ flex-flow: row wrap;
388
+ justify-content: flex-start;
389
+ margin-bottom: 5px;
390
+ }
391
+ .wpbc_item_actions .wpbc_actions_sysinfo{
392
+ flex: 0 1 auto;
393
+ margin-left:auto;
394
+
395
+ display: flex;
396
+ flex-flow: row wrap;
397
+ justify-content: flex-start;
398
+
399
+ align-items: stretch;
400
+ line-height: 4em;
401
+ font-size: 0.8em;
402
+ }
403
+ /**********************************************************************************************************************/
404
+ /* Terminal log screen section */
405
+ .wpbc_log_screen {
406
+ display: none;
407
+ margin: 0;
408
+ padding: 0.5em 1em;
409
+ line-height: 1.7em;
410
+ color: #fff;
411
+ background: #5b5b5b;
412
+ border-radius: 3px;
413
+ border: 1px solid;
414
+ text-shadow:none;
415
+ }
416
+ /* By default after page loading the sort selector is not visible*/
417
+ #wh_sort_selector {
418
+ display: none;
419
+ }
420
+ /* Source & booking ID in reminders */
421
+ .wpbc_next_booking_time{
422
+ font-size: 0.85em;
423
+ display: flex;
424
+ flex-flow: row wrap;
425
+ justify-content: flex-end;
426
+ align-items: center;
427
+ }
428
+ .wpbc_next_booking_time span {
429
+ flex: 0 1 auto;
430
+ }
431
+
432
+ /**********************************************************************************************************************/
433
+ /** Messages **/
434
+ /**********************************************************************************************************************/
435
+ #ajax_working {
436
+ position: relative;
437
+ }
438
+ #ajax_working > [id^="wpbc_notice_"] {
439
+ position: fixed;
440
+ top: 30px;
441
+ flex-flow: row nowrap;
442
+ justify-content: flex-end;
443
+ z-index: 100000;
444
+ right: 20px;
445
+ }
446
+ #ajax_working > [id^="wpbc_notice_"] .wpbc_alert_message {
447
+ display: flex;
448
+ top: 50px;
449
+ flex-flow: row nowrap;
450
+ justify-content: flex-start;
451
+ }
452
+ #ajax_working > [id^="wpbc_notice_"] .wpbc_alert_message .wpbc_inner_message {
453
+ /*display: flex;*/
454
+ /*flex-flow: row wrap;*/
455
+ /*justify-content: flex-end;*/
456
+ /*align-items: center;*/
457
+ width: 100%;
458
+ position: relative;
459
+ }
460
+
461
+ #ajax_working > [id^="wpbc_notice_"] .wpbc_alert_message .wpbc_inner_message .close{
462
+ order: 9;
463
+ margin-left: 15px;
464
+ }
465
+ #ajax_working > [id^="wpbc_notice_"] .wpbc_alert_message .wpbc_inner_message > * {
466
+ /*margin: 0 0 0 1em;*/
467
+ }
468
+
469
+
470
+ /**********************************************************************************************************************/
471
+ /** Hidden Templates **/
472
+ /**********************************************************************************************************************/
473
+ .wpbc_hidden_templates ,
474
+ .ui__under_actions_row__section_in_booking ,
475
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element.ui__set_booking_cost__section_in_booking {
476
+ display:none;
477
+ }
478
+ .highlight_action_section {
479
+ background: #e7e7e7;
480
+ border-radius: 3px;
481
+ padding:0 10px;
482
+ }
includes/_listing_css_js/listing_ui.js ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
+ // Checkbox Selection functions for Listing
3
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+ /**
5
+ * Usual DOM Listing structure:
6
+ <div class="wpbc_listing_container wpbc_selectable_table wpbc_NAME_listing_container">
7
+ <div class="wpbc_listing_usual_row wpbc_list_header wpbc_selectable_head">
8
+ <div class="wpbc_listing_col wpbc_col_id check-column"><div class="content_text"><input type="checkbox" /></div></div>
9
+ <div class="wpbc_listing_col wpbc_col_labels"><div class="content_text"><?php echo esc_js( __( 'Actions', 'email-reminders' ) ); ?></div></div>
10
+ <div class="wpbc_listing_col wpbc_col_data"><div class="content_text"><?php echo esc_js( __( 'Data', 'email-reminders' ) ); ?></div></div>
11
+ </div>
12
+ <div id="row_id_{{{data.rules_id}}}" class="wpbc_listing_usual_row wpbc_list_row wpbc_row">
13
+ <div class="wpbc_listing_col wpbc_col_id check-column"><div class="content_text"><input type="checkbox" /></div></div>
14
+ <div class="wpbc_listing_col wpbc_col_labels">
15
+ <div class="content_text"><span class="wpbc_label"><?php _e('Email', 'email-reminders'); ?>: {{{data['rule']['email_template']}}}</span></div>
16
+ </div>
17
+ ...
18
+ </div>
19
+ */
20
+
21
+ /**
22
+ * Selections of several checkboxes like in gMail with shift :)
23
+ * Need to have this structure:
24
+ * .wpbc_selectable_table
25
+ * .wpbc_selectable_head
26
+ * .check-column
27
+ * :checkbox
28
+ * .wpbc_selectable_body
29
+ * .wpbc_row
30
+ * .check-column
31
+ * :checkbox
32
+ * .wpbc_selectable_foot
33
+ * .check-column
34
+ * :checkbox
35
+ */
36
+ function wpbc_define_gmail_checkbox_selection( $ ){
37
+
38
+ var checks, first, last, checked, sliced, lastClicked = false;
39
+
40
+ // Check all checkboxes
41
+ $('.wpbc_selectable_body').find('.check-column').find(':checkbox').on( 'click', function(e) {
42
+ //$('.wpbc_selectable_body').children().children('.check-column').find(':checkbox').on( 'click', function(e) {
43
+ if ( 'undefined' == e.shiftKey ) { return true; }
44
+ if ( e.shiftKey ) {
45
+ if ( !lastClicked ) { return true; }
46
+ //checks = $( lastClicked ).closest( 'form' ).find( ':checkbox' ).filter( ':visible:enabled' );
47
+ checks = $( lastClicked ).closest( '.wpbc_selectable_body' ).find( ':checkbox' ).filter( ':visible:enabled' );
48
+ first = checks.index( lastClicked );
49
+ last = checks.index( this );
50
+ checked = $(this).prop('checked');
51
+ if ( 0 < first && 0 < last && first != last ) {
52
+ sliced = ( last > first ) ? checks.slice( first, last ) : checks.slice( last, first );
53
+ sliced.prop( 'checked', function() {
54
+ if ( $(this).closest('.wpbc_row').is(':visible') )
55
+ return checked;
56
+
57
+ return false;
58
+ } ).trigger( 'change' );
59
+ }
60
+ }
61
+ lastClicked = this;
62
+
63
+ // toggle "check all" checkboxes
64
+ var unchecked = $(this).closest('.wpbc_selectable_body').find(':checkbox').filter(':visible:enabled').not(':checked');
65
+ $(this).closest('.wpbc_selectable_table').children('.wpbc_selectable_head, .wpbc_selectable_foot').find(':checkbox').prop('checked', function() {
66
+ return ( 0 === unchecked.length );
67
+ }).trigger( 'change' );
68
+
69
+ return true;
70
+ });
71
+
72
+ // Head || Foot clicking to select / deselect ALL
73
+ $('.wpbc_selectable_head, .wpbc_selectable_foot').find('.check-column :checkbox').on( 'click', function( event ) {
74
+ var $this = $(this),
75
+ $table = $this.closest( '.wpbc_selectable_table' ),
76
+ controlChecked = $this.prop('checked'),
77
+ toggle = event.shiftKey || $this.data('wp-toggle');
78
+
79
+ $table.children( '.wpbc_selectable_body' ).filter(':visible')
80
+ .find('.check-column').find(':checkbox')
81
+ //.children().children('.check-column').find(':checkbox')
82
+ .prop('checked', function() {
83
+ if ( $(this).is(':hidden,:disabled') ) {
84
+ return false;
85
+ }
86
+
87
+ if ( toggle ) {
88
+ return ! $(this).prop( 'checked' );
89
+ } else if ( controlChecked ) {
90
+ return true;
91
+ }
92
+
93
+ return false;
94
+ }).trigger( 'change' );
95
+
96
+ $table.children('.wpbc_selectable_head, .wpbc_selectable_foot').filter(':visible')
97
+ .find('.check-column').find(':checkbox')
98
+ //.children().children('.check-column').find(':checkbox')
99
+ .prop('checked', function() {
100
+ if ( toggle ) {
101
+ return false;
102
+ } else if ( controlChecked ) {
103
+ return true;
104
+ }
105
+
106
+ return false;
107
+ });
108
+ });
109
+
110
+
111
+ // Visually show selected border
112
+ $( '.wpbc_selectable_body' ).find( '.check-column :checkbox' ).on( 'change', function ( event ){
113
+ if ( jQuery( this ).is( ':checked' ) ){
114
+ jQuery( this ).closest( '.wpbc_list_row' ).addClass( 'row_selected_color' );
115
+ } else {
116
+ jQuery( this ).closest( '.wpbc_list_row' ).removeClass( 'row_selected_color' );
117
+ }
118
+
119
+ // Disable text selection while pressing 'shift'
120
+ document.getSelection().removeAllRanges();
121
+
122
+ // Show or hide buttons on Actions toolbar at Booking Listing page, if we have some selected bookings.
123
+ wpbc_show_hide_action_buttons_for_selected_bookings();
124
+ } );
125
+
126
+ wpbc_show_hide_action_buttons_for_selected_bookings();
127
+ }
128
+
129
+ /**
130
+ * Get ID of row, based on clciked element
131
+ *
132
+ * @param this_inbound_element - ususlly this
133
+ * @returns {number}
134
+ */
135
+ function wpbc_get_row_id_from_element( this_inbound_element ){
136
+
137
+ var element_id = jQuery( this_inbound_element ).closest('.wpbc_listing_usual_row').attr('id');
138
+
139
+ element_id = parseInt( element_id.replace( 'row_id_', '' ) );
140
+
141
+ return element_id;
142
+ }
143
+
144
+ /**
145
+ * Get ID array of selected elements
146
+ */
147
+ function wpbc_get_selected_row_id(){
148
+
149
+ var $table = jQuery( '.wpbc_listing_container.wpbc_selectable_table');
150
+
151
+ var checkboxes = $table.children( '.wpbc_selectable_body' ).filter( ':visible' ).find( '.check-column' ).find( ':checkbox' );
152
+
153
+ var selected_id = [];
154
+ jQuery.each( checkboxes, function( key, checkbox ) {
155
+
156
+ if ( jQuery( checkbox ).is( ':checked' ) ) {
157
+ var element_id = wpbc_get_row_id_from_element( checkbox ); // jQuery( checkbox ).closest('.wpbc_listing_usual_row').attr('id');
158
+
159
+ // element_id = parseInt( element_id.replace( 'row_id_', '' ) );
160
+
161
+ selected_id.push(element_id);
162
+ }
163
+
164
+ });
165
+
166
+ //console.log( 'wpbc_get_selected_row_id', selected_id );
167
+
168
+ return selected_id;
169
+
170
+ // _.each( json_items_arr, function ( p_val, p_key, p_data ){
171
+ //
172
+ // });
173
+ }
174
+
175
+
176
+ /**
177
+ * Show or hide buttons on Actions toolbar at Booking Listing page, if we have some selected bookings.
178
+ */
179
+ function wpbc_show_hide_action_buttons_for_selected_bookings(){
180
+
181
+ var selected_rows_arr = wpbc_get_selected_row_id();
182
+
183
+ if ( selected_rows_arr.length > 0 ){
184
+ jQuery( '.hide_button_if_no_selection' ).show();
185
+ } else {
186
+ jQuery( '.hide_button_if_no_selection' ).hide();
187
+ }
188
+ }
includes/_listing_css_js/listing_ui.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php /**
2
+ * @version 1.0
3
+ * @description Listing
4
+ * @category Contacts Listings
5
+ * @author wpdevelop
6
+ *
7
+ * @web-site http://oplugins.com/
8
+ * @email info@oplugins.com
9
+ *
10
+ * @modified 2020-02-10
11
+ */
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
+
15
+ class WPBC_Listing {
16
+
17
+ /**
18
+ * Define HOOKs for loading CSS and JavaScript files
19
+ */
20
+ public function init_load_css_js() {
21
+ // JS & CSS
22
+ add_action( 'wpbc_enqueue_js_files', array( $this, 'js_load_files' ), 50 );
23
+ add_action( 'wpbc_enqueue_css_files', array( $this, 'enqueue_css_files' ), 50 );
24
+ }
25
+
26
+ /** JSS */
27
+ public function js_load_files( $where_to_load ) {
28
+
29
+ $in_footer = true;
30
+
31
+ if ( ( is_admin() ) && ( in_array( $where_to_load, array( 'admin', 'both' ) ) ) ) {
32
+
33
+ wp_enqueue_script( 'wpbc-listing_class', trailingslashit( plugins_url( '', __FILE__ ) ) . 'listing_ui.js' /* wpbc_plugin_url( '/_out/js/codemirror.js' ) */
34
+ , array( 'wpbc-global-vars' ), '1.1', $in_footer );
35
+ /**
36
+ wp_localize_script( 'wpbc-global-vars', 'wpbc_live_request_obj'
37
+ , array(
38
+ 'contacts' => '',
39
+ 'reminders' => ''
40
+ )
41
+ );
42
+ */
43
+ }
44
+ }
45
+
46
+ /** CSS */
47
+ public function enqueue_css_files( $where_to_load ) {
48
+
49
+ if ( ( is_admin() ) && ( in_array( $where_to_load, array( 'admin', 'both' ) ) ) ) {
50
+
51
+ wp_enqueue_style( 'wpbc-listing_class', trailingslashit( plugins_url( '', __FILE__ ) ) . 'listing_ui.css', array(), WP_BK_VERSION_NUM );
52
+ }
53
+ }
54
+
55
+ // </editor-fold>
56
+
57
+ }
58
+
59
+ /**
60
+ * Just for loading CSS and JavaScript files
61
+ */
62
+ if ( true ) {
63
+ $js_css_loading = new WPBC_Listing;
64
+ $js_css_loading->init_load_css_js();
65
+ }
66
+
67
+
68
+ function wpbc_ajx_booking_listing__get_default_view_mode(){
69
+
70
+ if (
71
+ ( WPBC_EXIST_NEW_BOOKING_LISTING )
72
+ && ( 'On' != get_bk_option( 'booking_is_use_old_booking_listing' ) )
73
+ ) {
74
+ $booking_default_view_mode = wpbc_get_default_saved_view_mode_for_wpbc_page();
75
+ return $booking_default_view_mode;
76
+ }
77
+ return false;
78
+ }
includes/_pagination/pagination.css ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .wpbc-bottom-pagination{
2
+ display: flex;
3
+ flex-flow: row wrap;
4
+ justify-content: flex-end;
5
+ align-items: stretch;
6
+ }
7
+ .wpbc-ajax-pagination_items_per_page,
8
+ .wpbc-ajax-pagination-container {
9
+ display:flex;
10
+ flex-flow: row wrap;
11
+ justify-content: flex-start;
12
+ align-items: stretch;
13
+
14
+ margin: 0;
15
+ }
16
+ .wpbc-ajax-pagination_items_per_page{
17
+ margin-left: 1em;
18
+ margin-top: -1px;
19
+ }
20
+ .wpbc-ajax-pagination_items_per_page .ui_element,
21
+ .wpbc-ajax-pagination .ui_element {
22
+ flex: 0 0 auto;
23
+ }
24
+ .wpbc-ajax-pagination .ui_element > .wpbc_ui_button {
25
+ height: 30px;
26
+ margin: 5px 5px;
27
+ padding: 0 14px;
28
+ }
29
+ .wpbc-ajax-pagination_items_per_page .ui_element > * {
30
+ height: 30px;
31
+ margin: 6px 5px;
32
+ }
33
+
34
+ .wpbc-ajax-pagination .ui_element .wpbc_ui_button.active:not(.inactive),
35
+ .wpbc-ajax-pagination .ui_element .wpbc_ui_button.active:hover:not(.inactive) {
36
+ transform: none;
37
+ }
38
+ @media (max-width: 782px) {
39
+
40
+ .wpbc-bottom-pagination .wpbc-ajax-pagination-container .ui_element > *,
41
+ .wpbc-bottom-pagination .wpbc-ajax-pagination_items_per_page .ui_element > * {
42
+ height: 38px;
43
+ }
44
+ .wpbc-bottom-pagination .wpbc-ajax-pagination-container .ui_element > .wpbc_ui_button,
45
+ .wpbc-bottom-pagination .wpbc-ajax-pagination_items_per_page .ui_element > .wpbc_ui_button {
46
+ padding: 0 15px 2px;
47
+ padding-bottom: 1px;
48
+ display: flex;
49
+ flex-flow: row wrap;
50
+ justify-content: center;
51
+ align-items: center;
52
+ }
53
+ }
includes/_pagination/pagination.js ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
+ // Views
3
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+
5
+ /**
6
+ * Show Pagination
7
+ *
8
+ * @param pagination_container - '.wpbc_rules_pagination'
9
+ * @param params_obj - JSON object ~ { 'page_active': $page_active, 'pages_count': $pages_count }
10
+ */
11
+ function wpbc_pagination_echo( pagination_container, params_obj ){
12
+
13
+ var pagination = wp.template( 'wpbc_pagination' );
14
+ jQuery( pagination_container ).html( '<div class="wpbc-bottom-pagination"></div>' );
15
+
16
+ // Pagination
17
+ jQuery( pagination_container + ' .wpbc-bottom-pagination').append( pagination( params_obj ) ) ;
18
+
19
+
20
+ // Number of items per page
21
+ var pagination_items_per_page = wp.template( 'wpbc_pagination_items_per_page' );
22
+ jQuery( pagination_container + ' .wpbc-bottom-pagination').append( pagination_items_per_page( params_obj ) ) ;
23
+
24
+ jQuery( pagination_container ).show();
25
+ }
26
+
27
+
28
+ /**
29
+ * Blank function. -- Redefine this function in specific page-XXXX.php file for specific actions
30
+ *
31
+ * @param page_number int
32
+ */
33
+ function wpbc_pagination_click_page( page_number ){
34
+ console.log( 'wpbc_pagination_click_page', page_number );
35
+ }
includes/_pagination/pagination.php ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php /**
2
+ * @version 1.0
3
+ * @description Pagination
4
+ * @category Pagination Class
5
+ * @author wpdevelop
6
+ *
7
+ * @web-site http://oplugins.com/
8
+ * @email info@oplugins.com
9
+ *
10
+ * @modified 2020-01-23
11
+ */
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
+
15
+
16
+ /*
17
+ * Usage: Pagination Class
18
+
19
+ <div class="wpbc_rules_pagination"></div>
20
+ <?php
21
+ $wpbc_pagination = new WPBC_Pagination();
22
+ $wpbc_pagination->init(
23
+ array(
24
+ 'load_on_page' => 'wpbc-rules',
25
+ 'container' => '.wpbc_rules_pagination',
26
+ 'on_click' => 'wpbc_rules_pagination_click' // onclick = "javascript: wpbc_rules_listing_page( page_num );" - need to define this function in JS file
27
+ )
28
+ );
29
+ $wpbc_pagination->show( // Its showing with JavaScript on document ready
30
+ array(
31
+ 'page_active' => 3,
32
+ 'pages_count' => 20
33
+ )
34
+ );
35
+
36
+ OR (for showing with JavaScript) :
37
+
38
+ <script type="text/javascript">
39
+ jQuery( document ).ready( function (){
40
+
41
+ wpbc_pagination_echo( '.wpbc_rules_pagination',
42
+ {
43
+ 'page_active': page_number,
44
+ 'pages_count': Math.ceil( ajx_count / ajx_page_items_count )
45
+ }
46
+ );
47
+ } );
48
+ </script>
49
+
50
+ */
51
+
52
+
53
+ class WPBC_Pagination {
54
+
55
+ private $settings;
56
+
57
+ /**
58
+ * Get parameter Value
59
+ *
60
+ * @param string $parameter - name of parameter
61
+ *
62
+ * @return mixed
63
+ */
64
+ public function get_settings( $parameter ){
65
+
66
+ if ( ! empty( $this->settings[ $parameter ] ) ) {
67
+ return $this->settings[ $parameter ];
68
+ } else {
69
+ return false;
70
+ }
71
+ }
72
+
73
+
74
+ // <editor-fold defaultstate="collapsed" desc=" /// JS | CSS files /// " >
75
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
76
+ /// JS | CSS files
77
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
78
+
79
+ /**
80
+ * Define HOOKs for loading CSS and JavaScript files
81
+ */
82
+ public function init_load_css_js() {
83
+ // JS & CSS
84
+ add_action( 'wpbc_enqueue_js_files', array( $this, 'js_load_files' ), 50 );
85
+ add_action( 'wpbc_enqueue_css_files', array( $this, 'enqueue_css_files' ), 50 );
86
+ }
87
+
88
+ /** JSS */
89
+ public function js_load_files( $where_to_load ) {
90
+
91
+ $in_footer = true;
92
+
93
+ if ( ( is_admin() ) && ( in_array( $where_to_load, array( 'admin', 'both' ) ) ) ) {
94
+
95
+ //wp_enqueue_script( 'wpbc-live_search', wpbc_plugin_url( '/_out/js/live_search.js' ), array( 'wpbc-global-vars' ), '1.1', $in_footer );
96
+ wp_enqueue_script( 'wpbc-pagination'
97
+ , trailingslashit( plugins_url( '', __FILE__ ) ) . 'pagination.js' /* wpbc_plugin_url( '/_out/js/codemirror.js' ) */
98
+ , array( 'wpbc-global-vars' ), '1.1', $in_footer );
99
+
100
+ /**
101
+ wp_localize_script( 'wpbc-global-vars', 'wpbc_live_request_obj'
102
+ , array(
103
+ 'contacts' => '',
104
+ 'reminders' => ''
105
+ )
106
+ );
107
+ */
108
+ }
109
+ }
110
+
111
+ /** CSS */
112
+ public function enqueue_css_files( $where_to_load ) {
113
+
114
+ if ( ( is_admin() ) && ( in_array( $where_to_load, array( 'admin', 'both' ) ) ) ) {
115
+
116
+ wp_enqueue_style( 'wpbc-pagination', trailingslashit( plugins_url( '', __FILE__ ) ) . 'pagination.css', array(), WP_BK_VERSION_NUM );
117
+ }
118
+ }
119
+
120
+ // </editor-fold>
121
+
122
+
123
+ // <editor-fold defaultstate="collapsed" desc=" /// Templates /// " >
124
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
125
+ /// Templates
126
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
127
+
128
+ public function init_load_templates() {
129
+
130
+ add_action( 'wpbc_hook_settings_page_footer', array( $this, 'hook__page_footer_tmpl' ) );
131
+ }
132
+
133
+
134
+ /**
135
+ * Templates at footer of page
136
+ *
137
+ * @param $page string
138
+ */
139
+ public function hook__page_footer_tmpl( $page ){
140
+
141
+ if ( $this->get_settings( 'load_on_page' ) === $page ) {
142
+
143
+ $this->template__pagination();
144
+ }
145
+ }
146
+
147
+
148
+ private function template__pagination(){
149
+
150
+ // Pagination
151
+ ?><script type="text/html" id="tmpl-wpbc_pagination">
152
+ <div class="wpbc-ajax-pagination wpbc-ajax-pagination-container">
153
+ <# if ( data.pages_count > 1 ) { #>
154
+ <div class="ui_element">
155
+ <a class="wpbc_ui_control wpbc_ui_button <# if ( 1 == data.page_active ) { #> disabled<# } #>"
156
+ href="javascript:void(0)"
157
+ <# if ( 1 != data.page_active ) { #> onclick="javascript:<?php echo $this->get_settings( 'on_click' ); ?>( parseInt( {{ data.page_active }} ) - 1 );" <# } #>
158
+ >
159
+ <?php _e('Prev', 'booking'); ?>
160
+ </a>
161
+ </div>
162
+ <# }
163
+
164
+ /** Number visible pages (links) that linked to active page, other pages skipped by "..." */
165
+ var num_closed_steps = 2;
166
+
167
+ for ( var pg_num = 1; pg_num <= data.pages_count; pg_num++ ){
168
+
169
+ if ( ! (
170
+ ( data.pages_count > ( num_closed_steps * 4) )
171
+ && ( pg_num > num_closed_steps )
172
+ && ( ( data.pages_count - pg_num + 1 ) > num_closed_steps )
173
+ && ( Math.abs( data.page_active - pg_num ) > num_closed_steps )
174
+ ) )
175
+ {
176
+ #> <div class="ui_element"><a class="wpbc_ui_control wpbc_ui_button <# if ( pg_num == data.page_active ) { #> active<# } #>"
177
+ href="javascript:void(0)" onclick="javascript:<?php echo $this->get_settings( 'on_click' ); ?>( {{pg_num}} );" >
178
+ {{pg_num}}</a></div> <#
179
+
180
+ if ( ( data.pages_count > ( num_closed_steps * 4) )
181
+ && ( (pg_num+1) > num_closed_steps )
182
+ && ( ( data.pages_count - ( pg_num + 1 ) ) > num_closed_steps )
183
+ && ( Math.abs(data.page_active - ( pg_num + 1 ) ) > num_closed_steps )
184
+ ) {
185
+ #><div class="ui_element"><a class="wpbc_ui_control wpbc_ui_button disabled" href="javascript:void(0);">...</a></div><#
186
+ }
187
+ }
188
+ }
189
+
190
+ if ( data.pages_count > 1 ) { #>
191
+ <div class="ui_element">
192
+ <a class="wpbc_ui_control wpbc_ui_button <# if ( data.pages_count == data.page_active ) { #> disabled<# } #>"
193
+ href="javascript:void(0)"
194
+ <# if ( data.pages_count != data.page_active ) { #> onclick="javascript:<?php echo $this->get_settings( 'on_click' ); ?>( parseInt( {{ data.page_active }} ) + 1 );" <# } #>
195
+ >
196
+ <?php _e('Next', 'booking'); ?>
197
+ </a>
198
+ </div>
199
+ <# } #>
200
+ </div>
201
+ </script><?php
202
+
203
+ // Pagination Items per page
204
+ ?><script type="text/html" id="tmpl-wpbc_pagination_items_per_page">
205
+ <div class="wpbc-ajax-pagination_items_per_page">
206
+ <div class="ui_element">
207
+ <select class="wpbc_items_per_page wpbc_ui_control wpbc_ui_select " autocomplete="off">
208
+ <#
209
+ var my_options_arr = [5, 10, 50, 100];
210
+ var is_selected = '';
211
+ _.each( my_options_arr, function ( p_val, p_key, p_data ) {
212
+ is_selected = '';
213
+ if ( data.page_items_count == p_val ) {
214
+ is_selected = ' selected="selected" ';
215
+ }
216
+ #><option value="{{p_val}}" {{is_selected}}>{{p_val}}</option><#
217
+ });
218
+ #>
219
+ </select>
220
+ </div>
221
+ <div class="ui_element">
222
+ <label class="wpbc_ui_control_label"><?php _e('per page','booking') ?></label>
223
+ </div>
224
+ <?php
225
+
226
+ if (0) {
227
+ ?>
228
+ <div class="ui_element">
229
+ <select class="wpbc_items_sort_type wpbc_ui_control wpbc_ui_select" autocomplete="off">
230
+ <#
231
+ my_options_arr = {
232
+ 'ASC': '<?php echo esc_js(__( 'ASC', 'booking' )); ?>',
233
+ 'DESC': '<?php echo esc_js(__( 'DESC', 'booking' )); ?>',
234
+ };
235
+ is_selected = '';
236
+ _.each( my_options_arr, function ( p_val, p_key, p_data ) {
237
+ is_selected = '';
238
+ if ( data.sort_type == p_key ) {
239
+ is_selected = ' selected="selected" ';
240
+ }
241
+ #><option value="{{p_key}}" {{is_selected}}>{{p_val}}</option><#
242
+ });
243
+ #>
244
+ </select>
245
+ </div>
246
+ <?php } ?>
247
+ </div>
248
+ </script><?php
249
+ }
250
+
251
+ // </editor-fold>
252
+
253
+
254
+ /**
255
+ * Init Pagination on start - define 'load_on_page', 'container', 'on_click' function
256
+ *
257
+ * @param array $params = array(
258
+ 'load_on_page' => 'wpbc-settings', // defined at function in_page() {
259
+ 'container' => '.wpbc_settings_pagination', // defined in function content(), like <div class="wpbc_rules_pagination"></div>
260
+ 'on_click' => 'wpbc_pagination_click_page' // onclick = "javascript: wpbc_pagination_click_page( page_active );" - need to define this function in JS file
261
+ );
262
+ */
263
+ public function init( $params = array() ) {
264
+
265
+ $defaults = array(
266
+ 'load_on_page' => 'wpbc-settings', // defined at function in_page() {
267
+ 'container' => '.wpbc_settings_pagination', // defined in function content(), like <div class="wpbc_rules_pagination"></div>
268
+ 'on_click' => 'wpbc_pagination_click_page' // onclick = "javascript: wpbc_pagination_click_page( page_active );" - need to define this function in JS file
269
+ );
270
+ $this->settings = wp_parse_args( $params, $defaults );
271
+
272
+ $this->init_load_templates();
273
+ }
274
+
275
+
276
+ /**
277
+ * Show pagination
278
+ *
279
+ * @param array $params = array(
280
+ 'page_active' => 1,
281
+ 'pages_count' => 10
282
+ )
283
+ */
284
+ public function show( $params = array() ) {
285
+ $defaults = array(
286
+ 'page_active' => 1,
287
+ 'pages_count' => 1
288
+ );
289
+ $params = wp_parse_args( $params, $defaults );
290
+ ?>
291
+ <script type="text/javascript">
292
+
293
+ jQuery( document ).ready( function (){
294
+
295
+ wpbc_pagination_echo( '<?php echo $this->get_settings( 'container' ); ?>', <?php
296
+ echo wp_json_encode(
297
+ array(
298
+ 'page_active' => $params['page_active'],
299
+ 'pages_count' => $params['pages_count']
300
+ )
301
+ );
302
+ ?> );
303
+ } );
304
+ </script>
305
+ <?php
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Just for loading CSS and JavaScript files for all Settings pages
311
+ */
312
+ if ( true ) {
313
+ $js_css_loading = new WPBC_Pagination;
314
+ $js_css_loading->init_load_css_js();
315
+ }
316
+
317
+
318
+ //TODO: delete ../email-reminders/_src/css/o-pagination.css
includes/_toolbar_ui/_out/toolbar_ui.css ADDED
@@ -0,0 +1,993 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* UI Toolbar *************************************************************************************************/
2
+ /* To Compile file: Alt + F12 and run command: "gulp wpbc" */
3
+ /* 1. Default Button Style ------------------------------------------------------------------------------------------ */
4
+ .ui_element .wpbc_ui_button {
5
+ display: -ms-flexbox;
6
+ display: flex;
7
+ -ms-flex-flow: row nowrap;
8
+ flex-flow: row nowrap;
9
+ -ms-flex-pack: start;
10
+ justify-content: flex-start;
11
+ -ms-flex-align: center;
12
+ align-items: center;
13
+ text-decoration: none;
14
+ /*font-size: 13px;*/
15
+ /*line-height: 2.15384615; !* 28px *!*/
16
+ /*min-height: 30px;*/
17
+ min-height: 24px;
18
+ margin: 0;
19
+ padding: 0 10px 2px;
20
+ padding-bottom: 1px;
21
+ cursor: pointer;
22
+ /*border-width: 1px; - Defined at Several elements in a Group. Point #2. */
23
+ border-style: solid;
24
+ -webkit-appearance: none;
25
+ /*border-radius: 3px; - Defined at Several elements in a Group. Point #2. */
26
+ white-space: nowrap;
27
+ box-sizing: border-box;
28
+ }
29
+
30
+ .ui_element .wpbc_ui_button,
31
+ .ui_element .wpbc_ui_button-secondary {
32
+ color: #555;
33
+ border-color: #d8d8d8;
34
+ background: #f7f7f7;
35
+ vertical-align: top;
36
+ }
37
+
38
+ /* :hover ---- */
39
+ .ui_element .wpbc_ui_button.hover:not(.inactive),
40
+ .ui_element .wpbc_ui_button:hover:not(.inactive),
41
+ .ui_element .wpbc_ui_button-secondary:hover:not(.inactive) {
42
+ background: #fafafa;
43
+ border-color: #d8d8d8;
44
+ color: #23282d;
45
+ text-decoration: none;
46
+ }
47
+
48
+ .ui_element .wpbc_ui_button.hover.inactive,
49
+ .ui_element .wpbc_ui_button.inactive:hover,
50
+ .ui_element .wpbc_ui_button-secondary.inactive:hover {
51
+ cursor: default;
52
+ }
53
+
54
+ /* :focus ---- */
55
+ .ui_element .wpbc_ui_button.focus,
56
+ .ui_element .wpbc_ui_button:focus,
57
+ .ui_element .wpbc_ui_button-secondary:focus {
58
+ background: #fafafa;
59
+ border-color: #d8d8d8;
60
+ color: #23282d;
61
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
62
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8);
63
+ z-index: 1;
64
+ text-decoration: none;
65
+ /* Only visible in Windows High Contrast mode */
66
+ outline: 2px solid transparent;
67
+ /* Reset inherited offset from Gutenberg */
68
+ outline-offset: 0;
69
+ }
70
+
71
+ /* :active ---- */
72
+ .wpbc_ui_dropdown.open > .wpbc_ui_button:not(.inactive),
73
+ .ui_element .wpbc_ui_button:active:not(.inactive),
74
+ .ui_element .wpbc_ui_button-secondary:active:not(.inactive) {
75
+ background: #f6f7f7;
76
+ border-color: #d8d8d8;
77
+ box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, 0.3);
78
+ -ms-transform: translateY(1px);
79
+ transform: translateY(1px);
80
+ outline: 0;
81
+ text-decoration: none;
82
+ }
83
+
84
+ /* :disabled ---- */
85
+ .ui_element .wpbc_ui_button:disabled,
86
+ .ui_element .wpbc_ui_button[disabled],
87
+ .ui_element.disabled .wpbc_ui_button,
88
+ .ui_element .wpbc_ui_button.disabled,
89
+ .ui_element .wpbc_ui_button-secondary[disabled],
90
+ .ui_element .wpbc_ui_button-secondary:disabled,
91
+ .ui_element .wpbc_ui_button-secondary.disabled,
92
+ .ui_element .wpbc_ui_button-disabled {
93
+ color: #a7aaad !important;
94
+ border-color: #dcdcde !important;
95
+ background: #f6f7f7 !important;
96
+ box-shadow: none !important;
97
+ cursor: default;
98
+ -ms-transform: none !important;
99
+ transform: none !important;
100
+ }
101
+
102
+ /* .active CLASS - pressed button, pressed state e.g. a selected setting */
103
+ .ui_element .wpbc_ui_button.active:not(.inactive),
104
+ .ui_element .wpbc_ui_button.active:hover:not(.inactive) {
105
+ background: #f6f7f7;
106
+ border-color: #d8d8d8;
107
+ box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, 0.3);
108
+ -ms-transform: translateY(1px);
109
+ transform: translateY(1px);
110
+ outline: 0;
111
+ text-decoration: none;
112
+ }
113
+
114
+ .ui_element .wpbc_ui_button.active:focus:not(.inactive) {
115
+ border-color: #3582c4;
116
+ box-shadow: inset 0 1px 5px -3px #0a4b78, 0 0 1px 1px rgba(79, 148, 212, 0.1);
117
+ }
118
+
119
+ /* 2. Primary Button Style ----------------------------------------------------------------------------------------- */
120
+ .ui_element .wpbc_ui_button_primary {
121
+ background: #0085ba;
122
+ border-color: #0073aa #006799 #006799;
123
+ color: #fff;
124
+ text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
125
+ text-decoration: none;
126
+ box-shadow: 0 1px 0px #f1f1f1;
127
+ /*background: #2271b1;*/
128
+ /*border-color: #2271b1;*/
129
+ /*color: #fff;*/
130
+ /*text-decoration: none;*/
131
+ /*text-shadow: none;*/
132
+ }
133
+
134
+ /* :hover, :focus ---- */
135
+ .ui_element .wpbc_ui_button_primary.hover:not(.inactive),
136
+ .ui_element .wpbc_ui_button_primary:hover:not(.inactive),
137
+ .ui_element .wpbc_ui_button_primary.focus:not(.inactive),
138
+ .ui_element .wpbc_ui_button_primary:focus:not(.inactive) {
139
+ /*background: #135e96;*/
140
+ /*border-color: #135e96;*/
141
+ /*color: #fff;*/
142
+ background: #008ec2;
143
+ border-color: #006799;
144
+ color: #fff;
145
+ }
146
+
147
+ /* :focus ---- */
148
+ .ui_element .wpbc_ui_button_primary.focus:not(.inactive),
149
+ .ui_element .wpbc_ui_button_primary:focus:not(.inactive) {
150
+ box-shadow: 0 0 0 0px #fff, 0 0 2px 1px #a4d7ff;
151
+ }
152
+
153
+ /* :active ---- */
154
+ .ui_element .wpbc_ui_button_primary.active:not(.inactive),
155
+ .ui_element .wpbc_ui_button_primary.active:hover:not(.inactive),
156
+ .ui_element .wpbc_ui_button_primary.active:focus:not(.inactive),
157
+ .ui_element .wpbc_ui_button_primary:active:not(.inactive) {
158
+ background: #0c7ca8;
159
+ border-color: #0b79a4;
160
+ box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, 0.3);
161
+ color: #fff;
162
+ }
163
+
164
+ /* :disabled ---- */
165
+ .ui_element .wpbc_ui_button_primary[disabled],
166
+ .ui_element .wpbc_ui_button_primary:disabled,
167
+ .ui_element .wpbc_ui_button_primary-disabled,
168
+ .ui_element .wpbc_ui_button_primary.disabled {
169
+ color: #a7aaad !important;
170
+ background: #f6f7f7 !important;
171
+ border-color: #dcdcde !important;
172
+ box-shadow: none !important;
173
+ text-shadow: none !important;
174
+ cursor: default;
175
+ }
176
+
177
+ @media (max-width: 782px) {
178
+ .ui_element .in-button-text {
179
+ display: none;
180
+ }
181
+ }
182
+
183
+ /* 3.1 Text --------------------------------------------------------------------------------------------------------- */
184
+ .ui_element .wpbc_ui_text {
185
+ border: 1px solid #d6d6d6;
186
+ -ms-flex: 1 1 120px;
187
+ flex: 1 1 120px;
188
+ }
189
+
190
+ /* :focus ---- */
191
+ .ui_element .wpbc_ui_text.focus,
192
+ .ui_element .wpbc_ui_text:focus {
193
+ border-color: #2271b1;
194
+ box-shadow: 0 0 0 1px #2271b1;
195
+ border-color: #d8d8d8;
196
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
197
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8);
198
+ z-index: 1;
199
+ /* Only visible in Windows High Contrast mode */
200
+ outline: 2px solid transparent;
201
+ }
202
+
203
+ /* 3.2 Select-box ------------------------------------------------------------------------------------------------- */
204
+ .ui_element .wpbc_ui_select {
205
+ border: 1px solid #d6d6d6;
206
+ -ms-flex: 1 1 auto;
207
+ flex: 1 1 auto;
208
+ }
209
+
210
+ /* :focus ---- */
211
+ .ui_element .wpbc_ui_select.focus,
212
+ .ui_element .wpbc_ui_select:focus {
213
+ border-color: #2271b1;
214
+ box-shadow: 0 0 0 1px #2271b1;
215
+ border-color: #d8d8d8;
216
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
217
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8);
218
+ z-index: 1;
219
+ /* Only visible in Windows High Contrast mode */
220
+ outline: 2px solid transparent;
221
+ }
222
+
223
+ /* 3.3 Check-box & Radio ----------------------------------------------------------------------------------------- */
224
+ .ui_element .wpbc_ui_checkbox,
225
+ .ui_element .wpbc_ui_radio {
226
+ border: 1px solid #bcbcbc;
227
+ border-radius: 4px;
228
+ background: #fff;
229
+ color: #50575e;
230
+ clear: none;
231
+ cursor: pointer;
232
+ display: inline-block;
233
+ line-height: 0 !important;
234
+ height: 1rem !important;
235
+ margin: -0.25rem 0.25rem 0 0;
236
+ outline: 0;
237
+ padding: 0 !important;
238
+ text-align: center;
239
+ vertical-align: middle;
240
+ width: 1rem;
241
+ min-width: 1rem;
242
+ -webkit-appearance: none;
243
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
244
+ transition: .05s border-color ease-in-out;
245
+ margin: 0;
246
+ -ms-flex-item-align: center;
247
+ align-self: center;
248
+ }
249
+
250
+ .ui_element .wpbc_ui_radio {
251
+ border-radius: 50%;
252
+ margin-right: 0.25rem;
253
+ line-height: 0.71428571;
254
+ }
255
+
256
+ /* :focus ---- */
257
+ .ui_element .wpbc_ui_checkbox.focus,
258
+ .ui_element .wpbc_ui_checkbox:focus,
259
+ .ui_element .wpbc_ui_radio.focus,
260
+ .ui_element .wpbc_ui_radio:focus {
261
+ border-color: #2271b1;
262
+ box-shadow: 0 0 0 1px #2271b1;
263
+ border-color: #d8d8d8;
264
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
265
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8);
266
+ z-index: 1;
267
+ /* Only visible in Windows High Contrast mode */
268
+ outline: 2px solid transparent !important;
269
+ }
270
+
271
+ .ui_element .wpbc_ui_radio + .wpbc_ui_control_label,
272
+ .ui_element .wpbc_ui_checkbox + .wpbc_ui_control_label {
273
+ padding-left: 5px;
274
+ padding-right: 5px;
275
+ }
276
+
277
+ @media screen and (max-width: 782px) {
278
+ .ui_element .wpbc_ui_checkbox,
279
+ .ui_element .wpbc_ui_radio {
280
+ height: 1.5625rem !important;
281
+ width: 1.5625rem;
282
+ }
283
+ }
284
+
285
+ /* 3.4. Addon ------------------------------------------------------------------------------------------------------ */
286
+ .ui_element .wpbc_ui_addon {
287
+ -ms-flex: 0 1 auto;
288
+ flex: 0 1 auto;
289
+ display: -ms-flexbox;
290
+ display: flex;
291
+ -ms-flex-flow: row wrap;
292
+ flex-flow: row wrap;
293
+ -ms-flex-pack: stretch;
294
+ justify-content: stretch;
295
+ -ms-flex-align: center;
296
+ align-items: center;
297
+ }
298
+
299
+ /* 3.5 Labels ------------------------------------------------------------------------------------------------------ */
300
+ .ui_element label.wpbc_ui_control_label {
301
+ -ms-flex: 0 1 auto;
302
+ flex: 0 1 auto;
303
+ display: -ms-flexbox;
304
+ display: flex;
305
+ -ms-flex-flow: row wrap;
306
+ flex-flow: row wrap;
307
+ -ms-flex-pack: start;
308
+ justify-content: flex-start;
309
+ -ms-flex-align: center;
310
+ align-items: center;
311
+ padding: 0 5px 2px 0;
312
+ padding-bottom: 1px;
313
+ }
314
+
315
+ .ui_element label.wpbc_ui_control_label + .wpbc_ui_control:first-of-type {
316
+ border-top-left-radius: 3px !important;
317
+ border-bottom-left-radius: 3px !important;
318
+ }
319
+
320
+ /**********************************************************************************************************************/
321
+ /* 4. Dropdown List */
322
+ /**********************************************************************************************************************/
323
+ .ui_element .wpbc_ui_dropdown__outside_label {
324
+ -ms-flex: 0 1 auto;
325
+ flex: 0 1 auto;
326
+ display: -ms-flexbox;
327
+ display: flex;
328
+ -ms-flex-flow: row nowrap;
329
+ flex-flow: row nowrap;
330
+ -ms-flex-pack: start;
331
+ justify-content: flex-start;
332
+ -ms-flex-align: center;
333
+ align-items: center;
334
+ padding: 0 10px 2px 0;
335
+ padding-bottom: 1px;
336
+ }
337
+
338
+ .ui_element .wpbc_ui_dropdown {
339
+ -ms-flex: 0 1 auto;
340
+ flex: 0 1 auto;
341
+ display: -ms-flexbox;
342
+ display: flex;
343
+ -ms-flex-flow: row nowrap;
344
+ flex-flow: row nowrap;
345
+ -ms-flex-pack: start;
346
+ justify-content: flex-start;
347
+ -ms-flex-align: stretch;
348
+ align-items: stretch;
349
+ position: relative;
350
+ }
351
+
352
+ .ui_element .wpbc_ui_dropdown * {
353
+ box-sizing: border-box;
354
+ }
355
+
356
+ .ui_element .wpbc_ui_dropdown .wpbc_ui_dropdown__inside_label {
357
+ font-weight: 600;
358
+ margin: 0;
359
+ padding: 0 0.5em 0 0;
360
+ }
361
+
362
+ .ui_element .wpbc_ui_dropdown .wpbc_ui_dropdown__inside_caret {
363
+ display: inline-block;
364
+ width: 0;
365
+ height: 0;
366
+ margin-left: 7px;
367
+ vertical-align: middle;
368
+ border-top: 4px dashed;
369
+ border-top: 4px solid \9;
370
+ border-right: 4px solid transparent;
371
+ border-left: 4px solid transparent;
372
+ }
373
+
374
+ /* ---------------------------------------------------------------------------------------------------------- */
375
+ /* BORDER RADIUS */
376
+ /* ---------------------------------------------------------------------------------------------------------- */
377
+ .ui_element .wpbc_ui_dropdown:last-child > .wpbc_ui_button:last-of-type {
378
+ border-top-right-radius: 3px;
379
+ border-bottom-right-radius: 3px;
380
+ }
381
+
382
+ /* In case, if have several elements in .ui_element (like "button dropdown button"), - make borders not round */
383
+ /* Left border not round */
384
+ .ui_element .wpbc_ui_dropdown:not(:first-child) > .wpbc_ui_button:first-child {
385
+ border-top-left-radius: 0;
386
+ border-bottom-left-radius: 0;
387
+ }
388
+
389
+ /* Right border not round */
390
+ .ui_element .wpbc_ui_dropdown:not(:last-child) > .wpbc_ui_button:last-child {
391
+ border-top-right-radius: 0;
392
+ border-bottom-right-radius: 0;
393
+ }
394
+
395
+ /* If we have outside label, then we need to make left border round */
396
+ .ui_element .wpbc_ui_dropdown__outside_label + .wpbc_ui_dropdown > .wpbc_ui_button:first-child {
397
+ border-top-left-radius: 3px;
398
+ border-bottom-left-radius: 3px;
399
+ }
400
+
401
+ /* ---------------------------------------------------------------------------------------------------------- */
402
+ /* OPTIONS (Drop Down Menu) in Dropdown List */
403
+ /* ---------------------------------------------------------------------------------------------------------- */
404
+ /* Complex OPTION - this option include some INPUT elements --------------- */
405
+ .wpbc_ui_dropdown .ui_dropdown_menu li.ui_complex_option_element {
406
+ display: -ms-flexbox;
407
+ display: flex;
408
+ -ms-flex-flow: row wrap;
409
+ flex-flow: row wrap;
410
+ -ms-flex-pack: start;
411
+ justify-content: flex-start;
412
+ -ms-flex-align: center;
413
+ align-items: center;
414
+ margin: 0;
415
+ padding: 0 15px;
416
+ }
417
+
418
+ .wpbc_ui_dropdown ul.ui_dropdown_menu li.ui_complex_option_element .ui_element {
419
+ -ms-flex: 0 1 50%;
420
+ flex: 0 1 50%;
421
+ display: -ms-flexbox;
422
+ display: flex;
423
+ -ms-flex-flow: row nowrap;
424
+ flex-flow: row nowrap;
425
+ -ms-flex-pack: start;
426
+ justify-content: flex-start;
427
+ -ms-flex-align: center;
428
+ align-items: center;
429
+ margin: 0;
430
+ padding: 4px 0;
431
+ }
432
+
433
+ .wpbc_ui_dropdown ul.ui_dropdown_menu li.ui_complex_option_element .ui_element > * {
434
+ -ms-flex: 0 1 auto;
435
+ flex: 0 1 auto;
436
+ margin: 0;
437
+ height: auto;
438
+ max-width: 210px;
439
+ }
440
+
441
+ /* ---------------------------- General backdrop --------------------------- */
442
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu {
443
+ display: none;
444
+ position: absolute;
445
+ top: 100%;
446
+ left: 0;
447
+ z-index: 1000;
448
+ float: left;
449
+ min-width: 160px;
450
+ padding: 5px 0;
451
+ margin: 0;
452
+ list-style: none;
453
+ text-align: left;
454
+ background-color: #ffffff;
455
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
456
+ border: 1px solid #cccccc;
457
+ border: 1px solid rgba(0, 0, 0, 0.15);
458
+ border-radius: 0 0 3px 3px;
459
+ background-clip: padding-box;
460
+ }
461
+
462
+ .ui_element .wpbc_ui_dropdown ul.ui_dropdown_menu * {
463
+ font-size: 13px;
464
+ }
465
+
466
+ @media screen and (max-width: 782px) {
467
+ .ui_element .wpbc_ui_dropdown ul.ui_dropdown_menu * {
468
+ font-size: 14px;
469
+ }
470
+ }
471
+
472
+ /* ---------------------------- Open --------------------------------------- */
473
+ .ui_element .wpbc_ui_dropdown.open > .ui_dropdown_menu {
474
+ display: block;
475
+ }
476
+
477
+ /* ---------------------------- Align: left | right ------------------------ */
478
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu.pull-right,
479
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu.ui_dropdown_menu_right {
480
+ left: auto;
481
+ right: 0;
482
+ }
483
+
484
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu.ui_dropdown_menu_left {
485
+ left: 0;
486
+ right: auto;
487
+ }
488
+
489
+ /* ---------------------------- Divider ------------------------------------ */
490
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu hr {
491
+ height: 1px;
492
+ margin: 5px 0;
493
+ overflow: hidden;
494
+ background: none;
495
+ border: 0;
496
+ border-top: 1px solid #eeeeee;
497
+ }
498
+
499
+ /* ---------------------------- Header ------------------------------------- */
500
+ .wpbc_ui_dropdown .ui_dropdown_menu li.dropdown-header {
501
+ padding: 0 15px;
502
+ color: #999;
503
+ font-size: 0.8em;
504
+ font-style: italic;
505
+ font-weight: 600;
506
+ }
507
+
508
+ /* ---------------------------- LI ----------------------------------------- */
509
+ .wpbc_ui_dropdown .ui_dropdown_menu li {
510
+ padding: 0;
511
+ margin: 0;
512
+ }
513
+
514
+ /* ---------------------------- A ------------------------------------------ */
515
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu a {
516
+ clear: both;
517
+ display: block;
518
+ font-weight: 400;
519
+ padding: 5px 15px;
520
+ white-space: nowrap;
521
+ /*font-size: 13px;*/
522
+ line-height: 18px;
523
+ }
524
+
525
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > li > a {
526
+ color: #333333;
527
+ text-decoration: none;
528
+ font-weight: 400;
529
+ padding: 5px 15px;
530
+ white-space: nowrap;
531
+ display: block;
532
+ clear: both;
533
+ font-size: 1em;
534
+ line-height: 1.42857143;
535
+ }
536
+
537
+ /* ---------------------------- A :hover :focus .active -------------------- */
538
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > li > a:hover,
539
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > li > a:focus,
540
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .active > a,
541
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .active > a:hover,
542
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .active > a:focus {
543
+ color: #fff;
544
+ background: #08c;
545
+ text-decoration: none;
546
+ outline: none;
547
+ box-shadow: none;
548
+ }
549
+
550
+ /* ---------------------------- .disabled A ------------------------------ */
551
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a,
552
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a:hover,
553
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a:focus {
554
+ color: #ccc;
555
+ }
556
+
557
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a:hover,
558
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a:focus {
559
+ text-decoration: none;
560
+ background-color: transparent;
561
+ background-image: none;
562
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
563
+ cursor: not-allowed;
564
+ }
565
+
566
+ .ui_element .wpbc_ui_dropdown .dropdown-backdrop {
567
+ position: fixed;
568
+ left: 0;
569
+ right: 0;
570
+ bottom: 0;
571
+ top: 0;
572
+ z-index: 990;
573
+ }
574
+
575
+ /**********************************************************************************************************************/
576
+ /* 5. Several elements in a ".ui_element" group -------------------------------------------------------------------- */
577
+ .ui_element .wpbc_ui_control {
578
+ border-radius: 0;
579
+ border-width: 1px;
580
+ /*border-right-width:0;*/
581
+ border-right-width: 1px;
582
+ margin-right: -1px !important;
583
+ }
584
+
585
+ .ui_element .wpbc_ui_control:first-child {
586
+ border-radius: 3px 0 0 3px;
587
+ }
588
+
589
+ .ui_element .wpbc_ui_control:last-child {
590
+ border-radius: 0 3px 3px 0;
591
+ border-width: 1px;
592
+ }
593
+
594
+ .ui_element .wpbc_ui_control:first-child:last-child {
595
+ border-radius: 3px;
596
+ }
597
+
598
+ /**********************************************************************************************************************/
599
+ /** Toolbar */
600
+ /**********************************************************************************************************************/
601
+ .ui_nowrap {
602
+ -ms-flex-wrap: nowrap !important;
603
+ flex-wrap: nowrap !important;
604
+ }
605
+
606
+ /* Toolbar --------------------------------------------------------------------------------------------------------- */
607
+ .wpbc_ajx_toolbar {
608
+ position: relative;
609
+ margin: 0 0 10px 50px;
610
+ }
611
+
612
+ .wpbc_ajx_toolbar * {
613
+ box-sizing: border-box;
614
+ }
615
+
616
+ /* Row of simple buttons somewhere in a page */
617
+ .wpbc_ajx_toolbar.wpbc_buttons_row {
618
+ position: initial;
619
+ margin: 0;
620
+ float: left;
621
+ }
622
+
623
+ .wpbc_ajx_toolbar.wpbc_buttons_row .ui_container {
624
+ background: none;
625
+ border: none;
626
+ margin: 0;
627
+ padding: 0;
628
+ }
629
+
630
+ /* Container ------------------------------------------------------------------------------------------------------- */
631
+ .wpbc_ajx_toolbar .ui_container {
632
+ display: -ms-flexbox;
633
+ display: flex;
634
+ -ms-flex-flow: row wrap;
635
+ flex-flow: row wrap;
636
+ -ms-flex-pack: start;
637
+ justify-content: flex-start;
638
+ -ms-flex-align: stretch;
639
+ align-items: stretch;
640
+ margin: 0;
641
+ box-shadow: none;
642
+ border: 1px solid #ccc;
643
+ border-top: none;
644
+ background: #f5f5f5;
645
+ font-size: 14px;
646
+ padding: 6px 15px;
647
+ }
648
+
649
+ .wpbc_ajx_toolbar .ui_container:last-child {
650
+ border-radius: 0 0 2px 2px;
651
+ }
652
+
653
+ /* Groups in container --------------------------------------------------------------------------------------------- */
654
+ .wpbc_ajx_toolbar .ui_container .ui_group {
655
+ -ms-flex: 0 1 auto;
656
+ flex: 0 1 auto;
657
+ padding: 0;
658
+ display: -ms-flexbox;
659
+ display: flex;
660
+ -ms-flex-flow: row wrap;
661
+ flex-flow: row wrap;
662
+ -ms-flex-pack: start;
663
+ justify-content: flex-start;
664
+ -ms-flex-align: stretch;
665
+ align-items: stretch;
666
+ border: none;
667
+ margin: 0 20px 0 0;
668
+ }
669
+
670
+ .wpbc_ajx_toolbar .ui_container .ui_group:last-child {
671
+ margin: 0;
672
+ }
673
+
674
+ /* Elements -------------------------------------------------------------------------------------------------------- */
675
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element {
676
+ display: -ms-flexbox;
677
+ display: flex;
678
+ -ms-flex-flow: row wrap;
679
+ flex-flow: row wrap;
680
+ -ms-flex-pack: start;
681
+ justify-content: flex-start;
682
+ -ms-flex-align: stretch;
683
+ align-items: stretch;
684
+ -ms-flex: 0 1 auto;
685
+ flex: 0 1 auto;
686
+ position: relative;
687
+ margin: 0px 15px 0px 0;
688
+ }
689
+
690
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element:last-child {
691
+ margin-right: 0;
692
+ }
693
+
694
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element > * {
695
+ margin: 5px 0;
696
+ }
697
+
698
+ .ui_elements_divider {
699
+ margin-left: 15px;
700
+ }
701
+
702
+ /**********************************************************************************************************************/
703
+ /** Customization */
704
+ /**********************************************************************************************************************/
705
+ .wpbc_ajx_toolbar .ui_container.ui_container_small * {
706
+ font-size: 13px;
707
+ }
708
+
709
+ @media (max-width: 782px) {
710
+ .wpbc_ajx_toolbar .ui_container.ui_container_small * {
711
+ font-size: 14px;
712
+ }
713
+ }
714
+
715
+ /* Elements Height ------------------------------------------------------------------------------------------------- */
716
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element > * {
717
+ height: 38px;
718
+ }
719
+
720
+ .wpbc_ajx_toolbar .ui_container.ui_container_small .ui_group .ui_element > * {
721
+ height: 30px;
722
+ }
723
+
724
+ @media (max-width: 782px) {
725
+ .wpbc_ajx_toolbar.wpbc_buttons_row .ui_container .ui_group .ui_element > *,
726
+ #toolbar_booking_listing.wpbc_ajx_toolbar .ui_container .ui_group .ui_element > * {
727
+ height: 38px;
728
+ }
729
+ .wpbc_ajx_toolbar.wpbc_buttons_row .ui_container .ui_group .ui_element > .wpbc_ui_button,
730
+ #toolbar_booking_listing.wpbc_ajx_toolbar .ui_container .ui_group .ui_element > .wpbc_ui_button {
731
+ padding: 0 15px 2px;
732
+ padding-bottom: 1px;
733
+ display: -ms-flexbox;
734
+ display: flex;
735
+ -ms-flex-flow: row wrap;
736
+ flex-flow: row wrap;
737
+ -ms-flex-pack: center;
738
+ justify-content: center;
739
+ -ms-flex-align: center;
740
+ align-items: center;
741
+ }
742
+ }
743
+
744
+ /* Keyword -------------------------------------------------------------------------------------------------------- */
745
+ .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__dates_status {
746
+ margin-right: 2.5em;
747
+ }
748
+
749
+ .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword {
750
+ -ms-flex: 1 1 auto;
751
+ flex: 1 1 auto;
752
+ }
753
+
754
+ .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword .ui_element {
755
+ -ms-flex: 1 1 auto;
756
+ flex: 1 1 auto;
757
+ }
758
+
759
+ .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword .ui_element .wpbc_search_field {
760
+ width: 100%;
761
+ }
762
+
763
+ /* 2nd row -------------------------------------------------------------------------------------------------------- */
764
+ .wpbc_ajx_toolbar .ui_container.ui_container_filter_row_2 {
765
+ padding: 4px 15px;
766
+ }
767
+
768
+ .wpbc_ajx_toolbar .ui_container.ui_container_filter_row_2 .ui_group.ui_group__statuses {
769
+ -ms-flex: 1 1 auto;
770
+ flex: 1 1 auto;
771
+ }
772
+
773
+ /**********************************************************************************************************************/
774
+ /** Booking resources - Chosen
775
+ /**********************************************************************************************************************/
776
+ /**
777
+ * Choozen Structure
778
+
779
+ <select multiple="MULTIPLE"...
780
+
781
+ div#wh_booking_type_chosen .chzn-container.chzn-container-multi .chzn-with-drop.chzn-container-active (if active)
782
+ ul.chzn-choices
783
+ li.search-choice
784
+ <span>
785
+ a.search-choice-close
786
+
787
+ li.search-field
788
+ input[type="text"].chzn-search-input .default (if no selected values)
789
+
790
+ div.chzn-drop
791
+ ul.chzn-results
792
+ li.result-selected || li.active-result .highlighted (if active)
793
+ */
794
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi {
795
+ -ms-flex: 1 1 auto;
796
+ flex: 1 1 auto;
797
+ display: -ms-flexbox;
798
+ display: flex;
799
+ -ms-flex-flow: column wrap;
800
+ flex-flow: column wrap;
801
+ -ms-flex-pack: center;
802
+ justify-content: center;
803
+ -ms-flex-align: center;
804
+ align-items: center;
805
+ height: initial;
806
+ width: auto !important;
807
+ min-width: 10em;
808
+ margin-right: -1px;
809
+ }
810
+
811
+ @media (max-width: 782px) {
812
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi {
813
+ height: initial !important;
814
+ }
815
+ }
816
+
817
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices {
818
+ -ms-flex: 1 1 auto;
819
+ flex: 1 1 auto;
820
+ display: -ms-flexbox;
821
+ display: flex;
822
+ -ms-flex-flow: row wrap;
823
+ flex-flow: row wrap;
824
+ -ms-flex-pack: start;
825
+ justify-content: flex-start;
826
+ -ms-flex-align: center;
827
+ align-items: center;
828
+ -ms-flex-line-pack: center;
829
+ align-content: center;
830
+ margin: 0;
831
+ padding: 0 0 0 5px;
832
+ height: auto;
833
+ min-height: 28px !important;
834
+ border-radius: 3px 0 0 3px;
835
+ }
836
+
837
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi.chzn-container-active ul.chzn-choices {
838
+ border-color: #d8d8d8 !important;
839
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8) !important;
840
+ z-index: 1;
841
+ outline: 2px solid transparent;
842
+ }
843
+
844
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice {
845
+ -ms-flex: 0 1 auto;
846
+ flex: 0 1 auto;
847
+ display: -ms-flexbox;
848
+ display: flex;
849
+ -ms-flex-flow: row nowrap;
850
+ flex-flow: row nowrap;
851
+ -ms-flex-pack: start;
852
+ justify-content: flex-start;
853
+ -ms-flex-align: baseline;
854
+ align-items: baseline;
855
+ margin: 3px 0.5em 3px 0;
856
+ padding: 3px 5px 3px 8px;
857
+ }
858
+
859
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice span {
860
+ word-wrap: break-word;
861
+ }
862
+
863
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close {
864
+ font-family: "Glyphicons Halflings";
865
+ font-style: normal;
866
+ font-weight: 400;
867
+ font-size: 9px;
868
+ color: #555;
869
+ text-decoration: none;
870
+ position: relative;
871
+ top: auto;
872
+ left: auto;
873
+ right: auto;
874
+ bottom: auto;
875
+ margin: 0 0 0 1em;
876
+ display: -ms-flexbox;
877
+ display: flex;
878
+ -ms-flex-flow: column wrap;
879
+ flex-flow: column wrap;
880
+ -ms-flex-pack: center;
881
+ justify-content: center;
882
+ -ms-flex-line-pack: center;
883
+ align-content: center;
884
+ width: auto;
885
+ height: auto;
886
+ }
887
+
888
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close:before {
889
+ content: "\e014";
890
+ }
891
+
892
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close:hover {
893
+ text-decoration: none;
894
+ }
895
+
896
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field {
897
+ -ms-flex: 0 1 1px;
898
+ flex: 0 1 1px;
899
+ display: -ms-flexbox;
900
+ display: flex;
901
+ -ms-flex-flow: row wrap;
902
+ flex-flow: row wrap;
903
+ -ms-flex-pack: start;
904
+ justify-content: flex-start;
905
+ -ms-flex-align: center;
906
+ align-items: center;
907
+ margin: 0px 0 0px 0;
908
+ padding: 0;
909
+ white-space: nowrap;
910
+ }
911
+
912
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field input[type="text"].default {
913
+ min-width: 12em;
914
+ }
915
+
916
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field input[type="text"] {
917
+ font-family: inherit;
918
+ }
919
+
920
+ .ui_container .ui_group .ui_element .chzn-container div.chzn-drop ul.chzn-results li.highlighted {
921
+ color: #fff;
922
+ background: #08c;
923
+ text-decoration: none;
924
+ outline: none;
925
+ box-shadow: none;
926
+ }
927
+
928
+ /*
929
+ #wh_booking_type_chosen {
930
+ width: auto !important;
931
+ display: flex;
932
+ flex-flow: row wrap;
933
+ justify-content: center;
934
+ align-items: stretch;
935
+ flex: 1 1 auto;
936
+ height: initial;
937
+ min-width: 10em;
938
+ }
939
+
940
+ #wh_booking_type_chosen .chzn-choices {
941
+ display: flex;
942
+ flex-flow: row wrap;
943
+ justify-content: stretch;
944
+ align-items: center;
945
+ margin: 0px 0px;
946
+ padding: 0 5px;
947
+ min-height: auto !important;
948
+ flex: 1 1 auto;
949
+ border-radius: 3px 0 0 3px;
950
+ }
951
+
952
+ .chzn-container-multi .chzn-choices .search-choice a.search-choice-close {
953
+ background: none;
954
+ display: inline-block;
955
+ font-family: "Glyphicons Halflings";
956
+ font-style: normal;
957
+ font-weight: 400;
958
+ font-size: 9px;
959
+ line-height: 1;
960
+ position: relative;
961
+ top: 0px;
962
+ left: 15px;
963
+ color: #555;
964
+ text-decoration: none;
965
+ }
966
+ .chzn-container-multi .chzn-choices .search-choice a.search-choice-close:hover {
967
+ text-decoration: none;
968
+ }
969
+ .chzn-container-multi .chzn-choices .search-choice a.search-choice-close:before {
970
+ content: "\e014";
971
+ }
972
+
973
+ #wh_booking_type_chosen .chzn-search-input.default {
974
+ min-width: 12em;
975
+ }
976
+ #wh_booking_type_chosen.chzn-container.chzn-container-multi.chzn-container-active .chzn-choices {
977
+
978
+ border-color: #d8d8d8 !important;
979
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8) !important;
980
+ z-index: 1;
981
+ outline: 2px solid transparent;
982
+ }
983
+ .chzn-container-multi .chzn-choices li.search-field input[type="text"] {
984
+ font-family: inherit;
985
+ }
986
+ .chzn-container .chzn-results li.highlighted {
987
+ color: #fff;
988
+ background: #08c;
989
+ text-decoration: none;
990
+ outline: none;
991
+ box-shadow: none;
992
+ }
993
+ /**/
includes/_toolbar_ui/_out/toolbar_ui.js ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * Encode HTML text to safe HTML entities
4
+ *
5
+ * Replace all characters in the given range (unicode 00A0 - 9999, as well as ampersand, greater & less than)
6
+ * with their html entity equivalents, which is simply &#nnn; where nnn is the unicode value we get from charCodeAt
7
+ *
8
+ * @param rawStr
9
+ * @returns {*}
10
+ */
11
+
12
+ function wpbc_get_safe_html_text(rawStr) {
13
+ var encodedStr = rawStr.replace(/[\u00A0-\u9999<>\&]/g, function (i) {
14
+ return '&#' + i.charCodeAt(0) + ';';
15
+ });
16
+ return encodedStr;
17
+ }
18
+ /**
19
+ * Change Value and Title of dropdown after clicking on Apply button
20
+ *
21
+ * @param params Example: { 'dropdown_id': 'wh_booking_date', 'dropdown_radio_name': 'ui_wh_booking_date_radio' }
22
+ */
23
+
24
+
25
+ function wpbc_ui_dropdown_apply_click(params) {
26
+ // Get input values of all elements in LI section, where RADIO was selected
27
+ var filter_ui_dates_arr = jQuery('input[name="' + params['dropdown_radio_name'] + '"]:checked').parents('li').find(':input').map(function () {
28
+ return wpbc_get_safe_html_text(jQuery(this).val());
29
+ }).get();
30
+
31
+ if (0 !== filter_ui_dates_arr.length) {
32
+ // Continue only if radio button was selected, and we are having value
33
+ // Get titles of all elements in LI section, where RADIO was selected
34
+ var filter_ui_titles_arr = jQuery('input[name="' + params['dropdown_radio_name'] + '"]:checked').parents('li').find(':input').map(function () {
35
+ if ('text' == jQuery(this).prop('type')) {
36
+ return jQuery(this).val();
37
+ }
38
+
39
+ if ('select-one' == jQuery(this).prop('type')) {
40
+ return jQuery(this).find(':selected').text();
41
+ }
42
+
43
+ if ('radio' == jQuery(this).prop('type') || 'checkbox' == jQuery(this).prop('type')) {
44
+ var input_selected = jQuery(this).filter(':checked').next('.wpbc_ui_control_label').html();
45
+
46
+ if (undefined == input_selected) {
47
+ input_selected = jQuery(this).filter(':checked').prev('.wpbc_ui_control_label').html();
48
+ }
49
+
50
+ return undefined !== input_selected ? input_selected : '';
51
+ }
52
+
53
+ return jQuery(this).val();
54
+ }).get(); // Update Value to dropdown input hidden elements. Such value stringify.
55
+
56
+ jQuery('#' + params['dropdown_id']).val(JSON.stringify(filter_ui_dates_arr)); // Generate change action, for ability to send Ajax request
57
+
58
+ jQuery('#' + params['dropdown_id']).trigger('change'); // Get Label of selected Radio button
59
+
60
+ var filter_ui_dates_title = jQuery('input[name="' + params['dropdown_radio_name'] + '"]:checked').next('.wpbc_ui_control_label').html() + ': '; // Remove selected value of radio button from beginning, we will use Label title instead
61
+
62
+ filter_ui_titles_arr.shift(); // Update Title in dropdown
63
+
64
+ var encoded_html_text = wpbc_get_safe_html_text(filter_ui_dates_title + filter_ui_titles_arr.join(' - '));
65
+ jQuery('#' + params['dropdown_id'] + '_selector .wpbc_selected_in_dropdown').html(encoded_html_text);
66
+ }
67
+
68
+ jQuery('#' + params['dropdown_id'] + '_container').hide();
69
+ }
70
+ /**
71
+ * Close dropdown after clicking on Close button
72
+ *
73
+ * @param dropdown_id ID of dropdown
74
+ */
75
+
76
+
77
+ function wpbc_ui_dropdown_close_click(dropdown_id) {
78
+ jQuery('#' + dropdown_id + '_container').hide();
79
+ }
80
+ /**
81
+ * Simple option click on dropdown
82
+ *
83
+ * @param params Example: { 'dropdown_id': 'wh_booking_date', 'is_this_simple_list': true, 'value': '5', '_this': this }
84
+ */
85
+
86
+
87
+ function wpbc_ui_dropdown_simple_click(params) {
88
+ jQuery('#' + params['dropdown_id'] + '_selector .wpbc_selected_in_dropdown').html(jQuery(params['_this']).html());
89
+ jQuery('#' + params['dropdown_id']).val(JSON.stringify([params['value']]));
90
+ jQuery('#' + params['dropdown_id'] + '_container li input[type=checkbox],' + '#' + params['dropdown_id'] + '_container li input[type=radio]').prop('checked', false);
91
+ jQuery('#' + params['dropdown_id']).trigger('change');
92
+
93
+ if (!params['is_this_simple_list']) {
94
+ jQuery('#' + params['dropdown_id'] + '_container').hide();
95
+ }
96
+ }
97
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluY2x1ZGVzL190b29sYmFyX3VpL19zcmMvdG9vbGJhcl91aS5qcyJdLCJuYW1lcyI6WyJ3cGJjX2dldF9zYWZlX2h0bWxfdGV4dCIsInJhd1N0ciIsImVuY29kZWRTdHIiLCJyZXBsYWNlIiwiaSIsImNoYXJDb2RlQXQiLCJ3cGJjX3VpX2Ryb3Bkb3duX2FwcGx5X2NsaWNrIiwicGFyYW1zIiwiZmlsdGVyX3VpX2RhdGVzX2FyciIsImpRdWVyeSIsInBhcmVudHMiLCJmaW5kIiwibWFwIiwidmFsIiwiZ2V0IiwibGVuZ3RoIiwiZmlsdGVyX3VpX3RpdGxlc19hcnIiLCJwcm9wIiwidGV4dCIsImlucHV0X3NlbGVjdGVkIiwiZmlsdGVyIiwibmV4dCIsImh0bWwiLCJ1bmRlZmluZWQiL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2JveF0sJ1xyXG5cdFx0ICArICcjJyArIHBhcmFtc1sgJ2Ryb3Bkb3duX2lkJyBdICsgJ19jb250YWluZXIgbGkgaW5wdXRbdHlwZT1yYWRpb10nICkucHJvcCggJ2NoZWNrZWQnLCBmYWxzZSApO1xyXG5cclxuXHRqUXVlcnkoICcjJyArIHBhcmFtc1sgJ2Ryb3Bkb3duX2lkJyBdICkudHJpZ2dlciggJ2NoYW5nZScgKTtcclxuXHJcblx0aWYgKCAhIHBhcmFtc1sgJ2lzX3RoaXNfc2ltcGxlX2xpc3QnIF0gKXtcclxuXHRcdGpRdWVyeSggJyMnICsgcGFyYW1zWyAnZHJvcGRvd25faWQnIF0gKyAnX2NvbnRhaW5lcicgKS5oaWRlKCk7XHJcblx0fVxyXG59Il0sImZpbGUiOiJpbmNsdWRlcy9fdG9vbGJhcl91aS9fb3V0L3Rvb2xiYXJfdWkuanMifQ==
includes/_toolbar_ui/_out/toolbar_ui.min.css ADDED
@@ -0,0 +1,2 @@
 
 
1
+ .ui_element .wpbc_ui_button{-ms-flex-pack:start;-ms-flex-align:center;align-items:center;-webkit-appearance:none;border-style:solid;box-sizing:border-box;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;justify-content:flex-start;margin:0;min-height:24px;padding:0 10px 1px;text-decoration:none;white-space:nowrap}.ui_element .wpbc_ui_button,.ui_element .wpbc_ui_button-secondary{background:#f7f7f7;border-color:#d8d8d8;color:#555;vertical-align:top}.ui_element .wpbc_ui_button-secondary:hover:not(.inactive),.ui_element .wpbc_ui_button.hover:not(.inactive),.ui_element .wpbc_ui_button:hover:not(.inactive){background:#fafafa;border-color:#d8d8d8;color:#23282d;text-decoration:none}.ui_element .wpbc_ui_button-secondary.inactive:hover,.ui_element .wpbc_ui_button.hover.inactive,.ui_element .wpbc_ui_button.inactive:hover{cursor:default}.ui_element .wpbc_ui_button-secondary:focus,.ui_element .wpbc_ui_button.focus,.ui_element .wpbc_ui_button:focus{background:#fafafa;border-color:#d8d8d8;box-shadow:0 0 0 0 #4f94d4,0 0 1px 1px rgba(79,148,212,.8);color:#23282d;outline:2px solid transparent;outline-offset:0;text-decoration:none;z-index:1}.ui_element .wpbc_ui_button-secondary:active:not(.inactive),.ui_element .wpbc_ui_button:active:not(.inactive),.wpbc_ui_dropdown.open>.wpbc_ui_button:not(.inactive){background:#f6f7f7;border-color:#d8d8d8;box-shadow:inset 0 1px 7px -3px rgba(0,0,0,.3);outline:0;text-decoration:none;-ms-transform:translateY(1px);transform:translateY(1px)}.ui_element.disabled .wpbc_ui_button,.ui_element .wpbc_ui_button-disabled,.ui_element .wpbc_ui_button-secondary.disabled,.ui_element .wpbc_ui_button-secondary:disabled,.ui_element .wpbc_ui_button-secondary[disabled],.ui_element .wpbc_ui_button.disabled,.ui_element .wpbc_ui_button:disabled,.ui_element .wpbc_ui_button[disabled]{background:#f6f7f7!important;border-color:#dcdcde!important;box-shadow:none!important;color:#a7aaad!important;cursor:default;-ms-transform:none!important;transform:none!important}.ui_element .wpbc_ui_button.active:hover:not(.inactive),.ui_element .wpbc_ui_button.active:not(.inactive){background:#f6f7f7;border-color:#d8d8d8;box-shadow:inset 0 1px 7px -3px rgba(0,0,0,.3);outline:0;text-decoration:none;-ms-transform:translateY(1px);transform:translateY(1px)}.ui_element .wpbc_ui_button.active:focus:not(.inactive){border-color:#3582c4;box-shadow:inset 0 1px 5px -3px #0a4b78,0 0 1px 1px rgba(79,148,212,.1)}.ui_element .wpbc_ui_button_primary{background:#0085ba;border-color:#0073aa #006799 #006799;box-shadow:0 1px 0 #f1f1f1;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799}.ui_element .wpbc_ui_button_primary.focus:not(.inactive),.ui_element .wpbc_ui_button_primary.hover:not(.inactive),.ui_element .wpbc_ui_button_primary:focus:not(.inactive),.ui_element .wpbc_ui_button_primary:hover:not(.inactive){background:#008ec2;border-color:#006799;color:#fff}.ui_element .wpbc_ui_button_primary.focus:not(.inactive),.ui_element .wpbc_ui_button_primary:focus:not(.inactive){box-shadow:0 0 0 0 #fff,0 0 2px 1px #a4d7ff}.ui_element .wpbc_ui_button_primary.active:focus:not(.inactive),.ui_element .wpbc_ui_button_primary.active:hover:not(.inactive),.ui_element .wpbc_ui_button_primary.active:not(.inactive),.ui_element .wpbc_ui_button_primary:active:not(.inactive){background:#0c7ca8;border-color:#0b79a4;box-shadow:inset 0 1px 7px -3px rgba(0,0,0,.3);color:#fff}.ui_element .wpbc_ui_button_primary-disabled,.ui_element .wpbc_ui_button_primary.disabled,.ui_element .wpbc_ui_button_primary:disabled,.ui_element .wpbc_ui_button_primary[disabled]{background:#f6f7f7!important;border-color:#dcdcde!important;box-shadow:none!important;color:#a7aaad!important;cursor:default;text-shadow:none!important}@media (max-width:782px){.ui_element .in-button-text{display:none}}.ui_element .wpbc_ui_text{border:1px solid #d6d6d6;-ms-flex:1 1 120px;flex:1 1 120px}.ui_element .wpbc_ui_text.focus,.ui_element .wpbc_ui_text:focus{border-color:#d8d8d8;box-shadow:0 0 0 1px #2271b1;box-shadow:0 0 0 0 #4f94d4,0 0 1px 1px rgba(79,148,212,.8);outline:2px solid transparent;z-index:1}.ui_element .wpbc_ui_select{border:1px solid #d6d6d6;-ms-flex:1 1 auto;flex:1 1 auto}.ui_element .wpbc_ui_select.focus,.ui_element .wpbc_ui_select:focus{border-color:#d8d8d8;box-shadow:0 0 0 1px #2271b1;box-shadow:0 0 0 0 #4f94d4,0 0 1px 1px rgba(79,148,212,.8);outline:2px solid transparent;z-index:1}.ui_element .wpbc_ui_checkbox,.ui_element .wpbc_ui_radio{-ms-flex-item-align:center;align-self:center;-webkit-appearance:none;background:#fff;border:1px solid #bcbcbc;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);clear:none;color:#50575e;cursor:pointer;display:inline-block;height:1rem!important;line-height:0!important;margin:0;min-width:1rem;outline:0;padding:0!important;text-align:center;transition:border-color .05s ease-in-out;vertical-align:middle;width:1rem}.ui_element .wpbc_ui_radio{border-radius:50%;line-height:.71428571;margin-right:.25rem}.ui_element .wpbc_ui_checkbox.focus,.ui_element .wpbc_ui_checkbox:focus,.ui_element .wpbc_ui_radio.focus,.ui_element .wpbc_ui_radio:focus{border-color:#d8d8d8;box-shadow:0 0 0 1px #2271b1;box-shadow:0 0 0 0 #4f94d4,0 0 1px 1px rgba(79,148,212,.8);outline:2px solid transparent!important;z-index:1}.ui_element .wpbc_ui_checkbox+.wpbc_ui_control_label,.ui_element .wpbc_ui_radio+.wpbc_ui_control_label{padding-left:5px;padding-right:5px}@media screen and (max-width:782px){.ui_element .wpbc_ui_checkbox,.ui_element .wpbc_ui_radio{height:1.5625rem!important;width:1.5625rem}}.ui_element .wpbc_ui_addon{-ms-flex-pack:stretch;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;justify-content:stretch}.ui_element label.wpbc_ui_control_label{-ms-flex-pack:start;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;justify-content:flex-start;padding:0 5px 1px 0}.ui_element label.wpbc_ui_control_label+.wpbc_ui_control:first-of-type{border-bottom-left-radius:3px!important;border-top-left-radius:3px!important}.ui_element .wpbc_ui_dropdown__outside_label{-ms-flex-pack:start;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-flow:row nowrap;flex-flow:row nowrap;justify-content:flex-start;padding:0 10px 1px 0}.ui_element .wpbc_ui_dropdown{-ms-flex-pack:start;-ms-flex-align:stretch;align-items:stretch;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-flow:row nowrap;flex-flow:row nowrap;justify-content:flex-start;position:relative}.ui_element .wpbc_ui_dropdown *{box-sizing:border-box}.ui_element .wpbc_ui_dropdown .wpbc_ui_dropdown__inside_label{font-weight:600;margin:0;padding:0 .5em 0 0}.ui_element .wpbc_ui_dropdown .wpbc_ui_dropdown__inside_caret{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px dashed;border-top:4px solid\9;display:inline-block;height:0;margin-left:7px;vertical-align:middle;width:0}.ui_element .wpbc_ui_dropdown:last-child>.wpbc_ui_button:last-of-type{border-bottom-right-radius:3px;border-top-right-radius:3px}.ui_element .wpbc_ui_dropdown:not(:first-child)>.wpbc_ui_button:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ui_element .wpbc_ui_dropdown:not(:last-child)>.wpbc_ui_button:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ui_element .wpbc_ui_dropdown__outside_label+.wpbc_ui_dropdown>.wpbc_ui_button:first-child{border-bottom-left-radius:3px;border-top-left-radius:3px}.wpbc_ui_dropdown .ui_dropdown_menu li.ui_complex_option_element{-ms-flex-pack:start;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;justify-content:flex-start;margin:0;padding:0 15px}.wpbc_ui_dropdown ul.ui_dropdown_menu li.ui_complex_option_element .ui_element{-ms-flex-pack:start;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:0 1 50%;flex:0 1 50%;-ms-flex-flow:row nowrap;flex-flow:row nowrap;justify-content:flex-start;margin:0;padding:4px 0}.wpbc_ui_dropdown ul.ui_dropdown_menu li.ui_complex_option_element .ui_element>*{-ms-flex:0 1 auto;flex:0 1 auto;height:auto;margin:0;max-width:210px}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu{background-clip:padding-box;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:0 0 3px 3px;box-shadow:0 6px 12px rgba(0,0,0,.175);display:none;float:left;left:0;list-style:none;margin:0;min-width:160px;padding:5px 0;position:absolute;text-align:left;top:100%;z-index:1000}.ui_element .wpbc_ui_dropdown ul.ui_dropdown_menu *{font-size:13px}@media screen and (max-width:782px){.ui_element .wpbc_ui_dropdown ul.ui_dropdown_menu *{font-size:14px}}.ui_element .wpbc_ui_dropdown.open>.ui_dropdown_menu{display:block}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu.pull-right,.ui_element .wpbc_ui_dropdown .ui_dropdown_menu.ui_dropdown_menu_right{left:auto;right:0}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu.ui_dropdown_menu_left{left:0;right:auto}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu hr{background:none;border:0;border-top:1px solid #eee;height:1px;margin:5px 0;overflow:hidden}.wpbc_ui_dropdown .ui_dropdown_menu li.dropdown-header{color:#999;font-size:.8em;font-style:italic;font-weight:600;padding:0 15px}.wpbc_ui_dropdown .ui_dropdown_menu li{margin:0;padding:0}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu a{clear:both;display:block;font-weight:400;line-height:18px;padding:5px 15px;white-space:nowrap}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>li>a{clear:both;color:#333;display:block;font-size:1em;font-weight:400;line-height:1.42857143;padding:5px 15px;text-decoration:none;white-space:nowrap}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>.active>a,.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>.active>a:focus,.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>.active>a:hover,.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>li>a:focus,.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>li>a:hover{background:#08c;box-shadow:none;color:#fff;outline:none;text-decoration:none}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>.disabled>a,.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>.disabled>a:focus,.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>.disabled>a:hover{color:#ccc}.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>.disabled>a:focus,.ui_element .wpbc_ui_dropdown .ui_dropdown_menu>.disabled>a:hover{background-color:transparent;background-image:none;cursor:not-allowed;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);text-decoration:none}.ui_element .wpbc_ui_dropdown .dropdown-backdrop{bottom:0;left:0;position:fixed;right:0;top:0;z-index:990}.ui_element .wpbc_ui_control{border-radius:0;border-width:1px;margin-right:-1px!important}.ui_element .wpbc_ui_control:first-child{border-radius:3px 0 0 3px}.ui_element .wpbc_ui_control:last-child{border-radius:0 3px 3px 0;border-width:1px}.ui_element .wpbc_ui_control:first-child:last-child{border-radius:3px}.ui_nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.wpbc_ajx_toolbar{margin:0 0 10px 50px;position:relative}.wpbc_ajx_toolbar *{box-sizing:border-box}.wpbc_ajx_toolbar.wpbc_buttons_row{float:left;margin:0;position:static}.wpbc_ajx_toolbar.wpbc_buttons_row .ui_container{background:none;border:none;margin:0;padding:0}.wpbc_ajx_toolbar .ui_container{-ms-flex-pack:start;-ms-flex-align:stretch;align-items:stretch;background:#f5f5f5;border:1px solid #ccc;border-top:none;box-shadow:none;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;font-size:14px;justify-content:flex-start;margin:0;padding:6px 15px}.wpbc_ajx_toolbar .ui_container:last-child{border-radius:0 0 2px 2px}.wpbc_ajx_toolbar .ui_container .ui_group{-ms-flex-pack:start;-ms-flex-align:stretch;align-items:stretch;border:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;justify-content:flex-start;margin:0 20px 0 0;padding:0}.wpbc_ajx_toolbar .ui_container .ui_group:last-child{margin:0}.wpbc_ajx_toolbar .ui_container .ui_group .ui_element{-ms-flex-pack:start;-ms-flex-align:stretch;align-items:stretch;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;justify-content:flex-start;margin:0 15px 0 0;position:relative}.wpbc_ajx_toolbar .ui_container .ui_group .ui_element:last-child{margin-right:0}.wpbc_ajx_toolbar .ui_container .ui_group .ui_element>*{margin:5px 0}.ui_elements_divider{margin-left:15px}.wpbc_ajx_toolbar .ui_container.ui_container_small *{font-size:13px}@media (max-width:782px){.wpbc_ajx_toolbar .ui_container.ui_container_small *{font-size:14px}}.wpbc_ajx_toolbar .ui_container .ui_group .ui_element>*{height:38px}.wpbc_ajx_toolbar .ui_container.ui_container_small .ui_group .ui_element>*{height:30px}@media (max-width:782px){#toolbar_booking_listing.wpbc_ajx_toolbar .ui_container .ui_group .ui_element>*,.wpbc_ajx_toolbar.wpbc_buttons_row .ui_container .ui_group .ui_element>*{height:38px}#toolbar_booking_listing.wpbc_ajx_toolbar .ui_container .ui_group .ui_element>.wpbc_ui_button,.wpbc_ajx_toolbar.wpbc_buttons_row .ui_container .ui_group .ui_element>.wpbc_ui_button{-ms-flex-pack:center;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;justify-content:center;padding:0 15px 1px}}.wpbc_ajx_toolbar .ui_container .ui_group.ui_group__dates_status{margin-right:2.5em}.wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword,.wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword .ui_element{-ms-flex:1 1 auto;flex:1 1 auto}.wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword .ui_element .wpbc_search_field{width:100%}.wpbc_ajx_toolbar .ui_container.ui_container_filter_row_2{padding:4px 15px}.wpbc_ajx_toolbar .ui_container.ui_container_filter_row_2 .ui_group.ui_group__statuses{-ms-flex:1 1 auto;flex:1 1 auto}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi{-ms-flex-pack:center;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column wrap;flex-flow:column wrap;height:auto;justify-content:center;margin-right:-1px;min-width:10em;width:auto!important}@media (max-width:782px){.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi{height:auto!important}}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices{-ms-flex-pack:start;-ms-flex-align:center;-ms-flex-line-pack:center;align-content:center;align-items:center;border-radius:3px 0 0 3px;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;height:auto;justify-content:flex-start;margin:0;min-height:28px!important;padding:0 0 0 5px}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi.chzn-container-active ul.chzn-choices{border-color:#d8d8d8!important;box-shadow:0 0 0 0 #4f94d4,0 0 1px 1px rgba(79,148,212,.8)!important;outline:2px solid transparent;z-index:1}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice{-ms-flex-pack:start;-ms-flex-align:baseline;align-items:baseline;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-flow:row nowrap;flex-flow:row nowrap;justify-content:flex-start;margin:3px .5em 3px 0;padding:3px 5px 3px 8px}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice span{word-wrap:break-word}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close{-ms-flex-pack:center;-ms-flex-line-pack:center;align-content:center;bottom:auto;color:#555;display:-ms-flexbox;display:flex;-ms-flex-flow:column wrap;flex-flow:column wrap;font-family:Glyphicons Halflings;font-size:9px;font-style:normal;font-weight:400;height:auto;justify-content:center;left:auto;margin:0 0 0 1em;position:relative;right:auto;text-decoration:none;top:auto;width:auto}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close:before{content:"\e014"}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close:hover{text-decoration:none}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field{-ms-flex-pack:start;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:0 1 1px;flex:0 1 1px;-ms-flex-flow:row wrap;flex-flow:row wrap;justify-content:flex-start;margin:0;padding:0;white-space:nowrap}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field input[type=text].default{min-width:12em}.ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field input[type=text]{font-family:inherit}.ui_container .ui_group .ui_element .chzn-container div.chzn-drop ul.chzn-results li.highlighted{background:#08c;box-shadow:none;color:#fff;outline:none;text-decoration:none}
2
+ /*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluY2x1ZGVzL190b29sYmFyX3VpL19vdXQvdG9vbGJhcl91aS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsNEJBS0UsbUJBQW9CLENBRXBCLHFCQUFzQixDQUNsQixrQkFBbUIsQ0FZdkIsdUJBQXdCLENBRHhCLGtCQUFtQixDQUluQixxQkFBc0IsQ0FOdEIsY0FBZSxDQWhCZixtQkFBb0IsQ0FDcEIsWUFBYSxDQUNiLHdCQUF5QixDQUNyQixvQkFBcUIsQ0FFckIsMEJBQTJCLENBUS9CLFFBQVMsQ0FEVCxlQUFnQixDQUdoQixrQkFBbUIsQ0FQbkIsb0JBQXFCLENBYXJCLGtCQUVGLENBRUEsa0VBSUUsa0JBQW1CLENBRG5CLG9CQUFxQixDQURyQixVQUFXLENBR1gsa0JBQ0YsQ0FHQSw2SkFHRSxrQkFBbUIsQ0FDbkIsb0JBQXFCLENBQ3JCLGFBQWMsQ0FDZCxvQkFDRixDQUVBLDJJQUdFLGNBQ0YsQ0FHQSxnSEFHRSxrQkFBbUIsQ0FDbkIsb0JBQXFCLENBR3JCLDBEQUFrRSxDQUZsRSxhQUFjLENBTWQsNkJBQThCLENBRTlCLGdCQUFpQixDQUpqQixvQ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i51aV9lbGVtZW50IC53cGJjX3VpX2Ryb3Bkb3duIC5kcm9wZG93bi1iYWNrZHJvcCB7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgbGVmdDogMDtcbiAgcmlnaHQ6IDA7XG4gIGJvdHRvbTogMDtcbiAgdG9wOiAwO1xuICB6LWluZGV4OiA5OTA7XG59XG5cbi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuLyogNS4gU2V2ZXJhbCBlbGVtZW50cyBpbiBhIFwiLnVpX2VsZW1lbnRcIiBncm91cCAgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gKi9cbi51aV9lbGVtZW50IC53cGJjX3VpX2NvbnRyb2wge1xuICBib3JkZXItcmFkaXVzOiAwO1xuICBib3JkZXItd2lkdGg6IDFweDtcbiAgLypib3JkZXItcmlnaHQtd2lkdGg6MDsqL1xuICBib3JkZXItcmlnaHQtd2lkdGg6IDFweDtcbiAgbWFyZ2luLXJpZ2h0OiAtMXB4ICFpbXBvcnRhbnQ7XG59XG5cbi51aV9lbGVtZW50IC53cGJjX3VpX2NvbnRyb2w6Zmlyc3QtY2hpbGQge1xuICBib3JkZXItcmFkaXVzOiAzcHggMCAwIDNweDtcbn1cblxuLnVpX2VsZW1lbnQgLndwYmNfdWlfY29udHJvbDpsYXN0LWNoaWxkIHtcbiAgYm9yZGVyLXJhZGl1czogMCAzcHggM3B4IDA7XG4gIGJvcmRlci13aWR0aDogMXB4O1xufVxuXG4udWlfZWxlbWVudCAud3BiY191aV9jb250cm9sOmZpcnN0LWNoaWxkOmxhc3QtY2hpbGQge1xuICBib3JkZXItcmFkaXVzOiAzcHg7XG59XG5cbi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuLyoqIFRvb2xiYXIgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICovXG4vKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cbi51aV9ub3dyYXAge1xuICAtbXMtZmxleC13cmFwOiBub3dyYXAgIWltcG9ydGFudDtcbiAgICAgIGZsZXgtd3JhcDogbm93cmFwICFpbXBvcnRhbnQ7XG59XG5cbi8qIFRvb2xiYXIgIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSAqL1xuLndwYmNfYWp4X3Rvb2xiYXIge1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIG1hcmdpbjogMCAwIDEwcHggNTBweDtcbn1cblxuLndwYmNfYWp4X3Rvb2xiYXIgKiB7XG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG59XG5cbi8qIFJvdyBvZiBzaW1wbGUgYnV0dG9ucyBzb21ld2hlcmUgaW4gYSBwYWdlICovXG4ud3BiY19hanhfdG9vbGJhci53cGJjX2J1dHRvbnNfcm93IHtcbiAgcG9zaXRpb246IGluaXRpYWw7XG4gIG1hcmdpbjogMDtcbiAgZmxvYXQ6IGxlZnQ7XG59XG5cbi53cGJjX2FqeF90b29sYmFyLndwYmNfYnV0dG9uc19yb3cgLnVpX2NvbnRh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1zLWZsZXg6IDAgMSBhdXRvO1xuICAgICAgZmxleDogMCAxIGF1dG87XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgbWFyZ2luOiAwcHggMTVweCAwcHggMDtcbn1cblxuLndwYmNfYWp4X3Rvb2xiYXIgLnVpX2NvbnRhaW5lciAudWlfZ3JvdXAgLnVpX2VsZW1lbnQ6bGFzdC1jaGlsZCB7XG4gIG1hcmdpbi1yaWdodDogMDtcbn1cblxuLndwYmNfYWp4X3Rvb2xiYXIgLnVpX2NvbnRhaW5lciAudWlfZ3JvdXAgLnVpX2VsZW1lbnQgPiAqIHtcbiAgbWFyZ2luOiA1cHggMDtcbn1cblxuLnVpX2VsZW1lbnRzX2RpdmlkZXIge1xuICBtYXJnaW4tbGVmdDogMTVweDtcbn1cblxuLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG4vKiogQ3VzdG9taXphdGlvbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKi9cbi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuLndwYmNfYWp4X3Rvb2xiYXIgLnVpX2NvbnRhaW5lci51aV9jb250YWluZXJfc21hbGwgKiB7XG4gIGZvbnQtc2l6ZTogMTNweDtcbn1cblxuQG1lZGlhIChtYXgtd2lkdGg6IDc4MnB4KSB7XG4gIC53cGJjX2FqeF90b29sYmFyIC51aV9jb250YWluZXIudWlfY29udGFpbmVyX3NtYWxsICoge1xuICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgfV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0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gKi9cbi53cGJjX2FqeF90b29sYmFyIC51aV9jb250YWluZXIudWlfY29udGFpbmVyX2ZpbHRlcl9yb3dfMiB7XG4gIHBhZGRpbmc6IDRweCAxNXB4O1xufVxuXG4ud3BiY19hanhfdG9vbGJhciAudWlfY29udGFpbmVyLnVpX2NvbnRhaW5lcl9maWx0ZXJfcm93XzIgLnVpX2dyb3VwLnVpX2dyb3VwX19zdGF0dXNlcyB7XG4gIC1tcy1mbGV4OiAxIDEgYXV0bztcbiAgICAgIGZsZXg6IDEgMSBhdXRvO1xufVxuXG4vKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cbi8qKiBCb29raW5nIHJlc291cmNlcyBcdC1cdENob3NlblxyXG4vKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cbi8qKlxyXG4gKiBDaG9vemVuIFN0cnVjdHVyZVxyXG5cclxuPHNlbGVjdCBtdWx0aXBsZT1cIk1VTFRJUExFXCIuLi5cclxuXHJcbmRpdiN3aF9ib29raW5nX3R5cGVfY2hvc2VuICAgLmNoem4tY29udGFpbmVyLmNoem4tY29udGFpbmVyLW11bHRpXHQuY2h6bi13aXRoLWRyb3AuY2h6bi1jb250YWluZXItYWN0aXZlIChpZiBhY3RpdmUpXHJcblx0dWwuY2h6bi1jaG9pY2VzXHJcblx0XHRsaS5zZWFyY2gtY2hvaWNlXHJcblx0XHRcdDxzcGFuPlxyXG5cdFx0XHRhLnNlYXJjaC1jaG9pY2UtY2xvc2VcclxuXHJcblx0XHRsaS5zZWFyY2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BlPVwidGV4dFwiXSB7XHJcblx0Zm9udC1mYW1pbHk6IGluaGVyaXQ7XHJcbn1cclxuLmNoem4tY29udGFpbmVyIC5jaHpuLXJlc3VsdHMgbGkuaGlnaGxpZ2h0ZWQge1xyXG5cdGNvbG9yOiAjZmZmO1xyXG5cdGJhY2tncm91bmQ6ICMwOGM7XHJcblx0dGV4dC1kZWNvcmF0aW9uOiBub25lO1xyXG5cdG91dGxpbmU6IG5vbmU7XHJcblx0Ym94LXNoYWRvdzogbm9uZTtcclxufVxyXG4vKiovXG4iXX0= */
includes/_toolbar_ui/_out/toolbar_ui.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ "use strict";function wpbc_get_safe_html_text(e){return e.replace(/[\u00A0-\u9999<>\&]/g,function(e){return"&#"+e.charCodeAt(0)+";"})}function wpbc_ui_dropdown_apply_click(e){var t,r=jQuery('input[name="'+e.dropdown_radio_name+'"]:checked').parents("li").find(":input").map(function(){return wpbc_get_safe_html_text(jQuery(this).val())}).get();0!==r.length&&(t=jQuery('input[name="'+e.dropdown_radio_name+'"]:checked').parents("li").find(":input").map(function(){if("text"==jQuery(this).prop("type"))return jQuery(this).val();if("select-one"==jQuery(this).prop("type"))return jQuery(this).find(":selected").text();if("radio"!=jQuery(this).prop("type")&&"checkbox"!=jQuery(this).prop("type"))return jQuery(this).val();var e=jQuery(this).filter(":checked").next(".wpbc_ui_control_label").html();return void 0!==(e=null==e?jQuery(this).filter(":checked").prev(".wpbc_ui_control_label").html():e)?e:""}).get(),jQuery("#"+e.dropdown_id).val(JSON.stringify(r)),jQuery("#"+e.dropdown_id).trigger("change"),r=jQuery('input[name="'+e.dropdown_radio_name+'"]:checked').next(".wpbc_ui_control_label").html()+": ",t.shift(),t=wpbc_get_safe_html_text(r+t.join(" - ")),jQuery("#"+e.dropdown_id+"_selector .wpbc_selected_in_dropdown").html(t)),jQuery("#"+e.dropdown_id+"_container").hide()}function wpbc_ui_dropdown_close_click(e){jQuery("#"+e+"_container").hide()}function wpbc_ui_dropdown_simple_click(e){jQuery("#"+e.dropdown_id+"_selector .wpbc_selected_in_dropdown").html(jQuery(e._this).html()),jQuery("#"+e.dropdown_id).val(JSON.stringify([e.value])),jQuery("#"+e.dropdown_id+"_container li input[type=checkbox],#"+e.dropdown_id+"_container li input[type=radio]").prop("checked",!1),jQuery("#"+e.dropdown_id).trigger("change"),e.is_this_simple_list||jQuery("#"+e.dropdown_id+"_container").hide()}
2
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jbHVkZXMvX3Rvb2xiYXJfdWkvX291dC90b29sYmFyX3VpLm1pbi5qcyIsInNvdXJjZXMiOlsiaW5jbHVkZXMvX3Rvb2xiYXJfdWkvX291dC90b29sYmFyX3VpLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuLyoqXHJcbiAqIEVuY29kZSBIVE1MIHRleHQgdG8gc2FmZSBIVE1MIGVudGl0aWVzXHJcbiAqXHJcbiAqIFJlcGxhY2UgYWxsIGNoYXJhY3RlcnMgaW4gdGhlIGdpdmVuIHJhbmdlICh1bmljb2RlIDAwQTAgLSA5OTk5LCBhcyB3ZWxsIGFzIGFtcGVyc2FuZCwgZ3JlYXRlciAmIGxlc3MgdGhhbilcclxuICogd2l0aCB0aGVpciBodG1sIGVudGl0eSBlcXVpdmFsZW50cywgd2hpY2ggaXMgc2ltcGx5ICYjbm5uOyB3aGVyZSBubm4gaXMgdGhlIHVuaWNvZGUgdmFsdWUgd2UgZ2V0IGZyb20gY2hhckNvZGVBdFxyXG4gKlxyXG4gKiBAcGFyYW0gcmF3U3RyXHJcbiAqIEByZXR1cm5zIHsqfVxyXG4gKi9cblxuZnVuY3Rpb24gd3BiY19nZXRfc2FmZV9odG1sX3RleHQocmF3U3RyKSB7XG4gIHZhciBlbmNvZGVkU3RyID0gcmF3U3RyLnJlcGxhY2UoL1tcXHUwMEEwLVxcdTk5OTk8PlxcJl0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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* UI Toolbar *************************************************************************************************/
2
+ /* To Compile file: Alt + F12 and run command: "gulp wpbc" */
3
+
4
+ /* 1. Default Button Style ------------------------------------------------------------------------------------------ */
5
+ .ui_element .wpbc_ui_button{
6
+ display: flex;
7
+ flex-flow: row nowrap;
8
+ justify-content: flex-start;
9
+ align-items: center;
10
+
11
+ text-decoration: none;
12
+ /*font-size: 13px;*/
13
+ /*line-height: 2.15384615; !* 28px *!*/
14
+ /*min-height: 30px;*/
15
+ min-height: 24px;
16
+ margin: 0;
17
+ padding: 0 10px 2px;
18
+ padding-bottom: 1px;
19
+ cursor: pointer;
20
+ /*border-width: 1px; - Defined at Several elements in a Group. Point #2. */
21
+ border-style: solid;
22
+ -webkit-appearance: none;
23
+ /*border-radius: 3px; - Defined at Several elements in a Group. Point #2. */
24
+ white-space: nowrap;
25
+ box-sizing: border-box;
26
+ }
27
+ .ui_element .wpbc_ui_button,
28
+ .ui_element .wpbc_ui_button-secondary {
29
+ color: #555;
30
+ border-color: #d8d8d8;
31
+ background: #f7f7f7;
32
+ vertical-align: top;
33
+ }
34
+ /* :hover ---- */
35
+ .ui_element .wpbc_ui_button.hover:not(.inactive),
36
+ .ui_element .wpbc_ui_button:hover:not(.inactive),
37
+ .ui_element .wpbc_ui_button-secondary:hover:not(.inactive){
38
+ background: #fafafa;
39
+ border-color: #d8d8d8;;
40
+ color: #23282d;
41
+ text-decoration: none;
42
+ }
43
+ .ui_element .wpbc_ui_button.hover.inactive,
44
+ .ui_element .wpbc_ui_button.inactive:hover,
45
+ .ui_element .wpbc_ui_button-secondary.inactive:hover{
46
+ cursor: default;
47
+ }
48
+ /* :focus ---- */
49
+ .ui_element .wpbc_ui_button.focus,
50
+ .ui_element .wpbc_ui_button:focus,
51
+ .ui_element .wpbc_ui_button-secondary:focus {
52
+ background: #fafafa;
53
+ border-color: #d8d8d8;
54
+ color: #23282d;
55
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
56
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8);
57
+ z-index: 1;
58
+ text-decoration: none;
59
+
60
+ /* Only visible in Windows High Contrast mode */
61
+ outline: 2px solid transparent;
62
+ /* Reset inherited offset from Gutenberg */
63
+ outline-offset: 0;
64
+ }
65
+ /* :active ---- */
66
+ .wpbc_ui_dropdown.open > .wpbc_ui_button:not(.inactive),
67
+ .ui_element .wpbc_ui_button:active:not(.inactive),
68
+ .ui_element .wpbc_ui_button-secondary:active:not(.inactive) {
69
+ background: #f6f7f7;
70
+ border-color: #d8d8d8;
71
+ box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3);
72
+ transform: translateY(1px);
73
+ outline: 0;
74
+ text-decoration: none;
75
+ }
76
+ /* :disabled ---- */
77
+ .ui_element .wpbc_ui_button:disabled,
78
+ .ui_element .wpbc_ui_button[disabled],
79
+ .ui_element.disabled .wpbc_ui_button,
80
+ .ui_element .wpbc_ui_button.disabled,
81
+ .ui_element .wpbc_ui_button-secondary[disabled],
82
+ .ui_element .wpbc_ui_button-secondary:disabled,
83
+ .ui_element .wpbc_ui_button-secondary.disabled,
84
+ .ui_element .wpbc_ui_button-disabled {
85
+ color: #a7aaad !important;
86
+ border-color: #dcdcde !important;
87
+ background: #f6f7f7 !important;
88
+ box-shadow: none !important;
89
+ cursor: default;
90
+ transform: none !important;
91
+ }
92
+ /* .active CLASS - pressed button, pressed state e.g. a selected setting */
93
+ .ui_element .wpbc_ui_button.active:not(.inactive),
94
+ .ui_element .wpbc_ui_button.active:hover:not(.inactive) {
95
+ background: #f6f7f7;
96
+ border-color: #d8d8d8;
97
+ box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3);
98
+ transform: translateY(1px);
99
+ outline: 0;
100
+ text-decoration: none;
101
+ }
102
+ .ui_element .wpbc_ui_button.active:focus:not(.inactive) {
103
+ border-color: #3582c4;
104
+ box-shadow:inset 0 1px 5px -3px #0a4b78, 0 0 1px 1px rgba(79, 148, 212, 0.1);
105
+ }
106
+
107
+ /* 2. Primary Button Style ----------------------------------------------------------------------------------------- */
108
+ .ui_element .wpbc_ui_button_primary {
109
+ background: #0085ba;
110
+ border-color: #0073aa #006799 #006799;
111
+ color: #fff;
112
+ text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
113
+ text-decoration: none;
114
+ box-shadow: 0 1px 0px #f1f1f1;
115
+ /*background: #2271b1;*/
116
+ /*border-color: #2271b1;*/
117
+ /*color: #fff;*/
118
+ /*text-decoration: none;*/
119
+ /*text-shadow: none;*/
120
+ }
121
+ /* :hover, :focus ---- */
122
+ .ui_element .wpbc_ui_button_primary.hover:not(.inactive),
123
+ .ui_element .wpbc_ui_button_primary:hover:not(.inactive),
124
+ .ui_element .wpbc_ui_button_primary.focus:not(.inactive),
125
+ .ui_element .wpbc_ui_button_primary:focus:not(.inactive) {
126
+ /*background: #135e96;*/
127
+ /*border-color: #135e96;*/
128
+ /*color: #fff;*/
129
+ background: #008ec2;
130
+ border-color: #006799;
131
+ color: #fff;
132
+ }
133
+ /* :focus ---- */
134
+ .ui_element .wpbc_ui_button_primary.focus:not(.inactive),
135
+ .ui_element .wpbc_ui_button_primary:focus:not(.inactive) {
136
+ box-shadow:0 0 0 0px #fff, 0 0 2px 1px #a4d7ff;
137
+ }
138
+ /* :active ---- */
139
+ .ui_element .wpbc_ui_button_primary.active:not(.inactive),
140
+ .ui_element .wpbc_ui_button_primary.active:hover:not(.inactive),
141
+ .ui_element .wpbc_ui_button_primary.active:focus:not(.inactive),
142
+ .ui_element .wpbc_ui_button_primary:active:not(.inactive) {
143
+ background: #0c7ca8;
144
+ border-color: #0b79a4;
145
+ box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3);
146
+ color: #fff;
147
+ }
148
+ /* :disabled ---- */
149
+ .ui_element .wpbc_ui_button_primary[disabled],
150
+ .ui_element .wpbc_ui_button_primary:disabled,
151
+ .ui_element .wpbc_ui_button_primary-disabled,
152
+ .ui_element .wpbc_ui_button_primary.disabled {
153
+ color: #a7aaad !important;
154
+ background: #f6f7f7 !important;
155
+ border-color: #dcdcde !important;
156
+ box-shadow: none !important;
157
+ text-shadow: none !important;
158
+ cursor: default;
159
+ }
160
+
161
+ @media (max-width: 782px) {
162
+ .ui_element .in-button-text {
163
+ display: none;
164
+ }
165
+ }
166
+
167
+ /* 3.1 Text --------------------------------------------------------------------------------------------------------- */
168
+ .ui_element .wpbc_ui_text {
169
+ border: 1px solid #d6d6d6;
170
+ flex: 1 1 120px;
171
+ }
172
+ /* :focus ---- */
173
+ .ui_element .wpbc_ui_text.focus,
174
+ .ui_element .wpbc_ui_text:focus {
175
+
176
+ border-color: #2271b1;
177
+ box-shadow: 0 0 0 1px #2271b1;
178
+
179
+ border-color: #d8d8d8;
180
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
181
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8);
182
+ z-index: 1;
183
+ /* Only visible in Windows High Contrast mode */
184
+ outline: 2px solid transparent;
185
+ }
186
+
187
+ /* 3.2 Select-box ------------------------------------------------------------------------------------------------- */
188
+ .ui_element .wpbc_ui_select {
189
+ border: 1px solid #d6d6d6;
190
+ flex: 1 1 auto;
191
+ }
192
+ /* :focus ---- */
193
+ .ui_element .wpbc_ui_select.focus,
194
+ .ui_element .wpbc_ui_select:focus {
195
+
196
+ border-color: #2271b1;
197
+ box-shadow: 0 0 0 1px #2271b1;
198
+
199
+ border-color: #d8d8d8;
200
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
201
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8);
202
+ z-index: 1;
203
+ /* Only visible in Windows High Contrast mode */
204
+ outline: 2px solid transparent;
205
+ }
206
+
207
+ /* 3.3 Check-box & Radio ----------------------------------------------------------------------------------------- */
208
+ .ui_element .wpbc_ui_checkbox,
209
+ .ui_element .wpbc_ui_radio {
210
+ border: 1px solid #bcbcbc;
211
+ border-radius: 4px;
212
+ background: #fff;
213
+ color: #50575e;
214
+ clear: none;
215
+ cursor: pointer;
216
+ display: inline-block;
217
+ line-height: 0 !important;
218
+ height: 1rem !important;
219
+ margin: -0.25rem 0.25rem 0 0;
220
+ outline: 0;
221
+ padding: 0 !important;
222
+ text-align: center;
223
+ vertical-align: middle;
224
+ width: 1rem;
225
+ min-width: 1rem;
226
+ -webkit-appearance: none;
227
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
228
+ transition: .05s border-color ease-in-out;
229
+
230
+ margin: 0;
231
+ align-self: center;
232
+ }
233
+ .ui_element .wpbc_ui_radio {
234
+ border-radius: 50%;
235
+ margin-right: 0.25rem;
236
+ line-height: 0.71428571;
237
+ }
238
+ /* :focus ---- */
239
+ .ui_element .wpbc_ui_checkbox.focus,
240
+ .ui_element .wpbc_ui_checkbox:focus,
241
+ .ui_element .wpbc_ui_radio.focus,
242
+ .ui_element .wpbc_ui_radio:focus {
243
+
244
+ border-color: #2271b1;
245
+ box-shadow: 0 0 0 1px #2271b1;
246
+
247
+ border-color: #d8d8d8;
248
+ /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */
249
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8);
250
+ z-index: 1;
251
+ /* Only visible in Windows High Contrast mode */
252
+ outline: 2px solid transparent !important;
253
+ }
254
+ .ui_element .wpbc_ui_radio + .wpbc_ui_control_label,
255
+ .ui_element .wpbc_ui_checkbox + .wpbc_ui_control_label {
256
+ padding-left: 5px;
257
+ padding-right: 5px;
258
+ }
259
+ @media screen and (max-width: 782px) {
260
+ .ui_element .wpbc_ui_checkbox,
261
+ .ui_element .wpbc_ui_radio {
262
+ height: 1.5625rem !important;
263
+ width: 1.5625rem;
264
+ }
265
+ }
266
+
267
+ /* 3.4. Addon ------------------------------------------------------------------------------------------------------ */
268
+ .ui_element .wpbc_ui_addon {
269
+ flex: 0 1 auto;
270
+ display: flex;
271
+ flex-flow: row wrap;
272
+ justify-content: stretch;
273
+ align-items: center;
274
+ }
275
+
276
+ /* 3.5 Labels ------------------------------------------------------------------------------------------------------ */
277
+ .ui_element label.wpbc_ui_control_label {
278
+ flex: 0 1 auto;
279
+ display: flex;
280
+ flex-flow: row wrap;
281
+ justify-content: flex-start;
282
+ align-items: center;
283
+ padding: 0 5px 2px 0;
284
+ padding-bottom: 1px;
285
+ }
286
+ .ui_element label.wpbc_ui_control_label + .wpbc_ui_control:first-of-type {
287
+ border-top-left-radius: 3px !important;
288
+ border-bottom-left-radius: 3px !important;
289
+ }
290
+
291
+ /**********************************************************************************************************************/
292
+ /* 4. Dropdown List */
293
+ /**********************************************************************************************************************/
294
+ .ui_element .wpbc_ui_dropdown__outside_label{
295
+ flex: 0 1 auto;
296
+ display: flex;
297
+ flex-flow: row nowrap;
298
+ justify-content: flex-start;
299
+ align-items: center;
300
+ padding: 0 10px 2px 0;
301
+ padding-bottom: 1px;
302
+ }
303
+ .ui_element .wpbc_ui_dropdown {
304
+ flex: 0 1 auto;
305
+
306
+ display: flex;
307
+ flex-flow: row nowrap;
308
+ justify-content: flex-start;
309
+ align-items: stretch;
310
+
311
+ position: relative;
312
+ }
313
+ .ui_element .wpbc_ui_dropdown * {
314
+ box-sizing: border-box;
315
+ }
316
+ .ui_element .wpbc_ui_dropdown .wpbc_ui_dropdown__inside_label{
317
+ font-weight: 600;
318
+ margin:0;
319
+ padding:0 0.5em 0 0;
320
+ }
321
+ .ui_element .wpbc_ui_dropdown .wpbc_ui_dropdown__inside_caret {
322
+ display: inline-block;
323
+ width: 0;
324
+ height: 0;
325
+ margin-left: 7px;
326
+ vertical-align: middle;
327
+ border-top: 4px dashed;
328
+ border-top: 4px solid \9;
329
+ border-right: 4px solid transparent;
330
+ border-left: 4px solid transparent;
331
+ }
332
+ /* ---------------------------------------------------------------------------------------------------------- */
333
+ /* BORDER RADIUS */
334
+ /* ---------------------------------------------------------------------------------------------------------- */
335
+ .ui_element .wpbc_ui_dropdown:last-child > .wpbc_ui_button:last-of-type {
336
+ border-top-right-radius: 3px;
337
+ border-bottom-right-radius: 3px;
338
+ }
339
+ /* In case, if have several elements in .ui_element (like "button dropdown button"), - make borders not round */
340
+ /* Left border not round */
341
+ .ui_element .wpbc_ui_dropdown:not(:first-child) > .wpbc_ui_button:first-child{
342
+ border-top-left-radius: 0;
343
+ border-bottom-left-radius: 0;
344
+ }
345
+ /* Right border not round */
346
+ .ui_element .wpbc_ui_dropdown:not(:last-child) > .wpbc_ui_button:last-child{
347
+ border-top-right-radius: 0;
348
+ border-bottom-right-radius: 0;
349
+ }
350
+ /* If we have outside label, then we need to make left border round */
351
+ .ui_element .wpbc_ui_dropdown__outside_label + .wpbc_ui_dropdown > .wpbc_ui_button:first-child{
352
+ border-top-left-radius: 3px;
353
+ border-bottom-left-radius: 3px;
354
+ }
355
+ /* ---------------------------------------------------------------------------------------------------------- */
356
+ /* OPTIONS (Drop Down Menu) in Dropdown List */
357
+ /* ---------------------------------------------------------------------------------------------------------- */
358
+ /* Complex OPTION - this option include some INPUT elements --------------- */
359
+ .wpbc_ui_dropdown .ui_dropdown_menu li.ui_complex_option_element{
360
+ display: flex;
361
+ flex-flow: row wrap;
362
+ justify-content: flex-start;
363
+ align-items: center;
364
+
365
+ margin:0;
366
+ padding: 0 15px;
367
+ }
368
+ .wpbc_ui_dropdown ul.ui_dropdown_menu li.ui_complex_option_element .ui_element {
369
+ flex: 0 1 50%;
370
+
371
+ display: flex;
372
+ flex-flow: row nowrap;
373
+ justify-content: flex-start;
374
+ align-items: center;
375
+
376
+ margin:0;
377
+ padding: 4px 0;
378
+ }
379
+ .wpbc_ui_dropdown ul.ui_dropdown_menu li.ui_complex_option_element .ui_element > * {
380
+ flex: 0 1 auto;
381
+
382
+ margin:0;
383
+ height:auto;
384
+ max-width: 210px;
385
+ }
386
+ /* ---------------------------- General backdrop --------------------------- */
387
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu {
388
+ display: none;
389
+
390
+ position: absolute;
391
+ top: 100%;
392
+ left: 0;
393
+ z-index: 1000;
394
+ float: left;
395
+
396
+ min-width: 160px;
397
+ padding: 5px 0;
398
+ margin: 0;
399
+
400
+ list-style: none;
401
+
402
+ text-align: left;
403
+
404
+ background-color: #ffffff;
405
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
406
+
407
+ border: 1px solid #cccccc;
408
+ border: 1px solid rgba(0, 0, 0, 0.15);
409
+
410
+ border-radius: 0 0 3px 3px;
411
+ background-clip: padding-box;
412
+ }
413
+ .ui_element .wpbc_ui_dropdown ul.ui_dropdown_menu *{
414
+ font-size: 13px;
415
+ }
416
+ @media screen and (max-width: 782px) {
417
+ .ui_element .wpbc_ui_dropdown ul.ui_dropdown_menu *{
418
+ font-size: 14px;
419
+ }
420
+ }
421
+ /* ---------------------------- Open --------------------------------------- */
422
+ .ui_element .wpbc_ui_dropdown.open > .ui_dropdown_menu {
423
+ display: block;
424
+ }
425
+ /* ---------------------------- Align: left | right ------------------------ */
426
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu.pull-right,
427
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu.ui_dropdown_menu_right {
428
+ left: auto;
429
+ right: 0;
430
+ }
431
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu.ui_dropdown_menu_left {
432
+ left: 0;
433
+ right: auto;
434
+ }
435
+ /* ---------------------------- Divider ------------------------------------ */
436
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu hr{
437
+ height: 1px;
438
+ margin: 5px 0;
439
+ overflow: hidden;
440
+ background: none;
441
+ border: 0;
442
+ border-top: 1px solid #eeeeee;
443
+ }
444
+ /* ---------------------------- Header ------------------------------------- */
445
+ .wpbc_ui_dropdown .ui_dropdown_menu li.dropdown-header {
446
+ padding:0 15px;
447
+ color: #999;
448
+ font-size: 0.8em;
449
+ font-style: italic;
450
+ font-weight: 600;
451
+ }
452
+ /* ---------------------------- LI ----------------------------------------- */
453
+ .wpbc_ui_dropdown .ui_dropdown_menu li {
454
+ padding:0;
455
+ margin:0;
456
+ }
457
+ /* ---------------------------- A ------------------------------------------ */
458
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu a {
459
+ clear: both;
460
+ display: block;
461
+ font-weight: 400;
462
+ padding: 5px 15px;
463
+ white-space: nowrap;
464
+ /*font-size: 13px;*/
465
+ line-height: 18px;
466
+ }
467
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > li > a {
468
+ color: #333333;
469
+ text-decoration: none;
470
+ font-weight: 400;
471
+ padding:5px 15px;
472
+ white-space: nowrap;
473
+
474
+ display: block;
475
+ clear: both;
476
+
477
+ font-size: 1em;
478
+ line-height: 1.42857143;
479
+ }
480
+ /* ---------------------------- A :hover :focus .active -------------------- */
481
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > li > a:hover,
482
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > li > a:focus,
483
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .active > a,
484
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .active > a:hover,
485
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .active > a:focus {
486
+ color: #fff;
487
+ background: #08c;
488
+ text-decoration: none;
489
+ outline: none;
490
+ box-shadow: none;
491
+ }
492
+ /* ---------------------------- .disabled A ------------------------------ */
493
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a,
494
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a:hover,
495
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a:focus {
496
+ color: #ccc;
497
+ }
498
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a:hover,
499
+ .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .disabled > a:focus {
500
+ text-decoration: none;
501
+ background-color: transparent;
502
+ background-image: none;
503
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
504
+ cursor: not-allowed;
505
+ }
506
+
507
+ .ui_element .wpbc_ui_dropdown .dropdown-backdrop {
508
+ position: fixed;
509
+ left: 0;
510
+ right: 0;
511
+ bottom: 0;
512
+ top: 0;
513
+ z-index: 990;
514
+ }
515
+
516
+ /**********************************************************************************************************************/
517
+
518
+ /* 5. Several elements in a ".ui_element" group -------------------------------------------------------------------- */
519
+ .ui_element .wpbc_ui_control {
520
+ border-radius: 0;
521
+ border-width:1px;
522
+ /*border-right-width:0;*/
523
+ border-right-width:1px;
524
+ margin-right:-1px!important;
525
+ }
526
+ .ui_element .wpbc_ui_control:first-child{
527
+ border-radius: 3px 0 0 3px;
528
+ }
529
+ .ui_element .wpbc_ui_control:last-child {
530
+ border-radius: 0 3px 3px 0;
531
+ border-width:1px;
532
+ }
533
+ .ui_element .wpbc_ui_control:first-child:last-child {
534
+ border-radius: 3px;
535
+ }
536
+
537
+ /**********************************************************************************************************************/
538
+ /** Toolbar */
539
+ /**********************************************************************************************************************/
540
+
541
+ .ui_nowrap {
542
+ flex-wrap:nowrap !important;
543
+ }
544
+
545
+ /* Toolbar --------------------------------------------------------------------------------------------------------- */
546
+ .wpbc_ajx_toolbar {
547
+ position:relative;
548
+ margin: 0 0 10px 50px;
549
+ }
550
+ .wpbc_ajx_toolbar * {
551
+ box-sizing: border-box;
552
+ }
553
+ /* Row of simple buttons somewhere in a page */
554
+ .wpbc_ajx_toolbar.wpbc_buttons_row {
555
+ position: initial;
556
+ margin:0;
557
+ float:left;
558
+
559
+ }
560
+ .wpbc_ajx_toolbar.wpbc_buttons_row .ui_container {
561
+ background: none;
562
+ border: none;
563
+ margin: 0;
564
+ padding: 0;
565
+ }
566
+ /* Container ------------------------------------------------------------------------------------------------------- */
567
+ .wpbc_ajx_toolbar .ui_container{
568
+ display: flex;
569
+ flex-flow: row wrap;
570
+ justify-content: flex-start;
571
+ align-items: stretch;
572
+
573
+ margin: 0;
574
+
575
+ box-shadow: none;
576
+ border: 1px solid #ccc;
577
+ border-top: none;
578
+ background: #f5f5f5;
579
+
580
+ font-size:14px;
581
+ padding: 6px 15px;
582
+ }
583
+ .wpbc_ajx_toolbar .ui_container:last-child{
584
+ border-radius: 0 0 2px 2px;
585
+ }
586
+
587
+ /* Groups in container --------------------------------------------------------------------------------------------- */
588
+ .wpbc_ajx_toolbar .ui_container .ui_group{
589
+ flex: 0 1 auto;
590
+ padding: 0;
591
+
592
+ display: flex;
593
+ flex-flow: row wrap;
594
+ justify-content: flex-start;
595
+ align-items: stretch;
596
+ border:none;
597
+ margin: 0 20px 0 0;
598
+ }
599
+ .wpbc_ajx_toolbar .ui_container .ui_group:last-child {
600
+ margin: 0;
601
+ }
602
+
603
+ /* Elements -------------------------------------------------------------------------------------------------------- */
604
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element {
605
+ display: flex;
606
+ flex-flow: row wrap;
607
+ justify-content: flex-start;
608
+ align-items: stretch;
609
+ flex: 0 1 auto;
610
+ position: relative;
611
+
612
+ margin: 0px 15px 0px 0;
613
+ }
614
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element:last-child {
615
+ margin-right: 0;
616
+ }
617
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element > * {
618
+ margin: 5px 0;
619
+ }
620
+
621
+ .ui_elements_divider {
622
+ margin-left: 15px;
623
+ }
624
+ /**********************************************************************************************************************/
625
+ /** Customization */
626
+ /**********************************************************************************************************************/
627
+
628
+ .wpbc_ajx_toolbar .ui_container.ui_container_small *{
629
+ font-size:13px;
630
+ }
631
+ @media (max-width: 782px) {
632
+ .wpbc_ajx_toolbar .ui_container.ui_container_small *{
633
+ font-size:14px;
634
+ }
635
+ }
636
+ /* Elements Height ------------------------------------------------------------------------------------------------- */
637
+ .wpbc_ajx_toolbar .ui_container .ui_group .ui_element > * {
638
+ height: 38px;
639
+ }
640
+ .wpbc_ajx_toolbar .ui_container.ui_container_small .ui_group .ui_element > * {
641
+ height: 30px;
642
+ }
643
+ @media (max-width: 782px) {
644
+ .wpbc_ajx_toolbar.wpbc_buttons_row .ui_container .ui_group .ui_element > *,
645
+ #toolbar_booking_listing.wpbc_ajx_toolbar .ui_container .ui_group .ui_element > * {
646
+ height: 38px;
647
+ }
648
+ .wpbc_ajx_toolbar.wpbc_buttons_row .ui_container .ui_group .ui_element > .wpbc_ui_button,
649
+ #toolbar_booking_listing.wpbc_ajx_toolbar .ui_container .ui_group .ui_element > .wpbc_ui_button {
650
+ padding: 0 15px 2px;
651
+ padding-bottom: 1px;
652
+ display: flex;
653
+ flex-flow: row wrap;
654
+ justify-content: center;
655
+ align-items: center;
656
+ }
657
+ }
658
+
659
+ /* Keyword -------------------------------------------------------------------------------------------------------- */
660
+ .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__dates_status {
661
+ margin-right:2.5em;
662
+ }
663
+ .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword {
664
+ flex: 1 1 auto;
665
+ }
666
+ .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword .ui_element{
667
+ flex: 1 1 auto;
668
+ }
669
+ .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword .ui_element .wpbc_search_field {
670
+ width: 100%;
671
+ }
672
+
673
+ /* 2nd row -------------------------------------------------------------------------------------------------------- */
674
+ .wpbc_ajx_toolbar .ui_container.ui_container_filter_row_2 {
675
+ padding: 4px 15px;
676
+ }
677
+ .wpbc_ajx_toolbar .ui_container.ui_container_filter_row_2 .ui_group.ui_group__statuses {
678
+ flex: 1 1 auto;
679
+ }
680
+
681
+
682
+
683
+ /**********************************************************************************************************************/
684
+ /** Booking resources - Chosen
685
+ /**********************************************************************************************************************/
686
+
687
+ /**
688
+ * Choozen Structure
689
+
690
+ <select multiple="MULTIPLE"...
691
+
692
+ div#wh_booking_type_chosen .chzn-container.chzn-container-multi .chzn-with-drop.chzn-container-active (if active)
693
+ ul.chzn-choices
694
+ li.search-choice
695
+ <span>
696
+ a.search-choice-close
697
+
698
+ li.search-field
699
+ input[type="text"].chzn-search-input .default (if no selected values)
700
+
701
+ div.chzn-drop
702
+ ul.chzn-results
703
+ li.result-selected || li.active-result .highlighted (if active)
704
+ */
705
+
706
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi {
707
+ flex: 1 1 auto;
708
+
709
+ display: flex;
710
+ flex-flow: column wrap;
711
+ justify-content: center;
712
+ align-items: center;
713
+
714
+ height: initial;
715
+ width: auto !important;
716
+ min-width: 10em;
717
+
718
+ margin-right: -1px;
719
+ }
720
+ @media (max-width: 782px) {
721
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi {
722
+ height: initial !important;
723
+ }
724
+ }
725
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices {
726
+ flex: 1 1 auto;
727
+
728
+ display: flex;
729
+ flex-flow: row wrap;
730
+ justify-content: flex-start;
731
+ align-items: center;
732
+ align-content: center;
733
+
734
+ margin: 0;
735
+ padding: 0 0 0 5px;
736
+
737
+ height: auto;
738
+ min-height: 28px !important;
739
+
740
+ border-radius: 3px 0 0 3px;
741
+ }
742
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi.chzn-container-active ul.chzn-choices {
743
+ border-color: #d8d8d8 !important;
744
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8) !important;
745
+ z-index: 1;
746
+ outline: 2px solid transparent;
747
+ }
748
+
749
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice{
750
+ flex: 0 1 auto;
751
+
752
+ display: flex;
753
+ flex-flow: row nowrap;
754
+ justify-content: flex-start;
755
+ align-items: baseline;
756
+
757
+ margin: 3px 0.5em 3px 0;
758
+ padding: 3px 5px 3px 8px;
759
+ }
760
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice span {
761
+ word-wrap: break-word;
762
+ }
763
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close{
764
+ font-family: "Glyphicons Halflings";
765
+ font-style: normal;
766
+ font-weight: 400;
767
+ font-size: 9px;
768
+
769
+ color: #555;
770
+ text-decoration: none;
771
+
772
+ position: relative;
773
+ top: auto;
774
+ left: auto;
775
+ right: auto;
776
+ bottom: auto;
777
+
778
+ margin: 0 0 0 1em;
779
+
780
+ display: flex;
781
+ flex-flow: column wrap;
782
+ justify-content: center;
783
+ align-content: center;
784
+
785
+ width: auto;
786
+ height: auto;
787
+ }
788
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close:before {
789
+ content: "\e014";
790
+ }
791
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close:hover {
792
+ text-decoration: none;
793
+ }
794
+
795
+
796
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field{
797
+ flex: 0 1 1px;
798
+
799
+ display: flex;
800
+ flex-flow: row wrap;
801
+ justify-content: flex-start;
802
+ align-items: center;
803
+
804
+ margin: 0px 0 0px 0;
805
+ padding: 0;
806
+
807
+ white-space: nowrap;
808
+ }
809
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field input[type="text"].default {
810
+ min-width: 12em;
811
+ }
812
+ .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-field input[type="text"] {
813
+ font-family: inherit;
814
+ }
815
+
816
+ .ui_container .ui_group .ui_element .chzn-container div.chzn-drop ul.chzn-results li.highlighted {
817
+ color: #fff;
818
+ background: #08c;
819
+ text-decoration: none;
820
+ outline: none;
821
+ box-shadow: none;
822
+ }
823
+
824
+ /*
825
+ #wh_booking_type_chosen {
826
+ width: auto !important;
827
+ display: flex;
828
+ flex-flow: row wrap;
829
+ justify-content: center;
830
+ align-items: stretch;
831
+ flex: 1 1 auto;
832
+ height: initial;
833
+ min-width: 10em;
834
+ }
835
+
836
+ #wh_booking_type_chosen .chzn-choices {
837
+ display: flex;
838
+ flex-flow: row wrap;
839
+ justify-content: stretch;
840
+ align-items: center;
841
+ margin: 0px 0px;
842
+ padding: 0 5px;
843
+ min-height: auto !important;
844
+ flex: 1 1 auto;
845
+ border-radius: 3px 0 0 3px;
846
+ }
847
+
848
+ .chzn-container-multi .chzn-choices .search-choice a.search-choice-close {
849
+ background: none;
850
+ display: inline-block;
851
+ font-family: "Glyphicons Halflings";
852
+ font-style: normal;
853
+ font-weight: 400;
854
+ font-size: 9px;
855
+ line-height: 1;
856
+ position: relative;
857
+ top: 0px;
858
+ left: 15px;
859
+ color: #555;
860
+ text-decoration: none;
861
+ }
862
+ .chzn-container-multi .chzn-choices .search-choice a.search-choice-close:hover {
863
+ text-decoration: none;
864
+ }
865
+ .chzn-container-multi .chzn-choices .search-choice a.search-choice-close:before {
866
+ content: "\e014";
867
+ }
868
+
869
+ #wh_booking_type_chosen .chzn-search-input.default {
870
+ min-width: 12em;
871
+ }
872
+ #wh_booking_type_chosen.chzn-container.chzn-container-multi.chzn-container-active .chzn-choices {
873
+
874
+ border-color: #d8d8d8 !important;
875
+ box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8) !important;
876
+ z-index: 1;
877
+ outline: 2px solid transparent;
878
+ }
879
+ .chzn-container-multi .chzn-choices li.search-field input[type="text"] {
880
+ font-family: inherit;
881
+ }
882
+ .chzn-container .chzn-results li.highlighted {
883
+ color: #fff;
884
+ background: #08c;
885
+ text-decoration: none;
886
+ outline: none;
887
+ box-shadow: none;
888
+ }
889
+ /**/
includes/_toolbar_ui/_src/toolbar_ui.js ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+
3
+
4
+ /**
5
+ * Encode HTML text to safe HTML entities
6
+ *
7
+ * Replace all characters in the given range (unicode 00A0 - 9999, as well as ampersand, greater & less than)
8
+ * with their html entity equivalents, which is simply &#nnn; where nnn is the unicode value we get from charCodeAt
9
+ *
10
+ * @param rawStr
11
+ * @returns {*}
12
+ */
13
+ function wpbc_get_safe_html_text( rawStr ){
14
+
15
+ var encodedStr = rawStr.replace( /[\u00A0-\u9999<>\&]/g, function ( i ){
16
+ return '&#' + i.charCodeAt( 0 ) + ';';
17
+ } );
18
+
19
+ return encodedStr;
20
+ }
21
+
22
+
23
+ /**
24
+ * Change Value and Title of dropdown after clicking on Apply button
25
+ *
26
+ * @param params Example: { 'dropdown_id': 'wh_booking_date', 'dropdown_radio_name': 'ui_wh_booking_date_radio' }
27
+ */
28
+ function wpbc_ui_dropdown_apply_click( params ){
29
+
30
+ // Get input values of all elements in LI section, where RADIO was selected
31
+ var filter_ui_dates_arr = jQuery( 'input[name="' + params[ 'dropdown_radio_name' ] + '"]:checked' )
32
+ .parents( 'li' ).find( ':input' )
33
+ .map( function (){
34
+ return wpbc_get_safe_html_text( jQuery( this ).val() );
35
+ } ).get();
36
+
37
+ if ( 0 !== filter_ui_dates_arr.length ){ // Continue only if radio button was selected, and we are having value
38
+
39
+ // Get titles of all elements in LI section, where RADIO was selected
40
+ var filter_ui_titles_arr = jQuery( 'input[name="' + params[ 'dropdown_radio_name' ] + '"]:checked' )
41
+ .parents( 'li' ).find( ':input' )
42
+ .map( function (){
43
+ if ( 'text' == jQuery( this ).prop( 'type' ) ){
44
+ return jQuery( this ).val();
45
+ }
46
+ if ( 'select-one' == jQuery( this ).prop( 'type' ) ){
47
+ return jQuery( this ).find( ':selected' ).text();
48
+ }
49
+ if (
50
+ ( 'radio' == jQuery( this ).prop( 'type' ) )
51
+ || ( 'checkbox' == jQuery( this ).prop( 'type' ) )
52
+ ){
53
+ var input_selected = jQuery( this ).filter(':checked').next( '.wpbc_ui_control_label' ).html();
54
+ if ( undefined == input_selected ) {
55
+ input_selected = jQuery( this ).filter(':checked').prev( '.wpbc_ui_control_label' ).html();
56
+ }
57
+ return ( undefined !== input_selected ) ? input_selected : '';
58
+ }
59
+
60
+ return jQuery( this ).val();
61
+ } ).get();
62
+
63
+ // Update Value to dropdown input hidden elements. Such value stringify.
64
+ jQuery( '#' + params[ 'dropdown_id' ] ).val( JSON.stringify( filter_ui_dates_arr ) );
65
+
66
+ // Generate change action, for ability to send Ajax request
67
+ jQuery( '#' + params[ 'dropdown_id' ] ).trigger( 'change' );
68
+
69
+ // Get Label of selected Radio button
70
+ var filter_ui_dates_title = jQuery( 'input[name="' + params[ 'dropdown_radio_name' ] + '"]:checked' ).next( '.wpbc_ui_control_label' ).html() + ': ';
71
+
72
+ // Remove selected value of radio button from beginning, we will use Label title instead
73
+ filter_ui_titles_arr.shift();
74
+
75
+ // Update Title in dropdown
76
+ var encoded_html_text = wpbc_get_safe_html_text( filter_ui_dates_title + filter_ui_titles_arr.join( ' - ' ) );
77
+ jQuery( '#' + params[ 'dropdown_id' ] + '_selector .wpbc_selected_in_dropdown' ).html( encoded_html_text );
78
+ }
79
+
80
+ jQuery( '#' + params[ 'dropdown_id' ] + '_container' ).hide();
81
+ }
82
+
83
+
84
+ /**
85
+ * Close dropdown after clicking on Close button
86
+ *
87
+ * @param dropdown_id ID of dropdown
88
+ */
89
+ function wpbc_ui_dropdown_close_click( dropdown_id ){
90
+
91
+ jQuery( '#' + dropdown_id + '_container' ).hide();
92
+ }
93
+
94
+
95
+ /**
96
+ * Simple option click on dropdown
97
+ *
98
+ * @param params Example: { 'dropdown_id': 'wh_booking_date', 'is_this_simple_list': true, 'value': '5', '_this': this }
99
+ */
100
+ function wpbc_ui_dropdown_simple_click( params ){
101
+
102
+ jQuery( '#' + params[ 'dropdown_id' ] + '_selector .wpbc_selected_in_dropdown' ).html( jQuery( params[ '_this' ] ).html() );
103
+
104
+ jQuery( '#' + params[ 'dropdown_id' ] ).val( JSON.stringify( [params[ 'value' ]] ) );
105
+
106
+ jQuery( '#' + params[ 'dropdown_id' ] + '_container li input[type=checkbox],'
107
+ + '#' + params[ 'dropdown_id' ] + '_container li input[type=radio]' ).prop( 'checked', false );
108
+
109
+ jQuery( '#' + params[ 'dropdown_id' ] ).trigger( 'change' );
110
+
111
+ if ( ! params[ 'is_this_simple_list' ] ){
112
+ jQuery( '#' + params[ 'dropdown_id' ] + '_container' ).hide();
113
+ }
114
+ }
includes/_toolbar_ui/toolbar_ui.php ADDED
@@ -0,0 +1,3652 @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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php /**
2
+ * @version 1.1
3
+ * @package Any
4
+ * @category Toolbar. UI Elements for Admin Panel
5
+ * @author wpdevelop
6
+ *
7
+ * @web-site http://oplugins.com/
8
+ * @email info@oplugins.com
9
+ *
10
+ * @modified 2022-05-07
11
+ */
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit, if accessed directly
14
+
15
+ ////////////////////////////////////////////////////////////////////////////////
16
+ // T o o l b a r s
17
+ ////////////////////////////////////////////////////////////////////////////////
18
+
19
+ /**
20
+ * Show top toolbar on Booking Listing page
21
+ *
22
+ * @param $escaped_search_request_params - escaped search request parameters array
23
+ */
24
+ function wpbc_ajx_bookings_toolbar( $escaped_search_request_params ) {
25
+
26
+ wpbc_clear_div();
27
+
28
+ //wpbc_toolbar_search_by_id_bookings(); // Search bookings by ID - form at the top right side of the page
29
+
30
+ wpbc_toolbar_btn__view_mode(); // Vertical Buttons
31
+
32
+ // Toolbar ////////////////////////////////////////////////////////////////
33
+
34
+ $default_param_values = wpbc_ajx_get__request_params__names_default( 'default' );
35
+
36
+ $selected_tab = ( isset( $escaped_search_request_params['ui_usr__default_selected_toolbar'] ) )
37
+ ? $escaped_search_request_params['ui_usr__default_selected_toolbar']
38
+ : $default_param_values['ui_usr__default_selected_toolbar'];
39
+
40
+ ?><div id="toolbar_booking_listing" class="wpbc_ajx_toolbar"><?php
41
+
42
+ // <editor-fold defaultstate="collapsed" desc=" T O P T A B s " >
43
+
44
+ wpbc_bs_toolbar_tabs_html_container_start();
45
+
46
+ wpbc_bs_display_tab( array(
47
+ 'title' => '&nbsp;' . __('Filters', 'booking')
48
+ , 'hint' => array( 'title' => __('Filter bookings' ,'booking') , 'position' => 'top' )
49
+ , 'onclick' => "jQuery('.ui_container_toolbar').hide();"
50
+ . "jQuery('.ui_container_filters').show();"
51
+ . "jQuery('.nav-tab').removeClass('nav-tab-active');"
52
+ . "jQuery(this).addClass('nav-tab-active');"
53
+ . "jQuery('.nav-tab i.icon-white').removeClass('icon-white');"
54
+ . "jQuery('.nav-tab-active i').addClass('icon-white');"
55
+ /**
56
+ * It will save such changes, and if we have selected bookings, then deselect them
57
+ */
58
+ // . "wpbc_ajx_booking_send_search_request_with_params( { 'ui_usr__default_selected_toolbar': 'filters' });"
59
+ /**
60
+ * It will save changes with NEXT search request, but not immediately
61
+ * it is handy, in case if we have selected bookings,
62
+ * we will not lose selection.
63
+ */
64
+ . "wpbc_ajx_booking_listing.search_set_param( 'ui_usr__default_selected_toolbar', 'filters' );"
65
+ , 'font_icon' => 'wpbc_icn_published_with_changes' //FixIn: 9.0.1.4 'glyphicon glyphicon-random'
66
+ , 'default' => ( $selected_tab == 'filters' ) ? true : false
67
+ ) );
68
+ wpbc_bs_display_tab( array(
69
+ 'title' => __('Actions', 'booking')
70
+ , 'hint' => array( 'title' => __('Manage bookings' ,'booking') , 'position' => 'top' )
71
+ , 'onclick' => "jQuery('.ui_container_toolbar').hide();"
72
+ . "jQuery('.ui_container_actions').show();"
73
+ . "jQuery('.nav-tab').removeClass('nav-tab-active');"
74
+ . "jQuery(this).addClass('nav-tab-active');"
75
+ . "jQuery('.nav-tab i.icon-white').removeClass('icon-white');"
76
+ . "jQuery('.nav-tab-active i').addClass('icon-white');"
77
+ /**
78
+ * It will save such changes, and if we have selected bookings, then deselect them
79
+ */
80
+ // . "wpbc_ajx_booking_send_search_request_with_params( { 'ui_usr__default_selected_toolbar': 'actions' });"
81
+ /**
82
+ * It will save changes with NEXT search request, but not immediately
83
+ * it is handy, in case if we have selected bookings,
84
+ * we will not lose selection.
85
+ */
86
+ . "wpbc_ajx_booking_listing.search_set_param( 'ui_usr__default_selected_toolbar', 'actions' );"
87
+ , 'font_icon' => 'wpbc_icn_adjust' //FixIn: 9.0.1.4 'glyphicon glyphicon-fire'
88
+ , 'default' => ( $selected_tab == 'actions' ) ? true : false
89
+
90
+ ) );
91
+
92
+ wpbc_bs_display_tab( array(
93
+ 'title' => ''//__('Options', 'booking')
94
+ , 'hint' => array( 'title' => __('User Options' ,'booking') , 'position' => 'top' )
95
+ , 'onclick' => "jQuery('.ui_container_toolbar').hide();"
96
+ . "jQuery('.ui_container_options').show();"
97
+ . "jQuery('.nav-tab').removeClass('nav-tab-active');"
98
+ . "jQuery(this).addClass('nav-tab-active');"
99
+ . "jQuery('.nav-tab i.icon-white').removeClass('icon-white');"
100
+ . "jQuery('.nav-tab-active i').addClass('icon-white');"
101
+ /**
102
+ * It will save such changes, and if we have selected bookings, then deselect them
103
+ */
104
+ // . "wpbc_ajx_booking_send_search_request_with_params( { 'ui_usr__default_selected_toolbar': 'options' });"
105
+ /**
106
+ * It will save changes with NEXT search request, but not immediately
107
+ * it is handy, in case if we have selected bookings,
108
+ * we will not lose selection.
109
+ */
110
+ . "wpbc_ajx_booking_listing.search_set_param( 'ui_usr__default_selected_toolbar', 'options' );"
111
+ , 'font_icon' => 'wpbc_icn_tune' //FixIn: 9.0.1.4 'glyphicon glyphicon-fire'
112
+ , 'default' => ( $selected_tab == 'options' ) ? true : false
113
+ //, 'position' => 'right'
114
+
115
+ ) );
116
+
117
+ wpbc_bs_dropdown_menu_help();
118
+
119
+ wpbc_bs_toolbar_tabs_html_container_end();
120
+
121
+ // </editor-fold>
122
+
123
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
124
+ // Filters
125
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
126
+ ?><div><?php //Required for bottom border radius in container
127
+
128
+ ?><div class="ui_container ui_container_toolbar ui_container_filters ui_container_filter_row_1" style="<?php echo ( $selected_tab == 'filters' ) ? 'display: flex' : 'display: none' ?>;"><?php
129
+
130
+ ?><div class="ui_group ui_group__dates_status ui_search_fields_group_1"><?php // array( 'class' => 'group_nowrap' ) // Elements at Several or One Line
131
+
132
+ wpbc_ajx__ui__booked_dates( $escaped_search_request_params, $default_param_values );
133
+
134
+ wpbc_ajx__ui__booking_status( $escaped_search_request_params, $default_param_values );
135
+
136
+ ?></div><?php
137
+
138
+ ?><div class="ui_group ui_group__keyword ui_search_fields_group_2"><?php // array( 'class' => 'group_nowrap' ) // Elements at Several or One Line
139
+
140
+ wpbc_ajx_toolbar_keyword_search( $escaped_search_request_params, $default_param_values );
141
+
142
+ wpbc_ajx_toolbar_reset_button( $escaped_search_request_params, $default_param_values );
143
+
144
+ ?></div><?php
145
+
146
+ ?></div><?php
147
+
148
+
149
+ ?><div class="ui_container ui_container_toolbar ui_container_small ui_container_filters ui_container_filter_row_2" style="<?php echo ( $selected_tab == 'filters' ) ? 'display: flex' : 'display: none' ?>;"><?php
150
+
151
+ ?><div class="ui_group ui_group__statuses ui_search_fields_group_1"><?php // array( 'class' => 'group_nowrap' ) // Elements at Several or One Line
152
+
153
+ wpbc_ajx__ui__booking_resources( $escaped_search_request_params, $default_param_values );
154
+
155
+ wpbc_ajx__ui__existing_or_trash( $escaped_search_request_params, $default_param_values );
156
+
157
+ wpbc_ajx__ui__all_or_new( $escaped_search_request_params, $default_param_values );
158
+
159
+ wpbc_ajx__ui__creation_date( $escaped_search_request_params, $default_param_values );
160
+
161
+ wpbc_ajx__ui__payment_status( $escaped_search_request_params, $default_param_values );
162
+
163
+ wpbc_ajx__ui__cost_min_max( $escaped_search_request_params, $default_param_values );
164
+
165
+ wpbc_ajx_toolbar_force_reload_button( $escaped_search_request_params, $default_param_values );
166
+
167
+ ?></div><?php
168
+
169
+ ?></div><?php
170
+
171
+ ?></div><?php //Required for bottom border radius in container
172
+
173
+
174
+ // <editor-fold defaultstate="collapsed" desc=" A c t i o n s t o o l b a r " >
175
+
176
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
177
+ // Actions
178
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
179
+
180
+ ?><div class="ui_container ui_container_toolbar ui_container_small ui_container_actions ui_container_actions_row_1" style="<?php echo ( $selected_tab == 'actions' ) ? 'display: flex' : 'display: none' ?>;"><?php
181
+
182
+ ?><div class="ui_group"><?php
183
+
184
+ // Approve // Pending
185
+ ?><div class="ui_element hide_button_if_no_selection"><?php
186
+ wpbc_ajx__ui__action_button__approve( $escaped_search_request_params );
187
+ wpbc_ajx__ui__action_button__pending( $escaped_search_request_params );
188
+ ?></div><?php
189
+
190
+ // Trash / Reject // Restore // Delete
191
+ ?><div class="ui_element hide_button_if_no_selection"><?php
192
+ wpbc_ajx__ui__action_button__trash( $escaped_search_request_params );
193
+ wpbc_ajx__ui__action_button__restore( $escaped_search_request_params );
194
+ wpbc_ajx__ui__action_button__delete( $escaped_search_request_params );
195
+ wpbc_ajx__ui__action_text__delete_reason( $escaped_search_request_params );
196
+ ?></div><?php
197
+
198
+ // Empty Trash
199
+ ?><div class="ui_element"><?php
200
+ wpbc_ajx__ui__action_button__empty_trash( $escaped_search_request_params );
201
+ ?></div><?php
202
+
203
+ // Read All // Read // Unread
204
+ ?><div class="ui_element"><?php
205
+ wpbc_ajx__ui__action_button__readall( $escaped_search_request_params );
206
+ wpbc_ajx__ui__action_button__read( $escaped_search_request_params );
207
+ wpbc_ajx__ui__action_button__unread( $escaped_search_request_params );
208
+ ?></div><?php
209
+
210
+ // Print
211
+ ?><div class="ui_element"><?php
212
+ wpbc_ajx__ui__action_button__print( $escaped_search_request_params );
213
+ ?></div><?php
214
+
215
+ // Import
216
+ ?><div class="ui_element"><?php
217
+ wpbc_ajx__ui__action_button__import( $escaped_search_request_params );
218
+ ?></div><?php
219
+
220
+ // Export page to CSV // Export all pages to CSV
221
+ ?><div class="ui_element"><?php
222
+ wpbc_ajx__ui__action_button__export_csv( $escaped_search_request_params );
223
+ // wpbc_ajx__ui__action_button__export_csv_page( $escaped_search_request_params );
224
+ // wpbc_ajx__ui__action_button__export_csv_all( $escaped_search_request_params );
225
+ ?></div><?php
226
+
227
+ ?></div><?php
228
+
229
+ ?></div><?php
230
+ // </editor-fold>
231
+
232
+
233
+ // <editor-fold defaultstate="collapsed" desc=" O p t i o n s t o o l b a r " >
234
+
235
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
236
+ // Options
237
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
238
+
239
+ ?><div class="ui_container ui_container_toolbar ui_container_small ui_container_options ui_container_options_row_1" style="<?php echo ( $selected_tab == 'options' ) ? 'display: flex' : 'display: none' ?>;"><?php
240
+
241
+ ?><div class="ui_group"><?php
242
+
243
+
244
+ // Is send Emails
245
+ ?><div class="ui_element"><?php
246
+ wpbc_ajx__ui__options_checkbox__send_emails( $escaped_search_request_params, $default_param_values );
247
+ ?></div><?php
248
+
249
+ if ( class_exists( 'wpdev_bk_personal' ) ) {
250
+ // Is Expand Notes
251
+ ?><div class="ui_element"><?php
252
+
253
+ wpbc_ajx__ui__options_checkbox__is_expand_remarks( $escaped_search_request_params, $default_param_values );
254
+
255
+ ?></div><?php
256
+ }
257
+
258
+ ?></div><?php
259
+
260
+ ?></div><?php
261
+ // </editor-fold>
262
+
263
+ ?></div><?php
264
+ }
265
+
266
+ /**
267
+ * Sorting
268
+ *
269
+ * @param $escaped_search_request_params - escaped search request parameters array
270
+ * @param $defaults - default parameters values
271
+ */
272
+ function wpbc_ajx__ui__booking_sorting( $escaped_search_request_params, $defaults ){
273
+
274
+ $params_addon = array(
275
+ 'type' => 'span'
276
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
277
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_swap_vert', 'position' => 'right', 'icon_img' => '' )
278
+ , 'class' => 'wpbc_ui_button inactive'
279
+ , 'style' => ''
280
+ , 'attr' => array()
281
+ );
282
+
283
+ $select_options = array (
284
+ 'booking_id__asc' => __( 'ID', 'booking' ) . ' <i class="menu_icon icon-1x wpbc-bi-arrow-up-short"></i>',
285
+ 'booking_id__desc' => __( 'ID', 'booking' ) . ' <i class="menu_icon icon-1x wpbc-bi-arrow-down-short"></i>',
286
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
287
+ 'dates__asc' => __( 'Dates', 'booking' ) . ' <i class="menu_icon icon-1x wpbc-bi-arrow-up-short"></i>',
288
+ 'dates__desc' => __( 'Dates', 'booking' ) . ' <i class="menu_icon icon-1x wpbc-bi-arrow-down-short"></i>',
289
+ );
290
+ if ( class_exists( 'wpdev_bk_personal' ) ) {
291
+ $select_options['divider2'] = array( 'type' => 'html', 'html' => '<hr/>' );
292
+ $select_options['resource__asc'] = __( 'Resource', 'booking' ) . ' <i class="menu_icon icon-1x wpbc-bi-arrow-up-short"></i>';
293
+ $select_options['resource__desc'] = __( 'Resource', 'booking' ) . ' <i class="menu_icon icon-1x wpbc-bi-arrow-down-short"></i>';
294
+
295
+ }
296
+ if ( class_exists( 'wpdev_bk_biz_s' ) ) {
297
+ $select_options['divider3'] = array( 'type' => 'html', 'html' => '<hr/>' );
298
+ $select_options['cost__asc'] = __( 'Cost', 'booking' ) . ' <i class="menu_icon icon-1x wpbc-bi-arrow-up-short"></i>';
299
+ $select_options['cost__desc'] = __( 'Cost', 'booking' ) . ' <i class="menu_icon icon-1x wpbc-bi-arrow-down-short"></i>';
300
+ }
301
+
302
+ $params = array(
303
+ 'id' => 'wh_sort'
304
+ , 'default' => isset( $escaped_search_request_params['wh_sort'] ) ? $escaped_search_request_params['wh_sort'] : $defaults['wh_sort']
305
+ , 'label' => ''//__('Sort by', 'booking') . ':'
306
+ , 'title' => __('Sort by', 'booking')
307
+ , 'hint' => array( 'title' => __('Sort bookings by' ,'booking') , 'position' => 'top' )
308
+ , 'li_options' => $select_options
309
+ );
310
+
311
+ ?><div class="wpbc_ajx_toolbar wpbc_buttons_row">
312
+ <div class="ui_container ui_container_small">
313
+ <div class="ui_group">
314
+ <div class="ui_element"><?php
315
+
316
+ //wpbc_flex_addon( $params_addon );
317
+
318
+ wpbc_flex_dropdown( $params );
319
+
320
+ ?></div></div></div></div><?php
321
+ }
322
+
323
+
324
+
325
+ // <editor-fold defaultstate="collapsed" desc=" T o o l b a r F i l t e r B u t t o n s " >
326
+
327
+ ////////////////////////////////////////////////////////////////////////////////
328
+ /// 1st row
329
+ ////////////////////////////////////////////////////////////////////////////////
330
+
331
+ /**
332
+ * Booked dates
333
+ *
334
+ * @param $escaped_search_request_params - escaped search request parameters array
335
+ * @param $defaults - default parameters values
336
+ */
337
+ function wpbc_ajx__ui__booked_dates( $escaped_search_request_params, $defaults ){
338
+
339
+ $params_addon = array(
340
+ 'type' => 'span'
341
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
342
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_event', 'position' => 'right', 'icon_img' => '' )
343
+ , 'class' => 'wpbc_ui_button inactive'
344
+ , 'style' => ''
345
+ , 'hint' => array( 'title' => __('Filter bookings by booking dates' ,'booking') , 'position' => 'top' )
346
+ , 'attr' => array()
347
+ );
348
+
349
+ $dates_interval = array(
350
+ 1 => '1' . ' ' . __('day' ,'booking')
351
+ , 2 => '2' . ' ' . __('days' ,'booking')
352
+ , 3 => '3' . ' ' . __('days' ,'booking')
353
+ , 4 => '4' . ' ' . __('days' ,'booking')
354
+ , 5 => '5' . ' ' . __('days' ,'booking')
355
+ , 6 => '6' . ' ' . __('days' ,'booking')
356
+ , 7 => '1' . ' ' . __('week' ,'booking')
357
+ , 14 => '2' . ' ' . __('weeks' ,'booking')
358
+ , 30 => '1' . ' ' . __('month' ,'booking')
359
+ , 60 => '2' . ' ' . __('months' ,'booking')
360
+ , 90 => '3' . ' ' . __('months' ,'booking')
361
+ , 183 => '6' . ' ' . __('months' ,'booking')
362
+ , 365 => '1' . ' ' . __('Year' ,'booking')
363
+ );
364
+
365
+ $request_input_el_default = array(
366
+ 'wh_booking_date' => isset( $escaped_search_request_params['wh_booking_date'] ) ? $escaped_search_request_params['wh_booking_date'] : $defaults['wh_booking_date'],
367
+ 'ui_wh_booking_date_radio' => isset( $escaped_search_request_params['ui_wh_booking_date_radio'] ) ? $escaped_search_request_params['ui_wh_booking_date_radio'] : $defaults['ui_wh_booking_date_radio'],
368
+ 'ui_wh_booking_date_next' => isset( $escaped_search_request_params['ui_wh_booking_date_next'] ) ? $escaped_search_request_params['ui_wh_booking_date_next'] : $defaults['ui_wh_booking_date_next'],
369
+ 'ui_wh_booking_date_prior' => isset( $escaped_search_request_params['ui_wh_booking_date_prior'] ) ? $escaped_search_request_params['ui_wh_booking_date_prior'] : $defaults['ui_wh_booking_date_prior'],
370
+ 'ui_wh_booking_date_checkin' => isset( $escaped_search_request_params['ui_wh_booking_date_checkin'] ) ? $escaped_search_request_params['ui_wh_booking_date_checkin'] : $defaults['ui_wh_booking_date_checkin'],
371
+ 'ui_wh_booking_date_checkout' => isset( $escaped_search_request_params['ui_wh_booking_date_checkout'] ) ? $escaped_search_request_params['ui_wh_booking_date_checkout'] : $defaults['ui_wh_booking_date_checkout']
372
+ );
373
+
374
+ $options = array (
375
+ // 'header2' => array( 'type' => 'header', 'title' => __( 'Complex Days', 'booking' ) ),
376
+ // 'disabled1' => array( 'type' => 'simple', 'value' => '19', 'title' => __( 'This is option was disabled', 'booking' ), 'disabled' => true ),
377
+
378
+ '0' => __( 'Current dates', 'booking' ),
379
+ '1' => __( 'Today', 'booking' ),
380
+ '2' => __( 'Previous dates', 'booking' ),
381
+ '3' => __( 'All dates', 'booking' ),
382
+
383
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
384
+
385
+ '9' => __( 'Today check in/out', 'booking' ),
386
+ '10' => __( 'Check in - Today', 'booking' ),
387
+ '11' => __( 'Check out - Today', 'booking' ),
388
+ '7' => __( 'Check in - Tomorrow', 'booking' ),
389
+ '8' => __( 'Check out - Tomorrow', 'booking' ),
390
+
391
+ 'divider2' => array( 'type' => 'html', 'html' => '<hr/>' ),
392
+
393
+ // Next [ '4', '10' ] - radio button (if selected) value '4' and select-box with selected value '10'
394
+ 'next' => array(
395
+ 'type' => 'complex',
396
+ 'class' => 'ui_complex_option_element',
397
+ // recheck if LI selected: $options['next']['selected_options_value'] == $params['default], e.g. ~ [ '4', '10' ]
398
+ 'selected_options_value' => array(
399
+ 1 => array( 'value' ), // $options['next']['input_options'][ 1 ]['value'] '4'
400
+ 4 => array( 'value' ) // $options['next']['input_options'][ 4 ]['value'] '10'
401
+ ),
402
+ // Get selected Title, for dropdown if $options['next'] selected
403
+ 'selected_options_title' => array(
404
+ 1 => array( 'label', 'title' ), // $options['next']['input_options'][ 1 ]['label'][ 'title' ] 'Next'
405
+ 'text1' => ': ', // if key 'text1' not exist in ['input_options'], then it text ': '
406
+ 4 => array( 'options', $request_input_el_default['ui_wh_booking_date_next'] ) // '10 days'
407
+ ),
408
+ 'input_options' => array(
409
+ array( 'type' => 'html', 'html' => '<div class="ui_element">' )
410
+ , array( // Default options from simple input element, like: wpbc_flex_radio()
411
+ 'type' => 'radio'
412
+ , 'id' => 'ui_wh_booking_date_radio_1' // HTML ID of element
413
+ , 'name' => 'ui_wh_booking_date_radio'
414
+ , 'label' => array( 'title' => __('Next' ,'booking') , 'position' => 'right' )
415
+ , 'style' => '' // CSS of select element
416
+ , 'class' => '' // CSS Class of select element
417
+ , 'disabled' => false
418
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
419
+ , 'legend' => '' // aria-label parameter
420
+ , 'value' => '4'
421
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_booking_date_radio' ] == '4' ) ? true : false // Selected or not
422
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
423
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
424
+ )
425
+ , array( 'type' => 'html', 'html' => '</div>' )
426
+ , array( 'type' => 'html', 'html' => '<div class="ui_element">' )
427
+ , array(
428
+ 'type' => 'select'
429
+ , 'attr' => array()
430
+ , 'name' => 'ui_wh_booking_date_next'
431
+ , 'id' => 'ui_wh_booking_date_next'
432
+ , 'options' => $dates_interval
433
+ , 'value' => $request_input_el_default[ 'ui_wh_booking_date_next']
434
+ , 'onfocus' => "jQuery('#ui_wh_booking_date_radio_1').prop('checked', true);" // JavaScript code
435
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
436
+ )
437
+ , array( 'type' => 'html', 'html' => '</div>' )
438
+ )
439
+ ),
440
+
441
+ // Prior [ '5', '10' ]
442
+ 'prior' => array(
443
+ 'type' => 'complex',
444
+ 'class' => 'ui_complex_option_element',
445
+ 'style' => 'min-width: 244px;',
446
+ 'selected_options_value' => array( 1 => array( 'value' ), 4 => array( 'value' ) ), // 4 => array( 'value' ) --> $complex_option['input_options'][4]['value']
447
+ 'selected_options_title' => array( 1 => array( 'label', 'title' )
448
+ , 'text1' => ': '
449
+ , 4 => array( 'options' , $request_input_el_default[ 'ui_wh_booking_date_prior'] )
450
+ ), // 1 => array( 'label', 'title' ) --> $complex_option['input_options'][1]['label'][ 'title' ]
451
+ 'input_options' => array(
452
+ array( 'type' => 'html', 'html' => '<div class="ui_element">' )
453
+ , array(
454
+ 'type' => 'radio'
455
+
456
+ , 'id' => 'ui_wh_booking_date_radio_2' // HTML ID of element
457
+ , 'name' => 'ui_wh_booking_date_radio'
458
+ , 'label' => array( 'title' => __('Prior' ,'booking') , 'position' => 'right' )
459
+ , 'style' => '' // CSS of select element
460
+ , 'class' => '' // CSS Class of select element
461
+ , 'disabled' => false
462
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
463
+ , 'legend' => '' // aria-label parameter
464
+ , 'value' => '5' // Some Value from optins array that selected by default
465
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_booking_date_radio' ] == '5' ) ? true : false // Selected or not
466
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
467
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
468
+ )
469
+ , array( 'type' => 'html', 'html' => '</div>' )
470
+ , array( 'type' => 'html', 'html' => '<div class="ui_element">' )
471
+ , array(
472
+ 'type' => 'select'
473
+ , 'attr' => array()
474
+ , 'name' => 'ui_wh_booking_date_prior'
475
+ , 'id' => 'ui_wh_booking_date_prior'
476
+ , 'options' => $dates_interval
477
+ , 'value' => $request_input_el_default[ 'ui_wh_booking_date_prior']
478
+ , 'onfocus' => "jQuery('#ui_wh_booking_date_radio_2').prop('checked', true);" // JavaScript code
479
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
480
+ )
481
+ , array( 'type' => 'html', 'html' => '</div>' )
482
+ )
483
+ ),
484
+
485
+ // Fixed [ '6', '', '2022-05-21']
486
+ 'fixed' => array(
487
+ 'type' => 'complex',
488
+ 'class' => 'ui_complex_option_element',
489
+ 'selected_options_value' => array( 1 => array( 'value' ), 4 => array( 'value' ), 7 => array( 'value' ) ), // 4 => array( 'value' ) --> $complex_option['input_options'][4]['value']
490
+ 'selected_options_title' => array( 1 => array( 'label', 'title' ), 'text1' => ': ', 4 => array( 'value' ), 'text2' => ' - ' ,7 => array( 'value' ) ), // 1 => array( 'label', 'title' ) --> $complex_option['input_options'][1]['label'][ 'title' ]
491
+ 'input_options' => array(
492
+ array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex:1 1 100%;margin-top:5px;">' )
493
+ , array(
494
+ 'type' => 'radio'
495
+
496
+ , 'id' => 'ui_wh_booking_date_radio_3' // HTML ID of element
497
+ , 'name' => 'ui_wh_booking_date_radio'
498
+ , 'label' => array( 'title' => __('Dates' ,'booking') , 'position' => 'right' )
499
+ , 'style' => '' // CSS of select element
500
+ , 'class' => '' // CSS Class of select element
501
+ , 'disabled' => false
502
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
503
+ , 'legend' => '' // aria-label parameter
504
+ , 'value' => '6' // Some Value from optins array that selected by default
505
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_booking_date_radio' ] == '6' ) ? true : false // Selected or not
506
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
507
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
508
+ )
509
+ , array( 'type' => 'html', 'html' => '</div>' )
510
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex-flow: row wrap;padding: 4px 4px 4px 0;">' )
511
+ , array(
512
+ 'type' => 'text'
513
+ , 'id' => 'ui_wh_booking_date_checkin' // HTML ID of element
514
+ , 'name' => 'ui_wh_booking_date_checkin'
515
+ , 'label' => ''//__('Check-in' ,'booking')
516
+ , 'style' => 'width:100%;' // CSS of select element
517
+ , 'class' => 'wpdevbk-filters-section-calendar' // CSS Class of select element
518
+ , 'disabled' => false
519
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
520
+ , 'placeholder' => __('Check-in' ,'booking')
521
+ , 'value' => $request_input_el_default[ 'ui_wh_booking_date_checkin'] // Some Value from optins array that selected by default
522
+ , 'onfocus' => "jQuery('#ui_wh_booking_date_radio_3').prop('checked', true);" // JavaScript code
523
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
524
+ )
525
+ , array( 'type' => 'html', 'html' => '</div>' )
526
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex-flow: row wrap;padding: 4px 0 4px 4px;">' )
527
+ , array(
528
+ 'type' => 'text'
529
+ , 'id' => 'ui_wh_booking_date_checkout' // HTML ID of element
530
+ , 'name' => 'ui_wh_booking_date_checkout'
531
+ , 'label' => ''//__('Check-out' ,'booking')
532
+ , 'style' => 'width:100%;' // CSS of select element
533
+ , 'class' => 'wpdevbk-filters-section-calendar' // CSS Class of select element
534
+ , 'disabled' => false
535
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
536
+ , 'placeholder' => __('Check-out' ,'booking')
537
+ , 'value' => $request_input_el_default[ 'ui_wh_booking_date_checkout'] // Some Value from optins array that selected by default
538
+ , 'onfocus' => "jQuery('#ui_wh_booking_date_radio_3').prop('checked', true);" // JavaScript code
539
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
540
+ )
541
+ , array( 'type' => 'html', 'html' => '</div>' )
542
+ )
543
+ ),
544
+
545
+ 'divider3' => array( 'type' => 'html', 'html' => '<hr/>' ),
546
+
547
+ // Buttons
548
+ 'buttons1' => array(
549
+ 'type' => 'complex',
550
+ 'class' => 'ui_complex_option_element',
551
+ 'style' => 'justify-content: flex-end;',
552
+ 'input_options' => array(
553
+ array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex: 0 1 auto;margin: 0;">' )
554
+ , array(
555
+ 'type' => 'button'
556
+ , 'title' => __( 'Apply', 'booking' ) // Title of the button
557
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
558
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
559
+ , 'action' => "wpbc_ui_dropdown_apply_click( {
560
+ 'dropdown_id' : 'wh_booking_date',
561
+ 'dropdown_radio_name': 'ui_wh_booking_date_radio'
562
+ } );" // JavaScript code
563
+ , 'class' => 'wpbc_ui_button_primary' // wpbc_ui_button | wpbc_ui_button_primary
564
+ , 'icon' => ''
565
+ , 'font_icon' => ''
566
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
567
+ , 'style' => '' // Any CSS class here
568
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
569
+ , 'attr' => array()
570
+ )
571
+ , array( 'type' => 'html', 'html' => '</div>' )
572
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex: 0 1 auto;margin: 0 0 0 1em;">' )
573
+ , array(
574
+ 'type' => 'button'
575
+ , 'title' => __( 'Close', 'booking' ) // Title of the button
576
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
577
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
578
+ , 'action' => "wpbc_ui_dropdown_close_click( 'wh_booking_date' );" // JavaScript code
579
+ , 'class' => '' // wpbc_ui_button | wpbc_ui_button_primary
580
+ , 'icon' => ''
581
+ , 'font_icon' => ''
582
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
583
+ , 'style' => '' // Any CSS class here
584
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
585
+ , 'attr' => array()
586
+ )
587
+ , array( 'type' => 'html', 'html' => '</div>' )
588
+ )
589
+ ),
590
+ );
591
+
592
+ $params = array(
593
+ 'id' => 'wh_booking_date'
594
+ , 'default' => $request_input_el_default[ 'wh_booking_date' ]
595
+ , 'label' => ''//__('Approve 1', 'booking') . ':'
596
+ , 'title' => ''//__('Approve 2', 'booking')
597
+ , 'hint' => array( 'title' => __('Filter bookings by booking dates' ,'booking') , 'position' => 'top' )
598
+ , 'align' => 'left'
599
+ , 'li_options' => $options
600
+ );
601
+
602
+ ?><div class="ui_element ui_nowrap"><?php
603
+
604
+ wpbc_flex_addon( $params_addon );
605
+
606
+ wpbc_flex_dropdown( $params );
607
+
608
+ ?></div><?php
609
+ }
610
+
611
+ /**
612
+ * Approved | Pending | All
613
+ *
614
+ * @param $escaped_search_request_params - escaped search request parameters array
615
+ * @param $defaults - default parameters values
616
+ */
617
+ function wpbc_ajx__ui__booking_status( $escaped_search_request_params, $defaults ){
618
+
619
+ $params_addon = array(
620
+ 'type' => 'span'
621
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
622
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_done_all', 'position' => 'right', 'icon_img' => '' )
623
+ , 'class' => 'wpbc_ui_button inactive'
624
+ , 'style' => ''
625
+ , 'attr' => array()
626
+ );
627
+
628
+ $params = array(
629
+ 'id' => 'wh_approved'
630
+ , 'default' => isset( $escaped_search_request_params['wh_approved'] ) ? $escaped_search_request_params['wh_approved'] : $defaults['wh_approved']
631
+ , 'label' => ''//__('Status', 'booking') . ':'
632
+ , 'title' => __('Status', 'booking')
633
+ , 'hint' => array( 'title' => __('Filter bookings by booking status' ,'booking') , 'position' => 'top' )
634
+ , 'li_options' => array (
635
+ '0' => __( 'Pending', 'booking' ),
636
+ '1' => __( 'Approved', 'booking' ),
637
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
638
+ // 'header1' => array( 'type' => 'header', 'title' => __( 'Default', 'booking' ) ),
639
+ 'any' => array(
640
+ 'type' => 'simple',
641
+ 'value' => '',
642
+ // 'disabled' => true,
643
+ 'title' => __( 'Any', 'booking' )
644
+ ),
645
+ )
646
+ );
647
+
648
+ ?><div class="ui_element ui_nowrap"><?php
649
+
650
+ //wpbc_flex_addon( $params_addon );
651
+
652
+ wpbc_flex_dropdown( $params );
653
+
654
+ ?></div><?php
655
+ }
656
+
657
+ /**
658
+ * Keywords
659
+ *
660
+ * @param $escaped_search_request_params - escaped search request parameters array
661
+ * @param $defaults - default parameters values
662
+ */
663
+ function wpbc_ajx_toolbar_keyword_search( $escaped_search_request_params, $defaults ){
664
+
665
+ $el_id = 'wpbc_search_field';
666
+
667
+ $default_value = '';
668
+
669
+ // Old way of searching booking ID
670
+ if ( ! empty( $_REQUEST['wh_booking_id'] ) ) {
671
+ $wh_booking_id = intval( $_REQUEST['wh_booking_id'] );
672
+ if ( $wh_booking_id > 0 ) {
673
+ $_REQUEST['overwrite'] = 1;
674
+ $_REQUEST['keyword'] = 'id:' . $wh_booking_id;
675
+ }
676
+ }
677
+
678
+ if ( ( ! empty( $_REQUEST['overwrite'] ) ) && ( ! empty( $_REQUEST['keyword'] ) ) ) {
679
+
680
+ // Searching for booking(s) from URL: http://beta/wp-admin/admin.php?page=wpbc&view_mode=vm_booking_listing&keyword=id:2&overwrite=1
681
+
682
+ $default_value = wpbc_sanitize_text( $_REQUEST['keyword'] );
683
+
684
+ ?><script type="text/javascript">
685
+ jQuery( document ).ready( function (){
686
+ // setTimeout( function () {
687
+ // wpbc_ajx_booking_listing.search_set_param( 'wh_booking_type', [0] );
688
+ // }, 950 );
689
+ wpbc_ajx_booking_searching_after_few_seconds( '#<?php echo $el_id; ?>', 1000 ); // Immediate search after 0.5 second
690
+ } );
691
+ </script><?php
692
+ }
693
+
694
+ $params = array(
695
+ 'type' => 'text'
696
+ , 'id' => $el_id
697
+ , 'name' => $el_id
698
+ , 'label' => ''
699
+ , 'disabled' => false
700
+ , 'class' => ''
701
+ , 'style' => ''
702
+ , 'placeholder' => __( 'Enter keyword to search...', 'booking' )
703
+ , 'attr' => array()
704
+ , 'value' => $default_value
705
+ , 'onfocus' => ''
706
+ );
707
+ ?><div class="ui_element"><?php
708
+ wpbc_flex_text( $params );
709
+ ?></div><?php
710
+ }
711
+
712
+ /**
713
+ * Reset button - init default filter options
714
+ *
715
+ * @param $escaped_search_request_params - escaped search request parameters array
716
+ * @param $defaults - default parameters values
717
+ */
718
+ function wpbc_ajx_toolbar_reset_button( $escaped_search_request_params, $defaults ){
719
+
720
+ $params = array(
721
+ 'type' => 'button' ,
722
+ 'title' => '',//__( 'Reset', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
723
+ 'hint' => array( 'title' => __( 'Reset search filter and user options to default values', 'booking' ), 'position' => 'top' ), // Hint
724
+ 'link' => 'javascript:void(0)', // Direct link or skip it
725
+ 'action' => "wpbc_ajx_booking_send_search_request_with_params( {
726
+ 'ui_reset': 'make_reset',
727
+ 'page_num': 1
728
+ } );", // JavaScript
729
+ 'icon' => array(
730
+ 'icon_font' => 'wpbc_icn_settings_backup_restore', //'wpbc_icn_rotate_left',
731
+ 'position' => 'left',
732
+ 'icon_img' => ''
733
+ ),
734
+ 'class' => 'wpbc_ui_button', // '' | 'wpbc_ui_button_primary'
735
+ 'style' => '', // Any CSS class here
736
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
737
+ 'attr' => array()
738
+ );
739
+
740
+ ?><div class="ui_element" style="flex: 0 1 auto;"><?php
741
+ wpbc_flex_button( $params );
742
+ ?></div><?php
743
+ }
744
+
745
+ ////////////////////////////////////////////////////////////////////////////////
746
+ /// 2nd row
747
+ ////////////////////////////////////////////////////////////////////////////////
748
+
749
+ /**
750
+ * Booking resources
751
+ *
752
+ * @param $escaped_search_request_params - escaped search request parameters array
753
+ * @param $defaults - default parameters values
754
+ */
755
+ function wpbc_ajx__ui__booking_resources( $escaped_search_request_params, $defaults ){
756
+
757
+ if ( ! class_exists( 'wpdev_bk_personal' ) ) {
758
+ return false;
759
+ }
760
+
761
+ $params_button = array(
762
+ 'type' => 'button' ,
763
+ 'title' => '',//__( 'Reset', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
764
+ 'hint' => array( 'title' => __( 'Remove all booking resources', 'booking' ), 'position' => 'top' ), // Hint
765
+ 'link' => 'javascript:void(0)', // Direct link or skip it
766
+ 'action' => "remove_all_options_from_choozen('#wh_booking_type');", // JavaScript
767
+ 'icon' => array(
768
+ 'icon_font' => 'wpbc_icn_close',
769
+ 'position' => 'left',
770
+ 'icon_img' => ''
771
+ ),
772
+ 'class' => 'wpbc_ui_button', // '' | 'wpbc_ui_button_primary'
773
+ 'style' => '', // Any CSS class here
774
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
775
+ 'attr' => array( 'id' => 'wpbc_booking_listing_reload_button')
776
+ );
777
+
778
+ /**
779
+ * result = {array} [12]
780
+ 1 = {array} [10]
781
+ booking_type_id = "1"
782
+ title = "Standard"
783
+ users = "3"
784
+ import = null
785
+ export = null
786
+ cost = "25"
787
+ default_form = "owner-custom-form-1"
788
+ prioritet = "2"
789
+ parent = "0"
790
+ visitors = "2"
791
+ 2 = {array} [10]
792
+ booking_type_id = "2"
793
+ title = "Apartment#1" ...
794
+ */
795
+ $resources_sql_arr = wpbc_ajx_get_all_booking_resources_arr();
796
+
797
+ /**
798
+ * $resources_arr = array( linear_resources = {array} [12] single_or_parent = {array} [5] child = {array} [2] )
799
+ *
800
+ $resources_arr = {array} [3]
801
+ linear_resources = {array} [12]
802
+ 1 = {array} [12]
803
+ booking_type_id = "1"
804
+ title = "Standard"
805
+ users = "3"
806
+ import = null
807
+ export = null
808
+ cost = "25"
809
+ default_form = "owner-custom-form-1"
810
+ prioritet = "2"
811
+ parent = "0"
812
+ visitors = "2"
813
+ id = "1"
814
+ count = {int} 5
815
+ 5 = {array} [12]
816
+ booking_type_id = "5"
817
+ title = "Standard-1"
818
+ users = "1"
819
+ import = null
820
+ */
821
+ $resources_arr = wpbc_ajx_arrange_booking_resources_arr( $resources_sql_arr );
822
+ $style = '';
823
+ if ( ! empty( $resources_arr ) ) {
824
+
825
+ $linear_resources_arr = $resources_arr['linear_resources'];
826
+
827
+ $select_box_options = array();
828
+
829
+ if ( count( $linear_resources_arr ) > 1 ) {
830
+
831
+ $resources_id_arr = array();
832
+ foreach ( $linear_resources_arr as $bkr ) {
833
+ $resources_id_arr[] = $bkr['id'];
834
+ }
835
+
836
+ $select_box_options[ /*implode( ',', $resources_id_arr )*/0 ] = array(
837
+ 'title' => __( 'All resources', 'booking' )
838
+ , 'attr' => array( 'title' => '<strong>' . __( 'All resources', 'booking' ) . '</strong>' )
839
+ , 'style' => 'font-weight:600;'
840
+ );
841
+ }
842
+
843
+ foreach ( $linear_resources_arr as $bkr ) {
844
+
845
+ $option_title = apply_bk_filter( 'wpdev_check_for_active_language', $bkr['title'] );
846
+
847
+ if ( isset( $bkr['parent'] ) ) {
848
+ if ( $bkr ['parent'] == 0 ) {
849
+ $option_title = $option_title;
850
+ $style = 'font-weight:600;';
851
+ } else {
852
+ $option_title = '&nbsp;&nbsp;&nbsp;' . $option_title;
853
+ $style = 'font-weight:400;';
854
+ }
855
+ }
856
+ $select_box_options[ $bkr ['id'] ] = array(
857
+ 'title' => $option_title
858
+ , 'attr' => array( 'title' => $option_title )
859
+ , 'style' => $style
860
+ );
861
+ }
862
+ }
863
+
864
+
865
+
866
+ $el_id = 'wh_booking_type';
867
+ $params_select = array(
868
+ 'id' => $el_id // HTML ID of element
869
+ , 'name' => $el_id
870
+ , 'label' => '' // __( 'Next Days', 'booking' ) // Label (optional)
871
+ , 'style' => '' // CSS of select element
872
+ , 'class' => 'chzn-select' // CSS Class of select element
873
+ , 'multiple' => true
874
+ , 'attr' => array( 'data-placeholder' => __( 'Select booking resources', 'booking' ) ) // Any additional attributes, if this radio | checkbox element
875
+ , 'disabled' => false
876
+ , 'disabled_options' => array() // If some options disabled, then it has to list here
877
+ , 'options' => $select_box_options
878
+
879
+ , 'value' => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ] // Some Value from options array that selected by default
880
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).val(), 'in element:' , jQuery( this ) );" // JavaScript code
881
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val(), 'in element:' , jQuery( this ) );" // JavaScript code
882
+
883
+ );
884
+
885
+ // Booking resources
886
+ ?><div class="ui_element ui_nowrap"><?php
887
+
888
+ wpbc_flex_select( $params_select );
889
+
890
+ wpbc_flex_button( $params_button );
891
+
892
+ ?></div><?php
893
+
894
+ ?><script type="text/javascript">
895
+ function remove_all_options_from_choozen( selectbox_id ){
896
+ jQuery( selectbox_id + ' option' ).prop( 'selected', false ); // Disable selection in the real selectbox
897
+ jQuery( selectbox_id ).trigger( 'chosen:updated' ); // Remove all fields from the Choozen field //FixIn: 8.7.9.9
898
+ jQuery( selectbox_id ).trigger( 'change' );
899
+ }
900
+
901
+ if ( 'function' === typeof( jQuery("#<?php echo $el_id; ?>").chosen ) ) {
902
+
903
+ jQuery( "#<?php echo $el_id; ?>" ).chosen( {no_results_text: "No results matched"} );
904
+
905
+ jQuery("#<?php echo $el_id; ?>").chosen().on('change', function(va){ // Catch any selections in the Choozen
906
+
907
+ if ( jQuery( "#<?php echo $el_id; ?>" ).val() != null ){
908
+ //So we are having aready values
909
+ jQuery.each( jQuery( "#<?php echo $el_id; ?>" ).val(), function ( index, value ){
910
+
911
+ if ( (value.indexOf( ',' ) > 0) || ('0' === value) ){ // Ok we are have array with all booking resources ID
912
+
913
+ // Disable selection in the real selectbox
914
+ jQuery( '#<?php echo $el_id; ?>' + ' option' ).removeAttr( 'selected' );
915
+
916
+ // Select "All resources" option in real selectbox
917
+ jQuery( '#<?php echo $el_id; ?>' + ' option:first-child' ).prop( "selected", true );
918
+
919
+ //Highlight options in chosen, before removing
920
+ jQuery( '#<?php echo $el_id; ?>_chosen li.search-choice:not(:contains(' + '<?php echo html_entity_decode( esc_js( __( 'All resources', 'booking' ) ) ); ?>' + '))' )
921
+ .fadeOut( 350 ).fadeIn( 300 )
922
+ .fadeOut( 350 ).fadeIn( 400 )
923
+ .fadeOut( 350 ).fadeIn( 300 )
924
+ .fadeOut( 350 ).fadeIn( 400 )
925
+ .animate( {opacity: 1}, 4000 ) ;
926
+
927
+ // Update chosen LI choices, relative selected options in selectbox
928
+ var all_resources_timer = setTimeout( function (){
929
+
930
+ jQuery( '#<?php echo $el_id; ?>' ).trigger( 'chosen:updated' ); // Remove all fields from the Choozen field
931
+ }, 2000 );
932
+
933
+ var my_message = '<?php echo html_entity_decode( esc_js( __( 'Please note, its not possible to add new resources, if "All resources" option is selected. Please clear the selection, then add new resources.', 'booking' ) ), ENT_QUOTES ); ?>';
934
+ wpbc_admin_show_message( my_message, 'warning', 10000 );
935
+ }
936
+ } );
937
+ }
938
+ });
939
+
940
+ } else {
941
+ alert( 'WPBC Error. JavaScript library "chosen" was not defined.' );
942
+ }
943
+ </script><?php
944
+ }
945
+
946
+ /**
947
+ * Existing | Trash | Any
948
+ *
949
+ * @param $escaped_search_request_params - escaped search request parameters array
950
+ * @param $defaults - default parameters values
951
+ */
952
+ function wpbc_ajx__ui__existing_or_trash( $escaped_search_request_params, $defaults ){
953
+
954
+ $params_addon = array(
955
+ 'type' => 'span'
956
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
957
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_delete_outline', 'position' => 'right', 'icon_img' => '' )
958
+ , 'class' => 'wpbc_ui_button inactive'
959
+ , 'style' => ''
960
+ , 'attr' => array()
961
+ , 'hint' => array( 'title' => __('Show trashed or existing bookings' ,'booking') , 'position' => 'top' )
962
+ );
963
+
964
+ $el_id = 'wh_trash';
965
+ $params = array(
966
+ 'id' => $el_id
967
+ , 'default' => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ]
968
+ , 'label' => ''
969
+ , 'title' => '' //__('Bookings', 'booking')
970
+ , 'hint' => array( 'title' => __('Show trashed or existing bookings' ,'booking') , 'position' => 'top' )
971
+ , 'li_options' => array(
972
+ '0' => __( 'Existing', 'booking' ),
973
+ 'trash' => __( 'In Trash / Rejected', 'booking' ),
974
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
975
+ 'any' => __( 'Any', 'booking' )
976
+ )
977
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( '#{$el_id}' ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
978
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
979
+ //, 'onchange' => "wpbc_ajx_booking_send_search_request_with_params( { '{$el_id}': JSON.parse( jQuery( this ).val() )[0], 'page_num': 1 } );"
980
+ );
981
+
982
+ ?><div class="ui_element ui_nowrap"><?php
983
+
984
+ wpbc_flex_addon( $params_addon );
985
+
986
+ wpbc_flex_dropdown( $params );
987
+
988
+ ?></div><?php
989
+ }
990
+
991
+ /**
992
+ * All bookings | New bookings | Imported bookings | Plugin bookings
993
+ *
994
+ * @param $escaped_search_request_params - escaped search request parameters array
995
+ * @param $defaults - default parameters values
996
+ */
997
+ function wpbc_ajx__ui__all_or_new( $escaped_search_request_params, $defaults ){
998
+
999
+ $params_addon = array(
1000
+ 'type' => 'span'
1001
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
1002
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_visibility', 'position' => 'right', 'icon_img' => '' )
1003
+ , 'class' => 'wpbc_ui_button inactive'
1004
+ , 'style' => ''
1005
+ , 'attr' => array()
1006
+ , 'hint' => array( 'title' => __('Filter bookings by additional criteria' ,'booking') , 'position' => 'top' )
1007
+ );
1008
+
1009
+ $el_id = 'wh_what_bookings';
1010
+ $params = array(
1011
+ 'id' => $el_id
1012
+ , 'default' => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ]
1013
+ , 'label' => ''
1014
+ , 'title' => '' //__('Show', 'booking')
1015
+ , 'hint' => array( 'title' => __('Filter bookings by additional criteria' ,'booking') , 'position' => 'top' )
1016
+ , 'li_options' => array(
1017
+ 'all' => array(
1018
+ 'type' => 'simple',
1019
+ 'value' => 'any',
1020
+ 'title' => __( 'Any', 'booking' )
1021
+ ),
1022
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
1023
+ 'new' => __( 'New', 'booking' ),
1024
+ 'imported' => __( 'Imported', 'booking' ),
1025
+ 'in_plugin' => __( 'Plugin bookings', 'booking' )
1026
+ )
1027
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( '#{$el_id}' ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1028
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1029
+ //, 'onchange' => "wpbc_ajx_booking_send_search_request_with_params( { '{$el_id}': JSON.parse( jQuery( this ).val() )[0], 'page_num': 1 } );"
1030
+ );
1031
+
1032
+
1033
+ ?><div class="ui_element ui_nowrap"><?php
1034
+
1035
+ wpbc_flex_addon( $params_addon );
1036
+
1037
+ wpbc_flex_dropdown( $params );
1038
+
1039
+ ?></div><?php
1040
+ }
1041
+
1042
+ /**
1043
+ * "Creation Date" of bookings
1044
+ *
1045
+ * @param $escaped_search_request_params - escaped search request parameters array
1046
+ * @param $defaults - default parameters values
1047
+ */
1048
+ function wpbc_ajx__ui__creation_date( $escaped_search_request_params, $defaults ){
1049
+
1050
+ $params_addon = array(
1051
+ 'type' => 'span'
1052
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
1053
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_edit_calendar', 'position' => 'right', 'icon_img' => '' )
1054
+ , 'class' => 'wpbc_ui_button inactive'
1055
+ , 'style' => ''
1056
+ , 'attr' => array()
1057
+ , 'hint' => array( 'title' => __('Filter bookings by creation booking date' ,'booking') , 'position' => 'top' )
1058
+ );
1059
+
1060
+ $dates_interval = array(
1061
+ 1 => '1' . ' ' . __('day' ,'booking')
1062
+ , 2 => '2' . ' ' . __('days' ,'booking')
1063
+ , 3 => '3' . ' ' . __('days' ,'booking')
1064
+ , 4 => '4' . ' ' . __('days' ,'booking')
1065
+ , 5 => '5' . ' ' . __('days' ,'booking')
1066
+ , 6 => '6' . ' ' . __('days' ,'booking')
1067
+ , 7 => '1' . ' ' . __('week' ,'booking')
1068
+ , 14 => '2' . ' ' . __('weeks' ,'booking')
1069
+ , 30 => '1' . ' ' . __('month' ,'booking')
1070
+ , 60 => '2' . ' ' . __('months' ,'booking')
1071
+ , 90 => '3' . ' ' . __('months' ,'booking')
1072
+ , 183 => '6' . ' ' . __('months' ,'booking')
1073
+ , 365 => '1' . ' ' . __('Year' ,'booking')
1074
+ );
1075
+
1076
+ $el_id = 'wh_modification_date';
1077
+
1078
+ $request_input_el_default = array(
1079
+ $el_id => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ],
1080
+ 'ui_wh_modification_date_radio' => isset( $escaped_search_request_params['ui_wh_modification_date_radio'] ) ? $escaped_search_request_params['ui_wh_modification_date_radio'] : $defaults['ui_wh_modification_date_radio'],
1081
+ 'ui_wh_modification_date_prior' => isset( $escaped_search_request_params['ui_wh_modification_date_prior'] ) ? $escaped_search_request_params['ui_wh_modification_date_prior'] : $defaults['ui_wh_modification_date_prior'],
1082
+ 'ui_wh_modification_date_checkin' => isset( $escaped_search_request_params['ui_wh_modification_date_checkin'] ) ? $escaped_search_request_params['ui_wh_modification_date_checkin'] : $defaults['ui_wh_modification_date_checkin'],
1083
+ 'ui_wh_modification_date_checkout' => isset( $escaped_search_request_params['ui_wh_modification_date_checkout'] ) ? $escaped_search_request_params['ui_wh_modification_date_checkout'] : $defaults['ui_wh_modification_date_checkout']
1084
+ );
1085
+
1086
+ $options = array (
1087
+ '1' => __( 'Today', 'booking' ),
1088
+ '3' => __( 'All dates', 'booking' ),
1089
+
1090
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
1091
+
1092
+ // Prior [ '5', '10' ]
1093
+ 'prior' => array(
1094
+ 'type' => 'complex',
1095
+ 'class' => 'ui_complex_option_element',
1096
+ 'style' => 'min-width: 244px;',
1097
+ 'selected_options_value' => array( 1 => array( 'value' ), 4 => array( 'value' ) ), // 4 => array( 'value' ) --> $complex_option['input_options'][4]['value']
1098
+ 'selected_options_title' => array( 1 => array( 'label', 'title' )
1099
+ , 'text1' => ': '
1100
+ , 4 => array( 'options' , $request_input_el_default[ 'ui_wh_modification_date_prior'] )
1101
+ ), // 1 => array( 'label', 'title' ) --> $complex_option['input_options'][1]['label'][ 'title' ]
1102
+ 'input_options' => array(
1103
+ array( 'type' => 'html', 'html' => '<div class="ui_element">' )
1104
+ , array(
1105
+ 'type' => 'radio'
1106
+
1107
+ , 'id' => 'ui_wh_modification_date_radio_2' // HTML ID of element
1108
+ , 'name' => 'ui_wh_modification_date_radio'
1109
+ , 'label' => array( 'title' => __('Prior' ,'booking') , 'position' => 'right' )
1110
+ , 'style' => '' // CSS of select element
1111
+ , 'class' => '' // CSS Class of select element
1112
+ , 'disabled' => false
1113
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1114
+ , 'legend' => '' // aria-label parameter
1115
+ , 'value' => '5' // Some Value from optins array that selected by default
1116
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_modification_date_radio' ] == '5' ) ? true : false // Selected or not
1117
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1118
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1119
+ )
1120
+ , array( 'type' => 'html', 'html' => '</div>' )
1121
+ , array( 'type' => 'html', 'html' => '<div class="ui_element">' )
1122
+ , array(
1123
+ 'type' => 'select'
1124
+ , 'attr' => array()
1125
+ , 'name' => 'ui_wh_modification_date_prior'
1126
+ , 'id' => 'ui_wh_modification_date_prior'
1127
+ , 'options' => $dates_interval
1128
+ , 'value' => $request_input_el_default[ 'ui_wh_modification_date_prior']
1129
+ , 'onfocus' => "jQuery('#ui_wh_modification_date_radio_2').prop('checked', true);" // JavaScript code
1130
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1131
+ )
1132
+ , array( 'type' => 'html', 'html' => '</div>' )
1133
+ )
1134
+ ),
1135
+
1136
+ // Fixed [ '6', '', '2022-05-21']
1137
+ 'fixed' => array(
1138
+ 'type' => 'complex',
1139
+ 'class' => 'ui_complex_option_element',
1140
+ 'selected_options_value' => array( 1 => array( 'value' ), 4 => array( 'value' ), 7 => array( 'value' ) ), // 4 => array( 'value' ) --> $complex_option['input_options'][4]['value']
1141
+ 'selected_options_title' => array( 1 => array( 'label', 'title' ), 'text1' => ': ', 4 => array( 'value' ), 'text2' => ' - ' ,7 => array( 'value' ) ), // 1 => array( 'label', 'title' ) --> $complex_option['input_options'][1]['label'][ 'title' ]
1142
+ 'input_options' => array(
1143
+ array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex:1 1 100%;margin-top:5px;">' )
1144
+ , array(
1145
+ 'type' => 'radio'
1146
+
1147
+ , 'id' => 'ui_wh_modification_date_radio_3' // HTML ID of element
1148
+ , 'name' => 'ui_wh_modification_date_radio'
1149
+ , 'label' => array( 'title' => __('Dates' ,'booking') , 'position' => 'right' )
1150
+ , 'style' => '' // CSS of select element
1151
+ , 'class' => '' // CSS Class of select element
1152
+ , 'disabled' => false
1153
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1154
+ , 'legend' => '' // aria-label parameter
1155
+ , 'value' => '6' // Some Value from optins array that selected by default
1156
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_modification_date_radio' ] == '6' ) ? true : false // Selected or not
1157
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1158
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1159
+ )
1160
+ , array( 'type' => 'html', 'html' => '</div>' )
1161
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex-flow: row wrap;padding: 4px 4px 4px 0;">' )
1162
+ , array(
1163
+ 'type' => 'text'
1164
+ , 'id' => 'ui_wh_modification_date_checkin' // HTML ID of element
1165
+ , 'name' => 'ui_wh_modification_date_checkin'
1166
+ , 'label' => ''//__('Check-in' ,'booking')
1167
+ , 'style' => 'width:100%;' // CSS of select element
1168
+ , 'class' => 'wpdevbk-filters-section-calendar' // CSS Class of select element
1169
+ , 'disabled' => false
1170
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1171
+ , 'placeholder' => __('From' ,'booking') // date( 'Y-m-d' )
1172
+ , 'value' => $request_input_el_default[ 'ui_wh_modification_date_checkin'] // Some Value from optins array that selected by default
1173
+ , 'onfocus' => "jQuery('#ui_wh_modification_date_radio_3').prop('checked', true);" // JavaScript code
1174
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1175
+ )
1176
+ , array( 'type' => 'html', 'html' => '</div>' )
1177
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex-flow: row wrap;padding: 4px 0 4px 4px;">' )
1178
+ , array(
1179
+ 'type' => 'text'
1180
+ , 'id' => 'ui_wh_modification_date_checkout' // HTML ID of element
1181
+ , 'name' => 'ui_wh_modification_date_checkout'
1182
+ , 'label' => ''//__('Check-out' ,'booking')
1183
+ , 'style' => 'width:100%;' // CSS of select element
1184
+ , 'class' => 'wpdevbk-filters-section-calendar' // CSS Class of select element
1185
+ , 'disabled' => false
1186
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1187
+ , 'placeholder' => __('To' ,'booking') // date( 'Y-m-d' )
1188
+ , 'value' => $request_input_el_default[ 'ui_wh_modification_date_checkout'] // Some Value from optins array that selected by default
1189
+ , 'onfocus' => "jQuery('#ui_wh_modification_date_radio_3').prop('checked', true);" // JavaScript code
1190
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1191
+ )
1192
+ , array( 'type' => 'html', 'html' => '</div>' )
1193
+ )
1194
+ ),
1195
+
1196
+ 'divider3' => array( 'type' => 'html', 'html' => '<hr/>' ),
1197
+
1198
+ // Buttons
1199
+ 'buttons1' => array(
1200
+ 'type' => 'complex',
1201
+ 'class' => 'ui_complex_option_element',
1202
+ 'style' => 'justify-content: flex-end;',
1203
+ 'input_options' => array(
1204
+ array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex: 0 1 auto;margin: 0;">' )
1205
+ , array(
1206
+ 'type' => 'button'
1207
+ , 'title' => __( 'Apply', 'booking' ) // Title of the button
1208
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
1209
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
1210
+ , 'action' => "wpbc_ui_dropdown_apply_click( {
1211
+ 'dropdown_id' : 'wh_modification_date',
1212
+ 'dropdown_radio_name': 'ui_wh_modification_date_radio'
1213
+ } );" // JavaScript code
1214
+ , 'class' => 'wpbc_ui_button_primary' // wpbc_ui_button | wpbc_ui_button_primary
1215
+ , 'icon' => ''
1216
+ , 'font_icon' => ''
1217
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
1218
+ , 'style' => '' // Any CSS class here
1219
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
1220
+ , 'attr' => array()
1221
+ )
1222
+ , array( 'type' => 'html', 'html' => '</div>' )
1223
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex: 0 1 auto;margin: 0 0 0 1em;">' )
1224
+ , array(
1225
+ 'type' => 'button'
1226
+ , 'title' => __( 'Close', 'booking' ) // Title of the button
1227
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
1228
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
1229
+ , 'action' => "wpbc_ui_dropdown_close_click( 'wh_modification_date' );" // JavaScript code
1230
+ , 'class' => '' // wpbc_ui_button | wpbc_ui_button_primary
1231
+ , 'icon' => ''
1232
+ , 'font_icon' => ''
1233
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
1234
+ , 'style' => '' // Any CSS class here
1235
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
1236
+ , 'attr' => array()
1237
+ )
1238
+ , array( 'type' => 'html', 'html' => '</div>' )
1239
+ )
1240
+ ),
1241
+ );
1242
+
1243
+ $params = array(
1244
+ 'id' => $el_id
1245
+ , 'default' => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ]
1246
+ , 'label' => ''
1247
+ , 'title' => ''//__('Creation', 'booking')
1248
+ , 'hint' => array( 'title' => __('Filter bookings by creation booking date' ,'booking') , 'position' => 'top' )
1249
+ , 'li_options' => $options
1250
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( '#{$el_id}' ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1251
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1252
+ //, 'onchange' => "wpbc_ajx_booking_send_search_request_with_params( { '{$el_id}': JSON.parse( jQuery( this ).val() ), 'page_num': 1 "
1253
+ // // Frontend selected elements (saving for future use, after F5)
1254
+ // . " ,'ui_wh_modification_date_radio' : jQuery( 'input[name=\"ui_wh_modification_date_radio\"]:checked' ).val()"
1255
+ // . " ,'ui_wh_modification_date_prior' : jQuery( '#ui_wh_modification_date_prior' ).val()"
1256
+ // . " ,'ui_wh_modification_date_checkin' : jQuery( '#ui_wh_modification_date_checkin' ).val()"
1257
+ // . " ,'ui_wh_modification_date_checkout': jQuery( '#ui_wh_modification_date_checkout' ).val()"
1258
+ // ."} );"
1259
+ );
1260
+
1261
+ ?><div class="ui_element ui_nowrap"><?php
1262
+
1263
+ wpbc_flex_addon( $params_addon );
1264
+
1265
+ wpbc_flex_dropdown( $params );
1266
+
1267
+ ?></div><?php
1268
+ }
1269
+
1270
+ /**
1271
+ * Payment Status
1272
+ *
1273
+ * @param $escaped_search_request_params - escaped search request parameters array
1274
+ * @param $defaults - default parameters values
1275
+ */
1276
+ function wpbc_ajx__ui__payment_status( $escaped_search_request_params, $defaults ){
1277
+
1278
+ if ( ! class_exists( 'wpdev_bk_biz_s' ) ) {
1279
+ return false;
1280
+ }
1281
+
1282
+ $params_addon = array(
1283
+ 'type' => 'span'
1284
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
1285
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_payments', 'position' => 'right', 'icon_img' => '' )
1286
+ , 'class' => 'wpbc_ui_button inactive'
1287
+ , 'style' => ''
1288
+ , 'attr' => array()
1289
+ , 'hint' => array( 'title' => __('Filter bookings by payment status' ,'booking') , 'position' => 'top' )
1290
+ );
1291
+
1292
+ $el_id = 'wh_pay_status';
1293
+
1294
+ $request_input_el_default = array(
1295
+ $el_id => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ],
1296
+ 'ui_wh_pay_status_radio' => isset( $escaped_search_request_params['ui_wh_pay_status_radio'] ) ? $escaped_search_request_params['ui_wh_pay_status_radio'] : $defaults['ui_wh_pay_status_radio'],
1297
+ 'ui_wh_pay_status_custom' => isset( $escaped_search_request_params['ui_wh_pay_status_custom'] ) ? $escaped_search_request_params['ui_wh_pay_status_custom'] : $defaults['ui_wh_pay_status_custom']
1298
+ );
1299
+
1300
+ $options = array (
1301
+ 'all' => __( 'Any Status', 'booking' ),
1302
+ 'divider0' => array( 'type' => 'html', 'html' => '<hr/>' ),
1303
+ 'group_ok' => __( 'Paid OK', 'booking' ),
1304
+ 'group_unknown' => __( 'Unknown Status', 'booking' ),
1305
+ 'group_pending' => __( 'Not Completed', 'booking' ),
1306
+ 'group_failed' => __( 'Failed', 'booking' ),
1307
+
1308
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
1309
+
1310
+ // Fixed [ '6', '', '2022-05-21']
1311
+ 'custom' => array(
1312
+ 'type' => 'complex',
1313
+ 'class' => 'ui_complex_option_element',
1314
+ 'selected_options_value' => array( 1 => array( 'value' ), 4 => array( 'value' ) ), // 4 => array( 'value' ) --> $complex_option['input_options'][4]['value']
1315
+ 'selected_options_title' => array( 1 => array( 'label', 'title' ), 'text1' => ': ', 4 => array( 'value' ) ), // 1 => array( 'label', 'title' ) --> $complex_option['input_options'][1]['label'][ 'title' ]
1316
+ 'input_options' => array(
1317
+ array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex:1 1 100%;margin-top:5px;">' )
1318
+ , array(
1319
+ 'type' => 'radio'
1320
+
1321
+ , 'id' => 'ui_wh_pay_status_radio_1' // HTML ID of element
1322
+ , 'name' => 'ui_wh_pay_status_radio'
1323
+ , 'label' => array( 'title' => __('Custom' ,'booking') , 'position' => 'right' )
1324
+ , 'style' => '' // CSS of select element
1325
+ , 'class' => '' // CSS Class of select element
1326
+ , 'disabled' => false
1327
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1328
+ , 'legend' => '' // aria-label parameter
1329
+ , 'value' => 'user_entered' // Some Value from optins array that selected by default
1330
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_pay_status_radio' ] == 'user_entered' ) ? true : false // Selected or not
1331
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1332
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1333
+ )
1334
+ , array( 'type' => 'html', 'html' => '</div>' )
1335
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex:1 1 100%;">' )
1336
+ , array(
1337
+ 'type' => 'text'
1338
+ , 'id' => 'ui_wh_pay_status_custom' // HTML ID of element
1339
+ , 'name' => 'ui_wh_pay_status_custom'
1340
+ , 'label' => ''//__('Check-out' ,'booking')
1341
+ , 'style' => 'max-width:100%;width:100%;' // CSS of select element
1342
+ , 'class' => '' // CSS Class of select element
1343
+ , 'disabled' => false
1344
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1345
+ , 'placeholder' => __('Payment status' ,'booking') // date( 'Y-m-d' )
1346
+ , 'value' => $request_input_el_default[ 'ui_wh_pay_status_custom'] // Some Value from optins array that selected by default
1347
+ , 'onfocus' => "jQuery('#ui_wh_pay_status_radio_1').prop('checked', true);" // JavaScript code
1348
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
1349
+ )
1350
+ , array( 'type' => 'html', 'html' => '</div>' )
1351
+ )
1352
+ ),
1353
+
1354
+
1355
+ // Buttons
1356
+ 'buttons1' => array(
1357
+ 'type' => 'complex',
1358
+ 'class' => 'ui_complex_option_element',
1359
+ 'style' => 'justify-content: flex-end;',
1360
+ 'input_options' => array(
1361
+ array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex: 0 1 auto;margin: 0;">' )
1362
+ , array(
1363
+ 'type' => 'button'
1364
+ , 'title' => __( 'Apply', 'booking' ) // Title of the button
1365
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
1366
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
1367
+ , 'action' => "wpbc_ui_dropdown_apply_click( {
1368
+ 'dropdown_id' : 'wh_pay_status',
1369
+ 'dropdown_radio_name': 'ui_wh_pay_status_radio'
1370
+ } );" // JavaScript code
1371
+ , 'class' => 'wpbc_ui_button_primary' // wpbc_ui_button | wpbc_ui_button_primary
1372
+ , 'icon' => ''
1373
+ , 'font_icon' => ''
1374
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
1375
+ , 'style' => '' // Any CSS class here
1376
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
1377
+ , 'attr' => array()
1378
+ )
1379
+ , array( 'type' => 'html', 'html' => '</div>' )
1380
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex: 0 1 auto;margin: 0 0 0 1em;">' )
1381
+ , array(
1382
+ 'type' => 'button'
1383
+ , 'title' => __( 'Close', 'booking' ) // Title of the button
1384
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
1385
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
1386
+ , 'action' => "wpbc_ui_dropdown_close_click( 'wh_pay_status' );" // JavaScript code
1387
+ , 'class' => '' // wpbc_ui_button | wpbc_ui_button_primary
1388
+ , 'icon' => ''
1389
+ , 'font_icon' => ''
1390
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
1391
+ , 'style' => '' // Any CSS class here
1392
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
1393
+ , 'attr' => array()
1394
+ )
1395
+ , array( 'type' => 'html', 'html' => '</div>' )
1396
+ )
1397
+ ),
1398
+ );
1399
+
1400
+ $params = array(
1401
+ 'id' => $el_id
1402
+ , 'default' => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ]
1403
+ , 'label' => ''
1404
+ , 'title' => ''//__('Payment', 'booking')
1405
+ , 'hint' => array( 'title' => __('Filter bookings by payment status' ,'booking') , 'position' => 'top' )
1406
+ , 'li_options' => $options
1407
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( '#{$el_id}' ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1408
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1409
+ ///*, 'onchange' =>*/. "wpbc_ajx_booking_send_search_request_with_params( { '{$el_id}': JSON.parse( jQuery( this ).val() ), 'page_num': 1 "
1410
+ // // Frontend selected elements (saving for future use, after F5)
1411
+ // . " ,'ui_wh_pay_status_radio' : ( undefined === jQuery( 'input[name=\"ui_wh_pay_status_radio\"]:checked' ).val() ) ? '' : jQuery( 'input[name=\"ui_wh_pay_status_radio\"]:checked' ).val()"
1412
+ // . " ,'ui_wh_pay_status_custom' : jQuery( '#ui_wh_pay_status_custom' ).val()"
1413
+ // ."} );"
1414
+ );
1415
+
1416
+
1417
+ ?><div class="ui_element ui_nowrap"><?php
1418
+
1419
+ wpbc_flex_addon( $params_addon );
1420
+
1421
+ wpbc_flex_dropdown( $params );
1422
+
1423
+ ?></div><?php
1424
+ }
1425
+
1426
+ /**
1427
+ * Costs Min - Max
1428
+ *
1429
+ * @param $escaped_search_request_params - escaped search request parameters array
1430
+ * @param $defaults - default parameters values
1431
+ */
1432
+ function wpbc_ajx__ui__cost_min_max( $escaped_search_request_params, $defaults ){
1433
+
1434
+ if ( ! class_exists( 'wpdev_bk_biz_s' ) ) {
1435
+ return false;
1436
+ }
1437
+
1438
+ $el_id = 'wh_cost';
1439
+
1440
+ $params = array(
1441
+ 'id' => $el_id // HTML ID of element
1442
+ , 'name' => $el_id
1443
+ , 'label' => '<span class="" style="font-weight:600;">' . __( 'Cost', 'booking' ) . ' <em style="color:#888;">(' . __( 'min-max', 'booking' ) . '):</em></span>'
1444
+ , 'style' => 'max-width: 69px;' // CSS of select element
1445
+ , 'class' => '' // CSS Class of select element
1446
+ , 'disabled' => false
1447
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1448
+ , 'placeholder' => '0'
1449
+ , 'value' => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ]
1450
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1451
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1452
+ );
1453
+ ?><div class="ui_element" style="margin-right: 5px;"><?php
1454
+
1455
+ wpbc_flex_text( $params );
1456
+
1457
+ ?></div><?php
1458
+
1459
+
1460
+ $el_id = 'wh_cost2';
1461
+
1462
+ $params = array(
1463
+ 'id' => $el_id // HTML ID of element
1464
+ , 'name' => $el_id
1465
+ , 'label' => '<span class="" style="font-weight:600;"> &dash; </span>'
1466
+ , 'style' => 'max-width: 69px;' // CSS of select element
1467
+ , 'class' => '' // CSS Class of select element
1468
+ , 'disabled' => false
1469
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
1470
+ , 'placeholder' => '10000'
1471
+ , 'value' => isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ]
1472
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1473
+ //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
1474
+ );
1475
+ ?><div class="ui_element"><?php
1476
+
1477
+ wpbc_flex_text( $params );
1478
+
1479
+ ?></div><?php
1480
+
1481
+ }
1482
+
1483
+ /**
1484
+ * Reload button - force loading of ajax data
1485
+ *
1486
+ * @param $escaped_search_request_params - escaped search request parameters array
1487
+ * @param $defaults - default parameters values
1488
+ */
1489
+ function wpbc_ajx_toolbar_force_reload_button( $escaped_search_request_params, $defaults ){
1490
+
1491
+ $params = array(
1492
+ 'type' => 'button' ,
1493
+ 'title' => '',//__( 'Reset', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1494
+ 'hint' => array( 'title' => __( 'Reload bookings listing', 'booking' ), 'position' => 'top' ), // Hint
1495
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1496
+ 'action' => "wpbc_ajx_booking_send_search_request_with_params( { } );", // Some JavaScript
1497
+ 'icon' => array(
1498
+ 'icon_font' => 'wpbc_icn_rotate_right wpbc_spin', //'wpbc_icn_rotate_left',
1499
+ 'position' => 'left',
1500
+ 'icon_img' => ''
1501
+ ),
1502
+ 'class' => 'wpbc_ui_button wpbc_ui_button_primary', // '' | 'wpbc_ui_button_primary'
1503
+ 'style' => '', // Any CSS class here
1504
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
1505
+ 'attr' => array( 'id' => 'wpbc_booking_listing_reload_button')
1506
+ );
1507
+
1508
+ ?><div class="ui_element" style="margin-left: auto;"><?php
1509
+ wpbc_flex_button( $params );
1510
+ ?></div><?php
1511
+ }
1512
+
1513
+ // </editor-fold>
1514
+
1515
+
1516
+ // <editor-fold defaultstate="collapsed" desc=" T o o l b a r A c t i o n B u t t o n s " >
1517
+
1518
+ ////////////////////////////////////////////////////////////////////////////////
1519
+ // T o o l b a r A C T I O N S UI elements
1520
+ ////////////////////////////////////////////////////////////////////////////////
1521
+
1522
+ function wpbc_ajx__ui__action_button__approve( $escaped_search_request_params ){
1523
+
1524
+ $booking_action = 'set_booking_approved';
1525
+
1526
+ $el_id = 'ui_btn_' . $booking_action;
1527
+
1528
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1529
+ return false;
1530
+ }
1531
+
1532
+ $params = array(
1533
+ 'type' => 'button' ,
1534
+ 'title' => __( 'Approve', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1535
+ 'hint' => array( 'title' => __( 'Approve selected bookings', 'booking' ), 'position' => 'top' ), // Hint
1536
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1537
+ 'action' => "wpbc_ajx_booking_ajax_action_request( {
1538
+ 'booking_action' : '{$booking_action}',
1539
+ 'booking_id' : wpbc_get_selected_row_id(),
1540
+ 'reason_of_action' : jQuery( '#reason_of_action' ).val(),
1541
+ 'ui_clicked_element_id': '{$el_id}'
1542
+ } );
1543
+ wpbc_button_enable_loading_icon( this ); " ,
1544
+ 'icon' => array(
1545
+ 'icon_font' => 'wpbc_icn_check_circle_outline',
1546
+ 'position' => 'right',
1547
+ 'icon_img' => ''
1548
+ ),
1549
+ 'class' => 'wpbc_ui_button_primary hide_button_if_no_selection', // '' | 'wpbc_ui_button_primary'
1550
+ 'style' => '', // Any CSS class here
1551
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
1552
+ 'attr' => array( 'id' => $el_id )
1553
+ );
1554
+
1555
+ wpbc_flex_button( $params );
1556
+ }
1557
+
1558
+ function wpbc_ajx__ui__action_button__pending( $escaped_search_request_params ){
1559
+
1560
+ $booking_action = 'set_booking_pending';
1561
+
1562
+ $el_id = 'ui_btn_' . $booking_action;
1563
+
1564
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1565
+ return false;
1566
+ }
1567
+
1568
+ $params = array(
1569
+ 'type' => 'button' ,
1570
+ 'title' => __( 'Pending', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1571
+ 'hint' => array( 'title' => __( 'Set selected bookings as pending', 'booking' ), 'position' => 'top' ), // Hint
1572
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1573
+ 'action' => "if ( wpbc_are_you_sure('" . esc_attr( __( 'Do you really want to set booking as pending ?', 'booking' ) ) . "') ) {
1574
+ wpbc_ajx_booking_ajax_action_request( {
1575
+ 'booking_action' : '{$booking_action}',
1576
+ 'booking_id' : wpbc_get_selected_row_id(),
1577
+ 'reason_of_action' : jQuery( '#reason_of_action' ).val(),
1578
+ 'ui_clicked_element_id': '{$el_id}'
1579
+ } );
1580
+ wpbc_button_enable_loading_icon( this );
1581
+ }" ,
1582
+ 'icon' => array(
1583
+ 'icon_font' => 'wpbc_icn_block',
1584
+ 'position' => 'right',
1585
+ 'icon_img' => ''
1586
+ ),
1587
+ 'class' => 'hide_button_if_no_selection', // '' | 'wpbc_ui_button_primary'
1588
+ 'style' => '', // Any CSS class here
1589
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
1590
+ 'attr' => array( 'id' => $el_id )
1591
+ );
1592
+
1593
+ wpbc_flex_button( $params );
1594
+ }
1595
+
1596
+ function wpbc_ajx__ui__action_button__trash( $escaped_search_request_params ){
1597
+
1598
+ $booking_action = 'move_booking_to_trash';
1599
+
1600
+ $el_id = 'ui_btn_' . $booking_action;
1601
+
1602
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1603
+ return false;
1604
+ }
1605
+
1606
+ $params = array(
1607
+ 'type' => 'button' ,
1608
+ 'title' => __( 'Trash / Reject', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1609
+ 'hint' => array( 'title' => __( 'Reject booking - move selected bookings to trash', 'booking' ), 'position' => 'top' ), // Hint
1610
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1611
+ 'action' => "if ( wpbc_are_you_sure('" . esc_attr( __( 'Do you really want to do this ?', 'booking' ) ) . "') ) {
1612
+ wpbc_ajx_booking_ajax_action_request( {
1613
+ 'booking_action' : '{$booking_action}',
1614
+ 'booking_id' : wpbc_get_selected_row_id(),
1615
+ 'reason_of_action' : jQuery( '#reason_of_action' ).val(),
1616
+ 'ui_clicked_element_id': '{$el_id}'
1617
+ } );
1618
+ wpbc_button_enable_loading_icon( this );
1619
+ }" ,
1620
+ 'icon' => array(
1621
+ 'icon_font' => 'wpbc_icn_delete_outline',
1622
+ 'position' => 'right',
1623
+ 'icon_img' => ''
1624
+ ),
1625
+ 'class' => 'hide_button_if_no_selection', // '' | 'wpbc_ui_button_primary'
1626
+ 'style' => '', // Any CSS class here
1627
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
1628
+ 'attr' => array( 'id' => $el_id )
1629
+ );
1630
+
1631
+ wpbc_flex_button( $params );
1632
+ }
1633
+
1634
+ function wpbc_ajx__ui__action_button__restore( $escaped_search_request_params ){
1635
+
1636
+ $booking_action = 'restore_booking_from_trash';
1637
+
1638
+ $el_id = 'ui_btn_' . $booking_action;
1639
+
1640
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1641
+ return false;
1642
+ }
1643
+
1644
+ $params = array(
1645
+ 'type' => 'button' ,
1646
+ 'title' => __( 'Restore', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1647
+ 'hint' => array( 'title' => __( 'Restore selected bookings', 'booking' ), 'position' => 'top' ), // Hint
1648
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1649
+ 'action' => "if ( wpbc_are_you_sure('" . esc_attr( __( 'Do you really want to do this ?', 'booking' ) ) . "') ) {
1650
+ wpbc_ajx_booking_ajax_action_request( {
1651
+ 'booking_action' : '{$booking_action}',
1652
+ 'booking_id' : wpbc_get_selected_row_id(),
1653
+ 'reason_of_action' : jQuery( '#reason_of_action' ).val(),
1654
+ 'ui_clicked_element_id': '{$el_id}'
1655
+ } );
1656
+ wpbc_button_enable_loading_icon( this );
1657
+ }" ,
1658
+ 'icon' => array(
1659
+ 'icon_font' => 'wpbc_icn_rotate_left',
1660
+ 'position' => 'right',
1661
+ 'icon_img' => ''
1662
+ ),
1663
+ 'class' => 'hide_button_if_no_selection', // '' | 'wpbc_ui_button_primary'
1664
+ 'style' => '', // Any CSS class here
1665
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
1666
+ 'attr' => array( 'id' => $el_id )
1667
+ );
1668
+
1669
+ wpbc_flex_button( $params );
1670
+ }
1671
+
1672
+ function wpbc_ajx__ui__action_button__delete( $escaped_search_request_params ){
1673
+
1674
+ $booking_action = 'delete_booking_completely';
1675
+
1676
+ $el_id = 'ui_btn_' . $booking_action;
1677
+
1678
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1679
+ return false;
1680
+ }
1681
+
1682
+ $params = array(
1683
+ 'type' => 'button' ,
1684
+ 'title' => __( 'Delete', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1685
+ 'hint' => array( 'title' => __( 'Delete selected bookings', 'booking' ), 'position' => 'top' ), // Hint
1686
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1687
+ 'action' => "if ( wpbc_are_you_sure('" . esc_attr( __( 'Do you really want to delete selected booking(s) ?', 'booking' ) ) . "') ) {
1688
+ wpbc_ajx_booking_ajax_action_request( {
1689
+ 'booking_action' : '{$booking_action}',
1690
+ 'booking_id' : wpbc_get_selected_row_id(),
1691
+ 'reason_of_action' : jQuery( '#reason_of_action' ).val(),
1692
+ 'ui_clicked_element_id': '{$el_id}'
1693
+ } );
1694
+ wpbc_button_enable_loading_icon( this );
1695
+ }" ,
1696
+ 'icon' => array(
1697
+ 'icon_font' => 'wpbc_icn_close',
1698
+ 'position' => 'right',
1699
+ 'icon_img' => ''
1700
+ ),
1701
+ 'class' => 'hide_button_if_no_selection', // '' | 'wpbc_ui_button_primary'
1702
+ 'style' => '', // Any CSS class here
1703
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
1704
+ 'attr' => array( 'id' => $el_id )
1705
+ );
1706
+
1707
+ wpbc_flex_button( $params );
1708
+ }
1709
+
1710
+ function wpbc_ajx__ui__action_text__delete_reason( $escaped_search_request_params ){
1711
+
1712
+ $params = array(
1713
+ 'type' => 'text'
1714
+ , 'id' => 'reason_of_action'
1715
+ , 'name' => 'reason_of_action'
1716
+ , 'label' => ''
1717
+ , 'disabled' => false
1718
+ , 'class' => 'hide_button_if_no_selection'
1719
+ , 'style' => ''
1720
+ , 'placeholder' => __( 'Reason of action', 'booking' )
1721
+ , 'attr' => array()
1722
+ , 'value' => ''
1723
+ , 'onfocus' => ''
1724
+ );
1725
+ wpbc_flex_text( $params );
1726
+ }
1727
+
1728
+ function wpbc_ajx__ui__action_button__readall( $escaped_search_request_params ){
1729
+
1730
+ $booking_action = 'set_booking_as_read';
1731
+
1732
+ $el_id = 'ui_btn_all_' . $booking_action;
1733
+
1734
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1735
+ return false;
1736
+ }
1737
+
1738
+ $params = array(
1739
+ 'type' => 'button' ,
1740
+ 'title' => __( 'Read All', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1741
+ 'hint' => array( 'title' => __( 'Mark as read all bookings', 'booking' ), 'position' => 'top' ), // Hint
1742
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1743
+ 'action' => "wpbc_ajx_booking_ajax_action_request( {
1744
+ 'booking_action' : '{$booking_action}',
1745
+ 'booking_id' : '-1',
1746
+ 'reason_of_action' : jQuery( '#reason_of_action' ).val(),
1747
+ 'ui_clicked_element_id': '{$el_id}'
1748
+ } );
1749
+ wpbc_button_enable_loading_icon( this ); " ,
1750
+ 'icon' => array(
1751
+ 'icon_font' => 'wpbc_icn_disabled_visible',
1752
+ 'position' => 'right',
1753
+ 'icon_img' => ''
1754
+ ),
1755
+ 'class' => '', // '' | 'wpbc_ui_button_primary'
1756
+ 'style' => '', // Any CSS class here
1757
+ 'mobile_show_text' => !true, // Show or hide text, when viewing on Mobile devices (small window size).
1758
+ 'attr' => array( 'id' => $el_id )
1759
+ );
1760
+
1761
+ wpbc_flex_button( $params );
1762
+ }
1763
+
1764
+ function wpbc_ajx__ui__action_button__read( $escaped_search_request_params ){
1765
+
1766
+ $booking_action = 'set_booking_as_read';
1767
+
1768
+ $el_id = 'ui_btn_' . $booking_action;
1769
+
1770
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1771
+ return false;
1772
+ }
1773
+
1774
+ $params = array(
1775
+ 'type' => 'button' ,
1776
+ 'title' => __( 'Read', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1777
+ 'hint' => array( 'title' => __( 'Mark as read selected bookings', 'booking' ), 'position' => 'top' ), // Hint
1778
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1779
+ 'action' => "wpbc_ajx_booking_ajax_action_request( {
1780
+ 'booking_action' : '{$booking_action}',
1781
+ 'booking_id' : wpbc_get_selected_row_id(),
1782
+ 'reason_of_action' : jQuery( '#reason_of_action' ).val(),
1783
+ 'ui_clicked_element_id': '{$el_id}'
1784
+ } );
1785
+ wpbc_button_enable_loading_icon( this ); " ,
1786
+ 'icon' => array(
1787
+ 'icon_font' => 'wpbc_icn_visibility_off',
1788
+ 'position' => 'right',
1789
+ 'icon_img' => ''
1790
+ ),
1791
+ 'class' => 'hide_button_if_no_selection', // '' | 'wpbc_ui_button_primary'
1792
+ 'style' => '', // Any CSS class here
1793
+ 'mobile_show_text' => !true, // Show or hide text, when viewing on Mobile devices (small window size).
1794
+ 'attr' => array( 'id' => $el_id )
1795
+ );
1796
+
1797
+ wpbc_flex_button( $params );
1798
+ }
1799
+
1800
+ function wpbc_ajx__ui__action_button__unread( $escaped_search_request_params ){
1801
+
1802
+ $booking_action = 'set_booking_as_unread';
1803
+
1804
+ $el_id = 'ui_btn_' . $booking_action;
1805
+
1806
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1807
+ return false;
1808
+ }
1809
+
1810
+ $params = array(
1811
+ 'type' => 'button' ,
1812
+ 'title' => __( 'Unread', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
1813
+ 'hint' => array( 'title' => __( 'Mark as Unread selected bookings', 'booking' ), 'position' => 'top' ), // Hint
1814
+ 'link' => 'javascript:void(0)', // Direct link or skip it
1815
+ 'action' => "wpbc_ajx_booking_ajax_action_request( {
1816
+ 'booking_action' : '{$booking_action}',
1817
+ 'booking_id' : wpbc_get_selected_row_id(),
1818
+ 'reason_of_action' : jQuery( '#reason_of_action' ).val(),
1819
+ 'ui_clicked_element_id': '{$el_id}'
1820
+ } );
1821
+ wpbc_button_enable_loading_icon( this ); " ,
1822
+ 'icon' => array(
1823
+ 'icon_font' => 'wpbc_icn_visibility',
1824
+ 'position' => 'right',
1825
+ 'icon_img' => ''
1826
+ ),
1827
+ 'class' => 'hide_button_if_no_selection', // '' | 'wpbc_ui_button_primary'
1828
+ 'style' => '', // Any CSS class here
1829
+ 'mobile_show_text' => !true, // Show or hide text, when viewing on Mobile devices (small window size).
1830
+ 'attr' => array( 'id' => $el_id )
1831
+ );
1832
+
1833
+ wpbc_flex_button( $params );
1834
+ }
1835
+
1836
+ function wpbc_ajx__ui__action_button__print( $escaped_search_request_params ){
1837
+ $user_bk_id = 1;
1838
+ $params = array(
1839
+ 'type' => 'button',
1840
+ 'title' => __( 'Print', 'booking' ) . '&nbsp;&nbsp;',
1841
+ 'hint' => array(
1842
+ 'title' => __( 'Print bookings listing', 'booking' ),
1843
+ 'position' => 'top'
1844
+ ),
1845
+ 'link' => 'javascript:void(0)',
1846
+ 'action' => "wpbc_print_dialog__show();",
1847
+ 'icon' => array(
1848
+ 'icon_font' => 'wpbc_icn_print',
1849
+ 'position' => 'right',
1850
+ 'icon_img' => ''
1851
+ ),
1852
+ 'class' => '',
1853
+ 'style' => '',
1854
+ 'attr' => array(),
1855
+ 'mobile_show_text' => true
1856
+ );
1857
+ wpbc_flex_button( $params );
1858
+ }
1859
+
1860
+ function wpbc_ajx__ui__action_button__import( $escaped_search_request_params ){
1861
+
1862
+ $booking_action = 'import_google_calendar';
1863
+
1864
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1865
+ return false;
1866
+ }
1867
+
1868
+
1869
+ $booking_gcal_feed = get_bk_option( 'booking_gcal_feed');
1870
+
1871
+ if ( ( ! class_exists( 'wpdev_bk_personal' ) ) && ( $booking_gcal_feed == '' ) ) {
1872
+ $is_this_btn_disabled = true;
1873
+ } else {
1874
+ $is_this_btn_disabled = false;
1875
+ }
1876
+
1877
+ $params = array(
1878
+ 'type' => 'button',
1879
+ 'title' => __( 'Import', 'booking' ) . '&nbsp;&nbsp;',
1880
+ 'hint' => array(
1881
+ 'title' => __( 'Import Google Calendar Events', 'booking' ),
1882
+ 'position' => 'top'
1883
+ ),
1884
+ 'link' => 'javascript:void(0)',
1885
+ 'action' => " if ( 'function' === typeof( jQuery('#wpbc_modal__import_google_calendar__section').wpbc_my_modal ) ) {
1886
+ jQuery('#wpbc_modal__import_google_calendar__section').wpbc_my_modal('show');
1887
+ } else {
1888
+ alert( 'Warning! wpbc_my_modal module has not found. Please, recheck about any conflicts by deactivating other plugins.');
1889
+ }",
1890
+ 'icon' => array(
1891
+ 'icon_font' => 'wpbc_icn_event',
1892
+ 'position' => 'right',
1893
+ 'icon_img' => ''
1894
+ ),
1895
+ 'class' => '',//( $is_this_btn_disabled ? ' disabled' : '' ),
1896
+ 'style' => '',
1897
+ 'attr' => array(),
1898
+ 'mobile_show_text' => true
1899
+ );
1900
+ wpbc_flex_button( $params );
1901
+ }
1902
+
1903
+ function wpbc_ajx__ui__action_button__export_csv( $escaped_search_request_params ){
1904
+
1905
+ if ( ! class_exists( 'wpdev_bk_personal' ) ) {
1906
+ return false;
1907
+ }
1908
+
1909
+ $booking_action = 'export_csv';
1910
+ $el_id = 'ui_btn_' . $booking_action;
1911
+
1912
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1913
+ return false;
1914
+ }
1915
+
1916
+ $params = array(
1917
+ 'type' => 'button',
1918
+ 'title' => __( 'Export to CSV', 'booking' ) . '&nbsp;&nbsp;',
1919
+ 'hint' => array(
1920
+ 'title' => __( 'Export bookings to CSV format', 'booking' ),
1921
+ 'position' => 'top'
1922
+ ),
1923
+ 'link' => 'javascript:void(0)',
1924
+ //'action' => wpbc_csv_get_url_for_button( 'page' ),
1925
+ 'action' => "if ( 'function' === typeof( jQuery('#wpbc_modal__export_csv__section').wpbc_my_modal ) ) {
1926
+ jQuery('#wpbc_modal__export_csv__section').wpbc_my_modal('show');
1927
+ } else {
1928
+ alert( 'Warning! wpbc_my_modal module has not found. Please, recheck about any conflicts by deactivating other plugins.');
1929
+ }",
1930
+ 'icon' => array(
1931
+ 'icon_font' => 'wpbc_icn_file_upload',
1932
+ 'position' => 'right',
1933
+ 'icon_img' => ''
1934
+ ),
1935
+ 'class' => '',
1936
+ 'style' => '',
1937
+ 'attr' => array( 'id' => $el_id ),
1938
+ 'mobile_show_text' => true
1939
+ );
1940
+ wpbc_flex_button( $params );
1941
+ }
1942
+
1943
+ function wpbc_ajx__ui__action_button__export_csv_page( $escaped_search_request_params ){
1944
+
1945
+ if ( ! class_exists( 'wpdev_bk_personal' ) ) {
1946
+ return false;
1947
+ }
1948
+
1949
+ $booking_action = 'export_csv';
1950
+ $el_id = 'ui_btn_' . $booking_action;
1951
+
1952
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1953
+ return false;
1954
+ }
1955
+
1956
+ $params = array(
1957
+ 'type' => 'button',
1958
+ 'title' => __( 'Export page to CSV', 'booking' ) . '&nbsp;&nbsp;',
1959
+ 'hint' => array(
1960
+ 'title' => __( 'Export only current page of bookings to CSV format', 'booking' ),
1961
+ 'position' => 'top'
1962
+ ),
1963
+ 'link' => 'javascript:void(0)',
1964
+ //'action' => wpbc_csv_get_url_for_button( 'page' ),
1965
+ 'action' => "wpbc_ajx_booking__ui_click__export_csv( {
1966
+ 'booking_action' : '{$booking_action}',
1967
+ 'ui_clicked_element_id': '{$el_id}',
1968
+ 'export_type': 'csv_page'
1969
+ } );",
1970
+ 'icon' => array(
1971
+ 'icon_font' => 'wpbc_icn_file_upload',
1972
+ 'position' => 'right',
1973
+ 'icon_img' => ''
1974
+ ),
1975
+ 'class' => '',
1976
+ 'style' => '',
1977
+ 'attr' => array( 'id' => $el_id ),
1978
+ 'mobile_show_text' => true
1979
+ );
1980
+ wpbc_flex_button( $params );
1981
+ }
1982
+
1983
+ function wpbc_ajx__ui__action_button__export_csv_all( $escaped_search_request_params ){
1984
+
1985
+ if ( ! class_exists( 'wpdev_bk_personal' ) ) {
1986
+ return false;
1987
+ }
1988
+
1989
+ $booking_action = 'export_csv';
1990
+ $el_id = 'ui_btn_' . $booking_action . '_all';
1991
+
1992
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
1993
+ return false;
1994
+ }
1995
+
1996
+ $params = array(
1997
+ 'type' => 'button',
1998
+ 'title' => __( 'Export all pages to CSV', 'booking' ) . '&nbsp;&nbsp;',
1999
+ 'hint' => array(
2000
+ 'title' => __( 'Export All bookings to CSV format', 'booking' ),
2001
+ 'position' => 'top'
2002
+ ),
2003
+ 'link' => 'javascript:void(0)',
2004
+ //'action' => wpbc_csv_get_url_for_button( 'all' ),
2005
+ 'action' => "wpbc_ajx_booking__ui_click__export_csv( {
2006
+ 'booking_action' : '{$booking_action}',
2007
+ 'ui_clicked_element_id': '{$el_id}',
2008
+ 'export_type': 'csv_all'
2009
+ } );",
2010
+
2011
+ 'icon' => array(
2012
+ 'icon_font' => 'wpbc_icn_publish',
2013
+ 'position' => 'right',
2014
+ 'icon_img' => ''
2015
+ ),
2016
+ 'class' => '',
2017
+ 'style' => '',
2018
+ 'attr' => array( 'id' => $el_id ),
2019
+ 'mobile_show_text' => true
2020
+ );
2021
+ wpbc_flex_button( $params );
2022
+ }
2023
+
2024
+ function wpbc_ajx__ui__action_button__empty_trash( $escaped_search_request_params ){
2025
+
2026
+ $booking_action = 'empty_trash';
2027
+
2028
+ $el_id = 'ui_btn_' . $booking_action;
2029
+
2030
+ if ( ! wpbc_is_user_can( $booking_action, get_current_user_id() ) ) {
2031
+ return false;
2032
+ }
2033
+
2034
+ $params = array(
2035
+ 'type' => 'button' ,
2036
+ 'title' => __( 'Empty Trash', 'booking' ) . '&nbsp;&nbsp;', // Title of the button
2037
+ 'hint' => array( 'title' => __( 'Empty Trash', 'booking' ), 'position' => 'top' ), // Hint
2038
+ 'link' => 'javascript:void(0)', // Direct link or skip it
2039
+ 'action' => "if ( wpbc_are_you_sure('" . esc_attr( __( 'Do you really want to do this ?', 'booking' ) ) . "') ) {
2040
+ wpbc_ajx_booking_ajax_action_request( {
2041
+ 'booking_action' : '{$booking_action}',
2042
+ 'ui_clicked_element_id': '{$el_id}'
2043
+ } );
2044
+ wpbc_button_enable_loading_icon( this );
2045
+ }" ,
2046
+ 'icon' => array(
2047
+ 'icon_font' => 'wpbc_icn_delete_forever',
2048
+ 'position' => 'right',
2049
+ 'icon_img' => ''
2050
+ ),
2051
+ 'class' => '', // '' | 'wpbc_ui_button_primary'
2052
+ 'style' => '', // Any CSS class here
2053
+ 'mobile_show_text' => true, // Show or hide text, when viewing on Mobile devices (small window size).
2054
+ 'attr' => array( 'id' => $el_id )
2055
+ );
2056
+
2057
+ wpbc_flex_button( $params );
2058
+ }
2059
+ // </editor-fold>
2060
+
2061
+
2062
+ // <editor-fold defaultstate="collapsed" desc=" T o o l b a r O p t i o n s B u t t o n s " >
2063
+
2064
+
2065
+ function wpbc_ajx__ui__options_checkbox__send_emails( $escaped_search_request_params, $defaults ){
2066
+
2067
+ $el_id = 'ui_usr__send_emails';
2068
+
2069
+ $el_value = isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ];
2070
+
2071
+ $params_checkbox = array(
2072
+ 'id' => $el_id // HTML ID of element
2073
+ , 'name' => $el_id
2074
+ , 'label' => array( 'title' => __( 'Emails sending', 'booking' ) , 'position' => 'left' )
2075
+ , 'style' => '' // CSS of select element
2076
+ , 'class' => '' // CSS Class of select element
2077
+ , 'disabled' => false
2078
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2079
+ , 'legend' => '' // aria-label parameter
2080
+ , 'value' => $el_value // Some Value from optins array that selected by default
2081
+ , 'selected' => ( ( 'send' == $el_value ) ? true : false ) // Selected or not
2082
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2083
+ , 'onchange' => "wpbc_ajx_booking_send_search_request_with_params( {'ui_usr__send_emails': (jQuery( this ).is(':checked') ? 'send' : 'not_send') } );" // JavaScript code
2084
+ );
2085
+
2086
+ wpbc_flex_checkbox( $params_checkbox );
2087
+ }
2088
+
2089
+
2090
+ function wpbc_ajx__ui__options_checkbox__is_expand_remarks( $escaped_search_request_params, $defaults ){
2091
+
2092
+ $el_id = 'ui_usr__is_expand_remarks';
2093
+
2094
+ $el_value = isset( $escaped_search_request_params[ $el_id ] ) ? $escaped_search_request_params[ $el_id ] : $defaults[ $el_id ];
2095
+
2096
+ $params_checkbox = array(
2097
+ 'id' => $el_id // HTML ID of element
2098
+ , 'name' => $el_id
2099
+ , 'label' => array( 'title' => __( 'Show / hide notes', 'booking' ) , 'position' => 'left' )
2100
+ , 'legend' => __('Check this box if you want to open notes section by default in Booking Listing page.' ,'booking')
2101
+ , 'style' => '' // CSS of select element
2102
+ , 'class' => '' // CSS Class of select element
2103
+ , 'disabled' => false
2104
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2105
+ , 'legend' => '' // aria-label parameter
2106
+ , 'value' => $el_value // Some Value from optins array that selected by default
2107
+ , 'selected' => ( ( 'On' == $el_value ) ? true : false ) // Selected or not
2108
+ //, 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2109
+ , 'onchange' => "wpbc_ajx_booking_send_search_request_with_params( {'ui_usr__is_expand_remarks': (jQuery( this ).is(':checked') ? 'On' : 'Off') } );" // JavaScript code
2110
+ );
2111
+
2112
+ wpbc_flex_checkbox( $params_checkbox );
2113
+ }
2114
+ // </editor-fold>
2115
+
2116
+ ////////////////////////////////////////////////////////////////////////////////
2117
+ // Complex elements
2118
+ ////////////////////////////////////////////////////////////////////////////////
2119
+
2120
+ /**
2121
+ * Show FLEX Dropdown
2122
+ *
2123
+ * Dropdown always have value as array. For example: [ '0' ], [ '4', '10' ] or [ '6', '', '2022-05-24' ]
2124
+ *
2125
+ * @param array $args
2126
+ *
2127
+ * = Simple Example: ==================================================================================================
2128
+
2129
+ $params = array(
2130
+ 'id' => 'wh_approved'
2131
+ , 'default' => isset( $escaped_search_request_params['wh_approved'] ) ? $escaped_search_request_params['wh_approved'] : $defaults['wh_approved']
2132
+ , 'label' => ''//__('Status', 'booking') . ':'
2133
+ , 'title' => __('Status', 'booking')
2134
+ , 'hint' => array( 'title' => __('Filter bookings by booking status' ,'booking') , 'position' => 'top' )
2135
+ , 'li_options' => array (
2136
+ '0' => __( 'Pending', 'booking' ),
2137
+ '1' => __( 'Approved', 'booking' ),
2138
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
2139
+ // 'header1' => array( 'type' => 'header', 'title' => __( 'Default', 'booking' ) ),
2140
+ 'any' => array(
2141
+ 'type' => 'simple',
2142
+ 'value' => '',
2143
+ // 'disabled' => true,
2144
+ 'title' => __( 'Any', 'booking' )
2145
+ ),
2146
+ )
2147
+ );
2148
+
2149
+ ?><div class="ui_element ui_nowrap"><?php
2150
+
2151
+ wpbc_flex_dropdown( $params );
2152
+
2153
+ ?></div><?php
2154
+ *
2155
+ *
2156
+ * = Complex Example: =================================================================================================
2157
+ *
2158
+
2159
+ $params_addon = array(
2160
+ 'type' => 'span'
2161
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
2162
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_event', 'position' => 'right', 'icon_img' => '' )
2163
+ , 'class' => 'wpbc_ui_button inactive'
2164
+ , 'style' => ''
2165
+ , 'attr' => array()
2166
+ );
2167
+
2168
+ $dates_interval = array(
2169
+ 1 => '1' . ' ' . __('day' ,'booking')
2170
+ , 2 => '2' . ' ' . __('days' ,'booking')
2171
+ , 3 => '3' . ' ' . __('days' ,'booking')
2172
+ , 4 => '4' . ' ' . __('days' ,'booking')
2173
+ , 5 => '5' . ' ' . __('days' ,'booking')
2174
+ , 6 => '6' . ' ' . __('days' ,'booking')
2175
+ , 7 => '1' . ' ' . __('week' ,'booking')
2176
+ , 14 => '2' . ' ' . __('weeks' ,'booking')
2177
+ , 30 => '1' . ' ' . __('month' ,'booking')
2178
+ , 60 => '2' . ' ' . __('months' ,'booking')
2179
+ , 90 => '3' . ' ' . __('months' ,'booking')
2180
+ , 183 => '6' . ' ' . __('months' ,'booking')
2181
+ , 365 => '1' . ' ' . __('Year' ,'booking')
2182
+ );
2183
+
2184
+ $request_input_el_default = array(
2185
+ 'wh_booking_date' => isset( $escaped_search_request_params['wh_booking_date'] ) ? $escaped_search_request_params['wh_booking_date'] : $defaults['wh_booking_date'],
2186
+ 'ui_wh_booking_date_radio' => isset( $escaped_search_request_params['ui_wh_booking_date_radio'] ) ? $escaped_search_request_params['ui_wh_booking_date_radio'] : $defaults['ui_wh_booking_date_radio'],
2187
+ 'ui_wh_booking_date_next' => isset( $escaped_search_request_params['ui_wh_booking_date_next'] ) ? $escaped_search_request_params['ui_wh_booking_date_next'] : $defaults['ui_wh_booking_date_next'],
2188
+ 'ui_wh_booking_date_prior' => isset( $escaped_search_request_params['ui_wh_booking_date_prior'] ) ? $escaped_search_request_params['ui_wh_booking_date_prior'] : $defaults['ui_wh_booking_date_prior'],
2189
+ 'ui_wh_booking_date_checkin' => isset( $escaped_search_request_params['ui_wh_booking_date_checkin'] ) ? $escaped_search_request_params['ui_wh_booking_date_checkin'] : $defaults['ui_wh_booking_date_checkin'],
2190
+ 'ui_wh_booking_date_checkout' => isset( $escaped_search_request_params['ui_wh_booking_date_checkout'] ) ? $escaped_search_request_params['ui_wh_booking_date_checkout'] : $defaults['ui_wh_booking_date_checkout']
2191
+ );
2192
+
2193
+ $options = array (
2194
+ // 'header2' => array( 'type' => 'header', 'title' => __( 'Complex Days', 'booking' ) ),
2195
+ // 'disabled1' => array( 'type' => 'simple', 'value' => '19', 'title' => __( 'This is option was disabled', 'booking' ), 'disabled' => true ),
2196
+
2197
+ '0' => __( 'Current dates', 'booking' ),
2198
+ '1' => __( 'Today', 'booking' ),
2199
+ '2' => __( 'Previous dates', 'booking' ),
2200
+ '3' => __( 'All dates', 'booking' ),
2201
+
2202
+ 'divider1' => array( 'type' => 'html', 'html' => '<hr/>' ),
2203
+
2204
+ '9' => __( 'Today check in/out', 'booking' ),
2205
+ '7' => __( 'Check In - Tomorrow', 'booking' ),
2206
+ '8' => __( 'Check Out - Tomorrow', 'booking' ),
2207
+
2208
+ 'divider2' => array( 'type' => 'html', 'html' => '<hr/>' ),
2209
+
2210
+ // Next [ '4', '10' ] - radio button (if selected) value '4' and select-box with selected value '10'
2211
+ 'next' => array(
2212
+ 'type' => 'complex',
2213
+ 'class' => 'ui_complex_option_element',
2214
+ // recheck if LI selected: $options['next']['selected_options_value'] == $params['default], e.g. ~ [ '4', '10' ]
2215
+ 'selected_options_value' => array(
2216
+ 1 => array( 'value' ), // $options['next']['input_options'][ 1 ]['value'] '4'
2217
+ 4 => array( 'value' ) // $options['next']['input_options'][ 4 ]['value'] '10'
2218
+ ),
2219
+ // Get selected Title, for dropdown if $options['next'] selected
2220
+ 'selected_options_title' => array(
2221
+ 1 => array( 'label', 'title' ), // $options['next']['input_options'][ 1 ]['label'][ 'title' ] 'Next'
2222
+ 'text1' => ': ', // if key 'text1' not exist in ['input_options'], then it text ': '
2223
+ 4 => array( 'options', $request_input_el_default['ui_wh_booking_date_next'] ) // '10 days'
2224
+ ),
2225
+ 'input_options' => array(
2226
+ array( 'type' => 'html', 'html' => '<div class="ui_element">' )
2227
+ , array( // Default options from simple input element, like: wpbc_flex_radio()
2228
+ 'type' => 'radio'
2229
+ , 'id' => 'ui_wh_booking_date_radio_1' // HTML ID of element
2230
+ , 'name' => 'ui_wh_booking_date_radio'
2231
+ , 'label' => array( 'title' => __('Next' ,'booking') , 'position' => 'right' )
2232
+ , 'style' => '' // CSS of select element
2233
+ , 'class' => '' // CSS Class of select element
2234
+ , 'disabled' => false
2235
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2236
+ , 'legend' => '' // aria-label parameter
2237
+ , 'value' => '4'
2238
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_booking_date_radio' ] == '4' ) ? true : false // Selected or not
2239
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2240
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2241
+ )
2242
+ , array( 'type' => 'html', 'html' => '</div>' )
2243
+ , array( 'type' => 'html', 'html' => '<div class="ui_element">' )
2244
+ , array(
2245
+ 'type' => 'select'
2246
+ , 'attr' => array()
2247
+ , 'name' => 'ui_wh_booking_date_next'
2248
+ , 'id' => 'ui_wh_booking_date_next'
2249
+ , 'options' => $dates_interval
2250
+ , 'value' => $request_input_el_default[ 'ui_wh_booking_date_next']
2251
+ , 'onfocus' => "jQuery('#ui_wh_booking_date_radio_1').prop('checked', true);" // JavaScript code
2252
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2253
+ )
2254
+ , array( 'type' => 'html', 'html' => '</div>' )
2255
+ )
2256
+ ),
2257
+
2258
+ // Prior [ '5', '10' ]
2259
+ 'prior' => array(
2260
+ 'type' => 'complex',
2261
+ 'class' => 'ui_complex_option_element',
2262
+ 'style' => 'min-width: 244px;',
2263
+ 'selected_options_value' => array( 1 => array( 'value' ), 4 => array( 'value' ) ), // 4 => array( 'value' ) --> $complex_option['input_options'][4]['value']
2264
+ 'selected_options_title' => array( 1 => array( 'label', 'title' )
2265
+ , 'text1' => ': '
2266
+ , 4 => array( 'options' , $request_input_el_default[ 'ui_wh_booking_date_prior'] )
2267
+ ), // 1 => array( 'label', 'title' ) --> $complex_option['input_options'][1]['label'][ 'title' ]
2268
+ 'input_options' => array(
2269
+ array( 'type' => 'html', 'html' => '<div class="ui_element">' )
2270
+ , array(
2271
+ 'type' => 'radio'
2272
+
2273
+ , 'id' => 'ui_wh_booking_date_radio_2' // HTML ID of element
2274
+ , 'name' => 'ui_wh_booking_date_radio'
2275
+ , 'label' => array( 'title' => __('Prior' ,'booking') , 'position' => 'right' )
2276
+ , 'style' => '' // CSS of select element
2277
+ , 'class' => '' // CSS Class of select element
2278
+ , 'disabled' => false
2279
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2280
+ , 'legend' => '' // aria-label parameter
2281
+ , 'value' => '5' // Some Value from optins array that selected by default
2282
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_booking_date_radio' ] == '5' ) ? true : false // Selected or not
2283
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2284
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2285
+ )
2286
+ , array( 'type' => 'html', 'html' => '</div>' )
2287
+ , array( 'type' => 'html', 'html' => '<div class="ui_element">' )
2288
+ , array(
2289
+ 'type' => 'select'
2290
+ , 'attr' => array()
2291
+ , 'name' => 'ui_wh_booking_date_prior'
2292
+ , 'id' => 'ui_wh_booking_date_prior'
2293
+ , 'options' => $dates_interval
2294
+ , 'value' => $request_input_el_default[ 'ui_wh_booking_date_prior']
2295
+ , 'onfocus' => "jQuery('#ui_wh_booking_date_radio_2').prop('checked', true);" // JavaScript code
2296
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2297
+ )
2298
+ , array( 'type' => 'html', 'html' => '</div>' )
2299
+ )
2300
+ ),
2301
+
2302
+ // Fixed [ '6', '', '2022-05-21']
2303
+ 'fixed' => array(
2304
+ 'type' => 'complex',
2305
+ 'class' => 'ui_complex_option_element',
2306
+ 'selected_options_value' => array( 1 => array( 'value' ), 4 => array( 'value' ), 7 => array( 'value' ) ), // 4 => array( 'value' ) --> $complex_option['input_options'][4]['value']
2307
+ 'selected_options_title' => array( 1 => array( 'label', 'title' ), 'text1' => ': ', 4 => array( 'value' ), 'text2' => ' - ' ,7 => array( 'value' ) ), // 1 => array( 'label', 'title' ) --> $complex_option['input_options'][1]['label'][ 'title' ]
2308
+ 'input_options' => array(
2309
+ array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex:1 1 100%;margin-top:5px;">' )
2310
+ , array(
2311
+ 'type' => 'radio'
2312
+
2313
+ , 'id' => 'ui_wh_booking_date_radio_3' // HTML ID of element
2314
+ , 'name' => 'ui_wh_booking_date_radio'
2315
+ , 'label' => array( 'title' => __('Dates' ,'booking') , 'position' => 'right' )
2316
+ , 'style' => '' // CSS of select element
2317
+ , 'class' => '' // CSS Class of select element
2318
+ , 'disabled' => false
2319
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2320
+ , 'legend' => '' // aria-label parameter
2321
+ , 'value' => '6' // Some Value from optins array that selected by default
2322
+ , 'selected' => ( $request_input_el_default[ 'ui_wh_booking_date_radio' ] == '6' ) ? true : false // Selected or not
2323
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2324
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2325
+ )
2326
+ , array( 'type' => 'html', 'html' => '</div>' )
2327
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex-flow: row wrap;padding: 4px 4px 4px 0;">' )
2328
+ , array(
2329
+ 'type' => 'text'
2330
+ , 'id' => 'ui_wh_booking_date_checkin' // HTML ID of element
2331
+ , 'name' => 'ui_wh_booking_date_checkin'
2332
+ , 'label' => ''//__('Check-in' ,'booking')
2333
+ , 'style' => 'width:100%;' // CSS of select element
2334
+ , 'class' => 'wpdevbk-filters-section-calendar' // CSS Class of select element
2335
+ , 'disabled' => false
2336
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2337
+ , 'placeholder' => __('Check-in' ,'booking')
2338
+ , 'value' => $request_input_el_default[ 'ui_wh_booking_date_checkin'] // Some Value from optins array that selected by default
2339
+ , 'onfocus' => "jQuery('#ui_wh_booking_date_radio_3').prop('checked', true);" // JavaScript code
2340
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2341
+ )
2342
+ , array( 'type' => 'html', 'html' => '</div>' )
2343
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex-flow: row wrap;padding: 4px 0 4px 4px;">' )
2344
+ , array(
2345
+ 'type' => 'text'
2346
+ , 'id' => 'ui_wh_booking_date_checkout' // HTML ID of element
2347
+ , 'name' => 'ui_wh_booking_date_checkout'
2348
+ , 'label' => ''//__('Check-out' ,'booking')
2349
+ , 'style' => 'width:100%;' // CSS of select element
2350
+ , 'class' => 'wpdevbk-filters-section-calendar' // CSS Class of select element
2351
+ , 'disabled' => false
2352
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2353
+ , 'placeholder' => __('Check-out' ,'booking')
2354
+ , 'value' => $request_input_el_default[ 'ui_wh_booking_date_checkout'] // Some Value from optins array that selected by default
2355
+ , 'onfocus' => "jQuery('#ui_wh_booking_date_radio_3').prop('checked', true);" // JavaScript code
2356
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2357
+ )
2358
+ , array( 'type' => 'html', 'html' => '</div>' )
2359
+ )
2360
+ ),
2361
+
2362
+ 'divider3' => array( 'type' => 'html', 'html' => '<hr/>' ),
2363
+
2364
+ // Buttons
2365
+ 'buttons1' => array(
2366
+ 'type' => 'complex',
2367
+ 'class' => 'ui_complex_option_element',
2368
+ 'style' => 'justify-content: flex-end;',
2369
+ 'input_options' => array(
2370
+ array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex: 0 1 auto;margin: 0;">' )
2371
+ , array(
2372
+ 'type' => 'button'
2373
+ , 'title' => __( 'Apply', 'booking' ) // Title of the button
2374
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
2375
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
2376
+ , 'action' => "wpbc_ui_dropdown_apply_click( {
2377
+ 'dropdown_id' : 'wh_booking_date',
2378
+ 'dropdown_radio_name': 'ui_wh_booking_date_radio'
2379
+ } );" // JavaScript code
2380
+ , 'class' => 'wpbc_ui_button_primary' // wpbc_ui_button | wpbc_ui_button_primary
2381
+ , 'icon' => ''
2382
+ , 'font_icon' => ''
2383
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
2384
+ , 'style' => '' // Any CSS class here
2385
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
2386
+ , 'attr' => array()
2387
+ )
2388
+ , array( 'type' => 'html', 'html' => '</div>' )
2389
+ , array( 'type' => 'html', 'html' => '<div class="ui_element" style="flex: 0 1 auto;margin: 0 0 0 1em;">' )
2390
+ , array(
2391
+ 'type' => 'button'
2392
+ , 'title' => __( 'Close', 'booking' ) // Title of the button
2393
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
2394
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
2395
+ , 'action' => "wpbc_ui_dropdown_close_click( 'wh_booking_date' );" // JavaScript code
2396
+ , 'class' => '' // wpbc_ui_button | wpbc_ui_button_primary
2397
+ , 'icon' => ''
2398
+ , 'font_icon' => ''
2399
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
2400
+ , 'style' => '' // Any CSS class here
2401
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
2402
+ , 'attr' => array()
2403
+ )
2404
+ , array( 'type' => 'html', 'html' => '</div>' )
2405
+ )
2406
+ ),
2407
+ );
2408
+
2409
+ $params = array(
2410
+ 'id' => 'wh_booking_date'
2411
+ , 'default' => $request_input_el_default[ 'wh_booking_date' ]
2412
+ , 'label' => ''//__('Approve 1', 'booking') . ':'
2413
+ , 'title' => ''//__('Approve 2', 'booking')
2414
+ , 'hint' => array( 'title' => __('Filter bookings by booking dates' ,'booking') , 'position' => 'top' )
2415
+ , 'align' => 'left'
2416
+ , 'li_options' => $options
2417
+ );
2418
+
2419
+ ?><div class="ui_element ui_nowrap"><?php
2420
+
2421
+ wpbc_flex_addon( $params_addon );
2422
+
2423
+ wpbc_flex_dropdown( $params );
2424
+
2425
+ ?></div><?php
2426
+
2427
+ *
2428
+ * =====================================================================================================================
2429
+ */
2430
+ function wpbc_flex_dropdown( $args = array() ) {
2431
+
2432
+ // $milliseconds = round( microtime( true ) * 1000 );
2433
+
2434
+ $defaults = array(
2435
+ 'id' => '' // HTML ID of element Example: 'wh_booking_date'
2436
+ , 'default' => array() // Selected by default value(s) Example: 'default' => array( $defaults['wh_booking_date'] , $defaults['wh_booking_date2'] )
2437
+ , 'hint' => '' // Mouse over tooltip Example: 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
2438
+ , 'style' => '' // CSS style of dropdown element (optional)
2439
+ , 'class' => '' // CSS class of dropdown element (optional)
2440
+ , 'label' => '' // Label of element "at Top of element"
2441
+ , 'title' => '' // Title of element "Inside of element"
2442
+ , 'align' => 'left' // Align: left | right
2443
+ , 'li_options' => array() // Options
2444
+ , 'disabled' => array() // If some options disabled, then option values list here
2445
+ , 'onfocus' => '' // JavaScript code
2446
+ , 'onchange' => '' // JavaScript code
2447
+
2448
+ );
2449
+ $params = wp_parse_args( $args, $defaults );
2450
+
2451
+ // If default value not array, then define it as single value in arr.
2452
+ if ( ! is_array( $params['default'] ) ) {
2453
+ $params['default'] = array( $params['default'] );
2454
+ }
2455
+
2456
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2457
+ /**
2458
+ * Recomposition of simple options configuration from
2459
+ * 'any' => __( 'Any', 'booking' )
2460
+ * to
2461
+ * 'any' => array( 'type' => 'simple', 'value' => 'any', 'title' => __( 'Any', 'booking' ) );
2462
+ */
2463
+ $is_this_simple_list = true;
2464
+ foreach ( $params['li_options'] as $key_value => $option_data ) {
2465
+
2466
+ if ( ! is_array( $option_data ) ) {
2467
+
2468
+ $params['li_options'][ $key_value ] = array( 'type' => 'simple', 'value' => (string) $key_value, 'title' => $option_data );
2469
+
2470
+ } else {
2471
+ if ( ( isset( $option_data['type'] ) ) && ( 'complex' == $option_data['type'] ) ) {
2472
+ $is_this_simple_list = false;
2473
+ }
2474
+ }
2475
+ }
2476
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2477
+
2478
+
2479
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2480
+ // Rechecking about selected LI option, based on $params['default'] like ['4','10'] and getting title of such option
2481
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2482
+ $default_selected_title = array();
2483
+ foreach ( $params['li_options'] as $li_option ) {
2484
+
2485
+ if ( 'simple' == $li_option['type'] ) {
2486
+ if ( $li_option['value'] === $params['default'][0] ) {
2487
+ $default_selected_title = $li_option['title'] ;
2488
+ }
2489
+ }
2490
+
2491
+ if ( 'complex' == $li_option['type'] ) {
2492
+
2493
+ // $option[ 'selected_options_value' ] => array( 1 => array( 'value' ), 4 => array( 'value' ) ),
2494
+ // $option[ 'selected_options_title' ] => array( 1 => array( 'label', 'title' ), 'text1' => ': ', 4 => array( 'value' ) ),
2495
+
2496
+ // Get value of this LI
2497
+ $li_this_value = array();
2498
+ if ( isset( $li_option['selected_options_value'] ) )
2499
+ foreach ( $li_option['selected_options_value'] as $li_key => $input_keys ) {
2500
+
2501
+ if ( isset( $li_option['input_options'][ $li_key ] ) ) { // ['input_options'][4]
2502
+
2503
+ $li_input_deep_value = $li_option['input_options'][ $li_key ];
2504
+
2505
+ foreach ( $input_keys as $input_key_value ) {
2506
+
2507
+ if ( isset( $li_input_deep_value[$input_key_value] ) ) { // ['input_options'][4]['value']
2508
+ $li_input_deep_value = $li_input_deep_value[ $input_key_value ];
2509
+ }
2510
+ }
2511
+ $li_this_value[] = $li_input_deep_value;
2512
+ }
2513
+ }
2514
+
2515
+ // Is this LI selected ?
2516
+ $is_same_value = array_diff( $params['default'], $li_this_value ) == array();
2517
+
2518
+ if ( $is_same_value ) {
2519
+
2520
+ // Get value of this LI
2521
+ $li_this_value = array();
2522
+ foreach ( $li_option['selected_options_title'] as $li_key => $input_keys ) {
2523
+
2524
+ if ( isset( $li_option['input_options'][ $li_key ] ) ) { // ['input_options'][4]
2525
+
2526
+ $li_input_deep_value = $li_option['input_options'][ $li_key ];
2527
+
2528
+ foreach ( $input_keys as $input_key_value ) {
2529
+
2530
+ if ( isset( $li_input_deep_value[$input_key_value] ) ) { // ['input_options'][4]['value']
2531
+ $li_input_deep_value = $li_input_deep_value[ $input_key_value ];
2532
+ }
2533
+ }
2534
+ $li_this_value[] = $li_input_deep_value;
2535
+ } else {
2536
+ $li_this_value[] = $input_keys; //some text
2537
+ }
2538
+ }
2539
+
2540
+ $default_selected_title = implode( '', $li_this_value );
2541
+ }
2542
+ }
2543
+
2544
+ if ( ! empty( $default_selected_title ) ) {
2545
+ break;
2546
+ }
2547
+ }
2548
+
2549
+ if ( is_array( $default_selected_title ) ) {
2550
+ $default_selected_title = implode( '', $default_selected_title ); // Error:: ? no values ?
2551
+ }
2552
+
2553
+
2554
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2555
+ // Show only, if $item_params['label'] ! EMPTY
2556
+ wpbc_flex_label(
2557
+ array(
2558
+ 'id' => $params['id']
2559
+ , 'label' => $params['label']
2560
+ , 'class' => 'wpbc_ui_dropdown__outside_label'
2561
+ )
2562
+ );
2563
+
2564
+ ?><div class="wpbc_ui_dropdown <?php echo esc_attr( $params['class'] ); ?>"
2565
+ style="<?php echo esc_attr( $params['style'] ); ?>"
2566
+ ><?php
2567
+
2568
+ ?><a href="javascript:void(0)"
2569
+ id="<?php echo esc_attr( $params['id'] ); ?>_selector"
2570
+ data-toggle="wpbc_dropdown"
2571
+ class="wpbc_ui_control wpbc_ui_button dropdown-toggle <?php
2572
+ echo ( ! empty( $params['hint'] ) ) ? 'tooltip_' . $params['hint']['position'] . ' ' : '' ;
2573
+ ?>"
2574
+ <?php if (! $is_this_simple_list ) { ?>
2575
+ onclick="javascript:jQuery('#<?php echo $params['id']; ?>_container').show();"
2576
+ <?php } ?>
2577
+ <?php if ( ! empty( $params['hint'] ) ) { ?>
2578
+ title="<?php echo esc_attr( $params['hint']['title'] ); ?>"
2579
+ <?php } ?>
2580
+ <?php echo wpbc_get_custom_attr( $params ); ?>
2581
+ ><?php
2582
+
2583
+ ?><label class="wpbc_ui_dropdown__inside_label" <?php if ( empty( $params['title'] ) ) { echo ' style="display:none;" '; } ?> ><?php
2584
+
2585
+ echo html_entity_decode(
2586
+ wp_kses_post( $params['title'] ) // Sanitizes content for allowed HTML tags for post content
2587
+ , ENT_QUOTES // Convert &quot; to " and '
2588
+ , get_bloginfo( 'charset' ) // 'UTF-8' or other
2589
+ ); // Convert &amp;dash; to &dash; etc...
2590
+ ?>: <?php
2591
+ ?></label> <?php
2592
+
2593
+ ?><span class="wpbc_selected_in_dropdown" ><?php
2594
+ echo html_entity_decode(
2595
+ wp_kses_post( $default_selected_title ) // Sanitizes content for allowed HTML tags for post content
2596
+ , ENT_QUOTES // Convert &quot; to " and '
2597
+ , get_bloginfo( 'charset' ) // 'UTF-8' or other
2598
+ ); // Convert &amp;dash; to &dash; etc...
2599
+ ?></span> &nbsp; <?php
2600
+
2601
+ ?><span class="wpbc_ui_dropdown__inside_caret"></span><?php
2602
+
2603
+ ?></a><?php
2604
+
2605
+ ?><ul id="<?php echo $params['id']; ?>_container" class="ui_dropdown_menu ui_dropdown_menu-<?php echo esc_attr( $params['align'] ); ?>" ><?php
2606
+
2607
+ wpbc_flex_dropdown__options( $params, array( 'is_this_simple_list' => $is_this_simple_list ) );
2608
+
2609
+ ?></ul><?php
2610
+
2611
+ ?><input type="hidden"
2612
+ autocomplete="off"
2613
+ value=""
2614
+ id="<?php echo esc_attr( $params['id'] ); ?>"
2615
+ name="<?php echo esc_attr( $params['id'] ); ?>"
2616
+ /><?php
2617
+ ?>
2618
+ <script type="text/javascript">
2619
+ <?php /* document.getElementById("<?php echo $params['id']; ?>").value = "<?php echo wp_slash( json_encode($params['default'] ) ); ?>"; */ ?>
2620
+ jQuery(document).ready(function(){
2621
+
2622
+ jQuery( '#<?php echo $params['id']; ?>').val( "<?php echo wp_slash( json_encode( $params['default'] ) ); ?>" );
2623
+
2624
+ <?php if (! empty( $params['onchange'] )) { ?>
2625
+
2626
+ jQuery( '#<?php echo $params['id']; ?>' ).on( 'change', function( event ){
2627
+
2628
+ <?php echo $params['onchange']; ?>
2629
+ });
2630
+
2631
+ <?php } ?>
2632
+
2633
+ <?php if (! empty( $params['onfocus'] )) { ?>
2634
+
2635
+ jQuery( '#<?php echo $params['id']; ?>_selector' ).on( 'focus', function( event ){
2636
+
2637
+ <?php echo $params['onfocus']; ?>
2638
+ });
2639
+
2640
+ <?php } ?>
2641
+ })
2642
+ </script>
2643
+ <?php
2644
+
2645
+ ?></div><?php
2646
+ }
2647
+
2648
+ /**
2649
+ * Options list for Dropdown
2650
+ *
2651
+ * @param $params
2652
+ * @param array $args
2653
+ */
2654
+ function wpbc_flex_dropdown__options( $params, $args = array() ) {
2655
+
2656
+ $defaults = array(
2657
+ // 'milliseconds' => round( microtime( true ) * 1000 ),
2658
+ 'is_this_simple_list' => true
2659
+ );
2660
+ $args = wp_parse_args( $args, $defaults );
2661
+
2662
+
2663
+ foreach ( $params['li_options'] as $option_name => $li_option ) {
2664
+
2665
+ $default_option = array(
2666
+ 'type' => ''
2667
+ , 'class' => ''
2668
+ , 'style' => ''
2669
+ , 'title' => ''
2670
+ , 'disabled' => false
2671
+ , 'attr' => array()
2672
+ , 'value' => ''
2673
+ , 'html' => ''
2674
+ );
2675
+ $li_option = wp_parse_args( $li_option, $default_option );
2676
+
2677
+
2678
+ // Is disabled ?
2679
+ if ( true === in_array( $li_option['value'], $params['disabled'] ) ) {
2680
+ $li_option['disabled'] = true;
2681
+ }
2682
+ if ( $li_option['disabled'] ) {
2683
+ $li_option['class'] .= ' disabled';
2684
+ }
2685
+ // Is header ?
2686
+ if ( 'header' == $li_option['type'] ) {
2687
+ $li_option['class'] .= ' dropdown-header';
2688
+ }
2689
+
2690
+
2691
+ ?><li role="presentation"
2692
+ class="<?php echo esc_attr( $li_option['class'] ); ?>"
2693
+ style="<?php echo esc_attr( $li_option['style'] ); ?>"
2694
+ <?php echo wpbc_get_custom_attr( $li_option ); ?>
2695
+ ><?php
2696
+
2697
+ switch ( $li_option['type'] ) {
2698
+
2699
+ case 'simple':
2700
+
2701
+ ?><a role="menuitem"
2702
+ tabindex="-1"
2703
+ <?php if ( ! $li_option['disabled'] ) {
2704
+
2705
+ if( false !== filter_var( $li_option['value'], FILTER_VALIDATE_URL ) ){ ?>
2706
+
2707
+ href="<?php echo $li_option['value']; ?>"
2708
+
2709
+ <?php } else { ?>
2710
+
2711
+ href="javascript:void(0)"
2712
+ onclick="javascript: wpbc_ui_dropdown_simple_click( {
2713
+ 'dropdown_id' : '<?php echo $params['id']; ?>'
2714
+ , 'is_this_simple_list': <?php echo ( $args['is_this_simple_list'] ) ? 'true' : 'false'; ?>
2715
+ , 'value' : '<?php echo $li_option['value']; ?>'
2716
+ , '_this' : this
2717
+ } );"
2718
+ <?php }
2719
+
2720
+ } ?>
2721
+ ><?php
2722
+ echo $li_option['title'];
2723
+ ?></a><?php
2724
+
2725
+ break;
2726
+
2727
+ case 'html':
2728
+ echo $li_option['html'];
2729
+ break;
2730
+
2731
+ case 'header':
2732
+ echo $li_option['title'];
2733
+ break;
2734
+
2735
+ case 'complex' :
2736
+
2737
+ foreach ( $li_option['input_options'] as $input_option ) {
2738
+
2739
+ switch ( $input_option['type'] ) {
2740
+
2741
+ case 'html':
2742
+ echo $input_option['html'];
2743
+ break;
2744
+
2745
+ case 'button':
2746
+ wpbc_flex_button( $input_option );
2747
+ break;
2748
+
2749
+ case 'label':
2750
+ wpbc_flex_label( $input_option );
2751
+ break;
2752
+
2753
+ case 'text':
2754
+ wpbc_flex_text( $input_option );
2755
+ break;
2756
+
2757
+ case 'select':
2758
+ wpbc_flex_select( $input_option );
2759
+ break;
2760
+
2761
+ case 'checkbox':
2762
+ wpbc_flex_checkbox( $input_option );
2763
+ break;
2764
+
2765
+ case 'radio':
2766
+ wpbc_flex_radio( $input_option );
2767
+ break;
2768
+
2769
+ case 'addon':
2770
+ wpbc_flex_addon( $input_option );
2771
+ break;
2772
+
2773
+ default: // Default
2774
+ }
2775
+ }
2776
+ break;
2777
+
2778
+ default: // Default
2779
+ }
2780
+
2781
+ ?></li><?php
2782
+ }
2783
+ }
2784
+
2785
+
2786
+ ////////////////////////////////////////////////////////////////////////////////
2787
+ // Simple elements
2788
+ ////////////////////////////////////////////////////////////////////////////////
2789
+
2790
+ /**
2791
+ * Show FLEX Button
2792
+ *
2793
+ * @param array $item
2794
+ array(
2795
+ 'type' => 'button'
2796
+ , 'title' => '' // Title of the button
2797
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
2798
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
2799
+ , 'action' => '' // Some JavaScript to execure, for example run the function
2800
+ , 'class' => '' // wpbc_ui_button | wpbc_ui_button_primary
2801
+ , 'icon' => ''
2802
+ , 'font_icon' => ''
2803
+ , 'icon_position' => 'left' // Position of icon relative to Text: left | right
2804
+ , 'style' => '' // Any CSS class here
2805
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
2806
+ , 'attr' => array()
2807
+ );
2808
+ */
2809
+ function wpbc_flex_button( $item ) {
2810
+
2811
+ $default_item_params = array(
2812
+ 'type' => 'button'
2813
+ , 'title' => '' // Title of the button
2814
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
2815
+ , 'link' => 'javascript:void(0)' // Direct link or skip it
2816
+ , 'action' => '' // Some JavaScript to execure, for example run the function
2817
+ , 'id' => '' // '' | 'wpbc_ui_button_primary'
2818
+ , 'class' => '' // '' | 'wpbc_ui_button_primary'
2819
+ , 'icon' => false // array( 'icon_font' => 'wpbc_icn_check_circle_outline', 'position' => 'right', 'icon_img' => '' )
2820
+ , 'style' => '' // Any CSS class here
2821
+ , 'mobile_show_text' => false // Show or hide text, when viewing on Mobile devices (small window size).
2822
+ , 'attr' => array()
2823
+ , 'options' => array( 'link' => 'esc_attr' ) // array( 'link' => 'decode' )
2824
+ );
2825
+ $item_params = wp_parse_args( $item, $default_item_params );
2826
+
2827
+ ?><a class="wpbc_ui_control wpbc_ui_button <?php echo esc_attr( $item_params['class'] );
2828
+ echo ( ! empty( $item_params['hint'] ) ) ? ' tooltip_' . esc_attr( $item_params['hint']['position'] ) . ' ' : '' ; ?>"
2829
+ style="<?php echo esc_attr( $item_params['style'] ); ?>"
2830
+ href="<?php
2831
+ if ( 'esc_attr' == $item_params['options']['link'] ) {
2832
+ echo esc_attr( $item_params['link'] );
2833
+ }
2834
+ if ( 'decode' == $item_params['options']['link'] ) {
2835
+ echo str_replace( '"', '', htmlspecialchars_decode( esc_attr( $item_params['link'] ), ENT_QUOTES ) );
2836
+ }
2837
+ if ( 'no_decode' == $item_params['options']['link'] ) {
2838
+ echo str_replace( '"', '', $item_params['link'] );
2839
+ }
2840
+ ?>"
2841
+ <?php if ( ! empty( $item_params['id'] ) ) { ?>
2842
+ id="<?php echo $item_params['id']; ?>"
2843
+ <?php } ?>
2844
+ <?php if ( ! empty( $item_params['action'] ) ) { ?>
2845
+ onclick="javascript:<?php echo wpbc_esc_js( $item_params['action'] ); ?>"
2846
+ <?php } ?>
2847
+ <?php if ( ! empty( $item_params['hint'] ) ) { ?>
2848
+ title="<?php echo esc_attr( $item_params['hint']['title'] ); ?>"
2849
+ <?php } ?>
2850
+ <?php echo wpbc_get_custom_attr( $item_params ); ?>
2851
+ ><?php
2852
+ $btn_icon = '';
2853
+
2854
+ // Icon
2855
+ if ( ( ! empty( $item_params['icon'] ) ) && ( is_array( $item_params['icon'] ) ) ) {
2856
+
2857
+ // Icon IMG
2858
+ if ( ! empty( $item_params['icon']['icon_img'] ) ) {
2859
+
2860
+ if ( substr( $item_params['icon']['icon_img'], 0, 4 ) != 'http' ) {
2861
+ $img_path = WPBC_PLUGIN_URL . '/assets/img/' . $item_params['icon']['icon_img'];
2862
+ } else {
2863
+ $img_path = $item_params['icon']['icon_img'];
2864
+ }
2865
+ $btn_icon = '<img class="menuicons" src="' . esc_url( $img_path ) . '" />'; // Img Icon
2866
+ }
2867
+
2868
+ // Icon Font
2869
+ if ( ! empty( $item_params['icon']['icon_font'] ) ) {
2870
+ $btn_icon = '<i class="menu_icon icon-1x ' . esc_attr( $item_params['icon']['icon_font'] ) . '"></i>'; // Font Icon
2871
+ }
2872
+ }
2873
+
2874
+ if ( ( ! empty( $btn_icon ) ) && ( $item_params['icon']['position'] == 'left' ) ) {
2875
+
2876
+ echo $btn_icon;
2877
+
2878
+ if ( ! empty( $item_params['title'] ) ) {
2879
+ echo '&nbsp;';
2880
+ }
2881
+ }
2882
+
2883
+ // Text
2884
+ echo '<span' . ( ( ( ! empty( $btn_icon ) ) && ( ! $item_params['mobile_show_text'] ) )? ' class="in-button-text"' : '' ) . '>';
2885
+
2886
+ echo html_entity_decode(
2887
+ wp_kses_post( $item_params['title'] ) // Sanitizes content for allowed HTML tags for post content
2888
+ , ENT_QUOTES // Convert &quot; to " and '
2889
+ , get_bloginfo( 'charset' ) // 'UTF-8' or other
2890
+ ); // Convert &amp;dash; to &dash; etc...
2891
+
2892
+ if ( ( ! empty( $btn_icon ) ) && ( $item_params['icon']['position'] == 'right' ) ) {
2893
+ echo '&nbsp;';
2894
+ }
2895
+
2896
+ echo '</span>';
2897
+
2898
+ if ( ( ! empty( $btn_icon ) ) && ( $item_params['icon']['position'] == 'right' ) ) {
2899
+ echo $btn_icon;
2900
+ }
2901
+ ?></a><?php
2902
+ }
2903
+
2904
+ /**
2905
+ * Show FLEX Label
2906
+ *
2907
+ * @param array $item
2908
+ array(
2909
+ 'id' => '' // HTML ID of INPUT element
2910
+ , 'label' => __('Text..','booking') // Label text here
2911
+ , 'style' => '' // CSS of select element
2912
+ , 'class' => '' // CSS Class of select element
2913
+ , 'disabled' => false
2914
+ , 'attr' => array() // Any additional attributes
2915
+ )
2916
+ */
2917
+ function wpbc_flex_label( $item ) {
2918
+
2919
+ $default_item_params = array(
2920
+ 'id' => '' // HTML ID of element
2921
+ , 'label' => '' // Label
2922
+ , 'style' => '' // CSS of select element
2923
+ , 'class' => '' // CSS Class of select element
2924
+ , 'disabled' => false
2925
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
2926
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2927
+ );
2928
+ $item_params = wp_parse_args( $item, $default_item_params );
2929
+
2930
+ if ( ( ! empty( $item_params['label'] ) ) || ( ! empty( $btn_icon ) ) ) {
2931
+
2932
+ ?><label for="<?php echo esc_attr( $item_params['id'] ); ?>"
2933
+ class="wpbc_ui_control_label <?php echo esc_attr( $item_params['class'] );
2934
+ echo ( ! empty( $item_params['hint'] ) ) ? ' tooltip_' . esc_attr( $item_params['hint']['position'] ) . ' ' : '' ; ?>"
2935
+ style="<?php echo esc_attr( $item_params['style'] ); ?>"
2936
+ <?php if ( ! empty( $item_params['hint'] ) ) { ?>
2937
+ title="<?php echo esc_attr( $item_params['hint']['title'] ); ?>"
2938
+ <?php } ?>
2939
+ <?php disabled( $item_params['disabled'], true ); ?>
2940
+ <?php echo wpbc_get_custom_attr( $item_params ); ?>
2941
+ ><?php
2942
+
2943
+ echo html_entity_decode(
2944
+ wp_kses_post( $item_params['label'] ) // Sanitizes content for allowed HTML tags for post content
2945
+ , ENT_QUOTES // Convert &quot; to " and '
2946
+ , get_bloginfo( 'charset' ) // 'UTF-8' or other
2947
+ ); // Convert &amp;dash; to &dash; etc...
2948
+ ?></label><?php
2949
+ }
2950
+
2951
+ }
2952
+
2953
+ /**
2954
+ * Show FLEX text
2955
+ *
2956
+ * @param array $item
2957
+ *
2958
+ * Example:
2959
+ $params_checkbox = array(
2960
+ 'id' => 'my_check_id' // HTML ID of element
2961
+ , 'name' => 'my_check_id'
2962
+ , 'label' => __('Approve' ,'booking')
2963
+ , 'style' => '' // CSS of select element
2964
+ , 'class' => '' // CSS Class of select element
2965
+ , 'disabled' => false
2966
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
2967
+ , 'placeholder' => ''
2968
+ , 'value' => 'CHECK_VAL_1' // Some Value from optins array that selected by default
2969
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2970
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
2971
+ );
2972
+ ?><div class="ui_element"><?php
2973
+
2974
+ wpbc_flex_text( $params_select );
2975
+
2976
+ ?></div><?php
2977
+ *
2978
+ */
2979
+ function wpbc_flex_text( $item ) {
2980
+
2981
+ $default_item_params = array(
2982
+ 'type' => 'text'
2983
+ , 'id' => ''
2984
+ , 'name' => ''
2985
+ , 'label' => ''
2986
+ , 'disabled' => false
2987
+ , 'class' => ''
2988
+ , 'style' => ''
2989
+ , 'placeholder' => ''
2990
+ , 'attr' => array()
2991
+ , 'value' => ''
2992
+ , 'is_escape_value' => true
2993
+ , 'onfocus' => '' // JavaScript code
2994
+ , 'onchange' => '' // JavaScript code
2995
+ , 'onkeydown' => '' // JavaScript code
2996
+
2997
+ );
2998
+ $item_params = wp_parse_args( $item, $default_item_params );
2999
+
3000
+ if ( ( empty( $item_params['name'] ) )
3001
+ && ( ! empty( $item_params['id'] ) )
3002
+ ) {
3003
+ $item_params['name'] = $item_params['id'];
3004
+ }
3005
+
3006
+ // Show only, if $item_params['label'] ! EMPTY
3007
+ wpbc_flex_label(
3008
+ array(
3009
+ 'id' => $item_params['id']
3010
+ , 'label' => $item_params['label']
3011
+ )
3012
+ );
3013
+
3014
+ if ( $item_params['is_escape_value'] ) {
3015
+ $escaped_value = esc_attr( $item_params['value'] );
3016
+ } else {
3017
+ $escaped_value = $item_params['value'];
3018
+ }
3019
+
3020
+ ?><input type="<?php echo esc_attr( $item_params['type'] ); ?>"
3021
+ id="<?php echo esc_attr( $item_params['id'] ); ?>"
3022
+ name="<?php echo esc_attr( $item_params['name'] ); ?>"
3023
+ style="<?php echo esc_attr( $item_params['style'] ); ?>"
3024
+ class="wpbc_ui_control wpbc_ui_text <?php echo esc_attr( $item_params['class'] ); ?>"
3025
+ placeholder="<?php echo esc_attr( $item_params['placeholder'] ); ?>"
3026
+ value="<?php echo $escaped_value; ?>"
3027
+ autocomplete="off"
3028
+ <?php disabled( $item_params['disabled'], true ); ?>
3029
+ <?php echo wpbc_get_custom_attr( $item_params ); ?>
3030
+ <?php
3031
+ if ( ! empty( $item_params['onfocus'] ) ) {
3032
+ ?> onfocus="javascript:<?php echo wpbc_esc_js( $item_params['onfocus'] ); ?>" <?php
3033
+ }
3034
+ if ( ! empty( $item_params['onchange'] ) ) {
3035
+ ?> onchange="javascript:<?php echo wpbc_esc_js( $item_params['onchange'] ); ?>" <?php
3036
+ }
3037
+ if ( ! empty( $item_params['onkeydown'] ) ) {
3038
+ ?> onkeydown="javascript:<?php echo wpbc_esc_js( $item_params['onkeydown'] ); ?>" <?php
3039
+ }
3040
+ ?>
3041
+ /><?php
3042
+ }
3043
+
3044
+ /**
3045
+ * Show FLEX textarea
3046
+ *
3047
+ * @param array $item
3048
+ *
3049
+ * Example:
3050
+ $params_textarea = array(
3051
+ 'id' => 'my_check_id' // HTML ID of element
3052
+ , 'name' => 'my_check_id'
3053
+ , 'label' => __('Approve' ,'booking')
3054
+ , 'style' => '' // CSS of select element
3055
+ , 'class' => '' // CSS Class of select element
3056
+ , 'disabled' => false
3057
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3058
+ , 'rows' => '3'
3059
+ , 'cols' => '50'
3060
+ , 'placeholder' => ''
3061
+ , 'value' => 'Test VAL 1' // Some Value from optins array that selected by default
3062
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
3063
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
3064
+ );
3065
+ ?><div class="ui_element"><?php
3066
+
3067
+ wpbc_flex_textarea( $params_textarea );
3068
+
3069
+ ?></div><?php
3070
+ *
3071
+ */
3072
+ function wpbc_flex_textarea( $item ) {
3073
+
3074
+ $default_item_params = array(
3075
+ 'id' => ''
3076
+ , 'name' => ''
3077
+ , 'label' => ''
3078
+ , 'disabled' => false
3079
+ , 'class' => ''
3080
+ , 'style' => ''
3081
+ , 'placeholder' => ''
3082
+ , 'attr' => array()
3083
+ , 'rows' => '3'
3084
+ , 'cols' => '50'
3085
+ , 'value' => ''
3086
+ , 'is_escape_value' => true
3087
+ , 'onfocus' => '' // JavaScript code
3088
+ , 'onchange' => '' // JavaScript code
3089
+ );
3090
+ $item_params = wp_parse_args( $item, $default_item_params );
3091
+
3092
+ if ( ( empty( $item_params['name'] ) )
3093
+ && ( ! empty( $item_params['id'] ) )
3094
+ ) {
3095
+ $item_params['name'] = $item_params['id'];
3096
+ }
3097
+
3098
+ // Show only, if $item_params['label'] ! EMPTY
3099
+ wpbc_flex_label(
3100
+ array(
3101
+ 'id' => $item_params['id']
3102
+ , 'label' => $item_params['label']
3103
+ )
3104
+ );
3105
+
3106
+ if ( $item_params['is_escape_value'] ) {
3107
+ $escaped_value = esc_textarea( $item_params['value'] );
3108
+ } else {
3109
+ $escaped_value = $item_params['value'];
3110
+ }
3111
+
3112
+ ?><textarea id="<?php echo esc_attr( $item_params['id'] ); ?>"
3113
+ name="<?php echo esc_attr( $item_params['name'] ); ?>"
3114
+ style="<?php echo esc_attr( $item_params['style'] ); ?>"
3115
+ class="wpbc_ui_control wpbc_ui_textarea <?php echo esc_attr( $item_params['class'] ); ?>"
3116
+ placeholder="<?php echo esc_attr( $item_params['placeholder'] ); ?>"
3117
+ autocomplete="off"
3118
+ rows="<?php echo esc_attr( $item_params['rows'] ); ?>"
3119
+ cols="<?php echo esc_attr( $item_params['cols'] ); ?>"
3120
+ <?php disabled( $item_params['disabled'], true ); ?>
3121
+ <?php echo wpbc_get_custom_attr( $item_params ); ?>
3122
+ <?php
3123
+ if ( ! empty( $item_params['onfocus'] ) ) {
3124
+ ?> onfocus="javascript:<?php echo wpbc_esc_js( $item_params['onfocus'] ); ?>" <?php
3125
+ }
3126
+ if ( ! empty( $item_params['onchange'] ) ) {
3127
+ ?> onchange="javascript:<?php echo wpbc_esc_js( $item_params['onchange'] ); ?>" <?php
3128
+ }
3129
+ ?>
3130
+ ><?php echo $escaped_value; ?></textarea><?php
3131
+ }
3132
+
3133
+ /**
3134
+ * Show FLEX selectbox
3135
+ *
3136
+ * @param array $item
3137
+ array(
3138
+ 'id' => '' // HTML ID of element
3139
+ , 'name' => ''
3140
+ , 'style' => '' // CSS of select element
3141
+ , 'class' => '' // CSS Class of select element
3142
+ , 'multiple' => false
3143
+ , 'disabled' => false
3144
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3145
+ , 'options' => array() // Associated array of titles and values
3146
+ , 'disabled_options' => array() // If some options disbaled, then its must list here
3147
+ , 'value' => '' // Some Value from optins array that selected by default
3148
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).val(), 'in element:' , jQuery( this ) );" // JavaScript code
3149
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val(), 'in element:' , jQuery( this ) );" // JavaScript code
3150
+ )
3151
+ *
3152
+ *
3153
+ * Simple Example :
3154
+ *
3155
+ $params_select = array(
3156
+ 'id' => 'next_days' // HTML ID of element
3157
+ , 'name' => 'next_days'
3158
+ , 'label' => '' // __( 'Next Days', 'booking' ) // Label (optional)
3159
+ , 'style' => '' // CSS of select element
3160
+ , 'class' => '' // CSS Class of select element
3161
+ , 'multiple' => false
3162
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3163
+ , 'disabled' => false
3164
+ , 'disabled_options' => array( 2, 30 ) // If some options disabled, then it has to list here
3165
+ , 'options' => array( // Associated array of titles and values
3166
+ , 1 => '1' . ' ' . __('day' ,'booking')
3167
+ , 2 => '2' . ' ' . __('days' ,'booking')
3168
+ , 7 => '1' . ' ' . __('week' ,'booking')
3169
+ , 30 => '1' . ' ' . __('month' ,'booking')
3170
+ , 365 => '1' . ' ' . __('Year' ,'booking')
3171
+ )
3172
+
3173
+ , 'value' => ( isset( $escaped_search_request_params[ 'next_days' ] ) ) ? $escaped_search_request_params[ 'next_days' ] : '183' // Some Value from options array that selected by default
3174
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).val(), 'in element:' , jQuery( this ) );" // JavaScript code
3175
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val(), 'in element:' , jQuery( this ) );" // JavaScript code
3176
+
3177
+ );
3178
+
3179
+ ?><div class="ui_element"><?php
3180
+
3181
+ wpbc_flex_select( $params_select );
3182
+
3183
+ ?></div><?php
3184
+ *
3185
+ *
3186
+ *
3187
+ * Example complex:
3188
+ *
3189
+ *
3190
+ *
3191
+
3192
+ $params_select = array(
3193
+ 'id' => 'next_days' // HTML ID of element
3194
+ , 'name' => 'next_days'
3195
+ , 'label' => '<span class="" style="font-weight:600;">' . __( 'Cost', 'booking' ) . ' <em style="color:#888;">(' . __( 'min-max', 'booking' ) . '):</em></span>'
3196
+ , 'style' => '' // CSS of select element
3197
+ , 'class' => '' // CSS Class of select element
3198
+ , 'multiple' => false
3199
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3200
+ , 'disabled' => false
3201
+ , 'disabled_options' => array( 2, 5 ) // If some options disabled, then it has to list here
3202
+ , 'options' => array( // Associated array of titles and values: array( $option_value => $option_data, ... )
3203
+ 'group_days' => array( 'optgroup' => true, 'close' => false, 'title' => __( 'days', 'booking' ) )
3204
+ , 1 => '1' . ' ' . __('day' ,'booking')
3205
+ , 2 => '2' . ' ' . __('days' ,'booking')
3206
+ , 3 => '3' . ' ' . __('days' ,'booking')
3207
+ , 4 => '4' . ' ' . __('days' ,'booking')
3208
+ , 5 => '5' . ' ' . __('days' ,'booking')
3209
+ , 6 => '6' . ' ' . __('days' ,'booking')
3210
+ , 'group_days_end' => array( 'optgroup' => true, 'close' => true )
3211
+
3212
+ , 'group_weeks' => array( 'optgroup' => true, 'close' => false, 'title' => __( 'weeks', 'booking' ) )
3213
+ , 7 => '1' . ' ' . __('week' ,'booking')
3214
+ , 14 => '2' . ' ' . __('weeks' ,'booking')
3215
+ , 'group_weeks_end' => array( 'optgroup' => true, 'close' => true )
3216
+
3217
+ , 'group_months' => array( 'optgroup' => true, 'close' => false, 'title' => __( 'months', 'booking' ) )
3218
+ , 30 => '1' . ' ' . __('month' ,'booking')
3219
+ , 60 => '2' . ' ' . __('months' ,'booking')
3220
+ , 90 => '3' . ' ' . __('months' ,'booking')
3221
+ , 183 => '6' . ' ' . __('months' ,'booking')
3222
+ , 365 => '1' . ' ' . __('Year' ,'booking')
3223
+ , 'group_months_end' => array( 'optgroup' => true, 'close' => true )
3224
+
3225
+ , 'complex_value' => array(
3226
+ 'title' => 'Complex Option Here' // Text in selectbox option
3227
+ , 'style' => '' // CSS of select element
3228
+ , 'class' => '' // CSS Class of select element
3229
+ , 'disabled' => false
3230
+ , 'selected' => true
3231
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3232
+ , 'optgroup' => false // Use only if you need to show OPTGROUP - Also need to use 'title' of start, end 'close' for END
3233
+ , 'close' => false
3234
+ )
3235
+ )
3236
+
3237
+ , 'value' => ( isset( $escaped_search_request_params[ 'next_days' ] ) ) ? $escaped_search_request_params[ 'next_days' ] : '183' // Some Value from options array that selected by default
3238
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).val(), 'in element:' , jQuery( this ) );" // JavaScript code
3239
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val(), 'in element:' , jQuery( this ) );" // JavaScript code
3240
+
3241
+ );
3242
+
3243
+ ?><div class="ui_element"><?php
3244
+
3245
+ wpbc_flex_select( $params_select );
3246
+
3247
+ ?></div><?php
3248
+
3249
+ *
3250
+ */
3251
+ function wpbc_flex_select( $item ) {
3252
+
3253
+ $default_item_params = array(
3254
+ 'id' => '' // HTML ID of element
3255
+ , 'name' => ''
3256
+ , 'label' => '' // Label
3257
+ , 'style' => '' // CSS of select element
3258
+ , 'class' => '' // CSS Class of select element
3259
+ , 'multiple' => false
3260
+ , 'disabled' => false
3261
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3262
+ , 'options' => array() // Associated array of titles and values: array( $option_value => $option_data, ... )
3263
+ , 'disabled_options' => array() // If some options disabled, then it has to list here
3264
+ , 'value' => '' // Some Value from options array that selected by default
3265
+ , 'onfocus' => '' // JavaScript code
3266
+ , 'onchange' => '' // JavaScript code
3267
+ );
3268
+ $item_params = wp_parse_args( $item, $default_item_params );
3269
+
3270
+ // Show only, if $item_params['label'] ! EMPTY
3271
+ wpbc_flex_label(
3272
+ array(
3273
+ 'id' => $item_params['id']
3274
+ , 'label' => $item_params['label']
3275
+ )
3276
+ );
3277
+
3278
+ ?><select
3279
+ id="<?php echo esc_attr( $item_params['id'] ); ?>"
3280
+ name="<?php echo esc_attr( $item_params['name'] ); echo ( $item_params['multiple'] ? '[]' : '' ); ?>"
3281
+ class="wpbc_ui_control wpbc_ui_select <?php echo esc_attr( $item_params['class'] ); ?>"
3282
+ style="<?php echo esc_attr( $item_params['style'] ); ?>"
3283
+ <?php disabled( $item_params['disabled'], true ); ?>
3284
+ <?php echo wpbc_get_custom_attr( $item_params ); ?>
3285
+ <?php echo ( $item_params['multiple'] ? ' multiple="MULTIPLE"' : '' ); ?>
3286
+ <?php
3287
+ if ( ! empty( $item_params['onfocus'] ) ) {
3288
+ ?> onfocus="javascript:<?php echo wpbc_esc_js( $item_params['onfocus'] ); ?>" <?php
3289
+ }
3290
+ if ( ! empty( $item_params['onchange'] ) ) {
3291
+ ?> onchange="javascript:<?php echo wpbc_esc_js( $item_params['onchange'] ); ?>" <?php
3292
+ }
3293
+ ?>
3294
+ autocomplete="off"
3295
+ ><?php
3296
+ foreach ( $item_params['options'] as $option_value => $option_data ) {
3297
+
3298
+ if ( ! is_array( $option_data ) ) {
3299
+ $option_data = array( 'title' => $option_data );
3300
+ $is_was_simple = true;
3301
+ } else {
3302
+ $is_was_simple = false;
3303
+ }
3304
+
3305
+ $default_option_params = array(
3306
+ 'title' => '' // Text in selectbox option
3307
+ , 'style' => '' // CSS of select element
3308
+ , 'class' => '' // CSS Class of select element
3309
+ , 'disabled' => false
3310
+ , 'selected' => false
3311
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3312
+
3313
+ , 'optgroup' => false // Use only if you need to show OPTGROUP - Also need to use 'title' of start, end 'close' for END
3314
+ , 'close' => false
3315
+
3316
+ );
3317
+ $option_data = wp_parse_args( $option_data, $default_option_params );
3318
+
3319
+ if ( $option_data['optgroup'] ) { // OPTGROUP
3320
+
3321
+ if ( ! $option_data['close'] ) {
3322
+ ?><optgroup label="<?php echo esc_attr( $option_data['title'] ); ?>"><?php
3323
+ } else {
3324
+ ?></optgroup><?php
3325
+ }
3326
+
3327
+ } else { // OPTION
3328
+
3329
+ ?><option
3330
+ value="<?php echo esc_attr( $option_value ); ?>"
3331
+ <?php
3332
+ if ( $is_was_simple ) {
3333
+ selected( $option_value, $item_params['value'] );
3334
+ disabled( in_array( $option_value, $item_params['disabled_options'] ), true );
3335
+ }
3336
+ ?>
3337
+ class="<?php echo esc_attr( $option_data['class'] ); ?>"
3338
+ style="<?php echo esc_attr( $option_data['style'] ); ?>"
3339
+ <?php echo wpbc_get_custom_attr( $option_data ); ?>
3340
+ <?php selected( $option_data['selected'], true ); ?>
3341
+ <?php disabled( $option_data['disabled'], true ); ?>
3342
+
3343
+ <?php
3344
+ if ( ! empty( $item_params['value'] ) ) {
3345
+
3346
+ if ( is_array( $item_params['value'] ) ) {
3347
+ selected( in_array( esc_attr( $option_value ), $item_params['value'] ), true ); // SELECT multiple, have several items
3348
+ } else {
3349
+ selected( $item_params['value'], esc_attr( $option_value ) ); //Recheck global selected parameter
3350
+ }
3351
+ }
3352
+ ?>
3353
+
3354
+ ><?php
3355
+ echo html_entity_decode(
3356
+ wp_kses_post( $option_data['title'] ) // Sanitizes content for allowed HTML tags for post content
3357
+ , ENT_QUOTES // Convert &quot; to " and '
3358
+ , get_bloginfo( 'charset' ) // 'UTF-8' or other
3359
+ ); // Convert &amp;dash; to &dash; etc...
3360
+
3361
+
3362
+ ?></option><?php
3363
+ }
3364
+ }
3365
+ ?></select><?php
3366
+ }
3367
+
3368
+ /**
3369
+ * Show FLEX checkbox
3370
+ *
3371
+ * @param array $item
3372
+ *
3373
+ * Example:
3374
+ $params_checkbox = array(
3375
+ 'id' => 'my_check_id' // HTML ID of element
3376
+ , 'name' => 'my_check_id'
3377
+ , 'label' => array( 'title' => __('Approve' ,'booking') , 'position' => 'right' )
3378
+ , 'style' => '' // CSS of select element
3379
+ , 'class' => '' // CSS Class of select element
3380
+ , 'disabled' => false
3381
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3382
+ , 'legend' => '' // aria-label parameter
3383
+ , 'value' => 'CHECK_VAL_1' // Some Value from optins array that selected by default
3384
+ , 'selected' => !false // Selected or not
3385
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
3386
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
3387
+ );
3388
+ ?><div class="ui_element"><?php
3389
+
3390
+ wpbc_flex_checkbox( $params_select );
3391
+
3392
+ ?></div><?php
3393
+ */
3394
+ function wpbc_flex_checkbox( $item ) {
3395
+
3396
+ $default_item_params = array(
3397
+ 'type' => 'checkbox'
3398
+ , 'id' => '' // HTML ID of element
3399
+ , 'name' => ''
3400
+ , 'label' => '' // Label Example: 'label' => array( 'title' => __('Select status' ,'booking') , 'position' => 'left' )
3401
+ , 'style' => '' // CSS of select element
3402
+ , 'class' => '' // CSS Class of select element
3403
+ , 'disabled' => false
3404
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3405
+ , 'legend' => '' // aria-label parameter
3406
+ , 'value' => '' // Some Value from optins array that selected by default
3407
+ , 'selected' => false // Selected or not
3408
+ , 'onfocus' => '' // JavaScript code
3409
+ , 'onchange' => '' // JavaScript code
3410
+
3411
+ );
3412
+ $item_params = wp_parse_args( $item, $default_item_params );
3413
+
3414
+ if ( ( ! empty( $item_params['label'] ) ) && ( 'left' == $item_params['label']['position'] ) ) {
3415
+ wpbc_flex_label( array( 'id' => $item_params['id'], 'label' => $item_params['label']['title'] ) );
3416
+ }
3417
+
3418
+ ?><input type="<?php echo esc_attr( $item_params['type'] ); ?>"
3419
+ id="<?php echo esc_attr( $item_params['id'] ); ?>"
3420
+ name="<?php echo esc_attr( $item_params['name'] ); ?>"
3421
+ value="<?php echo esc_attr( $item_params['value'] ); ?>"
3422
+ aria-label="<?php echo esc_attr( $item_params['legend'] ); ?>"
3423
+ class="wpbc_ui_<?php echo esc_attr( $item_params['type'] ); ?> <?php echo esc_attr( $item_params['class'] ); ?>"
3424
+ style="<?php echo esc_attr( $item_params['style'] ); ?>"
3425
+ <?php echo wpbc_get_custom_attr( $item_params ); ?>
3426
+ <?php checked( $item_params['selected'], true ); ?>
3427
+ <?php disabled( $item_params['disabled'], true ); ?>
3428
+ <?php
3429
+ if ( ! empty( $item_params['onfocus'] ) ) {
3430
+ ?> onfocus="javascript:<?php echo wpbc_esc_js( $item_params['onfocus'] ); ?>" <?php
3431
+ }
3432
+ if ( ! empty( $item_params['onchange'] ) ) {
3433
+ ?> onchange="javascript:<?php echo wpbc_esc_js( $item_params['onchange'] ); ?>" <?php
3434
+ }
3435
+ ?>
3436
+ autocomplete="off"
3437
+ /><?php
3438
+
3439
+ if ( ( ! empty( $item_params['label'] ) ) && ( 'right' == $item_params['label']['position'] ) ) {
3440
+ wpbc_flex_label( array( 'id' => $item_params['id'], 'label' => $item_params['label']['title'] ) );
3441
+ }
3442
+ }
3443
+
3444
+ /**
3445
+ * Show FLEX radio button
3446
+ *
3447
+ * @param array $item
3448
+ *
3449
+ * Example:
3450
+ $params_checkbox = array(
3451
+ 'id' => 'my_check_id' // HTML ID of element
3452
+ , 'name' => 'my_check_id'
3453
+ , 'label' => array( 'title' => __('Approve' ,'booking') , 'position' => 'right' )
3454
+ , 'style' => '' // CSS of select element
3455
+ , 'class' => '' // CSS Class of select element
3456
+ , 'disabled' => false
3457
+ , 'attr' => array() // Any additional attributes, if this radio | checkbox element
3458
+ , 'legend' => '' // aria-label parameter
3459
+ , 'value' => 'CHECK_VAL_1' // Some Value from optins array that selected by default
3460
+ , 'selected' => !false // Selected or not
3461
+ , 'onfocus' => "console.log( 'ON FOCUS:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code
3462
+ , 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).val() , 'in element:' , jQuery( this ) );" // JavaScript code
3463
+ );
3464
+ ?><div class="ui_element"><?php
3465
+
3466
+ wpbc_flex_radio( $params_select );
3467
+
3468
+ $params_checkbox['id'] = 'my_check_id2';
3469
+ $params_checkbox['value'] = 'CHECK_VAL_2';
3470
+
3471
+ wpbc_flex_radio( $params_select );
3472
+
3473
+ ?></div><?php
3474
+ */
3475
+ function wpbc_flex_radio( $item ) {
3476
+ $item['type'] = 'radio';
3477
+ wpbc_flex_checkbox( $item );
3478
+ }
3479
+
3480
+ /**
3481
+ * Show FLEX addon (image or text can be here)
3482
+ *
3483
+ * @param array $item
3484
+ array(
3485
+ 'type' => 'span' // HTML tag that will bound content
3486
+ , 'html' => '' // Any other HTML content
3487
+ , 'icon' => false // array( 'icon_font' => 'wpbc_icn_check_circle_outline', 'position' => 'right', 'icon_img' => '' )
3488
+ , 'style' => '' // CSS of select element
3489
+ , 'class' => '' // CSS Class of select element // default included class is .wpbc_ui_addon
3490
+ , 'attr' => array() // Any additional attributes
3491
+ );
3492
+ * Example 1:
3493
+ ` $params_span = array(
3494
+ 'type' => 'span'
3495
+ , 'html' => '<i class="menu_icon icon-1x wpbc_icn_event"></i> &nbsp; Approve '
3496
+ , 'icon' => false // array( 'icon_font' => 'wpbc_icn_check_circle_outline', 'position' => 'right', 'icon_img' => '' )
3497
+ , 'class' => 'wpbc_ui_button inactive ui_nowrap'
3498
+ , 'style' => ''
3499
+ , 'attr' => array()
3500
+ );
3501
+
3502
+ ?><div class="ui_element"><?php
3503
+
3504
+ wpbc_flex_addon( $params_span );
3505
+
3506
+ wpbc_flex_text( $params_text );
3507
+
3508
+ wpbc_flex_addon( $params_span );
3509
+
3510
+ ?></div><?php
3511
+ * Example 2:
3512
+ $params_addon = array(
3513
+ 'type' => 'span'
3514
+ , 'html' => ''// '<i class="menu_icon icon-1x wpbc_icn_event"></i>' //'<strong>' . __( 'Dates', 'booking ' ) . '</strong>'
3515
+ , 'icon' => array( 'icon_font' => 'wpbc_icn_event', 'position' => 'right', 'icon_img' => '' )
3516
+ , 'class' => 'wpbc_ui_button inactive'
3517
+ , 'style' => ''
3518
+ , 'attr' => array()
3519
+ );
3520
+ ?><div class="ui_element ui_nowrap"><?php
3521
+ wpbc_flex_addon( $params_addon );
3522
+ ?></div><?php
3523
+
3524
+ */
3525
+ function wpbc_flex_addon( $item ) {
3526
+
3527
+ $default_item_params = array(
3528
+ 'type' => 'span'
3529
+ , 'html' => ''
3530
+ , 'icon' => false
3531
+ , 'class' => ''
3532
+ , 'style' => ''
3533
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
3534
+ , 'attr' => array()
3535
+ );
3536
+ $item_params = wp_parse_args( $item, $default_item_params );
3537
+
3538
+ // Icon
3539
+ $btn_icon = '';
3540
+ if ( ( ! empty( $item_params['icon'] ) ) && ( is_array( $item_params['icon'] ) ) ) {
3541
+
3542
+ // Icon IMG
3543
+ if ( ! empty( $item_params['icon']['icon_img'] ) ) {
3544
+
3545
+ if ( substr( $item_params['icon']['icon_img'], 0, 4 ) != 'http' ) {
3546
+ $img_path = WPBC_PLUGIN_URL . '/assets/img/' . $item_params['icon']['icon_img'];
3547
+ } else {
3548
+ $img_path = $item_params['icon']['icon_img'];
3549
+ }
3550
+ $btn_icon = '<img class="menuicons" src="' . esc_url( $img_path ) . '" />'; // Img Icon
3551
+ }
3552
+
3553
+ // Icon Font
3554
+ if ( ! empty( $item_params['icon']['icon_font'] ) ) {
3555
+ $btn_icon = '<i class="menu_icon icon-1x ' . esc_attr( $item_params['icon']['icon_font'] ) . '"></i>'; // Font Icon
3556
+ }
3557
+ }
3558
+
3559
+ ?><<?php echo esc_attr( $item_params['type'] ); ?>
3560
+ class="wpbc_ui_control wpbc_ui_addon <?php echo esc_attr( $item_params['class'] );
3561
+ echo ( ! empty( $item_params['hint'] ) ) ? ' tooltip_' . esc_attr( $item_params['hint']['position'] ) . ' ' : '' ; ?>"
3562
+ style="<?php echo esc_attr( $item_params['style'] ); ?>"
3563
+ <?php echo wpbc_get_custom_attr( $item_params ); ?>
3564
+ <?php if ( ! empty( $item_params['hint'] ) ) { ?>
3565
+ title="<?php echo esc_attr( $item_params['hint']['title'] ); ?>"
3566
+ <?php } ?>
3567
+
3568
+ ><?php
3569
+
3570
+ if ( ( ! empty( $btn_icon ) ) && ( 'left' == $item_params['icon']['position'] ) ) {
3571
+ echo $btn_icon;
3572
+ }
3573
+
3574
+ echo html_entity_decode(
3575
+ wp_kses_post( $item_params['html'] ) // Sanitizes content for allowed HTML tags for post content
3576
+ , ENT_QUOTES // Convert &quot; to " and '
3577
+ , get_bloginfo( 'charset' ) // 'UTF-8' or other
3578
+ ); // Convert &amp;dash; to &dash; etc...
3579
+
3580
+
3581
+ if ( ( ! empty( $btn_icon ) ) && ( 'right' == $item_params['icon']['position'] ) ) {
3582
+ echo $btn_icon;
3583
+ }
3584
+
3585
+ ?></<?php echo esc_attr( $item_params['type'] ); ?>><?php
3586
+ }
3587
+
3588
+ function wpbc_flex_divider( $item = array() ){
3589
+
3590
+ $default_item_params = array(
3591
+ 'type' => 'span'
3592
+ , 'html' => ''
3593
+ , 'icon' => false
3594
+ , 'class' => ''
3595
+ , 'style' => ''
3596
+ , 'hint' => '' // , 'hint' => array( 'title' => __('Select status' ,'booking') , 'position' => 'bottom' )
3597
+ , 'attr' => array()
3598
+ );
3599
+ $item_params = wp_parse_args( $item, $default_item_params );
3600
+
3601
+ ?><div class="wpbc_ui_control ui_elements_divider <?php echo esc_attr( $item_params['class'] );
3602
+ echo ( ! empty( $item_params['hint'] ) ) ? ' tooltip_' . esc_attr( $item_params['hint']['position'] ) . ' ' : '' ; ?>"
3603
+ style="<?php echo esc_attr( $item_params['style'] ); ?>"
3604
+ <?php echo wpbc_get_custom_attr( $item_params ); ?>
3605
+ <?php if ( ! empty( $item_params['hint'] ) ) { ?>
3606
+ title="<?php echo esc_attr( $item_params['hint']['title'] ); ?>"
3607
+ <?php } ?>
3608
+ ></div><?php
3609
+ }
3610
+ ////////////////////////////////////////////////////////////////////////////////
3611
+ // JS & CSS Loading
3612
+ ////////////////////////////////////////////////////////////////////////////////
3613
+
3614
+ /**
3615
+ * CSS files loading
3616
+ *
3617
+ * @param string $where_to_load
3618
+ */
3619
+ function wpbc_ajx_toolbar_enqueue_css_files( $where_to_load ) {
3620
+
3621
+ if ( ( is_admin() ) && ( in_array( $where_to_load, array( 'admin', 'both' ) ) ) ) {
3622
+
3623
+ wp_enqueue_style( 'wpbc-flex-toolbar', wpbc_plugin_url( '/includes/_toolbar_ui/_src/toolbar_ui.css' ), array(), WP_BK_VERSION_NUM );
3624
+ }
3625
+ }
3626
+ add_action( 'wpbc_enqueue_css_files', 'wpbc_ajx_toolbar_enqueue_css_files', 50 );
3627
+
3628
+
3629
+ /**
3630
+ * JS files loading
3631
+ *
3632
+ * @param string $where_to_load
3633
+ */
3634
+ function wpbc_ajx_toolbar_enqueue_js_files( $where_to_load ) {
3635
+
3636
+ $in_footer = true;
3637
+
3638
+ if ( ( is_admin() ) && ( in_array( $where_to_load, array( 'admin', 'both' ) ) ) ) {
3639
+
3640
+ wp_enqueue_script( 'wpbc-flex-toolbar-ui', wpbc_plugin_url( '/includes/_toolbar_ui/_out/toolbar_ui.js' ), array( 'wpbc-global-vars' ), '1.0', $in_footer );
3641
+
3642
+ /**
3643
+ * wp_localize_script( 'wpbc-global-vars', 'wpbc_live_request_obj'
3644
+ , array(
3645
+ 'contacts' => '',
3646
+ 'reminders' => ''
3647
+ )
3648
+ );
3649
+ */
3650
+ }
3651
+ }
3652
+ add_action( 'wpbc_enqueue_js_files', 'wpbc_ajx_toolbar_enqueue_js_files', 50 );
includes/index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ // Silence is golden.
includes/page-bookings/_out/bookings__actions.js ADDED
@@ -0,0 +1,512 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * Ajax ----------------------------------------------------------------------------------------------------- */
4
+ //var is_this_action = false;
5
+
6
+ /**
7
+ * Send Ajax action request, like approving or cancellation
8
+ *
9
+ * @param action_param
10
+ */
11
+
12
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
13
+
14
+ function wpbc_ajx_booking_ajax_action_request() {
15
+ var action_param = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
16
+ console.groupCollapsed('WPBC_AJX_BOOKING_ACTIONS');
17
+ console.log(' == Ajax Actions :: Params == ', action_param); //is_this_action = true;
18
+
19
+ wpbc_booking_listing_reload_button__spin_start(); // Get redefined Locale, if action on single booking !
20
+
21
+ if (undefined != action_param['booking_id'] && !Array.isArray(action_param['booking_id'])) {
22
+ // Not array
23
+ action_param['locale'] = wpbc_get_selected_locale(action_param['booking_id'], wpbc_ajx_booking_listing.get_secure_param('locale'));
24
+ }
25
+
26
+ var action_post_params = {
27
+ action: 'WPBC_AJX_BOOKING_ACTIONS',
28
+ nonce: wpbc_ajx_booking_listing.get_secure_param('nonce'),
29
+ wpbc_ajx_user_id: undefined == action_param['user_id'] ? wpbc_ajx_booking_listing.get_secure_param('user_id') : action_param['user_id'],
30
+ wpbc_ajx_locale: undefined == action_param['locale'] ? wpbc_ajx_booking_listing.get_secure_param('locale') : action_param['locale'],
31
+ action_params: action_param
32
+ }; // It's required for CSV export - getting the same list of bookings
33
+
34
+ if (typeof action_param.search_params !== 'undefined') {
35
+ action_post_params['search_params'] = action_param.search_params;
36
+ delete action_post_params.action_params.search_params;
37
+ } // Start Ajax
38
+
39
+
40
+ jQuery.post(wpbc_global1.wpbc_ajaxurl, action_post_params,
41
+ /**
42
+ * S u c c e s s
43
+ *
44
+ * @param response_data - its object returned from Ajax - class-live-searcg.php
45
+ * @param textStatus - 'success'
46
+ * @param jqXHR - Object
47
+ */
48
+ function (response_data, textStatus, jqXHR) {
49
+ console.log(' == Ajax Actions :: Response WPBC_AJX_BOOKING_ACTIONS == ', response_data);
50
+ console.groupEnd(); // Probably Error
51
+
52
+ if (_typeof(response_data) !== 'object' || response_data === null) {
53
+ jQuery('#wh_sort_selector').hide();
54
+ jQuery(wpbc_ajx_booking_listing.get_other_param('listing_container')).html('<div class="wpbc-settings-notice notice-warning" style="text-align:left">' + response_data + '</div>');
55
+ return;
56
+ }
57
+
58
+ wpbc_booking_listing_reload_button__spin_pause();
59
+ wpbc_admin_show_message(response_data['ajx_after_action_message'].replace(/\n/g, "<br />"), '1' == response_data['ajx_after_action_result'] ? 'success' : 'error', 10000); // Success response
60
+
61
+ if ('1' == response_data['ajx_after_action_result']) {
62
+ var is_reload_ajax_listing = true; // After Google Calendar import show imported bookings and reload the page for toolbar parameters update
63
+
64
+ if (false !== response_data['ajx_after_action_result_all_params_arr']['new_listing_params']) {
65
+ wpbc_ajx_booking_send_search_request_with_params(response_data['ajx_after_action_result_all_params_arr']['new_listing_params']);
66
+ var closed_timer = setTimeout(function () {
67
+ if (wpbc_booking_listing_reload_button__is_spin()) {
68
+ if (undefined != response_data['ajx_after_action_result_all_params_arr']['new_listing_params']['reload_url_params']) {
69
+ document.location.href = response_data['ajx_after_action_result_all_params_arr']['new_listing_params']['reload_url_params'];
70
+ } else {
71
+ document.location.reload();
72
+ }
73
+ }
74
+ }, 2000);
75
+ is_reload_ajax_listing = false;
76
+ } // Start download exported CSV file
77
+
78
+
79
+ if (undefined != response_data['ajx_after_action_result_all_params_arr']['export_csv_url']) {
80
+ wpbc_ajx_booking__export_csv_url__download(response_data['ajx_after_action_result_all_params_arr']['export_csv_url']);
81
+ is_reload_ajax_listing = false;
82
+ }
83
+
84
+ if (is_reload_ajax_listing) {
85
+ wpbc_ajx_booking__actual_listing__show(); // Sending Ajax Request - with parameters that we early defined in "wpbc_ajx_booking_listing" Obj.
86
+ }
87
+ } // Remove spin icon from button and Enable this button.
88
+
89
+
90
+ wpbc_button__remove_spin(response_data['ajx_cleaned_params']['ui_clicked_element_id']); // Hide modals
91
+
92
+ wpbc_popup_modals__hide();
93
+ jQuery('#ajax_respond').html(response_data); // For ability to show response, add such DIV element to page
94
+ }).fail(function (jqXHR, textStatus, errorThrown) {
95
+ if (window.console && window.console.log) {
96
+ console.log('Ajax_Error', jqXHR, textStatus, errorThrown);
97
+ }
98
+
99
+ jQuery('#wh_sort_selector').hide();
100
+ var error_message = '<strong>' + 'Error!' + '</strong> ' + errorThrown;
101
+
102
+ if (jqXHR.responseText) {
103
+ error_message += jqXHR.responseText;
104
+ }
105
+
106
+ error_message = error_message.replace(/\n/g, "<br />");
107
+ wpbc_ajx_booking_show_message(error_message);
108
+ }) // .done( function ( data, textStatus, jqXHR ) { if ( window.console && window.console.log ){ console.log( 'second success', data, textStatus, jqXHR ); } })
109
+ // .always( function ( data_jqXHR, textStatus, jqXHR_errorThrown ) { if ( window.console && window.console.log ){ console.log( 'always finished', data_jqXHR, textStatus, jqXHR_errorThrown ); } })
110
+ ; // End Ajax
111
+ }
112
+ /**
113
+ * Support Functions - Spin Icon in Buttons ------------------------------------------------------------------ */
114
+
115
+ /**
116
+ * Remove spin icon from button and Enable this button.
117
+ *
118
+ * @param button_clicked_element_id - HTML ID attribute of this button
119
+ * @return string - CSS classes that was previously in button icon
120
+ */
121
+
122
+
123
+ function wpbc_button__remove_spin(button_clicked_element_id) {
124
+ var previos_classes = '';
125
+
126
+ if (undefined != button_clicked_element_id) {
127
+ var jElement = jQuery('#' + button_clicked_element_id);
128
+
129
+ if (jElement.length) {
130
+ previos_classes = wpbc_button_disable_loading_icon(jElement.get(0));
131
+ }
132
+ }
133
+
134
+ return previos_classes;
135
+ }
136
+ /**
137
+ * Show Loading (rotating arrow) icon for button that has been clicked
138
+ *
139
+ * @param this_button - this object of specific button
140
+ * @return string - CSS classes that was previously in button icon
141
+ */
142
+
143
+
144
+ function wpbc_button_enable_loading_icon(this_button) {
145
+ var jButton = jQuery(this_button);
146
+ var jIcon = jButton.find('i');
147
+ var previos_classes = jIcon.attr('class');
148
+ jIcon.removeClass().addClass('menu_icon icon-1x wpbc_icn_rotate_right wpbc_spin'); // Set Rotate icon
149
+ //jIcon.addClass( 'wpbc_animation_pause' ); // Pause animation
150
+ //jIcon.addClass( 'wpbc_ui_red' ); // Set icon color red
151
+
152
+ jIcon.attr('wpbc_previous_class', previos_classes);
153
+ jButton.addClass('disabled'); // Disable button
154
+ //jButton.prop( "disabled", true );
155
+ // We need to set here attr instead of prop, because for A elements, attribute 'disabled' do not added with jButton.prop( "disabled", true );
156
+
157
+ jButton.attr('wpbc_previous_onclick', jButton.attr('onclick')); //Save this value
158
+
159
+ jButton.attr('onclick', ''); // Disable actions "on click"
160
+
161
+ return previos_classes;
162
+ }
163
+ /**
164
+ * Hide Loading (rotating arrow) icon for button that was clicked and show previous icon and enable button
165
+ *
166
+ * @param this_button - this object of specific button
167
+ * @return string - CSS classes that was previously in button icon
168
+ */
169
+
170
+
171
+ function wpbc_button_disable_loading_icon(this_button) {
172
+ var jButton = jQuery(this_button);
173
+ var jIcon = jButton.find('i');
174
+ var previos_classes = jIcon.attr('wpbc_previous_class');
175
+
176
+ if ('' != previos_classes) {
177
+ jIcon.removeClass().addClass(previos_classes);
178
+ }
179
+
180
+ jButton.removeClass('disabled'); // Remove Disable button
181
+
182
+ var previous_onclick = jButton.attr('wpbc_previous_onclick');
183
+
184
+ if ('' != previous_onclick) {
185
+ jButton.attr('onclick', previous_onclick);
186
+ }
187
+
188
+ return previos_classes;
189
+ }
190
+ /**
191
+ * Hide all open modal popups windows
192
+ */
193
+
194
+
195
+ function wpbc_popup_modals__hide() {
196
+ // Hide modals
197
+ if ('function' === typeof jQuery('.wpbc_popup_modal').wpbc_my_modal) {
198
+ jQuery('.wpbc_popup_modal').wpbc_my_modal('hide');
199
+ }
200
+ }
201
+ /**
202
+ * Dates Short <-> Wide ----------------------------------------------------------------------------------- */
203
+
204
+
205
+ function wpbc_ajx_click_on_dates_short() {
206
+ jQuery('#booking_dates_small,.booking_dates_full').hide();
207
+ jQuery('#booking_dates_full,.booking_dates_small').show();
208
+ wpbc_ajx_booking_send_search_request_with_params({
209
+ 'ui_usr__dates_short_wide': 'short'
210
+ });
211
+ }
212
+
213
+ function wpbc_ajx_click_on_dates_wide() {
214
+ jQuery('#booking_dates_full,.booking_dates_small').hide();
215
+ jQuery('#booking_dates_small,.booking_dates_full').show();
216
+ wpbc_ajx_booking_send_search_request_with_params({
217
+ 'ui_usr__dates_short_wide': 'wide'
218
+ });
219
+ }
220
+
221
+ function wpbc_ajx_click_on_dates_toggle(this_date) {
222
+ jQuery(this_date).parents('.wpbc_col_dates').find('.booking_dates_small').toggle();
223
+ jQuery(this_date).parents('.wpbc_col_dates').find('.booking_dates_full').toggle();
224
+ /*
225
+ var visible_section = jQuery( this_date ).parents( '.booking_dates_expand_section' );
226
+ visible_section.hide();
227
+ if ( visible_section.hasClass( 'booking_dates_full' ) ){
228
+ visible_section.parents( '.wpbc_col_dates' ).find( '.booking_dates_small' ).show();
229
+ } else {
230
+ visible_section.parents( '.wpbc_col_dates' ).find( '.booking_dates_full' ).show();
231
+ }*/
232
+
233
+ console.log('wpbc_ajx_click_on_dates_toggle', this_date);
234
+ }
235
+ /**
236
+ * Locale --------------------------------------------------------------------------------------------------- */
237
+
238
+ /**
239
+ * Select options in select boxes based on attribute "value_of_selected_option" and RED color and hint for LOCALE button -- It's called from wpbc_ajx_booking_define_ui_hooks() each time after Listing loading.
240
+ */
241
+
242
+
243
+ function wpbc_ajx_booking__ui_define__locale() {
244
+ jQuery('.wpbc_listing_container select').each(function (index) {
245
+ var selection = jQuery(this).attr("value_of_selected_option"); // Define selected select boxes
246
+
247
+ if (undefined !== selection) {
248
+ jQuery(this).find('option[value="' + selection + '"]').prop('selected', true);
249
+
250
+ if ('' != selection && jQuery(this).hasClass('set_booking_locale_selectbox')) {
251
+ // Locale
252
+ var booking_locale_button = jQuery(this).parents('.ui_element_locale').find('.set_booking_locale_button'); //booking_locale_button.css( 'color', '#db4800' ); // Set button red
253
+
254
+ booking_locale_button.addClass('wpbc_ui_red'); // Set button red
255
+
256
+ if ('function' === typeof wpbc_tippy) {
257
+ booking_locale_button.get(0)._tippy.setContent(selection);
258
+ }
259
+ }
260
+ }
261
+ });
262
+ }
263
+ /**
264
+ * Remark --------------------------------------------------------------------------------------------------- */
265
+
266
+ /**
267
+ * Define content of remark "booking note" button and textarea. -- It's called from wpbc_ajx_booking_define_ui_hooks() each time after Listing loading.
268
+ */
269
+
270
+
271
+ function wpbc_ajx_booking__ui_define__remark() {
272
+ jQuery('.wpbc_listing_container .ui_remark_section textarea').each(function (index) {
273
+ var text_val = jQuery(this).val();
274
+
275
+ if (undefined !== text_val && '' != text_val) {
276
+ var remark_button = jQuery(this).parents('.ui_group').find('.set_booking_note_button');
277
+
278
+ if (remark_button.length > 0) {
279
+ remark_button.addClass('wpbc_ui_red'); // Set button red
280
+
281
+ if ('function' === typeof wpbc_tippy) {
282
+ //remark_button.get( 0 )._tippy.allowHTML = true;
283
+ //remark_button.get( 0 )._tippy.setContent( text_val.replace(/[\n\r]/g, '<br>') );
284
+ remark_button.get(0)._tippy.setProps({
285
+ allowHTML: true,
286
+ content: text_val.replace(/[\n\r]/g, '<br>')
287
+ });
288
+ }
289
+ }
290
+ }
291
+ });
292
+ }
293
+ /**
294
+ * Actions ,when we click on "Remark" button.
295
+ *
296
+ * @param jq_button - this jQuery button object
297
+ */
298
+
299
+
300
+ function wpbc_ajx_booking__ui_click__remark(jq_button) {
301
+ jq_button.parents('.ui_group').find('.ui_remark_section').toggle();
302
+ }
303
+ /**
304
+ * Change booking resource ---------------------------------------------------------------------------------- */
305
+
306
+
307
+ function wpbc_ajx_booking__ui_click_show__change_resource(booking_id, resource_id) {
308
+ // Define ID of booking to hidden input
309
+ jQuery('#change_booking_resource__booking_id').val(booking_id); // Select booking resource that belong to booking
310
+
311
+ jQuery('#change_booking_resource__resource_select').val(resource_id).trigger('change');
312
+ var cbr; // Get Resource section
313
+
314
+ cbr = jQuery("#change_booking_resource__section").detach(); // Append it to booking ROW
315
+
316
+ cbr.appendTo(jQuery("#ui__change_booking_resource__section_in_booking_" + booking_id));
317
+ cbr = null; // Hide sections of "Change booking resource" in all other bookings ROWs
318
+ //jQuery( ".ui__change_booking_resource__section_in_booking" ).hide();
319
+
320
+ if (!jQuery("#ui__change_booking_resource__section_in_booking_" + booking_id).is(':visible')) {
321
+ jQuery(".ui__under_actions_row__section_in_booking").hide();
322
+ } // Show only "change booking resource" section for current booking
323
+
324
+
325
+ jQuery("#ui__change_booking_resource__section_in_booking_" + booking_id).toggle();
326
+ }
327
+
328
+ function wpbc_ajx_booking__ui_click_save__change_resource(this_el, booking_action, el_id) {
329
+ wpbc_ajx_booking_ajax_action_request({
330
+ 'booking_action': booking_action,
331
+ 'booking_id': jQuery('#change_booking_resource__booking_id').val(),
332
+ 'selected_resource_id': jQuery('#change_booking_resource__resource_select').val(),
333
+ 'ui_clicked_element_id': el_id
334
+ });
335
+ wpbc_button_enable_loading_icon(this_el); // wpbc_ajx_booking__ui_click_close__change_resource();
336
+ }
337
+
338
+ function wpbc_ajx_booking__ui_click_close__change_resource() {
339
+ var cbrce; // Get Resource section
340
+
341
+ cbrce = jQuery("#change_booking_resource__section").detach(); // Append it to hidden HTML template section at the bottom of the page
342
+
343
+ cbrce.appendTo(jQuery("#wpbc_hidden_template__change_booking_resource"));
344
+ cbrce = null; // Hide all change booking resources sections
345
+
346
+ jQuery(".ui__change_booking_resource__section_in_booking").hide();
347
+ }
348
+ /**
349
+ * Duplicate booking in other resource ---------------------------------------------------------------------- */
350
+
351
+
352
+ function wpbc_ajx_booking__ui_click_show__duplicate_booking(booking_id, resource_id) {
353
+ // Define ID of booking to hidden input
354
+ jQuery('#duplicate_booking_to_other_resource__booking_id').val(booking_id); // Select booking resource that belong to booking
355
+
356
+ jQuery('#duplicate_booking_to_other_resource__resource_select').val(resource_id).trigger('change');
357
+ var cbr; // Get Resource section
358
+
359
+ cbr = jQuery("#duplicate_booking_to_other_resource__section").detach(); // Append it to booking ROW
360
+
361
+ cbr.appendTo(jQuery("#ui__duplicate_booking_to_other_resource__section_in_booking_" + booking_id));
362
+ cbr = null; // Hide sections of "Duplicate booking" in all other bookings ROWs
363
+
364
+ if (!jQuery("#ui__duplicate_booking_to_other_resource__section_in_booking_" + booking_id).is(':visible')) {
365
+ jQuery(".ui__under_actions_row__section_in_booking").hide();
366
+ } // Show only "Duplicate booking" section for current booking ROW
367
+
368
+
369
+ jQuery("#ui__duplicate_booking_to_other_resource__section_in_booking_" + booking_id).toggle();
370
+ }
371
+
372
+ function wpbc_ajx_booking__ui_click_save__duplicate_booking(this_el, booking_action, el_id) {
373
+ wpbc_ajx_booking_ajax_action_request({
374
+ 'booking_action': booking_action,
375
+ 'booking_id': jQuery('#duplicate_booking_to_other_resource__booking_id').val(),
376
+ 'selected_resource_id': jQuery('#duplicate_booking_to_other_resource__resource_select').val(),
377
+ 'ui_clicked_element_id': el_id
378
+ });
379
+ wpbc_button_enable_loading_icon(this_el); // wpbc_ajx_booking__ui_click_close__change_resource();
380
+ }
381
+
382
+ function wpbc_ajx_booking__ui_click_close__duplicate_booking() {
383
+ var cbrce; // Get Resource section
384
+
385
+ cbrce = jQuery("#duplicate_booking_to_other_resource__section").detach(); // Append it to hidden HTML template section at the bottom of the page
386
+
387
+ cbrce.appendTo(jQuery("#wpbc_hidden_template__duplicate_booking_to_other_resource"));
388
+ cbrce = null; // Hide all change booking resources sections
389
+
390
+ jQuery(".ui__duplicate_booking_to_other_resource__section_in_booking").hide();
391
+ }
392
+ /**
393
+ * Change payment status ------------------------------------------------------------------------------------ */
394
+
395
+
396
+ function wpbc_ajx_booking__ui_click_show__set_payment_status(booking_id) {
397
+ var jSelect = jQuery('#ui__set_payment_status__section_in_booking_' + booking_id).find('select');
398
+ var selected_pay_status = jSelect.attr("ajx-selected-value"); // Is it float - then it's unknown
399
+
400
+ if (!isNaN(parseFloat(selected_pay_status))) {
401
+ jSelect.find('option[value="1"]').prop('selected', true); // Unknown value is '1' in select box
402
+ } else {
403
+ jSelect.find('option[value="' + selected_pay_status + '"]').prop('selected', true); // Otherwise known payment status
404
+ } // Hide sections of "Change booking resource" in all other bookings ROWs
405
+
406
+
407
+ if (!jQuery("#ui__set_payment_status__section_in_booking_" + booking_id).is(':visible')) {
408
+ jQuery(".ui__under_actions_row__section_in_booking").hide();
409
+ } // Show only "change booking resource" section for current booking
410
+
411
+
412
+ jQuery("#ui__set_payment_status__section_in_booking_" + booking_id).toggle();
413
+ }
414
+
415
+ function wpbc_ajx_booking__ui_click_save__set_payment_status(booking_id, this_el, booking_action, el_id) {
416
+ wpbc_ajx_booking_ajax_action_request({
417
+ 'booking_action': booking_action,
418
+ 'booking_id': booking_id,
419
+ 'selected_payment_status': jQuery('#ui_btn_set_payment_status' + booking_id).val(),
420
+ 'ui_clicked_element_id': el_id + '_save'
421
+ });
422
+ wpbc_button_enable_loading_icon(this_el);
423
+ jQuery('#' + el_id + '_cancel').hide(); //wpbc_button_enable_loading_icon( jQuery( '#' + el_id + '_cancel').get(0) );
424
+ }
425
+
426
+ function wpbc_ajx_booking__ui_click_close__set_payment_status() {
427
+ // Hide all change payment status for booking
428
+ jQuery(".ui__set_payment_status__section_in_booking").hide();
429
+ }
430
+ /**
431
+ * Change booking cost -------------------------------------------------------------------------------------- */
432
+
433
+
434
+ function wpbc_ajx_booking__ui_click_save__set_booking_cost(booking_id, this_el, booking_action, el_id) {
435
+ wpbc_ajx_booking_ajax_action_request({
436
+ 'booking_action': booking_action,
437
+ 'booking_id': booking_id,
438
+ 'booking_cost': jQuery('#ui_btn_set_booking_cost' + booking_id + '_cost').val(),
439
+ 'ui_clicked_element_id': el_id + '_save'
440
+ });
441
+ wpbc_button_enable_loading_icon(this_el);
442
+ jQuery('#' + el_id + '_cancel').hide(); //wpbc_button_enable_loading_icon( jQuery( '#' + el_id + '_cancel').get(0) );
443
+ }
444
+
445
+ function wpbc_ajx_booking__ui_click_close__set_booking_cost() {
446
+ // Hide all change payment status for booking
447
+ jQuery(".ui__set_booking_cost__section_in_booking").hide();
448
+ }
449
+ /**
450
+ * Send Payment request -------------------------------------------------------------------------------------- */
451
+
452
+
453
+ function wpbc_ajx_booking__ui_click__send_payment_request() {
454
+ wpbc_ajx_booking_ajax_action_request({
455
+ 'booking_action': 'send_payment_request',
456
+ 'booking_id': jQuery('#wpbc_modal__payment_request__booking_id').val(),
457
+ 'reason_of_action': jQuery('#wpbc_modal__payment_request__reason_of_action').val(),
458
+ 'ui_clicked_element_id': 'wpbc_modal__payment_request__button_send'
459
+ });
460
+ wpbc_button_enable_loading_icon(jQuery('#wpbc_modal__payment_request__button_send').get(0));
461
+ }
462
+ /**
463
+ * Import Google Calendar ------------------------------------------------------------------------------------ */
464
+
465
+
466
+ function wpbc_ajx_booking__ui_click__import_google_calendar() {
467
+ wpbc_ajx_booking_ajax_action_request({
468
+ 'booking_action': 'import_google_calendar',
469
+ 'ui_clicked_element_id': 'wpbc_modal__import_google_calendar__button_send',
470
+ 'booking_gcal_events_from': jQuery('#wpbc_modal__import_google_calendar__section #booking_gcal_events_from option:selected').val(),
471
+ 'booking_gcal_events_from_offset': jQuery('#wpbc_modal__import_google_calendar__section #booking_gcal_events_from_offset').val(),
472
+ 'booking_gcal_events_from_offset_type': jQuery('#wpbc_modal__import_google_calendar__section #booking_gcal_events_from_offset_type option:selected').val(),
473
+ 'booking_gcal_events_until': jQuery('#wpbc_modal__import_google_calendar__section #booking_gcal_events_until option:selected').val(),
474
+ 'booking_gcal_events_until_offset': jQuery('#wpbc_modal__import_google_calendar__section #booking_gcal_events_until_offset').val(),
475
+ 'booking_gcal_events_until_offset_type': jQuery('#wpbc_modal__import_google_calendar__section #booking_gcal_events_until_offset_type option:selected').val(),
476
+ 'booking_gcal_events_max': jQuery('#wpbc_modal__import_google_calendar__section #booking_gcal_events_max').val(),
477
+ 'booking_gcal_resource': jQuery('#wpbc_modal__import_google_calendar__section #wpbc_booking_resource option:selected').val()
478
+ });
479
+ wpbc_button_enable_loading_icon(jQuery('#wpbc_modal__import_google_calendar__section #wpbc_modal__import_google_calendar__button_send').get(0));
480
+ }
481
+ /**
482
+ * Export bookings to CSV ------------------------------------------------------------------------------------ */
483
+
484
+
485
+ function wpbc_ajx_booking__ui_click__export_csv(params) {
486
+ var selected_booking_id_arr = wpbc_get_selected_row_id();
487
+ wpbc_ajx_booking_ajax_action_request({
488
+ 'booking_action': params['booking_action'],
489
+ 'ui_clicked_element_id': params['ui_clicked_element_id'],
490
+ 'export_type': params['export_type'],
491
+ 'csv_export_separator': params['csv_export_separator'],
492
+ 'csv_export_skip_fields': params['csv_export_skip_fields'],
493
+ 'booking_id': selected_booking_id_arr.join(','),
494
+ 'search_params': wpbc_ajx_booking_listing.search_get_all_params()
495
+ });
496
+ var this_el = jQuery('#' + params['ui_clicked_element_id']).get(0);
497
+ wpbc_button_enable_loading_icon(this_el);
498
+ }
499
+ /**
500
+ * Open URL in new tab - mainly it's used for open CSV link for downloaded exported bookings as CSV
501
+ *
502
+ * @param export_csv_url
503
+ */
504
+
505
+
506
+ function wpbc_ajx_booking__export_csv_url__download(export_csv_url) {
507
+ //var selected_booking_id_arr = wpbc_get_selected_row_id();
508
+ document.location.href = export_csv_url; // + '&selected_id=' + selected_booking_id_arr.join(',');
509
+ // It's open additional dialog for asking opening ulr in new tab
510
+ // window.open( export_csv_url, '_blank').focus();
511
+ }
512
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluY2x1ZGVzL3BhZ2UtYm9va2luZ3MvX3NyYy9ib29raW5nc19fYWN0aW9ucy5qcyJdLCJuYW1lcyI6WyJ3cGJjX2FqeF9ib29raW5nX2FqYXhfYWN0aW9uX3JlcXVlc3QiLCJhY3Rpb25fcGFyYW0iLCJjb25zb2xlIiwiZ3JvdXBDb2xsYXBzZWQiLCJsb2ciLCJ3cGJjX2Jvb2tpbmdfbGlzdGluZ19yZWxvYWRfYnV0dG9uX19zcGluX3N0YXJ0IiwidW5kZWZpbmVkIiwiQXJyYXkiLCJpc0FycmF5Iiwid3BiY19nZXRfc2VsZWN0ZWRfbG9jYWxlIiwid3BiY19hanhfYm9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QHBhcmFtIGV4cG9ydF9jc3ZfdXJsXHJcbiAqL1xyXG5mdW5jdGlvbiB3cGJjX2FqeF9ib29raW5nX19leHBvcnRfY3N2X3VybF9fZG93bmxvYWQoIGV4cG9ydF9jc3ZfdXJsICl7XHJcblxyXG5cdC8vdmFyIHNlbGVjdGVkX2Jvb2tpbmdfaWRfYXJyID0gd3BiY19nZXRfc2VsZWN0ZWRfcm93X2lkKCk7XHJcblxyXG5cdGRvY3VtZW50LmxvY2F0aW9uLmhyZWYgPSBleHBvcnRfY3N2X3VybDsvLyArICcmc2VsZWN0ZWRfaWQ9JyArIHNlbGVjdGVkX2Jvb2tpbmdfaWRfYXJyLmpvaW4oJywnKTtcclxuXHJcblx0Ly8gSXQncyBvcGVuIGFkZGl0aW9uYWwgZGlhbG9nIGZvciBhc2tpbmcgb3BlbmluZyB1bHIgaW4gbmV3IHRhYlxyXG5cdC8vIHdpbmRvdy5vcGVuKCBleHBvcnRfY3N2X3VybCwgJ19ibGFuaycpLmZvY3VzKCk7XHJcbn0iXSwiZmlsZSI6ImluY2x1ZGVzL3BhZ2UtYm9va2luZ3MvX291dC9ib29raW5nc19fYWN0aW9ucy5qcyJ9
includes/page-bookings/_out/bookings__actions.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ "use strict";function _typeof(_){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(_)}function wpbc_ajx_booking_ajax_action_request(){var _=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};console.groupCollapsed("WPBC_AJX_BOOKING_ACTIONS"),console.log(" == Ajax Actions :: Params == ",_),wpbc_booking_listing_reload_button__spin_start(),null==_.booking_id||Array.isArray(_.booking_id)||(_.locale=wpbc_get_selected_locale(_.booking_id,wpbc_ajx_booking_listing.get_secure_param("locale")));var o={action:"WPBC_AJX_BOOKING_ACTIONS",nonce:wpbc_ajx_booking_listing.get_secure_param("nonce"),wpbc_ajx_user_id:null==_.user_id?wpbc_ajx_booking_listing.get_secure_param("user_id"):_.user_id,wpbc_ajx_locale:null==_.locale?wpbc_ajx_booking_listing.get_secure_param("locale"):_.locale,action_params:_};void 0!==_.search_params&&(o.search_params=_.search_params,delete o.action_params.search_params),jQuery.post(wpbc_global1.wpbc_ajaxurl,o,function(_,o,e){return console.log(" == Ajax Actions :: Response WPBC_AJX_BOOKING_ACTIONS == ",_),console.groupEnd(),"object"!==_typeof(_)||null===_?(jQuery("#wh_sort_selector").hide(),void jQuery(wpbc_ajx_booking_listing.get_other_param("listing_container")).html('<div class="wpbc-settings-notice notice-warning" style="text-align:left">'+_+"</div>")):(wpbc_booking_listing_reload_button__spin_pause(),wpbc_admin_show_message(_.ajx_after_action_message.replace(/\n/g,"<br />"),"1"==_.ajx_after_action_result?"success":"error",1e4),"1"==_.ajx_after_action_result&&(!(i=!0)!==_.ajx_after_action_result_all_params_arr.new_listing_params&&(wpbc_ajx_booking_send_search_request_with_params(_.ajx_after_action_result_all_params_arr.new_listing_params),setTimeout(function(){wpbc_booking_listing_reload_button__is_spin()&&(null!=_.ajx_after_action_result_all_params_arr.new_listing_params.reload_url_params?document.location.href=_.ajx_after_action_result_all_params_arr.new_listing_params.reload_url_params:document.location.reload())},2e3),i=!1),null!=_.ajx_after_action_result_all_params_arr.export_csv_url&&(wpbc_ajx_booking__export_csv_url__download(_.ajx_after_action_result_all_params_arr.export_csv_url),i=!1),i&&wpbc_ajx_booking__actual_listing__show()),wpbc_button__remove_spin(_.ajx_cleaned_params.ui_clicked_element_id),wpbc_popup_modals__hide(),void jQuery("#ajax_respond").html(_));var i}).fail(function(_,o,e){window.console&&window.console.log&&console.log("Ajax_Error",_,o,e),jQuery("#wh_sort_selector").hide();e="<strong>Error!</strong> "+e;_.responseText&&(e+=_.responseText),e=e.replace(/\n/g,"<br />"),wpbc_ajx_booking_show_message(e)})}function wpbc_button__remove_spin(_){var o="";return null==_||(_=jQuery("#"+_)).length&&(o=wpbc_button_disable_loading_icon(_.get(0))),o}function wpbc_button_enable_loading_icon(_){var o=jQuery(_),e=o.find("i"),_=e.attr("class");return e.removeClass().addClass("menu_icon icon-1x wpbc_icn_rotate_right wpbc_spin"),e.attr("wpbc_previous_class",_),o.addClass("disabled"),o.attr("wpbc_previous_onclick",o.attr("onclick")),o.attr("onclick",""),_}function wpbc_button_disable_loading_icon(_){var o=jQuery(_),e=o.find("i"),_=e.attr("wpbc_previous_class");""!=_&&e.removeClass().addClass(_),o.removeClass("disabled");e=o.attr("wpbc_previous_onclick");return""!=e&&o.attr("onclick",e),_}function wpbc_popup_modals__hide(){"function"==typeof jQuery(".wpbc_popup_modal").wpbc_my_modal&&jQuery(".wpbc_popup_modal").wpbc_my_modal("hide")}function wpbc_ajx_click_on_dates_short(){jQuery("#booking_dates_small,.booking_dates_full").hide(),jQuery("#booking_dates_full,.booking_dates_small").show(),wpbc_ajx_booking_send_search_request_with_params({ui_usr__dates_short_wide:"short"})}function wpbc_ajx_click_on_dates_wide(){jQuery("#booking_dates_full,.booking_dates_small").hide(),jQuery("#booking_dates_small,.booking_dates_full").show(),wpbc_ajx_booking_send_search_request_with_params({ui_usr__dates_short_wide:"wide"})}function wpbc_ajx_click_on_dates_toggle(_){jQuery(_).parents(".wpbc_col_dates").find(".booking_dates_small").toggle(),jQuery(_).parents(".wpbc_col_dates").find(".booking_dates_full").toggle(),console.log("wpbc_ajx_click_on_dates_toggle",_)}function wpbc_ajx_booking__ui_define__locale(){jQuery(".wpbc_listing_container select").each(function(_){var o,e=jQuery(this).attr("value_of_selected_option");void 0!==e&&(jQuery(this).find('option[value="'+e+'"]').prop("selected",!0),""!=e&&jQuery(this).hasClass("set_booking_locale_selectbox")&&((o=jQuery(this).parents(".ui_element_locale").find(".set_booking_locale_button")).addClass("wpbc_ui_red"),"function"==typeof wpbc_tippy&&o.get(0)._tippy.setContent(e)))})}function wpbc_ajx_booking__ui_define__remark(){jQuery(".wpbc_listing_container .ui_remark_section textarea").each(function(_){var o,e=jQuery(this).val();void 0===e||""==e||0<(o=jQuery(this).parents(".ui_group").find(".set_booking_note_button")).length&&(o.addClass("wpbc_ui_red"),"function"==typeof wpbc_tippy&&o.get(0)._tippy.setProps({allowHTML:!0,content:e.replace(/[\n\r]/g,"<br>")}))})}function wpbc_ajx_booking__ui_click__remark(_){_.parents(".ui_group").find(".ui_remark_section").toggle()}function wpbc_ajx_booking__ui_click_show__change_resource(_,o){jQuery("#change_booking_resource__booking_id").val(_),jQuery("#change_booking_resource__resource_select").val(o).trigger("change"),jQuery("#change_booking_resource__section").detach().appendTo(jQuery("#ui__change_booking_resource__section_in_booking_"+_)),jQuery("#ui__change_booking_resource__section_in_booking_"+_).is(":visible")||jQuery(".ui__under_actions_row__section_in_booking").hide(),jQuery("#ui__change_booking_resource__section_in_booking_"+_).toggle()}function wpbc_ajx_booking__ui_click_save__change_resource(_,o,e){wpbc_ajx_booking_ajax_action_request({booking_action:o,booking_id:jQuery("#change_booking_resource__booking_id").val(),selected_resource_id:jQuery("#change_booking_resource__resource_select").val(),ui_clicked_element_id:e}),wpbc_button_enable_loading_icon(_)}function wpbc_ajx_booking__ui_click_close__change_resource(){jQuery("#change_booking_resource__section").detach().appendTo(jQuery("#wpbc_hidden_template__change_booking_resource")),jQuery(".ui__change_booking_resource__section_in_booking").hide()}function wpbc_ajx_booking__ui_click_show__duplicate_booking(_,o){jQuery("#duplicate_booking_to_other_resource__booking_id").val(_),jQuery("#duplicate_booking_to_other_resource__resource_select").val(o).trigger("change"),jQuery("#duplicate_booking_to_other_resource__section").detach().appendTo(jQuery("#ui__duplicate_booking_to_other_resource__section_in_booking_"+_)),jQuery("#ui__duplicate_booking_to_other_resource__section_in_booking_"+_).is(":visible")||jQuery(".ui__under_actions_row__section_in_booking").hide(),jQuery("#ui__duplicate_booking_to_other_resource__section_in_booking_"+_).toggle()}function wpbc_ajx_booking__ui_click_save__duplicate_booking(_,o,e){wpbc_ajx_booking_ajax_action_request({booking_action:o,booking_id:jQuery("#duplicate_booking_to_other_resource__booking_id").val(),selected_resource_id:jQuery("#duplicate_booking_to_other_resource__resource_select").val(),ui_clicked_element_id:e}),wpbc_button_enable_loading_icon(_)}function wpbc_ajx_booking__ui_click_close__duplicate_booking(){jQuery("#duplicate_booking_to_other_resource__section").detach().appendTo(jQuery("#wpbc_hidden_template__duplicate_booking_to_other_resource")),jQuery(".ui__duplicate_booking_to_other_resource__section_in_booking").hide()}function wpbc_ajx_booking__ui_click_show__set_payment_status(_){var o=jQuery("#ui__set_payment_status__section_in_booking_"+_).find("select"),e=o.attr("ajx-selected-value");(isNaN(parseFloat(e))?o.find('option[value="'+e+'"]'):o.find('option[value="1"]')).prop("selected",!0),jQuery("#ui__set_payment_status__section_in_booking_"+_).is(":visible")||jQuery(".ui__under_actions_row__section_in_booking").hide(),jQuery("#ui__set_payment_status__section_in_booking_"+_).toggle()}function wpbc_ajx_booking__ui_click_save__set_payment_status(_,o,e,i){wpbc_ajx_booking_ajax_action_request({booking_action:e,booking_id:_,selected_payment_status:jQuery("#ui_btn_set_payment_status"+_).val(),ui_clicked_element_id:i+"_save"}),wpbc_button_enable_loading_icon(o),jQuery("#"+i+"_cancel").hide()}function wpbc_ajx_booking__ui_click_close__set_payment_status(){jQuery(".ui__set_payment_status__section_in_booking").hide()}function wpbc_ajx_booking__ui_click_save__set_booking_cost(_,o,e,i){wpbc_ajx_booking_ajax_action_request({booking_action:e,booking_id:_,booking_cost:jQuery("#ui_btn_set_booking_cost"+_+"_cost").val(),ui_clicked_element_id:i+"_save"}),wpbc_button_enable_loading_icon(o),jQuery("#"+i+"_cancel").hide()}function wpbc_ajx_booking__ui_click_close__set_booking_cost(){jQuery(".ui__set_booking_cost__section_in_booking").hide()}function wpbc_ajx_booking__ui_click__send_payment_request(){wpbc_ajx_booking_ajax_action_request({booking_action:"send_payment_request",booking_id:jQuery("#wpbc_modal__payment_request__booking_id").val(),reason_of_action:jQuery("#wpbc_modal__payment_request__reason_of_action").val(),ui_clicked_element_id:"wpbc_modal__payment_request__button_send"}),wpbc_button_enable_loading_icon(jQuery("#wpbc_modal__payment_request__button_send").get(0))}function wpbc_ajx_booking__ui_click__import_google_calendar(){wpbc_ajx_booking_ajax_action_request({booking_action:"import_google_calendar",ui_clicked_element_id:"wpbc_modal__import_google_calendar__button_send",booking_gcal_events_from:jQuery("#wpbc_modal__import_google_calendar__section #booking_gcal_events_from option:selected").val(),booking_gcal_events_from_offset:jQuery("#wpbc_modal__import_google_calendar__section #booking_gcal_events_from_offset").val(),booking_gcal_events_from_offset_type:jQuery("#wpbc_modal__import_google_calendar__section #booking_gcal_events_from_offset_type option:selected").val(),booking_gcal_events_until:jQuery("#wpbc_modal__import_google_calendar__section #booking_gcal_events_until option:selected").val(),booking_gcal_events_until_offset:jQuery("#wpbc_modal__import_google_calendar__section #booking_gcal_events_until_offset").val(),booking_gcal_events_until_offset_type:jQuery("#wpbc_modal__import_google_calendar__section #booking_gcal_events_until_offset_type option:selected").val(),booking_gcal_events_max:jQuery("#wpbc_modal__import_google_calendar__section #booking_gcal_events_max").val(),booking_gcal_resource:jQuery("#wpbc_modal__import_google_calendar__section #wpbc_booking_resource option:selected").val()}),wpbc_button_enable_loading_icon(jQuery("#wpbc_modal__import_google_calendar__section #wpbc_modal__import_google_calendar__button_send").get(0))}function wpbc_ajx_booking__ui_click__export_csv(_){var o=wpbc_get_selected_row_id();wpbc_ajx_booking_ajax_action_request({booking_action:_.booking_action,ui_clicked_element_id:_.ui_clicked_element_id,export_type:_.export_type,csv_export_separator:_.csv_export_separator,csv_export_skip_fields:_.csv_export_skip_fields,booking_id:o.join(","),search_params:wpbc_ajx_booking_listing.search_get_all_params()}),wpbc_button_enable_loading_icon(jQuery("#"+_.ui_clicked_element_id).get(0))}function wpbc_ajx_booking__export_csv_url__download(_){document.location.href=_}
2
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jbHVkZ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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * Define HTML ui Hooks: on KeyUp | Change | -> Sort Order & Number Items / Page
4
+ * * We are chnaged it once, because such elements always the same
5
+ */
6
+
7
+ function wpbc_ajx_booking_define_ui_hooks_once() {
8
+ //------------------------------------------------------------------------------------------------------------------
9
+ // Booked dates
10
+ //------------------------------------------------------------------------------------------------------------------
11
+ jQuery('#wh_booking_date').on('change', function (event) {
12
+ var changed_value = JSON.parse(jQuery('#wh_booking_date').val());
13
+ wpbc_ajx_booking_send_search_request_with_params({
14
+ 'wh_booking_date': changed_value,
15
+ 'page_num': 1,
16
+ // Frontend selected elements (saving for future use, after F5)
17
+ 'ui_wh_booking_date_radio': jQuery('input[name="ui_wh_booking_date_radio"]:checked').val(),
18
+ 'ui_wh_booking_date_next': jQuery('#ui_wh_booking_date_next').val(),
19
+ 'ui_wh_booking_date_prior': jQuery('#ui_wh_booking_date_prior').val(),
20
+ 'ui_wh_booking_date_checkin': jQuery('#ui_wh_booking_date_checkin').val(),
21
+ 'ui_wh_booking_date_checkout': jQuery('#ui_wh_booking_date_checkout').val()
22
+ });
23
+ }); //------------------------------------------------------------------------------------------------------------------
24
+ // Approved | Pending | All
25
+ //------------------------------------------------------------------------------------------------------------------
26
+
27
+ jQuery('#wh_approved').on('change', function (event) {
28
+ var changed_value = jQuery('#wh_approved').val();
29
+ changed_value = JSON.parse(changed_value);
30
+ wpbc_ajx_booking_send_search_request_with_params({
31
+ 'wh_approved': changed_value[0],
32
+ 'page_num': 1
33
+ });
34
+ }); //------------------------------------------------------------------------------------------------------------------
35
+ // Keywords
36
+ //------------------------------------------------------------------------------------------------------------------
37
+
38
+ jQuery('#wpbc_search_field').on("keyup", function (event) {
39
+ if (13 !== event.which) {
40
+ wpbc_ajx_booking_searching_after_few_seconds('#wpbc_search_field'); // Searching after 1.5 seconds after Key Up
41
+ } else {
42
+ wpbc_ajx_booking_searching_after_few_seconds('#wpbc_search_field', 0); // Immediate search
43
+ }
44
+ }); //------------------------------------------------------------------------------------------------------------------
45
+ // Existing | Trash | Any
46
+ //------------------------------------------------------------------------------------------------------------------
47
+
48
+ jQuery('#wh_trash').on('change', function (event) {
49
+ var changed_value = JSON.parse(jQuery('#wh_trash').val());
50
+ wpbc_ajx_booking_send_search_request_with_params({
51
+ 'wh_trash': changed_value[0],
52
+ 'page_num': 1
53
+ });
54
+ }); //------------------------------------------------------------------------------------------------------------------
55
+ // All bookings | New bookings
56
+ //------------------------------------------------------------------------------------------------------------------
57
+
58
+ jQuery('#wh_what_bookings').on('change', function (event) {
59
+ var changed_value = JSON.parse(jQuery('#wh_what_bookings').val());
60
+ wpbc_ajx_booking_send_search_request_with_params({
61
+ 'wh_what_bookings': changed_value[0],
62
+ 'page_num': 1
63
+ });
64
+ }); //------------------------------------------------------------------------------------------------------------------
65
+ // "Creation Date" of bookings
66
+ //------------------------------------------------------------------------------------------------------------------
67
+
68
+ jQuery('#wh_modification_date').on('change', function (event) {
69
+ var changed_value = JSON.parse(jQuery('#wh_modification_date').val());
70
+ wpbc_ajx_booking_send_search_request_with_params({
71
+ 'wh_modification_date': changed_value,
72
+ 'page_num': 1,
73
+ // Frontend selected elements (saving for future use, after F5)
74
+ 'ui_wh_modification_date_radio': jQuery('input[name="ui_wh_modification_date_radio"]:checked').val(),
75
+ 'ui_wh_modification_date_prior': jQuery('#ui_wh_modification_date_prior').val(),
76
+ 'ui_wh_modification_date_checkin': jQuery('#ui_wh_modification_date_checkin').val(),
77
+ 'ui_wh_modification_date_checkout': jQuery('#ui_wh_modification_date_checkout').val()
78
+ });
79
+ }); //------------------------------------------------------------------------------------------------------------------
80
+ // Payment Status
81
+ //------------------------------------------------------------------------------------------------------------------
82
+
83
+ jQuery('#wh_pay_status').on('change', function (event) {
84
+ var changed_value = JSON.parse(jQuery('#wh_pay_status').val());
85
+ wpbc_ajx_booking_send_search_request_with_params({
86
+ 'wh_pay_status': changed_value,
87
+ 'page_num': 1,
88
+ // Frontend selected elements (saving for future use, after F5)
89
+ 'ui_wh_pay_status_radio': undefined === jQuery('input[name="ui_wh_pay_status_radio"]:checked').val() ? '' : jQuery('input[name="ui_wh_pay_status_radio"]:checked').val(),
90
+ 'ui_wh_pay_status_custom': jQuery('#ui_wh_pay_status_custom').val()
91
+ });
92
+ }); //------------------------------------------------------------------------------------------------------------------
93
+ // Min Cost
94
+ //------------------------------------------------------------------------------------------------------------------
95
+
96
+ jQuery('#wh_cost').on('change', function (event) {
97
+ var changed_value = jQuery('#wh_cost').val();
98
+ wpbc_ajx_booking_send_search_request_with_params({
99
+ 'wh_cost': changed_value,
100
+ 'page_num': 1
101
+ });
102
+ }); //------------------------------------------------------------------------------------------------------------------
103
+ // Max Cost
104
+ //------------------------------------------------------------------------------------------------------------------
105
+
106
+ jQuery('#wh_cost2').on('change', function (event) {
107
+ var changed_value = jQuery('#wh_cost2').val();
108
+ wpbc_ajx_booking_send_search_request_with_params({
109
+ 'wh_cost2': changed_value,
110
+ 'page_num': 1
111
+ });
112
+ }); //------------------------------------------------------------------------------------------------------------------
113
+ // Booking resources
114
+ //------------------------------------------------------------------------------------------------------------------
115
+
116
+ jQuery('#wh_booking_type').on('change', function (event) {
117
+ var changed_value = jQuery('#wh_booking_type').val(); // it's get as array
118
+
119
+ if (Array.isArray(changed_value) && 0 === changed_value.length) {
120
+ changed_value = ['-1'];
121
+ }
122
+
123
+ wpbc_ajx_booking_send_search_request_with_params({
124
+ 'wh_booking_type': changed_value,
125
+ 'page_num': 1
126
+ });
127
+ }); //------------------------------------------------------------------------------------------------------------------
128
+ // Sorting
129
+ //------------------------------------------------------------------------------------------------------------------
130
+
131
+ jQuery('#wh_sort').on('change', function (event) {
132
+ var changed_value = jQuery('#wh_sort').val();
133
+ changed_value = JSON.parse(changed_value);
134
+ wpbc_ajx_booking_send_search_request_with_params({
135
+ 'wh_sort': changed_value[0]
136
+ });
137
+ });
138
+ }
139
+
140
+ jQuery(document).ready(function () {
141
+ wpbc_ajx_booking_define_ui_hooks_once();
142
+ });
143
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluY2x1ZGVzL3BhZ2UtYm9va2luZ3MvX3NyYy9ib29raW5nc19faG9va3MuanMiXSwibmFtZXMiOlsid3BiY19hanhfYm9va2luZ19kZWZpbmVfdWlfaG9va3Nfb25jZSIsImpRdWVyeSIsIm9uIiwiZXZlbnQiLCJjaGFuZ2VkX3ZhbHVlIiwiSlNPTiIsInBhcnNlIiwidmFsIiwid3BiY19hanhfYm9va2luZ19zZW5kX3NlYXJjaF9yZXF1ZXN0X3dpdGhfcGFyYW1zIiwid2hpY2giLCJ3cGJjX2FqeF9ib29raW5nX3NlYXJjaGluZ19hZnRlcl9mZXdfc2Vjb25kcyIsInVuZGVmaW5lZCIsIkFycmF5IiwiaXNBcnJheSIsImxlbmd0aCIsImRvY3VtZW50IiwicmVhZHkiXSwibWFwcGluZ3MiOiJBQUFBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBQ0EsU0FBU0EscUNBQVQsR0FBZ0Q7QUFFL0M7QUFDQTtBQUNBO0FBQ0FDLEVBQUFBLE1BQU0sQ0FBRSxrQkFBRixDQUFOLENBQTZCQyxFQUE3QixDQUFpQyxRQUFqQyxFQUEyQyxVQUFVQyxLQUFWLEVBQWlCO0FBRTNELFFBQUlDLGFBQWEsR0FBR0MsSUFBSSxDQUFDQyxLQUFMLENBQVlMLE1BQU0sQ0FBRSxrQkFBRixDQUFOLENBQTZCTSxHQUE3Q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LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS1cclxuXHQvLyBTb3J0aW5nXHJcblx0Ly8tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS1cclxuXHRqUXVlcnkoICcjd2hfc29ydCcgKS5vbiggJ2NoYW5nZScsIGZ1bmN0aW9uKCBldmVudCApe1xyXG5cclxuXHRcdHZhciBjaGFuZ2VkX3ZhbHVlID0galF1ZXJ5KCAnI3doX3NvcnQnICkudmFsKCk7XHJcblxyXG5cdFx0Y2hhbmdlZF92YWx1ZSA9IEpTT04ucGFyc2UoIGNoYW5nZWRfdmFsdWUgKTtcclxuXHJcblx0XHR3cGJjX2FqeF9ib29raW5nX3NlbmRfc2VhcmNoX3JlcXVlc3Rfd2l0aF9wYXJhbXMoIHtcclxuXHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0J3doX3NvcnQnOiBjaGFuZ2VkX3ZhbHVlWyAwIF1cclxuXHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdH0gKTtcclxuXHR9ICk7XHJcblxyXG59XHJcblxyXG5qUXVlcnkoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCl7XHJcblx0d3BiY19hanhfYm9va2luZ19kZWZpbmVfdWlfaG9va3Nfb25jZSgpO1xyXG59KTtcclxuIl0sImZpbGUiOiJpbmNsdWRlcy9wYWdlLWJvb2tpbmdzL19vdXQvYm9va2luZ3NfX2hvb2tzLmpzIn0=
includes/page-bookings/_out/bookings__hooks.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ "use strict";function wpbc_ajx_booking_define_ui_hooks_once(){jQuery("#wh_booking_date").on("change",function(_){var a=JSON.parse(jQuery("#wh_booking_date").val());wpbc_ajx_booking_send_search_request_with_params({wh_booking_date:a,page_num:1,ui_wh_booking_date_radio:jQuery('input[name="ui_wh_booking_date_radio"]:checked').val(),ui_wh_booking_date_next:jQuery("#ui_wh_booking_date_next").val(),ui_wh_booking_date_prior:jQuery("#ui_wh_booking_date_prior").val(),ui_wh_booking_date_checkin:jQuery("#ui_wh_booking_date_checkin").val(),ui_wh_booking_date_checkout:jQuery("#ui_wh_booking_date_checkout").val()})}),jQuery("#wh_approved").on("change",function(_){var a=jQuery("#wh_approved").val(),a=JSON.parse(a);wpbc_ajx_booking_send_search_request_with_params({wh_approved:a[0],page_num:1})}),jQuery("#wpbc_search_field").on("keyup",function(_){13!==_.which?wpbc_ajx_booking_searching_after_few_seconds("#wpbc_search_field"):wpbc_ajx_booking_searching_after_few_seconds("#wpbc_search_field",0)}),jQuery("#wh_trash").on("change",function(_){var a=JSON.parse(jQuery("#wh_trash").val());wpbc_ajx_booking_send_search_request_with_params({wh_trash:a[0],page_num:1})}),jQuery("#wh_what_bookings").on("change",function(_){var a=JSON.parse(jQuery("#wh_what_bookings").val());wpbc_ajx_booking_send_search_request_with_params({wh_what_bookings:a[0],page_num:1})}),jQuery("#wh_modification_date").on("change",function(_){var a=JSON.parse(jQuery("#wh_modification_date").val());wpbc_ajx_booking_send_search_request_with_params({wh_modification_date:a,page_num:1,ui_wh_modification_date_radio:jQuery('input[name="ui_wh_modification_date_radio"]:checked').val(),ui_wh_modification_date_prior:jQuery("#ui_wh_modification_date_prior").val(),ui_wh_modification_date_checkin:jQuery("#ui_wh_modification_date_checkin").val(),ui_wh_modification_date_checkout:jQuery("#ui_wh_modification_date_checkout").val()})}),jQuery("#wh_pay_status").on("change",function(_){var a=JSON.parse(jQuery("#wh_pay_status").val());wpbc_ajx_booking_send_search_request_with_params({wh_pay_status:a,page_num:1,ui_wh_pay_status_radio:void 0===jQuery('input[name="ui_wh_pay_status_radio"]:checked').val()?"":jQuery('input[name="ui_wh_pay_status_radio"]:checked').val(),ui_wh_pay_status_custom:jQuery("#ui_wh_pay_status_custom").val()})}),jQuery("#wh_cost").on("change",function(_){var a=jQuery("#wh_cost").val();wpbc_ajx_booking_send_search_request_with_params({wh_cost:a,page_num:1})}),jQuery("#wh_cost2").on("change",function(_){var a=jQuery("#wh_cost2").val();wpbc_ajx_booking_send_search_request_with_params({wh_cost2:a,page_num:1})}),jQuery("#wh_booking_type").on("change",function(_){var a=jQuery("#wh_booking_type").val();Array.isArray(a)&&0===a.length&&(a=["-1"]),wpbc_ajx_booking_send_search_request_with_params({wh_booking_type:a,page_num:1})}),jQuery("#wh_sort").on("change",function(_){var a=jQuery("#wh_sort").val(),a=JSON.parse(a);wpbc_ajx_booking_send_search_request_with_params({wh_sort:a[0]})})}jQuery(document).ready(function(){wpbc_ajx_booking_define_ui_hooks_once()});
2
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jbHVkZXMvcGFnZS1ib29raW5ncy9fb3V0L2Jvb2tpbmdzX19ob29rcy5taW4uanMiLCJzb3VyY2VzIjpbImluY2x1ZGVzL3BhZ2UtYm9va2luZ3MvX291dC9ib29raW5nc19faG9va3MuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG4vKipcclxuICogRGVmaW5lIEhUTUwgdWkgSG9va3M6IG9uIEtleVVwIHwgQ2hhbmdlIHwgLT4gU29ydCBPcmRlciAmIE51bWJlciBJdGVtcyAvIFBhZ2VcclxuICogKiBXZSBhcmUgY2huYWdlZCBpdCBvbmNlLCBiZWNhdXNlIHN1Y2ggIGVsZW1lbnRzIGFsd2F5cyB0aGUgc2FtZVxyXG4gKi9cblxuZnVuY3Rpb24gd3BiY19hanhfYm9va2luZ19kZWZpbmVfdWlfaG9va3Nfb25jZSgpIHtcbiAgLy8tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tL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{ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
4
+
5
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
+
7
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8
+
9
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
10
+
11
+ jQuery('body').on({
12
+ 'touchmove': function touchmove(e) {
13
+ jQuery('.timespartly').each(function (index) {
14
+ var td_el = jQuery(this).get(0);
15
+
16
+ if (undefined != td_el._tippy) {
17
+ var instance = td_el._tippy;
18
+ instance.hide();
19
+ }
20
+ });
21
+ }
22
+ });
23
+ /**
24
+ * Request Object
25
+ * Here we can define Search parameters and Update it later, when some parameter was changed
26
+ *
27
+ */
28
+
29
+ var wpbc_ajx_booking_listing = function (obj, $) {
30
+ // Secure parameters for Ajax ------------------------------------------------------------------------------------
31
+ var p_secure = obj.security_obj = obj.security_obj || {
32
+ user_id: 0,
33
+ nonce: '',
34
+ locale: ''
35
+ };
36
+
37
+ obj.set_secure_param = function (param_key, param_val) {
38
+ p_secure[param_key] = param_val;
39
+ };
40
+
41
+ obj.get_secure_param = function (param_key) {
42
+ return p_secure[param_key];
43
+ }; // Listing Search parameters ------------------------------------------------------------------------------------
44
+
45
+
46
+ var p_listing = obj.search_request_obj = obj.search_request_obj || {
47
+ sort: "booking_id",
48
+ sort_type: "DESC",
49
+ page_num: 1,
50
+ page_items_count: 10,
51
+ create_date: "",
52
+ keyword: "",
53
+ source: ""
54
+ };
55
+
56
+ obj.search_set_all_params = function (request_param_obj) {
57
+ p_listing = request_param_obj;
58
+ };
59
+
60
+ obj.search_get_all_params = function () {
61
+ return p_listing;
62
+ };
63
+
64
+ obj.search_get_param = function (param_key) {
65
+ return p_listing[param_key];
66
+ };
67
+
68
+ obj.search_set_param = function (param_key, param_val) {
69
+ // if ( Array.isArray( param_val ) ){
70
+ // param_val = JSON.stringify( param_val );
71
+ // }
72
+ p_listing[param_key] = param_val;
73
+ };
74
+
75
+ obj.search_set_params_arr = function (params_arr) {
76
+ _.each(params_arr, function (p_val, p_key, p_data) {
77
+ // Define different Search parameters for request
78
+ this.search_set_param(p_key, p_val);
79
+ });
80
+ }; // Other parameters ------------------------------------------------------------------------------------
81
+
82
+
83
+ var p_other = obj.other_obj = obj.other_obj || {};
84
+
85
+ obj.set_other_param = function (param_key, param_val) {
86
+ p_other[param_key] = param_val;
87
+ };
88
+
89
+ obj.get_other_param = function (param_key) {
90
+ return p_other[param_key];
91
+ };
92
+
93
+ return obj;
94
+ }(wpbc_ajx_booking_listing || {}, jQuery);
95
+ /**
96
+ * Ajax ------------------------------------------------------------------------------------------------------ */
97
+
98
+ /**
99
+ * Send Ajax search request
100
+ * for searching specific Keyword and other params
101
+ */
102
+
103
+
104
+ function wpbc_ajx_booking_ajax_search_request() {
105
+ console.groupCollapsed('AJX_BOOKING_LISTING');
106
+ console.log(' == Before Ajax Send - search_get_all_params() == ', wpbc_ajx_booking_listing.search_get_all_params());
107
+ wpbc_booking_listing_reload_button__spin_start();
108
+ /*
109
+ //FixIn: forVideo
110
+ if ( ! is_this_action ){
111
+ //wpbc_ajx_booking__actual_listing__hide();
112
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html(
113
+ '<div style="width:100%;text-align: center;" id="wpbc_loading_section"><span class="wpbc_icn_autorenew wpbc_spin"></span></div>'
114
+ + jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html()
115
+ );
116
+ if ( 'function' === typeof (jQuery( '#wpbc_loading_section' ).wpbc_my_modal) ){ //FixIn: 9.0.1.5
117
+ jQuery( '#wpbc_loading_section' ).wpbc_my_modal( 'show' );
118
+ } else {
119
+ alert( 'Warning! Booking Calendar. Its seems that you have deactivated loading of Bootstrap JS files at Booking Settings General page in Advanced section.' )
120
+ }
121
+ }
122
+ is_this_action = false;
123
+ */
124
+ // Start Ajax
125
+
126
+ jQuery.post(wpbc_global1.wpbc_ajaxurl, {
127
+ action: 'WPBC_AJX_BOOKING_LISTING',
128
+ wpbc_ajx_user_id: wpbc_ajx_booking_listing.get_secure_param('user_id'),
129
+ nonce: wpbc_ajx_booking_listing.get_secure_param('nonce'),
130
+ wpbc_ajx_locale: wpbc_ajx_booking_listing.get_secure_param('locale'),
131
+ search_params: wpbc_ajx_booking_listing.search_get_all_params()
132
+ },
133
+ /**
134
+ * S u c c e s s
135
+ *
136
+ * @param response_data - its object returned from Ajax - class-live-searcg.php
137
+ * @param textStatus - 'success'
138
+ * @param jqXHR - Object
139
+ */
140
+ function (response_data, textStatus, jqXHR) {
141
+ //FixIn: forVideo
142
+ //jQuery( '#wpbc_loading_section' ).wpbc_my_modal( 'hide' );
143
+ console.log(' == Response WPBC_AJX_BOOKING_LISTING == ', response_data);
144
+ console.groupEnd(); // Probably Error
145
+
146
+ if (_typeof(response_data) !== 'object' || response_data === null) {
147
+ jQuery('#wh_sort_selector').hide();
148
+ jQuery(wpbc_ajx_booking_listing.get_other_param('listing_container')).html('<div class="wpbc-settings-notice notice-warning" style="text-align:left">' + response_data + '</div>');
149
+ return;
150
+ } // Reload page, after filter toolbar was reseted
151
+
152
+
153
+ if (undefined != response_data['ajx_cleaned_params'] && 'reset_done' === response_data['ajx_cleaned_params']['ui_reset']) {
154
+ location.reload();
155
+ return;
156
+ } // Show listing
157
+
158
+
159
+ if (response_data['ajx_count'] > 0) {
160
+ wpbc_ajx_booking_show_listing(response_data['ajx_items'], response_data['ajx_search_params'], response_data['ajx_booking_resources']);
161
+ wpbc_pagination_echo(wpbc_ajx_booking_listing.get_other_param('pagination_container'), {
162
+ 'page_active': response_data['ajx_search_params']['page_num'],
163
+ 'pages_count': Math.ceil(response_data['ajx_count'] / response_data['ajx_search_params']['page_items_count']),
164
+ 'page_items_count': response_data['ajx_search_params']['page_items_count'],
165
+ 'sort_type': response_data['ajx_search_params']['sort_type']
166
+ });
167
+ wpbc_ajx_booking_define_ui_hooks(); // Redefine Hooks, because we show new DOM elements
168
+ } else {
169
+ wpbc_ajx_booking__actual_listing__hide();
170
+ jQuery(wpbc_ajx_booking_listing.get_other_param('listing_container')).html('<div class="wpbc-settings-notice0 notice-warning0" style="text-align:center;margin-left:-50px;">' + '<strong>' + 'No results found for current filter options...' + '</strong>' + //'<strong>' + 'No results found...' + '</strong>' +
171
+ '</div>');
172
+ } // Update new booking count
173
+
174
+
175
+ if (undefined !== response_data['ajx_new_bookings_count']) {
176
+ var ajx_new_bookings_count = parseInt(response_data['ajx_new_bookings_count']);
177
+
178
+ if (ajx_new_bookings_count > 0) {
179
+ jQuery('.wpbc_badge_count').show();
180
+ }
181
+
182
+ jQuery('.bk-update-count').html(ajx_new_bookings_count);
183
+ }
184
+
185
+ wpbc_booking_listing_reload_button__spin_pause();
186
+ jQuery('#ajax_respond').html(response_data); // For ability to show response, add such DIV element to page
187
+ }).fail(function (jqXHR, textStatus, errorThrown) {
188
+ if (window.console && window.console.log) {
189
+ console.log('Ajax_Error', jqXHR, textStatus, errorThrown);
190
+ }
191
+
192
+ jQuery('#wh_sort_selector').hide();
193
+ var error_message = '<strong>' + 'Error!' + '</strong> ' + errorThrown;
194
+
195
+ if (jqXHR.responseText) {
196
+ error_message += jqXHR.responseText;
197
+ }
198
+
199
+ error_message = error_message.replace(/\n/g, "<br />");
200
+ wpbc_ajx_booking_show_message(error_message);
201
+ }) // .done( function ( data, textStatus, jqXHR ) { if ( window.console && window.console.log ){ console.log( 'second success', data, textStatus, jqXHR ); } })
202
+ // .always( function ( data_jqXHR, textStatus, jqXHR_errorThrown ) { if ( window.console && window.console.log ){ console.log( 'always finished', data_jqXHR, textStatus, jqXHR_errorThrown ); } })
203
+ ; // End Ajax
204
+ }
205
+ /**
206
+ * Views ----------------------------------------------------------------------------------------------------- */
207
+
208
+ /**
209
+ * Show Listing Table and define gMail checkbox hooks
210
+ *
211
+ * @param json_items_arr - JSON object with Items
212
+ * @param json_search_params - JSON object with Search
213
+ */
214
+
215
+
216
+ function wpbc_ajx_booking_show_listing(json_items_arr, json_search_params, json_booking_resources) {
217
+ wpbc_ajx_define_templates__resource_manipulation(json_items_arr, json_search_params, json_booking_resources); //console.log( 'json_items_arr' , json_items_arr, json_search_params );
218
+
219
+ jQuery('#wh_sort_selector').css("display", "flex");
220
+ var list_header_tpl = wp.template('wpbc_ajx_booking_list_header');
221
+ var list_row_tpl = wp.template('wpbc_ajx_booking_list_row'); // Header
222
+
223
+ jQuery(wpbc_ajx_booking_listing.get_other_param('listing_container')).html(list_header_tpl()); // Body
224
+
225
+ jQuery(wpbc_ajx_booking_listing.get_other_param('listing_container')).append('<div class="wpbc_selectable_body"></div>'); // R o w s
226
+
227
+ console.groupCollapsed('LISTING_ROWS'); // LISTING_ROWS
228
+
229
+ _.each(json_items_arr, function (p_val, p_key, p_data) {
230
+ if ('undefined' !== typeof json_search_params['keyword']) {
231
+ // Parameter for marking keyword with different color in a list
232
+ p_val['__search_request_keyword__'] = json_search_params['keyword'];
233
+ } else {
234
+ p_val['__search_request_keyword__'] = '';
235
+ }
236
+
237
+ p_val['booking_resources'] = json_booking_resources;
238
+ jQuery(wpbc_ajx_booking_listing.get_other_param('listing_container') + ' .wpbc_selectable_body').append(list_row_tpl(p_val));
239
+ });
240
+
241
+ console.groupEnd(); // LISTING_ROWS
242
+
243
+ wpbc_define_gmail_checkbox_selection(jQuery); // Redefine Hooks for clicking at Checkboxes
244
+ }
245
+ /**
246
+ * Define template for changing booking resources & update it each time, when listing updating, useful for showing actual booking resources.
247
+ *
248
+ * @param json_items_arr - JSON object with Items
249
+ * @param json_search_params - JSON object with Search
250
+ * @param json_booking_resources - JSON object with Resources
251
+ */
252
+
253
+
254
+ function wpbc_ajx_define_templates__resource_manipulation(json_items_arr, json_search_params, json_booking_resources) {
255
+ // Change booking resource
256
+ var change_booking_resource_tpl = wp.template('wpbc_ajx_change_booking_resource');
257
+ jQuery('#wpbc_hidden_template__change_booking_resource').html(change_booking_resource_tpl({
258
+ 'ajx_search_params': json_search_params,
259
+ 'ajx_booking_resources': json_booking_resources
260
+ })); // Duplicate booking resource
261
+
262
+ var duplicate_booking_to_other_resource_tpl = wp.template('wpbc_ajx_duplicate_booking_to_other_resource');
263
+ jQuery('#wpbc_hidden_template__duplicate_booking_to_other_resource').html(duplicate_booking_to_other_resource_tpl({
264
+ 'ajx_search_params': json_search_params,
265
+ 'ajx_booking_resources': json_booking_resources
266
+ }));
267
+ }
268
+ /**
269
+ * Show just message instead of listing and hide pagination
270
+ */
271
+
272
+
273
+ function wpbc_ajx_booking_show_message(message) {
274
+ wpbc_ajx_booking__actual_listing__hide();
275
+ jQuery(wpbc_ajx_booking_listing.get_other_param('listing_container')).html('<div class="wpbc-settings-notice notice-warning" style="text-align:left">' + message + '</div>');
276
+ }
277
+ /**
278
+ * H o o k s - its Action/Times when need to re-Render Views ----------------------------------------------- */
279
+
280
+ /**
281
+ * Send Ajax Search Request after Updating search request parameters
282
+ *
283
+ * @param params_arr
284
+ */
285
+
286
+
287
+ function wpbc_ajx_booking_send_search_request_with_params(params_arr) {
288
+ // Define different Search parameters for request
289
+ _.each(params_arr, function (p_val, p_key, p_data) {
290
+ //console.log( 'Request for: ', p_key, p_val );
291
+ wpbc_ajx_booking_listing.search_set_param(p_key, p_val);
292
+ }); // Send Ajax Request
293
+
294
+
295
+ wpbc_ajx_booking_ajax_search_request();
296
+ }
297
+ /**
298
+ * Search request for "Page Number"
299
+ * @param page_number int
300
+ */
301
+
302
+
303
+ function wpbc_ajx_booking_pagination_click(page_number) {
304
+ wpbc_ajx_booking_send_search_request_with_params({
305
+ 'page_num': page_number
306
+ });
307
+ }
308
+ /**
309
+ * Keyword Searching ----------------------------------------------------------------------------------------- */
310
+
311
+ /**
312
+ * Search request for "Keyword", also set current page to 1
313
+ *
314
+ * @param element_id - HTML ID of element, where was entered keyword
315
+ */
316
+
317
+
318
+ function wpbc_ajx_booking_send_search_request_for_keyword(element_id) {
319
+ // We need to Reset page_num to 1 with each new search, because we can be at page #4, but after new search we can have totally only 1 page
320
+ wpbc_ajx_booking_send_search_request_with_params({
321
+ 'keyword': jQuery(element_id).val(),
322
+ 'page_num': 1
323
+ });
324
+ }
325
+ /**
326
+ * Send search request after few seconds (usually after 1,5 sec)
327
+ * Closure function. Its useful, for do not send too many Ajax requests, when someone make fast typing.
328
+ */
329
+
330
+
331
+ var wpbc_ajx_booking_searching_after_few_seconds = function () {
332
+ var closed_timer = 0;
333
+ return function (element_id, timer_delay) {
334
+ // Get default value of "timer_delay", if parameter was not passed into the function.
335
+ timer_delay = typeof timer_delay !== 'undefined' ? timer_delay : 1500;
336
+ clearTimeout(closed_timer); // Clear previous timer
337
+ // Start new Timer
338
+
339
+ closed_timer = setTimeout(wpbc_ajx_booking_send_search_request_for_keyword.bind(null, element_id), timer_delay);
340
+ };
341
+ }();
342
+ /**
343
+ * Define Dynamic Hooks (like pagination click, which renew each time with new listing showing) ------------- */
344
+
345
+ /**
346
+ * Define HTML ui Hooks: on KeyUp | Change | -> Sort Order & Number Items / Page
347
+ * We are hcnaged it each time, when showing new listing, because DOM elements chnaged
348
+ */
349
+
350
+
351
+ function wpbc_ajx_booking_define_ui_hooks() {
352
+ if ('function' === typeof wpbc_define_tippy_tooltips) {
353
+ wpbc_define_tippy_tooltips('.wpbc_listing_container ');
354
+ }
355
+
356
+ wpbc_ajx_booking__ui_define__locale();
357
+ wpbc_ajx_booking__ui_define__remark(); // Items Per Page
358
+
359
+ jQuery('.wpbc_items_per_page').on('change', function (event) {
360
+ wpbc_ajx_booking_send_search_request_with_params({
361
+ 'page_items_count': jQuery(this).val(),
362
+ 'page_num': 1
363
+ });
364
+ }); // Sorting
365
+
366
+ jQuery('.wpbc_items_sort_type').on('change', function (event) {
367
+ wpbc_ajx_booking_send_search_request_with_params({
368
+ 'sort_type': jQuery(this).val()
369
+ });
370
+ });
371
+ }
372
+ /**
373
+ * Show / Hide Listing --------------------------------------------------------------------------------------- */
374
+
375
+ /**
376
+ * Show Listing Table - Sending Ajax Request - with parameters that we early defined in "wpbc_ajx_booking_listing" Obj.
377
+ */
378
+
379
+
380
+ function wpbc_ajx_booking__actual_listing__show() {
381
+ wpbc_ajx_booking_ajax_search_request(); // Send Ajax Request - with parameters that we early defined in "wpbc_ajx_booking_listing" Obj.
382
+ }
383
+ /**
384
+ * Hide Listing Table ( and Pagination )
385
+ */
386
+
387
+
388
+ function wpbc_ajx_booking__actual_listing__hide() {
389
+ jQuery('#wh_sort_selector').hide();
390
+ jQuery(wpbc_ajx_booking_listing.get_other_param('listing_container')).html('');
391
+ jQuery(wpbc_ajx_booking_listing.get_other_param('pagination_container')).html('');
392
+ }
393
+ /**
394
+ * Support functions for Content Template data --------------------------------------------------------------- */
395
+
396
+ /**
397
+ * Highlight strings,
398
+ * by inserting <span class="fieldvalue name fieldsearchvalue">...</span> html elements into the string.
399
+ * @param {string} booking_details - Source string
400
+ * @param {string} booking_keyword - Keyword to highlight
401
+ * @returns {string}
402
+ */
403
+
404
+
405
+ function wpbc_get_highlighted_search_keyword(booking_details, booking_keyword) {
406
+ booking_keyword = booking_keyword.trim().toLowerCase();
407
+
408
+ if (0 == booking_keyword.length) {
409
+ return booking_details;
410
+ } // Highlight substring withing HTML tags in "Content of booking fields data" -- e.g. starting from > and ending with <
411
+
412
+
413
+ var keywordRegex = new RegExp("fieldvalue[^<>]*>([^<]*".concat(booking_keyword, "[^<]*)"), 'gim'); //let matches = [...booking_details.toLowerCase().matchAll( keywordRegex )];
414
+
415
+ var matches = booking_details.toLowerCase().matchAll(keywordRegex);
416
+ matches = Array.from(matches);
417
+ var strings_arr = [];
418
+ var pos_previous = 0;
419
+ var search_pos_start;
420
+ var search_pos_end;
421
+
422
+ var _iterator = _createForOfIteratorHelper(matches),
423
+ _step;
424
+
425
+ try {
426
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
427
+ var match = _step.value;
428
+ search_pos_start = match.index + match[0].toLowerCase().indexOf('>', 0) + 1;
429
+ strings_arr.push(booking_details.substr(pos_previous, search_pos_start - pos_previous));
430
+ search_pos_end = booking_details.toLowerCase().indexOf('<', search_pos_start);
431
+ strings_arr.push('<span class="fieldvalue name fieldsearchvalue">' + booking_details.substr(search_pos_start, search_pos_end - search_pos_start) + '</span>');
432
+ pos_previous = search_pos_end;
433
+ }
434
+ } catch (err) {
435
+ _iterator.e(err);
436
+ } finally {
437
+ _iterator.f();
438
+ }
439
+
440
+ strings_arr.push(booking_details.substr(pos_previous, booking_details.length - pos_previous));
441
+ return strings_arr.join('');
442
+ }
443
+ /**
444
+ * Convert special HTML characters from: &amp; -> &
445
+ *
446
+ * @param text
447
+ * @returns {*}
448
+ */
449
+
450
+
451
+ function wpbc_decode_HTML_entities(text) {
452
+ var textArea = document.createElement('textarea');
453
+ textArea.innerHTML = text;
454
+ return textArea.value;
455
+ }
456
+ /**
457
+ * Convert TO special HTML characters from: & -> &amp;
458
+ *
459
+ * @param text
460
+ * @returns {*}
461
+ */
462
+
463
+
464
+ function wpbc_encode_HTML_entities(text) {
465
+ var textArea = document.createElement('textarea');
466
+ textArea.innerText = text;
467
+ return textArea.innerHTML;
468
+ }
469
+ /**
470
+ * Support Functions - Spin Icon in Buttons ------------------------------------------------------------------ */
471
+
472
+ /**
473
+ * Spin button in Filter toolbar - Start
474
+ */
475
+
476
+
477
+ function wpbc_booking_listing_reload_button__spin_start() {
478
+ jQuery('#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin').removeClass('wpbc_animation_pause');
479
+ }
480
+ /**
481
+ * Spin button in Filter toolbar - Pause
482
+ */
483
+
484
+
485
+ function wpbc_booking_listing_reload_button__spin_pause() {
486
+ jQuery('#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin').addClass('wpbc_animation_pause');
487
+ }
488
+ /**
489
+ * Spin button in Filter toolbar - is Spinning ?
490
+ *
491
+ * @returns {boolean}
492
+ */
493
+
494
+
495
+ function wpbc_booking_listing_reload_button__is_spin() {
496
+ if (jQuery('#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin').hasClass('wpbc_animation_pause')) {
497
+ return true;
498
+ } else {
499
+ return false;
500
+ }
501
+ }
502
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluY2x1ZGVzL3BhZ2UtYm9va2luZ3MvX3NyYy9ib29raW5nc19fbGlzdGluZy5qcyJdLCJuYW1lcyI6WyJqUXVlcnkiLCJvbiIsImUiLCJlYWNoIiwiaW5kZXgiLCJ0ZF9lbCIsImdldCIsInVuZGVmaW5lZCIsIl90aXBweSIsImluc3RhbmNlIiwiaGlkZSIsIndwYmNfYWp4X2Jvb2tpbmdfbGlzdGluZyIsIm9iaiIsIiQiLCJwX3NlY3VyZSIsInNlY3VyaXR5X29iai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SggJyN3cGJjX2Jvb2tpbmdfbGlzdGluZ19yZWxvYWRfYnV0dG9uIC5tZW51X2ljb24ud3BiY19zcGluJyApLmFkZENsYXNzKCAnd3BiY19hbmltYXRpb25fcGF1c2UnICk7XHJcbn1cclxuXHJcbi8qKlxyXG4gKiBTcGluIGJ1dHRvbiBpbiBGaWx0ZXIgdG9vbGJhciAgLSAgaXMgU3Bpbm5pbmcgP1xyXG4gKlxyXG4gKiBAcmV0dXJucyB7Ym9vbGVhbn1cclxuICovXHJcbmZ1bmN0aW9uIHdwYmNfYm9va2luZ19saXN0aW5nX3JlbG9hZF9idXR0b25fX2lzX3NwaW4oKXtcclxuICAgIGlmICggalF1ZXJ5KCAnI3dwYmNfYm9va2luZ19saXN0aW5nX3JlbG9hZF9idXR0b24gLm1lbnVfaWNvbi53cGJjX3NwaW4nICkuaGFzQ2xhc3MoICd3cGJjX2FuaW1hdGlvbl9wYXVzZScgKSApe1xyXG5cdFx0cmV0dXJuIHRydWU7XHJcblx0fSBlbHNlIHtcclxuXHRcdHJldHVybiBmYWxzZTtcclxuXHR9XHJcbn0iXSwiZmlsZSI6ImluY2x1ZGVzL3BhZ2UtYm9va2luZ3MvX291dC9ib29raW5nc19fbGlzdGluZy5qcyJ9
includes/page-bookings/_out/bookings__listing.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ "use strict";function _createForOfIteratorHelper(e,_){var o="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=_unsupportedIterableToArray(e))||_&&e&&"number"==typeof e.length){o&&(e=o);var n=0,_=function(){};return{s:_,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:_}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var t,r=!0,a=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return r=e.done,e},e:function(e){a=!0,t=e},f:function(){try{r||null==o.return||o.return()}finally{if(a)throw t}}}}function _unsupportedIterableToArray(e,_){if(e){if("string"==typeof e)return _arrayLikeToArray(e,_);var o=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(o="Object"===o&&e.constructor?e.constructor.name:o)||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(e,_):void 0}}function _arrayLikeToArray(e,_){(null==_||_>e.length)&&(_=e.length);for(var o=0,n=new Array(_);o<_;o++)n[o]=e[o];return n}function _typeof(e){return(_typeof="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)}jQuery("body").on({touchmove:function(e){jQuery(".timespartly").each(function(e){var _=jQuery(this).get(0);null!=_._tippy&&_._tippy.hide()})}});var wpbc_ajx_booking_listing=function(e){var o=e.security_obj=e.security_obj||{user_id:0,nonce:"",locale:""};e.set_secure_param=function(e,_){o[e]=_},e.get_secure_param=function(e){return o[e]};var n=e.search_request_obj=e.search_request_obj||{sort:"booking_id",sort_type:"DESC",page_num:1,page_items_count:10,create_date:"",keyword:"",source:""};e.search_set_all_params=function(e){n=e},e.search_get_all_params=function(){return n},e.search_get_param=function(e){return n[e]},e.search_set_param=function(e,_){n[e]=_},e.search_set_params_arr=function(e){_.each(e,function(e,_,o){this.search_set_param(_,e)})};var t=e.other_obj=e.other_obj||{};return e.set_other_param=function(e,_){t[e]=_},e.get_other_param=function(e){return t[e]},e}(wpbc_ajx_booking_listing||{},jQuery);function wpbc_ajx_booking_ajax_search_request(){console.groupCollapsed("AJX_BOOKING_LISTING"),console.log(" == Before Ajax Send - search_get_all_params() == ",wpbc_ajx_booking_listing.search_get_all_params()),wpbc_booking_listing_reload_button__spin_start(),jQuery.post(wpbc_global1.wpbc_ajaxurl,{action:"WPBC_AJX_BOOKING_LISTING",wpbc_ajx_user_id:wpbc_ajx_booking_listing.get_secure_param("user_id"),nonce:wpbc_ajx_booking_listing.get_secure_param("nonce"),wpbc_ajx_locale:wpbc_ajx_booking_listing.get_secure_param("locale"),search_params:wpbc_ajx_booking_listing.search_get_all_params()},function(e,_,o){return console.log(" == Response WPBC_AJX_BOOKING_LISTING == ",e),console.groupEnd(),"object"!==_typeof(e)||null===e?(jQuery("#wh_sort_selector").hide(),void jQuery(wpbc_ajx_booking_listing.get_other_param("listing_container")).html('<div class="wpbc-settings-notice notice-warning" style="text-align:left">'+e+"</div>")):void(null==e.ajx_cleaned_params||"reset_done"!==e.ajx_cleaned_params.ui_reset?(0<e.ajx_count?(wpbc_ajx_booking_show_listing(e.ajx_items,e.ajx_search_params,e.ajx_booking_resources),wpbc_pagination_echo(wpbc_ajx_booking_listing.get_other_param("pagination_container"),{page_active:e.ajx_search_params.page_num,pages_count:Math.ceil(e.ajx_count/e.ajx_search_params.page_items_count),page_items_count:e.ajx_search_params.page_items_count,sort_type:e.ajx_search_params.sort_type}),wpbc_ajx_booking_define_ui_hooks()):(wpbc_ajx_booking__actual_listing__hide(),jQuery(wpbc_ajx_booking_listing.get_other_param("listing_container")).html('<div class="wpbc-settings-notice0 notice-warning0" style="text-align:center;margin-left:-50px;"><strong>No results found for current filter options...</strong></div>')),void 0!==e.ajx_new_bookings_count&&(0<(n=parseInt(e.ajx_new_bookings_count))&&jQuery(".wpbc_badge_count").show(),jQuery(".bk-update-count").html(n)),wpbc_booking_listing_reload_button__spin_pause(),jQuery("#ajax_respond").html(e)):location.reload());var n}).fail(function(e,_,o){window.console&&window.console.log&&console.log("Ajax_Error",e,_,o),jQuery("#wh_sort_selector").hide();o="<strong>Error!</strong> "+o;e.responseText&&(o+=e.responseText),wpbc_ajx_booking_show_message(o=o.replace(/\n/g,"<br />"))})}function wpbc_ajx_booking_show_listing(e,n,t){wpbc_ajx_define_templates__resource_manipulation(e,n,t),jQuery("#wh_sort_selector").css("display","flex");var o=wp.template("wpbc_ajx_booking_list_header"),r=wp.template("wpbc_ajx_booking_list_row");jQuery(wpbc_ajx_booking_listing.get_other_param("listing_container")).html(o()),jQuery(wpbc_ajx_booking_listing.get_other_param("listing_container")).append('<div class="wpbc_selectable_body"></div>'),console.groupCollapsed("LISTING_ROWS"),_.each(e,function(e,_,o){void 0!==n.keyword?e.__search_request_keyword__=n.keyword:e.__search_request_keyword__="",e.booking_resources=t,jQuery(wpbc_ajx_booking_listing.get_other_param("listing_container")+" .wpbc_selectable_body").append(r(e))}),console.groupEnd(),wpbc_define_gmail_checkbox_selection(jQuery)}function wpbc_ajx_define_templates__resource_manipulation(e,_,o){var n=wp.template("wpbc_ajx_change_booking_resource");jQuery("#wpbc_hidden_template__change_booking_resource").html(n({ajx_search_params:_,ajx_booking_resources:o}));n=wp.template("wpbc_ajx_duplicate_booking_to_other_resource");jQuery("#wpbc_hidden_template__duplicate_booking_to_other_resource").html(n({ajx_search_params:_,ajx_booking_resources:o}))}function wpbc_ajx_booking_show_message(e){wpbc_ajx_booking__actual_listing__hide(),jQuery(wpbc_ajx_booking_listing.get_other_param("listing_container")).html('<div class="wpbc-settings-notice notice-warning" style="text-align:left">'+e+"</div>")}function wpbc_ajx_booking_send_search_request_with_params(e){_.each(e,function(e,_,o){wpbc_ajx_booking_listing.search_set_param(_,e)}),wpbc_ajx_booking_ajax_search_request()}function wpbc_ajx_booking_pagination_click(e){wpbc_ajx_booking_send_search_request_with_params({page_num:e})}function wpbc_ajx_booking_send_search_request_for_keyword(e){wpbc_ajx_booking_send_search_request_with_params({keyword:jQuery(e).val(),page_num:1})}var wpbc_ajx_booking_searching_after_few_seconds=function(){var o=0;return function(e,_){_=void 0!==_?_:1500,clearTimeout(o),o=setTimeout(wpbc_ajx_booking_send_search_request_for_keyword.bind(null,e),_)}}();function wpbc_ajx_booking_define_ui_hooks(){"function"==typeof wpbc_define_tippy_tooltips&&wpbc_define_tippy_tooltips(".wpbc_listing_container "),wpbc_ajx_booking__ui_define__locale(),wpbc_ajx_booking__ui_define__remark(),jQuery(".wpbc_items_per_page").on("change",function(e){wpbc_ajx_booking_send_search_request_with_params({page_items_count:jQuery(this).val(),page_num:1})}),jQuery(".wpbc_items_sort_type").on("change",function(e){wpbc_ajx_booking_send_search_request_with_params({sort_type:jQuery(this).val()})})}function wpbc_ajx_booking__actual_listing__show(){wpbc_ajx_booking_ajax_search_request()}function wpbc_ajx_booking__actual_listing__hide(){jQuery("#wh_sort_selector").hide(),jQuery(wpbc_ajx_booking_listing.get_other_param("listing_container")).html(""),jQuery(wpbc_ajx_booking_listing.get_other_param("pagination_container")).html("")}function wpbc_get_highlighted_search_keyword(e,_){if(0==(_=_.trim().toLowerCase()).length)return e;var o,n,_=new RegExp("fieldvalue[^<>]*>([^<]*".concat(_,"[^<]*)"),"gim"),_=e.toLowerCase().matchAll(_),t=[],r=0,a=_createForOfIteratorHelper(_=Array.from(_));try{for(a.s();!(n=a.n()).done;){var i=n.value,s=i.index+i[0].toLowerCase().indexOf(">",0)+1;t.push(e.substr(r,s-r)),o=e.toLowerCase().indexOf("<",s),t.push('<span class="fieldvalue name fieldsearchvalue">'+e.substr(s,o-s)+"</span>"),r=o}}catch(e){a.e(e)}finally{a.f()}return t.push(e.substr(r,e.length-r)),t.join("")}function wpbc_decode_HTML_entities(e){var _=document.createElement("textarea");return _.innerHTML=e,_.value}function wpbc_encode_HTML_entities(e){var _=document.createElement("textarea");return _.innerText=e,_.innerHTML}function wpbc_booking_listing_reload_button__spin_start(){jQuery("#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin").removeClass("wpbc_animation_pause")}function wpbc_booking_listing_reload_button__spin_pause(){jQuery("#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin").addClass("wpbc_animation_pause")}function wpbc_booking_listing_reload_button__is_spin(){return!!jQuery("#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin").hasClass("wpbc_animation_pause")}
2
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jbH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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+
3
+ /**
4
+ * Ajax ----------------------------------------------------------------------------------------------------- */
5
+ //var is_this_action = false;
6
+ /**
7
+ * Send Ajax action request, like approving or cancellation
8
+ *
9
+ * @param action_param
10
+ */
11
+ function wpbc_ajx_booking_ajax_action_request( action_param = {} ){
12
+
13
+ console.groupCollapsed( 'WPBC_AJX_BOOKING_ACTIONS' ); console.log( ' == Ajax Actions :: Params == ', action_param );
14
+ //is_this_action = true;
15
+
16
+ wpbc_booking_listing_reload_button__spin_start();
17
+
18
+ // Get redefined Locale, if action on single booking !
19
+ if ( ( undefined != action_param[ 'booking_id' ] ) && ( ! Array.isArray( action_param[ 'booking_id' ] ) ) ){ // Not array
20
+
21
+ action_param[ 'locale' ] = wpbc_get_selected_locale( action_param[ 'booking_id' ], wpbc_ajx_booking_listing.get_secure_param( 'locale' ) );
22
+ }
23
+
24
+ var action_post_params = {
25
+ action : 'WPBC_AJX_BOOKING_ACTIONS',
26
+ nonce : wpbc_ajx_booking_listing.get_secure_param( 'nonce' ),
27
+ wpbc_ajx_user_id: ( ( undefined == action_param[ 'user_id' ] ) ? wpbc_ajx_booking_listing.get_secure_param( 'user_id' ) : action_param[ 'user_id' ] ),
28
+ wpbc_ajx_locale: ( ( undefined == action_param[ 'locale' ] ) ? wpbc_ajx_booking_listing.get_secure_param( 'locale' ) : action_param[ 'locale' ] ),
29
+
30
+ action_params : action_param
31
+ };
32
+
33
+ // It's required for CSV export - getting the same list of bookings
34
+ if ( typeof action_param.search_params !== 'undefined' ){
35
+ action_post_params[ 'search_params' ] = action_param.search_params;
36
+ delete action_post_params.action_params.search_params;
37
+ }
38
+
39
+ // Start Ajax
40
+ jQuery.post( wpbc_global1.wpbc_ajaxurl ,
41
+
42
+ action_post_params ,
43
+
44
+ /**
45
+ * S u c c e s s
46
+ *
47
+ * @param response_data - its object returned from Ajax - class-live-searcg.php
48
+ * @param textStatus - 'success'
49
+ * @param jqXHR - Object
50
+ */
51
+ function ( response_data, textStatus, jqXHR ) {
52
+
53
+ console.log( ' == Ajax Actions :: Response WPBC_AJX_BOOKING_ACTIONS == ', response_data ); console.groupEnd();
54
+
55
+ // Probably Error
56
+ if ( (typeof response_data !== 'object') || (response_data === null) ){
57
+ jQuery( '#wh_sort_selector' ).hide();
58
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html(
59
+ '<div class="wpbc-settings-notice notice-warning" style="text-align:left">' +
60
+ response_data +
61
+ '</div>'
62
+ );
63
+ return;
64
+ }
65
+
66
+ wpbc_booking_listing_reload_button__spin_pause();
67
+
68
+ wpbc_admin_show_message(
69
+ response_data[ 'ajx_after_action_message' ].replace( /\n/g, "<br />" )
70
+ , ( '1' == response_data[ 'ajx_after_action_result' ] ) ? 'success' : 'error'
71
+ , 10000
72
+ );
73
+
74
+ // Success response
75
+ if ( '1' == response_data[ 'ajx_after_action_result' ] ){
76
+
77
+ var is_reload_ajax_listing = true;
78
+
79
+ // After Google Calendar import show imported bookings and reload the page for toolbar parameters update
80
+ if ( false !== response_data[ 'ajx_after_action_result_all_params_arr' ][ 'new_listing_params' ] ){
81
+
82
+ wpbc_ajx_booking_send_search_request_with_params( response_data[ 'ajx_after_action_result_all_params_arr' ][ 'new_listing_params' ] );
83
+
84
+ var closed_timer = setTimeout( function (){
85
+
86
+ if ( wpbc_booking_listing_reload_button__is_spin() ){
87
+ if ( undefined != response_data[ 'ajx_after_action_result_all_params_arr' ][ 'new_listing_params' ][ 'reload_url_params' ] ){
88
+ document.location.href = response_data[ 'ajx_after_action_result_all_params_arr' ][ 'new_listing_params' ][ 'reload_url_params' ];
89
+ } else {
90
+ document.location.reload();
91
+ }
92
+ }
93
+ }
94
+ , 2000 );
95
+ is_reload_ajax_listing = false;
96
+ }
97
+
98
+ // Start download exported CSV file
99
+ if ( undefined != response_data[ 'ajx_after_action_result_all_params_arr' ][ 'export_csv_url' ] ){
100
+ wpbc_ajx_booking__export_csv_url__download( response_data[ 'ajx_after_action_result_all_params_arr' ][ 'export_csv_url' ] );
101
+ is_reload_ajax_listing = false;
102
+ }
103
+
104
+ if ( is_reload_ajax_listing ){
105
+ wpbc_ajx_booking__actual_listing__show(); // Sending Ajax Request - with parameters that we early defined in "wpbc_ajx_booking_listing" Obj.
106
+ }
107
+
108
+ }
109
+
110
+ // Remove spin icon from button and Enable this button.
111
+ wpbc_button__remove_spin( response_data[ 'ajx_cleaned_params' ][ 'ui_clicked_element_id' ] )
112
+
113
+ // Hide modals
114
+ wpbc_popup_modals__hide();
115
+
116
+ jQuery( '#ajax_respond' ).html( response_data ); // For ability to show response, add such DIV element to page
117
+ }
118
+ ).fail( function ( jqXHR, textStatus, errorThrown ) { if ( window.console && window.console.log ){ console.log( 'Ajax_Error', jqXHR, textStatus, errorThrown ); }
119
+ jQuery( '#wh_sort_selector' ).hide();
120
+ var error_message = '<strong>' + 'Error!' + '</strong> ' + errorThrown ;
121
+ if ( jqXHR.responseText ){
122
+ error_message += jqXHR.responseText;
123
+ }
124
+ error_message = error_message.replace( /\n/g, "<br />" );
125
+
126
+ wpbc_ajx_booking_show_message( error_message );
127
+ })
128
+ // .done( function ( data, textStatus, jqXHR ) { if ( window.console && window.console.log ){ console.log( 'second success', data, textStatus, jqXHR ); } })
129
+ // .always( function ( data_jqXHR, textStatus, jqXHR_errorThrown ) { if ( window.console && window.console.log ){ console.log( 'always finished', data_jqXHR, textStatus, jqXHR_errorThrown ); } })
130
+ ; // End Ajax
131
+ }
132
+
133
+
134
+ /**
135
+ * Support Functions - Spin Icon in Buttons ------------------------------------------------------------------ */
136
+
137
+ /**
138
+ * Remove spin icon from button and Enable this button.
139
+ *
140
+ * @param button_clicked_element_id - HTML ID attribute of this button
141
+ * @return string - CSS classes that was previously in button icon
142
+ */
143
+ function wpbc_button__remove_spin( button_clicked_element_id ){
144
+
145
+ var previos_classes = '';
146
+ if ( undefined != button_clicked_element_id ){
147
+ var jElement = jQuery( '#' + button_clicked_element_id );
148
+ if ( jElement.length ){
149
+ previos_classes = wpbc_button_disable_loading_icon( jElement.get( 0 ) );
150
+ }
151
+ }
152
+
153
+ return previos_classes;
154
+ }
155
+
156
+
157
+ /**
158
+ * Show Loading (rotating arrow) icon for button that has been clicked
159
+ *
160
+ * @param this_button - this object of specific button
161
+ * @return string - CSS classes that was previously in button icon
162
+ */
163
+ function wpbc_button_enable_loading_icon( this_button ){
164
+
165
+ var jButton = jQuery( this_button );
166
+ var jIcon = jButton.find( 'i' );
167
+ var previos_classes = jIcon.attr( 'class' );
168
+
169
+ jIcon.removeClass().addClass( 'menu_icon icon-1x wpbc_icn_rotate_right wpbc_spin' ); // Set Rotate icon
170
+ //jIcon.addClass( 'wpbc_animation_pause' ); // Pause animation
171
+ //jIcon.addClass( 'wpbc_ui_red' ); // Set icon color red
172
+
173
+ jIcon.attr( 'wpbc_previous_class', previos_classes )
174
+
175
+ jButton.addClass( 'disabled' ); // Disable button
176
+ //jButton.prop( "disabled", true );
177
+ // We need to set here attr instead of prop, because for A elements, attribute 'disabled' do not added with jButton.prop( "disabled", true );
178
+
179
+ jButton.attr( 'wpbc_previous_onclick', jButton.attr( 'onclick' ) ); //Save this value
180
+ jButton.attr( 'onclick', '' ); // Disable actions "on click"
181
+
182
+ return previos_classes;
183
+ }
184
+
185
+
186
+ /**
187
+ * Hide Loading (rotating arrow) icon for button that was clicked and show previous icon and enable button
188
+ *
189
+ * @param this_button - this object of specific button
190
+ * @return string - CSS classes that was previously in button icon
191
+ */
192
+ function wpbc_button_disable_loading_icon( this_button ){
193
+
194
+ var jButton = jQuery( this_button );
195
+ var jIcon = jButton.find( 'i' );
196
+
197
+ var previos_classes = jIcon.attr( 'wpbc_previous_class' );
198
+ if ( '' != previos_classes ){
199
+ jIcon.removeClass().addClass( previos_classes );
200
+ }
201
+
202
+ jButton.removeClass( 'disabled' ); // Remove Disable button
203
+
204
+ var previous_onclick = jButton.attr( 'wpbc_previous_onclick' )
205
+ if ( '' != previous_onclick ){
206
+ jButton.attr( 'onclick', previous_onclick );
207
+ }
208
+
209
+ return previos_classes;
210
+ }
211
+
212
+
213
+ /**
214
+ * Hide all open modal popups windows
215
+ */
216
+ function wpbc_popup_modals__hide(){
217
+
218
+ // Hide modals
219
+ if ( 'function' === typeof (jQuery( '.wpbc_popup_modal' ).wpbc_my_modal) ){
220
+ jQuery( '.wpbc_popup_modal' ).wpbc_my_modal( 'hide' );
221
+ }
222
+ }
223
+
224
+
225
+ /**
226
+ * Dates Short <-> Wide ----------------------------------------------------------------------------------- */
227
+
228
+ function wpbc_ajx_click_on_dates_short(){
229
+ jQuery( '#booking_dates_small,.booking_dates_full' ).hide();
230
+ jQuery( '#booking_dates_full,.booking_dates_small' ).show();
231
+ wpbc_ajx_booking_send_search_request_with_params( {'ui_usr__dates_short_wide': 'short'} );
232
+ }
233
+
234
+ function wpbc_ajx_click_on_dates_wide(){
235
+ jQuery( '#booking_dates_full,.booking_dates_small' ).hide();
236
+ jQuery( '#booking_dates_small,.booking_dates_full' ).show();
237
+ wpbc_ajx_booking_send_search_request_with_params( {'ui_usr__dates_short_wide': 'wide'} );
238
+ }
239
+
240
+ function wpbc_ajx_click_on_dates_toggle(this_date){
241
+
242
+ jQuery( this_date ).parents( '.wpbc_col_dates' ).find( '.booking_dates_small' ).toggle();
243
+ jQuery( this_date ).parents( '.wpbc_col_dates' ).find( '.booking_dates_full' ).toggle();
244
+
245
+ /*
246
+ var visible_section = jQuery( this_date ).parents( '.booking_dates_expand_section' );
247
+ visible_section.hide();
248
+ if ( visible_section.hasClass( 'booking_dates_full' ) ){
249
+ visible_section.parents( '.wpbc_col_dates' ).find( '.booking_dates_small' ).show();
250
+ } else {
251
+ visible_section.parents( '.wpbc_col_dates' ).find( '.booking_dates_full' ).show();
252
+ }*/
253
+ console.log( 'wpbc_ajx_click_on_dates_toggle', this_date );
254
+ }
255
+
256
+ /**
257
+ * Locale --------------------------------------------------------------------------------------------------- */
258
+
259
+ /**
260
+ * Select options in select boxes based on attribute "value_of_selected_option" and RED color and hint for LOCALE button -- It's called from wpbc_ajx_booking_define_ui_hooks() each time after Listing loading.
261
+ */
262
+ function wpbc_ajx_booking__ui_define__locale(){
263
+
264
+ jQuery( '.wpbc_listing_container select' ).each( function ( index ){
265
+
266
+ var selection = jQuery( this ).attr( "value_of_selected_option" ); // Define selected select boxes
267
+
268
+ if ( undefined !== selection ){
269
+ jQuery( this ).find( 'option[value="' + selection + '"]' ).prop( 'selected', true );
270
+
271
+ if ( ('' != selection) && (jQuery( this ).hasClass( 'set_booking_locale_selectbox' )) ){ // Locale
272
+
273
+ var booking_locale_button = jQuery( this ).parents( '.ui_element_locale' ).find( '.set_booking_locale_button' )
274
+
275
+ //booking_locale_button.css( 'color', '#db4800' ); // Set button red
276
+ booking_locale_button.addClass( 'wpbc_ui_red' ); // Set button red
277
+ if ( 'function' === typeof( wpbc_tippy ) ){
278
+ booking_locale_button.get(0)._tippy.setContent( selection );
279
+ }
280
+ }
281
+ }
282
+ } );
283
+ }
284
+
285
+ /**
286
+ * Remark --------------------------------------------------------------------------------------------------- */
287
+
288
+ /**
289
+ * Define content of remark "booking note" button and textarea. -- It's called from wpbc_ajx_booking_define_ui_hooks() each time after Listing loading.
290
+ */
291
+ function wpbc_ajx_booking__ui_define__remark(){
292
+
293
+ jQuery( '.wpbc_listing_container .ui_remark_section textarea' ).each( function ( index ){
294
+ var text_val = jQuery( this ).val();
295
+ if ( (undefined !== text_val) && ('' != text_val) ){
296
+
297
+ var remark_button = jQuery( this ).parents( '.ui_group' ).find( '.set_booking_note_button' );
298
+
299
+ if ( remark_button.length > 0 ){
300
+
301
+ remark_button.addClass( 'wpbc_ui_red' ); // Set button red
302
+ if ( 'function' === typeof (wpbc_tippy) ){
303
+ //remark_button.get( 0 )._tippy.allowHTML = true;
304
+ //remark_button.get( 0 )._tippy.setContent( text_val.replace(/[\n\r]/g, '<br>') );
305
+
306
+ remark_button.get( 0 )._tippy.setProps( {
307
+ allowHTML: true,
308
+ content : text_val.replace( /[\n\r]/g, '<br>' )
309
+ } );
310
+ }
311
+ }
312
+ }
313
+ } );
314
+ }
315
+
316
+ /**
317
+ * Actions ,when we click on "Remark" button.
318
+ *
319
+ * @param jq_button - this jQuery button object
320
+ */
321
+ function wpbc_ajx_booking__ui_click__remark( jq_button ){
322
+
323
+ jq_button.parents('.ui_group').find('.ui_remark_section').toggle();
324
+ }
325
+
326
+
327
+ /**
328
+ * Change booking resource ---------------------------------------------------------------------------------- */
329
+
330
+ function wpbc_ajx_booking__ui_click_show__change_resource( booking_id, resource_id ){
331
+
332
+ // Define ID of booking to hidden input
333
+ jQuery( '#change_booking_resource__booking_id' ).val( booking_id );
334
+
335
+ // Select booking resource that belong to booking
336
+ jQuery( '#change_booking_resource__resource_select' ).val( resource_id ).trigger( 'change' );
337
+ var cbr;
338
+
339
+ // Get Resource section
340
+ cbr = jQuery( "#change_booking_resource__section" ).detach();
341
+
342
+ // Append it to booking ROW
343
+ cbr.appendTo( jQuery( "#ui__change_booking_resource__section_in_booking_" + booking_id ) );
344
+ cbr = null;
345
+
346
+ // Hide sections of "Change booking resource" in all other bookings ROWs
347
+ //jQuery( ".ui__change_booking_resource__section_in_booking" ).hide();
348
+ if ( ! jQuery( "#ui__change_booking_resource__section_in_booking_" + booking_id ).is(':visible') ){
349
+ jQuery( ".ui__under_actions_row__section_in_booking" ).hide();
350
+ }
351
+
352
+ // Show only "change booking resource" section for current booking
353
+ jQuery( "#ui__change_booking_resource__section_in_booking_" + booking_id ).toggle();
354
+ }
355
+
356
+ function wpbc_ajx_booking__ui_click_save__change_resource( this_el, booking_action, el_id ){
357
+
358
+ wpbc_ajx_booking_ajax_action_request( {
359
+ 'booking_action' : booking_action,
360
+ 'booking_id' : jQuery( '#change_booking_resource__booking_id' ).val(),
361
+ 'selected_resource_id' : jQuery( '#change_booking_resource__resource_select' ).val(),
362
+ 'ui_clicked_element_id': el_id
363
+ } );
364
+
365
+ wpbc_button_enable_loading_icon( this_el );
366
+
367
+ // wpbc_ajx_booking__ui_click_close__change_resource();
368
+ }
369
+
370
+ function wpbc_ajx_booking__ui_click_close__change_resource(){
371
+
372
+ var cbrce;
373
+
374
+ // Get Resource section
375
+ cbrce = jQuery("#change_booking_resource__section").detach();
376
+
377
+ // Append it to hidden HTML template section at the bottom of the page
378
+ cbrce.appendTo(jQuery("#wpbc_hidden_template__change_booking_resource"));
379
+ cbrce = null;
380
+
381
+ // Hide all change booking resources sections
382
+ jQuery(".ui__change_booking_resource__section_in_booking").hide();
383
+ }
384
+
385
+ /**
386
+ * Duplicate booking in other resource ---------------------------------------------------------------------- */
387
+
388
+ function wpbc_ajx_booking__ui_click_show__duplicate_booking( booking_id, resource_id ){
389
+
390
+ // Define ID of booking to hidden input
391
+ jQuery( '#duplicate_booking_to_other_resource__booking_id' ).val( booking_id );
392
+
393
+ // Select booking resource that belong to booking
394
+ jQuery( '#duplicate_booking_to_other_resource__resource_select' ).val( resource_id ).trigger( 'change' );
395
+ var cbr;
396
+
397
+ // Get Resource section
398
+ cbr = jQuery( "#duplicate_booking_to_other_resource__section" ).detach();
399
+
400
+ // Append it to booking ROW
401
+ cbr.appendTo( jQuery( "#ui__duplicate_booking_to_other_resource__section_in_booking_" + booking_id ) );
402
+ cbr = null;
403
+
404
+ // Hide sections of "Duplicate booking" in all other bookings ROWs
405
+ if ( ! jQuery( "#ui__duplicate_booking_to_other_resource__section_in_booking_" + booking_id ).is(':visible') ){
406
+ jQuery( ".ui__under_actions_row__section_in_booking" ).hide();
407
+ }
408
+
409
+ // Show only "Duplicate booking" section for current booking ROW
410
+ jQuery( "#ui__duplicate_booking_to_other_resource__section_in_booking_" + booking_id ).toggle();
411
+ }
412
+
413
+ function wpbc_ajx_booking__ui_click_save__duplicate_booking( this_el, booking_action, el_id ){
414
+
415
+ wpbc_ajx_booking_ajax_action_request( {
416
+ 'booking_action' : booking_action,
417
+ 'booking_id' : jQuery( '#duplicate_booking_to_other_resource__booking_id' ).val(),
418
+ 'selected_resource_id' : jQuery( '#duplicate_booking_to_other_resource__resource_select' ).val(),
419
+ 'ui_clicked_element_id': el_id
420
+ } );
421
+
422
+ wpbc_button_enable_loading_icon( this_el );
423
+
424
+ // wpbc_ajx_booking__ui_click_close__change_resource();
425
+ }
426
+
427
+ function wpbc_ajx_booking__ui_click_close__duplicate_booking(){
428
+
429
+ var cbrce;
430
+
431
+ // Get Resource section
432
+ cbrce = jQuery("#duplicate_booking_to_other_resource__section").detach();
433
+
434
+ // Append it to hidden HTML template section at the bottom of the page
435
+ cbrce.appendTo(jQuery("#wpbc_hidden_template__duplicate_booking_to_other_resource"));
436
+ cbrce = null;
437
+
438
+ // Hide all change booking resources sections
439
+ jQuery(".ui__duplicate_booking_to_other_resource__section_in_booking").hide();
440
+ }
441
+
442
+ /**
443
+ * Change payment status ------------------------------------------------------------------------------------ */
444
+
445
+ function wpbc_ajx_booking__ui_click_show__set_payment_status( booking_id ){
446
+
447
+ var jSelect = jQuery( '#ui__set_payment_status__section_in_booking_' + booking_id ).find( 'select' )
448
+
449
+ var selected_pay_status = jSelect.attr( "ajx-selected-value" );
450
+
451
+ // Is it float - then it's unknown
452
+ if ( !isNaN( parseFloat( selected_pay_status ) ) ){
453
+ jSelect.find( 'option[value="1"]' ).prop( 'selected', true ); // Unknown value is '1' in select box
454
+ } else {
455
+ jSelect.find( 'option[value="' + selected_pay_status + '"]' ).prop( 'selected', true ); // Otherwise known payment status
456
+ }
457
+
458
+ // Hide sections of "Change booking resource" in all other bookings ROWs
459
+ if ( ! jQuery( "#ui__set_payment_status__section_in_booking_" + booking_id ).is(':visible') ){
460
+ jQuery( ".ui__under_actions_row__section_in_booking" ).hide();
461
+ }
462
+
463
+ // Show only "change booking resource" section for current booking
464
+ jQuery( "#ui__set_payment_status__section_in_booking_" + booking_id ).toggle();
465
+ }
466
+
467
+ function wpbc_ajx_booking__ui_click_save__set_payment_status( booking_id, this_el, booking_action, el_id ){
468
+
469
+ wpbc_ajx_booking_ajax_action_request( {
470
+ 'booking_action' : booking_action,
471
+ 'booking_id' : booking_id,
472
+ 'selected_payment_status' : jQuery( '#ui_btn_set_payment_status' + booking_id ).val(),
473
+ 'ui_clicked_element_id': el_id + '_save'
474
+ } );
475
+
476
+ wpbc_button_enable_loading_icon( this_el );
477
+
478
+ jQuery( '#' + el_id + '_cancel').hide();
479
+ //wpbc_button_enable_loading_icon( jQuery( '#' + el_id + '_cancel').get(0) );
480
+
481
+ }
482
+
483
+ function wpbc_ajx_booking__ui_click_close__set_payment_status(){
484
+ // Hide all change payment status for booking
485
+ jQuery(".ui__set_payment_status__section_in_booking").hide();
486
+ }
487
+
488
+
489
+ /**
490
+ * Change booking cost -------------------------------------------------------------------------------------- */
491
+
492
+ function wpbc_ajx_booking__ui_click_save__set_booking_cost( booking_id, this_el, booking_action, el_id ){
493
+
494
+ wpbc_ajx_booking_ajax_action_request( {
495
+ 'booking_action' : booking_action,
496
+ 'booking_id' : booking_id,
497
+ 'booking_cost' : jQuery( '#ui_btn_set_booking_cost' + booking_id + '_cost').val(),
498
+ 'ui_clicked_element_id': el_id + '_save'
499
+ } );
500
+
501
+ wpbc_button_enable_loading_icon( this_el );
502
+
503
+ jQuery( '#' + el_id + '_cancel').hide();
504
+ //wpbc_button_enable_loading_icon( jQuery( '#' + el_id + '_cancel').get(0) );
505
+
506
+ }
507
+
508
+ function wpbc_ajx_booking__ui_click_close__set_booking_cost(){
509
+ // Hide all change payment status for booking
510
+ jQuery(".ui__set_booking_cost__section_in_booking").hide();
511
+ }
512
+
513
+
514
+ /**
515
+ * Send Payment request -------------------------------------------------------------------------------------- */
516
+
517
+ function wpbc_ajx_booking__ui_click__send_payment_request(){
518
+
519
+ wpbc_ajx_booking_ajax_action_request( {
520
+ 'booking_action' : 'send_payment_request',
521
+ 'booking_id' : jQuery( '#wpbc_modal__payment_request__booking_id').val(),
522
+ 'reason_of_action' : jQuery( '#wpbc_modal__payment_request__reason_of_action').val(),
523
+ 'ui_clicked_element_id': 'wpbc_modal__payment_request__button_send'
524
+ } );
525
+ wpbc_button_enable_loading_icon( jQuery( '#wpbc_modal__payment_request__button_send' ).get( 0 ) );
526
+ }
527
+
528
+
529
+ /**
530
+ * Import Google Calendar ------------------------------------------------------------------------------------ */
531
+
532
+ function wpbc_ajx_booking__ui_click__import_google_calendar(){
533
+
534
+ wpbc_ajx_booking_ajax_action_request( {
535
+ 'booking_action' : 'import_google_calendar',
536
+ 'ui_clicked_element_id': 'wpbc_modal__import_google_calendar__button_send'
537
+
538
+ , 'booking_gcal_events_from' : jQuery( '#wpbc_modal__import_google_calendar__section #booking_gcal_events_from option:selected').val()
539
+ , 'booking_gcal_events_from_offset' : jQuery( '#wpbc_modal__import_google_calendar__section #booking_gcal_events_from_offset' ).val()
540
+ , 'booking_gcal_events_from_offset_type' : jQuery( '#wpbc_modal__import_google_calendar__section #booking_gcal_events_from_offset_type option:selected').val()
541
+
542
+ , 'booking_gcal_events_until' : jQuery( '#wpbc_modal__import_google_calendar__section #booking_gcal_events_until option:selected').val()
543
+ , 'booking_gcal_events_until_offset' : jQuery( '#wpbc_modal__import_google_calendar__section #booking_gcal_events_until_offset' ).val()
544
+ , 'booking_gcal_events_until_offset_type' : jQuery( '#wpbc_modal__import_google_calendar__section #booking_gcal_events_until_offset_type option:selected').val()
545
+
546
+ , 'booking_gcal_events_max' : jQuery( '#wpbc_modal__import_google_calendar__section #booking_gcal_events_max' ).val()
547
+ , 'booking_gcal_resource' : jQuery( '#wpbc_modal__import_google_calendar__section #wpbc_booking_resource option:selected').val()
548
+ } );
549
+ wpbc_button_enable_loading_icon( jQuery( '#wpbc_modal__import_google_calendar__section #wpbc_modal__import_google_calendar__button_send' ).get( 0 ) );
550
+ }
551
+
552
+
553
+ /**
554
+ * Export bookings to CSV ------------------------------------------------------------------------------------ */
555
+ function wpbc_ajx_booking__ui_click__export_csv( params ){
556
+
557
+ var selected_booking_id_arr = wpbc_get_selected_row_id();
558
+
559
+ wpbc_ajx_booking_ajax_action_request( {
560
+ 'booking_action' : params[ 'booking_action' ],
561
+ 'ui_clicked_element_id' : params[ 'ui_clicked_element_id' ],
562
+
563
+ 'export_type' : params[ 'export_type' ],
564
+ 'csv_export_separator' : params[ 'csv_export_separator' ],
565
+ 'csv_export_skip_fields': params[ 'csv_export_skip_fields' ],
566
+
567
+ 'booking_id' : selected_booking_id_arr.join(','),
568
+ 'search_params' : wpbc_ajx_booking_listing.search_get_all_params()
569
+ } );
570
+
571
+ var this_el = jQuery( '#' + params[ 'ui_clicked_element_id' ] ).get( 0 )
572
+
573
+ wpbc_button_enable_loading_icon( this_el );
574
+ }
575
+
576
+ /**
577
+ * Open URL in new tab - mainly it's used for open CSV link for downloaded exported bookings as CSV
578
+ *
579
+ * @param export_csv_url
580
+ */
581
+ function wpbc_ajx_booking__export_csv_url__download( export_csv_url ){
582
+
583
+ //var selected_booking_id_arr = wpbc_get_selected_row_id();
584
+
585
+ document.location.href = export_csv_url;// + '&selected_id=' + selected_booking_id_arr.join(',');
586
+
587
+ // It's open additional dialog for asking opening ulr in new tab
588
+ // window.open( export_csv_url, '_blank').focus();
589
+ }
includes/page-bookings/_src/bookings__hooks.js ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+
3
+ /**
4
+ * Define HTML ui Hooks: on KeyUp | Change | -> Sort Order & Number Items / Page
5
+ * * We are chnaged it once, because such elements always the same
6
+ */
7
+ function wpbc_ajx_booking_define_ui_hooks_once(){
8
+
9
+ //------------------------------------------------------------------------------------------------------------------
10
+ // Booked dates
11
+ //------------------------------------------------------------------------------------------------------------------
12
+ jQuery( '#wh_booking_date' ).on( 'change', function( event ){
13
+
14
+ var changed_value = JSON.parse( jQuery( '#wh_booking_date' ).val() );
15
+
16
+ wpbc_ajx_booking_send_search_request_with_params( {
17
+ 'wh_booking_date': changed_value,
18
+ 'page_num' : 1,
19
+ // Frontend selected elements (saving for future use, after F5)
20
+ 'ui_wh_booking_date_radio' : jQuery( 'input[name="ui_wh_booking_date_radio"]:checked' ).val(),
21
+ 'ui_wh_booking_date_next' : jQuery( '#ui_wh_booking_date_next' ).val(),
22
+ 'ui_wh_booking_date_prior' : jQuery( '#ui_wh_booking_date_prior' ).val(),
23
+ 'ui_wh_booking_date_checkin' : jQuery( '#ui_wh_booking_date_checkin' ).val(),
24
+ 'ui_wh_booking_date_checkout': jQuery( '#ui_wh_booking_date_checkout' ).val()
25
+ } );
26
+ } );
27
+
28
+ //------------------------------------------------------------------------------------------------------------------
29
+ // Approved | Pending | All
30
+ //------------------------------------------------------------------------------------------------------------------
31
+ jQuery( '#wh_approved' ).on( 'change', function( event ){
32
+
33
+ var changed_value = jQuery( '#wh_approved' ).val();
34
+
35
+ changed_value = JSON.parse( changed_value );
36
+
37
+ wpbc_ajx_booking_send_search_request_with_params( {
38
+ 'wh_approved': changed_value[ 0 ],
39
+ 'page_num' : 1
40
+ } );
41
+ } );
42
+
43
+ //------------------------------------------------------------------------------------------------------------------
44
+ // Keywords
45
+ //------------------------------------------------------------------------------------------------------------------
46
+ jQuery( '#wpbc_search_field' ).on( "keyup", function ( event ){
47
+ if ( 13 !== event.which ){
48
+ wpbc_ajx_booking_searching_after_few_seconds( '#wpbc_search_field' ); // Searching after 1.5 seconds after Key Up
49
+ } else {
50
+ wpbc_ajx_booking_searching_after_few_seconds( '#wpbc_search_field', 0 ); // Immediate search
51
+ }
52
+ } );
53
+
54
+ //------------------------------------------------------------------------------------------------------------------
55
+ // Existing | Trash | Any
56
+ //------------------------------------------------------------------------------------------------------------------
57
+ jQuery( '#wh_trash' ).on( 'change', function( event ){
58
+
59
+ var changed_value = JSON.parse( jQuery( '#wh_trash' ).val() );
60
+
61
+ wpbc_ajx_booking_send_search_request_with_params( {
62
+ 'wh_trash': changed_value[ 0 ],
63
+ 'page_num': 1
64
+ } );
65
+ } );
66
+
67
+ //------------------------------------------------------------------------------------------------------------------
68
+ // All bookings | New bookings
69
+ //------------------------------------------------------------------------------------------------------------------
70
+ jQuery( '#wh_what_bookings' ).on( 'change', function( event ){
71
+
72
+ var changed_value = JSON.parse( jQuery( '#wh_what_bookings' ).val() );
73
+
74
+ wpbc_ajx_booking_send_search_request_with_params( {
75
+ 'wh_what_bookings': changed_value[ 0 ],
76
+ 'page_num': 1
77
+ } );
78
+ } );
79
+
80
+ //------------------------------------------------------------------------------------------------------------------
81
+ // "Creation Date" of bookings
82
+ //------------------------------------------------------------------------------------------------------------------
83
+ jQuery( '#wh_modification_date' ).on( 'change', function( event ){
84
+
85
+ var changed_value = JSON.parse( jQuery( '#wh_modification_date' ).val() );
86
+
87
+ wpbc_ajx_booking_send_search_request_with_params( {
88
+ 'wh_modification_date': changed_value,
89
+ 'page_num' : 1,
90
+ // Frontend selected elements (saving for future use, after F5)
91
+ 'ui_wh_modification_date_radio' : jQuery( 'input[name="ui_wh_modification_date_radio"]:checked' ).val(),
92
+ 'ui_wh_modification_date_prior' : jQuery( '#ui_wh_modification_date_prior' ).val(),
93
+ 'ui_wh_modification_date_checkin' : jQuery( '#ui_wh_modification_date_checkin' ).val(),
94
+ 'ui_wh_modification_date_checkout': jQuery( '#ui_wh_modification_date_checkout' ).val()
95
+ } );
96
+ } );
97
+
98
+ //------------------------------------------------------------------------------------------------------------------
99
+ // Payment Status
100
+ //------------------------------------------------------------------------------------------------------------------
101
+ jQuery( '#wh_pay_status' ).on( 'change', function( event ){
102
+
103
+ var changed_value = JSON.parse( jQuery( '#wh_pay_status' ).val() );
104
+
105
+ wpbc_ajx_booking_send_search_request_with_params( {
106
+ 'wh_pay_status': changed_value,
107
+ 'page_num' : 1,
108
+ // Frontend selected elements (saving for future use, after F5)
109
+ 'ui_wh_pay_status_radio' : ( ( undefined === jQuery( 'input[name="ui_wh_pay_status_radio"]:checked' ).val() )
110
+ ? ''
111
+ : jQuery( 'input[name="ui_wh_pay_status_radio"]:checked' ).val()
112
+ ),
113
+ 'ui_wh_pay_status_custom': jQuery( '#ui_wh_pay_status_custom' ).val()
114
+ } );
115
+
116
+
117
+ } );
118
+
119
+ //------------------------------------------------------------------------------------------------------------------
120
+ // Min Cost
121
+ //------------------------------------------------------------------------------------------------------------------
122
+ jQuery( '#wh_cost' ).on( 'change', function( event ){
123
+
124
+ var changed_value = jQuery( '#wh_cost' ).val();
125
+
126
+ wpbc_ajx_booking_send_search_request_with_params( {
127
+ 'wh_cost' : changed_value,
128
+ 'page_num': 1
129
+ } );
130
+ } );
131
+
132
+ //------------------------------------------------------------------------------------------------------------------
133
+ // Max Cost
134
+ //------------------------------------------------------------------------------------------------------------------
135
+ jQuery( '#wh_cost2' ).on( 'change', function( event ){
136
+
137
+ var changed_value = jQuery( '#wh_cost2' ).val();
138
+
139
+ wpbc_ajx_booking_send_search_request_with_params( {
140
+ 'wh_cost2' : changed_value,
141
+ 'page_num': 1
142
+ } );
143
+ } );
144
+
145
+ //------------------------------------------------------------------------------------------------------------------
146
+ // Booking resources
147
+ //------------------------------------------------------------------------------------------------------------------
148
+ jQuery( '#wh_booking_type' ).on( 'change', function( event ){
149
+
150
+ var changed_value = jQuery( '#wh_booking_type' ).val(); // it's get as array
151
+ if ( ( Array.isArray( changed_value ) ) && ( 0 === changed_value.length ) ){
152
+ changed_value = ['-1'];
153
+ }
154
+ wpbc_ajx_booking_send_search_request_with_params( {
155
+ 'wh_booking_type' : changed_value,
156
+ 'page_num': 1
157
+ } );
158
+ } );
159
+
160
+
161
+ //------------------------------------------------------------------------------------------------------------------
162
+ // Sorting
163
+ //------------------------------------------------------------------------------------------------------------------
164
+ jQuery( '#wh_sort' ).on( 'change', function( event ){
165
+
166
+ var changed_value = jQuery( '#wh_sort' ).val();
167
+
168
+ changed_value = JSON.parse( changed_value );
169
+
170
+ wpbc_ajx_booking_send_search_request_with_params( {
171
+ 'wh_sort': changed_value[ 0 ]
172
+ } );
173
+ } );
174
+
175
+ }
176
+
177
+ jQuery(document).ready(function(){
178
+ wpbc_ajx_booking_define_ui_hooks_once();
179
+ });
includes/page-bookings/_src/bookings__listing.js ADDED
@@ -0,0 +1,534 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+
3
+ jQuery('body').on({
4
+ 'touchmove': function(e) {
5
+
6
+ jQuery( '.timespartly' ).each( function ( index ){
7
+
8
+ var td_el = jQuery( this ).get( 0 );
9
+
10
+ if ( (undefined != td_el._tippy) ){
11
+
12
+ var instance = td_el._tippy;
13
+ instance.hide();
14
+ }
15
+ } );
16
+ }
17
+ });
18
+
19
+ /**
20
+ * Request Object
21
+ * Here we can define Search parameters and Update it later, when some parameter was changed
22
+ *
23
+ */
24
+ var wpbc_ajx_booking_listing = (function ( obj, $) {
25
+
26
+ // Secure parameters for Ajax ------------------------------------------------------------------------------------
27
+ var p_secure = obj.security_obj = obj.security_obj || {
28
+ user_id: 0,
29
+ nonce : '',
30
+ locale : ''
31
+ };
32
+
33
+ obj.set_secure_param = function ( param_key, param_val ) {
34
+ p_secure[ param_key ] = param_val;
35
+ };
36
+
37
+ obj.get_secure_param = function ( param_key ) {
38
+ return p_secure[ param_key ];
39
+ };
40
+
41
+
42
+ // Listing Search parameters ------------------------------------------------------------------------------------
43
+ var p_listing = obj.search_request_obj = obj.search_request_obj || {
44
+ sort : "booking_id",
45
+ sort_type : "DESC",
46
+ page_num : 1,
47
+ page_items_count: 10,
48
+ create_date : "",
49
+ keyword : "",
50
+ source : ""
51
+ };
52
+
53
+ obj.search_set_all_params = function ( request_param_obj ) {
54
+ p_listing = request_param_obj;
55
+ };
56
+
57
+ obj.search_get_all_params = function () {
58
+ return p_listing;
59
+ };
60
+
61
+ obj.search_get_param = function ( param_key ) {
62
+ return p_listing[ param_key ];
63
+ };
64
+
65
+ obj.search_set_param = function ( param_key, param_val ) {
66
+ // if ( Array.isArray( param_val ) ){
67
+ // param_val = JSON.stringify( param_val );
68
+ // }
69
+ p_listing[ param_key ] = param_val;
70
+ };
71
+
72
+ obj.search_set_params_arr = function( params_arr ){
73
+ _.each( params_arr, function ( p_val, p_key, p_data ){ // Define different Search parameters for request
74
+ this.search_set_param( p_key, p_val );
75
+ } );
76
+ }
77
+
78
+
79
+ // Other parameters ------------------------------------------------------------------------------------
80
+ var p_other = obj.other_obj = obj.other_obj || { };
81
+
82
+ obj.set_other_param = function ( param_key, param_val ) {
83
+ p_other[ param_key ] = param_val;
84
+ };
85
+
86
+ obj.get_other_param = function ( param_key ) {
87
+ return p_other[ param_key ];
88
+ };
89
+
90
+
91
+ return obj;
92
+ }( wpbc_ajx_booking_listing || {}, jQuery ));
93
+
94
+
95
+ /**
96
+ * Ajax ------------------------------------------------------------------------------------------------------ */
97
+
98
+ /**
99
+ * Send Ajax search request
100
+ * for searching specific Keyword and other params
101
+ */
102
+ function wpbc_ajx_booking_ajax_search_request(){
103
+
104
+ console.groupCollapsed('AJX_BOOKING_LISTING'); console.log( ' == Before Ajax Send - search_get_all_params() == ' , wpbc_ajx_booking_listing.search_get_all_params() );
105
+
106
+ wpbc_booking_listing_reload_button__spin_start();
107
+
108
+ /*
109
+ //FixIn: forVideo
110
+ if ( ! is_this_action ){
111
+ //wpbc_ajx_booking__actual_listing__hide();
112
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html(
113
+ '<div style="width:100%;text-align: center;" id="wpbc_loading_section"><span class="wpbc_icn_autorenew wpbc_spin"></span></div>'
114
+ + jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html()
115
+ );
116
+ if ( 'function' === typeof (jQuery( '#wpbc_loading_section' ).wpbc_my_modal) ){ //FixIn: 9.0.1.5
117
+ jQuery( '#wpbc_loading_section' ).wpbc_my_modal( 'show' );
118
+ } else {
119
+ alert( 'Warning! Booking Calendar. Its seems that you have deactivated loading of Bootstrap JS files at Booking Settings General page in Advanced section.' )
120
+ }
121
+ }
122
+ is_this_action = false;
123
+ */
124
+ // Start Ajax
125
+ jQuery.post( wpbc_global1.wpbc_ajaxurl,
126
+ {
127
+ action : 'WPBC_AJX_BOOKING_LISTING',
128
+ wpbc_ajx_user_id: wpbc_ajx_booking_listing.get_secure_param( 'user_id' ),
129
+ nonce : wpbc_ajx_booking_listing.get_secure_param( 'nonce' ),
130
+ wpbc_ajx_locale : wpbc_ajx_booking_listing.get_secure_param( 'locale' ),
131
+
132
+ search_params : wpbc_ajx_booking_listing.search_get_all_params()
133
+ },
134
+ /**
135
+ * S u c c e s s
136
+ *
137
+ * @param response_data - its object returned from Ajax - class-live-searcg.php
138
+ * @param textStatus - 'success'
139
+ * @param jqXHR - Object
140
+ */
141
+ function ( response_data, textStatus, jqXHR ) {
142
+ //FixIn: forVideo
143
+ //jQuery( '#wpbc_loading_section' ).wpbc_my_modal( 'hide' );
144
+
145
+ console.log( ' == Response WPBC_AJX_BOOKING_LISTING == ', response_data ); console.groupEnd();
146
+ // Probably Error
147
+ if ( (typeof response_data !== 'object') || (response_data === null) ){
148
+ jQuery( '#wh_sort_selector' ).hide();
149
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html(
150
+ '<div class="wpbc-settings-notice notice-warning" style="text-align:left">' +
151
+ response_data +
152
+ '</div>'
153
+ );
154
+ return;
155
+ }
156
+
157
+ // Reload page, after filter toolbar was reseted
158
+ if ( ( undefined != response_data[ 'ajx_cleaned_params' ])
159
+ && ( 'reset_done' === response_data[ 'ajx_cleaned_params' ][ 'ui_reset' ])
160
+ ){
161
+ location.reload();
162
+ return;
163
+ }
164
+
165
+ // Show listing
166
+ if ( response_data[ 'ajx_count' ] > 0 ){
167
+
168
+ wpbc_ajx_booking_show_listing( response_data[ 'ajx_items' ], response_data[ 'ajx_search_params' ], response_data[ 'ajx_booking_resources' ] );
169
+
170
+ wpbc_pagination_echo(
171
+ wpbc_ajx_booking_listing.get_other_param( 'pagination_container' ),
172
+ {
173
+ 'page_active': response_data[ 'ajx_search_params' ][ 'page_num' ],
174
+ 'pages_count': Math.ceil( response_data[ 'ajx_count' ] / response_data[ 'ajx_search_params' ][ 'page_items_count' ] ),
175
+
176
+ 'page_items_count': response_data[ 'ajx_search_params' ][ 'page_items_count' ],
177
+ 'sort_type' : response_data[ 'ajx_search_params' ][ 'sort_type' ]
178
+ }
179
+ );
180
+ wpbc_ajx_booking_define_ui_hooks(); // Redefine Hooks, because we show new DOM elements
181
+
182
+ } else {
183
+
184
+ wpbc_ajx_booking__actual_listing__hide();
185
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html(
186
+ '<div class="wpbc-settings-notice0 notice-warning0" style="text-align:center;margin-left:-50px;">' +
187
+ '<strong>' + 'No results found for current filter options...' + '</strong>' +
188
+ //'<strong>' + 'No results found...' + '</strong>' +
189
+ '</div>'
190
+ );
191
+ }
192
+
193
+ // Update new booking count
194
+ if ( undefined !== response_data[ 'ajx_new_bookings_count' ] ){
195
+ var ajx_new_bookings_count = parseInt( response_data[ 'ajx_new_bookings_count' ] )
196
+ if (ajx_new_bookings_count>0){
197
+ jQuery( '.wpbc_badge_count' ).show();
198
+ }
199
+ jQuery( '.bk-update-count' ).html( ajx_new_bookings_count );
200
+ }
201
+
202
+ wpbc_booking_listing_reload_button__spin_pause();
203
+
204
+ jQuery( '#ajax_respond' ).html( response_data ); // For ability to show response, add such DIV element to page
205
+ }
206
+ ).fail( function ( jqXHR, textStatus, errorThrown ) { if ( window.console && window.console.log ){ console.log( 'Ajax_Error', jqXHR, textStatus, errorThrown ); }
207
+ jQuery( '#wh_sort_selector' ).hide();
208
+ var error_message = '<strong>' + 'Error!' + '</strong> ' + errorThrown ;
209
+ if ( jqXHR.responseText ){
210
+ error_message += jqXHR.responseText;
211
+ }
212
+ error_message = error_message.replace( /\n/g, "<br />" );
213
+
214
+ wpbc_ajx_booking_show_message( error_message );
215
+ })
216
+ // .done( function ( data, textStatus, jqXHR ) { if ( window.console && window.console.log ){ console.log( 'second success', data, textStatus, jqXHR ); } })
217
+ // .always( function ( data_jqXHR, textStatus, jqXHR_errorThrown ) { if ( window.console && window.console.log ){ console.log( 'always finished', data_jqXHR, textStatus, jqXHR_errorThrown ); } })
218
+ ; // End Ajax
219
+ }
220
+
221
+
222
+ /**
223
+ * Views ----------------------------------------------------------------------------------------------------- */
224
+
225
+ /**
226
+ * Show Listing Table and define gMail checkbox hooks
227
+ *
228
+ * @param json_items_arr - JSON object with Items
229
+ * @param json_search_params - JSON object with Search
230
+ */
231
+ function wpbc_ajx_booking_show_listing( json_items_arr, json_search_params, json_booking_resources ){
232
+
233
+ wpbc_ajx_define_templates__resource_manipulation( json_items_arr, json_search_params, json_booking_resources );
234
+
235
+ //console.log( 'json_items_arr' , json_items_arr, json_search_params );
236
+ jQuery( '#wh_sort_selector' ).css( "display", "flex" );
237
+ var list_header_tpl = wp.template( 'wpbc_ajx_booking_list_header' );
238
+ var list_row_tpl = wp.template( 'wpbc_ajx_booking_list_row' );
239
+
240
+
241
+ // Header
242
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html( list_header_tpl() );
243
+
244
+ // Body
245
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).append( '<div class="wpbc_selectable_body"></div>' );
246
+
247
+ // R o w s
248
+ console.groupCollapsed( 'LISTING_ROWS' ); // LISTING_ROWS
249
+ _.each( json_items_arr, function ( p_val, p_key, p_data ){
250
+ if ( 'undefined' !== typeof json_search_params[ 'keyword' ] ){ // Parameter for marking keyword with different color in a list
251
+ p_val[ '__search_request_keyword__' ] = json_search_params[ 'keyword' ];
252
+ } else {
253
+ p_val[ '__search_request_keyword__' ] = '';
254
+ }
255
+ p_val[ 'booking_resources' ] = json_booking_resources;
256
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) + ' .wpbc_selectable_body' ).append( list_row_tpl( p_val ) );
257
+ } );
258
+ console.groupEnd(); // LISTING_ROWS
259
+
260
+ wpbc_define_gmail_checkbox_selection( jQuery ); // Redefine Hooks for clicking at Checkboxes
261
+ }
262
+
263
+
264
+ /**
265
+ * Define template for changing booking resources & update it each time, when listing updating, useful for showing actual booking resources.
266
+ *
267
+ * @param json_items_arr - JSON object with Items
268
+ * @param json_search_params - JSON object with Search
269
+ * @param json_booking_resources - JSON object with Resources
270
+ */
271
+ function wpbc_ajx_define_templates__resource_manipulation( json_items_arr, json_search_params, json_booking_resources ){
272
+
273
+ // Change booking resource
274
+ var change_booking_resource_tpl = wp.template( 'wpbc_ajx_change_booking_resource' );
275
+
276
+ jQuery( '#wpbc_hidden_template__change_booking_resource' ).html(
277
+ change_booking_resource_tpl( {
278
+ 'ajx_search_params' : json_search_params,
279
+ 'ajx_booking_resources': json_booking_resources
280
+ } )
281
+ );
282
+
283
+ // Duplicate booking resource
284
+ var duplicate_booking_to_other_resource_tpl = wp.template( 'wpbc_ajx_duplicate_booking_to_other_resource' );
285
+
286
+ jQuery( '#wpbc_hidden_template__duplicate_booking_to_other_resource' ).html(
287
+ duplicate_booking_to_other_resource_tpl( {
288
+ 'ajx_search_params' : json_search_params,
289
+ 'ajx_booking_resources': json_booking_resources
290
+ } )
291
+ );
292
+ }
293
+
294
+
295
+ /**
296
+ * Show just message instead of listing and hide pagination
297
+ */
298
+ function wpbc_ajx_booking_show_message( message ){
299
+
300
+ wpbc_ajx_booking__actual_listing__hide();
301
+
302
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html(
303
+ '<div class="wpbc-settings-notice notice-warning" style="text-align:left">' +
304
+ message +
305
+ '</div>'
306
+ );
307
+ }
308
+
309
+
310
+ /**
311
+ * H o o k s - its Action/Times when need to re-Render Views ----------------------------------------------- */
312
+
313
+ /**
314
+ * Send Ajax Search Request after Updating search request parameters
315
+ *
316
+ * @param params_arr
317
+ */
318
+ function wpbc_ajx_booking_send_search_request_with_params ( params_arr ){
319
+
320
+ // Define different Search parameters for request
321
+ _.each( params_arr, function ( p_val, p_key, p_data ) {
322
+ //console.log( 'Request for: ', p_key, p_val );
323
+ wpbc_ajx_booking_listing.search_set_param( p_key, p_val );
324
+ });
325
+
326
+ // Send Ajax Request
327
+ wpbc_ajx_booking_ajax_search_request();
328
+ }
329
+
330
+ /**
331
+ * Search request for "Page Number"
332
+ * @param page_number int
333
+ */
334
+ function wpbc_ajx_booking_pagination_click( page_number ){
335
+
336
+ wpbc_ajx_booking_send_search_request_with_params( {
337
+ 'page_num': page_number
338
+ } );
339
+ }
340
+
341
+
342
+ /**
343
+ * Keyword Searching ----------------------------------------------------------------------------------------- */
344
+
345
+ /**
346
+ * Search request for "Keyword", also set current page to 1
347
+ *
348
+ * @param element_id - HTML ID of element, where was entered keyword
349
+ */
350
+ function wpbc_ajx_booking_send_search_request_for_keyword( element_id ) {
351
+
352
+ // We need to Reset page_num to 1 with each new search, because we can be at page #4, but after new search we can have totally only 1 page
353
+ wpbc_ajx_booking_send_search_request_with_params( {
354
+ 'keyword' : jQuery( element_id ).val(),
355
+ 'page_num': 1
356
+ } );
357
+ }
358
+
359
+ /**
360
+ * Send search request after few seconds (usually after 1,5 sec)
361
+ * Closure function. Its useful, for do not send too many Ajax requests, when someone make fast typing.
362
+ */
363
+ var wpbc_ajx_booking_searching_after_few_seconds = function (){
364
+
365
+ var closed_timer = 0;
366
+
367
+ return function ( element_id, timer_delay ){
368
+
369
+ // Get default value of "timer_delay", if parameter was not passed into the function.
370
+ timer_delay = typeof timer_delay !== 'undefined' ? timer_delay : 1500;
371
+
372
+ clearTimeout( closed_timer ); // Clear previous timer
373
+
374
+ // Start new Timer
375
+ closed_timer = setTimeout( wpbc_ajx_booking_send_search_request_for_keyword.bind( null, element_id ), timer_delay );
376
+ }
377
+ }();
378
+
379
+
380
+ /**
381
+ * Define Dynamic Hooks (like pagination click, which renew each time with new listing showing) ------------- */
382
+
383
+ /**
384
+ * Define HTML ui Hooks: on KeyUp | Change | -> Sort Order & Number Items / Page
385
+ * We are hcnaged it each time, when showing new listing, because DOM elements chnaged
386
+ */
387
+ function wpbc_ajx_booking_define_ui_hooks(){
388
+
389
+ if ( 'function' === typeof( wpbc_define_tippy_tooltips ) ) {
390
+ wpbc_define_tippy_tooltips( '.wpbc_listing_container ' );
391
+ }
392
+
393
+ wpbc_ajx_booking__ui_define__locale();
394
+ wpbc_ajx_booking__ui_define__remark();
395
+
396
+ // Items Per Page
397
+ jQuery( '.wpbc_items_per_page' ).on( 'change', function( event ){
398
+
399
+ wpbc_ajx_booking_send_search_request_with_params( {
400
+ 'page_items_count' : jQuery( this ).val(),
401
+ 'page_num': 1
402
+ } );
403
+ } );
404
+
405
+ // Sorting
406
+ jQuery( '.wpbc_items_sort_type' ).on( 'change', function( event ){
407
+
408
+ wpbc_ajx_booking_send_search_request_with_params( {'sort_type': jQuery( this ).val()} );
409
+ } );
410
+ }
411
+
412
+
413
+ /**
414
+ * Show / Hide Listing --------------------------------------------------------------------------------------- */
415
+
416
+ /**
417
+ * Show Listing Table - Sending Ajax Request - with parameters that we early defined in "wpbc_ajx_booking_listing" Obj.
418
+ */
419
+ function wpbc_ajx_booking__actual_listing__show(){
420
+
421
+ wpbc_ajx_booking_ajax_search_request(); // Send Ajax Request - with parameters that we early defined in "wpbc_ajx_booking_listing" Obj.
422
+ }
423
+
424
+ /**
425
+ * Hide Listing Table ( and Pagination )
426
+ */
427
+ function wpbc_ajx_booking__actual_listing__hide(){
428
+ jQuery( '#wh_sort_selector' ).hide();
429
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'listing_container' ) ).html( '' );
430
+ jQuery( wpbc_ajx_booking_listing.get_other_param( 'pagination_container' ) ).html( '' );
431
+ }
432
+
433
+
434
+ /**
435
+ * Support functions for Content Template data --------------------------------------------------------------- */
436
+
437
+ /**
438
+ * Highlight strings,
439
+ * by inserting <span class="fieldvalue name fieldsearchvalue">...</span> html elements into the string.
440
+ * @param {string} booking_details - Source string
441
+ * @param {string} booking_keyword - Keyword to highlight
442
+ * @returns {string}
443
+ */
444
+ function wpbc_get_highlighted_search_keyword( booking_details, booking_keyword ){
445
+
446
+ booking_keyword = booking_keyword.trim().toLowerCase();
447
+ if ( 0 == booking_keyword.length ){
448
+ return booking_details;
449
+ }
450
+
451
+ // Highlight substring withing HTML tags in "Content of booking fields data" -- e.g. starting from > and ending with <
452
+ let keywordRegex = new RegExp( `fieldvalue[^<>]*>([^<]*${booking_keyword}[^<]*)`, 'gim' );
453
+
454
+ //let matches = [...booking_details.toLowerCase().matchAll( keywordRegex )];
455
+ let matches = booking_details.toLowerCase().matchAll( keywordRegex );
456
+ matches = Array.from( matches );
457
+
458
+ let strings_arr = [];
459
+ let pos_previous = 0;
460
+ let search_pos_start;
461
+ let search_pos_end;
462
+
463
+ for ( const match of matches ){
464
+
465
+ search_pos_start = match.index + match[ 0 ].toLowerCase().indexOf( '>', 0 ) + 1 ;
466
+
467
+ strings_arr.push( booking_details.substr( pos_previous, (search_pos_start - pos_previous) ) );
468
+
469
+ search_pos_end = booking_details.toLowerCase().indexOf( '<', search_pos_start );
470
+
471
+ strings_arr.push( '<span class="fieldvalue name fieldsearchvalue">' + booking_details.substr( search_pos_start, (search_pos_end - search_pos_start) ) + '</span>' );
472
+
473
+ pos_previous = search_pos_end;
474
+ }
475
+
476
+ strings_arr.push( booking_details.substr( pos_previous, (booking_details.length - pos_previous) ) );
477
+
478
+ return strings_arr.join( '' );
479
+ }
480
+
481
+ /**
482
+ * Convert special HTML characters from: &amp; -> &
483
+ *
484
+ * @param text
485
+ * @returns {*}
486
+ */
487
+ function wpbc_decode_HTML_entities( text ){
488
+ var textArea = document.createElement( 'textarea' );
489
+ textArea.innerHTML = text;
490
+ return textArea.value;
491
+ }
492
+
493
+ /**
494
+ * Convert TO special HTML characters from: & -> &amp;
495
+ *
496
+ * @param text
497
+ * @returns {*}
498
+ */
499
+ function wpbc_encode_HTML_entities(text) {
500
+ var textArea = document.createElement('textarea');
501
+ textArea.innerText = text;
502
+ return textArea.innerHTML;
503
+ }
504
+
505
+
506
+ /**
507
+ * Support Functions - Spin Icon in Buttons ------------------------------------------------------------------ */
508
+
509
+ /**
510
+ * Spin button in Filter toolbar - Start
511
+ */
512
+ function wpbc_booking_listing_reload_button__spin_start(){
513
+ jQuery( '#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin').removeClass( 'wpbc_animation_pause' );
514
+ }
515
+
516
+ /**
517
+ * Spin button in Filter toolbar - Pause
518
+ */
519
+ function wpbc_booking_listing_reload_button__spin_pause(){
520
+ jQuery( '#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin' ).addClass( 'wpbc_animation_pause' );
521
+ }
522
+
523
+ /**
524
+ * Spin button in Filter toolbar - is Spinning ?
525
+ *
526
+ * @returns {boolean}
527
+ */
528
+ function wpbc_booking_listing_reload_button__is_spin(){
529
+ if ( jQuery( '#wpbc_booking_listing_reload_button .menu_icon.wpbc_spin' ).hasClass( 'wpbc_animation_pause' ) ){
530
+ return true;
531
+ } else {
532
+ return false;
533
+ }
534
+ }
includes/page-bookings/bookings__actions.php ADDED
@@ -0,0 +1,3688 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php /**
2
+ * @version 1.0
3
+ * @description AJX_Bookings
4
+ * @category AJX_Bookings Actions
5
+ * @author wpdevelop
6
+ *
7
+ * @web-site http://oplugins.com/
8
+ * @email info@oplugins.com
9
+ *
10
+ * @modified 2022-06-10
11
+ */
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
+
15
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
16
+ // Main Ajax handler
17
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
18
+
19
+ /**
20
+ * Ajax Actions - Get Listing Data and Response to JS script
21
+ */
22
+ function wpbc_ajax_WPBC_AJX_BOOKING_ACTIONS() {
23
+
24
+ if ( ! isset( $_POST['action_params'] ) || empty( $_POST['action_params'] ) ) {
25
+ exit;
26
+ }
27
+
28
+ $ajax_errors = new WPBC_AJAX_ERROR_CATCHING();
29
+
30
+ // Security ----------------------------------------------------------------------------------------------- // in Ajax Post: 'nonce': wpbc_ajx_booking_listing.get_secure_param( 'nonce' ),
31
+ $action_name = 'wpbc_ajx_booking_listing_ajx' . '_wpbcnonce';
32
+ $nonce_post_key = 'nonce';
33
+ $result_check = check_ajax_referer( $action_name, $nonce_post_key );
34
+
35
+ $user_id = ( isset( $_REQUEST['wpbc_ajx_user_id'] ) ) ? intval( $_REQUEST['wpbc_ajx_user_id'] ) : get_current_user_id();
36
+
37
+ // Get clean Parameters for SQL ---------------------------------------------------------------------------
38
+ $request_prefix = 'action_params';
39
+
40
+ $request_params = wpbc_esc_get__value_or_default__in_request(
41
+ array(
42
+ 'booking_action' => array( 'validate' => array(
43
+ 'set_booking_locale',
44
+ 'set_booking_pending' ,
45
+ 'set_booking_approved',
46
+ 'move_booking_to_trash',
47
+ 'restore_booking_from_trash',
48
+ 'delete_booking_completely',
49
+ 'set_booking_as_read',
50
+ 'set_booking_as_unread',
51
+ 'empty_trash',
52
+ 'set_booking_note',
53
+ 'change_booking_resource',
54
+ 'duplicate_booking_to_other_resource',
55
+ 'set_payment_status',
56
+ 'set_booking_cost',
57
+ 'send_payment_request',
58
+ 'import_google_calendar',
59
+ 'export_csv'
60
+
61
+ ), 'default' => '' ),
62
+ 'booking_id' => array( 'validate' => 'digit_or_csd', 'default' => 0 ),
63
+ 'selected_resource_id' => array( 'validate' => 'd', 'default' => 0 ),
64
+ 'booking_meta_locale' => array( 'validate' => 's', 'default' => '' ),
65
+ 'reason_of_action' => array( 'validate' => 's', 'default' => '' ),
66
+ 'remark' => array( 'validate' => 's', 'default' => '' ),
67
+ 'ui_clicked_element_id' => array( 'validate' => 's', 'default' => '' ),
68
+ 'selected_payment_status' => array( 'validate' => 's', 'default' => '' ),
69
+ 'booking_cost' => array( 'validate' => 's', 'default' => '' ),
70
+
71
+ 'export_type' => array( 'validate' => array( 'csv_all', 'csv_page' ), 'default' => 'csv_page' ),
72
+ 'csv_export_separator' => array( 'validate' => array( 'semicolon', 'comma' ), 'default' => ';' ),
73
+ 'csv_export_skip_fields' => array( 'validate' => 's', 'default' => '' ),
74
+
75
+ 'booking_gcal_events_from' => array( 'validate' => 's', 'default' => '' ),
76
+ 'booking_gcal_events_from_offset' => array( 'validate' => 's', 'default' => '' ),
77
+ 'booking_gcal_events_from_offset_type' => array( 'validate' => 's', 'default' => '' ),
78
+ 'booking_gcal_events_until' => array( 'validate' => 's', 'default' => '' ),
79
+ 'booking_gcal_events_until_offset' => array( 'validate' => 's', 'default' => '' ),
80
+ 'booking_gcal_events_until_offset_type' => array( 'validate' => 's', 'default' => '' ),
81
+ 'booking_gcal_events_max' => array( 'validate' => 'd', 'default' => 25 ),
82
+ 'booking_gcal_resource' => array( 'validate' => 's', 'default' => '' )
83
+
84
+ ), $request_prefix
85
+ );
86
+
87
+ $action_result = array();
88
+
89
+ switch ( $request_params['booking_action'] ) {
90
+
91
+ case 'set_booking_locale':
92
+ $action_result = wpbc_booking_do_action__set_booking_locale( $request_params['booking_id']
93
+ , array(
94
+ 'user_id' => $user_id,
95
+ 'booking_locale' => $request_params['booking_meta_locale']
96
+ )
97
+ );
98
+ break;
99
+
100
+ case 'set_booking_pending': // Pending
101
+ $action_result = wpbc_booking_do_action__set_booking_approved_or_pending( $request_params['booking_id']
102
+ , array(
103
+ 'user_id' => $user_id,
104
+ 'reason_of_action' => $request_params['reason_of_action'],
105
+ 'is_approve' => '0'
106
+ )
107
+ );
108
+ break;
109
+
110
+ case 'set_booking_approved': // Approve
111
+ $action_result = wpbc_booking_do_action__set_booking_approved_or_pending( $request_params['booking_id']
112
+ , array(
113
+ 'user_id' => $user_id,
114
+ 'reason_of_action' => $request_params['reason_of_action'],
115
+ 'is_approve' => '1'
116
+ )
117
+ );
118
+ break;
119
+
120
+ case 'move_booking_to_trash': // Approve
121
+ $action_result = wpbc_booking_do_action__trash_booking_or_restore( $request_params['booking_id']
122
+ , array(
123
+ 'user_id' => $user_id,
124
+ 'reason_of_action' => $request_params['reason_of_action'],
125
+ 'is_trash' => '1'
126
+ )
127
+ );
128
+ break;
129
+
130
+ case 'restore_booking_from_trash':
131
+ $action_result = wpbc_booking_do_action__trash_booking_or_restore( $request_params['booking_id']
132
+ , array(
133
+ 'user_id' => $user_id,
134
+ 'reason_of_action' => $request_params['reason_of_action'],
135
+ 'is_trash' => '0'
136
+ )
137
+ );
138
+ break;
139
+
140
+ case 'delete_booking_completely':
141
+ $action_result = wpbc_booking_do_action__delete_booking_completely( $request_params['booking_id']
142
+ , array(
143
+ 'user_id' => $user_id,
144
+ 'reason_of_action' => $request_params['reason_of_action'],
145
+ )
146
+ );
147
+ break;
148
+
149
+ case 'set_booking_as_read':
150
+ $action_result = wpbc_booking_do_action__set_booking_as_read_unread( $request_params['booking_id']
151
+ , array(
152
+ 'user_id' => $user_id,
153
+ 'is_new' => '0'
154
+ )
155
+ );
156
+ break;
157
+
158
+ case 'set_booking_as_unread':
159
+ $action_result = wpbc_booking_do_action__set_booking_as_read_unread( $request_params['booking_id']
160
+ , array(
161
+ 'user_id' => $user_id,
162
+ 'is_new' => '1'
163
+ )
164
+ );
165
+ break;
166
+
167
+ case 'empty_trash':
168
+ $action_result = wpbc_booking_do_action__empty_trash( array(
169
+ 'user_id' => $user_id
170
+ ) );
171
+ break;
172
+
173
+ case 'set_booking_note':
174
+ $action_result = wpbc_booking_do_action__set_booking_note( $request_params['booking_id']
175
+ , array(
176
+ 'user_id' => $user_id,
177
+ 'remark' => $request_params['remark'],
178
+ )
179
+ );
180
+ break;
181
+
182
+ case 'change_booking_resource': // Pending
183
+ $action_result = wpbc_booking_do_action__change_booking_resource( $request_params['booking_id']
184
+ , $request_params['selected_resource_id']
185
+ , array(
186
+ 'user_id' => $user_id
187
+ )
188
+ );
189
+ break;
190
+ case 'duplicate_booking_to_other_resource':
191
+ $action_result = wpbc_booking_do_action__duplicate_booking_to_other_resource( $request_params['booking_id']
192
+ , $request_params['selected_resource_id']
193
+ , array(
194
+ 'user_id' => $user_id
195
+ )
196
+ );
197
+ break;
198
+ case 'set_payment_status':
199
+ $action_result = wpbc_booking_do_action__set_payment_status( $request_params['booking_id']
200
+ , $request_params['selected_payment_status']
201
+ , array(
202
+ 'user_id' => $user_id
203
+ )
204
+ );
205
+ break;
206
+ case 'set_booking_cost':
207
+ $action_result = wpbc_booking_do_action__set_booking_cost( $request_params['booking_id']
208
+ , $request_params['booking_cost']
209
+ , array(
210
+ 'user_id' => $user_id
211
+ )
212
+ );
213
+ break;
214
+ case 'send_payment_request':
215
+ $action_result = wpbc_booking_do_action__send_payment_request( $request_params['booking_id']
216
+ , $request_params['reason_of_action']
217
+ , array(
218
+ 'user_id' => $user_id
219
+ )
220
+ );
221
+ break;
222
+
223
+ case 'import_google_calendar':
224
+ $action_result = wpbc_booking_do_action__import_google_calendar( $request_params
225
+ , array(
226
+ 'user_id' => $user_id
227
+ )
228
+ );
229
+ break;
230
+
231
+ case 'export_csv':
232
+
233
+ $action_result = wpbc_booking_do_action__export_csv( $request_params
234
+ , array(
235
+ 'user_id' => $user_id
236
+ )
237
+ );
238
+ break;
239
+
240
+ default:
241
+ }
242
+
243
+
244
+ $defaults = array(
245
+ 'new_listing_params' => false // required for Import Google Calendar bookings
246
+ , 'after_action_result' => false
247
+ , 'after_action_message' => sprintf( __('No actions %s has been processed.', 'booking')
248
+ , ' <strong>' . $request_params['booking_action'] . '</strong> ' )
249
+ );
250
+ $action_result = wp_parse_args( $action_result, $defaults );
251
+
252
+ // Check if there were some errors --------------------------------------------------------------------------------
253
+ $error_messages = $ajax_errors->get_error_messages();
254
+ if ( ! empty( $error_messages ) ) {
255
+ $action_result['after_action_message'] .= $error_messages;
256
+ }
257
+
258
+ //------------------------------------------------------------------------------------------------------------------
259
+ // Send JSON. Its will make "wp_json_encode" - so pass only array, and This function call wp_die( '', '', array( 'response' => null, ) ) Pass JS OBJ: response_data in "jQuery.post( " function on success.
260
+ wp_send_json( array(
261
+ 'ajx_action_params' => $_REQUEST['action_params'], // Do not clean input parameters
262
+ 'ajx_cleaned_params' => $request_params, // Cleaned input parameters
263
+ 'ajx_after_action_message' => $action_result['after_action_message'], // Message to show
264
+ 'ajx_after_action_result' => (int) $action_result['after_action_result'], // Result key 0 | 1
265
+ 'ajx_after_action_result_all_params_arr' => $action_result // All result parameters
266
+ ) );
267
+ }
268
+
269
+
270
+ // <editor-fold defaultstate="collapsed" desc=" == Ajax Actions for bookings == " >
271
+
272
+ /**
273
+ * Action: set booking as Locale
274
+ *
275
+ * @param int $booking_id ID of booking 10
276
+ * @param $params
277
+ *
278
+ * @return array
279
+ */
280
+ function wpbc_booking_do_action__set_booking_locale( $booking_id, $params ){
281
+
282
+ $booking_locale = $params['booking_locale'];
283
+
284
+ // LOG ---------------------------------------------------------------------------------------------------------
285
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
286
+ wpbc_add_log_info( $booking_id,
287
+ sprintf( __( 'Booking locale changed to %s by:', 'booking' ), $booking_locale )
288
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
289
+ );
290
+
291
+ // Action ---------------------------------------------------------------------------------------------------------
292
+ $option_arr = array( 'booking_meta_locale' => $booking_locale );
293
+
294
+ $result = wpbc_save_booking_meta_option( $booking_id, $option_arr );
295
+
296
+ if ( $result ) {
297
+ $after_action_result = true;
298
+ $after_action_message = ( ( false === strpos( $booking_id, ',' ) )
299
+ ? sprintf( __( 'Booking has been changed locale to %s', 'booking' ), "<strong>{$booking_locale}</strong>" )
300
+ : sprintf( __( 'Bookings have been changed locale to %s', 'booking' ), "<strong>{$booking_locale}</strong>" )
301
+ )
302
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id . '</strong> )</span>';
303
+ } else {
304
+ $after_action_result = false;
305
+ $after_action_message = ( ( false === strpos( $booking_id, ',' ) )
306
+ ? sprintf( __( 'Booking has NOT been changed locale to %s', 'booking' ), "<strong>{$booking_locale}</strong>" )
307
+ : sprintf( __( 'Bookings have NOT been changed locale to %s', 'booking' ), "<strong>{$booking_locale}</strong>" )
308
+ )
309
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id . '</strong> )</span>';
310
+ }
311
+
312
+ return array(
313
+ 'after_action_result' => $after_action_result,
314
+ 'after_action_message' => $after_action_message
315
+ );
316
+ }
317
+
318
+ /**
319
+ * Action: Get Google Calendar Link
320
+ *
321
+ * @param $booking_data array(
322
+ 'form_data' => array( ... )
323
+ 'form_show' => ....
324
+ 'dates_short' => array( ... )
325
+ )
326
+ *
327
+ * @return string URL of encoded link for adding to Google Calendar
328
+ */
329
+ function wpbc_booking_do_action__get_google_calendar_link( $booking_data ){
330
+
331
+ $params = array();
332
+ $params['timezone'] = get_bk_option('booking_gcal_timezone');
333
+
334
+ $booking_gcal_events_form_fields = maybe_unserialize( get_bk_option( 'booking_gcal_events_form_fields') ); // array( [title]=>text^name, [description]=>textarea^details, [where]=>text^ )
335
+
336
+ // Fields ----------------------------------------------------------------------------------------------------------
337
+ $fields = array( 'title' => '', 'description' => '', 'where' => '' );
338
+
339
+ foreach ( $fields as $key_name => $field_value ) {
340
+
341
+ if ( ! empty( $booking_gcal_events_form_fields[ $key_name ] ) ) {
342
+
343
+ $field_name = explode( '^', $booking_gcal_events_form_fields[ $key_name ] );
344
+
345
+ $field_name = $field_name[ ( count( $field_name ) - 1 ) ]; //FixIn: 8.7.7.6
346
+
347
+ if ( 'description' === $key_name ) { //FixIn: 8.1.3.2
348
+
349
+ if ( isset( $booking_data['form_show'] ) ) { //FixIn: 8.7.3.14
350
+ //FixIn: 8.7.11.4
351
+ $fields[ $key_name ] = $booking_data['form_show'];
352
+ $fields[ $key_name ] = htmlspecialchars_decode($fields[ $key_name ], ENT_QUOTES );
353
+ $fields[ $key_name ] = urlencode($fields[ $key_name ]);
354
+ $fields[ $key_name ] = htmlentities($fields[ $key_name ] );
355
+ $fields[ $key_name ] = htmlspecialchars_decode ( $fields[ $key_name ], ENT_NOQUOTES );
356
+ }
357
+
358
+ } else if ( ( ! empty( $field_name ) )
359
+ && ( ! empty( $booking_data['form_data'] ) )
360
+ && ( ! empty( $booking_data['form_data'][ $field_name ] ) )
361
+ ) {
362
+ //FixIn: 8.7.11.4
363
+ $fields[ $key_name ] = $booking_data['form_data'][ $field_name ];
364
+ $fields[ $key_name ] = htmlspecialchars_decode($fields[ $key_name ], ENT_QUOTES );
365
+ /**
366
+ * // Convert here from usual symbols to URL symbols https://www.url-encode-decode.com/
367
+ $fields[ $key_name ] = str_replace( array( '%','#', '+', '&' )
368
+ , array( '%25','%23', '%2B', '%26')
369
+ , $fields[ $key_name ]
370
+ );
371
+ */
372
+ $fields[ $key_name ] = urlencode($fields[ $key_name ]);
373
+ $fields[ $key_name ] = htmlentities($fields[ $key_name ] );
374
+ $fields[ $key_name ] = htmlspecialchars_decode ( $fields[ $key_name ], ENT_NOQUOTES );
375
+ }
376
+ }
377
+ }
378
+
379
+ // Dates -----------------------------------------------------------------------------------------------------------
380
+ $check_in_timestamp = $check_out_timestamp = '';
381
+ if ( ! empty( $booking_data[ 'dates_short' ] ) ) {
382
+
383
+ /**
384
+ * All day events, you can use 20161208/20161209 - note that the old google documentation gets it wrong.
385
+ * You must use the following date as the end date for a one day all day event,
386
+ * or +1 day to whatever you want the end date to be.
387
+ */
388
+
389
+ $check_in_timestamp = strtotime( $booking_data[ 'dates_short' ][ 0 ], current_time( 'timestamp' ) );
390
+ if ( trim( substr( $booking_data[ 'dates_short' ][ 0 ], 11 ) ) == '00:00:00' ) {
391
+ $check_in_timestamp = date( "Ymd", $check_in_timestamp ); // All day
392
+ } else {
393
+ $check_in_timestamp = date( "Ymd\THis", $check_in_timestamp ); //$check_in_timestamp = date( "Ymd\THis\Z", $check_in_timestamp );
394
+ }
395
+
396
+ $check_out_timestamp = strtotime( $booking_data[ 'dates_short' ][ ( count( $booking_data[ 'dates_short' ] ) - 1 ) ], current_time( 'timestamp' ) );
397
+ if ( trim( substr( $booking_data[ 'dates_short' ][ ( count( $booking_data[ 'dates_short' ] ) - 1 ) ], 11 ) ) == '00:00:00' ) {
398
+ $check_out_timestamp = strtotime( '+1 day', $check_out_timestamp );
399
+ $check_out_timestamp = date( "Ymd", $check_out_timestamp ); // All day
400
+ } else {
401
+ $check_out_timestamp = date( "Ymd\THis", $check_out_timestamp ); //$check_out_timestamp = date( "Ymd\THis\Z", $check_out_timestamp );
402
+ }
403
+ }
404
+
405
+ // Link -----------------------------------------------------------------------------------------------------------
406
+ /**
407
+ * Convert an ISO date/time to a UNIX timestamp
408
+ function iso_to_ts( $iso ) {
409
+ sscanf( $iso, "%u-%u-%uT%u:%u:%uZ", $year, $month, $day, $hour, $minute, $second );
410
+ return mktime( $hour, $minute, $second, $month, $day, $year );
411
+ 20140127T224000Z
412
+ date("Ymd\THis\Z", time());
413
+ */
414
+
415
+ /**
416
+ * action: action=TEMPLATE
417
+ A default required parameter.
418
+
419
+ src:
420
+ Example: src=default%40gmail.com
421
+ Format: src=text
422
+ This is not covered by Google help but is an optional parameter in order to add an event to a shared calendar rather than a user's default.
423
+
424
+ text:
425
+ Example: text=Garden%20Waste%20Collection
426
+ Format: text=text
427
+ This is a required parameter giving the event title.
428
+
429
+ dates:
430
+ Example: dates=20090621T063000Z/20090621T080000Z (i.e. an event on 21 June 2009 from 7.30am to 9.0am British Summer Time (=GMT+1)).
431
+ Format: dates=YYYYMMDDToHHMMSSZ/YYYYMMDDToHHMMSSZ
432
+ This required parameter gives the start and end dates and times (in Greenwich Mean Time) for the event.
433
+
434
+ location:
435
+ Example: location=Home
436
+ Format: location=text
437
+ The obvious location field.
438
+
439
+ trp:
440
+ Example: trp=false
441
+ Format: trp=true/false
442
+ Show event as busy (true) or available (false)
443
+
444
+ sprop:
445
+ Example: sprop=http%3A%2F%2Fwww.me.org
446
+ Example: sprop=name:Home%20Page
447
+ Format: sprop=website and/or sprop=name:website_name
448
+ */
449
+
450
+ //$link_add2gcal = 'http://www.google.com/calendar/event?action=TEMPLATE';
451
+ //$link_add2gcal .= '&text=' . $fields['title'];
452
+ $link_add2gcal = 'https://calendar.google.com/calendar/r/eventedit?'; //FixIn: 8.7.3.10
453
+ $link_add2gcal .= 'text=' . $fields['title']; //FixIn: 8.7.11.4
454
+ $link_add2gcal .= '&dates=' . $check_in_timestamp . '/' . $check_out_timestamp; //$link_add2gcal .= '&dates=[start-custom format='Ymd\\THi00\\Z']/[end-custom format='Ymd\\THi00\\Z']';
455
+ $link_add2gcal .= '&details=' . $fields['description']; //FixIn: 8.7.11.4
456
+ $link_add2gcal .= '&location=' . $fields['where']; //FixIn: 8.7.11.4
457
+ $link_add2gcal .= '&trp=false';
458
+ if ( ! empty( $params['timezone'] ) ) {
459
+ $link_add2gcal .= '&ctz=' . str_replace( '%', '%25', $params['timezone'] ); //FixIn: 8.7.3.10 //TimeZone
460
+ }
461
+ //$link_add2gcal .= '&sprop=';
462
+ //$link_add2gcal .= '&sprop=name:';
463
+
464
+ return $link_add2gcal;
465
+ }
466
+
467
+ /**
468
+ * Action: move booking to Trash | Restore
469
+ *
470
+ * @param $booking_id_arr array or int of booking ID
471
+ * @param $params array array of parameters: array( 'user_id' => 1, 'reason_of_action' => 'Because...', 'is_trash' => '1' )
472
+ *
473
+ * @return array
474
+ *
475
+ * Example:
476
+ */
477
+ function wpbc_booking_do_action__trash_booking_or_restore( $booking_id_arr, $params ){
478
+
479
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
480
+
481
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
482
+ if ( ! is_array( $booking_id_arr ) ) {
483
+ $booking_id_arr = array( $booking_id_arr );
484
+ }
485
+ $booking_is_csd = join( ',', $booking_id_arr );
486
+ $booking_is_csd = wpbc_clean_digit_or_csd( $booking_is_csd );
487
+
488
+
489
+ // Get reason of action --------------------------------------------------------------------------------------------
490
+ $action_reason = $params['reason_of_action']; // stripslashes( $params['reason_of_action'] ); // translate words like don\'t to don't
491
+
492
+ // Get reason of action --------------------------------------------------------------------------------------------
493
+ $is_trash_or_restore = $params['is_trash'];
494
+
495
+ // Is send email for this action ----------------------------------------------------------------------------------
496
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
497
+
498
+
499
+ // -----------------------------------------------------------------------------------------------------------------
500
+
501
+ if ( empty( $booking_is_csd ) ) {
502
+ $after_action_result = false;
503
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
504
+
505
+ } else {
506
+ $after_action_result = true;
507
+ if ( $is_trash_or_restore == '1' ) {
508
+ $after_action_message = ( ( false === strpos( $booking_is_csd, ',' ) )
509
+ ? sprintf( __( 'Booking has been %s trashed %s', 'booking' ), '<strong>', '</strong>' )
510
+ : sprintf( __( 'Bookings have been %s trashed %s', 'booking' ) , '<strong>', '</strong>' )
511
+ )
512
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_is_csd . '</strong> )</span>';
513
+ } else {
514
+ $after_action_message = ( ( false === strpos( $booking_is_csd, ',' ) )
515
+ ? sprintf( __( 'Booking has been set as %s restored %s', 'booking' ), '<strong>', '</strong>' )
516
+ : sprintf( __( 'Bookings have been set as %s restored %s', 'booking' ), '<strong>', '</strong>' )
517
+ )
518
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_is_csd . '</strong> )</span>';
519
+ }
520
+ // SQL ---------------------------------------------------------------------------------------------------
521
+ global $wpdb;
522
+ $prepared_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}booking AS bk SET bk.trash = %s WHERE booking_id IN ({$booking_is_csd})", $is_trash_or_restore );
523
+ $after_action_result = $wpdb->query( $prepared_sql );
524
+ if ( false === $after_action_result ) {
525
+ $after_action_message = 'Error during updating to DB. File:' . __FILE__ . ' on line: ' . __LINE__;
526
+ } else {
527
+ $after_action_result = true;
528
+ }
529
+
530
+ // Update the Hash and Cost of the booking
531
+ $bk_id_arr = explode(',', $booking_is_csd ); //FixIn: 8.6.1.11
532
+ foreach ( $bk_id_arr as $bk_id ) {
533
+ make_bk_action('wpbc_update_booking_hash', $bk_id );
534
+ }
535
+
536
+ // LOG ---------------------------------------------------------------------------------------------------------
537
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
538
+ wpbc_add_log_info( explode( ',', $booking_is_csd ),
539
+ ( ( $is_trash_or_restore == '1' ) ? __( 'Trashed by:', 'booking' ) : __( 'Restored by:', 'booking' ) )
540
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
541
+ );
542
+
543
+ // :: ? :: Update 'is_new' status of bookings in Database
544
+ // wpbc_update_number_new_bookings( explode( ',', $booking_is_csd ), '0', $params['user_id'] );
545
+
546
+ // Just action hook for some other addons
547
+ do_action( 'wpbc_booking_action__trash', $booking_is_csd, $is_trash_or_restore ); //FixIn: 8.7.6.2
548
+
549
+ // Emails ------------------------------------------------------------------------------------------------------
550
+ if ( ! empty( $is_send_emeils ) ) {
551
+
552
+ if ( $is_trash_or_restore == '1' ) {
553
+ wpbc_send_email_trash( $booking_is_csd, $is_send_emeils, $action_reason );
554
+ } else {
555
+ //wpbc_send_email_approved( $booking_is_csd, $is_send_emeils, $action_reason );
556
+ //wpbc_send_email_deny( $booking_is_csd, $is_send_emeils, $action_reason );
557
+ }
558
+ }
559
+ }
560
+
561
+ return array(
562
+ 'after_action_result' => $after_action_result,
563
+ 'after_action_message' => $after_action_message
564
+ );
565
+ }
566
+
567
+ /**
568
+ * Action: set booking as Approved | Pending
569
+ *
570
+ * @param $booking_id_arr array or int of booking ID
571
+ * @param $params array array of parameters: array( 'user_id' => 1, 'reason_of_action' => 'Because...', 'is_approve' => '1' )
572
+ *
573
+ * @return array
574
+ *
575
+ * Example:
576
+ * Approved:
577
+ $action_result = wpbc_booking_do_action__set_booking_approved_or_pending( $request_params['booking_id']
578
+ , array(
579
+ 'user_id' => $user_id,
580
+ 'reason_of_action' => $request_params['reason_of_action'],
581
+ 'is_approve' => '1'
582
+ )
583
+ );
584
+ * Pending:
585
+ $action_result = wpbc_booking_do_action__set_booking_approved_or_pending( $request_params['booking_id']
586
+ , array(
587
+ 'user_id' => $user_id,
588
+ 'reason_of_action' => $request_params['reason_of_action'],
589
+ 'is_approve' => '0'
590
+ )
591
+ );
592
+ */
593
+ function wpbc_booking_do_action__set_booking_approved_or_pending( $booking_id_arr, $params ){
594
+
595
+ /**
596
+ *
597
+ * For creation of new bookings or editing use something like this:
598
+ *
599
+ // Be sure to make load in Booking Listing this: wp_enqueue_script( 'wpbc-main-client', wpbc_plugin_url( '/js/client.js' ), array( 'wpbc-datepick' ), WP_BK_VERSION_NUM );
600
+ new wpdev_booking(); // Define ability to work with shortcodes
601
+ $return_sh = do_shortcode('[booking type=1 nummonths=2]');
602
+ wp_send_json($return_sh); // Send calendar
603
+ */
604
+
605
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
606
+
607
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
608
+ if ( ! is_array( $booking_id_arr ) ) {
609
+ $booking_id_arr = array( $booking_id_arr );
610
+ }
611
+ $booking_id_csd = join( ',', $booking_id_arr );
612
+ $booking_id_csd = wpbc_clean_digit_or_csd( $booking_id_csd );
613
+
614
+
615
+ // Get reason of action --------------------------------------------------------------------------------------------
616
+ $action_reason = $params['reason_of_action']; // stripslashes( $params['reason_of_action'] ); // translate words like don\'t to don't
617
+
618
+ // Get reason of action --------------------------------------------------------------------------------------------
619
+ $is_approve_or_pending = $params['is_approve'];
620
+
621
+ // Is send email for this action ----------------------------------------------------------------------------------
622
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
623
+
624
+
625
+ // -----------------------------------------------------------------------------------------------------------------
626
+
627
+ if ( empty( $booking_id_csd ) ) {
628
+ $after_action_result = false;
629
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
630
+
631
+ } else {
632
+ $after_action_result = true;
633
+ if ( $is_approve_or_pending == '1' ) {
634
+ $after_action_message = ( ( false === strpos( $booking_id_csd, ',' ) )
635
+ ? sprintf( __( 'Booking has been %s approved %s', 'booking' ), '<strong>', '</strong>' )
636
+ : sprintf( __( 'Bookings have been %s approved %s', 'booking' ) , '<strong>', '</strong>' )
637
+ )
638
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id_csd . '</strong> )</span>';
639
+ } else {
640
+ $after_action_message = ( ( false === strpos( $booking_id_csd, ',' ) )
641
+ ? sprintf( __( 'Booking has been set as %s pending %s', 'booking' ), '<strong>', '</strong>' )
642
+ : sprintf( __( 'Bookings have been set as %s pending %s', 'booking' ), '<strong>', '</strong>' )
643
+ )
644
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id_csd . '</strong> )</span>';
645
+ }
646
+ // SQL ---------------------------------------------------------------------------------------------------
647
+ global $wpdb;
648
+ $prepared_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}bookingdates SET approved = %s WHERE booking_id IN ({$booking_id_csd})", $is_approve_or_pending );
649
+ $after_action_result = $wpdb->query( $prepared_sql );
650
+ if ( false === $after_action_result ) {
651
+ $after_action_message = 'Error during updating to DB. File:' . __FILE__ . ' on line: ' . __LINE__;
652
+ } else {
653
+ $after_action_result = true;
654
+ }
655
+
656
+ // LOG ---------------------------------------------------------------------------------------------------------
657
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
658
+ wpbc_add_log_info( explode( ',', $booking_id_csd ),
659
+ ( ( $is_approve_or_pending == '1' ) ? __( 'Approved by:', 'booking' ) : __( 'Declined by:', 'booking' ) )
660
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
661
+ );
662
+
663
+ // Update 'is_new' status of bookings in Database
664
+ wpbc_update_number_new_bookings( explode( ',', $booking_id_csd ), '0', $params['user_id'] );
665
+
666
+ // Just action hook for some other addons
667
+ do_action( 'wpbc_booking_action__approved', $booking_id_csd, $is_approve_or_pending ); //FixIn: 8.7.6.1
668
+
669
+ // Emails ------------------------------------------------------------------------------------------------------
670
+ if ( ! empty( $is_send_emeils ) ) {
671
+
672
+ if ( $is_approve_or_pending == '1' ) {
673
+ wpbc_send_email_approved( $booking_id_csd, $is_send_emeils, $action_reason );
674
+ } else {
675
+ wpbc_send_email_deny( $booking_id_csd, $is_send_emeils, $action_reason );
676
+ }
677
+ }
678
+
679
+ // Cancel other pending bookings for the same date ------------------------------------------------------------
680
+ if ( $is_approve_or_pending == '1' ) {
681
+ $all_bk_id_what_canceled = apply_bk_filter( 'cancel_pending_same_resource_bookings_for_specific_dates', false, $booking_id_csd );
682
+ }
683
+ }
684
+
685
+ return array(
686
+ 'after_action_result' => $after_action_result,
687
+ 'after_action_message' => $after_action_message
688
+ );
689
+ }
690
+
691
+ /**
692
+ * Action: booking Completely Delete
693
+ *
694
+ * @param $booking_id_arr array or int of booking ID
695
+ * @param $params array array of parameters: array( 'user_id' => 1, 'reason_of_action' => 'Because...' )
696
+ *
697
+ * @return array
698
+ *
699
+ * Example:
700
+ */
701
+ function wpbc_booking_do_action__delete_booking_completely( $booking_id_arr, $params ){
702
+
703
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
704
+
705
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
706
+ if ( ! is_array( $booking_id_arr ) ) {
707
+ $booking_id_arr = array( $booking_id_arr );
708
+ }
709
+ $booking_is_csd = join( ',', $booking_id_arr );
710
+ $booking_is_csd = wpbc_clean_digit_or_csd( $booking_is_csd );
711
+
712
+
713
+ // Get reason of action --------------------------------------------------------------------------------------------
714
+ $action_reason = $params['reason_of_action']; // stripslashes( $params['reason_of_action'] ); // translate words like don\'t to don't
715
+
716
+ // Is send email for this action ----------------------------------------------------------------------------------
717
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
718
+
719
+
720
+ // -----------------------------------------------------------------------------------------------------------------
721
+
722
+ if ( empty( $booking_is_csd ) ) {
723
+ $after_action_result = false;
724
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
725
+
726
+ } else {
727
+ $after_action_result = true;
728
+ $after_action_message = ( ( false === strpos( $booking_is_csd, ',' ) )
729
+ ? sprintf( __( 'Booking has been %s deleted %s', 'booking' ), '<strong>', '</strong>' )
730
+ : sprintf( __( 'Bookings have been %s deleted %s', 'booking' ) , '<strong>', '</strong>' )
731
+ )
732
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_is_csd . '</strong> )</span>';
733
+
734
+ // LOG ---------------------------------------------------------------------------------------------------------
735
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
736
+ wpbc_add_log_info( explode( ',', $booking_is_csd ),
737
+ __( 'Deleted by:', 'booking' )
738
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
739
+ );
740
+
741
+ // Just action hook for some other addons
742
+ do_action( 'wpbc_booking_action__delete', $booking_is_csd ); //FixIn: 8.7.6.3
743
+
744
+ // Emails ------------------------------------------------------------------------------------------------------
745
+ if ( ! empty( $is_send_emeils ) ) {
746
+
747
+ wpbc_send_email_deleted( $booking_is_csd, $is_send_emeils, $action_reason );
748
+ }
749
+
750
+ // SQL ---------------------------------------------------------------------------------------------------
751
+ global $wpdb;
752
+
753
+ // Dates
754
+ $prepared_sql = "DELETE FROM {$wpdb->prefix}bookingdates WHERE booking_id IN ({$booking_is_csd})";
755
+ $after_action_result = $wpdb->query( $prepared_sql );
756
+ if ( false === $after_action_result ) {
757
+ $after_action_message = 'Error during deleting dates in DB. File:' . __FILE__ . ' on line: ' . __LINE__;
758
+ } else {
759
+ $after_action_result = true;
760
+ }
761
+ // Bookings
762
+ $prepared_sql = "DELETE FROM {$wpdb->prefix}booking WHERE booking_id IN ({$booking_is_csd})";
763
+ $after_action_result = $wpdb->query( $prepared_sql );
764
+ if ( false === $after_action_result ) {
765
+ $after_action_message = 'Error during deleting bookings in DB. File:' . __FILE__ . ' on line: ' . __LINE__;
766
+ } else {
767
+ $after_action_result = true;
768
+ }
769
+
770
+ }
771
+
772
+ return array(
773
+ 'after_action_result' => $after_action_result,
774
+ 'after_action_message' => $after_action_message
775
+ );
776
+ }
777
+
778
+ /**
779
+ * Action: set booking as Read (Old) | Unread (New)
780
+ *
781
+ * @param $booking_id_arr array or int of booking ID
782
+ * @param $params array array of parameters: array( 'user_id' => 1, 'is_new' => '1' )
783
+ *
784
+ * @return array
785
+ *
786
+ * Example:
787
+ $action_result = wpbc_booking_do_action__set_booking_as_read_unread( $request_params['booking_id']
788
+ , array(
789
+ 'user_id' => $user_id,
790
+ 'is_new' => '0'
791
+ )
792
+ );
793
+
794
+ */
795
+ function wpbc_booking_do_action__set_booking_as_read_unread( $booking_id_arr, $params ){
796
+
797
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
798
+
799
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
800
+ if ( ! is_array( $booking_id_arr ) ) {
801
+ $booking_id_arr = array( $booking_id_arr );
802
+ }
803
+ $booking_id_csd = join( ',', $booking_id_arr );
804
+ $booking_id_csd = wpbc_clean_digit_or_csd( $booking_id_csd );
805
+
806
+ // Get reason of action --------------------------------------------------------------------------------------------
807
+ $is_new = $params['is_new'];
808
+
809
+ // Is send email for this action ----------------------------------------------------------------------------------
810
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
811
+
812
+ // -----------------------------------------------------------------------------------------------------------------
813
+
814
+ if ( empty( $booking_id_csd ) ) {
815
+ $after_action_result = false;
816
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
817
+
818
+ } else {
819
+ $after_action_result = true;
820
+ if ( $is_new == '1' ) {
821
+ $after_action_message = ( ( false === strpos( $booking_id_csd, ',' ) )
822
+ ? sprintf( __( 'Booking has been set as %s new %s', 'booking' ), '<strong>', '</strong>' )
823
+ : sprintf( __( 'Bookings have been set as %s new %s', 'booking' ) , '<strong>', '</strong>' )
824
+ )
825
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . (( '-1' == $booking_id_csd ) ? __( 'all', 'booking' ) : $booking_id_csd) . '</strong> )</span>';
826
+ } else {
827
+ $after_action_message = ( ( false === strpos( $booking_id_csd, ',' ) )
828
+ ? sprintf( __( 'Booking has been set as set as %s read %s', 'booking' ), '<strong>', '</strong>' )
829
+ : sprintf( __( 'Bookings have been set as set as %s read %s', 'booking' ), '<strong>', '</strong>' )
830
+ )
831
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . (( '-1' == $booking_id_csd ) ? __( 'all', 'booking' ) : $booking_id_csd) . '</strong> )</span>';
832
+ }
833
+ // SQL ---------------------------------------------------------------------------------------------------
834
+ global $wpdb;
835
+ if ('-1' == $booking_id_csd ){
836
+ $prepared_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}booking AS bk SET bk.is_new = %s", $is_new );
837
+
838
+ $prepared_sql .= " WHERE ( 1 = 1 ) ";
839
+ $prepared_sql = apply_bk_filter('update_where_sql_for_getting_bookings_in_multiuser', $prepared_sql );
840
+ } else {
841
+ $prepared_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}booking AS bk SET bk.is_new = %s WHERE booking_id IN ({$booking_id_csd})", $is_new );
842
+ }
843
+ $after_action_result = $wpdb->query( $prepared_sql );
844
+ if ( false === $after_action_result ) {
845
+ $after_action_message = 'Error during updating to DB. File:' . __FILE__ . ' on line: ' . __LINE__;
846
+ } else {
847
+ $after_action_result = true;
848
+ }
849
+
850
+ // LOG ---------------------------------------------------------------------------------------------------------
851
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
852
+ wpbc_add_log_info( explode( ',', $booking_id_csd ),
853
+ ( ( $is_new == '1' ) ? __( 'Set as unread by:', 'booking' ) : __( 'Set as read by:', 'booking' ) )
854
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
855
+ );
856
+
857
+ // Just action hook for some other addons
858
+ do_action( 'wpbc_booking_action__changed_new_status', $booking_id_csd, $is_new ); //FixIn: 8.7.6.1
859
+
860
+ // Emails ------------------------------------------------------------------------------------------------------
861
+ if ( ! empty( $is_send_emeils ) ) {
862
+
863
+ if ( $is_new == '1' ) {
864
+ //wpbc_send_email_approved( $booking_id_csd, $is_send_emeils, $action_reason );
865
+ } else {
866
+ //wpbc_send_email_deny( $booking_id_csd, $is_send_emeils, $action_reason );
867
+ }
868
+ }
869
+ }
870
+
871
+ return array(
872
+ 'after_action_result' => $after_action_result,
873
+ 'after_action_message' => $after_action_message
874
+ );
875
+ }
876
+
877
+ /**
878
+ * Action: Emty Trash
879
+ *
880
+ * @param $params array array of parameters: array( 'user_id' => 1 )
881
+ *
882
+ * @return array
883
+ *
884
+ * Example:
885
+ */
886
+ function wpbc_booking_do_action__empty_trash( $params ){
887
+
888
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
889
+
890
+ // Is send email for this action ----------------------------------------------------------------------------------
891
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
892
+
893
+ // Get bookings ID to delete -------------------------------------------------------------------------------
894
+ global $wpdb;
895
+
896
+ $sql = "SELECT * FROM {$wpdb->prefix}booking as bk WHERE bk.trash = 1";
897
+
898
+ $sql = apply_bk_filter( 'update_where_sql_for_getting_bookings_in_multiuser', $sql, $params['user_id'] ); // Get booking resources of this user only: $user_id
899
+
900
+ $max_bookings_to_erase = 1000;
901
+ $sql .= " LIMIT 0, " . $max_bookings_to_erase;
902
+
903
+ $bookings_in_trash = $wpdb->get_results( $sql ); //Get ID of all bookings in a trash.
904
+
905
+ $bookings_id_in_trash_arr = array();
906
+
907
+ foreach ( $bookings_in_trash as $booking_obj ) {
908
+ $bookings_id_in_trash_arr[] = $booking_obj->booking_id;
909
+ }
910
+ $booking_is_csd = implode( ',', $bookings_id_in_trash_arr );
911
+
912
+ // Empty trash ------------------------------------------------------------------------------------------------
913
+
914
+ if ( empty( $booking_is_csd ) ) {
915
+ $after_action_result = false;
916
+ $after_action_message = __( 'No bookings in trash to erase.', 'booking' );
917
+
918
+ } else {
919
+ $after_action_result = true;
920
+ if ( count( $bookings_id_in_trash_arr ) < $max_bookings_to_erase ) {
921
+ $after_action_message = sprintf( __( 'Trash has been erased.', 'booking' ) , '<strong>', '</strong>' )
922
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . substr( $booking_is_csd, 0 , 500 ) . '</strong> )</span>';
923
+ } else {
924
+ $after_action_message = sprintf( __( 'From trash has been erased %s bookings.', 'booking' ) , '<strong> ' . count( $bookings_id_in_trash_arr ) . ' </strong> ' ) ;
925
+ }
926
+
927
+ // LOG -----------------------------------------------------------------------------------------------------
928
+ // $curr_user = get_user_by( 'id', (int) $params['user_id'] );
929
+ // wpbc_add_log_info( explode( ',', $booking_is_csd ),
930
+ // __( 'Deleted by:', 'booking' )
931
+ // . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
932
+ // );
933
+
934
+ // Just action hook for some other addons
935
+ do_action( 'wpbc_booking_action__empty_trash' ); //FixIn: 8.7.6.3
936
+
937
+ // Emails ------------------------------------------------------------------------------------------------------
938
+ if ( ! empty( $is_send_emeils ) ) {
939
+
940
+ // wpbc_send_email_deleted( $booking_is_csd, $is_send_emeils, __( 'Empty Trash', 'booking' ) );
941
+ }
942
+
943
+ // SQL ---------------------------------------------------------------------------------------------------
944
+
945
+ // Dates
946
+ $prepared_sql = "DELETE FROM {$wpdb->prefix}bookingdates WHERE booking_id IN ({$booking_is_csd})";
947
+ $after_action_result = $wpdb->query( $prepared_sql );
948
+ if ( false === $after_action_result ) {
949
+ $after_action_message = 'Error during deleting dates in DB. File:' . __FILE__ . ' on line: ' . __LINE__;
950
+ } else {
951
+ $after_action_result = true;
952
+ }
953
+ // Bookings
954
+ $prepared_sql = "DELETE FROM {$wpdb->prefix}booking WHERE booking_id IN ({$booking_is_csd})";
955
+ $after_action_result = $wpdb->query( $prepared_sql );
956
+ if ( false === $after_action_result ) {
957
+ $after_action_message = 'Error during deleting bookings in DB. File:' . __FILE__ . ' on line: ' . __LINE__;
958
+ } else {
959
+ $after_action_result = true;
960
+ }
961
+
962
+ }
963
+
964
+ return array(
965
+ 'after_action_result' => $after_action_result,
966
+ 'after_action_message' => $after_action_message
967
+ );
968
+ }
969
+
970
+ /**
971
+ * Action: save booking Remark
972
+ *
973
+ * @param $booking_id_arr array or int of booking ID
974
+ * @param $params array array of parameters: array( 'user_id' => 1, 'remark' => 'Because...')
975
+ *
976
+ * @return array
977
+ *
978
+ * Example:
979
+ */
980
+ function wpbc_booking_do_action__set_booking_note( $booking_id_arr, $params ){
981
+
982
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
983
+
984
+ // Get ID list of bookings, like '1' or '3,7,9' ------------------------------------------------------------
985
+ if ( ! is_array( $booking_id_arr ) ) {
986
+ $booking_id_arr = array( $booking_id_arr );
987
+ }
988
+ $booking_id_csd = join( ',', $booking_id_arr );
989
+ $booking_id_csd = wpbc_clean_digit_or_csd( $booking_id_csd );
990
+
991
+ // Get remark --------------------------------------------------------------------------------------------------
992
+ $remark_text = $params['remark']; // stripslashes( $params['reason_of_action'] ); // translate words like don\'t to don't
993
+
994
+ // Is send email for this action ------------------------------------------------------------------------------
995
+ // $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
996
+
997
+
998
+ // -----------------------------------------------------------------------------------------------------------------
999
+
1000
+ if ( empty( $booking_id_csd ) ) {
1001
+ $after_action_result = false;
1002
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
1003
+
1004
+ } else {
1005
+ $after_action_result = true;
1006
+ $after_action_message = __( 'Note has been saved', 'booking' )
1007
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id_csd . '</strong> )</span>';
1008
+ // SQL ---------------------------------------------------------------------------------------------------
1009
+ global $wpdb;
1010
+ $prepared_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}booking SET remark = %s WHERE booking_id IN ({$booking_id_csd})", $remark_text );
1011
+ $after_action_result = $wpdb->query( $prepared_sql );
1012
+ if ( false === $after_action_result ) {
1013
+ $after_action_message = 'Error during updating to DB. File:' . __FILE__ . ' on line: ' . __LINE__;
1014
+ } else {
1015
+ $after_action_result = true;
1016
+ }
1017
+
1018
+ // LOG ---------------------------------------------------------------------------------------------------------
1019
+ if (0) {
1020
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
1021
+ wpbc_add_log_info( explode( ',', $booking_id_csd ),
1022
+ __( 'Note saved by:', 'booking' )
1023
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
1024
+ );
1025
+ }
1026
+
1027
+ // Just action hook for some other addons
1028
+ do_action( 'wpbc_booking_action__note_saved', $booking_id_csd, $remark_text );
1029
+
1030
+ // Emails ------------------------------------------------------------------------------------------------------
1031
+ if ( 0 ) {
1032
+ if ( ! empty( $is_send_emeils ) ) {
1033
+ wpbc_send_email_approved( $booking_id_csd, $is_send_emeils, $remark_text );
1034
+ }
1035
+ }
1036
+ }
1037
+
1038
+ return array(
1039
+ 'after_action_result' => $after_action_result,
1040
+ 'after_action_message' => $after_action_message
1041
+ );
1042
+ }
1043
+
1044
+ /**
1045
+ * Action: change Booking Resource
1046
+ *
1047
+ * @param $booking_id_arr array or int of booking ID
1048
+ * @param $selected_resource_id int of booking resource
1049
+ * @param $params array array of parameters: array( 'user_id' => 1 )
1050
+ *
1051
+ * @return array
1052
+ *
1053
+ * Example:
1054
+ */
1055
+ function wpbc_booking_do_action__change_booking_resource( $booking_id_arr, $selected_resource_id, $params ) {
1056
+
1057
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
1058
+
1059
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
1060
+ if ( ! is_array( $booking_id_arr ) ) {
1061
+ $booking_id_arr = array( $booking_id_arr );
1062
+ }
1063
+ $booking_id_csd = join( ',', $booking_id_arr );
1064
+ $booking_id_csd = wpbc_clean_digit_or_csd( $booking_id_csd );
1065
+
1066
+ // ID of booking resource ------------------------------------------------------------------------------------------
1067
+ $selected_resource_id = intval($selected_resource_id);
1068
+
1069
+ // Is send email for this action ----------------------------------------------------------------------------------
1070
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
1071
+
1072
+ // -----------------------------------------------------------------------------------------------------------------
1073
+
1074
+ if ( empty( $booking_id_csd ) ) {
1075
+ $after_action_result = false;
1076
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
1077
+
1078
+ } else {
1079
+ $after_action_result = true;
1080
+
1081
+ $after_action_message = ( ( false === strpos( $booking_id_csd, ',' ) )
1082
+ ? sprintf( __( 'Booking has been changed %s booking resource %s', 'booking' ), '<strong>', '</strong>' )
1083
+ : sprintf( __( 'Bookings have been changed %s booking resource %s', 'booking' ), '<strong>', '</strong>' )
1084
+ )
1085
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id_csd . '</strong> )</span>';
1086
+
1087
+
1088
+ $work_booking_id_arr = explode( ',', $booking_id_csd );
1089
+
1090
+ foreach ( $work_booking_id_arr as $selected_booking_id ) {
1091
+
1092
+ // SQL ---------------------------------------------------------------------------------------------------
1093
+ list( $after_action_result, $after_action_message, $formdata_new ) = wpbc__sql__change_booking_resource_for_booking( $selected_booking_id, $selected_resource_id );
1094
+
1095
+ if ( $after_action_result ) {
1096
+ // LOG ---------------------------------------------------------------------------------------------------------
1097
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
1098
+ wpbc_add_log_info( explode( ',', $selected_booking_id ),
1099
+ __( 'Booking resource changed by:', 'booking' )
1100
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
1101
+ );
1102
+
1103
+ // Just action hook for some other addons
1104
+ do_action( 'wpbc_booking_action__change_booking_resource', $selected_booking_id, $selected_resource_id );
1105
+
1106
+ // Emails ------------------------------------------------------------------------------------------------------
1107
+ if ( ! empty( $is_send_emeils ) ) {
1108
+ wpbc_send_email_modified( $selected_booking_id, $selected_resource_id, $formdata_new );
1109
+ }
1110
+ }
1111
+ }
1112
+ }
1113
+
1114
+ return array(
1115
+ 'after_action_result' => $after_action_result,
1116
+ 'after_action_message' => $after_action_message
1117
+ );
1118
+
1119
+ }
1120
+
1121
+ /**
1122
+ * Change booking resource for specific booking -- SQL manipulation
1123
+ * @param $selected_booking_id
1124
+ * @param $selected_resource_id
1125
+ *
1126
+ * @return array
1127
+ */
1128
+ function wpbc__sql__change_booking_resource_for_booking( $selected_booking_id, $selected_resource_id ){
1129
+
1130
+ global $wpdb;
1131
+
1132
+ $booking_id = intval( $selected_booking_id );
1133
+ $resource_id = intval( $selected_resource_id );
1134
+ $db_form_data_new = '';
1135
+
1136
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
1137
+ // 1.Get dates of SOURCE booking
1138
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
1139
+ if ( 1 ) {
1140
+ // 1.1.Get booking data of SOURCE booking
1141
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}booking as bk WHERE booking_id = %d ", $booking_id );
1142
+ $res = $wpdb->get_row( $sql );
1143
+ $db_form_data_old = $res->form;
1144
+ $resource_id_old = $res->booking_type;
1145
+
1146
+ // 1.2. Get dates of SOURCE booking
1147
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}bookingdates as dt WHERE booking_id = %d ORDER BY booking_date ASC ", $booking_id );
1148
+ $old_resource_dates_array = $wpdb->get_results( $sql );
1149
+ }
1150
+
1151
+
1152
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
1153
+ // 2. Get bookings of selected booking resource - checking if some dates there is booked or not
1154
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
1155
+ $exist_dates_results = wpbc_get_booking_dates_in_resource_for_folowing_dates( $old_resource_dates_array , $resource_id );
1156
+
1157
+
1158
+ if ( ( count( $exist_dates_results ) == 3 ) && ( false === $exist_dates_results[0] ) ){
1159
+ // // ERROR :: number of check in/dates does not equal to number of check out dates.
1160
+ return $exist_dates_results;
1161
+ }
1162
+
1163
+ if ( get_bk_option('booking_change_resource_skip_checking') === 'On' ) { //FixIn: 8.4.5.4
1164
+ $is_date_time_booked = false;
1165
+ } else {
1166
+ $is_date_time_booked = wpbc_check_dates_intersections( $old_resource_dates_array, $exist_dates_results );
1167
+ }
1168
+
1169
+ if ( $is_date_time_booked ) {
1170
+
1171
+ $after_action_result = false;
1172
+ $after_action_message = __( 'Warning! The resource was not changed. Current dates are already booked there.', 'booking' );
1173
+
1174
+ } else { // Possible to change
1175
+
1176
+ $db_form_data_new = wpbc_update_resource_id_in_dbformatted_booking_data( $db_form_data_old, $resource_id_old, $resource_id );
1177
+
1178
+ // Update
1179
+ $update_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}booking AS bk SET bk.form=%s, bk.booking_type=%d WHERE bk.booking_id=%d;"
1180
+ , $db_form_data_new, $resource_id, $booking_id );
1181
+ if ( false === $wpdb->query( $update_sql ) ) {
1182
+ $after_action_result = false;
1183
+ $after_action_message = get_debuge_error( 'Error during updating booking reource type in BD', __FILE__, __LINE__ );
1184
+
1185
+ return array( $after_action_result, $after_action_message, $db_form_data_new );
1186
+ }
1187
+
1188
+
1189
+ if ( class_exists( 'wpdev_bk_biz_l' ) ) {
1190
+ $update_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}bookingdates SET type_id=NULL WHERE booking_id=%d ", $booking_id );
1191
+ if ( false === $wpdb->query( $update_sql ) ) {
1192
+ $after_action_result = false;
1193
+ $after_action_message = get_debuge_error( 'Error during updating dates type in BD', __FILE__, __LINE__ );
1194
+
1195
+ return array( $after_action_result, $after_action_message, $db_form_data_new );
1196
+ }
1197
+ }
1198
+
1199
+ $booking_resources_arr = wpbc_ajx_get_all_booking_resources_arr();
1200
+ $after_action_result = true;
1201
+ $after_action_message = sprintf( __( 'Booking %s has been changed booking resource from %s to %s' )
1202
+ , '<strong>[ID=' . $booking_id . ']</strong>'
1203
+ , '<strong>' . apply_bk_filter( 'wpdev_check_for_active_language', $booking_resources_arr[ $resource_id_old ]['title'] ) . '</strong>'
1204
+ , '<strong>' . apply_bk_filter( 'wpdev_check_for_active_language', $booking_resources_arr[ $resource_id ]['title'] ) . '</strong>'
1205
+ );
1206
+
1207
+ // Everything Cool :) - booking resource changed
1208
+ }
1209
+
1210
+ return array( $after_action_result, $after_action_message , $db_form_data_new );
1211
+ }
1212
+
1213
+ /**
1214
+ * Get booking dates (bookings obj) of selected booking resource - checking if some dates there is booked or not
1215
+ *
1216
+ * @param $old_resource_dates_array array of OBJ with ..->booking_date
1217
+ * @param int $resource_id Resource ID, where we get dates.
1218
+ *
1219
+ * @return array array of booking OBJ with ..->booking_date
1220
+ */
1221
+ function wpbc_get_booking_dates_in_resource_for_folowing_dates( $old_resource_dates_array , $resource_id ){
1222
+
1223
+ global $wpdb;
1224
+
1225
+ $dates_sql_between = '';
1226
+ $check_in_dates_arr = array();
1227
+ $check_out_dates_arr = array();
1228
+
1229
+ if ( 'On' === get_bk_option( 'booking_recurrent_time' ) ) { // If we are using recurrent time slots ?
1230
+
1231
+ foreach ( $old_resource_dates_array as $k => $v ) {
1232
+
1233
+ if ( ':02' == substr( $v->booking_date, - 3 ) ) {
1234
+ $check_out_dates_arr[] = $v->booking_date;
1235
+ }
1236
+ if ( ':01' == substr( $v->booking_date, - 3 ) ) {
1237
+ $check_in_dates_arr[] = $v->booking_date;
1238
+ }
1239
+ }
1240
+
1241
+ if ( count( $check_out_dates_arr ) == count( $check_in_dates_arr ) ) {
1242
+ $dates_sql_between_arr = array();
1243
+ foreach ( $check_in_dates_arr as $k => $v ) {
1244
+
1245
+ $dates_sql_between_arr [] = ' ( dt.booking_date BETWEEN "' . $check_in_dates_arr[ $k ] . '" AND "' . $check_out_dates_arr[ $k ] . '" ) ';
1246
+ }
1247
+ $dates_sql_between = implode( 'OR', $dates_sql_between_arr );
1248
+
1249
+ //TODO: remove (), if only 1 element in array
1250
+
1251
+ } else {
1252
+ // ERROR :: number of check in/dates does not equal to number of check out dates.
1253
+ $after_action_result = false;
1254
+ $after_action_message = '<strong>Error</strong>. Number of check in times of booking dates does not equal to number of check out days.'
1255
+ . '<br>Check in dates: ' . implode( ', ', $check_in_dates_arr )
1256
+ . '<br>Check out dates: ' . implode( ', ', $check_out_dates_arr );
1257
+
1258
+ return array( $after_action_result, $after_action_message, '' );
1259
+ }
1260
+ }
1261
+
1262
+ if ( '' == $dates_sql_between ) {
1263
+
1264
+ $temp_check_in = $old_resource_dates_array[0]->booking_date;
1265
+ $temp_check_out = $old_resource_dates_array[ ( count( $old_resource_dates_array ) - 1 ) ]->booking_date;
1266
+
1267
+ if ( ':02' != substr( $temp_check_out, - 3 ) ) {
1268
+ $temp_check_out = date( 'Y-m-d H:i:s', strtotime( '+1 day -1 second', strtotime( $temp_check_out ) ) );
1269
+ }
1270
+
1271
+ $dates_sql_between .= ' dt.booking_date BETWEEN "' . $temp_check_in . '" AND "' . $temp_check_out . '" ';
1272
+ }
1273
+
1274
+
1275
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}booking as bk
1276
+ INNER JOIN {$wpdb->prefix}bookingdates as dt
1277
+ ON bk.booking_id = dt.booking_id
1278
+ WHERE bk.trash != 1 AND bk.booking_type = %d", $resource_id );
1279
+ $sql .= " AND ( {$dates_sql_between} ) ";
1280
+
1281
+ // In BL version its does not check for booking belonging to several booking resources
1282
+ if ( class_exists( 'wpdev_bk_biz_l' ) ) {
1283
+ $sql .= " OR bk.booking_id IN ( "
1284
+ . " SELECT DISTINCT booking_id FROM {$wpdb->prefix}bookingdates as dtt
1285
+ WHERE dtt.type_id = {$resource_id} "
1286
+ //."AND DATE(dt.booking_date) IN ( {$dates_string} )"
1287
+ . " AND ( " . str_replace( 'dt.', 'dtt.', $dates_sql_between ) . " ) "
1288
+ . ") ";
1289
+ }
1290
+ $sql .= " ORDER BY bk.booking_id DESC, dt.booking_date ASC ";
1291
+
1292
+ $exist_dates_results = $wpdb->get_results( $sql );
1293
+
1294
+ // We have found only intersected dates. Now we need to get all dates from such bookings, for having correct "Start and end time times for the booking"
1295
+ // and does not add some "start time at the begining of the day inside of wpbc_check_dates_intersections( ) function
1296
+ if ( count( $exist_dates_results ) > 0 ) {
1297
+
1298
+ // Get ID of all bookings that inside of this interval
1299
+ $my_booking_id_arr = [];
1300
+ foreach ( $exist_dates_results as $key => $booking_obj ) {
1301
+ $my_booking_id_arr[] = $booking_obj->booking_id;
1302
+ }
1303
+ // Get all dates of such bookings (not only intersected!
1304
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}booking as bk
1305
+ INNER JOIN {$wpdb->prefix}bookingdates as dt
1306
+ ON bk.booking_id = dt.booking_id
1307
+ WHERE bk.booking_id IN (" . implode( ',', $my_booking_id_arr ) . ") AND bk.trash != 1 AND bk.booking_type = %d", $resource_id );
1308
+ $sql .= " ORDER BY bk.booking_id DESC, dt.booking_date ASC ";
1309
+
1310
+ $exist_dates_results = $wpdb->get_results( $sql );
1311
+ }
1312
+
1313
+ return $exist_dates_results;
1314
+ }
1315
+
1316
+ /**
1317
+ * Update "Content of booking fields data" from old booking resource id SUFFIX to new booking Resource ID
1318
+ *
1319
+ * @param string $db_form_data_old
1320
+ * @param int $resource_id_old
1321
+ * @param int $resource_id_new
1322
+ *
1323
+ * @return void
1324
+ */
1325
+ function wpbc_update_resource_id_in_dbformatted_booking_data( $db_form_data_old, $resource_id_old, $resource_id_new ) {
1326
+
1327
+ $db_form_data_new = array();
1328
+
1329
+ $form_data_arr = explode( '~', $db_form_data_old );
1330
+ $fields_count = count( $form_data_arr );
1331
+
1332
+ for ( $i = 0; $i < $fields_count; $i ++ ) {
1333
+
1334
+ list( $type, $element_name, $value ) = explode( '^', $form_data_arr[ $i ] );
1335
+
1336
+ if ( substr( $element_name, - 2 ) == '[]' ) {
1337
+ $element_name = str_replace( '[]', '', $element_name );
1338
+ }
1339
+
1340
+ $element_name = substr( $element_name, 0, - 1 * strlen( $resource_id_old ) ) . $resource_id_new; // Change resource ID in field
1341
+
1342
+ $db_form_data_new[] = $type . '^' . $element_name . '^' . $value;
1343
+ }
1344
+
1345
+ return implode( '~', $db_form_data_new );
1346
+ }
1347
+
1348
+ /**
1349
+ * Action: Duplicate Booking into other Resource
1350
+ *
1351
+ * @param $booking_id_arr array or int of booking ID
1352
+ * @param $selected_resource_id int of booking resource
1353
+ * @param $params array array of parameters: array( 'user_id' => 1 )
1354
+ *
1355
+ * @return array
1356
+ *
1357
+ * Example:
1358
+ */
1359
+ function wpbc_booking_do_action__duplicate_booking_to_other_resource( $booking_id_arr, $selected_resource_id, $params ) {
1360
+
1361
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
1362
+
1363
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
1364
+ if ( ! is_array( $booking_id_arr ) ) {
1365
+ $booking_id_arr = array( $booking_id_arr );
1366
+ }
1367
+ $booking_id_csd = join( ',', $booking_id_arr );
1368
+ $booking_id_csd = wpbc_clean_digit_or_csd( $booking_id_csd );
1369
+
1370
+ // ID of booking resource ------------------------------------------------------------------------------------------
1371
+ $selected_resource_id = intval($selected_resource_id);
1372
+
1373
+ // Is send email for this action ----------------------------------------------------------------------------------
1374
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
1375
+
1376
+ // -----------------------------------------------------------------------------------------------------------------
1377
+
1378
+ if ( empty( $booking_id_csd ) ) {
1379
+ $after_action_result = false;
1380
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
1381
+
1382
+ } else {
1383
+ $after_action_result = true;
1384
+
1385
+ $after_action_message = ( ( false === strpos( $booking_id_csd, ',' ) )
1386
+ ? sprintf( __( 'Booking has been %s duplicated %s', 'booking' ), '<strong>', '</strong>' )
1387
+ : sprintf( __( 'Bookings have been %s duplicated %s', 'booking' ), '<strong>', '</strong>' )
1388
+ )
1389
+ . ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id_csd . '</strong> )</span>';
1390
+
1391
+
1392
+ $work_booking_id_arr = explode( ',', $booking_id_csd );
1393
+
1394
+ foreach ( $work_booking_id_arr as $selected_booking_id ) {
1395
+
1396
+ // SQL ---------------------------------------------------------------------------------------------------
1397
+ list( $after_action_result, $after_action_message, $formdata_new ) = wpbc__sql__duplicate_booking_to_other_resource_for_booking( $selected_booking_id, $selected_resource_id, $params );
1398
+
1399
+ if ( $after_action_result ) {
1400
+ // LOG ---------------------------------------------------------------------------------------------------------
1401
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
1402
+ wpbc_add_log_info( explode( ',', $selected_booking_id ),
1403
+ __( 'Booking resource changed by:', 'booking' )
1404
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
1405
+ );
1406
+
1407
+ // Just action hook for some other addons
1408
+ do_action( 'wpbc_booking_action__duplicate_booking_to_other_resource', $selected_booking_id, $selected_resource_id );
1409
+
1410
+ // Emails ------------------------------------------------------------------------------------------------------
1411
+ if ( ! empty( $is_send_emeils ) ) {
1412
+ // We are sending emails about the new booking, if we have created it.
1413
+ // wpbc_send_email_modified( $selected_booking_id, $selected_resource_id, $formdata_new );
1414
+ }
1415
+ }
1416
+ }
1417
+ }
1418
+
1419
+ return array(
1420
+ 'after_action_result' => $after_action_result,
1421
+ 'after_action_message' => $after_action_message
1422
+ );
1423
+
1424
+ }
1425
+
1426
+ /**
1427
+ * Duplicate booking in another resource -- SQL manipulation
1428
+ * @param $selected_booking_id
1429
+ * @param $selected_resource_id
1430
+ *
1431
+ * @return array
1432
+ */
1433
+ function wpbc__sql__duplicate_booking_to_other_resource_for_booking( $selected_booking_id, $selected_resource_id, $params ){
1434
+ global $wpdb;
1435
+
1436
+ $booking_id = intval( $selected_booking_id );
1437
+ $resource_id = intval( $selected_resource_id );
1438
+ $db_form_data_new = '';
1439
+ $booking_resources_arr = wpbc_ajx_get_all_booking_resources_arr();
1440
+
1441
+ $is_send_emails = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
1442
+
1443
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
1444
+ // 1.Get dates of SOURCE booking
1445
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
1446
+ if ( 1 ) {
1447
+ // 1.1.Get booking data of SOURCE booking
1448
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}booking as bk WHERE booking_id = %d ", $booking_id );
1449
+ $res = $wpdb->get_row( $sql );
1450
+ $db_form_data_old = $res->form;
1451
+ $resource_id_old = $res->booking_type;
1452
+
1453
+ // 1.2. Get dates of SOURCE booking
1454
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}bookingdates as dt WHERE booking_id = %d ORDER BY booking_date ASC ", $booking_id );
1455
+ $old_resource_dates_array = $wpdb->get_results( $sql );
1456
+ }
1457
+
1458
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
1459
+ // 2. Get bookings of selected booking resource - checking if some dates there is booked or not
1460
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////
1461
+ $exist_dates_results = wpbc_get_booking_dates_in_resource_for_folowing_dates( $old_resource_dates_array , $resource_id );
1462
+
1463
+ if ( ( count( $exist_dates_results ) == 3 ) && ( false === $exist_dates_results[0] ) ){
1464
+ // // ERROR :: number of check in/dates does not equal to number of check out dates.
1465
+ return $exist_dates_results;
1466
+ }
1467
+
1468
+ if ( get_bk_option('booking_change_resource_skip_checking') === 'On' ) { //FixIn: 8.4.5.4
1469
+ $is_date_time_booked = false;
1470
+ } else {
1471
+ $is_date_time_booked = wpbc_check_dates_intersections( $old_resource_dates_array, $exist_dates_results );
1472
+ }
1473
+
1474
+ if ( $is_date_time_booked ) {
1475
+
1476
+ $after_action_result = false;
1477
+ $after_action_message = '<strong>' . __( 'Warning', 'booking' ) . '!</strong> '
1478
+ . sprintf( __( 'Booking %s has not been duplicated in booking resource %s. Current dates are already booked there.' )
1479
+ , '<strong style="font-size:0.9em;">[ID=' . $booking_id . ']</strong>'
1480
+ , '<strong>' . apply_bk_filter( 'wpdev_check_for_active_language', $booking_resources_arr[ $resource_id ]['title'] ) . '</strong>'
1481
+ );
1482
+
1483
+ } else { // Possible to change
1484
+
1485
+ $db_form_data_new = wpbc_update_resource_id_in_dbformatted_booking_data( $db_form_data_old, $resource_id_old, $resource_id );
1486
+
1487
+ $wpdev_active_locale = isset( $_REQUEST['wpbc_ajx_locale'] ) ? esc_js( $_REQUEST['wpbc_ajx_locale'] ) : 'en_US';
1488
+
1489
+
1490
+ // Change dates from DateObj( $selected_date->booking_date = '2015-10-17' ) to array ( '17.10.2015' )
1491
+ $my_dates_for_sql = array();
1492
+ foreach ($old_resource_dates_array as $selected_date) {
1493
+ $selected_date = explode( '-', $selected_date->booking_date );
1494
+ $my_dates_for_sql[] = sprintf( "%02d.%02d.%04d", $selected_date[2], $selected_date[1], $selected_date[0] );
1495
+ }
1496
+ $my_dates_for_sql = implode( ', ', $my_dates_for_sql );
1497
+
1498
+ /*
1499
+ $params = array(
1500
+ ["bktype"] => 4
1501
+ ["dates"] => 24.09.2014, 25.09.2014, 26.09.2014
1502
+ ["form"] => select-one^rangetime4^14:00 - 16:00~text^name4^Costa~text^secondname4^Rika~email^email4^rika@cost.com~text^phone4^2423432~text^address4^Ferrari~text^city4^Rome~text^postcode4^2343~select-one^country4^IT~select-one^visitors4^1~select-one^children4^0~textarea^details4^dhfjksdhfkdhjs~checkbox^term_and_condition4[]^I Accept term and conditions
1503
+ ["is_send_emeils"] => 1
1504
+ ["booking_form_type"] =>
1505
+ [wpdev_active_locale] => en_US
1506
+
1507
+ // Paramters for adding booking in the HTML:
1508
+ ["skip_page_checking_for_updating"] = 0;
1509
+ ["is_show_payment_form"] = 1;
1510
+ ); */
1511
+ // Params for creation new booking
1512
+ $params = array(
1513
+ 'bktype' => $resource_id
1514
+ , 'dates' => $my_dates_for_sql // '27.08.2014, 28.08.2014, 29.08.2014'
1515
+ , 'form' => $db_form_data_new
1516
+ , 'is_send_emeils' => $is_send_emails
1517
+ , 'booking_form_type' => ''
1518
+ , 'wpdev_active_locale' => $wpdev_active_locale
1519
+ );
1520
+ $booking_id_new = apply_bk_filter('wpbc_add_new_booking_filter' , $params );
1521
+
1522
+ $after_action_result = true;
1523
+ $after_action_message = sprintf( __( 'Booking %s has been duplicated in booking resource %s. New booking %s.' )
1524
+ , '<strong style="font-size:0.9em;">[ID=' . $booking_id . ']</strong>'
1525
+ , '<strong>' . apply_bk_filter( 'wpdev_check_for_active_language', $booking_resources_arr[ $resource_id ]['title'] ) . '</strong>'
1526
+ , '<strong style="font-size:0.9em;">[ID=' . $booking_id_new . ']</strong>'
1527
+ );
1528
+ // Everything Cool :) - booking has been duplicated
1529
+ }
1530
+
1531
+ return array( $after_action_result, $after_action_message , $db_form_data_new );
1532
+ }
1533
+
1534
+ /**
1535
+ * Action: Set payment status for the booking
1536
+ *
1537
+ * @param $booking_id_arr array or int of booking ID
1538
+ * @param $selected_payment_status string payment status of booking
1539
+ * @param $params array array of parameters: array( 'user_id' => 1 )
1540
+ *
1541
+ * @return array
1542
+ *
1543
+ * Example:
1544
+ */
1545
+ function wpbc_booking_do_action__set_payment_status( $booking_id_arr, $selected_payment_status, $params ) {
1546
+
1547
+ global $wpdb;
1548
+
1549
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
1550
+
1551
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
1552
+ if ( ! is_array( $booking_id_arr ) ) {
1553
+ $booking_id_arr = array( $booking_id_arr );
1554
+ }
1555
+ $booking_id_csd = join( ',', $booking_id_arr );
1556
+ $booking_id_csd = wpbc_clean_digit_or_csd( $booking_id_csd );
1557
+
1558
+
1559
+ // Is send email for this action ----------------------------------------------------------------------------------
1560
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
1561
+
1562
+ // -----------------------------------------------------------------------------------------------------------------
1563
+
1564
+ if ( empty( $booking_id_csd ) ) {
1565
+ $after_action_result = false;
1566
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
1567
+
1568
+ } else {
1569
+ $after_action_result = true;
1570
+ $after_action_message = '';
1571
+
1572
+ $work_booking_id_arr = explode( ',', $booking_id_csd );
1573
+
1574
+ foreach ( $work_booking_id_arr as $selected_booking_id ) {
1575
+
1576
+ // SQL ---------------------------------------------------------------------------------------------------
1577
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}booking as bk WHERE bk.booking_id= %d ", $selected_booking_id );
1578
+ $result_bk = $wpdb->get_results( $sql );
1579
+
1580
+ $old_pay_status = '';
1581
+
1582
+ if ( ( 0 == count( $result_bk ) ) ) {
1583
+ // Error
1584
+ $after_action_result = false;
1585
+ $after_action_message .= sprintf( __( 'There is no booking %s', 'booking' )
1586
+ , ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id_csd . '</strong> )</span>'
1587
+ );
1588
+ } else {
1589
+ $old_pay_status = $result_bk[0]->pay_status;
1590
+ }
1591
+
1592
+ $update_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}booking AS bk SET bk.pay_status= %s WHERE bk.booking_id= %d ", $selected_payment_status, $selected_booking_id );
1593
+ if ( false === $wpdb->query( $update_sql ) ) {
1594
+ // Error
1595
+ $after_action_result = false;
1596
+ $after_action_message .= 'Error during updating to DB. File:' . __FILE__ . ' on line: ' . __LINE__;
1597
+ } else {
1598
+ // Success
1599
+ $after_action_message .= sprintf( __( 'Payment status for Booking %s has been updated from %s to %s', 'booking' )
1600
+ , ' <span style="font-size:0.9em;">( ID = <strong>' . $selected_booking_id . '</strong> )</span>'
1601
+ , '<strong>"' . wpbc__format__get_payment_status_title( $old_pay_status ) . '"</strong>'
1602
+ , '<strong>"' . wpbc__format__get_payment_status_title( $selected_payment_status ) . '"</strong>'
1603
+ ) . '<br/>';
1604
+ }
1605
+
1606
+
1607
+ if ( $after_action_result ) {
1608
+ // LOG ---------------------------------------------------------------------------------------------------------
1609
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
1610
+ wpbc_add_log_info( explode( ',', $selected_booking_id ),
1611
+ $after_action_message
1612
+ . '. ' . __( 'Changed by:', 'booking' )
1613
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
1614
+ );
1615
+
1616
+ // Just action hook for some other addons
1617
+ do_action( 'wpbc_booking_action__set_payment_status', $selected_booking_id, $selected_payment_status , $old_pay_status );
1618
+
1619
+ // Emails ------------------------------------------------------------------------------------------------------
1620
+ if ( ! empty( $is_send_emeils ) ) {
1621
+ // We are sending emails about the new booking, if we have created it.
1622
+ // wpbc_send_email_modified( $selected_booking_id, $selected_resource_id, $formdata_new );
1623
+ }
1624
+ }
1625
+ }
1626
+ }
1627
+
1628
+ return array(
1629
+ 'after_action_result' => $after_action_result,
1630
+ 'after_action_message' => $after_action_message
1631
+ );
1632
+
1633
+ }
1634
+
1635
+ /**
1636
+ * Get title of the payment status
1637
+ *
1638
+ * @param $payment_status_key
1639
+ *
1640
+ * @return string
1641
+ */
1642
+ function wpbc__format__get_payment_status_title( $payment_status_key ){
1643
+
1644
+ $selected_payment_status_text = $payment_status_key;
1645
+
1646
+ $select_box_options = get_payment_status_titles();
1647
+ $select_box_options = array_flip( $select_box_options );
1648
+
1649
+ if ( ! empty( $select_box_options[ $payment_status_key ] ) ) {
1650
+ $selected_payment_status_text = $select_box_options[ $payment_status_key ];
1651
+ }
1652
+
1653
+ return $selected_payment_status_text;
1654
+ }
1655
+
1656
+
1657
+ /**
1658
+ * Action: Set Booking Cost
1659
+ *
1660
+ * @param $booking_id_arr array or int of booking ID
1661
+ * @param $booking_cost string booking cost
1662
+ * @param $params array array of parameters: array( 'user_id' => 1 )
1663
+ *
1664
+ * @return array
1665
+ *
1666
+ * Example:
1667
+ */
1668
+ function wpbc_booking_do_action__set_booking_cost( $booking_id_arr, $booking_cost, $params ) {
1669
+
1670
+ global $wpdb;
1671
+
1672
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
1673
+
1674
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
1675
+ if ( ! is_array( $booking_id_arr ) ) {
1676
+ $booking_id_arr = array( $booking_id_arr );
1677
+ }
1678
+ $booking_id_csd = join( ',', $booking_id_arr );
1679
+ $booking_id_csd = wpbc_clean_digit_or_csd( $booking_id_csd );
1680
+
1681
+
1682
+ // Is send email for this action ----------------------------------------------------------------------------------
1683
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
1684
+
1685
+ // -----------------------------------------------------------------------------------------------------------------
1686
+
1687
+ $booking_cost = str_replace(',', '.', $booking_cost);
1688
+ $booking_cost = floatval( $booking_cost );
1689
+
1690
+
1691
+ if ( empty( $booking_id_csd ) ) {
1692
+ $after_action_result = false;
1693
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
1694
+
1695
+ } else {
1696
+ $after_action_result = true;
1697
+ $after_action_message = '';
1698
+
1699
+ $work_booking_id_arr = explode( ',', $booking_id_csd );
1700
+
1701
+ foreach ( $work_booking_id_arr as $selected_booking_id ) {
1702
+
1703
+ // SQL ---------------------------------------------------------------------------------------------------
1704
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}booking as bk WHERE bk.booking_id= %d ", $selected_booking_id );
1705
+ $result_bk = $wpdb->get_results( $sql );
1706
+
1707
+ $old_booking_cost = '';
1708
+
1709
+ if ( ( 0 == count( $result_bk ) ) ) {
1710
+ // Error
1711
+ $after_action_result = false;
1712
+ $after_action_message .= sprintf( __( 'There is no booking %s', 'booking' )
1713
+ , ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id_csd . '</strong> )</span>'
1714
+ );
1715
+ } else {
1716
+ $old_booking_cost = $result_bk[0]->cost;
1717
+ }
1718
+
1719
+ $update_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}booking AS bk SET bk.cost = %f WHERE bk.booking_id = %d ", $booking_cost, $selected_booking_id );
1720
+ if ( false === $wpdb->query( $update_sql ) ) {
1721
+ // Error
1722
+ $after_action_result = false;
1723
+ $after_action_message .= 'Error during updating to DB. File:' . __FILE__ . ' on line: ' . __LINE__;
1724
+ } else {
1725
+ // Success
1726
+ $after_action_message .= sprintf( __( 'Cost for Booking %s has been updated from %s to %s', 'booking' )
1727
+ , ' <span style="font-size:0.9em;">( ID = <strong>' . $selected_booking_id . '</strong> )</span>'
1728
+ , '<strong>"' . wpbc__format__get_payment_status_title( $old_booking_cost ) . '"</strong>'
1729
+ , '<strong>"' . wpbc__format__get_payment_status_title( $booking_cost ) . '"</strong>'
1730
+ ) . '<br/>';
1731
+ }
1732
+
1733
+
1734
+ if ( $after_action_result ) {
1735
+ // LOG ---------------------------------------------------------------------------------------------------------
1736
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
1737
+ wpbc_add_log_info( explode( ',', $selected_booking_id ),
1738
+ $after_action_message
1739
+ . '. ' . __( 'Changed by:', 'booking' )
1740
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
1741
+ );
1742
+
1743
+ // Just action hook for some other addons
1744
+ do_action( 'wpbc_booking_action__set_booking_cost', $selected_booking_id, $booking_cost , $old_booking_cost );
1745
+
1746
+ // Emails ------------------------------------------------------------------------------------------------------
1747
+ if ( ! empty( $is_send_emeils ) ) {
1748
+
1749
+ if ( get_bk_option( 'booking_send_email_on_cost_change' ) == 'On' ) { //FixIn: 8.1.3.30
1750
+ $booking_data = apply_bk_filter( 'wpbc_get_booking_data', $selected_booking_id );
1751
+ wpbc_send_email_modified( $selected_booking_id, $booking_data['type'], $booking_data['form'] );
1752
+ }
1753
+ }
1754
+
1755
+ }
1756
+ }
1757
+ }
1758
+
1759
+ return array(
1760
+ 'after_action_result' => $after_action_result,
1761
+ 'after_action_message' => $after_action_message
1762
+ );
1763
+ }
1764
+
1765
+
1766
+ /**
1767
+ * Action: Send Payment request
1768
+ *
1769
+ * @param $booking_id_arr array or int of booking ID
1770
+ * @param $booking_cost string booking cost
1771
+ * @param $params array array of parameters: array( 'user_id' => 1 )
1772
+ *
1773
+ * @return array
1774
+ */
1775
+ function wpbc_booking_do_action__send_payment_request($booking_id_arr, $reason_of_action, $params ) {
1776
+ global $wpdb;
1777
+
1778
+ make_bk_action('check_multiuser_params_for_client_side_by_user_id', $params['user_id'] );
1779
+
1780
+ // Get ID list of bookings, like '1' or '3,7,9' ----------------------------------------------------------------
1781
+ if ( ! is_array( $booking_id_arr ) ) {
1782
+ $booking_id_arr = array( $booking_id_arr );
1783
+ }
1784
+ $booking_id_csd = join( ',', $booking_id_arr );
1785
+ $booking_id_csd = wpbc_clean_digit_or_csd( $booking_id_csd );
1786
+
1787
+
1788
+ // Is send email for this action ----------------------------------------------------------------------------------
1789
+ $is_send_emeils = wpbc_ajx__user_request_option__is_send_emails( $params['user_id'] );
1790
+
1791
+ // -----------------------------------------------------------------------------------------------------------------
1792
+
1793
+ if ( empty( $booking_id_csd ) ) {
1794
+ $after_action_result = false;
1795
+ $after_action_message = __( 'No bookings have been selected. Please select one or more bookings.', 'booking' );
1796
+
1797
+ } else {
1798
+ $after_action_result = true;
1799
+ $after_action_message = '';
1800
+
1801
+ $work_booking_id_arr = explode( ',', $booking_id_csd );
1802
+
1803
+ foreach ( $work_booking_id_arr as $selected_booking_id ) {
1804
+
1805
+ // SQL ---------------------------------------------------------------------------------------------------
1806
+ $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}booking as bk WHERE bk.booking_id= %d ", $selected_booking_id );
1807
+ $result_bk = $wpdb->get_results( $sql );
1808
+
1809
+ $old_booking_cost = '';
1810
+
1811
+ if ( ( 0 == count( $result_bk ) ) ) {
1812
+ // Error
1813
+ $after_action_result = false;
1814
+ $after_action_message .= sprintf( __( 'There is no booking %s', 'booking' )
1815
+ , ' <span style="font-size:0.9em;">( ID = <strong>' . $booking_id_csd . '</strong> )</span>'
1816
+ );
1817
+ } else {
1818
+ $old_booking_cost = $result_bk[0]->cost;
1819
+
1820
+ $is_email_payment_request_adress = get_bk_option( 'booking_is_email_payment_request_adress' );
1821
+ if ( 'Off' != $is_email_payment_request_adress ) {
1822
+
1823
+ $reason_of_action = htmlspecialchars( str_replace( '\"', '"', $reason_of_action ) );
1824
+ $reason_of_action = str_replace( "\'", "'", $reason_of_action );
1825
+
1826
+ foreach ( $result_bk as $res ) {
1827
+
1828
+ $is_send = wpbc_send_email_payment_request( $res->booking_id, $res->booking_type, $res->form, $reason_of_action );
1829
+
1830
+ if ( $is_send ) {
1831
+ // Update Payment request number
1832
+ $pay_request_numer = $res->pay_request + 1;
1833
+ $update_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}booking AS bk SET bk.pay_request= %d WHERE bk.booking_id= %d ", $pay_request_numer, $res->booking_id );
1834
+ if ( false === $wpdb->query( $update_sql ) ) {
1835
+ // Error
1836
+ $after_action_result = false;
1837
+ $after_action_message .= 'Error during updating to DB. File:' . __FILE__ . ' on line: ' . __LINE__;
1838
+ } else {
1839
+ // Success
1840
+ $after_action_message .= sprintf( __( 'Payment request for Booking %s has been sent. Cost for payment: %s', 'booking' )
1841
+ , ' <span style="font-size:0.9em;">( ID = <strong>' . $selected_booking_id . '</strong> )</span>'
1842
+ , '<strong>"' . wpbc__format__get_payment_status_title( $old_booking_cost ) . '"</strong>'
1843
+ ) . '<br/>';
1844
+ }
1845
+ }
1846
+ }
1847
+ }
1848
+ }
1849
+
1850
+ if ( $after_action_result ) {
1851
+ // LOG ---------------------------------------------------------------------------------------------------------
1852
+ $curr_user = get_user_by( 'id', (int) $params['user_id'] );
1853
+ wpbc_add_log_info( explode( ',', $selected_booking_id ),
1854
+ $after_action_message
1855
+ . '. ' . __( 'Send by:', 'booking' )
1856
+ . ' ' . $curr_user->first_name . ' ' . $curr_user->last_name . ' (' . $curr_user->user_email . ')'
1857
+ );
1858
+
1859
+ // Just action hook for some other addons
1860
+ do_action( 'wpbc_booking_action__send_payment_request', $selected_booking_id, $reason_of_action , $old_booking_cost );
1861
+
1862
+ // Emails ------------------------------------------------------------------------------------------------------
1863
+ /*
1864
+ if ( ! empty( $is_send_emeils ) ) {
1865
+
1866
+ if ( get_bk_option( 'booking_send_email_on_cost_change' ) == 'On' ) {
1867
+ $booking_data = apply_bk_filter( 'wpbc_get_booking_data', $selected_booking_id );
1868
+ wpbc_send_email_modified( $selected_booking_id, $booking_data['type'], $booking_data['form'] );
1869
+ }
1870
+ }
1871
+ */
1872
+ }
1873
+ }
1874
+
1875
+ }
1876
+
1877
+ return array(
1878
+ 'after_action_result' => $after_action_result,
1879
+ 'after_action_message' => $after_action_message
1880
+ );
1881
+ }
1882
+
1883
+
1884
+ function wpbc_booking_do_action__import_google_calendar( $request_params, $params ) {
1885
+
1886
+ $user_bk_id = (int) $params['user_id'];
1887
+
1888
+ global $wpdb;
1889
+
1890
+ $wpbc_Google_Calendar = new WPBC_Google_Calendar();
1891
+
1892
+ $wpbc_Google_Calendar->setSilent();
1893
+
1894
+ $wpbc_Google_Calendar->set_timezone( get_bk_option('booking_gcal_timezone') );
1895
+
1896
+ $wpbc_Google_Calendar->set_events_from_with_array( array(
1897
+ $request_params['booking_gcal_events_from'],
1898
+ $request_params['booking_gcal_events_from_offset'],
1899
+ $request_params['booking_gcal_events_from_offset_type']
1900
+ ) );
1901
+
1902
+ $wpbc_Google_Calendar->set_events_until_with_array( array(
1903
+ $request_params['booking_gcal_events_until'],
1904
+ $request_params['booking_gcal_events_until_offset'],
1905
+ $request_params['booking_gcal_events_until_offset_type']
1906
+ ) );
1907
+
1908
+ $wpbc_Google_Calendar->set_events_max( $request_params['booking_gcal_events_max'] );
1909
+
1910
+ if ( ( isset( $request_params['booking_gcal_resource'] ) ) && ( empty( $request_params['booking_gcal_resource'] ) ) ) {
1911
+
1912
+ $wpbc_Google_Calendar->setUrl( get_bk_option( 'booking_gcal_feed') );
1913
+ $import_result = $wpbc_Google_Calendar->run();
1914
+
1915
+ } else {
1916
+
1917
+ if ( $request_params['booking_gcal_resource'] != 'all' ) { // One resource
1918
+
1919
+ $wpbc_booking_resource_id = intval( $request_params['booking_gcal_resource'] );
1920
+
1921
+ $wpbc_Google_Calendar->setResource( $wpbc_booking_resource_id );
1922
+
1923
+ $wpbc_booking_resource_feed = get_booking_resource_attr( $wpbc_booking_resource_id );
1924
+ $wpbc_booking_resource_feed = $wpbc_booking_resource_feed->import;
1925
+ $wpbc_Google_Calendar->setUrl( $wpbc_booking_resource_feed );
1926
+
1927
+ $import_result = $wpbc_Google_Calendar->run();
1928
+ } else { // All resources
1929
+
1930
+ $where = ''; // Where for the different situation: BL and MU
1931
+
1932
+ if ( class_exists( 'wpdev_bk_multiuser' ) ) { // MultiUser - only specific booking resources for specific Regular User in Admin panel.
1933
+
1934
+ $is_user_super_admin = apply_bk_filter( 'is_user_super_admin', $user_bk_id );
1935
+
1936
+ if ( ! $is_user_super_admin ) {
1937
+ $where .= ' WHERE users = ' . intval( $user_bk_id ) . ' ';
1938
+ }
1939
+ }
1940
+
1941
+ $my_sql = "SELECT booking_type_id, import FROM {$wpdb->prefix}bookingtypes {$where}";
1942
+
1943
+ $types_list = $wpdb->get_results( $my_sql );
1944
+
1945
+ foreach ($types_list as $wpbc_booking_resource) {
1946
+ $wpbc_booking_resource_id = $wpbc_booking_resource->booking_type_id;
1947
+ $wpbc_booking_resource_feed = $wpbc_booking_resource->import;
1948
+ if ( ( ! empty( $wpbc_booking_resource_feed ) ) && ( $wpbc_booking_resource_feed != null ) && ( $wpbc_booking_resource_feed != '/' ) ) {
1949
+
1950
+ $wpbc_Google_Calendar->setUrl( $wpbc_booking_resource_feed );
1951
+ $wpbc_Google_Calendar->setResource( $wpbc_booking_resource_id );
1952
+ $import_result = $wpbc_Google_Calendar->run();
1953
+ }
1954
+ }
1955
+ }
1956
+ }
1957
+
1958
+
1959
+ if ( ( isset( $import_result ) ) && ( false != $import_result ) ) {
1960
+ $after_action_result = true;
1961
+ $after_action_message = sprintf( __( '%s new bookings have been imported', 'booking' )
1962
+ , ' <span style="font-size:1em;"> <strong>' . count( $wpbc_Google_Calendar->events ) . '</strong> </span>'
1963
+ ) ;
1964
+ if ( 0 != count( $wpbc_Google_Calendar->events ) ) {
1965
+ $after_action_message .= '<br/><br/>' . __( 'The filter settings have been updated to reflect these imported bookings. The page will be reloaded.', 'booking' );
1966
+ }
1967
+ } else {
1968
+ $after_action_result = false;
1969
+ $after_action_message = __( 'No bookings have been imported.', 'booking' )
1970
+ . '<br/><br/>'
1971
+ . sprintf( __( 'Please configure settings for import Google Calendar events', 'booking' ), '<b>', ',</b>' )
1972
+ . ' <a href="' . wpbc_get_settings_url() . '&tab=sync&subtab=gcal' . '">' . __('here' ,'booking') . '.</a>'
1973
+ . '<br/><br/>'
1974
+ . $wpbc_Google_Calendar->getErrorMessage();
1975
+ }
1976
+
1977
+
1978
+ if ( 0 == count( $wpbc_Google_Calendar->events ) ) {
1979
+ $new_listing_params = false;
1980
+ } else {
1981
+ $new_listing_params = array(
1982
+ "sort" => "booking_id",
1983
+ "sort_type" => "DESC",
1984
+ "page_num" => 1,
1985
+ "page_items_count" => "50