/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function ($, Drupal) {
Drupal.theme.quickeditBackstage = function (settings) {
let html = '';
html += `
`;
return html;
};
Drupal.theme.quickeditEntityToolbar = function (settings) {
let html = '';
html += `
`;
html += '';
html += '
';
html += '
';
html += '';
html += '
';
html += '';
html += '
';
return html;
};
Drupal.theme.quickeditEntityToolbarLabel = function (settings) {
return `${Drupal.checkPlain(settings.fieldLabel)}${Drupal.checkPlain(settings.entityLabel)}`;
};
Drupal.theme.quickeditEntityToolbarFence = function () {
return '';
};
Drupal.theme.quickeditFieldToolbar = function (settings) {
return ``;
};
Drupal.theme.quickeditToolgroup = function (settings) {
const classes = settings.classes || [];
classes.unshift('quickedit-toolgroup');
let html = '';
html += `
';
html += Drupal.theme('quickeditButtons', {
buttons: settings.buttons
});
html += '
';
return html;
};
Drupal.theme.quickeditButtons = function (settings) {
let html = '';
for (let i = 0; i < settings.buttons.length; i++) {
const button = settings.buttons[i];
if (!button.hasOwnProperty('type')) {
button.type = 'button';
}
const attributes = [];
const attrMap = settings.buttons[i].attributes || {};
Object.keys(attrMap).forEach(attr => {
attributes.push(attr + (attrMap[attr] ? `="${attrMap[attr]}"` : ''));
});
html += ``;
}
return html;
};
Drupal.theme.quickeditFormContainer = function (settings) {
let html = '';
html += `