18 lines
809 B
JavaScript
18 lines
809 B
JavaScript
/**
|
|
* DO NOT EDIT THIS FILE.
|
|
* See the following change record for more information,
|
|
* https://www.drupal.org/node/2815083
|
|
* @preserve
|
|
**/
|
|
|
|
(Drupal => {
|
|
Drupal.theme.ajaxProgressIndicatorFullscreen = () => '<div class="ajax-progress ajax-progress--fullscreen"><div class="ajax-progress__throbber ajax-progress__throbber--fullscreen"> </div></div>';
|
|
|
|
Drupal.theme.ajaxProgressThrobber = message => {
|
|
const messageMarkup = typeof message === 'string' ? Drupal.theme('ajaxProgressMessage', message) : '';
|
|
const throbber = '<div class="ajax-progress__throbber"> </div>';
|
|
return `<div class="ajax-progress ajax-progress--throbber">${throbber}${messageMarkup}</div>`;
|
|
};
|
|
|
|
Drupal.theme.ajaxProgressMessage = message => `<div class="ajax-progress__message">${message}</div>`;
|
|
})(Drupal); |