All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.static.js.chunk-7d80f20e.3aee5724.js Maven / Gradle / Ivy

The newest version!
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7d80f20e","chunk-e2ef1232","chunk-2d20955d"],{"1a2c":function(t,e,o){"use strict";o("dfbc")},2855:function(t,e,o){"use strict";o.r(e);var a,n,c=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"container"},[o("div",{staticClass:"left-board"},[o("div",{staticClass:"logo-wrapper"},[o("div",{staticClass:"logo"},[o("img",{attrs:{src:t.logo,alt:"logo"}}),t._v(" Form Generator")])]),o("el-scrollbar",{staticClass:"left-scrollbar"},[o("div",{staticClass:"components-list"},[o("div",{staticClass:"components-title"},[o("svg-icon",{attrs:{"icon-class":"component"}}),t._v(" 输入型组件 ")],1),o("draggable",{staticClass:"components-draggable",attrs:{clone:t.cloneComponent,group:{name:"componentsGroup",pull:"clone",put:!1},list:t.inputComponents,sort:!1,draggable:".components-item"},on:{end:t.onEnd}},t._l(t.inputComponents,(function(e,a){return o("div",{key:a,staticClass:"components-item",on:{click:function(o){return t.addComponent(e)}}},[o("div",{staticClass:"components-body"},[o("svg-icon",{attrs:{"icon-class":e.tagIcon}}),t._v(" "+t._s(e.label)+" ")],1)])})),0),o("div",{staticClass:"components-title"},[o("svg-icon",{attrs:{"icon-class":"component"}}),t._v(" 选择型组件 ")],1),o("draggable",{staticClass:"components-draggable",attrs:{clone:t.cloneComponent,group:{name:"componentsGroup",pull:"clone",put:!1},list:t.selectComponents,sort:!1,draggable:".components-item"},on:{end:t.onEnd}},t._l(t.selectComponents,(function(e,a){return o("div",{key:a,staticClass:"components-item",on:{click:function(o){return t.addComponent(e)}}},[o("div",{staticClass:"components-body"},[o("svg-icon",{attrs:{"icon-class":e.tagIcon}}),t._v(" "+t._s(e.label)+" ")],1)])})),0),o("div",{staticClass:"components-title"},[o("svg-icon",{attrs:{"icon-class":"component"}}),t._v(" 布局型组件 ")],1),o("draggable",{staticClass:"components-draggable",attrs:{clone:t.cloneComponent,group:{name:"componentsGroup",pull:"clone",put:!1},list:t.layoutComponents,sort:!1,draggable:".components-item"},on:{end:t.onEnd}},t._l(t.layoutComponents,(function(e,a){return o("div",{key:a,staticClass:"components-item",on:{click:function(o){return t.addComponent(e)}}},[o("div",{staticClass:"components-body"},[o("svg-icon",{attrs:{"icon-class":e.tagIcon}}),t._v(" "+t._s(e.label)+" ")],1)])})),0)],1)])],1),o("div",{staticClass:"center-board"},[o("div",{staticClass:"action-bar"},[o("el-button",{attrs:{icon:"el-icon-download",type:"text"},on:{click:t.download}},[t._v(" 导出vue文件 ")]),o("el-button",{staticClass:"copy-btn-main",attrs:{icon:"el-icon-document-copy",type:"text"},on:{click:t.copy}},[t._v(" 复制代码 ")]),o("el-button",{staticClass:"delete-btn",attrs:{icon:"el-icon-delete",type:"text"},on:{click:t.empty}},[t._v(" 清空 ")])],1),o("el-scrollbar",{staticClass:"center-scrollbar"},[o("el-row",{staticClass:"center-board-row",attrs:{gutter:t.formConf.gutter}},[o("el-form",{attrs:{disabled:t.formConf.disabled,"label-position":t.formConf.labelPosition,"label-width":t.formConf.labelWidth+"px",size:t.formConf.size}},[o("draggable",{staticClass:"drawing-board",attrs:{animation:340,list:t.drawingList,group:"componentsGroup"}},t._l(t.drawingList,(function(e,a){return o("draggable-item",{key:e.renderKey,attrs:{"active-id":t.activeId,"drawing-list":t.drawingList,element:e,"form-conf":t.formConf,index:a},on:{activeItem:t.activeFormItem,copyItem:t.drawingItemCopy,deleteItem:t.drawingItemDelete}})})),1),o("div",{directives:[{name:"show",rawName:"v-show",value:!t.drawingList.length,expression:"!drawingList.length"}],staticClass:"empty-info"},[t._v(" 从左侧拖入或点选组件进行表单设计 ")])],1)],1)],1)],1),o("right-panel",{attrs:{"active-data":t.activeData,"form-conf":t.formConf,"show-field":!!t.drawingList.length},on:{"tag-change":t.tagChange}}),o("code-type-dialog",{attrs:{"show-file-name":t.showFileName,visible:t.dialogVisible,title:"选择生成类型"},on:{"update:visible":function(e){t.dialogVisible=e},confirm:t.generate}}),o("input",{attrs:{id:"copyNode",type:"hidden"}})],1)},i=[],l=o("53ca"),r=o("5530"),s=(o("ac1f"),o("5319"),o("e9c4"),o("d81d"),o("a434"),o("d3b7"),o("159b"),o("b64b"),o("c740"),o("b76a")),d=o.n(s),u=o("e552"),p=o.n(u),_=o("b311"),f=o.n(_),m=o("a85b"),h=o("766b"),b=o("2e2a"),v=o("ed08");o("99af"),o("a15b"),o("b0c0");function g(t){return'\n    '.concat(t,'\n    
\n 取消\n 确定\n
\n
')}function y(t){return"")}function w(t){return"