~jiyu/Jiyu-Web

2cdab4fa90dffd8506d31de82963c6c78049ed6d — jiyu 7 months ago dafd63c master
You can now click on an element to edit it instead of having to close your previous edit.
2 files changed, 4 insertions(+), 16 deletions(-)

M public/js/backend.js
M resources/js/Backend/Components/PageContent.vue
M public/js/backend.js => public/js/backend.js +3 -3
@@ 428,7 428,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vuedraggable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuedraggable */ \"./node_modules/vuedraggable/dist/vuedraggable.umd.js\");\n/* harmony import */ var vuedraggable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vuedraggable__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _ElementEdit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ElementEdit */ \"./resources/js/Backend/Components/ElementEdit.vue\");\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n  name: \"page-content\",\n  props: {\n    page: Object\n  },\n  data: function data() {\n    return {\n      editing: null,\n      noDrag: false,\n      canEdit: true\n    };\n  },\n  computed: {\n    dragOptions: function dragOptions() {\n      return {\n        animation: 400,\n        easing: \"cubic-bezier(0.68, -0.6, 0.32, 1.6)\",\n        ghostClass: \"ghost\",\n        //disabled: this.noDrag,\n        setData: function setData(dataTransfer) {\n          dataTransfer.setDragImage(document.createElement('div'), 0, 0);\n        }\n      };\n    }\n  },\n  methods: {\n    startDrag: function startDrag() {\n      this.canEdit = false;\n    },\n    endDrag: function endDrag() {\n      this.canEdit = true;\n      this.$emit('pageUpdate');\n    },\n    editElement: function editElement(key) {\n      if (!this.editing && this.canEdit) {\n        this.editing = key;\n      }\n    },\n    updateElement: function updateElement(event, key) {\n      this.$emit('pageUpdate');\n      this.closeElement();\n    },\n    deleteElement: function deleteElement(key) {\n      this.$emit('deleteElement', key);\n      this.closeElement();\n    },\n    closeElement: function closeElement() {\n      this.editing = null;\n    },\n    checkUsePage: function checkUsePage(type) {\n      if (type == 'title') {\n        return this.page;\n      }\n\n      return undefined;\n    }\n  },\n  watch: {\n    editing: function editing() {\n      if (this.editing) {\n        this.noDrag = true;\n      } else {\n        this.noDrag = false;\n      }\n    }\n  },\n  components: {\n    draggable: (vuedraggable__WEBPACK_IMPORTED_MODULE_0___default()),\n    ElementEdit: _ElementEdit__WEBPACK_IMPORTED_MODULE_1__.default\n  }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvQmFja2VuZC9Db21wb25lbnRzL1BhZ2VDb250ZW50LnZ1ZT9kODNlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUF3Q0k7QUFDQTtBQUVBLGlFQUFlO0FBQ1gsTUFBSSxFQUFFLGNBREs7QUFFWCxPQUFLLEVBQUU7QUFDSCxRQUFJLEVBQUU7QUFESCxHQUZJO0FBS1gsTUFMVyxrQkFLSjtBQUNILFdBQU87QUFDSCxhQUFPLEVBQUUsSUFETjtBQUVILFlBQU0sRUFBRSxLQUZMO0FBR0gsYUFBTyxFQUFFO0FBSE4sS0FBUDtBQUtILEdBWFU7QUFZWCxVQUFRLEVBQUU7QUFDTixlQURNLHlCQUNRO0FBQ1YsYUFBTztBQUNILGlCQUFTLEVBQUUsR0FEUjtBQUVILGNBQU0sRUFBRSxxQ0FGTDtBQUdILGtCQUFVLEVBQUUsT0FIVDtBQUlIO0FBQ0EsZUFMRyxtQkFLSyxZQUxMLEVBS21CO0FBQ2xCLHNCQUFZ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FnT3B0aW9ucz1cImRyYWdPcHRpb25zXCJcbiAgICAgICAgICAgICAgICB2LW9uOnVwZGF0ZUVsZW1lbnQ9XCJ1cGRhdGVFbGVtZW50KCRldmVudCwgaW5kZXgpXCJcbiAgICAgICAgICAgICAgICB2LW9uOmRlbGV0ZUVsZW1lbnQ9XCJkZWxldGVFbGVtZW50KGluZGV4KVwiXG4gICAgICAgICAgICAgICAgdi1vbjpjbG9zZUVsZW1lbnQ9XCJjbG9zZUVsZW1lbnQoaW5kZXgpXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgIDwvZWxlbWVudC1lZGl0PlxuICAgICAgICAgICAgPGNvbXBvbmVudFxuICAgICAgICAgICAgICAgIHYtZWxzZVxuICAgICAgICAgICAgICAgIHYtYmluZDppcz1cImVsZW1lbnQudHlwZSArICctZWxlbWVudCdcIlxuICAgICAgICAgICAgICAgIDpwYWdlPVwiY2hlY2tVc2VQYWdlKGVsZW1lbnQudHlwZSlcIlxuICAgICAgICAgICAgICAgIDplbGVtZW50PVwiZWxlbWVudFwiXG4gICAgICAgICAgICAgICAgQGNsaWNrLm5hdGl2ZT1cImVkaXRFbGVtZW50KGluZGV4KVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICA8L2NvbXBvbmVudD5cbiAgICAgICAgPC90ZW1wbGF0ZT5cbiAgICA8L2RyYWdnYWJsZT5cbjwvdGVtcGxhdGU+XG5cbjxzdHlsZT5cbi5naG9zdCB7XG59XG48L3N0eWxlPlxuXG48c2NyaXB0PlxuICAgIGltcG9ydCBkcmFnZ2FibGUgZnJvbSAndnVlZHJhZ2dhYmxlJztcbiAgICBpbXBvcnQgRWxlbWVudEVkaXQgZnJvbSAnLi9FbGVtZW50RWRpdCc7XG5cbiAgICBleHBvcnQgZGVmYXVsdCB7XG4gICAgICAgIG5hbWU6IFwicGFnZS1jb250ZW50XCIsXG4gICAgICAgIHByb3BzOiB7XG4gICAgICAgICAgICBwYWdlOiBPYmplY3RcbiAgICAgICAgfSxcbiAgICAgICAgZGF0YSgpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgZWRpdGluZzogbnVsbCxcbiAgICAgICAgICAgICAgICBub0RyYWc6IGZhbHNlLFxuICAgICAgICAgICAgICAgIGNhbkVkaXQ6IHRydWUsXG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIGNvbXB1dGVkOiB7XG4gICAgICAgICAgICBkcmFnT3B0aW9ucygpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICBhbmltYXRpb246IDQwMCxcbiAgICAgICAgICAgICAgICAgICAgZWFzaW5nOiBcImN1YmljLWJlemllcigwLjY4LCAtMC42LCAwLjMyLCAxLjYpXCIsXG4gICAgICAgICAgICAgICAgICAgIGdob3N0Q2xhc3M6IFwiZ2hvc3RcIixcbiAgICAgICAgICAgICAgICAgICAgLy9kaXNhYmxlZDogdGhpcy5ub0RyYWcsXG4gICAgICAgICAgICAgICAgICAgIHNldERhdGEoZGF0YVRyYW5zZmVyKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBkYXRhVHJhbnNmZXIuc2V0RHJhZ0ltYWdlKGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2RpdicpLCAwLCAwKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgbWV0aG9kczoge1xuICAgICAgICAgICAgc3RhcnREcmFnKCkge1xuICAgICAgICAgICAgICAgIHRoaXMuY2FuRWRpdCA9IGZhbHNlO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGVuZERyYWcoKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5jYW5FZGl0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbWl0KCdwYWdlVXBkYXRlJyk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZWRpdEVsZW1lbnQoa2V5KSB7XG4gICAgICAgICAgICAgICAgaWYgKCF0aGlzLmVkaXRpbmcgJiYgdGhpcy5jYW5FZGl0KSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZWRpdGluZyA9IGtleTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgdXBkYXRlRWxlbWVudChldmVudCwga2V5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy4kZW1pdCgncGFnZVVwZGF0ZScpO1xuICAgICAgICAgICAgICAgIHRoaXMuY2xvc2VFbGVtZW50KCk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZGVsZXRlRWxlbWVudChrZXkpIHtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbWl0KCdkZWxldGVFbGVtZW50Jywga2V5KTtcbiAgICAgICAgICAgICAgICB0aGlzLmNsb3NlRWxlbWVudCgpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGNsb3NlRWxlbWVudCgpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmVkaXRpbmcgPSBudWxsO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGNoZWNrVXNlUGFnZSh0eXBlKSB7XG4gICAgICAgICAgICAgICAgaWYgKHR5cGUgPT0gJ3RpdGxlJykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5wYWdlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB3YXRjaDoge1xuICAgICAgICAgICAgZWRpdGluZygpIHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5lZGl0aW5nKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9EcmFnID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vRHJhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgY29tcG9uZW50czoge1xuICAgICAgICAgICAgZHJhZ2dhYmxlLFxuICAgICAgICAgICAgRWxlbWVudEVkaXRcbiAgICAgICAgfVxuICAgIH1cbjwvc2NyaXB0PiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Backend/Components/PageContent.vue?vue&type=script&lang=js\n");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vuedraggable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuedraggable */ \"./node_modules/vuedraggable/dist/vuedraggable.umd.js\");\n/* harmony import */ var vuedraggable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vuedraggable__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _ElementEdit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ElementEdit */ \"./resources/js/Backend/Components/ElementEdit.vue\");\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n  name: \"page-content\",\n  props: {\n    page: Object\n  },\n  data: function data() {\n    return {\n      editing: null,\n      canEdit: true\n    };\n  },\n  computed: {\n    dragOptions: function dragOptions() {\n      return {\n        animation: 400,\n        easing: \"cubic-bezier(0.68, -0.6, 0.32, 1.6)\",\n        ghostClass: \"ghost\",\n        setData: function setData(dataTransfer) {\n          dataTransfer.setDragImage(document.createElement('div'), 0, 0);\n        }\n      };\n    }\n  },\n  methods: {\n    startDrag: function startDrag() {\n      this.canEdit = false;\n    },\n    endDrag: function endDrag() {\n      this.canEdit = true;\n      this.$emit('pageUpdate');\n    },\n    editElement: function editElement(key) {\n      if (this.canEdit) {\n        this.editing = key;\n      }\n    },\n    updateElement: function updateElement(event, key) {\n      this.$emit('pageUpdate');\n      this.closeElement();\n    },\n    deleteElement: function deleteElement(key) {\n      this.$emit('deleteElement', key);\n      this.closeElement();\n    },\n    closeElement: function closeElement() {\n      this.editing = null;\n    },\n    checkUsePage: function checkUsePage(type) {\n      if (type == 'title') {\n        return this.page;\n      }\n\n      return undefined;\n    }\n  },\n  components: {\n    draggable: (vuedraggable__WEBPACK_IMPORTED_MODULE_0___default()),\n    ElementEdit: _ElementEdit__WEBPACK_IMPORTED_MODULE_1__.default\n  }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvQmFja2VuZC9Db21wb25lbnRzL1BhZ2VDb250ZW50LnZ1ZT9kODNlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUF1Q0k7QUFDQTtBQUVBLGlFQUFlO0FBQ1gsTUFBSSxFQUFFLGNBREs7QUFFWCxPQUFLLEVBQUU7QUFDSCxRQUFJLEVBQUU7QUFESCxHQUZJO0FBS1gsTUFMVyxrQkFLSjtBQUNILFdBQU87QUFDSCxhQUFPLEVBQUUsSUFETjtBQUVILGFBQU8sRUFBRTtBQUZOLEtBQVA7QUFJSCxHQVZVO0FBV1gsVUFBUSxFQUFFO0FBQ04sZUFETSx5QkFDUTtBQUNWLGFBQU87QUFDSCxpQkFBUyxFQUFFLEdBRFI7QUFFSCxjQUFNLEVBQUUscUNBRkw7QUFHSCxrQkFBVSxFQUFFLE9BSFQ7QUFJSCxlQUpHLG1CQUlLLFlBSkwsRUFJbUI7QUFDbEIsc0JBQVksQ0FBQyxZQUFiLENBQTBCLFFBQVEsQ0FBQyxhQUFULENBQXVCLEtBQXZCLENBQTFCLEVBQ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LnVzZVswXSEuL25vZGVfbW9kdWxlcy92dWUtbG9hZGVyL2Rpc3QvaW5kZXguanM/P3J1bGVTZXRbMF0udXNlWzBdIS4vcmVzb3VyY2VzL2pzL0JhY2tlbmQvQ29tcG9uZW50cy9QYWdlQ29udGVudC52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMuanMiLCJzb3VyY2VzQ29udGVudCI6WyI8dGVtcGxhdGU+XG4gICAgPGRyYWdnYWJsZVxuICAgICAgICB2LW1vZGVsPVwicGFnZS5jb250ZW50XCJcbiAgICAgICAgdi1iaW5kPVwiZHJhZ09wdGlvbnNcIlxuICAgICAgICBncm91cD1cImVsZW1lbnRzXCJcbiAgICAgICAgQHN0YXJ0PVwic3RhcnREcmFnXCJcbiAgICAgICAgQGVuZD1cImVuZERyYWdcIlxuICAgICAgICBpdGVtLWtleT1cInBhZ2VcIlxuICAgID5cbiAgICAgICAgPHRlbXBsYXRlXG4gICAgICAgICAgICAjaXRlbT1cIntlbGVtZW50LCBpbmRleH1cIlxuICAgICAgICA+XG4gICAgICAgICAgICA8ZWxlbWVudC1lZGl0XG4gICAgICAgICAgICAgICAgdi1pZj1cImVkaXRpbmcgPT0gaW5kZXhcIlxuICAgICAgICAgICAgICAgIDplbGVtZW50PVwiZWxlbWVudFwiXG4gICAgICAgICAgICAgICAgOmRyYWdPcHRpb25zPVwiZHJhZ09wdGlvbnNcIlxuICAgICAgICAgICAgICAgIHYtb246dXBkYXRlRWxlbWVudD1cInVwZGF0ZUVsZW1lbnQoJGV2ZW50LCBpbmRleClcIlxuICAgICAgICAgICAgICAgIHYtb246ZGVsZXRlRWxlbWVudD1cImRlbGV0ZUVsZW1lbnQoaW5kZXgpXCJcbiAgICAgICAgICAgICAgICB2LW9uOmNsb3NlRWxlbWVudD1cImNsb3NlRWxlbWVudChpbmRleClcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgPC9lbGVtZW50LWVkaXQ+XG4gICAgICAgICAgICA8Y29tcG9uZW50XG4gICAgICAgICAgICAgICAgdi1lbHNlXG4gICAgICAgICAgICAgICAgdi1iaW5kOmlzPVwiZWxlbWVudC50eXBlICsgJy1lbGVtZW50J1wiXG4gICAgICAgICAgICAgICAgOnBhZ2U9XCJjaGVja1VzZVBhZ2UoZWxlbWVudC50eXBlKVwiXG4gICAgICAgICAgICAgICAgOmVsZW1lbnQ9XCJlbGVtZW50XCJcbiAgICAgICAgICAgICAgICBAY2xpY2submF0aXZlPVwiZWRpdEVsZW1lbnQoaW5kZXgpXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgIDwvY29tcG9uZW50PlxuICAgICAgICA8L3RlbXBsYXRlPlxuICAgIDwvZHJhZ2dhYmxlPlxuPC90ZW1wbGF0ZT5cblxuPHN0eWxlPlxuLmdob3N0IHtcbn1cbjwvc3R5bGU+XG5cbjxzY3JpcHQ+XG4gICAgaW1wb3J0IGRyYWdnYWJsZSBmcm9tICd2dWVkcmFnZ2FibGUnO1xuICAgIGltcG9ydCBFbGVtZW50RWRpdCBmcm9tICcuL0VsZW1lbnRFZGl0JztcblxuICAgIGV4cG9ydCBkZWZhdWx0IHtcbiAgICAgICAgbmFtZTogXCJwYWdlLWNvbnRlbnRcIixcbiAgICAgICAgcHJvcHM6IHtcbiAgICAgICAgICAgIHBhZ2U6IE9iamVjdFxuICAgICAgICB9LFxuICAgICAgICBkYXRhKCkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICBlZGl0aW5nOiBudWxsLFxuICAgICAgICAgICAgICAgIGNhbkVkaXQ6IHRydWUsXG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIGNvbXB1dGVkOiB7XG4gICAgICAgICAgICBkcmFnT3B0aW9ucygpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICBhbmltYXRpb246IDQwMCxcbiAgICAgICAgICAgICAgICAgICAgZWFzaW5nOiBcImN1YmljLWJlemllcigwLjY4LCAtMC42LCAwLjMyLCAxLjYpXCIsXG4gICAgICAgICAgICAgICAgICAgIGdob3N0Q2xhc3M6IFwiZ2hvc3RcIixcbiAgICAgICAgICAgICAgICAgICAgc2V0RGF0YShkYXRhVHJhbnNmZXIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGRhdGFUcmFuc2Zlci5zZXREcmFnSW1hZ2UoZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnZGl2JyksIDAsIDApO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBtZXRob2RzOiB7XG4gICAgICAgICAgICBzdGFydERyYWcoKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5jYW5FZGl0ID0gZmFsc2U7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZW5kRHJhZygpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmNhbkVkaXQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIHRoaXMuJGVtaXQoJ3BhZ2VVcGRhdGUnKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBlZGl0RWxlbWVudChrZXkpIHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5jYW5FZGl0KSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZWRpdGluZyA9IGtleTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgdXBkYXRlRWxlbWVudChldmVudCwga2V5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy4kZW1pdCgncGFnZVVwZGF0ZScpO1xuICAgICAgICAgICAgICAgIHRoaXMuY2xvc2VFbGVtZW50KCk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZGVsZXRlRWxlbWVudChrZXkpIHtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbWl0KCdkZWxldGVFbGVtZW50Jywga2V5KTtcbiAgICAgICAgICAgICAgICB0aGlzLmNsb3NlRWxlbWVudCgpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGNsb3NlRWxlbWVudCgpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmVkaXRpbmcgPSBudWxsO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGNoZWNrVXNlUGFnZSh0eXBlKSB7XG4gICAgICAgICAgICAgICAgaWYgKHR5cGUgPT0gJ3RpdGxlJykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5wYWdlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBjb21wb25lbnRzOiB7XG4gICAgICAgICAgICBkcmFnZ2FibGUsXG4gICAgICAgICAgICBFbGVtZW50RWRpdFxuICAgICAgICB9XG4gICAgfVxuPC9zY3JpcHQ+Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Backend/Components/PageContent.vue?vue&type=script&lang=js\n");

