Skip to content
Snippets Groups Projects
Commit 208515f9 authored by christian.wiedemann's avatar christian.wiedemann
Browse files

fix: Restore edit-section icons

parent 881cfb7b
No related branches found
No related tags found
No related merge requests found
source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "../";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 2);
/******/ })
/************************************************************************/
/******/ ({
/***/ "./js/gin_lb_toolbar.js":
/*!******************************!*\
!*** ./js/gin_lb_toolbar.js ***!
\******************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/* eslint-disable no-bitwise, no-nested-ternary, no-mutable-exports, comma-dangle, strict */\n\n\n(($, Drupal, drupalSettings) => {\n Drupal.behaviors.ginToolbar = {\n attach: () => {\n $('.glb-configure').add('.glb-toolbar__close').once('gin-toolbar-configure').each((item, elm) => {\n $(elm).click(() => {\n $('.glb-toolbar').toggleClass('glb-toolbar--extended glb-toolbar--small');\n calculateWidth();\n });\n });\n const glbToolbar = $('.glb-toolbar');\n $('body').once('gin-toolbar-event').each(() => {\n const events = ['dialogopen', 'dialogresizestop', 'dialogresize'];\n events.forEach(eventName => {\n $('body').on(eventName, (event, ui) => {\n calculateWidth();\n });\n });\n $('body').on('dialogclose', (event, ui) => {\n const modal = $(event.target);\n\n if (modal.attr('id') === 'drupal-off-canvas') {\n glbToolbar.css('width', '100%');\n }\n });\n });\n\n function calculateWidth() {\n if (glbToolbar.hasClass('glb-toolbar--small')) {\n glbToolbar.css('width', '100%');\n } else {\n glbToolbar.css('width', Drupal.behaviors.offCanvas.width + 'px');\n }\n }\n\n calculateWidth();\n }\n };\n\n Drupal.toolbar.ToolbarVisualView.prototype.updateToolbarHeight = function () {\n const glbToolbar = $('.glb-toolbar');\n const toolbarTabOuterHeight = $('#toolbar-bar').outerHeight() || 0;\n const toolbarTrayHorizontalOuterHeight = $('.is-active.toolbar-tray-horizontal').outerHeight() || 0;\n const glbToolbarHeight = glbToolbar.outerHeight();\n this.model.set('height', toolbarTabOuterHeight + toolbarTrayHorizontalOuterHeight + glbToolbarHeight);\n const body = $('body')[0];\n body.style.setProperty('padding-top', this.model.get('height') + 'px', 'important');\n glbToolbar.css('top', toolbarTabOuterHeight + toolbarTrayHorizontalOuterHeight);\n glbToolbar.addClass('glb-toolbar--processed');\n this.triggerDisplace();\n };\n})(jQuery, Drupal, drupalSettings);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9naW5fbGJfdG9vbGJhci5qcz9lNGExIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsImZpbGUiOiIuL2pzL2dpbl9sY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aHQoKSB8fCAwO1xuICAgIGNvbnN0IGdsYlRvb2xiYXJIZWlnaHQgPSBnbGJUb29sYmFyLm91dGVySGVpZ2h0KCk7XG4gICAgdGhpcy5tb2RlbC5zZXQoJ2hlaWdodCcsIHRvb2xiYXJUYWJPdXRlckhlaWdodCArIHRvb2xiYXJUcmF5SG9yaXpvbnRhbE91dGVySGVpZ2h0ICsgZ2xiVG9vbGJhckhlaWdodCk7XG4gICAgY29uc3QgYm9keSA9ICQoJ2JvZHknKVswXTtcbiAgICBib2R5LnN0eWxlLnNldFByb3BlcnR5KCdwYWRkaW5nLXRvcCcsIHRoaXMubW9kZWwuZ2V0KCdoZWlnaHQnKSArICdweCcsICdpbXBvcnRhbnQnKTtcbiAgICBnbGJUb29sYmFyLmNzcygndG9wJywgdG9vbGJhclRhYk91dGVySGVpZ2h0ICsgdG9vbGJhclRyYXlIb3Jpem9udGFsT3V0ZXJIZWlnaHQpO1xuICAgIGdsYlRvb2xiYXIuYWRkQ2xhc3MoJ2dsYi10b29sYmFyLS1wcm9jZXNzZWQnKTtcbiAgICB0aGlzLnRyaWdnZXJEaXNwbGFjZSgpO1xuICB9XG59KShqUXVlcnksIERydXBhbCwgZHJ1cGFsU2V0dGluZ3MpO1xuXG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/gin_lb_toolbar.js\n");
/***/ }),
/***/ 2:
/*!************************************!*\
!*** multi ./js/gin_lb_toolbar.js ***!
\************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(/*! ./js/gin_lb_toolbar.js */"./js/gin_lb_toolbar.js");
/***/ })
/******/ });
//# sourceMappingURL=gin_lb_toolbar.js.map
\ No newline at end of file
!function(t){function o(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}var e={};o.m=t,o.c=e,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(o){return t[o]}.bind(null,n));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},o.p="../",o(o.s=9)}({0:function(){"use strict";var t,o;t=jQuery,o=Drupal,drupalSettings,o.behaviors.ginToolbar={attach:()=>{function e(){r.hasClass("glb-toolbar--small")?r.css("width","100%"):r.css("width",o.behaviors.offCanvas.width+"px")}t(".glb-configure").add(".glb-toolbar__close").once("gin-toolbar-configure").each((o,r)=>{t(r).click(()=>{t(".glb-toolbar").toggleClass("glb-toolbar--extended glb-toolbar--small"),e()})});const r=t(".glb-toolbar");t("body").once("gin-toolbar-event").each(()=>{["dialogopen","dialogresizestop","dialogresize"].forEach(o=>{t("body").on(o,()=>{e()})}),t("body").on("dialogclose",o=>{"drupal-off-canvas"===t(o.target).attr("id")&&r.css("width","100%")})}),e()}},o.toolbar.ToolbarVisualView.prototype.updateToolbarHeight=function(){const o=t(".glb-toolbar"),e=t("#toolbar-bar").outerHeight()||0,r=t(".is-active.toolbar-tray-horizontal").outerHeight()||0,n=o.outerHeight();this.model.set("height",e+r+n),t("body")[0].style.setProperty("padding-top",this.model.get("height")+"px","important"),o.css("top",e+r),o.addClass("glb-toolbar--processed"),this.triggerDisplace()}},9:function(t,o,e){t.exports=e(0)}});
\ No newline at end of file
......@@ -6,6 +6,9 @@ $sprites: (
'trash': "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M3 6h18M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2M10 11v6M14 11v6'/%3e%3c/svg%3e",
'asterisk': "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M2.04 11.869a1.973 1.973 0 01-1.39-2.53l.388-1.2a1.976 1.976 0 012.564-1.254c2.867 1.067 5.02 2.008 6.454 2.826-.31-2.963-.521-5.3-.633-7.013C9.35 1.584 10.245.671 11.36.671h1.172c1.129 0 2.036.933 1.96 2.06-.135 1.991-.378 4.307-.734 6.944 1.993-1.004 4.214-1.947 6.668-2.83 1.044-.376 2.182.202 2.524 1.258l.437 1.35c.338 1.045-.23 2.173-1.287 2.477a43.855 43.855 0 01-7.143 1.447c1.215 1.057 2.841 2.795 4.88 5.213a1.978 1.978 0 01-.38 2.888l-1.005.713c-.89.63-2.124.432-2.736-.472-1.14-1.684-2.421-3.75-3.843-6.2-1.316 2.507-2.515 4.58-3.596 6.212-.6.906-1.828 1.09-2.71.454l-.98-.707a1.986 1.986 0 01-.376-2.877c2.115-2.555 3.676-4.296 4.683-5.224-2.375-.459-4.66-.963-6.854-1.508z'/%3e%3c/svg%3e",
'checked': "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M5.692 10.644l3.58 3.758 9.036-9.489 2.226 2.34L9.272 19.088l-5.806-6.103 2.226-2.34z'/%3e%3c/svg%3e",
'remove-section': "data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.24996 13.4583C4.24996 14.2375 4.88746 14.875 5.66663 14.875H11.3333C12.1125 14.875 12.75 14.2375 12.75 13.4583V4.95833H4.24996V13.4583ZM5.66663 6.375H11.3333V13.4583H5.66663V6.375ZM10.9791 2.83333L10.2708 2.125H6.72913L6.02079 2.83333H3.54163V4.25H13.4583V2.83333H10.9791Z' fill='white'/%3E%3C/svg%3E%0A",
'edit-section': "data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='edit_24px'%3E%3Cpath id='icon/image/edit_24px' fill-rule='evenodd' clip-rule='evenodd' d='M12.5083 2.125C12.3312 2.125 12.1471 2.19583 12.0125 2.33042L10.7162 3.62667L13.3725 6.28292L14.6687 4.98667C14.945 4.71042 14.945 4.26417 14.6687 3.98792L13.0112 2.33042C12.8696 2.18875 12.6925 2.125 12.5083 2.125ZM9.95831 6.38916L10.61 7.04083L4.19248 13.4583H3.54081V12.8067L9.95831 6.38916ZM2.12415 12.2187L9.95831 4.38458L12.6146 7.04083L4.7804 14.875H2.12415V12.2187Z' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A",
'save-section': "data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.20829 4.95842H7.79163V7.79175H4.95829V9.20842H7.79163V12.0417H9.20829V9.20842H12.0416V7.79175H9.20829V4.95842ZM8.49996 1.41675C4.58996 1.41675 1.41663 4.59008 1.41663 8.50008C1.41663 12.4101 4.58996 15.5834 8.49996 15.5834C12.41 15.5834 15.5833 12.4101 15.5833 8.50008C15.5833 4.59008 12.41 1.41675 8.49996 1.41675ZM8.49996 14.1667C5.37621 14.1667 2.83329 11.6238 2.83329 8.50008C2.83329 5.37633 5.37621 2.83341 8.49996 2.83341C11.6237 2.83341 14.1666 5.37633 14.1666 8.50008C14.1666 11.6238 11.6237 14.1667 8.49996 14.1667Z' fill='white'/%3E%3C/svg%3E%0A",
'add': "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='none' d='M12 4v16M4 12h16' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",
'circle': "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3ccircle cx='12' cy='12' r='10' fill='none' stroke='currentColor' stroke-width='2.25' stroke-linecap='round'/%3e%3c/svg%3e",
'close': "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='none' d='M20 4L4 20M4 4l16 16' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment