packages/ag-grid-docs/src/dist/aui/js/aui.js
// in page body, then button panel and finally page menu.
in page body, then button panel and finally page menu.
in page body then button panel and finally page menu .
function focusDialog(element) {
          if ((0, _jquery2.default)('.dialog-page-body', element).find(':focus').length !== 0) {
              return;
          }
          if (options.focusSelector) {
              return focusItem(options.focusSelector, element);
          }
          var defaultFocusSelector = ':input:visible:enabled:first';
          if (focusItem(defaultFocusSelector, (0, _jquery2.default)('.dialog-page-body', element))) return;
          if (focusItem(defaultFocusSelector, (0, _jquery2.default)('.dialog-button-panel', element))) return;
          focusItem(defaultFocusSelector, (0, _jquery2.default)('.dialog-page-menu', element));
      }
function focusDialog ( element ) { if ( ( 0 , _jquery2 . default ) ( '.dialog-page-body' , element ) . find ( ':focus' ) . length !== 0 ) { return ; } if ( options . focusSelector ) { return focusItem ( options . focusSelector , element ) ; } var defaultFocusSelector = ':input:visible:enabled:first' ; if ( focusItem ( defaultFocusSelector , ( 0 , _jquery2 . default ) ( '.dialog-page-body' , element ) ) ) return ; if ( focusItem ( defaultFocusSelector , ( 0 , _jquery2 . default ) ( '.dialog-button-panel' , element ) ) ) return ; focusItem ( defaultFocusSelector , ( 0 , _jquery2 . default ) ( '.dialog-page-menu' , element ) ) ; }
in page body, then button panel and finally page menu.
in page body then button panel and finally page menu .