\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n\n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SavePopup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SavePopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SavePopup.vue?vue&type=template&id=56568d8a&scoped=true&\"\nimport script from \"./SavePopup.vue?vue&type=script&lang=js&\"\nexport * from \"./SavePopup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SavePopup.vue?vue&type=style&index=0&id=56568d8a&prod&lang=scss&\"\nimport style1 from \"./SavePopup.vue?vue&type=style&index=1&id=56568d8a&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"56568d8a\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('popup',{staticClass:\"save-as-template-popup\",attrs:{\"title\":\"Save page as re-usable template\"},on:{\"close\":_vm.close},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('div',{staticClass:\"save-template-body\"},[_c('p',{staticClass:\"margin-b-20\"},[_vm._v(\"Give a name to your template and save it, then you can re-use it to create new steps or pages later.\")]),_c('input-field',{attrs:{\"label\":\"Template name\"},model:{value:(_vm.newName),callback:function ($$v) {_vm.newName=$$v},expression:\"newName\"}})],1)]},proxy:true},{key:\"actions\",fn:function(){return [_c('v-button',{attrs:{\"label\":\"Save template\",\"disabled\":!_vm.newName,\"loading\":_vm.saving},on:{\"click\":_vm.save}}),_c('v-button',{attrs:{\"label\":\"Cancel\",\"border\":\"\"},on:{\"click\":_vm.close}})]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\t\n\t\t\n\t\t\t
\n\t\t\t\t
Give a name to your template and save it, then you can re-use it to create new steps or pages later.
\n\t\t\t\t\n\t\t\t
\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n\n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SaveAsTemplatePopup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SaveAsTemplatePopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SaveAsTemplatePopup.vue?vue&type=template&id=4b557902&\"\nimport script from \"./SaveAsTemplatePopup.vue?vue&type=script&lang=js&\"\nexport * from \"./SaveAsTemplatePopup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SaveAsTemplatePopup.vue?vue&type=style&index=0&id=4b557902&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Elements that support hover are:\n// Button: Background, Border, Font\n// Link: Background, Color, Font\n// Menu: Link Color, Link Font.\n\nimport {boxShadow, multiTextShadow} from \"@/modules/page-editor/src/utils/props\";\n\nfunction textDecoration(font) {\n if (!font || !font.fontStyling) return null;\n let fontStyling = font.fontStyling;\n\n if (fontStyling['line-through'] && fontStyling.underline) return 'underline line-through';\n else if (fontStyling['line-through']) return 'line-through';\n else if (fontStyling.underline) return 'underline';\n else return null;\n}\n\nfunction fontProps(font) {\n let styleString = '';\n let fontFamily = font ? font.fontFamily : null;\n let fontSize = font ? font.fontSize + 'px' : null;\n let textAlign = font ? font.textAlign : null;\n let fontStyling = font ? font.fontStyling : null;\n let color = font ? font.color : null;\n let textDecStr = textDecoration(font);\n\n color ? styleString += `color: ${color} !important;\\n` : false;\n fontFamily ? styleString += `font-family: ${fontFamily} !important; \\n` : false;\n fontSize ? styleString += `font-size: ${fontSize} !important; \\n` : false;\n textAlign ? styleString += `text-align: ${textAlign} !important; \\n` : false;\n fontStyling && fontStyling.bold ? styleString += `font-weight: bold !important; \\n` : false;\n fontStyling && fontStyling.italic ? styleString += `font-style: italic !important; \\n` : false;\n textDecStr ? styleString += `text-decoration: ${textDecStr} !important; \\n` : false;\n\n return styleString\n}\n\nfunction getBoxShadow(shadows) {\n if (!shadows || shadows.length===0) return '';\n let bs = boxShadow(shadows);\n\n return bs ? `box-shadow: ${bs}!important; \\n` : '';\n}\n\nfunction getTextShadow(shadows) {\n if (!shadows || shadows.length===0) return '';\n let bs = multiTextShadow(shadows);\n\n return bs ? `text-shadow: ${bs}!important; \\n` : '';\n}\n\nfunction backgroundColor(color) {\n return color ? `background-color: ${color}!important; \\n` : '';\n}\n\nfunction linkFontStyling(style) {\n let color = '';\n\n if (style.color) color = style.color;\n let fontStyling = style.fontStyling;\n let fontWeight = fontStyling && fontStyling.bold ? 'bold' : '';\n let fontStyle = fontStyling && fontStyling.italic ? 'italic' : '';\n\n let decoration = \"\";\n if (fontStyling && (fontStyling['line-through'] || fontStyling.underline)) {\n if (fontStyling['line-through']) decoration = 'line-through ';\n if (fontStyling.underline) decoration += 'underline';\n }\n\n let r = '';\n if (color) r += `color:${color}!important; \\n`;\n if (fontWeight) r += `font-weight:${fontWeight}!important; \\n`;\n if (fontStyle) r += `font-style:${fontStyle}!important; \\n`;\n if (decoration) r += `text-decoration:${decoration}!important; \\n`;\n\n return r;\n}\n\nfunction borderProps(border) {\n let styleString = '';\n\n if (border && border.sides && border.width && border.style && border.color) {\n border.sides.top ? styleString += `border-top: ${border.width}px ${border.style} ${border.color} !important; \\n` : false;\n border.sides.left ? styleString += `border-left: ${border.width}px ${border.style} ${border.color} !important; \\n` : false;\n border.sides.right ? styleString += `border-right: ${border.width}px ${border.style} ${border.color} !important; \\n` : false;\n border.sides.bottom ? styleString += `border-bottom: ${border.width}px ${border.style} ${border.color} !important; \\n` : false;\n }\n\n if (border && border.radius&&(border.radius.topLeft!=null||border.radius.topRight!=null||border.radius.bottomRight!=null||border.radius.bottomLeft!=null)) {\n styleString += `border-radius: ${border.radius.topLeft}px ${border.radius.topRight}px ${border.radius.bottomRight}px ${border.radius.bottomLeft}px !important; \\n`;\n }\n\n if (border&&border.color) styleString += `border-color: ${border.color} !important; \\n`;\n\n return styleString\n}\n\nexport default (type, style, id) => {\n let styleString = `/* hover ${type} */`;\n\n switch (type) {\n case 'button': //Background, Border, Font\n styleString += `\\n\n\t\t\t\t.el-${id} .btn:hover {\n\t\t\t\t\t${fontProps(style.font)}\n\t\t\t\t\t${borderProps(style.border)}\n\t\t\t\t\t${backgroundColor(style.backgroundColor)}\n\t\t\t\t\t${getBoxShadow(style.shadows)}\n\t\t\t\t\t${getTextShadow(style.textShadows)}\n\t\t\t\t} \\n\n\t\t\t\t.el-${id} .btn:hover .btn_sub_headline {\n\t\t\t\t\t${fontProps(style.font2)}\n\t\t\t\t} \\n\n\t\t\t`;\n break;\n\n case 'link': //Background, Color, Font\n styleString += `\\n\n\t\t\t\t.el-${id} a:hover {\n\t\t\t\t\t${linkFontStyling(style)}\n\t\t\t\t\t${getTextShadow(style.textShadows)}\n\t\t\t\t} \\n\n\t\t\t`;\n break;\n\n case 'menu': //Link Color, Link Font\n styleString += `\\n\n\t\t\t\t.el-${id} a:hover {\n\t\t\t\t\t${fontProps(style.font)}\n\t\t\t\t} \\n\n\t\t\t`;\n break;\n }\n return styleString\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],staticClass:\"page-preview-content\"},[_c('v-style',[_vm._v(\" \"+_vm._s(_vm.customCss)+\" \")]),_c('div',{staticClass:\"raw-test\"},[_c('div',{staticClass:\"main_wrapper_main\",class:[_vm.view+'_grid',{'dir-rtl':_vm.page.advanced.direction==='rtl'}],style:(_vm.pageStyle),attrs:{\"id\":_vm.tableId}},[_c('main',{staticClass:\"main-wrapper\"},_vm._l((_vm.editor.content),function(section){return _c('RenderSection',{key:section.id,attrs:{\"section\":section}})}),1)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\t
\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BeforeAfterSlider.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BeforeAfterSlider.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BeforeAfterSlider.vue?vue&type=template&id=93ab764e&\"\nimport script from \"./BeforeAfterSlider.vue?vue&type=script&lang=js&\"\nexport * from \"./BeforeAfterSlider.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\t
1}\">\n\t\t\n\t
\n\n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RenderBlock.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RenderBlock.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RenderBlock.vue?vue&type=template&id=8b814fa4&scoped=true&\"\nimport script from \"./RenderBlock.vue?vue&type=script&lang=js&\"\nexport * from \"./RenderBlock.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8b814fa4\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RenderTemplate.vue?vue&type=style&index=0&id=0dca8928&prod&lang=scss&\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SavePopup.vue?vue&type=style&index=1&id=56568d8a&prod&lang=scss&scoped=true&\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SaveAsTemplatePopup.vue?vue&type=style&index=0&id=4b557902&prod&lang=scss&\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SavePopup.vue?vue&type=style&index=0&id=56568d8a&prod&lang=scss&\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodePopup.vue?vue&type=style&index=0&id=5944e6a6&prod&lang=scss&\""],"sourceRoot":""}