/***/ }),



@@ 791,7 791,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"render\": () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n  var _component_element_edit = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"element-edit\");\n\n  var _component_draggable = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"draggable\");\n\n  return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_draggable, (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)({\n    modelValue: $props.page.content,\n    \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n      return $props.page.content = $event;\n    })\n  }, $options.dragOptions, {\n    group: \"elements\",\n    onStart: $options.startDrag,\n    onEnd: $options.endDrag,\n    tag: \"transition-group\",\n    \"item-key\": \"page\"\n  }), {\n    item: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function (_ref) {\n      var element = _ref.element,\n          index = _ref.index;\n      return [$data.editing == index ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_element_edit, {\n        key: 0,\n        element: element,\n        dragOptions: $options.dragOptions,\n        onUpdateElement: function onUpdateElement($event) {\n          return $options.updateElement($event, index);\n        },\n        onDeleteElement: function onDeleteElement($event) {\n          return $options.deleteElement(index);\n        },\n        onCloseElement: function onCloseElement($event) {\n          return $options.closeElement(index);\n        }\n      }, null, 8\n      /* PROPS */\n      , [\"element\", \"dragOptions\", \"onUpdateElement\", \"onDeleteElement\", \"onCloseElement\"])) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent)(element.type + '-element'), {\n        key: 1,\n        page: $options.checkUsePage(element.type),\n        element: element,\n        onClick: function onClick($event) {\n          return $options.editElement(index);\n        }\n      }, null, 8\n      /* PROPS */\n      , [\"page\", \"element\", \"onClick\"]))];\n    }),\n    _: 1\n    /* STABLE */\n\n  }, 16\n  /* FULL_PROPS */\n  , [\"modelValue\", \"onStart\", \"onEnd\"]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=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Gl0XG4gICAgICAgICAgICAgICAgdi1pZj1cImVkaXRpbmcgPT0gaW5kZXhcIlxuICAgICAgICAgICAgICAgIDplbGVtZW50PVwiZWxlbWVudFwiXG4gICAgICAgICAgICAgICAgOmRyYWdPcHRpb25zPVwiZHJhZ09wdGlvbnNcIlxuICAgICAgICAgICAgICAgIHYtb246dXBkYXRlRWxlbWVudD1cInVwZGF0ZUVsZW1lbnQoJGV2ZW50LCBpbmRleClcIlxuICAgICAgICAgICAgICAgIHYtb246ZGVsZXRlRWxlbWVudD1cImRlbGV0ZUVsZW1lbnQoaW5kZXgpXCJcbiAgICAgICAgICAgICAgICB2LW9uOmNsb3NlRWxlbWVudD1cImNsb3NlRWxlbWVudChpbmRleClcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgPC9lbGVtZW50LWVkaXQ+XG4gICAgICAgICAgICA8Y29tcG9uZW50XG4gICAgICAgICAgICAgICAgdi1lbHNlXG4gICAgICAgICAgICAgICAgdi1iaW5kOmlzPVwiZWxlbWVudC50eXBlICsgJy1lbGVtZW50J1wiXG4gICAgICAgICAgICAgICAgOnBhZ2U9XCJjaGVja1VzZVBhZ2UoZWxlbWVudC50eXBlKVwiXG4gICAgICAgICAgICAgICAgOmVsZW1lbnQ9XCJlbGVtZW50XCJcbiAgICAgICAgICAgICAgICBAY2xpY2submF0aXZlPVwiZWRpdEVsZW1lbnQoaW5kZXgpXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgIDwvY29tcG9uZW50PlxuICAgICAgICA8L3RlbXBsYXRlPlxuICAgIDwvZHJhZ2dhYmxlPlxuPC90ZW1wbGF0ZT5cblxuPHN0eWxlPlxuLmdob3N0IHtcbn1cbjwvc3R5bGU+XG5cbjxzY3JpcHQ+XG4gICAgaW1wb3J0IGRyYWdnYWJsZSBmcm9tICd2dWVkcmFnZ2FibGUnO1xuICAgIGltcG9ydCBFbGVtZW50RWRpdCBmcm9tICcuL0VsZW1lbnRFZGl0JztcblxuICAgIGV4cG9ydCBkZWZhdWx0IHtcbiAgICAgICAgbmFtZTogXCJwYWdlLWNvbnRlbnRcIixcbiAgICAgICAgcHJvcHM6IHtcbiAgICAgICAgICAgIHBhZ2U6IE9iamVjdFxuICAgICAgICB9LFxuICAgICAgICBkYXRhKCkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICBlZGl0aW5nOiBudWxsLFxuICAgICAgICAgICAgICAgIG5vRHJhZzogZmFsc2UsXG4gICAgICAgICAgICAgICAgY2FuRWRpdDogdHJ1ZSxcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgY29tcHV0ZWQ6IHtcbiAgICAgICAgICAgIGRyYWdPcHRpb25zKCkge1xuICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICAgIGFuaW1hdGlvbjogNDAwLFxuICAgICAgICAgICAgICAgICAgICBlYXNpbmc6IFwiY3ViaWMtYmV6aWVyKDAuNjgsIC0wLjYsIDAuMzIsIDEuNilcIixcbiAgICAgICAgICAgICAgICAgICAgZ2hvc3RDbGFzczogXCJnaG9zdFwiLFxuICAgICAgICAgICAgICAgICAgICAvL2Rpc2FibGVkOiB0aGlzLm5vRHJhZyxcbiAgICAgICAgICAgICAgICAgICAgc2V0RGF0YShkYXRhVHJhbnNmZXIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGRhdGFUcmFuc2Zlci5zZXREcmFnSW1hZ2UoZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnZGl2JyksIDAsIDApO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBtZXRob2RzOiB7XG4gICAgICAgICAgICBzdGFydERyYWcoKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5jYW5FZGl0ID0gZmFsc2U7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZW5kRHJhZygpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmNhbkVkaXQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIHRoaXMuJGVtaXQoJ3BhZ2VVcGRhdGUnKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBlZGl0RWxlbWVudChrZXkpIHtcbiAgICAgICAgICAgICAgICBpZiAoIXRoaXMuZWRpdGluZyAmJiB0aGlzLmNhbkVkaXQpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5lZGl0aW5nID0ga2V5O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB1cGRhdGVFbGVtZW50KGV2ZW50LCBrZXkpIHtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbWl0KCdwYWdlVXBkYXRlJyk7XG4gICAgICAgICAgICAgICAgdGhpcy5jbG9zZUVsZW1lbnQoKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBkZWxldGVFbGVtZW50KGtleSkge1xuICAgICAgICAgICAgICAgIHRoaXMuJGVtaXQoJ2RlbGV0ZUVsZW1lbnQnLCBrZXkpO1xuICAgICAgICAgICAgICAgIHRoaXMuY2xvc2VFbGVtZW50KCk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgY2xvc2VFbGVtZW50KCkge1xuICAgICAgICAgICAgICAgIHRoaXMuZWRpdGluZyA9IG51bGw7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgY2hlY2tVc2VQYWdlKHR5cGUpIHtcbiAgICAgICAgICAgICAgICBpZiAodHlwZSA9PSAndGl0bGUnKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLnBhZ2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHdhdGNoOiB7XG4gICAgICAgICAgICBlZGl0aW5nKCkge1xuICAgICAgICAgICAgICAgIGlmICh0aGlzLmVkaXRpbmcpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub0RyYWcgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9EcmFnID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBjb21wb25lbnRzOiB7XG4gICAgICAgICAgICBkcmFnZ2FibGUsXG4gICAgICAgICAgICBFbGVtZW50RWRpdFxuICAgICAgICB9XG4gICAgfVxuPC9zY3JpcHQ+Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Backend/Components/PageContent.vue?vue&type=template&id=4d15936a\n");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"render\": () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n  var _component_element_edit = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"element-edit\");\n\n  var _component_draggable = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"draggable\");\n\n  return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_draggable, (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)({\n    modelValue: $props.page.content,\n    \"onUpdate:modelValue\": _cache[1] || (_cache[1] = function ($event) {\n      return $props.page.content = $event;\n    })\n  }, $options.dragOptions, {\n    group: \"elements\",\n    onStart: $options.startDrag,\n    onEnd: $options.endDrag,\n    \"item-key\": \"page\"\n  }), {\n    item: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function (_ref) {\n      var element = _ref.element,\n          index = _ref.index;\n      return [$data.editing == index ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_element_edit, {\n        key: 0,\n        element: element,\n        dragOptions: $options.dragOptions,\n        onUpdateElement: function onUpdateElement($event) {\n          return $options.updateElement($event, index);\n        },\n        onDeleteElement: function onDeleteElement($event) {\n          return $options.deleteElement(index);\n        },\n        onCloseElement: function onCloseElement($event) {\n          return $options.closeElement(index);\n        }\n      }, null, 8\n      /* PROPS */\n      , [\"element\", \"dragOptions\", \"onUpdateElement\", \"onDeleteElement\", \"onCloseElement\"])) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent)(element.type + '-element'), {\n        key: 1,\n        page: $options.checkUsePage(element.type),\n        element: element,\n        onClick: function onClick($event) {\n          return $options.editElement(index);\n        }\n      }, null, 8\n      /* PROPS */\n      , [\"page\", \"element\", \"onClick\"]))];\n    }),\n    _: 1\n    /* STABLE */\n\n  }, 16\n  /* FULL_PROPS */\n  , [\"modelValue\", \"onStart\", \"onEnd\"]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvQmFja2VuZC9Db21wb25lbnRzL1BhZ2VDb250ZW50LnZ1ZT9kODNlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OzJEQUNJLGlEQTZCWSxvQkE3Qlosa0RBNkJZO2dCQTVCQyxZQUFLLE9BNEJOOzthQTVCQyxZ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XG4gICAgICAgICAgICAgICAgdi1vbjpjbG9zZUVsZW1lbnQ9XCJjbG9zZUVsZW1lbnQoaW5kZXgpXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgIDwvZWxlbWVudC1lZGl0PlxuICAgICAgICAgICAgPGNvbXBvbmVudFxuICAgICAgICAgICAgICAgIHYtZWxzZVxuICAgICAgICAgICAgICAgIHYtYmluZDppcz1cImVsZW1lbnQudHlwZSArICctZWxlbWVudCdcIlxuICAgICAgICAgICAgICAgIDpwYWdlPVwiY2hlY2tVc2VQYWdlKGVsZW1lbnQudHlwZSlcIlxuICAgICAgICAgICAgICAgIDplbGVtZW50PVwiZWxlbWVudFwiXG4gICAgICAgICAgICAgICAgQGNsaWNrLm5hdGl2ZT1cImVkaXRFbGVtZW50KGluZGV4KVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICA8L2NvbXBvbmVudD5cbiAgICAgICAgPC90ZW1wbGF0ZT5cbiAgICA8L2RyYWdnYWJsZT5cbjwvdGVtcGxhdGU+XG5cbjxzdHlsZT5cbi5naG9zdCB7XG59XG48L3N0eWxlPlxuXG48c2NyaXB0PlxuICAgIGltcG9ydCBkcmFnZ2FibGUgZnJvbSAndnVlZHJhZ2dhYmxlJztcbiAgICBpbXBvcnQgRWxlbWVudEVkaXQgZnJvbSAnLi9FbGVtZW50RWRpdCc7XG5cbiAgICBleHBvcnQgZGVmYXVsdCB7XG4gICAgICAgIG5hbWU6IFwicGFnZS1jb250ZW50XCIsXG4gICAgICAgIHByb3BzOiB7XG4gICAgICAgICAgICBwYWdlOiBPYmplY3RcbiAgICAgICAgfSxcbiAgICAgICAgZGF0YSgpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgZWRpdGluZzogbnVsbCxcbiAgICAgICAgICAgICAgICBjYW5FZGl0OiB0cnVlLFxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBjb21wdXRlZDoge1xuICAgICAgICAgICAgZHJhZ09wdGlvbnMoKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgICAgYW5pbWF0aW9uOiA0MDAsXG4gICAgICAgICAgICAgICAgICAgIGVhc2luZzogXCJjdWJpYy1iZXppZXIoMC42OCwgLTAuNiwgMC4zMiwgMS42KVwiLFxuICAgICAgICAgICAgICAgICAgICBnaG9zdENsYXNzOiBcImdob3N0XCIsXG4gICAgICAgICAgICAgICAgICAgIHNldERhdGEoZGF0YVRyYW5zZmVyKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBkYXRhVHJhbnNmZXIuc2V0RHJhZ0ltYWdlKGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2RpdicpLCAwLCAwKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgbWV0aG9kczoge1xuICAgICAgICAgICAgc3RhcnREcmFnKCkge1xuICAgICAgICAgICAgICAgIHRoaXMuY2FuRWRpdCA9IGZhbHNlO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGVuZERyYWcoKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5jYW5FZGl0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbWl0KCdwYWdlVXBkYXRlJyk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZWRpdEVsZW1lbnQoa2V5KSB7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuY2FuRWRpdCkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmVkaXRpbmcgPSBrZXk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHVwZGF0ZUVsZW1lbnQoZXZlbnQsIGtleSkge1xuICAgICAgICAgICAgICAgIHRoaXMuJGVtaXQoJ3BhZ2VVcGRhdGUnKTtcbiAgICAgICAgICAgICAgICB0aGlzLmNsb3NlRWxlbWVudCgpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGRlbGV0ZUVsZW1lbnQoa2V5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy4kZW1pdCgnZGVsZXRlRWxlbWVudCcsIGtleSk7XG4gICAgICAgICAgICAgICAgdGhpcy5jbG9zZUVsZW1lbnQoKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBjbG9zZUVsZW1lbnQoKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5lZGl0aW5nID0gbnVsbDtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBjaGVja1VzZVBhZ2UodHlwZSkge1xuICAgICAgICAgICAgICAgIGlmICh0eXBlID09ICd0aXRsZScpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMucGFnZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgY29tcG9uZW50czoge1xuICAgICAgICAgICAgZHJhZ2dhYmxlLFxuICAgICAgICAgICAgRWxlbWVudEVkaXRcbiAgICAgICAgfVxuICAgIH1cbjwvc2NyaXB0PiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Backend/Components/PageContent.vue?vue&type=template&id=4d15936a\n");

