"use strict";

(function (NioApp, $) {
  'use strict';

  var dualListbox = new DualListbox('#basic-listbox');
  var preselectedListbox = new DualListbox('#preselected-listbox');
  var nosearchListbox = new DualListbox('#nosearch-listbox');
  nosearchListbox.search_left.classList.add('dual-listbox__search--hidden');
  nosearchListbox.search_right.classList.add('dual-listbox__search--hidden');
  var customLabelsListbox = new DualListbox('#custom-labels-listbox', {
    availableTitle: 'Source Options',
    selectedTitle: 'Destination Options',
    addButtonText: '<em class="icon ni ni-chevron-right"></em>',
    removeButtonText: '<em class="icon ni ni-chevron-left"></em>',
    addAllButtonText: '<em class="icon ni ni-chevrons-right"></em>',
    removeAllButtonText: '<em class="icon ni ni-chevrons-left"></em>'
  });
})(NioApp, jQuery);