design-form-dialog.js.map 12 KB

1
  1. {"version":3,"file":"components/design-form-dialog.js","sources":["webpack:///./components/Tinymce/index.vue?8f5c","webpack:///./components/Tinymce/plugins.js","webpack:///./components/Tinymce/toolbar.js","webpack:///./components/Tinymce/dynamicLoadScript.js","webpack:///./components/Tinymce/index.vue","webpack:///./components/Tinymce/index.vue?d718","webpack:///./components/Tinymce/index.vue?f614","webpack:///./components/Tinymce/index.vue?889b","webpack:///./plugins/bus.js","webpack:///./components/DesignFormDialog.vue?1c35","webpack:///./components/DesignFormDialog.vue?6441","webpack:///./components/DesignFormDialog.vue","webpack:///./components/DesignFormDialog.vue?69d5","webpack:///./components/DesignFormDialog.vue?8a6e"],"sourcesContent":["// Exports\nmodule.exports = {\n\n};\n","// Any plugins you want to use has to be imported\n// Detail plugins list see https://www.tinymce.com/docs/plugins/\n// Custom builds see https://www.tinymce.com/download/custom-builds/\n\nconst plugins = ['advlist autolink autosave code colorpicker colorpicker contextmenu directionality fullscreen hr insertdatetime link lists nonbreaking noneditable paste preview print save spellchecker tabfocus table template textcolor textpattern visualblocks visualchars wordcount']\n//anchor codesample emoticons pagebreak searchreplace image imagetools media\nexport default plugins\n","// Here is a list of the toolbar\n// Detail list see https://www.tinymce.com/docs/advanced/editor-control-identifiers/#toolbarcontrols\n\nconst toolbar = ['searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript code codesample', 'hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen']\n\nexport default toolbar\n","let callbacks = []\n\nfunction loadedTinymce() {\n // to fixed https://github.com/PanJiaChen/vue-element-admin/issues/2144\n // check is successfully downloaded script\n return window.tinymce\n}\n\nconst dynamicLoadScript = (src, callback) => {\n const existingScript = document.getElementById(src)\n const cb = callback || function() {}\n\n if (!existingScript) {\n const script = document.createElement('script')\n script.src = src // src url for the third-party library being loaded.\n script.id = src\n document.body.appendChild(script)\n callbacks.push(cb)\n const onEnd = 'onload' in script ? stdOnEnd : ieOnEnd\n onEnd(script)\n }\n\n if (existingScript && cb) {\n if (loadedTinymce()) {\n cb(null, existingScript)\n } else {\n callbacks.push(cb)\n }\n }\n\n function stdOnEnd(script) {\n script.onload = function() {\n // this.onload = null here is necessary\n // because even IE9 works not like others\n this.onerror = this.onload = null\n for (const cb of callbacks) {\n cb(null, script)\n }\n callbacks = null\n }\n script.onerror = function() {\n this.onerror = this.onload = null\n cb(new Error('Failed to load ' + src), script)\n }\n }\n\n function ieOnEnd(script) {\n script.onreadystatechange = function() {\n if (this.readyState !== 'complete' && this.readyState !== 'loaded') return\n this.onreadystatechange = null\n for (const cb of callbacks) {\n cb(null, script) // there is no way to catch loading errors in IE8\n }\n callbacks = null\n }\n }\n}\n\nexport default dynamicLoadScript\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"tinymce-container\",class:{fullscreen:_vm.fullscreen},style:({width:_vm.containerWidth})},[_vm._ssrNode(\"<textarea\"+(_vm._ssrAttr(\"id\",_vm.tinymceId))+\" class=\\\"tinymce-textarea\\\" data-v-a9d38a5e></textarea>\")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=a9d38a5e&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./index.vue?vue&type=style&index=0&id=a9d38a5e&prod&lang=scss&scoped=true\")\nif (style0.__inject__) style0.__inject__(context)\n\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 injectStyles,\n \"a9d38a5e\",\n \"2f101c14\"\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-0!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=a9d38a5e&prod&lang=scss&scoped=true\"","import Vue from \"vue\"\nexport default new Vue()","// Exports\nmodule.exports = {\n\n};\n","export * from \"-!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-0!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DesignFormDialog.vue?vue&type=style&index=0&id=7d26e39b&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{\"title\":_vm.title,\"visible\":_vm.visible,\"width\":\"700px\",\"before-close\":_vm.handleClose,\"top\":_vm.top,\"show-close\":false},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('el-form',{ref:\"ruleForm\",attrs:{\"model\":_vm.formData,\"rules\":_vm.rules}},_vm._l((_vm.formConfig),function(item){return _c('el-form-item',{key:item.label,attrs:{\"label\":item.label,\"prop\":item.prop,\"label-width\":_vm.labelWidth+'px'}},[(item.type === 'input')?_c('el-input',{style:({ width: item.width }),attrs:{\"disabled\":item.disabled,\"readonly\":item.readonly,\"placeholder\":item.placeholder ? item.placeholder : '',\"clearable\":\"\",\"type\":item.inputType},on:{\"change\":function($event){item.change && item.change(_vm.formData[item.prop])}},model:{value:(_vm.formData[item.prop]),callback:function ($$v) {_vm.$set(_vm.formData, item.prop, $$v)},expression:\"formData[item.prop]\"}}):_vm._e(),_vm._v(\" \"),(item.type === 'selectObj')?_c('el-select',{style:({ width: '100%' }),attrs:{\"disabled\":item.disabled,\"clearable\":\"\",\"filterable\":\"\",\"multiple\":item.multiple},on:{\"change\":function($event){item.change && item.change(_vm.formData[item.prop])}},model:{value:(_vm.formData[item.prop]),callback:function ($$v) {_vm.$set(_vm.formData, item.prop, $$v)},expression:\"formData[item.prop]\"}},_vm._l((item.selectList),function(val,key){return _c('el-option',{key:parseInt(key),attrs:{\"label\":val,\"value\":val}})}),1):_vm._e(),_vm._v(\" \"),(item.type === 'tinymce')?_c('tinymce',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"height\":item.height,\"width\":item.width},model:{value:(_vm.formData[item.prop]),callback:function ($$v) {_vm.$set(_vm.formData, item.prop, $$v)},expression:\"formData[item.prop]\"}}):_vm._e()],1)}),1),_vm._v(\" \"),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleSend}},[_vm._v(_vm._s(_vm.sendbtnCext))]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":_vm.handleClose}},[_vm._v(\"CANCEL\")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DesignFormDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DesignFormDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DesignFormDialog.vue?vue&type=template&id=7d26e39b&scoped=true\"\nimport script from \"./DesignFormDialog.vue?vue&type=script&lang=js\"\nexport * from \"./DesignFormDialog.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./DesignFormDialog.vue?vue&type=style&index=0&id=7d26e39b&prod&lang=scss&scoped=true\")\nif (style0.__inject__) style0.__inject__(context)\n\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 injectStyles,\n \"7d26e39b\",\n \"c1f17090\"\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {Tinymce: require('/Users/wu67/Projects/uk_front/components/Tinymce/index.vue').default})\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;;;;;;;;ACHA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACNA;AAAA;AACA;AACA;AACA;AAEA;;;;;;;;ACLA;AAAA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;;;;;;;;;;;;;;AADA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/MA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvBA;AAAA;AAAA;AAAA;;;;;;;;;ACAA;AAAA;AAAA;AACA;;;;;;;ACDA;AACA;AACA;AACA;;;;;;;;;ACHA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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