/***/ }),



@@ 1066,7 1066,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js */ \"./node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\\n.ghost {\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./resources/js/Backend/Components/PageContent.vue\"],\"names\":[],\"mappings\":\";AAmCA;AACA\",\"sourcesContent\":[\"<template>\\n    <draggable\\n        v-model=\\\"page.content\\\"\\n        v-bind=\\\"dragOptions\\\"\\n        group=\\\"elements\\\"\\n        @start=\\\"startDrag\\\"\\n        @end=\\\"endDrag\\\"\\n        tag=\\\"transition-group\\\"\\n        item-key=\\\"page\\\"\\n    >\\n        <template\\n            #item=\\\"{element, index}\\\"\\n        >\\n            <element-edit\\n                v-if=\\\"editing == index\\\"\\n                :element=\\\"element\\\"\\n                :dragOptions=\\\"dragOptions\\\"\\n                v-on:updateElement=\\\"updateElement($event, index)\\\"\\n                v-on:deleteElement=\\\"deleteElement(index)\\\"\\n                v-on:closeElement=\\\"closeElement(index)\\\"\\n            >\\n            </element-edit>\\n            <component\\n                v-else\\n                v-bind:is=\\\"element.type + '-element'\\\"\\n                :page=\\\"checkUsePage(element.type)\\\"\\n                :element=\\\"element\\\"\\n                @click.native=\\\"editElement(index)\\\"\\n            >\\n            </component>\\n        </template>\\n    </draggable>\\n</template>\\n\\n<style>\\n.ghost {\\n}\\n</style>\\n\\n<script>\\n    import draggable from 'vuedraggable';\\n    import ElementEdit from './ElementEdit';\\n\\n    export default {\\n        name: \\\"page-content\\\",\\n        props: {\\n            page: Object\\n        },\\n        data() {\\n            return {\\n                editing: null,\\n                noDrag: false,\\n                canEdit: true,\\n            }\\n        },\\n        computed: {\\n            dragOptions() {\\n                return {\\n                    animation: 400,\\n                    easing: \\\"cubic-bezier(0.68, -0.6, 0.32, 1.6)\\\",\\n                    ghostClass: \\\"ghost\\\",\\n                    //disabled: this.noDrag,\\n                    setData(dataTransfer) {\\n                        dataTransfer.setDragImage(document.createElement('div'), 0, 0);\\n                    }\\n                }\\n            }\\n        },\\n        methods: {\\n            startDrag() {\\n                this.canEdit = false;\\n            },\\n            endDrag() {\\n                this.canEdit = true;\\n                this.$emit('pageUpdate');\\n            },\\n            editElement(key) {\\n                if (!this.editing && this.canEdit) {\\n                    this.editing = key;\\n                }\\n            },\\n            updateElement(event, key) {\\n                this.$emit('pageUpdate');\\n                this.closeElement();\\n            },\\n            deleteElement(key) {\\n                this.$emit('deleteElement', key);\\n                this.closeElement();\\n            },\\n            closeElement() {\\n                this.editing = null;\\n            },\\n            checkUsePage(type) {\\n                if (type == 'title') {\\n                    return this.page;\\n                }\\n                return undefined;\\n            }\\n        },\\n        watch: {\\n            editing() {\\n                if (this.editing) {\\n                    this.noDrag = true;\\n                } else {\\n                    this.noDrag = false;\\n                }\\n            }\\n        },\\n        components: {\\n            draggable,\\n            ElementEdit\\n        }\\n    }\\n</script>\"],\"sourceRoot\":\"\"}]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvQmFja2VuZC9Db21wb25lbnRzL1BhZ2VDb250ZW50LnZ1ZT9kZTFjIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7QUFDK0g7QUFDN0I7QUFDbEcsOEJBQThCLG1GQUEyQixDQUFDLHdHQUFxQztBQUMvRjtBQUNBLG9EQUFvRCxHQUFHLFNBQVMsOEdBQThHLE1BQU0sdVRBQXVULGVBQWUsNnZCQUE2dkIsR0FBRyxpRUFBaUUsOENBQThDLHdCQUF3QixtREFBbUQscUNBQXFDLG1CQUFtQixzQkFBc0IsK0dBQStHLFdBQVcsc0JBQXNCLDZCQUE2QiwwQkFBMEIsa1BBQWtQLHlGQUF5Rix1QkFBdUIsbUJBQW1CLGVBQWUsV0FBVyxxQkFBcUIsMkJBQTJCLHVDQUF1QyxlQUFlLDBCQUEwQixzQ0FBc0MsMkNBQTJDLGVBQWUsaUNBQWlDLHNEQUFzRCx5Q0FBeUMsbUJBQW1CLGVBQWUsMENBQTBDLDJDQUEyQyxzQ0FBc0MsZUFBZSxtQ0FBbUMsbURBQW1ELHNDQUFzQyxlQUFlLCtCQUErQixzQ0FBc0MsZUFBZSxtQ0FBbUMsd0NBQXdDLHVDQUF1QyxtQkFBbUIsbUNBQW1DLGVBQWUsV0FBVyxtQkFBbUIseUJBQXlCLHFDQUFxQyx5Q0FBeUMsbUJBQW1CLE9BQU8sMENBQTBDLG1CQUFtQixlQUFlLFdBQVcsd0JBQXdCLDREQUE0RCxPQUFPLDhCQUE4QjtBQUN6Mkc7QUFDQSxpRUFBZSx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gICAgICAgICAgICAgICB2LW9uOmNsb3NlRWxlbWVudD1cXFwiY2xvc2VFbGVtZW50KGluZGV4KVxcXCJcXG4gICAgICAgICAgICA+XFxuICAgICAgICAgICAgPC9lbGVtZW50LWVkaXQ+XFxuICAgICAgICAgICAgPGNvbXBvbmVudFxcbiAgICAgICAgICAgICAgICB2LWVsc2VcXG4gICAgICAgICAgICAgICAgdi1iaW5kOmlzPVxcXCJlbGVtZW50LnR5cGUgKyAnLWVsZW1lbnQnXFxcIlxcbiAgICAgICAgICAgICAgICA6cGFnZT1cXFwiY2hlY2tVc2VQYWdlKGVsZW1lbnQudHlwZSlcXFwiXFxuICAgICAgICAgICAgICAgIDplbGVtZW50PVxcXCJlbGVtZW50XFxcIlxcbiAgICAgICAgICAgICAgICBAY2xpY2submF0aXZlPVxcXCJlZGl0RWxlbWVudChpbmRleClcXFwiXFxuICAgICAgICAgICAgPlxcbiAgICAgICAgICAgIDwvY29tcG9uZW50PlxcbiAgICAgICAgPC90ZW1wbGF0ZT5cXG4gICAgPC9kcmFnZ2FibGU+XFxuPC90ZW1wbGF0ZT5cXG5cXG48c3R5bGU+XFxuLmdob3N0IHtcXG59XFxuPC9zdHlsZT5cXG5cXG48c2NyaXB0PlxcbiAgICBpbXBvcnQgZHJhZ2dhYmxlIGZyb20gJ3Z1ZWRyYWdnYWJsZSc7XFxuICAgIGltcG9ydCBFbGVtZW50RWRpdCBmcm9tICcuL0VsZW1lbnRFZGl0JztcXG5cXG4gICAgZXhwb3J0IGRlZmF1bHQge1xcbiAgICAgICAgbmFtZTogXFxcInBhZ2UtY29udGVudFxcXCIsXFxuICAgICAgICBwcm9wczoge1xcbiAgICAgICAgICAgIHBhZ2U6IE9iamVjdFxcbiAgICAgICAgfSxcXG4gICAgICAgIGRhdGEoKSB7XFxuICAgICAgICAgICAgcmV0dXJuIHtcXG4gICAgICAgICAgICAgICAgZWRpdGluZzogbnVsbCxcXG4gICAgICAgICAgICAgICAgbm9EcmFnOiBmYWxzZSxcXG4gICAgICAgICAgICAgICAgY2FuRWRpdDogdHJ1ZSxcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9LFxcbiAgICAgICAgY29tcHV0ZWQ6IHtcXG4gICAgICAgICAgICBkcmFnT3B0aW9ucygpIHtcXG4gICAgICAgICAgICAgICAgcmV0dXJuIHtcXG4gICAgICAgICAgICAgICAgICAgIGFuaW1hdGlvbjogNDAwLFxcbiAgICAgICAgICAgICAgICAgICAgZWFzaW5nOiBcXFwiY3ViaWMtYmV6aWVyKDAuNjgsIC0wLjYsIDAuMzIsIDEuNilcXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgZ2hvc3RDbGFzczogXFxcImdob3N0XFxcIixcXG4gICAgICAgICAgICAgICAgICAgIC8vZGlzYWJsZWQ6IHRoaXMubm9EcmFnLFxcbiAgICAgICAgICAgICAgICAgICAgc2V0RGF0YShkYXRhVHJhbnNmZXIpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBkYXRhVHJhbnNmZXIuc2V0RHJhZ0ltYWdlKGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2RpdicpLCAwLCAwKTtcXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0sXFxuICAgICAgICBtZXRob2RzOiB7XFxuICAgICAgICAgICAgc3RhcnREcmFnKCkge1xcbiAgICAgICAgICAgICAgICB0aGlzLmNhbkVkaXQgPSBmYWxzZTtcXG4gICAgICAgICAgICB9LFxcbiAgICAgICAgICAgIGVuZERyYWcoKSB7XFxuICAgICAgICAgICAgICAgIHRoaXMuY2FuRWRpdCA9IHRydWU7XFxuICAgICAgICAgICAgICAgIHRoaXMuJGVtaXQoJ3BhZ2VVcGRhdGUnKTtcXG4gICAgICAgICAgICB9LFxcbiAgICAgICAgICAgIGVkaXRFbGVtZW50KGtleSkge1xcbiAgICAgICAgICAgICAgICBpZiAoIXRoaXMuZWRpdGluZyAmJiB0aGlzLmNhbkVkaXQpIHtcXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZWRpdGluZyA9IGtleTtcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgdXBkYXRlRWxlbWVudChldmVudCwga2V5KSB7XFxuICAgICAgICAgICAgICAgIHRoaXMuJGVtaXQoJ3BhZ2VVcGRhdGUnKTtcXG4gICAgICAgICAgICAgICAgdGhpcy5jbG9zZUVsZW1lbnQoKTtcXG4gICAgICAgICAgICB9LFxcbiAgICAgICAgICAgIGRlbGV0ZUVsZW1lbnQoa2V5KSB7XFxuICAgICAgICAgICAgICAgIHRoaXMuJGVtaXQoJ2RlbGV0ZUVsZW1lbnQnLCBrZXkpO1xcbiAgICAgICAgICAgICAgICB0aGlzLmNsb3NlRWxlbWVudCgpO1xcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgY2xvc2VFbGVtZW50KCkge1xcbiAgICAgICAgICAgICAgICB0aGlzLmVkaXRpbmcgPSBudWxsO1xcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgY2hlY2tVc2VQYWdlKHR5cGUpIHtcXG4gICAgICAgICAgICAgICAgaWYgKHR5cGUgPT0gJ3RpdGxlJykge1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMucGFnZTtcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0sXFxuICAgICAgICB3YXRjaDoge1xcbiAgICAgICAgICAgIGVkaXRpbmcoKSB7XFxuICAgICAgICAgICAgICAgIGlmICh0aGlzLmVkaXRpbmcpIHtcXG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9EcmFnID0gdHJ1ZTtcXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9EcmFnID0gZmFsc2U7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9XFxuICAgICAgICB9LFxcbiAgICAgICAgY29tcG9uZW50czoge1xcbiAgICAgICAgICAgIGRyYWdnYWJsZSxcXG4gICAgICAgICAgICBFbGVtZW50RWRpdFxcbiAgICAgICAgfVxcbiAgICB9XFxuPC9zY3JpcHQ+XCJdLFwic291cmNlUm9vdFwiOlwiXCJ9XSk7XG4vLyBFeHBvcnRzXG5leHBvcnQgZGVmYXVsdCBfX19DU1NfTE9BREVSX0VYUE9SVF9fXztcbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Backend/Components/PageContent.vue?vue&type=style&index=0&id=4d15936a&lang=css\n");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js */ \"./node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\\n.ghost {\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./PageContent.vue\"],\"names\":[],\"mappings\":\";AAkCA;AACA\",\"sourcesContent\":[\"<template>\\n    <draggable\\n        v-model=\\\"page.content\\\"\\n        v-bind=\\\"dragOptions\\\"\\n        group=\\\"elements\\\"\\n        @start=\\\"startDrag\\\"\\n        @end=\\\"endDrag\\\"\\n        item-key=\\\"page\\\"\\n    >\\n        <template\\n            #item=\\\"{element, index}\\\"\\n        >\\n            <element-edit\\n                v-if=\\\"editing == index\\\"\\n                :element=\\\"element\\\"\\n                :dragOptions=\\\"dragOptions\\\"\\n                v-on:updateElement=\\\"updateElement($event, index)\\\"\\n                v-on:deleteElement=\\\"deleteElement(index)\\\"\\n                v-on:closeElement=\\\"closeElement(index)\\\"\\n            >\\n            </element-edit>\\n            <component\\n                v-else\\n                v-bind:is=\\\"element.type + '-element'\\\"\\n                :page=\\\"checkUsePage(element.type)\\\"\\n                :element=\\\"element\\\"\\n                @click.native=\\\"editElement(index)\\\"\\n            >\\n            </component>\\n        </template>\\n    </draggable>\\n</template>\\n\\n<style>\\n.ghost {\\n}\\n</style>\\n\\n<script>\\n    import draggable from 'vuedraggable';\\n    import ElementEdit from './ElementEdit';\\n\\n    export default {\\n        name: \\\"page-content\\\",\\n        props: {\\n            page: Object\\n        },\\n        data() {\\n            return {\\n                editing: null,\\n                canEdit: true,\\n            }\\n        },\\n        computed: {\\n            dragOptions() {\\n                return {\\n                    animation: 400,\\n                    easing: \\\"cubic-bezier(0.68, -0.6, 0.32, 1.6)\\\",\\n                    ghostClass: \\\"ghost\\\",\\n                    setData(dataTransfer) {\\n                        dataTransfer.setDragImage(document.createElement('div'), 0, 0);\\n                    }\\n                }\\n            }\\n        },\\n        methods: {\\n            startDrag() {\\n                this.canEdit = false;\\n            },\\n            endDrag() {\\n                this.canEdit = true;\\n                this.$emit('pageUpdate');\\n            },\\n            editElement(key) {\\n                if (this.canEdit) {\\n                    this.editing = key;\\n                }\\n            },\\n            updateElement(event, key) {\\n                this.$emit('pageUpdate');\\n                this.closeElement();\\n            },\\n            deleteElement(key) {\\n                this.$emit('deleteElement', key);\\n                this.closeElement();\\n            },\\n            closeElement() {\\n                this.editing = null;\\n            },\\n            checkUsePage(type) {\\n                if (type == 'title') {\\n                    return this.page;\\n                }\\n                return undefined;\\n            }\\n        },\\n        components: {\\n            draggable,\\n            ElementEdit\\n        }\\n    }\\n</script>\"],\"sourceRoot\":\"\"}]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvQmFja2VuZC9Db21wb25lbnRzL1BhZ2VDb250ZW50LnZ1ZT9kZTFjIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7QUFDK0g7QUFDN0I7QUFDbEcsOEJBQThCLG1GQUEyQixDQUFDLHdHQUFxQztBQUMvRjtBQUNBLG9EQUFvRCxHQUFHLFNBQVMsOEVBQThFLE1BQU0scVJBQXFSLGVBQWUsNnZCQUE2dkIsR0FBRyxpRUFBaUUsOENBQThDLHdCQUF3QixtREFBbUQscUNBQXFDLG1CQUFtQixzQkFBc0IsK0VBQStFLFdBQVcsc0JBQXNCLDZCQUE2QiwwQkFBMEIsb01B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JztcXG5cXG4gICAgZXhwb3J0IGRlZmF1bHQge1xcbiAgICAgICAgbmFtZTogXFxcInBhZ2UtY29udGVudFxcXCIsXFxuICAgICAgICBwcm9wczoge1xcbiAgICAgICAgICAgIHBhZ2U6IE9iamVjdFxcbiAgICAgICAgfSxcXG4gICAgICAgIGRhdGEoKSB7XFxuICAgICAgICAgICAgcmV0dXJuIHtcXG4gICAgICAgICAgICAgICAgZWRpdGluZzogbnVsbCxcXG4gICAgICAgICAgICAgICAgY2FuRWRpdDogdHJ1ZSxcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9LFxcbiAgICAgICAgY29tcHV0ZWQ6IHtcXG4gICAgICAgICAgICBkcmFnT3B0aW9ucygpIHtcXG4gICAgICAgICAgICAgICAgcmV0dXJuIHtcXG4gICAgICAgICAgICAgICAgICAgIGFuaW1hdGlvbjogNDAwLFxcbiAgICAgICAgICAgICAgICAgICAgZWFzaW5nOiBcXFwiY3ViaWMtYmV6aWVyKDAuNjgsIC0wLjYsIDAuMzIsIDEuNilcXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgZ2hvc3RDbGFzczogXFxcImdob3N0XFxcIixcXG4gICAgICAgICAgICAgICAgICAgIHNldERhdGEoZGF0YVRyYW5zZmVyKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgZGF0YVRyYW5zZmVyLnNldERyYWdJbWFnZShkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdkaXYnKSwgMCwgMCk7XFxuICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9XFxuICAgICAgICB9LFxcbiAgICAgICAgbWV0aG9kczoge1xcbiAgICAgICAgICAgIHN0YXJ0RHJhZygpIHtcXG4gICAgICAgICAgICAgICAgdGhpcy5jYW5FZGl0ID0gZmFsc2U7XFxuICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICBlbmREcmFnKCkge1xcbiAgICAgICAgICAgICAgICB0aGlzLmNhbkVkaXQgPSB0cnVlO1xcbiAgICAgICAgICAgICAgICB0aGlzLiRlbWl0KCdwYWdlVXBkYXRlJyk7XFxuICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICBlZGl0RWxlbWVudChrZXkpIHtcXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuY2FuRWRpdCkge1xcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5lZGl0aW5nID0ga2V5O1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICB1cGRhdGVFbGVtZW50KGV2ZW50LCBrZXkpIHtcXG4gICAgICAgICAgICAgICAgdGhpcy4kZW1pdCgncGFnZVVwZGF0ZScpO1xcbiAgICAgICAgICAgICAgICB0aGlzLmNsb3NlRWxlbWVudCgpO1xcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgZGVsZXRlRWxlbWVudChrZXkpIHtcXG4gICAgICAgICAgICAgICAgdGhpcy4kZW1pdCgnZGVsZXRlRWxlbWVudCcsIGtleSk7XFxuICAgICAgICAgICAgICAgIHRoaXMuY2xvc2VFbGVtZW50KCk7XFxuICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICBjbG9zZUVsZW1lbnQoKSB7XFxuICAgICAgICAgICAgICAgIHRoaXMuZWRpdGluZyA9IG51bGw7XFxuICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICBjaGVja1VzZVBhZ2UodHlwZSkge1xcbiAgICAgICAgICAgICAgICBpZiAodHlwZSA9PSAndGl0bGUnKSB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5wYWdlO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfSxcXG4gICAgICAgIGNvbXBvbmVudHM6IHtcXG4gICAgICAgICAgICBkcmFnZ2FibGUsXFxuICAgICAgICAgICAgRWxlbWVudEVkaXRcXG4gICAgICAgIH1cXG4gICAgfVxcbjwvc2NyaXB0PlwiXSxcInNvdXJjZVJvb3RcIjpcIlwifV0pO1xuLy8gRXhwb3J0c1xuZXhwb3J0IGRlZmF1bHQgX19fQ1NTX0xPQURFUl9FWFBPUlRfX187XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Backend/Components/PageContent.vue?vue&type=style&index=0&id=4d15936a&lang=css\n");

/***/ }),


M resources/js/Backend/Components/PageContent.vue => resources/js/Backend/Components/PageContent.vue +1 -13
@@ 5,7 5,6 @@
        group="elements"
        @start="startDrag"
        @end="endDrag"
        tag="transition-group"
        item-key="page"
    >
        <template


@@ 49,7 48,6 @@
        data() {
            return {
                editing: null,
                noDrag: false,
                canEdit: true,
            }
        },


@@ 59,7 57,6 @@
                    animation: 400,
                    easing: "cubic-bezier(0.68, -0.6, 0.32, 1.6)",
                    ghostClass: "ghost",
                    //disabled: this.noDrag,
                    setData(dataTransfer) {
                        dataTransfer.setDragImage(document.createElement('div'), 0, 0);
                    }


@@ 75,7 72,7 @@
                this.$emit('pageUpdate');
            },
            editElement(key) {
                if (!this.editing && this.canEdit) {
                if (this.canEdit) {
                    this.editing = key;
                }
            },


@@ 97,15 94,6 @@
                return undefined;
            }
        },
        watch: {
            editing() {
                if (this.editing) {
                    this.noDrag = true;
                } else {
                    this.noDrag = false;
                }
            }
        },
        components: {
            draggable,
            ElementEdit