@fly-vue/lcdp-iview 1.7.7 → 1.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/@types/module/action-nodes/impl/read-file.d.ts +6 -0
  2. package/@types/module/components/attribute/designer/prop-value-editor/var-input/index.vue.d.ts +2 -2
  3. package/@types/module/components/attribute/prop-value-editor/json-editor.vue.d.ts +2 -2
  4. package/@types/module/components/components/IvTableGrid/index.vue.d.ts +1 -1
  5. package/@types/module/components/components/base/IvIframe/index.vue.d.ts +1 -1
  6. package/@types/module/components/components/iam/lib/query-methods-builder.d.ts +4 -2
  7. package/@types/module/components/components/iam/mixins/build-query-methods.d.ts +24 -0
  8. package/@types/module/components/for-renderer/index.d.ts +3 -0
  9. package/@types/module/components/for-renderer/layout/iv-trigger-container.vue.d.ts +9 -1
  10. package/@types/module/components/index.d.ts +12 -4
  11. package/@types/module/components/utils.d.ts +6 -0
  12. package/@types/module/index.d.ts +1 -1
  13. package/@types/module/schema-extend/components/IvPageLayout.d.ts +34 -0
  14. package/@types/module/schema-extend/components/form.d.ts +1 -1
  15. package/@types/module/schema-extend/components/iv-header.d.ts +24 -0
  16. package/@types/module/schema-extend/components/iv-table.d.ts +22 -0
  17. package/@types/module/schema-extend/components/others.d.ts +12 -1
  18. package/@types/module/schema-extend/components/tree.d.ts +2 -0
  19. package/@types/module/schema-extend/components/upload.d.ts +5 -0
  20. package/bingo-builder-manifest.json +16 -16
  21. package/index.js +4 -4
  22. package/modules/fly_vue_lcdp_iview/assets/css/app.css +2 -2
  23. package/modules/fly_vue_lcdp_iview/assets/css/{lcdp-iview-attrcomponent.c8863f62.css → lcdp-iview-attrcomponent.ec1e349d.css} +1 -1
  24. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.0e011fec.css +1 -0
  25. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-renderer-components.64065619.css +1 -0
  26. package/modules/fly_vue_lcdp_iview/assets/img/avatar.f96d8608.svg +23 -0
  27. package/modules/fly_vue_lcdp_iview/assets/img/empty-add.a73f4d5c.svg +36 -0
  28. package/modules/fly_vue_lcdp_iview/assets/img/empty-comp.b4b13d9b.svg +39 -0
  29. package/modules/fly_vue_lcdp_iview/assets/img/empty-data.b280771f.svg +32 -0
  30. package/modules/fly_vue_lcdp_iview/assets/svg/avatar.svg +23 -0
  31. package/modules/fly_vue_lcdp_iview/assets/svg/empty-add.svg +36 -0
  32. package/modules/fly_vue_lcdp_iview/assets/svg/empty-comp.svg +39 -0
  33. package/modules/fly_vue_lcdp_iview/assets/svg/empty-data.svg +32 -0
  34. package/modules/fly_vue_lcdp_iview/assets/svg/empty.svg +40 -1
  35. package/modules/fly_vue_lcdp_iview/chunk-732b533d.6f6cb24e91fb9db5fd49.js +1 -0
  36. package/modules/fly_vue_lcdp_iview/dll.js +8 -8
  37. package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.6f6cb24e91fb9db5fd49.js +1 -0
  38. package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.6f6cb24e91fb9db5fd49.js +1 -0
  39. package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.6f6cb24e91fb9db5fd49.js +1 -0
  40. package/modules/fly_vue_lcdp_iview/lcdp-iview-component.6f6cb24e91fb9db5fd49.js +1 -0
  41. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.6f6cb24e91fb9db5fd49.js +1 -0
  42. package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.6f6cb24e91fb9db5fd49.js +7 -0
  43. package/package.json +15 -15
  44. package/@types/module/plugins/sub-system-plugin.d.ts +0 -3
  45. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.4fba6e5a.css +0 -1
  46. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-renderer-components.2d6051ce.css +0 -1
  47. package/modules/fly_vue_lcdp_iview/assets/img/empty.96eaa57f.svg +0 -1
  48. package/modules/fly_vue_lcdp_iview/chunk-732b533d.71fdd8a16be619fb2828.js +0 -1
  49. package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.71fdd8a16be619fb2828.js +0 -1
  50. package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.71fdd8a16be619fb2828.js +0 -1
  51. package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.71fdd8a16be619fb2828.js +0 -1
  52. package/modules/fly_vue_lcdp_iview/lcdp-iview-component.71fdd8a16be619fb2828.js +0 -1
  53. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.71fdd8a16be619fb2828.js +0 -1
  54. package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.71fdd8a16be619fb2828.js +0 -7
  55. /package/modules/fly_vue_lcdp_iview/{lcdp-designer-components.71fdd8a16be619fb2828.js → lcdp-designer-components.6f6cb24e91fb9db5fd49.js} +0 -0
  56. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.71fdd8a16be619fb2828.js → lcdp-iview-component-region.6f6cb24e91fb9db5fd49.js} +0 -0
  57. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.71fdd8a16be619fb2828.js → vendors~lcdp-iview-component-ice.6f6cb24e91fb9db5fd49.js} +0 -0
@@ -1 +0,0 @@
1
- (window["webpackJsonp_$fly_vue_lcdp_iview_"]=window["webpackJsonp_$fly_vue_lcdp_iview_"]||[]).push([["lcdp-iview-attrcomponent"],{"001d":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full text-13px"},[t("div",{class:{"d-pe-fullscreen":e.magnifyEditor}},[t("FiltersCom",{attrs:{fields:e.fields,service:e.service,node:e.node,"prop-schema":e.propSchema,model:e.model,schemas:e.schemas},scopedSlots:e._u([{key:"extra",fn:function(){return[t("a",{staticClass:"ml-1",attrs:{href:"javascript:void(0)",title:e.magnifyEditor?"还原编辑器":"放大编辑器"},on:{click:function(t){e.magnifyEditor=!e.magnifyEditor}}},[t("Icon",{attrs:{type:"md-expand",size:"18"}})],1)]},proxy:!0}]),model:{value:e.innerValue,callback:function(t){e.innerValue=t},expression:"innerValue"}})],1)])},o=[],a=i("a026"),r=i("8a03"),l=i("c31a"),s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pl-2 border-l border-l-gray-200 hover:border-l-gray-600",staticStyle:{"border-left-style":"dashed"}},[t("div",{staticClass:"flex items-center mb-2"},[t("Select",{staticClass:"max-w-100px",attrs:{size:"small"},model:{value:e.innerValue.logic,callback:function(t){e.$set(e.innerValue,"logic",t)},expression:"innerValue.logic"}},e._l(e.logicOptions,(function(i){return t("Option",{key:i.value,attrs:{value:i.value}},[e._v(" "+e._s(i.title)+" ")])})),1),t("Dropdown",{staticClass:"ml-1",attrs:{placement:"bottom-start",transfer:""},on:{"on-click":e.handleOnAddFilter}},[t("a",{attrs:{href:"javascript:void(0)"}},[t("Icon",{attrs:{type:"ios-add-circle-outline",size:"18"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"filter"}},[e._v("单个条件")]),t("DropdownItem",{attrs:{name:"filters"}},[e._v("组合条件")])],1)],1),e._t("extra")],2),e._l(e.innerValue.filters,(function(i,n){return[i.logic?t("FiltersCom",{key:i.id+"_",attrs:{"prop-schema":e.propSchema,model:e.model,schemas:e.schemas,service:e.service,node:e.node,fields:e.fields,operators:e.operators},scopedSlots:e._u([{key:"extra",fn:function(){return[t("a",{attrs:{href:"javascript:void(0)",title:"移除"},on:{click:function(t){return e.removeFilter(n)}}},[t("Icon",{attrs:{type:"ios-remove-circle-outline",size:"18"}})],1)]},proxy:!0}],null,!0),model:{value:e.innerValue.filters[n],callback:function(t){e.$set(e.innerValue.filters,n,t)},expression:"innerValue.filters[index]"}}):t("FilterCom",{key:i.id,attrs:{"prop-schema":e.propSchema,model:e.model,schemas:e.schemas,service:e.service,node:e.node,fields:e.fields,operators:e.operators},scopedSlots:e._u([{key:"extra",fn:function(){return[t("a",{attrs:{href:"javascript:void(0)",title:"移除"},on:{click:function(t){return e.removeFilter(n)}}},[t("Icon",{attrs:{type:"ios-remove-circle-outline",size:"18"}})],1)]},proxy:!0}],null,!0),model:{value:e.innerValue.filters[n],callback:function(t){e.$set(e.innerValue.filters,n,t)},expression:"innerValue.filters[index]"}})]}))],2)},c=[],u=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex items-center w-full mb-2"},[t("div",{staticClass:"flex-auto"},[t("AutoComplete",{staticClass:"min-w-60px",attrs:{size:"small",transfer:""},model:{value:e.innerValue.field,callback:function(t){e.$set(e.innerValue,"field",t)},expression:"innerValue.field"}},e._l(e.fields,(function(i){return t("Option",{key:i.value,attrs:{value:i.value}},[e._v(" "+e._s(i.title?i.title+"("+i.value+")":i.value)+" ")])})),1)],1),t("div",{staticClass:"ml-1 flex-auto"},[t("Select",{staticClass:"min-w-90px",attrs:{size:"small",transfer:""},model:{value:e.innerValue.operator,callback:function(t){e.$set(e.innerValue,"operator",t)},expression:"innerValue.operator"}},e._l(e.operators,(function(i){return t("Option",{key:i.value,attrs:{value:i.value}},[e._v(" "+e._s(i.title)+" ")])})),1)],1),t("div",{staticClass:"ml-1 flex-auto"},[t("VarInput",{attrs:{size:"small"},model:{value:e.innerValue.value,callback:function(t){e.$set(e.innerValue,"value",t)},expression:"innerValue.value"}})],1),e._t("extra")],2)},d=[],p=i("2ef0"),h=i.n(p),m=[{value:"cn",title:"包含"},{value:"eq",title:"等于"},{value:"lt",title:"小于"},{value:"le",title:"小于等于"},{value:"gt",title:"大于"},{value:"ge",title:"大于等于"},{value:"ne",title:"不等于"},{value:"in",title:"在里面"},{value:"not in",title:"不在里面"},{value:"is null",title:"为空"},{value:"not null",title:"非空"}],f={fields:{type:Array,required:!0},operators:{type:Array,default:function(){return h.a.cloneDeep(m)}}},v=function(){return v=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},v.apply(this,arguments)},b=Object(a["defineComponent"])({props:v(v(v({},l["a"]),f),{value:{type:Object}}),setup:function(e,t){var i=Object(r["useObjectVModel"])(e,t).innerValue;return{innerValue:i}}}),g=b,y=i("2877"),_=Object(y["a"])(g,u,d,!1,null,null,null),w=_.exports,k=function(){return k=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},k.apply(this,arguments)},x=Object(a["defineComponent"])({name:"FiltersCom",components:{FilterCom:w},props:k(k(k({},l["a"]),f),{value:{type:Object}}),setup:function(e,t){var i=Object(r["useVModel"])(e,t).innerValue,n=[{value:"and",title:"全部满足"},{value:"or",title:"任一满足"}];function o(){var e=h.a.uniqueId("filter-"),t=h.a.keyBy(i.value.filters,(function(e){return e.id}));while(t&&t[e])e=h.a.uniqueId("filter-");return e}var a=function(e){"filter"===e?i.value.filters.push({id:o(),field:"",operator:null,value:null}):i.value.filters.push({id:o(),logic:"and",filters:[]})},l=function(e){i.value.filters.splice(e,1)};return{logicOptions:n,innerValue:i,handleOnAddFilter:a,removeFilter:l}}}),O=x,V=Object(y["a"])(O,s,c,!1,null,null,null),C=V.exports,S=function(){return S=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},S.apply(this,arguments)},j=Object(a["defineComponent"])({components:{FiltersCom:C},props:S(S({},l["a"]),{value:{type:Object}}),setup:function(e,t){var i=Object(r["useVModel"])(e,t,{defaultValue:{logic:"and",filters:[]}}).innerValue,n=e.node,o=h.a.filter(n.children,(function(e){return e.props&&e.props.keyName&&"action"!==e.props.keyName})),l=h.a.map(o,(function(e){var t=e.props,i=t.keyName,n=t.title;return{value:i,title:n}})),s=Object(a["ref"])(!1);return{innerValue:i,fields:l,magnifyEditor:s}}}),I=j,E=Object(y["a"])(I,n,o,!1,null,null,null);t["default"]=E.exports},"00de":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"lcdp-editor-flex lcdp-editor-spaceflex lcdp-editor-flex-align mb-sm"},[t("div",{staticClass:"le-text-title-65"},[e._v("搜索风格")]),t("div",{staticClass:"lcdp-editor-flex-fill"},[t("RadioGroupAttrEdit",{attrs:{"prop-schema":e.customSchema,value:e.buttonType},on:{"on-change":e.handleChange}})],1)]),"text"==e.buttonType?t("div",{staticClass:"lcdp-editor-flex lcdp-editor-spaceflex lcdp-editor-flex-align"},[t("div",{staticClass:"le-text-title-65"},[e._v("文本内容")]),t("div",{staticClass:"lcdp-editor-flex-fill"},[t("Input",{attrs:{disabled:e.$attrs.disabled,placeholder:"请输入"},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}})],1)]):e._e()])},o=[],a={name:"InputSearchTypeAttrEdit",model:{event:"on-change"},props:{value:{type:[String,Boolean,Number]},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{inputVal:this.value||"搜索",switchVal:"",buttonType:"",customSchema:{enums:[{value:"icon",title:"图标"},{value:"button",title:"按钮"},{value:"text",title:"文本"}]}}},watch:{inputVal:function(e){this.$emit("on-change",e||!0)}},mounted:function(){var e,t;if(console.log(this),null!=(e=this.node)&&null!=(t=e.props)&&t.search&&!this.value)return this.buttonType="icon",void this.$emit("on-change",!1);!0===this.value?this.buttonType="button":this.value&&(this.buttonType="text")},methods:{handleChange:function(e){this.buttonType=e,"icon"==e?this.$emit("on-change",!1):"button"==e?this.$emit("on-change",!0):(!0===this.inputVal&&(this.inputVal=""),this.$emit("on-change",this.inputVal||!0))}}},r=a,l=(i("020c"),i("2877")),s=Object(l["a"])(r,n,o,!1,null,"563170bd",null);t["default"]=s.exports},"020c":function(e,t,i){"use strict";i("ad06")},"05ae":function(module,__webpack_exports__,__webpack_require__){"use strict";var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("2ef0"),lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__),_MockTableId="_MockTableId";__webpack_exports__["a"]={name:"IvTableDataAttrEdit",model:{event:"on-change"},props:{value:{type:Array,required:!0,default:function(){return[]}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{modalVisible:!1,treeColumns:!1,tableData:[]}},computed:{tableColumns:function(){var e=[],t={title:"操作",width:180,align:"center",slot:"mockTableActionCol",fixed:"right"};return this.node.children.map((function(t){var i=t.props;"IvTableColumn"==t.type&&"action"!==i.keyName&&"操作"!==i.title&&e.push({title:i.title,key:i.keyName,minWidth:160,slot:i.keyName})})),e.push(t),e[0].tree=!0,e[0].display="inline-block",e},treeRowKey:function(){return this.treeColumns?_MockTableId:null}},watch:{modalVisible:function(e){e||(this.tableData=[])}},methods:{show:function(){this.modalVisible=!0,this.init()},onConfirm:function(){this.$emit("on-change",this.setTableData(this.tableData,!0))},init:function(){var e=this.value||[];if(e.length>0){var t=_.filter(e,(function(e){return e.children}));t.length>0&&(this.treeColumns=!0)}var i=this.setTableData(e);this.tableData=i.length?Object(lodash__WEBPACK_IMPORTED_MODULE_0__["cloneDeep"])(i):[]},onAdd:function(){this.tableData.push({_MockTableId:Object(lodash__WEBPACK_IMPORTED_MODULE_0__["uniqueId"])()})},onChangeData:function onChangeData(val){this.tableData=eval(val)},onAddChilren:function(e,t){var i=this.findTableData(e),n={_MockTableId:Object(lodash__WEBPACK_IMPORTED_MODULE_0__["uniqueId"])()};this.treeRowKey||(this.treeColumns=!0),i[t].children?i[t].children.push(n):(i[t]._showChildren=!0,this.$set(i[t],"children",[n]))},handleChangeTableData:function(e,t){var i=this.findTableData(e);this.$set(i,t,e)},onDelete:function(e,t){var i=this.findTableData(e);i.splice(t,1)},findTableData:function(e){var t=null;function i(n){n.forEach((function(o){o[_MockTableId]==e[_MockTableId]?t=n:o.children&&i(o.children)}))}return i(this.tableData),t},setTableData:function(e,t){var i=Object(lodash__WEBPACK_IMPORTED_MODULE_0__["cloneDeep"])(e);function n(e){_.forEach(e,(function(e){e[_MockTableId]=Object(lodash__WEBPACK_IMPORTED_MODULE_0__["uniqueId"])(),t?e._showChildren&&delete e._showChildren:e._showChildren=!0,e.children&&n(e.children,e[_MockTableId])}))}return n(i),i}}}},"0b02":function(e,t,i){},"0cc7":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{"padding-right":"44px"}},[t("Button",{attrs:{long:"",type:"primary",disabled:e.$attrs.disabled},on:{click:e.show}},[e._v("编辑表格数据")]),t("IvModal",{attrs:{title:"编辑表格数据","class-name":"le-vertical-center-modal",width:80,"mask-closable":!1},on:{"on-ok":e.onConfirm},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[t("transition",{attrs:{name:"fade",duration:500}},[e.modalVisible?t("div",[t("div",{staticClass:"ivu-mb-16"},[t("Button",{staticClass:"mr-sm",attrs:{type:"primary",ghost:"",icon:"md-add"},on:{click:e.onAdd}},[e._v("添加数据")]),t("MonacoAttrEdit",{staticStyle:{display:"inline-block"},attrs:{title:"编辑JSON数据",value:JSON.stringify(e.tableData),language:"json"},on:{"on-change":e.onChangeData}})],1),t("Table",{ref:"table",attrs:{"row-key":e.treeRowKey,columns:e.tableColumns,data:e.tableData,height:"400"},scopedSlots:e._u([e._l(e.tableColumns,(function(i){return{key:i.key,fn:function(n){var o=n.row,a=n.index;return[t("Input",{key:i.key+"_"+a,on:{"on-change":function(t){return e.handleChangeTableData(o,a,i.key,t)}},model:{value:o[i.key],callback:function(t){e.$set(o,i.key,t)},expression:"row[col.key]"}})]}}})),{key:"mockTableActionCol",fn:function(i){var n=i.row,o=i.index;return[t("a",{attrs:{type:"text"},on:{click:function(t){return e.onAddChilren(n,o)}}},[e._v("添加子集")]),t("Divider",{attrs:{type:"vertical"}}),t("a",{attrs:{type:"text"},on:{click:function(t){return e.onDelete(n,o)}}},[e._v("删除")])]}}],null,!0)})],1):e._e()])],1)],1)},o=[],a=i("05ae"),r=a["a"],l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},"10eb":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("AutoComplete",{attrs:{clearable:"",transfer:"",data:e.list,disabled:e.$attrs.disabled,"filter-method":e.filterMethod},on:{"on-change":e.onChange},model:{value:e.innerValue,callback:function(t){e.innerValue=t},expression:"innerValue"}})},o=[],a=i("d907"),r={name:"IdSelectAttrEdit",props:{type:{type:String},mobileType:{type:String},attr:{type:String},service:{type:Object,default:function(){return{}}},value:{type:String,default:""}},data:function(){return{innerValue:this.value,list:[]}},created:function(){this.init()},methods:{init:function(){var e=this;if(this.type&&this.attr){var t=this.service.getJson();console.log("rootJson",t),Object(a["mapValuesDeep"])(t.body,(function(t,i,n){n!==e.attr||i.type!==e.type&&i.type!==e.mobileType||e.list.includes(t)||e.list.push(t)}))}},filterMethod:function(e,t){return-1!==t.toUpperCase().indexOf(e.toUpperCase())},onChange:function(e){this.$emit("input",e),this.$emit("on-change",e)}}},l=r,s=i("2877"),c=Object(s["a"])(l,n,o,!1,null,null,null);t["default"]=c.exports},"1a55":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("FieldsEditor",{attrs:{model:e.model,"prop-schema":e.propSchema,"node-model":e.nodeModel,node:e.node,schemas:e.schemas,service:e.service},model:{value:e.innerValue.value,callback:function(t){e.$set(e.innerValue,"value",t)},expression:"innerValue.value"}})},o=[],a=i("a026"),r=i("8a03"),l=i("c31a"),s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[e._l(e.innerValue,(function(i,n){return[t("div",{key:i[e.VModelUidKey],staticClass:"flex items-center mb-2"},[t("Icon",{staticClass:"cursor-pointer text-gray-500 mr-2",attrs:{type:"md-trash",title:"移除"},on:{click:function(t){return e.removeField(n)}}}),t("Input",{staticClass:"mr-2",attrs:{placeholder:"填写字段名"},model:{value:i.fieldName,callback:function(t){e.$set(i,"fieldName",t)},expression:"item.fieldName"}}),t("Input",{staticClass:"mr-2",attrs:{placeholder:"填写字段显示名称"},model:{value:i.fieldDisplayName,callback:function(t){e.$set(i,"fieldDisplayName",t)},expression:"item.fieldDisplayName"}}),t("VarInput",{attrs:{placeholder:"值映射表达式"},model:{value:i.fieldValueExp,callback:function(t){e.$set(i,"fieldValueExp",t)},expression:"item.fieldValueExp"}})],1)]})),t("div",{staticClass:"flex"},[t("Button",{staticClass:"mr-sm",attrs:{long:"",type:"primary"},on:{click:e.handleAdd}},[e._v("新增字段")]),e.dataSource?t("Button",{staticClass:"mr-sm",attrs:{ghost:"",long:"",type:"primary"},on:{click:e.showSelectDsFieldsDialog}},[e._v(" 选择字段 ")]):e._e()],1)],2)},c=[],u=function(){var e=this,t=e._self._c,i=e._self._setupProxy;return t("div",{staticStyle:{"max-height":"400px",overflow:"auto"}},[t("div",{staticClass:"grid grid-cols-12 p-1"},[t("span",{staticClass:"col-span-1 text-right p-1"},[t("Checkbox",{on:{"on-change":i.onSelectAllDsFields},model:{value:i.selectAllDsFields,callback:function(e){i.selectAllDsFields=e},expression:"selectAllDsFields"}},[t("span")])],1),t("span",{staticClass:"col-span-6 p-1"},[e._v("标题")]),t("span",{staticClass:"col-span-5 p-1"},[e._v("字段")])]),t("CheckboxGroup",{model:{value:i.selectedFields,callback:function(e){i.selectedFields=e},expression:"selectedFields"}},[e._l(i.dsFields,(function(n){return[t("div",{key:n.key,staticClass:"grid grid-cols-12 p-1"},[t("div",{staticClass:"col-span-1 text-right p-1"},[t("Checkbox",{attrs:{label:n.key},on:{"on-change":i.onSelectField}},[t("span")])],1),t("Input",{staticClass:"col-span-6 pr-4",attrs:{placeholder:"输入标题"},model:{value:n.title,callback:function(t){e.$set(n,"title",t)},expression:"item.title"}}),t("Input",{staticClass:"col-span-5 pr-4",attrs:{disabled:"",placeholder:"输入数据字段"},model:{value:n.key,callback:function(t){e.$set(n,"key",t)},expression:"item.key"}})],1)]}))],2)],1)},d=[],p=i("2ef0"),h=i.n(p),m=Object(a["defineComponent"])({__name:"select-ds-fields",props:{dataSource:null,initialSelected:null},emits:["on-selected-changed"],setup:function(e,t){var i=t.emit,n=e;function o(){var e,t,i=n.dataSource,o=[];if(null===i||void 0===i?void 0:i.schema)for(var a in i.schema)o.push({title:(null===(e=i.schema[a])||void 0===e?void 0:e.title)||(null===(t=i.schema[a])||void 0===t?void 0:t.description)||a,key:a});return o}var r=Object(a["ref"])(o()),l=Object(a["ref"])(h.a.isEmpty(n.initialSelected)?h.a.map(r.value,(function(e){return e.key})):h.a.map(h.a.filter(r.value,(function(e){return h.a.includes(n.initialSelected,e.key)})),(function(e){return e.key}))),s=Object(a["ref"])(l.value.length===r.value.length),c=function(e){l.value=e?h.a.map(r.value,(function(e){return e.key})):[]},u=function(e){e||(s.value=!1)};return Object(a["watch"])(l,(function(){i("on-selected-changed",h.a.filter(r.value,(function(e){return h.a.includes(l.value,e.key)})))}),{immediate:!0}),{__sfc:!0,props:n,emit:i,computeDsFields:o,dsFields:r,selectedFields:l,selectAllDsFields:s,onSelectAllDsFields:c,onSelectField:u}}}),f=m,v=i("2877"),b=Object(v["a"])(f,u,d,!1,null,null,null),g=b.exports;function y(e){var t,i=e.title,n=e.onConfirm,o=e.dataSource,l=e.initialSelected;Object(r["useIviewDialog"])({props:{title:i,styles:{top:"50px"}},content:function(){return Object(a["h"])(g,{props:{dataSource:o,initialSelected:l},on:{"on-selected-changed":function(e){t=e}}})},footer:function(e){return Object(a["h"])("div",[Object(a["h"])("Button",{props:{type:"text"},on:{click:function(){e.dialog.close()}}},"取消"),Object(a["h"])("Button",{props:{type:"primary"},on:{click:function(){n&&n(t),e.dialog.close()}}},"确定")])}})}var _=i("d907"),w=i("5a0c"),k=i.n(w),x=function(){return x=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)},O=Object(a["defineComponent"])({props:x(x({},l["a"]),{value:{type:Array}}),setup:function(e,t){var i=Object(r["useArrayVModel"])(e,t).innerValue,n=Object(a["computed"])((function(){var t,i,n=null===(i=null===(t=e.service)||void 0===t?void 0:t.$designer)||void 0===i?void 0:i.rootNode,o=(null===n||void 0===n?void 0:n.dataSources)||[],a=_["ExpressionHelper"].extractExpression(e.model.dataSource),r=h.a.find(o,(function(e){return e.id===a}));return r})),o=function(){var e;i.value.push((e={fieldName:h.a.uniqueId("name"),fieldDisplayName:h.a.uniqueId("显示名称"),fieldValueExp:null},e[r["VModelUidKey"]]=h.a.uniqueId(k()().format("YYYYMMDDHHmmss")),e))},l=function(){var e=h.a.map(i.value,(function(e){return e.fieldName}));y({title:"选择字段",dataSource:n,initialSelected:e,onConfirm:function(e){h.a.forEach(e,(function(e){var t,n=h.a.find(i.value,(function(t){return t.fieldName===e.key}));n||i.value.push((t={fieldName:e.key,fieldDisplayName:e.title,fieldValueExp:null},t[r["VModelUidKey"]]=h.a.uniqueId(k()().format("YYYYMMDDHHmmss")),t))}))}})},s=function(e){i.value.splice(e,1)};return{innerValue:i,VModelUidKey:r["VModelUidKey"],showSelectDsFieldsDialog:l,handleAdd:o,dataSource:n,removeField:s}}}),V=O,C=Object(v["a"])(V,s,c,!1,null,null,null),S=C.exports,j=function(){return j=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},j.apply(this,arguments)},I=Object(a["defineComponent"])({components:{FieldsEditor:S},props:j(j({},l["a"]),{value:{type:Object}}),setup:function(e,t){var i=Object(r["useObjectVModel"])(e,t,{defaultValue:{type:"ExpKeepValue",value:[]}}).innerValue;return{innerValue:i}}}),E=I,P=Object(v["a"])(E,n,o,!1,null,null,null);t["default"]=P.exports},"1c75":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[e._l(e.innerValue,(function(i,n){return[t("div",{directives:[{name:"dragging",rawName:"v-dragging",value:{item:i,list:e.innerValue,group:"ArrayEditorDragItem",comb:"ArrayEditorDragItem"},expression:"{ item: subItem, list: innerValue, group: 'ArrayEditorDragItem', comb: 'ArrayEditorDragItem' }"}],key:i[e.VModelUidKey],staticClass:"row items-center h-34px p-1 mb-1 bg-gray-100 rounded-2px",attrs:{draggable:"true"}},[t("Icon",{staticClass:"dragicon cursor-move opacity-70 hover:opacity-100 mr-1",attrs:{type:"md-move"}}),t("div",{staticClass:"col"},[e._v(e._s(e.buildLabel(i)))]),t("Icon",{staticClass:"cursor-pointer opacity-70 hover:opacity-100 mr-1",attrs:{type:"md-create",title:e.editTitle},on:{click:function(t){return e.handleEdit(n)}}}),t("Icon",{staticClass:"cursor-pointer opacity-70 hover:opacity-100",attrs:{type:"md-trash",title:e.delTitle},on:{click:function(t){return e.handleRemove(n)}}})],1)]})),t("Button",{staticClass:"mt-sm",attrs:{size:"small",long:"",type:"primary"},on:{click:e.handleAdd}},[e._v(e._s(e.addTitle))])],2)},o=[],a=i("a026"),r=i("8a03"),l=i("c31a"),s=i("2ef0"),c=i.n(s);function u(e){var t=Object(a["computed"])((function(){var t={type:null,props:null,on:null};return c.a.isString(e.inputType)?t.type=e.inputType:Object.assign(t,e.inputType),t}));return{inputType:t}}function d(e){var t=e.title,i=e.schemas,n=e.node,o=e.service,l=e.editModel,s=e.properties,u=e.onConfirm,d=l;Object(r["useIviewDialog"])({props:{title:t,width:60,styles:{top:"50px"}},content:function(){return Object(a["h"])("lcdp-designer-properties",{props:{schemas:i,node:n,service:o,properties:s,value:l,oneGroupIgnore:!0},on:{"on-change":function(e){var t=e.data;d=c.a.cloneDeep(t)}}})},footer:function(e){return Object(a["h"])("div",[Object(a["h"])("Button",{props:{type:"text"},on:{click:function(){e.dialog.close()}}},"取消"),Object(a["h"])("Button",{props:{type:"primary"},on:{click:function(){u&&u(d),e.dialog.close()}}},"确定")])}})}var p=i("dae4");function h(e,t){var i=t.check,n=t.checkField,o=t.provideUid,a=e;function l(e){if(!i||!n)return!0;var t=c.a.find(a.value,(function(t){return t[n]===e[n]}));return!t}var s=function(e){var t,i=l(e);i&&(o&&Object.assign(e,(t={},t[r["VModelUidKey"]]=c.a.uniqueId(),t)),a.value.push(e))},u=function(e){c.a.isEmpty(a.value[e])?a.value.splice(e,1):p["Messager"].confirm({title:"确认删除吗?",onOk:function(){a.value.splice(e,1)}})};return{addItem:s,removeItem:u}}var m=function(){return m=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},f=Object(a["defineComponent"])({props:m(m({},l["a"]),{value:{type:Array},labelKeys:{type:Array},check:{type:Boolean},checkField:{type:String},addTitle:{type:String,default:"新增"},editTitle:{type:String,default:"编辑"},delTitle:{type:String,default:"删除"}}),setup:function(e,t){var i=e.propSchema,n=e.service,o=e.node,a=e.schemas,l=e.check,s=e.checkField,p=u(i).inputType,m=Object(r["useArrayVModel"])(e,t,!0).innerValue,f=h(m,{check:l,checkField:s,provideUid:!0}),v=f.addItem,b=f.removeItem,g=c.a.cloneDeep(i.arrayItemElementModel.props),y=function(){d({editModel:g,title:e.addTitle,service:n,node:o,schemas:a,properties:i.properties,onConfirm:function(e){v(e)}})},_=function(t){d({editModel:c.a.cloneDeep(m.value[t]),title:e.editTitle,service:n,node:o,schemas:a,properties:i.properties,onConfirm:function(e){m.value.splice(t,1,e)}})},w=function(e){b(e)},k=function(t){var n=e.labelKeys;return n||c.a.isEmpty(i.properties)||(n=[Object.keys(i.properties)[0]]),c.a.join(c.a.map(n,(function(e){return c.a.isNil(t[e])?e:t[e]})),"")};return{innerValue:m,VModelUidKey:r["VModelUidKey"],inputType:p,handleAdd:y,handleEdit:_,handleRemove:w,buildLabel:k}}}),v=f,b=i("2877"),g=Object(b["a"])(v,n,o,!1,null,null,null);t["default"]=g.exports},2524:function(e,t,i){"use strict";i("6bf2")},"290c":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("Input",{attrs:{disabled:e.$attrs.disabled,type:"textarea",rows:6,placeholder:"请输入"},model:{value:e.modelVal,callback:function(t){e.modelVal=t},expression:"modelVal"}})},o=[],a={name:"TextareaAttrEdit",model:{event:"on-change"},props:{value:{type:[String],default:""},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},computed:{modelVal:{get:function(){return this.value||""},set:function(e){this.$emit("on-change",e)}}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},3317:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VariablesInput",{ref:"root",attrs:{"prop-schema":e.propSchema,schemas:e.schemas,service:e.service,node:e.node,options:{keyTitle:"参数名",valueTitle:"参数值",addTitle:"添加请求参数"}},model:{value:e.innerValue,callback:function(t){e.innerValue=t},expression:"innerValue"}})},o=[],a=i("a026"),r=i("1e00"),l=i("c31a"),s=i("8a03"),c=function(){return c=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},u=Object(a["defineComponent"])({components:{VariablesInput:r["PropValueEditors"].VariablesInput},props:c(c({},l["a"]),{value:{type:Array}}),setup:function(e,t){var i=Object(s["useArrayVModel"])(e,t).innerValue;return{innerValue:i}}}),d=u,p=i("2877"),h=Object(p["a"])(d,n,o,!1,null,null,null);t["default"]=h.exports},"420a":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("RadioGroup",{staticClass:"mb-sm",attrs:{type:"button","button-style":"solid"},model:{value:e.colorType,callback:function(t){e.colorType=t},expression:"colorType"}},[t("Radio",{attrs:{disabled:e.$attrs.disabled,label:"pure"}},[e._v("纯色")]),t("Radio",{attrs:{disabled:e.$attrs.disabled,label:"gradient"}},[e._v("渐变")])],1),"pure"==e.colorType?[t("ColorPickerAttrEdit",{key:e.colorType,attrs:{disabled:e.$attrs.disabled},model:{value:e.modelVal,callback:function(t){e.modelVal=t},expression:"modelVal"}})]:e._e(),"gradient"==e.colorType?[t("div",{staticClass:"flex items-center mb-sm"},[t("span",{staticStyle:{width:"68px"}},[e._v("开始")]),t("ColorPickerAttrEdit",{key:e.colorType+1,attrs:{disabled:e.$attrs.disabled},model:{value:e.modelValStart,callback:function(t){e.modelValStart=t},expression:"modelValStart"}}),t("span",{staticStyle:{width:"68px"}},[e._v("结束")]),t("ColorPickerAttrEdit",{key:e.colorType+2,attrs:{disabled:e.$attrs.disabled},model:{value:e.modelValEnd,callback:function(t){e.modelValEnd=t},expression:"modelValEnd"}})],1)]:e._e()],2)},o=[],a=i("2ef0"),r={name:"StrokeColorAttrEdit",model:{event:"on-change"},props:{value:{type:[String,Array],default:""}},data:function(){return{colorType:"pure"}},computed:{modelVal:{get:function(){return Object(a["isArray"])(this.value)?"":this.value},set:function(e){this.$emit("on-change",e)}},modelValStart:{get:function(){return Object(a["isArray"])(this.value)?this.value[0]:""},set:function(e){this.$emit("on-change",[e,this.modelValEnd||"rgba(255,255,255,1)"])}},modelValEnd:{get:function(){return Object(a["isArray"])(this.value)?this.value[1]:""},set:function(e){this.$emit("on-change",[this.modelValStart||"rgba(255,255,255,1)",e])}}}},l=r,s=i("2877"),c=Object(s["a"])(l,n,o,!1,null,null,null);t["default"]=c.exports},4417:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("Select",{attrs:{disabled:e.$attrs.disabled,clearable:""},on:{"on-change":e.handleChange},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}},e._l(e.queryData,(function(i){return t("Option",{key:i.id,attrs:{value:i.id}},[e._v(" "+e._s(i.name)+" ("+e._s(i.title||i.description)+") ")])})),1)},o=[],a=i("b188");function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},t=Object.prototype,i=t.hasOwnProperty,n=Object.defineProperty||function(e,t,i){e[t]=i.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(j){c=function(e,t,i){return e[t]=i}}function u(e,t,i,o){var a=t&&t.prototype instanceof h?t:h,r=Object.create(a.prototype),l=new C(o||[]);return n(r,"_invoke",{value:k(e,i,l)}),r}function d(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(j){return{type:"throw",arg:j}}}e.wrap=u;var p={};function h(){}function m(){}function f(){}var v={};c(v,a,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&i.call(g,a)&&(v=g);var y=f.prototype=h.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,a,r,l){var s=d(e[n],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,r,l)}),(function(e){o("throw",e,r,l)})):t.resolve(u).then((function(e){c.value=e,r(c)}),(function(e){return o("throw",e,r,l)}))}l(s.arg)}var a;n(this,"_invoke",{value:function(e,i){function n(){return new t((function(t,n){o(e,i,t,n)}))}return a=a?a.then(n,n):n()}})}function k(e,t,i){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(i.method=o,i.arg=a;;){var r=i.delegate;if(r){var l=x(r,i);if(l){if(l===p)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var s=d(e,t,i);if("normal"===s.type){if(n=i.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(n="completed",i.method="throw",i.arg=s.arg)}}}function x(e,t){var i=t.method,n=e.iterator[i];if(void 0===n)return t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),p;var o=d(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function V(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function S(e){if(e||""===e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=f,n(y,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:m,configurable:!0}),m.displayName=c(f,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,c(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},_(w.prototype),c(w.prototype,l,(function(){return this})),e.AsyncIterator=w,e.async=function(t,i,n,o,a){void 0===a&&(a=Promise);var r=new w(u(t,i,n,o),a);return e.isGeneratorFunction(i)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},_(y),c(y,s,"Generator"),c(y,a,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),i=[];for(var n in t)i.push(n);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(V),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(i,n){return r.type="throw",r.arg=e,t.next=i,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],r=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=e,r.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),V(i),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var n=i.completion;if("throw"===n.type){var o=n.arg;V(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:S(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),p}},e}function l(e,t,i,n,o,a,r){try{var l=e[a](r),s=l.value}catch(c){return void i(c)}l.done?t(s):Promise.resolve(s).then(n,o)}function s(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var a=e.apply(t,i);function r(e){l(a,n,o,r,s,"next",e)}function s(e){l(a,n,o,r,s,"throw",e)}r(void 0)}))}}var c={name:"TableDataDictionaryAttrEdit",inject:["designerService"],model:{event:"on-change"},props:{value:{type:String,required:!0,default:""},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{inputVal:this.value,queryData:[],timer:null}},mounted:function(){this.initQueryData()},activated:function(){this.initQueryData()},destroyed:function(){this.timer&&clearTimeout(this.timer)},methods:{initQueryData:function(){var e=_.get(this.designerService,"$designer.config.repository.optionSetService");e&&e.query&&(this.queryData=e.query())},handleChange:function(e){var t=this;return s(r().mark((function i(){return r().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.$emit("on-change",e),i.next=3,Object(a["a"])({service:t.service,node:t.node,propSchema:t.propSchema,val:e});case 3:t.service.refresh();case 4:case"end":return i.stop()}}),i)})))()}}},u=c,d=i("2877"),p=Object(d["a"])(u,n,o,!1,null,null,null);t["default"]=p.exports},"476c":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"iview-optionattredit"},[e.options&&Array.isArray(e.options)&&e.options.length>0?t("ul",{staticClass:"mb-sm"},e._l(e.options,(function(i,n){return t("li",{directives:[{name:"dragging",rawName:"v-dragging",value:{item:i,list:e.options,group:"optionAttr",comb:"optionAttr"},expression:"{ item: item, list: options, group: 'optionAttr', comb: 'optionAttr' }"}],key:i+n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled},on:{dragleave:e.refreshNode,dragend:e.refreshNode}},[t("Icon",{staticClass:"dragicon",attrs:{type:"md-move"}}),t("div",{staticClass:"span1"},[e._v(e._s(i))]),t("Icon",{attrs:{type:"md-create"},on:{click:function(t){return e.handleEdit(i,n)}}}),t("Icon",{attrs:{type:"md-trash"},on:{click:function(t){return e.handleRemove(i,n)}}})],1)})),0):e._e(),e.len&&e.len>e.options.length?[t("Button",{attrs:{disabled:e.$attrs.disabled,long:"",type:"primary"},on:{click:e.handleAdd}},[e._v(e._s(e.buttonText))])]:e._e(),e.len?e._e():[t("Button",{attrs:{disabled:e.$attrs.disabled,long:"",type:"primary"},on:{click:e.handleAdd}},[e._v(e._s(e.buttonText))])],t("SchemaPropertiesModal",{attrs:{model:e.editParam,title:e.title,properties:e.propSchema.properties,"use-default":!0,node:e.node,service:e.service},on:{"on-ok":e.handleModalOk},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}})],2)},o=[],a=i("6514"),r={name:"OneArrayOptionAttrEdit",description:"编写一维数组",components:{SchemaPropertiesModal:a["a"]},model:{event:"on-change"},props:{value:{type:[Array,String],required:!0,default:function(){return[]}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{options:[],activeIndex:null,editParam:{},modalVisible:!1,isAdd:!1}},computed:{title:function(){return this.isAdd?"新增":"编辑"},fields:function(){return this.propSchema.inputType.props&&this.propSchema.inputType.props.fields?this.propSchema.inputType.props.fields:{label:"label",value:"value"}},len:function(){var e,t,i,n,o;return(null==(e=this.propSchema)||null==(t=e.inputType)?void 0:t.props)&&(null==(i=this.propSchema)||null==(n=i.inputType)||null==(o=n.props)?void 0:o.len)||null},buttonText:function(){var e,t,i,n,o;return(null==(e=this.propSchema)||null==(t=e.inputType)?void 0:t.props)&&(null==(i=this.propSchema)||null==(n=i.inputType)||null==(o=n.props)?void 0:o.buttonText)||"新增"}},watch:{value:{handler:function(){var e=[];e=this.value?this.value:[],this.options=[].concat(e),0==e.length&&this.$emit("on-change",e)},immediate:!0,deep:!0}},mounted:function(){this.options=[].concat(this.value),this.saveDefaultValue()},methods:{saveDefaultValue:function(){this.service.setTemp("ivoptionsattrbak-"+this.node.designer.id,this.options)},handleAdd:function(){var e={},t=_.uniqueId();this.fields.value&&(e[this.fields.value]="newValue_"+t),this.isAdd=!0,this.modalVisible=!0,this.activeIndex=null,this.editParam=e},handleRemove:function(e,t){this.options.splice(t,1),this.$emit("on-change",this.options||[]),this.saveDefaultValue()},handleEdit:function(e,t){var i;this.isAdd=!1,this.activeIndex=t,this.editParam=(i={},i[this.fields.label]=e,i),this.modalVisible=!0},handleModalOk:function(e){var t=e[this.fields.label];this.isAdd?(this.isAdd=!this.isAdd,this.options.push(t)):this.$set(this.options,this.activeIndex,t),this.$emit("on-change",this.options||[]),this.saveDefaultValue(),this.service.refresh()},refreshNode:function(){this.$emit("on-change",this.options||[])}}},l=r,s=i("2877"),c=Object(s["a"])(l,n,o,!1,null,null,null);t["default"]=c.exports},4773:function(e,t,i){"use strict";i("0b02")},"4beb":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("Button",{attrs:{type:"primary",long:""},on:{click:e.handleModalShow}},[e._v(e._s(e.title))]),t("IvModal",{attrs:{"class-name":"le-vertical-center-modal",width:"70%","mask-closable":!1},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[t("div",{staticClass:"lcdp-editor-flex",attrs:{slot:"header"},slot:"header"},[t("div",{staticClass:"ivu-modal-header-inner"},[e._v(e._s(e.title))]),t("div",{staticClass:"lcdp-editor-flex-fill text-center"}),t("div",{staticStyle:{"padding-right":"40px"}})]),t("transition",{attrs:{name:"fade",duration:500}},[t("div",{staticStyle:{height:"72vh",border:"1px solid #ccc"}},[e.modalVisible?t("lcdp-designer-coder",{ref:"coder",attrs:{option:e.setOpton,"format-auto":e.formatAuto,editing:!1},on:{"on-inited":e.onEditorInit},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}}):e._e()],1)]),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("Button",{on:{click:e.handleModalCancel}},[e._v("取消")]),t("Button",{attrs:{type:"primary"},on:{click:e.handleModalOk}},[e._v("确定")])],1)],1)],1)},o=[],a=(i("725e"),{name:"MonacoAttrEdit",inheritAttrs:!1,props:{title:{type:String,default:"编辑代码"},language:{type:String,default:"html"},value:{type:[String,Number,Object,Array],default:""},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{key:(new Date).getTime(),modalVisible:!1,formatAuto:!0,inputVal:""}},computed:{setOpton:function(){var e,t,i=null!=(e=this.propSchema.inputType)&&null!=(t=e.props)&&t.language?this.propSchema.inputType.props.language:this.language;return{language:i||this.language,extraLib:"",selectOnLineNumbers:!1}}},methods:{handleModalShow:function(){this.inputVal=this.value,this.modalVisible=!0},handleModalCancel:function(){this.inputVal="",this.modalVisible=!1},handleModalOk:function(){this.$emit("input",this.inputVal),this.$emit("on-change",this.inputVal),this.modalVisible=!1},onEditorInit:function(){}}}),r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},"4eef":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("Select",{attrs:{disabled:e.$attrs.disabled,multiple:"",filterable:"","allow-create":""},on:{"on-change":e.onChange,"on-create":e.onCreate},model:{value:e.modelVal,callback:function(t){e.modelVal=t},expression:"modelVal"}},[t("OptionGroup",{attrs:{label:"输入类型回车可添加"}},[e._l(e.options,(function(i){return[t("Option",{key:i.value,attrs:{value:i.value}},[e._v(e._s(i.label))])]}))],2)],1)},o=[],a={props:{value:{type:String,default:""}},data:function(){return{options:[]}},computed:{modelVal:{get:function(){var e=this.value?this.value.split(","):[];return e},set:function(e){var t=e.length?e.join(","):null;this.$emit("input",t)}}},watch:{value:{handler:function(e){this.initOptions(e)},immediate:!0,deep:!0}},methods:{initOptions:function(e){var t=[{value:".jpg",label:".jpg"},{value:".jpeg",label:".jpeg"},{value:".png",label:".png"},{value:".xls",label:".xls"},{value:".xlsx",label:".xlsx"},{value:".doc",label:".doc"},{value:".docx",label:".docx"},{value:".ppt",label:".ppt"},{value:".pptx",label:".pptx"},{value:".pdf",label:".pdf"},{value:".zip",label:".zip"},{value:".rar",label:".rar"}],i=e?e.split(","):[],n=i.map((function(e){return{label:e,value:e}})),o=n.filter((function(e){return!t.filter((function(t){return t.value===e.value})).length}));this.options=[].concat(t,o)},onChange:function(e){var t=e.length?e.join(","):null;this.$emit("on-change",t)},onCreate:function(e){this.options.push({value:e,label:e})}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},"51d1":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("AttrSelectAttrEdit",e._g(e._b({attrs:{type:"IvForm","mobile-type":"VanForm",attr:"id"}},"AttrSelectAttrEdit",e.$attrs,!1),e.$listeners))},o=[],a=i("2877"),r={},l=Object(a["a"])(r,n,o,!1,null,null,null);t["default"]=l.exports},"52d9":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"iview-optionattredit"},[t("ul",e._l(e.options,(function(i,n){return t("li",{directives:[{name:"dragging",rawName:"v-dragging",value:{item:i,list:e.options,group:e.groupId,comb:e.groupId},expression:"{ item: item, list: options, group: groupId, comb: groupId }"}],key:n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled},attrs:{draggable:"true"},on:{dragend:e.refreshNode}},[t("Icon",{staticClass:"dragicon",attrs:{type:"md-move"}}),t("div",{staticClass:"span1"},[e._v(e._s(i[e.fields.label]))]),t("Icon",{attrs:{type:"md-create"},on:{click:function(t){return e.handleEdit(i,n)}}}),t("Icon",{attrs:{type:"md-trash"},on:{click:function(t){return e.handleRemove(i,n)}}})],1)})),0),t("Button",{staticClass:"mt-sm",attrs:{disabled:e.$attrs.disabled,long:"",type:"primary"},on:{click:e.handleAdd}},[e._v("新增")]),t("ScheamPropertiesModal",{attrs:{model:e.editParam,title:e.title,properties:e.propSchema.properties,"use-default":!0,"one-group-ignore":!0,node:e.node,service:e.service},on:{"on-ok":e.handleModalOk},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}})],1)},o=[],a=i("2ef0"),r=i("6514"),l={name:"OptionAttrEdit",components:{ScheamPropertiesModal:r["a"]},model:{event:"on-change"},props:{value:{type:[Array,String],required:!0,default:function(){return[]}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}},emptyBackNull:{type:Boolean,default:!1}},data:function(){return{groupId:"optionAttr"+(new Date).getTime(),options:[],activeIndex:null,editParam:{},modalVisible:!1,isAdd:!1}},computed:{title:function(){return this.isAdd?"新增":"编辑"},fields:function(){return this.propSchema.inputType.props&&this.propSchema.inputType.props.fields?this.propSchema.inputType.props.fields:{label:"label",value:"value"}}},watch:{value:{handler:function(){var e=this.value||[];this.options=[].concat(e)},immediate:!0,deep:!0}},mounted:function(){var e=this.service.getTemp("ivoptionsattrbak-"+this.node.designer.id);e?(this.options=e,this.$emit("on-change",this.options)):(this.options=this.value,Object(a["isEmpty"])(this.value)||this.saveDefaultValue())},methods:{saveDefaultValue:function(){this.service.setTemp("ivoptionsattrbak-"+this.node.designer.id,this.options)},handleAdd:function(){var e={},t=_.uniqueId();this.fields.value&&(e[this.fields.value]="newValue_"+t),this.isAdd=!0,this.modalVisible=!0,this.activeIndex=null,this.editParam=e},handleRemove:function(e,t){this.options.splice(t,1),this.emptyBackNull?this.$emit("on-change",Object(a["isEmpty"])(this.options)?null:this.options):this.$emit("on-change",this.options),this.saveDefaultValue()},handleEdit:function(e,t){this.isAdd=!1,this.activeIndex=t,this.editParam=Object.assign({},e),this.modalVisible=!0},handleModalOk:function(e){var t=e;this.isAdd?(this.isAdd=!this.isAdd,this.options.push(e)):this.$set(this.options,this.activeIndex,Object.assign({},Object(a["pickBy"])(t,a["identity"]))),this.$emit("on-change",this.options),this.saveDefaultValue()},refreshNode:function(){this.$emit("on-change",this.options)}}},s=l,c=i("2877"),u=Object(c["a"])(s,n,o,!1,null,null,null);t["default"]=u.exports},5783:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("Row",{staticClass:"lemb-12 ledesign-row",attrs:{gutter:12}},e._l(e.colData,(function(i,n){return t("Col",{key:n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled},attrs:{span:"6"}},[t("div",{staticClass:"ledesign-col",class:i.value==e.inputVal?" ledesign-on":"",on:{click:function(t){return e.handleChangeColItem(i.value)}}},[t("i",{class:i.icon})])])})),1)],1)},o=[],a={name:"FlexAttrEdit",model:{event:"on-change"},props:{value:{type:[String,Number,Object,Array],default:""},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{colData:[{icon:"ladp-viewicon ladp-viewicon-grid12",value:"1"},{icon:"ladp-viewicon ladp-viewicon-grid6-6",value:"2"},{icon:"ladp-viewicon ladp-viewicon-grid4-4-4",value:"3"},{icon:"ladp-viewicon ladp-viewicon-grid3-3-3-3",value:"4"}],inputVal:this.value}},computed:{},watch:{},methods:{handleChangeColItem:function(e){this.inputVal=e,this.changeNode()},changeNode:function(){var e=this,t=Number(this.inputVal);this.nodeBak=_.cloneDeep(this.node.children),this.nodeBak.length>t&&this.nodeBak.forEach((function(i,n){n>=t&&e.service.setTemp("ivflexcolbak-"+e.node.designer.id+"-"+n,i.children)})),this.node.children=[];for(var i=0;i<t;i++)this.service.appendChild(this.node,{type:"IvFlexItem",designer:{move:!1,moveSibling:!0},props:{flex:"auto"},children:this.nodeBak[i]?this.nodeBak[i].children:this.service.getTemp("ivflexcolbak-"+this.node.designer.id+"-"+i)?this.service.getTemp("ivflexcolbak-"+this.node.designer.id+"-"+i):[]});this.service.refreshContent(),this.$emit("on-change",this.inputVal)}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},"5de8":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"iview-rulesattredit"},[t("ul",e._l(e.options,(function(i,n){return t("li",{key:n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled}},[t("div",{staticClass:"span1"},[e._v(e._s(i.label))]),t("Icon",{attrs:{type:"md-create"},on:{click:function(t){return e.handleEdit(i,n)}}}),i.isdel?t("Icon",{attrs:{type:"md-trash"},on:{click:function(t){return e.handleRemove(i,n)}}}):e._e()],1)})),0),t("Button",{staticClass:"mt-sm mb-md",attrs:{disabled:e.$attrs.disabled,long:"",type:"primary"},on:{click:e.handleAdd}},[e._v("新增")]),t("IvModal",{attrs:{"class-name":"le-vertical-center-modal",title:e.add?"新增校验规则":"编辑校验规则","mask-closable":!1},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[t("transition",{attrs:{name:"fade",duration:500}},[e.modalVisible?t("Form",{ref:"formCustom",attrs:{model:e.editParam,"hide-required-mark":"","label-width":120}},[t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"label"}},[e._v("规则名称")])]),t("Input",{attrs:{placeholder:"请输入标题..."},model:{value:e.editParam.label,callback:function(t){e.$set(e.editParam,"label",t)},expression:"editParam.label"}})],2),e.add?t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"type"}},[e._v("内置类型")])]),t("Select",{attrs:{"label-in-value":"",placeholder:"请选择"},model:{value:e.editParam.value,callback:function(t){e.$set(e.editParam,"value",t)},expression:"editParam.value"}},[e._l(e.defaulPattern,(function(i,n){return[e.isAddRequired&&"required"==i.type?e._e():t("Option",{key:n,attrs:{value:i.value},nativeOn:{click:function(t){return e.handleBuiltintype(i)}}},[e._v(e._s(i.label))])]}))],2)],2):e._e(),t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"trigger"}},[e._v("触发方式")])]),t("Select",{attrs:{"label-in-value":"",placeholder:"请选择",clearable:""},model:{value:e.editParam.trigger,callback:function(t){e.$set(e.editParam,"trigger",t)},expression:"editParam.trigger"}},[e._l(e.defaulTrigger,(function(i){return[t("Option",{key:i.value,attrs:{value:i.value}},[e._v(e._s(i.label))])]}))],2)],2),"required"==e.editParam.type?t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"required"}},[e._v("是否必填")])]),t("i-switch",{attrs:{size:"small"},model:{value:e.editParam.required,callback:function(t){e.$set(e.editParam,"required",t)},expression:"editParam.required"}})],2):e._e(),"length"==e.editParam.type||"range"==e.editParam.type||"arraySize"==e.editParam.type?[t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"min"}},[e._v("最小值")])]),t("Input",{attrs:{type:"number",placeholder:"请输入最小值"},model:{value:e.editParam.min,callback:function(t){e.$set(e.editParam,"min",t)},expression:"editParam.min"}})],2),t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"max"}},[e._v("最大值")])]),t("Input",{attrs:{type:"number",placeholder:"请输入最大值"},model:{value:e.editParam.max,callback:function(t){e.$set(e.editParam,"max",t)},expression:"editParam.max"}})],2)]:e._e(),"arraySize"==e.editParam.type?[t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"size"}},[e._v("长度")]),t("Icon",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{type:"md-help-circle",content:"设置了长度将已长度为准校验"}})],1),t("Input",{attrs:{type:"number",placeholder:"请输入长度"},model:{value:e.editParam.size,callback:function(t){e.$set(e.editParam,"size",t)},expression:"editParam.size"}})],2)]:e._e(),"method"!=e.editParam.type&&"required"!=e.editParam.type&&"length"!=e.editParam.type&&"range"!=e.editParam.type&&"arraySize"!=e.editParam.type?t("FormItem",{key:"pattern",attrs:{prop:"pattern",rules:e.ruleValidate}},[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"pattern"}},[e._v("正则表达式")])]),t("Input",{attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"请输入正则表达式"},model:{value:e.editParam.pattern,callback:function(t){e.$set(e.editParam,"pattern",t)},expression:"editParam.pattern"}})],2):e._e(),"method"==e.editParam.type?[t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"method"}},[e._v("自定义函数")]),t("Icon",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{type:"md-help-circle",content:"<a href='http://v4.iviewui.com/components/form' target='_blank'>验证方法参考这里</a>"}})],1),t("VarInput",{model:{value:e.editParam.method,callback:function(t){e.$set(e.editParam,"method",t)},expression:"editParam.method"}}),t("div",{staticClass:"text-hint text-13px py-1"},[e._v(" 可使用utils.validator下的内置验证函数,如判断相等:${utils.validator.eq(formData,'password','两次密码不一致')},其他有 gt(大于)、lt(小于)、ge(大于等于)、le(小于等于)、ne(不等于) ")])],2)]:e._e(),t("FormItem",[t("template",{slot:"label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:"message"}},[e._v("提示信息")])]),t("Input",{attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"请输入提示信息..."},model:{value:e.editParam.message,callback:function(t){e.$set(e.editParam,"message",t)},expression:"editParam.message"}})],2)],2):e._e()],1),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("Button",{on:{click:e.handleModalCancel}},[e._v("取消")]),t("Button",{attrs:{type:"primary"},on:{click:e.handleModalOk}},[e._v("确定")])],1)],1)],1)},o=[],a=i("2ef0"),r=i.n(a),l=[{label:"必填",value:"required",type:"required",required:!1,message:"此项为必填项",isdel:!0},{label:"字符长度",value:"length",type:"length",min:"",max:"",message:"",isdel:!0},{label:"数组长度",value:"arraySize",type:"arraySize",size:"",min:"",max:"",message:"",isdel:!0},{label:"数字范围",value:"range",type:"range",min:"",max:"",message:"",isdel:!0},{label:"自定义函数",value:"method",type:"method",method:"",message:"",isdel:!0},{label:"正则校验",value:"regex",type:"regex",pattern:"",message:"",isdel:!0},{label:"数字",value:"number",type:"regex",message:"请输入正确格式的数字",pattern:/^-?\d+(,\d{3})*(\.\d{1,19})?$/.toString(),isdel:!0},{label:"手机号",value:"phone",type:"regex",message:"请输入正确格式的手机号",pattern:/^[1][3,4,5,6,7,8,9][0-9]{9}$/.toString(),isdel:!0},{label:"身份证",value:"idcard",type:"regex",message:"请输入正确格式的身份证",pattern:/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.toString(),isdel:!0},{label:"网址",value:"url",type:"regex",message:"请输入正确格式的网址",pattern:/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w.-]+)+[\w\-._~:/?#[\]@!$&'*+,;=.]+$/.toString(),isdel:!0},{label:"邮箱",value:"email",type:"regex",message:"请输入正确格式的邮箱",pattern:/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/.toString(),isdel:!0}],s=[{label:"blur",value:"blur"},{label:"change",value:"change"}],c={name:"RulesAttrEdit",model:{event:"oncomchange"},props:{value:{type:Object,required:!0,default:function(){return{}}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){var e=function(e,t,i){try{r.a.isRegExp(new Function("return "+t)())?i():i(new Error("正则表达式有误"))}catch(n){i(new Error("正则表达式有误"))}};return{timeKey:null,defaulPattern:l,defaulTrigger:s,options:[],activeIndex:null,editParam:{},modalVisible:!1,add:!1,isAddRequired:!1,ruleValidate:[{required:!0,message:"请输入正则表达式",trigger:"blur"},{type:"string",validator:e,trigger:"blur"}]}},watch:{value:{handler:function(){this.getRulses(this.value.value)},immediate:!0,deep:!0},modalVisible:function(){this.modalVisible?this.timeKey=Date.now():(this.activeIndex=null,this.editParam={})}},mounted:function(){var e=this.service.getTemp("ivRulessattrbak-"+this.node.designer.id);e?(this.options=[],this.options=this.options.concat(e),this.updateValue()):(this.getRulses(this.value.value),this.saveDefaultValue())},methods:{getRulses:function(e){var t=this,i=[];e=e?0==e.length?i:e:i;var n=r.a.map(e,(function(e){return r.a.assign(r.a.cloneDeep(r.a.find(t.defaulPattern,{type:e.type})),e)}));this.options=[],this.options=this.options.concat(n)},saveDefaultValue:function(){this.service.setTemp("ivRulessattrbak-"+this.node.designer.id,this.options)},handleAdd:function(){this.isAddRequired=!!r.a.find(this.options,(function(e){return"required"==e.type})),this.editParam=this.isAddRequired?r.a.cloneDeep(this.defaulPattern[1]):r.a.cloneDeep(this.defaulPattern[0]),this.add=!0,this.modalVisible=!0},handleRemove:function(e,t){this.options.splice(t,1),this.updateValue(),this.saveDefaultValue()},handleEdit:function(e,t){this.add=!1,this.activeIndex=t,this.editParam=Object.assign({},e),this.modalVisible=!0},handleModalOk:function(){var e=this;this.$refs.formCustom.validate((function(t){if(t){if(e.editParam.min&&(e.editParam.min=Number(e.editParam.min)),e.editParam.max&&(e.editParam.max=Number(e.editParam.max)),e.editParam.size&&(e.editParam.size=Number(e.editParam.size)),e.add)e.options.push(e.editParam);else{var i=r.a.cloneDeep(e.editParam);e.$set(e.options,e.activeIndex,i)}e.updateValue(),e.saveDefaultValue(),e.modalVisible=!1,e.add=!1}else e.$Message.error("规则填写有误,请校验!")}))},handleModalCancel:function(){this.add=!1,this.modalVisible=!1,this.$refs["formCustom"].resetFields()},handleBuiltintype:function(e){this.editParam.type=e.type,this.$set(this.editParam,"label",e.label),this.$set(this.editParam,"message",e.message),e.pattern&&this.$set(this.editParam,"pattern",e.pattern),""==e.min&&(this.editParam.min=e.min),""==e.max&&(this.editParam.max=e.max),""==e.size&&(this.editParam.size=e.size)},updateValue:function(){var e=r.a.cloneDeep(this.options);r.a.map(e,(function(e){r.a.unset(e,["isdel"])})),this.$emit("oncomchange",{type:"ValidateRules",processor:"iview_processor",value:e})}}},u=c,d=i("2877"),p=Object(d["a"])(u,n,o,!1,null,null,null);t["default"]=p.exports},"63f6":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("Select",{attrs:{disabled:e.$attrs.disabled,clearable:""},on:{"on-change":e.handleChange},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}},e._l(e.queryData,(function(i){return t("Option",{key:i.id,attrs:{value:i.id}},[e._v(" "+e._s(i.name)+" ("+e._s(i.title||i.description)+") ")])})),1)},o=[],a={name:"DataDictionaryAttrEdit",inject:["designerService"],model:{event:"on-change"},props:{value:{type:String,default:""},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{inputVal:this.value,queryData:[],timer:null}},mounted:function(){this.initQueryData()},activated:function(){this.initQueryData()},destroyed:function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},methods:{initQueryData:function(){var e=_.get(this.designerService,"$designer.config.repository.optionSetService");e&&e.query&&(this.queryData=e.query())},handleChange:function(e){var t=this;this.$emit("on-change",e),this.timer=setTimeout((function(){e?(t.node.props.data="${utils.optionSet.find('"+e+"').items}",t.node.props.keyNames.label="title",t.node.props.dataDictionaryDisabled=[]):(t.node.props.data=[],t.node.props.keyNames.label=""),t.service.refreshContent(),t.service.refreshPanel()}),100)}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},"64f0":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("AttrSelectAttrEdit",e._g(e._b({attrs:{type:"IvTableGrid",attr:"id"}},"AttrSelectAttrEdit",e.$attrs,!1),e.$listeners))},o=[],a=i("2877"),r={},l=Object(a["a"])(r,n,o,!1,null,null,null);t["default"]=l.exports},6514:function(e,t,i){"use strict";var n=function(){var e=this,t=e._self._c;return t("IvModal",{staticClass:"le-schema-modal",attrs:{"class-name":"le-vertical-center-modal",title:e.title,translate:"","mask-closable":!1,"before-close":e.handleModalCancel},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[t("transition",{attrs:{name:"fade",duration:500}},[e.modalVisible?t("lcdp-designer-properties",{key:e.timeKey,attrs:{properties:e.propertiesFun,"use-default":e.useDefault,node:e.node,"root-node":e.rootNode,schemas:e.schemas,service:e.service,variables:e.variables,"one-group-ignore":e.oneGroupIgnore},model:{value:e.propertiesModel,callback:function(t){e.propertiesModel=t},expression:"propertiesModel"}}):e._e()],1),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("Button",{on:{click:e.handleModalCancel}},[e._v("取消")]),t("Button",{attrs:{type:"primary"},on:{click:e.handleModalOk}},[e._v("确定")])],1)],1)},o=[],a={name:"ScheamProperties",props:{title:{type:String,default:"编辑"},value:{type:Boolean,required:!0,default:!1},useDefault:{type:Boolean,default:!0},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},rootNode:{type:Object,default:function(){return{}}},schemas:{type:Object,default:function(){return{}}},properties:[String,Object],variables:{type:Function,default:function(){return{}}},model:{type:Object,default:function(){return{}}},oneGroupIgnore:{type:Boolean,default:!1}},data:function(){return{timeKey:null,modalVisible:!1,propertiesModel:{}}},watch:{value:function(){this.modalVisible!=this.value&&(this.modalVisible=this.value)},modalVisible:function(){this.modalVisible!=this.value&&(this.timeKey=Date.now(),this.$emit("input",this.modalVisible))},model:{handler:function(){this.propertiesModel=_.cloneDeep(this.model)},immediate:!0,deep:!0}},methods:{propertiesFun:function(){return this.properties},handleModalOk:function(){this.$emit("on-ok",_.cloneDeep(this.propertiesModel)),this.modalVisible=!1},handleModalCancel:function(){this.propertiesModel=_.cloneDeep(this.model),this.$emit("on-cancel"),this.modalVisible=!1}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["a"]=s.exports},6622:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("Button",{staticClass:"mt-sm",attrs:{long:"",type:"primary",disabled:e.$attrs.disabled},on:{click:e.handleAdd}},[e._v(e._s(e.title))]),t("IvModal",{attrs:{title:e.title,"class-name":"le-vertical-center-modal",width:"700","mask-closable":!1},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[t("transition",{attrs:{name:"fade",duration:500}},[e.modalVisible?t("div",[t("div",[t("Button",{staticClass:"ivu-mr-8",attrs:{type:"primary"},on:{click:e.appendRoot}},[e._v("增加一级菜单")]),t("MonacoAttrEdit",{staticStyle:{display:"inline-block"},attrs:{title:"编辑菜单json",value:JSON.stringify(e.options),language:"json"},on:{"on-change":e.handleChangeJson}})],1),t("Tree",{key:e.timeKey1,staticClass:"demo-tree-render",attrs:{data:e.options,render:e.renderContent}})],1):e._e()]),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("Button",{on:{click:e.handleModalCancel}},[e._v("取消")]),t("Button",{attrs:{type:"primary"},on:{click:e.handleModalOk}},[e._v("确定")])],1)],1),t("ScheamPropertiesModal",{attrs:{model:e.editParam,title:e.propertiesTitle,properties:e.properties,"use-default":!0,node:e.node,service:e.service,"one-group-ignore":!1},on:{"on-ok":e.handlePropsModalOk},model:{value:e.modalPropsVisible,callback:function(t){e.modalPropsVisible=t},expression:"modalPropsVisible"}})],1)},o=[],a=i("67bb"),r=a["a"],l=(i("94a3"),i("2877")),s=Object(l["a"])(r,n,o,!1,null,"7d0b650e",null);t["default"]=s.exports},"67bb":function(module,__webpack_exports__,__webpack_require__){"use strict";var _MonacoAttrEdit__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("4beb"),_ScheamPropertiesModal_vue__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("6514"),lodash__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("2ef0"),lodash__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,i=t.hasOwnProperty,n=Object.defineProperty||function(e,t,i){e[t]=i.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",r=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(S){s=function(e,t,i){return e[t]=i}}function c(e,t,i,o){var a=t&&t.prototype instanceof p?t:p,r=Object.create(a.prototype),l=new V(o||[]);return n(r,"_invoke",{value:w(e,i,l)}),r}function u(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(S){return{type:"throw",arg:S}}}e.wrap=c;var d={};function p(){}function h(){}function m(){}var f={};s(f,a,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(C([])));b&&b!==t&&i.call(b,a)&&(f=b);var g=m.prototype=p.prototype=Object.create(f);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function o(n,a,r,l){var s=u(e[n],e,a);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,r,l)}),(function(e){o("throw",e,r,l)})):t.resolve(d).then((function(e){c.value=e,r(c)}),(function(e){return o("throw",e,r,l)}))}l(s.arg)}var a;n(this,"_invoke",{value:function(e,i){function n(){return new t((function(t,n){o(e,i,t,n)}))}return a=a?a.then(n,n):n()}})}function w(e,t,i){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(i.method=o,i.arg=a;;){var r=i.delegate;if(r){var l=k(r,i);if(l){if(l===d)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var s=u(e,t,i);if("normal"===s.type){if(n=i.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(n="completed",i.method="throw",i.arg=s.arg)}}}function k(e,t){var i=t.method,n=e.iterator[i];if(void 0===n)return t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),d;var o=u(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e||""===e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return h.prototype=m,n(g,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:h,configurable:!0}),h.displayName=s(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,l,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(_.prototype),s(_.prototype,r,(function(){return this})),e.AsyncIterator=_,e.async=function(t,i,n,o,a){void 0===a&&(a=Promise);var r=new _(c(t,i,n,o),a);return e.isGeneratorFunction(i)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},y(g),s(g,l,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),i=[];for(var n in t)i.push(n);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,V.prototype={constructor:V,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(i,n){return r.type="throw",r.arg=e,t.next=i,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],r=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=e,r.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),O(i),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var n=i.completion;if("throw"===n.type){var o=n.arg;O(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:C(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),d}},e}function asyncGeneratorStep(e,t,i,n,o,a,r){try{var l=e[a](r),s=l.value}catch(c){return void i(c)}l.done?t(s):Promise.resolve(s).then(n,o)}function _asyncToGenerator(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var a=e.apply(t,i);function r(e){asyncGeneratorStep(a,n,o,r,l,"next",e)}function l(e){asyncGeneratorStep(a,n,o,r,l,"throw",e)}r(void 0)}))}}__webpack_exports__["a"]={name:"MenuTreeAttrEdit",components:{MonacoAttrEdit:_MonacoAttrEdit__WEBPACK_IMPORTED_MODULE_0__["default"],ScheamPropertiesModal:_ScheamPropertiesModal_vue__WEBPACK_IMPORTED_MODULE_1__["a"]},model:{event:"on-change"},props:{value:{type:[Array,String],required:!0,default:function(){return[]}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{options:[],buttonProps:{type:"default",size:"small"},modalVisible:!1,modalPropsVisible:!1,timeKey:null,timeKey1:null,editParam:{},isRootAdd:!0}},computed:{propertiesTitle:function(){return this.isRootAdd?"新增一级菜单属性":"编辑属性"},title:function(){var e,t,i;return(null==(e=this.propSchema)||null==(t=e.inputType)||null==(i=t.props)?void 0:i.title)||"编辑静态菜单"},properties:function(){var e=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["cloneDeep"])(this.propSchema.properties);for(var t in e)"children"!==t&&"group"!==t||(e[t].private=!0);return e},fields:function(){return this.propSchema.inputType.props&&this.propSchema.inputType.props.fields?this.propSchema.inputType.props.fields:{title:"title",value:"value"}}},watch:{modalPropsVisible:function(){this.modalPropsVisible?this.timeKey=Date.now():this.editParam={}}},mounted:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){var i,n;return _regeneratorRuntime().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=function(e){var t=_.isArray(e)?e:[];return t.map((function(e){return e.children&&n(e.children),e._uniqueId=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["uniqueId"])("id_"),e}))},i=e.service.getTemp("ivoptionsattrbak-"+e.node.designer.id),i?(e.options=[].concat(n(i)),e.$emit("on-change",e.options)):(e.options=[].concat(n(e.value)),e.saveDefaultValue());case 3:case"end":return t.stop()}}),t)})))()},methods:{saveDefaultValue:function(){this.service.setTemp("ivoptionsattrbak-"+this.node.designer.id,this.options)},handleAdd:function(){this.modalVisible=!0},renderContent:function(e,t){var i=this,n=t.root,o=t.node,a=t.data;return e("span",{style:{display:"inline-block",width:"100%"}},[e("span",[e("Icon",{props:{type:a.icon},style:{marginRight:"8px"}}),e("div",{style:{display:"inline-block"}},[e("Input",{props:{value:a[this.fields.title]},on:{input:function(e){i.handleChangeInput(a,e)}}})])]),e("span",{style:{display:"inline-block",float:"right",marginRight:"32px"}},[e("Button",{props:Object.assign({},this.buttonProps,{icon:"md-add"}),style:{marginRight:"8px"},on:{click:function(){i.append(a)}}}),e("Button",{props:Object.assign({},this.buttonProps,{icon:"md-remove"}),style:{marginRight:"8px"},on:{click:function(){i.remove(n,o,a)}}}),e("Button",{props:Object.assign({},this.buttonProps,{icon:"md-create"}),on:{click:function(){i.edit(n,o,a)}}})])])},append:function(e){var t,i=e.children||[],n=e[this.fields.title];e.expand||(e.expand=!0),i.push((t={},t[this.fields.title]=n+"-"+(i.length+1),t.icon=e.icon||"",t.expand=!0,t._uniqueId=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["uniqueId"])("id_"),t.name=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["uniqueId"])("name_"),t.value=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["uniqueId"])("value_"),t.selected=!1,t)),this.$set(e,"children",i)},appendRoot:function(){var e;this.isRootAdd=!0;var t="一级菜单"+Object(lodash__WEBPACK_IMPORTED_MODULE_2__["uniqueId"])(),i=(e={},e[this.fields.title]=t,e.icon="",e.expand=!0,e._uniqueId=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["uniqueId"])("id_"),e.name=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["uniqueId"])("name_"),e.value=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["uniqueId"])("value_"),e.selected=!1,e);this.editParam=Object.assign({},i),this.modalPropsVisible=!0},remove:function(e,t,i){var n=e.find((function(e){return e===t})).parent;if(n||0===n){var o=e.find((function(e){return e.nodeKey===n})).node,a=o.children.indexOf(i);o.children.splice(a,1),o.children&&0==o.children.length&&delete o.children}else{var r=this.options.indexOf(i);this.options.splice(r,1)}},edit:function(e,t,i){this.isRootAdd=!1,this.editParam=Object.assign({},i),this.modalPropsVisible=!0},handleModalCancel:function(){this.modalVisible=!1},handleModalOk:function(){this.$emit("on-change",[].concat(this.options)),this.saveDefaultValue(),this.modalVisible=!1},handleChangeJson:function handleChangeJson(val){var data=eval(val);this.options=[].concat(data)},handlePropsModalCancel:function(){this.modalPropsVisible=!1},handlePropsModalOk:function(e){var t=Object(lodash__WEBPACK_IMPORTED_MODULE_2__["cloneDeep"])(e);function i(e){for(var n=0,o=e.length;n<o;n++){if(e[n]._uniqueId==t._uniqueId){e[n]=Object.assign({},t);break}e[n].children&&e[n].children.length>0&&(e[n].children=i(e[n].children))}return e}this.timeKey1=Date.now(),this.modalPropsVisible=!1,this.isRootAdd?this.options.push(t):this.options=[].concat(i(this.options))},isValueExpr:function(e){return this.service.isValueExpr(e)},handleChangeInput:function(e,t){e[this.fields.title]=t}}}},"6bf2":function(e,t,i){},"725e":function(e,t,i){e.exports=i("6c6c")("./node_modules/@fly-vue/lcdp-designer/index.js")},"7fd4":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"leattr-custom-key"},[t("h6",[e._v("自定义字段")]),e._l(e.attributes,(function(i,n){return[i.private?e._e():t("div",{key:n,staticClass:"lcdp-editor-flex leattr-custom-key-item"},[t("div",{staticClass:"leattr-custom-key-label"},[t("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{content:n}},[e._v(e._s(i.title))])]),t("div",{staticClass:"lcdp-editor-flex-fill"},[t("SingleLineText",{attrs:{placeholder:n,disabled:e.$attrs.disabled},on:{"on-change":function(t){return e.onChange(n)}},model:{value:e.keyNames[n],callback:function(t){e.$set(e.keyNames,n,t)},expression:"keyNames[key]"}})],1)])]}))],2)},o=[],a={name:"KeyNameAttrEdit",inheritAttrs:!1,props:{value:{type:Object,default:function(){return{}}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{keyNames:Object.assign({},this.value)}},computed:{attributes:function(){return this.propSchema.properties}},methods:{onChange:function(e){var t=Object.assign({},this.value||{});t[e]=this.keyNames[e],this.$emit("input",t)}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},"843a":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("DatePicker",{attrs:{type:"date",disabled:e.$attrs.disabled,"start-date":e.model,placement:"bottom-end",placeholder:"请选择日期"},on:{"on-change":e.handleChange}})},o=[],a={name:"DatePickerAttrEdit",model:{event:"on-change"},props:{value:Date},data:function(){return{model:this.value}},computed:{},methods:{handleChange:function(e){this.$emit("on-change",new Date(e))}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},"85c5":function(e,t,i){},"8ec4":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("Input",{attrs:{disabled:e.$attrs.disabled},on:{"on-change":e.onValueChange},model:{value:e.size,callback:function(t){e.size=t},expression:"size"}},[t("Select",{staticStyle:{width:"55px"},attrs:{slot:"append",disabled:e.$attrs.disabled},on:{"on-change":e.onValueChange},slot:"append",model:{value:e.unit,callback:function(t){e.unit=t},expression:"unit"}},[e._l(e.options,(function(i){return[t("Option",{key:i.value,attrs:{value:i.value}},[e._v(e._s(i.label))])]}))],2)],1)},o=[],a={props:{value:{type:Number,default:null}},data:function(){return{options:[{value:"KB",label:"KB"},{value:"MB",label:"MB"},{value:"GB",label:"GB"},{value:"TB",label:"TB"}],size:"",unit:"KB"}},watch:{value:{handler:function(e){var t=e;!Number.isInteger(t/1024)||e<1024?(this.size=t,this.unit="KB"):(t/=1024,!Number.isInteger(t/1024)||t<1024?(this.size=t,this.unit="MB"):(t/=1024,!Number.isInteger(t/1024)||t<1024?(this.size=t,this.unit="GB"):(t/=1024,this.size=t,this.unit="TB")))},immediate:!0,deep:!0}},methods:{onValueChange:function(){var e={KB:1,MB:1024,GB:1048576,TB:1073741824},t=this.size?this.size*e[this.unit]:null;this.$emit("input",t),this.$emit("change",t)}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},"94a3":function(e,t,i){"use strict";i("e9a7")},"94d2":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("AttrSelectAttrEdit",e._g(e._b({attrs:{type:"IvWizard",attr:"id"}},"AttrSelectAttrEdit",e.$attrs,!1),e.$listeners))},o=[],a=i("2877"),r={},l=Object(a["a"])(r,n,o,!1,null,null,null);t["default"]=l.exports},a3ed:function(e,t,i){},aafd:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{key:e.leattrkey,staticClass:"iview-optionattredit"},[t("ul",e._l(e.inputVal,(function(i,n){return t("li",{directives:[{name:"dragging",rawName:"v-dragging",value:{item:i,list:e.inputVal,group:e.groupId,comb:e.groupId},expression:"{ item: item, list: inputVal, group: groupId, comb: groupId }"}],key:n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled},attrs:{draggable:1!=n},on:{dragend:e.refreshNode}},[t("Icon",{staticClass:"dragicon",attrs:{type:"md-move"}}),t("span",{staticClass:"span1"},[e._v(e._s(i["label"]))]),t("Icon",{attrs:{type:"md-create"},on:{click:function(t){return e.handleEdit(i,n)}}}),"required"!=i.value?t("Icon",{attrs:{type:"md-trash"},on:{click:function(t){return e.handleRemove(i,n)}}}):e._e(),"required"===i.value?t("Checkbox",{staticClass:"mr-0",staticStyle:{"margin-left":"4px"},on:{"on-change":function(t){return e.handleRequiredChange(t,i)}},model:{value:i.required,callback:function(t){e.$set(i,"required",t)},expression:"item.required"}}):e._e()],1)})),0),t("Button",{staticClass:"mt-sm",attrs:{disabled:e.$attrs.disabled,long:"",type:"primary"},on:{click:e.handleAdd}},[e._v("新增")]),t("ScheamPropertiesModal",{attrs:{model:e.editParam,title:e.title,properties:e.popProperties,"use-default":!0,node:e.node,"one-group-ignore":!0,service:e.service},on:{"on-ok":e.handleModalOk,"on-cancel":e.handleModelCancel},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}})],1)},o=[],a=i("2ef0"),r=i("6514"),l=[{label:"必填",type:"required",value:"required",message:"此项为必填项",required:!1}],s={name:"RulesAttrEditSchema",components:{ScheamPropertiesModal:r["a"]},inheritAttrs:!1,props:{value:{type:Object,default:function(){return{}}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:[Object],default:function(){return{}}}},data:function(){return{leattrkey:(new Date).getTime(),groupId:"rulesAttr"+this.leattrkey,inputVal:[],activeIndex:null,editParam:{},modalVisible:!1,isAdd:!1,popProperties:this.propSchema.properties}},computed:{title:function(){return this.isAdd?"新增":"编辑"}},watch:{value:{handler:function(){this.inputVal=this.value.value||Object(a["cloneDeep"])(l)},deep:!0}},mounted:function(){var e=this.service.getTemp("ivRulesattrbak-"+this.node.designer.id);e?(this.inputVal=e,this.emitInput()):(this.inputVal=this.value.value||Object(a["cloneDeep"])(l),this.saveDefaultValue())},methods:{saveDefaultValue:function(){this.service.setTemp("ivRulesattrbak-"+this.node.designer.id,this.inputVal)},handleRequiredChange:function(e,t){t.required=e,this.emitInput()},setEnums:function(){var e=_.find(this.value.value,(function(e){return"required"===e.type}));if(e)for(var t=0;t<this.popProperties.value.enums.length;t++)if("required"===this.popProperties.value.enums[t].value)return void(this.popProperties.value.enums[t].disabled=!0)},handleAdd:function(){this.setEnums(),this.isAdd=!0,this.activeIndex=null,this.editParam={},this.modalVisible=!0,this.popProperties.value.private=!1},handleRemove:function(e,t){this.inputVal.splice(t,1),this.emitInput(),this.saveDefaultValue()},handleEdit:function(e,t){this.isAdd=!1,this.setEnums(),"required"===e.value?this.popProperties.value.private=!0:this.popProperties.value.private=!1,this.activeIndex=t,this.editParam=e,this.modalVisible=!0},handleModalOk:function(e){this.popProperties.value.private=!1,this.isAdd?(this.isAdd=!this.isAdd,this.inputVal.push(e)):this.$set(this.inputVal,this.activeIndex,Object.assign({},Object(a["pickBy"])(e,a["identity"]))),this.emitInput(),this.saveDefaultValue(),this.handleModelCancel()},emitInput:function(){this.$emit("input",{type:"ValidateRules",processor:"iview_processor",value:this.inputVal})},handleModelCancel:function(){var e=this.service.getTemp("ivRuleType-"+this.node.designer.id),t=this.service.getTemp("ivRuleTypePattern-"+this.node.designer.id);e&&this.service.setTemp("ivRuleType-"+this.node.designer.id,void 0),t&&this.service.setTemp("ivRuleTypePattern-"+this.node.designer.id,void 0)},refreshNode:function(){this.$emit("on-change",this.inputVal)}}},c=s,u=i("2877"),d=Object(u["a"])(c,n,o,!1,null,null,null);t["default"]=d.exports},ad06:function(e,t,i){},b188:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("f825"),o=function(e,t,i,n){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function r(e){try{s(n.next(e))}catch(t){a(t)}}function l(e){try{s(n["throw"](e))}catch(t){a(t)}}function s(e){e.done?i(e.value):o(e.value).then(r,l)}s((n=n.apply(e,t||[])).next())}))},a=function(e,t){var i,n,o,a,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(e){return function(t){return s([e,t])}}function s(a){if(i)throw new TypeError("Generator is already executing.");while(r)try{if(i=1,n&&(o=2&a[0]?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,n=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){r=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){r.label=a[1];break}if(6===a[0]&&r.label<o[1]){r.label=o[1],o=a;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(a);break}o[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}catch(l){a=[6,l],n=0}finally{i=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};function r(e){var t=e.service,i=e.node,r=e.propSchema,l=e.val;return o(this,void 0,void 0,(function(){var e,o,s,c;return a(this,(function(a){switch(a.label){case 0:return e=t.$designer.config.repository.optionSetService,r.inputOpt&&r.inputOpt.lazy?[3,3]:l?(o=e.find(l),o?(s=o.items,c=t.getSlotNode(i,"content"),c?[3,2]:(t.turnOnSlot(i,"content"),[4,t.refreshContent()])):(n["Message"]["error"]({content:"获取数据字典失败"}),[2])):[3,3];case 1:a.sent(),c=t.getSlotNode(i,"content"),a.label=2;case 2:c.children=[{type:"IvText",props:{text:"${utils.optionSet.getTitleByValue(tableCell.column.dataDictionary, tableCell.row[tableCell.column.key])}",maxLine:0},designer:{demo:{"props.text":s.length?s[0].title:""}}}],a.label=3;case 3:return[2]}}))}))}},bcc0:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("Select",{attrs:{multiple:"",disabled:e.$attrs.disabled,clearable:""},on:{"on-select":e.handleChange},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}},e._l(e.queryData,(function(i){return t("Option",{key:i.value,attrs:{value:i.value}},[e._v(" "+e._s(i.title)+" ")])})),1)},o=[],a={name:"DataDictionaryDisabledAttrEdit",inject:["designerService"],model:{event:"on-change"},props:{value:{type:[Array,String],default:function(){return[]}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{inputVal:this.value,queryData:[],timer:null,selectVal:[]}},computed:{dataDictionaryName:function(){var e,t,i;return(null==(e=this.propSchema)||null==(t=e.inputType)||null==(i=t.props)?void 0:i.dataDictionaryName)||"dataDictionary"}},destroyed:function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},mounted:function(){this.initQueryData(),this.inputVal||(this.inputVal=[])},activated:function(){this.initQueryData()},methods:{initQueryData:function(){var e=_.get(this.designerService,"$designer.config.repository.optionSetService");e&&e.query&&this.node.props[this.dataDictionaryName]&&(this.queryData=e.find(this.node.props[this.dataDictionaryName]).items||[])},handleChange:function(e){var t=this,i=this.inputVal.indexOf(e.value);-1==i?this.inputVal.push(e.value):this.inputVal.splice(i,1),this.$emit("on-change",this.inputVal);var n=this.inputVal.map((function(e){return _.isNumber(e)?e:"'"+e+"'"}));this.timer=setTimeout((function(){t.node.props.data="${utils.optionSet.find('"+t.node.props[t.dataDictionaryName]+"').items.filter(i=>!["+n+"].includes(i.value))}",t.service.refreshContent(),t.service.refreshPanel()}),100)}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},bd41:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"iview-pagerattredit"},[t("lcdp-designer-properties",{key:e.timerKey,attrs:{properties:e.propertiesFun,"use-default":e.useDefault,node:e.node,"root-node":e.rootNode,schemas:e.schemas,"one-group-ignore":!0,service:e.service},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}})],1)},o=[],a=i("2ef0"),r=i.n(a),l={name:"PagerAttrEdit",model:{event:"on-change"},props:{value:{type:[Object,Array],required:!0,default:function(){return{}}},useDefault:{type:Boolean,default:!0},rootNode:{type:Object,default:function(){return{}}},schemas:{type:Object,default:function(){return{}}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{inputVal:{},timerKey:+new Date}},watch:{inputVal:{handler:function(e){var t=r.a.cloneDeep(e);t.pageSizeOpts&&"string"==typeof t.pageSizeOpts&&!this.service.isValueExpr(t.pageSizeOpts)&&(t.pageSizeOpts=t.pageSizeOpts.split(",")),this.$emit("on-change",t)},deep:!0}},mounted:function(){this.inputVal=this.value,this.inputVal.pageSizeOpts=this.value.pageSizeOpts&&r.a.isArray(this.value.pageSizeOpts)?this.value.pageSizeOpts.join():"",this.timerKey=+new Date},methods:{propertiesFun:function(){return this.propSchema.properties}}},s=l,c=i("2877"),u=Object(c["a"])(s,n,o,!1,null,null,null);t["default"]=u.exports},c022:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"iview-optionattredit"},[e._m(0),t("ul",e._l(e.inputVal,(function(i,n){return t("li",{directives:[{name:"dragging",rawName:"v-dragging",value:{item:i,list:e.inputVal,group:e.groupId,comb:e.groupId},expression:"{ item: item, list: inputVal, group: groupId, comb: groupId }"}],key:n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled},on:{dragend:e.refreshNode}},[t("Icon",{staticClass:"dragicon",attrs:{type:"md-move"}}),t("div",{staticClass:"span1",on:{click:function(e){e.stopPropagation()}}},[t("Input",{attrs:{draggable:"false",placeholder:"输入标题"},on:{"on-change":e.refreshInputNode},nativeOn:{mousedown:function(e){e.stopPropagation()}},model:{value:i.props.title,callback:function(t){e.$set(i.props,"title",t)},expression:"item.props.title"}})],1),t("div",{staticClass:"span1"},[t("Input",{attrs:{placeholder:"输入数据字段"},on:{"on-change":e.refreshInputNode},nativeOn:{mousedown:function(e){e.stopPropagation()}},model:{value:i.props.keyName,callback:function(t){e.$set(i.props,"keyName",t)},expression:"item.props.keyName"}})],1),t("Icon",{attrs:{type:"md-create",title:"编辑"},on:{click:function(t){return e.handleEdit(i)}}}),t("Icon",{attrs:{type:"md-trash",title:"删除"},on:{click:function(t){return e.handleRemove(i)}}})],1)})),0),t("div",{staticClass:"flex",class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled}},[t("Button",{staticClass:"flex-1 mr-sm px-0",attrs:{long:"",type:"primary"},on:{click:e.handleAdd}},[e._v("新增列")]),t("Button",{staticClass:"flex-1 mr-sm px-0",attrs:{disabled:!e.currentDs,ghost:"",long:"",type:"primary"},on:{click:e.showDsImport}},[e._v(" 选择列 ")]),t("TableColAttrEditMockData",{staticClass:"flex-1",attrs:{service:e.service,node:e.node,columns:e.inputVal}},[e._v("模拟数据")])],1),t("IvModal",{attrs:{"class-name":"table-col-modal",title:"选择列"},on:{"on-ok":e.doImportDsFields},model:{value:e.isShowDsImport,callback:function(t){e.isShowDsImport=t},expression:"isShowDsImport"}},[e.isShowDsImport?t("div",{staticStyle:{"max-height":"400px",overflow:"auto"}},[t("div",{staticClass:"grid grid-cols-12 p-1"},[t("span",{staticClass:"col-span-1 text-right p-1"},[t("Checkbox",{on:{"on-change":e.onSelectAllDsFields},model:{value:e.selectAllDsFields,callback:function(t){e.selectAllDsFields=t},expression:"selectAllDsFields"}},[t("span")])],1),t("span",{staticClass:"col-span-6 p-1"},[e._v("标题")]),t("span",{staticClass:"col-span-5 p-1"},[e._v("字段")])]),t("CheckboxGroup",{model:{value:e.selectedFields,callback:function(t){e.selectedFields=t},expression:"selectedFields"}},[e._l(e.dsFields,(function(i,n){return[t("div",{key:n,staticClass:"grid grid-cols-12 p-1"},[t("div",{staticClass:"col-span-1 text-right p-1"},[t("Checkbox",{attrs:{label:i}},[t("span")])],1),t("Input",{staticClass:"col-span-6 pr-4",attrs:{placeholder:"输入标题"},model:{value:i.title,callback:function(t){e.$set(i,"title",t)},expression:"item.title"}}),t("Input",{staticClass:"col-span-5 pr-4",attrs:{disabled:"",placeholder:"输入数据字段"},model:{value:i.key,callback:function(t){e.$set(i,"key",t)},expression:"item.key"}})],1)]}))],2),t("div",{staticClass:"grid grid-cols-12 p-1"},[t("div",{staticClass:"col-span-1 text-right p-1"},[t("Checkbox",{model:{value:e.isAddOperationCol,callback:function(t){e.isAddOperationCol=t},expression:"isAddOperationCol"}},[t("span")])],1),t("Input",{staticClass:"col-span-6 pr-4",attrs:{placeholder:"输入标题"},model:{value:e.operationColTitle,callback:function(t){e.operationColTitle=t},expression:"operationColTitle"}}),t("Input",{staticClass:"col-span-5 pr-4",attrs:{placeholder:"输入数据字段"},model:{value:e.operationColKey,callback:function(t){e.operationColKey=t},expression:"operationColKey"}})],1)],1):e._e()]),t("ScheamPropertiesModal",{attrs:{model:e.editParam.props,title:"编辑列",properties:e.propSchema.properties,"use-default":!0,node:e.editParam,service:e.service},on:{"on-ok":e.handleModalOk},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}})],1)},o=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"lcdp-editor-flex lcdp-editor-spaceflex lcdp-editor-flex-align lemb-8"},[t("div",{staticStyle:{width:"24px"}}),t("div",{staticClass:"text-center",staticStyle:{width:"96px"}},[e._v("标题")]),t("div",{staticClass:"text-center",staticStyle:{width:"104px"}},[e._v("数据字段")])])}],a=i("2ef0"),r=i.n(a),l=i("6514"),s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("Button",{staticClass:"px-0",attrs:{long:""},on:{click:e.showModal}},[e._t("default")],2),t("Modal",{staticClass:"TableColAttrEditMockData",attrs:{title:"模拟数据",width:80},on:{"on-ok":e.onOk},model:{value:e.isShowModal,callback:function(t){e.isShowModal=t},expression:"isShowModal"}},[t("table",{staticClass:"w-full ivu-table"},[t("thead",[t("tr",[e._l(e.columns,(function(i,n){return[e.isShow(i)?t("th",{key:n,staticClass:"p-2"},[e._v(e._s(i.props.title))]):e._e()]})),t("th")],2)]),t("tbody",[e._l(e.data,(function(i,n){return[t("tr",{key:n},[e._l(e.columns,(function(n){return[e.isShow(n)?t("td",{key:n.props.keyName,staticClass:"p-2"},[t("Input",{model:{value:i[n.props.keyName],callback:function(t){e.$set(i,n.props.keyName,t)},expression:"item[col.props.keyName]"}})],1):e._e()]})),t("td",[t("Button",{attrs:{icon:"md-copy",type:"text",size:"small",title:"复制当前行"},on:{click:function(t){e.data.splice(n,0,e.clone(i))}}}),t("Button",{staticClass:"ml-1",attrs:{icon:"md-trash",type:"text",size:"small",title:"删除"},on:{click:function(t){return e.data.splice(n,1)}}})],1)],2)]}))],2)]),t("div",{staticClass:"flex flex-row",attrs:{slot:"footer"},slot:"footer"},[t("Button",{attrs:{icon:"md-add"},on:{click:function(t){return e.data.push({})}}},[e._v("新增")]),t("div",{staticClass:"flex-grow"}),t("Button",{attrs:{type:"primary"},on:{click:e.onOk}},[e._v("确定")])],1)])],1)},c=[],u=i("a026"),d=Object(u["defineComponent"])({props:{service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},columns:{type:Array,required:!0}},setup:function(e){var t=Object(u["ref"])(!1),i=Object(u["toRefs"])(e).node,n=Object(u["ref"])([]);function o(){var e=i.value.designer.demo&&i.value.designer.demo["props.data"];e&&(n.value="string"===typeof e?JSON.parse(e):e),n.value.length||n.value.push({}),t.value=!0}function r(){i.value.designer.demo||(i.value.designer.demo={}),i.value.designer.demo["props.data"]=JSON.stringify(n.value),t.value=!1}function l(e){return"操作"!==e.props.title&&"action"!==e.props.keyName}return{isShowModal:t,isShow:l,showModal:o,clone:a["clone"],data:n,onOk:r}}}),p=d,h=(i("4773"),i("2877")),m=Object(h["a"])(p,s,c,!1,null,null,null),f=m.exports,v=i("b188");function b(e,t){var i="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=g(e))||t&&e&&"number"===typeof e.length){i&&(e=i);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){if(e){if("string"===typeof e)return y(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function _(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_=function(){return e};var e={},t=Object.prototype,i=t.hasOwnProperty,n=Object.defineProperty||function(e,t,i){e[t]=i.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",r=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(j){s=function(e,t,i){return e[t]=i}}function c(e,t,i,o){var a=t&&t.prototype instanceof p?t:p,r=Object.create(a.prototype),l=new C(o||[]);return n(r,"_invoke",{value:k(e,i,l)}),r}function u(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(j){return{type:"throw",arg:j}}}e.wrap=c;var d={};function p(){}function h(){}function m(){}var f={};s(f,a,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(S([])));b&&b!==t&&i.call(b,a)&&(f=b);var g=m.prototype=p.prototype=Object.create(f);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,a,r,l){var s=u(e[n],e,a);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,r,l)}),(function(e){o("throw",e,r,l)})):t.resolve(d).then((function(e){c.value=e,r(c)}),(function(e){return o("throw",e,r,l)}))}l(s.arg)}var a;n(this,"_invoke",{value:function(e,i){function n(){return new t((function(t,n){o(e,i,t,n)}))}return a=a?a.then(n,n):n()}})}function k(e,t,i){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(i.method=o,i.arg=a;;){var r=i.delegate;if(r){var l=x(r,i);if(l){if(l===d)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var s=u(e,t,i);if("normal"===s.type){if(n=i.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(n="completed",i.method="throw",i.arg=s.arg)}}}function x(e,t){var i=t.method,n=e.iterator[i];if(void 0===n)return t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),d;var o=u(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function V(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function S(e){if(e||""===e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return h.prototype=m,n(g,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:h,configurable:!0}),h.displayName=s(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,l,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(w.prototype),s(w.prototype,r,(function(){return this})),e.AsyncIterator=w,e.async=function(t,i,n,o,a){void 0===a&&(a=Promise);var r=new w(c(t,i,n,o),a);return e.isGeneratorFunction(i)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},y(g),s(g,l,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),i=[];for(var n in t)i.push(n);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(V),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(i,n){return r.type="throw",r.arg=e,t.next=i,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],r=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=e,r.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),V(i),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var n=i.completion;if("throw"===n.type){var o=n.arg;V(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:S(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),d}},e}function w(e,t,i,n,o,a,r){try{var l=e[a](r),s=l.value}catch(c){return void i(c)}l.done?t(s):Promise.resolve(s).then(n,o)}function k(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var a=e.apply(t,i);function r(e){w(a,n,o,r,l,"next",e)}function l(e){w(a,n,o,r,l,"throw",e)}r(void 0)}))}}var x={name:"TableColAttrEdit",components:{TableColAttrEditMockData:f,ScheamPropertiesModal:l["a"]},model:{event:"on-change"},props:{value:{type:[String,Number,Object,Array],default:""},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{groupId:"tableCol"+(new Date).getTime(),timerId:null,inputVal:[],editParam:{},modalVisible:!1,isShowDsImport:!1,dsFields:[],selectedFields:[],selectAllDsFields:!1,optionSet:this.service.$designer.config.repository.optionSetService,isAddOperationCol:!0,operationColTitle:"操作",operationColKey:"operations"}},computed:{currentDs:function(){var e,t;return null==(e=this.node)||null==(t=e.props)?void 0:t.ds},dsList:function(){var e,t,i;return(null==(e=this.service)||null==(t=e.$designer)||null==(i=t.rootNode)?void 0:i.dataSources)||[]}},watch:{"node.children":function(){this.initDefaultSlot()}},mounted:function(){this.initDefaultSlot()},methods:{initDefaultSlot:function(){var e=[],t=r.a.cloneDeep(this.node);r.a.map(t.children,(function(t){"IvTableGridColumn"==t.type&&e.push(t)})),this.inputVal=e},handleAdd:function(){var e=r.a.uniqueId();this.service.appendChild(this.node,{designer:{movein:!1},type:"IvTableGridColumn",props:{show:!0,title:"列标题"+e,keyName:"name_"+e}}),this.service.refreshContent()},handleRemove:function(e){r.a.remove(this.node.children,(function(t){if("IvTableGridColumn"==t["type"])return t.designer.id==e.designer.id})),this.service.refresh()},handleEdit:function(e){this.editParam=r.a.cloneDeep(e),this.modalVisible=!0},handleModalOk:function(e){var t=this;return k(_().mark((function i(){var n,o;return _().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t.editParam.designer.id,o=r.a.findIndex(t.node.children,(function(e){return e.designer.id==n})),t.editParam.props=e,t.node.children[o]=t.editParam,!e.dataDictionary){i.next=7;break}return i.next=7,Object(v["a"])({service:t.service,node:t.editParam,propSchema:t.propSchema,val:e.dataDictionary});case 7:t.service.refresh();case 8:case"end":return i.stop()}}),i)})))()},showDsImport:function(){var e=this.currentDs;0===e.indexOf("${")&&(e=e.replace("${","")),e.indexOf("}")===e.length-1&&(e=e.replace("}",""));var t=this.dsList.find((function(t){return t.id===e}));if(this.dsFields=[],null!=t&&t.schema)for(var i in t.schema){var n,o;this.dsFields.push({title:(null==(n=t.schema[i])?void 0:n.title)||(null==(o=t.schema[i])?void 0:o.description)||i,key:i})}this.selectedFields=[],this.selectAllDsFields=!1,this.isShowDsImport=!0},doImportDsFields:function(){if(this.selectedFields.length){r.a.remove(this.node.children,(function(e){return"IvTableGridColumn"===e.type}));for(var e,t=b(this.selectedFields);!(e=t()).done;){var i=e.value;this.service.appendChild(this.node,{designer:{movein:!1},type:"IvTableGridColumn",props:{show:!0,title:i.title,keyName:i.key,dataTimeType:this.propSchema.properties["dataTimeType"].default}})}this.isAddOperationCol&&this.service.appendChild(this.node,{designer:{movein:!1},type:"IvTableGridColumn",props:{show:!0,title:this.operationColTitle,keyName:this.operationColKey,dataTimeType:this.propSchema.properties["dataTimeType"].default},slots:{content:{children:[{type:"IvLink",props:{tag:"a",text:"编辑",linkColor:!0,disabled:!1,replace:!1},class:"px-sm"},{type:"IvLink",props:{tag:"a",text:"删除",linkColor:!0,disabled:!1,replace:!1},class:"px-sm"}],context:{name:"tableCell"}}}}),this.service.refresh()}},onSelectAllDsFields:function(e){var t=this;this.selectedFields=[],this.isAddOperationCol=!1,e&&(this.dsFields.forEach((function(e){return t.selectedFields.push(e)})),this.isAddOperationCol=!0)},refreshInputNode:Object(a["debounce"])((function(){this.refreshNode()}),500),refreshNode:function(){if(this.inputVal.length>0){var e=r.a.cloneDeep(this.node.children);r.a.remove(e,(function(e){return"IvTableGridColumn"==e.type})),e=e.concat(this.inputVal),this.node.children=e,this.service.refresh()}}}},O=x,V=Object(h["a"])(O,n,o,!1,null,null,null);t["default"]=V.exports},c064:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"iview-optionattredit"},[t("ul",e._l(e.inputVal,(function(i,n){var o,a;return t("li",{directives:[{name:"dragging",rawName:"v-dragging",value:{item:i,list:e.inputVal,group:e.groupId,comb:e.groupId},expression:"{ item: item, list: inputVal, group: groupId, comb: groupId }"}],key:n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled},attrs:{draggable:"true"},on:{dragend:e.refreshNode}},[t("Icon",{staticClass:"dragicon",attrs:{type:"md-move"}}),t("span",{staticClass:"span1"},[e._v(e._s(i.props[(null==(o=e.propSchema.inputType)||null==(a=o.props)?void 0:a.label)||"label"]))]),t("Icon",{attrs:{type:"md-create"},on:{click:function(t){return e.handleEdit(i)}}}),t("Icon",{attrs:{type:"md-trash"},on:{click:function(t){return e.handleRemove(i)}}})],1)})),0),t("Button",{staticClass:"mt-sm",attrs:{disabled:e.$attrs.disabled,long:"",type:"primary"},on:{click:e.handleAdd}},[e._v("新增")]),t("ScheamPropertiesModal",{attrs:{model:e.editParam.props,title:e.title,properties:e.propSchema.properties,"use-default":!0,node:e.node,service:e.service},on:{"on-ok":e.handleModalOk},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}})],1)},o=[],a=i("6514"),r={name:"ScheamPropertiesAttrEdit",components:{ScheamPropertiesModal:a["a"]},model:{event:"on-change"},props:{value:{type:Array,default:function(){return[]}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{groupId:"tab"+(new Date).getTime(),inputVal:[],editParam:{},modalVisible:!1,isAdd:!1}},computed:{title:function(){return this.isAdd?"新增":"编辑"},typeName:function(){var e,t;return null==(e=this.propSchema.inputType)||null==(t=e.props)?void 0:t.type}},watch:{"node.children":function(){this.initDefaultSlot()}},created:function(){this.initDefaultSlot()},methods:{initDefaultSlot:function(){var e=this,t=[];_.map(this.node.children,(function(i){i.type==e.typeName&&t.push(i)})),this.inputVal=t},handleAdd:function(){this.isAdd=!0,this.editParam.props={},this.modalVisible=!0},handleRemove:function(e){var t=this;_.remove(this.node.children,(function(i){if(i["type"]==t.typeName)return i.designer.id==e.designer.id})),this.service.refreshContent()},handleEdit:function(e){this.isAdd=!1,this.editParam=Object.assign({},e),this.modalVisible=!0},handleModalOk:function(e){var t=this.typeName;if(this.isAdd)this.service.appendChild(this.node,{type:t,props:_.assign(e,{tab:this.node.props.name})}),this.isAdd=!this.isAdd;else{var i=this.editParam.designer.id,n=_.findIndex(this.node.children,(function(e){return e.designer.id==i}));this.editParam.props=e,this.node.children[n]=_.cloneDeep(this.editParam)}_.forEach(this.node.children,(function(e,i){(null==e?void 0:e.type)==t&&(e.props=_.assign({},e.props,{index:i+1}))})),this.service.refresh()},refreshNode:function(){var e=this;if(this.inputVal.length>0){var t=_.cloneDeep(this.node.children);_.remove(t,(function(t){return t.type==e.typeName})),this.inputVal.forEach((function(e,t){e.props.index=t+1})),t=t.concat(this.inputVal),this.node.children=t,this.service.refresh()}}}},l=r,s=i("2877"),c=Object(s["a"])(l,n,o,!1,null,null,null);t["default"]=c.exports},c1d9:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"lcdp-editor-flex bin-color-picker items-center"},[t("ColorPicker",{ref:"colorPicker",staticClass:"color-picker",class:{empty:!e.color},attrs:{transfer:"",colors:e.colorArrDefault,editable:!1,disabled:e.$attrs.disabled,recommend:e.recommend,alpha:e.alpha},on:{"on-change":e.onColorChange},model:{value:e.color,callback:function(t){e.color=t},expression:"color"}}),t("i-input",{ref:"input",staticClass:"color-picker-input",attrs:{disabled:e.$attrs.disabled},on:{"on-change":e.onColorChange},model:{value:e.color,callback:function(t){e.color=t},expression:"color"}})],1)},o=[],a=i("18ed"),r={name:"ColorPickerAttrEdit",props:{value:{type:String,default:null},recommend:{type:Boolean,default:!0},alpha:{type:Boolean,default:!0}},data:function(){return{transferPop:null,colorArrDefault:a["a"].colorArrDefault,setColorArr:["border","divider","background","white"]}},computed:{color:{get:function(){return this.value||""},set:function(e){this.$emit("input",e)}}},methods:{onColorChange:function(){this.$emit("on-change",this.color)},handleClear:function(){this.$emit("input",""),this.$emit("on-change","")}}},l=r,s=(i("e35b"),i("2877")),c=Object(s["a"])(l,n,o,!1,null,"fb941d54",null);t["default"]=c.exports},c31a:function(e,t,i){"use strict";var n={schemas:{type:Object,required:!0},service:{type:Object,required:!0},node:{type:Object,required:!0}},o=function(){return o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};t["a"]=o(o({},n),{propSchema:{type:Object},model:{type:Object,required:!0},nodeModel:{type:Object}})},c7ae:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("Row",{staticClass:"lemb-12 ledesign-row",attrs:{gutter:12}},e._l(e.colData,(function(i,n){return t("Col",{key:n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled},attrs:{span:"6"}},[t("div",{staticClass:"ledesign-col",class:i.value==e.inputVal?" ledesign-on":"",on:{click:function(t){return e.handleChangeColItem(i.value)}}},[t("i",{class:i.icon})])])})),1),t("div",{staticClass:"lcdp-editor-flex lcdp-editor-spaceflex lcdp-editor-flex-align"},[t("div",{staticClass:"le-text-title-65",staticStyle:{width:"80px","font-size":"12px"}},[e._v("列比例")]),t("div",{staticClass:"lcdp-editor-flex-fill"},[t("Input",{attrs:{disabled:e.$attrs.disabled,placeholder:"请严格按照格式输入,每一行可用24格,支持多行"},on:{"on-change":e.handleChangeCol},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}})],1)])],1)},o=[],a=i("2ef0"),r={name:"ColSelectAttrEdit",model:{event:"on-change"},props:{value:{type:[String,Number,Object,Array],default:""},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{colData:[{icon:"ladp-viewicon ladp-viewicon-grid12",value:"24"},{icon:"ladp-viewicon ladp-viewicon-grid6-6",value:"12:12"},{icon:"ladp-viewicon ladp-viewicon-grid3-9",value:"6:18"},{icon:"ladp-viewicon ladp-viewicon-grid9-3",value:"18:6"},{icon:"ladp-viewicon ladp-viewicon-grid4-4-4",value:"8:8:8"},{icon:"ladp-viewicon ladp-viewicon-grid3-6-3",value:"6:12:6"},{icon:"ladp-viewicon ladp-viewicon-grid3-3-3-3",value:"6:6:6:6"},{icon:"ladp-viewicon ladp-viewicon-grid6-6-12",value:"12:12:24"},{icon:"ladp-viewicon ladp-viewicon-grid6-6-6-6",value:"12:12:12:12"}],inputVal:this.value}},methods:{handleChangeCol:Object(a["debounce"])((function(){this.changeNode()}),1e3),handleChangeColItem:function(e){this.inputVal=e,this.changeNode()},changeNode:function(){var e=this,t=this.inputVal.split(":");this.nodeBak=_.cloneDeep(this.node.children),this.nodeBak.length>t.length&&this.nodeBak.forEach((function(i,n){n>=t.length&&e.service.setTemp("ivrowcolbak-"+e.node.designer.id+"-"+n,i.children)})),this.node.children=[],t.forEach((function(t,i){"number"==typeof Number(t)&&e.service.appendChild(e.node,{type:"Col",designer:{move:!1,moveSibling:!0},props:{span:Number(t)},children:e.nodeBak[i]?e.nodeBak[i].children:e.service.getTemp("ivrowcolbak-"+e.node.designer.id+"-"+i)?e.service.getTemp("ivrowcolbak-"+e.node.designer.id+"-"+i):[]})})),this.service.refreshContent(),this.$emit("on-change",this.inputVal)}}},l=r,s=i("2877"),c=Object(s["a"])(l,n,o,!1,null,null,null);t["default"]=c.exports},c94f:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"lcdp-editor-flex icon-select-attr lcdp-editor-spaceflex lcdp-editor-flex-align w-full"},[t("Input",{staticClass:"bin-uieditor-flex-fill icon-select-attr__input",attrs:{clearable:"",disabled:e.disabled,placeholder:"请输入图标名称"},on:{"on-click":e.iconSelectOk,"on-blur":e.iconSelectOk,"on-clear":e.iconSelectOk},model:{value:e.selectIconName,callback:function(t){e.selectIconName=t},expression:"selectIconName"}}),t("Button",{staticClass:"icon-select-attr__icon",attrs:{title:"选择图标",disabled:e.disabled,icon:e.selectIconName||e.defaultIcon},on:{click:e.showIconSelect}}),t("IvModal",{attrs:{width:"800",title:"选图标","class-name":"iconselect-vertical-center-modal","ok-text":"确定","cancel-text":"取消"},on:{"on-ok":e.iconSelectOk,"on-cancel":e.iconSelectCancel},model:{value:e.iconSelectVisible,callback:function(t){e.iconSelectVisible=t},expression:"iconSelectVisible"}},[t("transition",{attrs:{name:"fade",duration:500}},[e.iconSelectVisible?t("div",[t("Row",[t("Col",{attrs:{span:"16",offset:"4"}},[t("Input",{attrs:{suffix:"ios-search",placeholder:"搜索名称……"},model:{value:e.searchName,callback:function(t){e.searchName=t},expression:"searchName"}})],1)],1),t("ul",{staticClass:"iconselect-list"},e._l(e.iconArray,(function(i,n){return t("li",{key:n,class:e.selectIconName==i?"active":"",on:{click:function(t){return e.chooseIcon(i,n)}}},[t("Icon",{attrs:{title:i,type:i}})],1)})),0)],1):e._e()])],1)],1)},o=[],a=["SQLserver","bing-drag","bingo-account-power","bingo-account-type","bingo-account","bingo-api","bingo-app-library","bingo-as","bingo-baremetal","bingo-block","bingo-business-system","bingo-business-system1","bingo-bussystem","bingo-cloud-manage","bingo-cloud-mirroring","bingo-cloud-network","bingo-cloudcfn","bingo-cloudwatch","bingo-collect","bingo-colony","bingo-configuration","bingo-database","bingo-db","bingo-delivery-platform","bingo-developer","bingo-download","bingo-ebs","bingo-ec2","bingo-ecr","bingo-ecs","bingo-efs","bingo-eks","bingo-eks1","bingo-elasticip","bingo-elasticip1","bingo-elb","bingo-end-app","bingo-evas","bingo-finance","bingo-firewall","bingo-flow-config","bingo-host-machine","bingo-iam","bingo-interchanger","bingo-ip","bingo-load-balance-port","bingo-load-balance","bingo-lvslb","bingo-machine-room","bingo-manage-config","bingo-management-screen","bingo-manpower","bingo-memory-device","bingo-memory-lun","bingo-memory-receipt","bingo-memory","bingo-menace-detection","bingo-menace","bingo-middleware","bingo-monitoring","bingo-mysql","bingo-operation-chart","bingo-oracle","bingo-order","bingo-organization","bingo-physical-machine","bingo-platform","bingo-project-quota","bingo-property","bingo-quota","bingo-rackroom","bingo-realm","bingo-report-forms","bingo-resource-pool","bingo-router","bingo-rule-config","bingo-s3","bingo-security-group","bingo-security","bingo-senior-service","bingo-service-instance","bingo-sns","bingo-sql","bingo-statement-analysis","bingo-storage-gateway","bingo-store-copy","bingo-store","bingo-subnet","bingo-subnetip","bingo-switch-port","bingo-system-setup","bingo-train","bingo-user-manage","bingo-vip","bingo-virtual-backup","bingo-virtual-machine","bingo-vpc","bingo-work","bingo-workorder-manage","bingo-zhenliecunchu","fold","ios-add-circle-outline","ios-add-circle","ios-add","ios-airplane","ios-alarm-outline","ios-alarm","ios-albums-outline","ios-albums","ios-alert-outline","ios-alert","ios-american-football-outline","ios-american-football","ios-analytics-outline","ios-analytics","ios-aperture-outline","ios-aperture","ios-apps-outline","ios-apps","ios-appstore-outline","ios-appstore","ios-archive-outline","ios-archive","ios-arrow-back","ios-arrow-down","ios-arrow-dropdown-circle","ios-arrow-dropdown","ios-arrow-dropleft-circle","ios-arrow-dropleft","ios-arrow-dropright-circle","ios-arrow-dropright","ios-arrow-dropup-circle","ios-arrow-dropup","ios-arrow-forward","ios-arrow-round-back","ios-arrow-round-down","ios-arrow-round-forward","ios-arrow-round-up","ios-arrow-up","ios-at-outline","ios-at","ios-attach","ios-backspace-outline","ios-backspace","ios-barcode-outline","ios-barcode","ios-baseball-outline","ios-baseball","ios-basket-outline","ios-basket","ios-basketball-outline","ios-basketball","ios-battery-charging","ios-battery-dead","ios-battery-full","ios-beaker-outline","ios-beaker","ios-bed","ios-beer-outline","ios-beer","ios-bicycle","ios-bluetooth","ios-boat-outline","ios-boat","ios-body-outline","ios-body","ios-bonfire-outline","ios-bonfire","ios-book-outline","ios-book","ios-bookmark-outline","ios-bookmark","ios-bookmarks-outline","ios-bookmarks","ios-bowtie-outline","ios-bowtie","ios-briefcase-outline","ios-briefcase","ios-browsers-outline","ios-browsers","ios-brush-outline","ios-brush","ios-bug-outline","ios-bug","ios-build-outline","ios-build","ios-bulb-outline","ios-bulb","ios-bus-outline","ios-bus","ios-business","ios-cafe-outline","ios-cafe","ios-calculator-outline","ios-calculator","ios-calendar-outline","ios-calendar","ios-call-outline","ios-call","ios-camera-outline","ios-camera","ios-car-outline","ios-car","ios-card-outline","ios-card","ios-cart-outline","ios-cart","ios-cash-outline","ios-cash","ios-cellular","ios-chatboxes-outline","ios-chatboxes","ios-chatbubbles-outline","ios-chatbubbles","ios-checkbox-outline","ios-checkbox","ios-checkmark-circle-outline","ios-checkmark-circle","ios-checkmark","ios-clipboard-outline","ios-clipboard","ios-clock-outline","ios-clock","ios-close-circle-outline","ios-close-circle","ios-close","ios-closed-captioning-outline","ios-closed-captioning","ios-cloud-circle-outline","ios-cloud-circle","ios-cloud-done-outline","ios-cloud-done","ios-cloud-download-outline","ios-cloud-download","ios-cloud-outline","ios-cloud-upload-outline","ios-cloud-upload","ios-cloud","ios-cloudy-night-outline","ios-cloudy-night","ios-cloudy-outline","ios-cloudy","ios-code-download","ios-code-working","ios-code","ios-cog-outline","ios-cog","ios-color-fill-outline","ios-color-fill","ios-color-filter-outline","ios-color-filter","ios-color-palette-outline","ios-color-palette","ios-color-wand-outline","ios-color-wand","ios-compass-outline","ios-compass","ios-construct-outline","ios-construct","ios-contact-outline","ios-contact","ios-contacts-outline","ios-contacts","ios-contract","ios-contrast","ios-copy-outline","ios-copy","ios-create-outline","ios-create","ios-crop-outline","ios-crop","ios-cube-outline","ios-cube","ios-cut-outline","ios-cut","ios-desktop-outline","ios-desktop","ios-disc-outline","ios-disc","ios-document-outline","ios-document","ios-done-all","ios-download-outline","ios-download","ios-easel-outline","ios-easel","ios-egg-outline","ios-egg","ios-exit-outline","ios-exit","ios-expand","ios-eye-off-outline","ios-eye-off","ios-eye-outline","ios-eye","ios-fastforward-outline","ios-fastforward","ios-female","ios-filing-outline","ios-filing","ios-film-outline","ios-film","ios-finger-print","ios-fitness","ios-flag-outline","ios-flag","ios-flame-outline","ios-flame","ios-flash-off","ios-flash-outline","ios-flash","ios-flashlight","ios-flask-outline","ios-flask","ios-flower-outline","ios-flower","ios-folder-open-outline","ios-folder-open","ios-folder-outline","ios-folder","ios-football-outline","ios-football","ios-funnel-outline","ios-funnel","ios-game-controller-a-outline","ios-game-controller-a","ios-game-controller-b-outline","ios-game-controller-b","ios-gift","ios-git-branch","ios-git-commit","ios-git-compare","ios-git-merge","ios-git-network","ios-git-pull-request","ios-glasses-outline","ios-glasses","ios-globe-outline","ios-globe","ios-grid-outline","ios-grid","ios-hammer-outline","ios-hammer","ios-hand-outline","ios-hand","ios-happy-outline","ios-happy","ios-headset-outline","ios-headset","ios-heart-dislike","ios-heart-empty","ios-heart-half","ios-heart-outline","ios-heart","ios-help-buoy-outline","ios-help-buoy","ios-help-circle-outline","ios-help-circle","ios-help","ios-home-outline","ios-home","ios-hourglass","ios-ice-cream-outline","ios-ice-cream","ios-image-outline","ios-image","ios-images-outline","ios-images","ios-infinite-outline","ios-infinite","ios-information-circle-outline","ios-information-circle","ios-information","ios-ionic-outline","ios-ionic","ios-ionitron-outline","ios-ionitron","ios-jet-outline","ios-jet","ios-journal","ios-key-outline","ios-key","ios-keypad-outline","ios-keypad","ios-laptop","ios-leaf-outline","ios-leaf","ios-link-outline","ios-link","ios-list-box-outline","ios-list-box","ios-list","ios-loading","ios-locate-outline","ios-locate","ios-lock-outline","ios-lock","ios-log-in","ios-log-out","ios-magnet-outline","ios-magnet","ios-mail-open-outline","ios-mail-open","ios-mail-outline","ios-mail-unread","ios-mail","ios-male","ios-man-outline","ios-man","ios-map-outline","ios-map","ios-medal-outline","ios-medal","ios-medical-outline","ios-medical","ios-medkit-outline","ios-medkit","ios-megaphone-outline","ios-megaphone","ios-menu-outline","ios-menu","ios-mic-off-outline","ios-mic-off","ios-mic-outline","ios-mic","ios-microphone-outline","ios-microphone","ios-moon-outline","ios-moon","ios-more-outline","ios-more","ios-move","ios-musical-note-outline","ios-musical-note","ios-musical-notes-outline","ios-musical-notes","ios-navigate-outline","ios-navigate","ios-no-smoking-outline","ios-no-smoking","ios-notifications-off-outline","ios-notifications-off","ios-notifications-outline","ios-notifications","ios-nuclear-outline","ios-nuclear","ios-nutrition-outline","ios-nutrition","ios-open-outline","ios-open","ios-options-outline","ios-options","ios-outlet-outline","ios-outlet","ios-paper-outline","ios-paper-plane-outline","ios-paper-plane","ios-paper","ios-partly-sunny-outline","ios-partly-sunny","ios-pause-outline","ios-pause","ios-paw-outline","ios-paw","ios-people-outline","ios-people","ios-person-add-outline","ios-person-add","ios-person-outline","ios-person","ios-phone-landscape","ios-phone-portrait","ios-photos-outline","ios-photos","ios-pie-outline","ios-pie","ios-pin-outline","ios-pin","ios-pint-outline","ios-pint","ios-pizza-outline","ios-pizza","ios-plane-outline","ios-plane","ios-planet-outline","ios-planet","ios-play-circle","ios-play-outline","ios-play","ios-podium-outline","ios-podium","ios-power-outline","ios-power","ios-pricetag-outline","ios-pricetag","ios-pricetags-outline","ios-pricetags","ios-print-outline","ios-print","ios-pulse-outline","ios-pulse","ios-qr-scanner","ios-quote-outline","ios-quote","ios-radio-button-off","ios-radio-button-on","ios-radio-outline","ios-radio","ios-rainy-outline","ios-rainy","ios-recording-outline","ios-recording","ios-redo-outline","ios-redo","ios-refresh-circle-outline","ios-refresh-circle","ios-refresh","ios-remove-circle-outline","ios-remove-circle","ios-remove","ios-reorder","ios-repeat","ios-resize","ios-restaurant-outline","ios-restaurant","ios-return-left","ios-return-right","ios-reverse-camera-outline","ios-reverse-camera","ios-rewind-outline","ios-rewind","ios-ribbon-outline","ios-ribbon","ios-rocket","ios-rose-outline","ios-rose","ios-sad-outline","ios-sad","ios-save","ios-school-outline","ios-school","ios-search-outline","ios-search","ios-send-outline","ios-send","ios-settings-outline","ios-settings","ios-share-alt-outline","ios-share-alt","ios-share-outline","ios-share","ios-shirt-outline","ios-shirt","ios-shuffle","ios-skip-backward-outline","ios-skip-backward","ios-skip-forward-outline","ios-skip-forward","ios-snow-outline","ios-snow","ios-speedometer-outline","ios-speedometer","ios-square-outline","ios-square","ios-star-half","ios-star-outline","ios-star","ios-stats-outline","ios-stats","ios-stopwatch-outline","ios-stopwatch","ios-subway-outline","ios-subway","ios-sunny-outline","ios-sunny","ios-swap","ios-switch-outline","ios-switch","ios-sync","ios-tablet-landscape","ios-tablet-portrait","ios-tennisball-outline","ios-tennisball","ios-text-outline","ios-text","ios-thermometer-outline","ios-thermometer","ios-thumbs-down-outline","ios-thumbs-down","ios-thumbs-up-outline","ios-thumbs-up","ios-thunderstorm-outline","ios-thunderstorm","ios-time-outline","ios-time","ios-timer-outline","ios-timer","ios-today","ios-train-outline","ios-train","ios-transgender","ios-trash-outline","ios-trash","ios-trending-down","ios-trending-up","ios-trophy-outline","ios-trophy","ios-tv","ios-umbrella-outline","ios-umbrella","ios-undo-outline","ios-undo","ios-unlock-outline","ios-unlock","ios-videocam-outline","ios-videocam","ios-volume-down","ios-volume-high","ios-volume-low","ios-volume-mute","ios-volume-off","ios-volume-up","ios-walk","ios-wallet","ios-warning-outline","ios-warning","ios-watch","ios-water-outline","ios-water","ios-wifi-outline","ios-wifi","ios-wine-outline","ios-wine","ios-woman-outline","ios-woman","logo-android","logo-angular","logo-apple","logo-bitbucket","logo-bitcoin","logo-buffer","logo-chrome","logo-closed-captioning","logo-codepen","logo-css","logo-css3","logo-designernews","logo-dribbble","logo-dropbox","logo-euro","logo-facebook","logo-flickr","logo-foursquare","logo-freebsd-devil","logo-game-controller-a","logo-game-controller-b","logo-github","logo-google","logo-googleplus","logo-hackernews","logo-html","logo-html5","logo-instagram","logo-ionic","logo-ionitron","logo-javascript","logo-linkedin","logo-markdown","logo-model-s","logo-no-smoking","logo-nodejs","logo-npm","logo-octocat","logo-pinterest","logo-playstation","logo-polymer","logo-python","logo-reddit","logo-rss","logo-sass","logo-skype","logo-slack","logo-snapchat","logo-steam","logo-tumblr","logo-tux","logo-twitch","logo-twitter","logo-usd","logo-vimeo","logo-vk","logo-whatsapp","logo-windows","logo-wordpress","logo-xbox","logo-xing","logo-yahoo","logo-yen","logo-youtube","md-add-circle-outline","md-add-circle","md-add","md-airplane","md-alarm","md-albums","md-alert","md-american-football","md-analytics","md-aperture","md-apps","md-appstore","md-archive","md-arrow-back","md-arrow-down","md-arrow-dropdown-circle","md-arrow-dropdown","md-arrow-dropleft-circle","md-arrow-dropleft","md-arrow-dropright-circle","md-arrow-dropright","md-arrow-dropup-circle","md-arrow-dropup","md-arrow-forward","md-arrow-round-back","md-arrow-round-down","md-arrow-round-forward","md-arrow-round-up","md-arrow-up","md-at","md-attach","md-backspace","md-barcode","md-baseball","md-basket","md-basketball","md-battery-charging","md-battery-dead","md-battery-full","md-beaker","md-bed","md-beer","md-bicycle","md-bluetooth","md-boat","md-body","md-bonfire","md-book","md-bookmark","md-bookmarks","md-bowtie","md-briefcase","md-browsers","md-brush","md-bug","md-build","md-bulb","md-bus","md-business","md-cafe","md-calculator","md-calendar","md-call","md-camera","md-car","md-card","md-cart","md-cash","md-cellular","md-chatboxes","md-chatbubbles","md-checkbox-outline","md-checkbox","md-checkmark-circle-outline","md-checkmark-circle","md-checkmark","md-clipboard","md-clock","md-close-circle-outline","md-close-circle","md-close","md-closed-captioning","md-cloud-circle","md-cloud-done","md-cloud-download","md-cloud-outline","md-cloud-upload","md-cloud","md-cloudy-night","md-cloudy","md-code-download","md-code-working","md-code","md-cog","md-color-fill","md-color-filter","md-color-palette","md-color-wand","md-compass","md-construct","md-contact","md-contacts","md-contract","md-contrast","md-copy","md-create","md-crop","md-cube","md-cut","md-desktop","md-disc","md-document","md-done-all","md-download","md-easel","md-egg","md-exit","md-expand","md-eye-off","md-eye","md-fastforward","md-female","md-filing","md-film","md-finger-print","md-fitness","md-flag","md-flame","md-flash-off","md-flash","md-flashlight","md-flask","md-flower","md-folder-open","md-folder","md-football","md-funnel","md-game-controller-a","md-game-controller-b","md-gift","md-git-branch","md-git-commit","md-git-compare","md-git-merge","md-git-network","md-git-pull-request","md-glasses","md-globe","md-grid","md-hammer","md-hand","md-happy","md-headset","md-heart-dislike","md-heart-empty","md-heart-half","md-heart-outline","md-heart","md-help-buoy","md-help-circle-outline","md-help-circle","md-help","md-home","md-hourglass","md-ice-cream","md-image","md-images","md-infinite","md-information-circle-outline","md-information-circle","md-information","md-ionic","md-ionitron","md-jet","md-journal","md-key","md-keypad","md-laptop","md-leaf","md-link","md-list-box","md-list","md-locate","md-lock","md-log-in","md-log-out","md-magnet","md-mail-open","md-mail-unread","md-mail","md-male","md-man","md-map","md-medal","md-medical","md-medkit","md-megaphone","md-menu","md-mic-off","md-mic","md-microphone","md-moon","md-more","md-move","md-musical-note","md-musical-notes","md-navigate","md-no-smoking","md-notifications-off","md-notifications-outline","md-notifications","md-nuclear","md-nutrition","md-open","md-options","md-outlet","md-paper-plane","md-paper","md-partly-sunny","md-pause","md-paw","md-people","md-person-add","md-person","md-phone-landscape","md-phone-portrait","md-photos","md-pie","md-pin","md-pint","md-pizza","md-plane","md-planet","md-play-circle","md-play","md-podium","md-power","md-pricetag","md-pricetags","md-print","md-pulse","md-qr-scanner","md-quote","md-radio-button-off","md-radio-button-on","md-radio","md-rainy","md-recording","md-redo","md-refresh-circle","md-refresh","md-remove-circle-outline","md-remove-circle","md-remove","md-reorder","md-repeat","md-resize","md-restaurant","md-return-left","md-return-right","md-reverse-camera","md-rewind","md-ribbon","md-rocket","md-rose","md-sad","md-save","md-school","md-search","md-send","md-settings","md-share-alt","md-share","md-shirt","md-shuffle","md-skip-backward","md-skip-forward","md-snow","md-speedometer","md-square-outline","md-square","md-star-half","md-star-outline","md-star","md-stats","md-stopwatch","md-subway","md-sunny","md-swap","md-switch","md-sync","md-tablet-landscape","md-tablet-portrait","md-tennisball","md-text","md-thermometer","md-thumbs-down","md-thumbs-up","md-thunderstorm","md-time","md-timer","md-today","md-train","md-transgender","md-trash","md-trending-down","md-trending-up","md-trophy","md-tv","md-umbrella","md-undo","md-unlock","md-videocam","md-volume-down","md-volume-high","md-volume-low","md-volume-mute","md-volume-off","md-volume-up","md-walk","md-wallet","md-warning","md-watch","md-water","md-wifi","md-wine","md-woman","zhenliecunchu","bingo-exit-full-screen","bingo-full-screen","bingo-menu-fold","bingo-menu-unfold"],r=a,l={name:"IconSelectAttrEdit",model:{event:"on-change"},props:["value","model","schemas","service","nodemodel","node","disabled","propSchema"],data:function(){return{iconSelectVisible:!1,selectIconName:this.value,searchName:"",defaultIcon:"ios-archive"}},computed:{iconArray:function(){var e=this;return""==this.searchName?r:r.filter((function(t){return t.indexOf(e.searchName)>=0}))}},watch:{value:function(e){this.selectIconName=e}},mounted:function(){},methods:{showIconSelect:function(){this.iconSelectVisible=!0},iconSelectOk:function(e){this.searchName="",this.$emit("on-change",this.selectIconName)},chooseIcon:function(e,t){this.selectIconName=e},iconSelectCancel:function(){this.selectIconName=this.value}}},s=l,c=(i("cc7c"),i("2877")),u=Object(c["a"])(s,n,o,!1,null,"7e5c71f8",null);t["default"]=u.exports},c9c3:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("RadioGroup",{staticClass:"leattr-radiogroup",attrs:{type:"button","button-style":"solid"},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}},[e.propSchema.enums&&e.propSchema.enums.length>0?e._l(e.propSchema.enums,(function(i){return t("Radio",{key:i[e.valueName].toString(),attrs:{disabled:e.$attrs.disabled,label:i[e.valueName].toString()}},[e._v(e._s(i[e.labelName]))])})):e._e()],2)},o=[],a=i("2ef0"),r={name:"RadioGroupAttrEdit",model:{event:"on-change"},props:{service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},nodeModel:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}},schemas:{type:Object,default:function(){return{}}},value:{type:[String,Boolean],default:""},labelName:{type:String,default:"title"},valueName:{type:String,default:"value"},isBoolean:{type:Boolean,default:!1}},data:function(){return{}},computed:{inputVal:{get:function(){return this.value.toString()},set:function(e){var t=e;this.isBoolean&&("true"===Object(a["trim"])(e)&&(t=!0),"false"===Object(a["trim"])(e)&&(t=!1)),this.$emit("on-change",t)}}}},l=r,s=i("2877"),c=Object(s["a"])(l,n,o,!1,null,null,null);t["default"]=c.exports},cc7c:function(e,t,i){"use strict";i("a3ed")},d8e6:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"iview-optionattredit"},[t("ul",[e._l(e.inputVal,(function(i,n){var o,a;return[t("li",{directives:[{name:"dragging",rawName:"v-dragging",value:{item:i,list:e.inputVal,group:e.groupId,comb:e.groupId},expression:"{ item: item, list: inputVal, group: groupId, comb: groupId }"}],key:n,class:{"lcdp-editor-attribute-disabled":e.$attrs.disabled},attrs:{draggable:"true"},on:{dragend:e.refreshNode}},[t("Icon",{staticClass:"dragicon",attrs:{type:"md-move"}}),t("span",{staticClass:"span1"},[e._v(e._s(i.props[(null==(o=e.propSchema.inputType)||null==(a=o.props)?void 0:a.label)||"label"]))]),t("Icon",{attrs:{type:"md-create"},on:{click:function(t){return e.handleEdit(i)}}}),t("Icon",{attrs:{type:"md-trash"},on:{click:function(t){return e.handleRemove(i)}}})],1)]}))],2),t("Button",{staticClass:"mt-sm",attrs:{disabled:e.$attrs.disabled,long:"",type:"primary"},on:{click:e.handleAdd}},[e._v("新增")]),t("ScheamPropertiesModal",{attrs:{model:e.editParam.props,title:e.title,properties:e.propSchema.properties,"use-default":!0,node:e.node,service:e.service,"one-group-ignore":e.oneGroupIgnore},on:{"on-ok":e.handleModalOk},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}})],1)},o=[],a=i("6514"),r={name:"ScheamPropertiesAttrEdit",components:{ScheamPropertiesModal:a["a"]},model:{event:"on-change"},props:{value:{type:Array,default:function(){return[]}},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}},oneGroupIgnore:{type:Boolean,default:!0}},data:function(){return{groupId:"schemaAttr"+(new Date).getTime(),inputVal:[],editParam:{},modalVisible:!1,isAdd:!1,realDesigner:null}},computed:{title:function(){return this.isAdd?"新增":"编辑"},typeName:function(){var e,t;return null==(e=this.propSchema.inputType)||null==(t=e.props)?void 0:t.type},fields:function(){return this.propSchema.inputType.props&&this.propSchema.inputType.props.fields?this.propSchema.inputType.props.fields:{label:"label",value:"value"}}},watch:{"node.children":function(){this.initDefaultSlot()}},created:function(){this.initDefaultSlot()},methods:{setRealDesigner:function(){return this.propSchema.inputType&&this.propSchema.inputType.props&&this.propSchema.inputType.props.designerOpt?Object.assign({id:_.uniqueId("dId"+Date.now())},this.propSchema.inputType.props.designerOpt):null},initDefaultSlot:function(){var e=this,t=[];_.map(this.node.children,(function(i){i.type==e.typeName&&t.push(i)})),this.inputVal=t},handleAdd:function(){var e={},t=_.uniqueId();this.isAdd=!0,this.modalVisible=!0,this.fields.value&&(e[this.fields.value]="newValue_"+t),this.realDesigner=this.setRealDesigner(),this.editParam.props=e},handleRemove:function(e){var t=this;_.remove(this.node.children,(function(i){if(i["type"]==t.typeName)return i.designer.id==e.designer.id})),this.service.refreshContent()},handleEdit:function(e){this.isAdd=!1,this.editParam=_.clone(e),this.modalVisible=!0},handleModalOk:function(e){if(this.isAdd)this.service.appendChild(this.node,{designer:this.realDesigner||{movein:!1},type:this.typeName,props:e}),this.isAdd=!this.isAdd;else{var t=this.editParam.designer.id,i=_.findIndex(this.node.children,(function(e){return e.designer.id==t}));this.editParam.props=e,this.node.children[i]=_.cloneDeep(this.editParam)}this.service.refresh()},refreshNode:function(){var e=this;if(this.inputVal.length>0){var t=_.cloneDeep(this.node.children);_.remove(t,(function(t){return t.type==e.typeName})),t=t.concat(this.inputVal),this.node.children=t,this.service.refresh()}}}},l=r,s=i("2877"),c=Object(s["a"])(l,n,o,!1,null,null,null);t["default"]=c.exports},db6d:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"TableSearchAttrEdit"},[t("i-switch",{attrs:{size:"small"},model:{value:e.inputVal.enable,callback:function(t){e.$set(e.inputVal,"enable",t)},expression:"inputVal.enable"}}),e.inputVal.enable?t("div",[t("ul",{staticClass:"list"},e._l(e.inputVal.filters,(function(i,n){return t("li",{key:n,staticClass:"list-item",attrs:{rowIndex:n}},[t("Input",{staticClass:"list-item-input",attrs:{type:"text",placeholder:"过滤字段名"},model:{value:i.key,callback:function(t){e.$set(i,"key",t)},expression:"item.key"}}),t("Select",{staticClass:"list-item-select",model:{value:i.condition,callback:function(t){e.$set(i,"condition",t)},expression:"item.condition"}},e._l(e.conditions,(function(i){return t("Option",{key:i.val,attrs:{value:i.val}},[e._v(e._s(i.label))])})),1),t("Icon",{staticClass:"list-item-icon-del",attrs:{type:"md-trash",title:"删除"},on:{click:function(t){return e.handleRemove(n)}}})],1)})),0),t("Button",{attrs:{size:"small",long:"",type:"primary"},on:{click:e.handleAdd}},[e._v("新增filter")])],1):e._e()],1)},o=[],a={name:"TableSearchAttrEdit",model:{event:"on-change"},props:{value:{type:[String,Number,Object,Array]}},data:function(){return{inputVal:this.value,conditions:[{label:"包含",val:"cn"},{label:"等于",val:"eq"},{label:"大于",val:"gt"},{label:"小于",val:"lt"},{label:"大于等于",val:"ge"},{label:"小于等于",val:"le"},{label:"不等于",val:"ne"}]}},methods:{handleAdd:function(){this.inputVal.filters.push({key:"",condition:"cn"}),this.emitEvent()},handleRemove:function(e){this.inputVal.filters.splice(e,1),this.emitEvent()},emitEvent:function(){this.$emit("on-change",this.inputVal)}}},r=a,l=(i("2524"),i("2877")),s=Object(l["a"])(r,n,o,!1,null,"59b3e42b",null);t["default"]=s.exports},dda1:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"lcdp-editor-flex lcdp-editor-flex-align"},[t("div",{staticClass:"lcdp-editor-flex-fill"},[t("Slider",{attrs:{disabled:e.$attrs.disabled,min:0,max:24},on:{"on-change":e.handleOnChange},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}})],1),t("InputNumber",{staticStyle:{width:"56px","margin-left":"12px"},attrs:{disabled:e.$attrs.disabled,max:24,min:0},on:{"on-change":e.handleOnChange},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}})],1)},o=[],a={name:"SliderAttrEdit",model:{event:"on-change"},props:{value:{type:Number,default:0},service:{type:Object,default:function(){return{}}},node:{type:Object,default:function(){return{}}},propSchema:{type:Object,default:function(){return{}}}},data:function(){return{inputVal:this.value}},computed:{},watch:{value:function(e){this.inputVal=e}},mounted:function(){},methods:{handleOnChange:function(){this.$emit("on-change",this.inputVal)}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},e35b:function(e,t,i){"use strict";i("85c5")},e9a7:function(e,t,i){},ead6:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("Input",{attrs:{type:"textarea",rows:e.rows,autosize:{minRows:5,maxRows:10}},model:{value:e.innerValue,callback:function(t){e.innerValue=t},expression:"innerValue"}}),e.hasError?t("div",{staticClass:"text-negative text-13px py-1"},[e._v("JSON格式错误,请修正")]):e._e()],1)},o=[],a=i("a026"),r=i("8a03"),l=i("c31a"),s=function(){return s=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)},c=Object(a["defineComponent"])({props:s(s({},l["a"]),{value:{type:[String,Number,Object,Array]},rows:{type:[String,Number],default:5}}),setup:function(e,t){var i=Object(r["useJsonVModel"])(e,t),n=i.innerValue,o=i.hasError;return{innerValue:n,hasError:o}}}),u=c,d=i("2877"),p=Object(d["a"])(u,n,o,!1,null,null,null);t["default"]=p.exports},ef3e:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex"},[e.showBindInput?t("Input",e._g(e._b({staticClass:"flex-1",attrs:{clearable:"",disabled:e.isValueExpr(e.innerValue)},model:{value:e.innerValue,callback:function(t){e.innerValue=t},expression:"innerValue"}},"Input",e.$attrs,!1),e.$listeners),[e._l(e.slots,(function(i,n){return t("template",{slot:n},[e._t(n)],2)}))],2):e._e(),e.showBindBtn?t("Button",{staticStyle:{"margin-left":"4px",width:"36px"},attrs:{size:e.$attrs.size,icon:"md-code-working"},on:{click:e.showVarBindModal}}):e._e()],1)},o=[],a=i("a026"),r=i("2ef0"),l=i.n(r),s=i("1e00"),c=Object(a["defineComponent"])({name:"VarInput",inheritAttrs:!1,props:{value:{type:[String,Object,Array,Boolean,Number]},showBindInput:{type:Boolean,default:!0},showBindBtn:{type:Boolean,default:!0},clearable:{type:Boolean,default:!0},beforeShowVarBindModal:{type:Function},service:{type:Object}},setup:function(e,t){var i=t.slots,n=Object(a["inject"])("designerService",e.service),o=Object(a["ref"])(e.value),r=Object(s["useExpressionDialog"])(n,{initialValue:o,beforeShowVarBindModal:e.beforeShowVarBindModal}).showExpressionDialog,c=function(){r((function(e){var i=e;""===e&&(i=null),o.value=i,t.emit("input",o.value)}))};return Object(a["watch"])((function(){return e.value}),(function(){l.a.isEqual(o,e.value)||(o.value=e.value)})),{slots:i,innerValue:o,showVarBindModal:c,isValueExpr:function(e){return n.isValueExpr(e)}}}}),u=c,d=i("2877"),p=Object(d["a"])(u,n,o,!1,null,null,null);t["default"]=p.exports},f825:function(e,t,i){e.exports=i("6ade")("./node_modules/view-design/dist/iview.js")},fd96:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("AutoComplete",{attrs:{placeholder:"请选择",clearable:e.clearable,icon:"ios-arrow-down",transfer:"",disabled:e.$attrs.disabled},on:{"on-change":e.handleChange},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}},e._l(e.propSchema.enums,(function(i){return t("Option",{key:i["value"],attrs:{value:i["title"]}},[e._v(" "+e._s(i["title"])+" ")])})),1)},o=[],a={name:"AutoCompleteAttrEdit",inheritAttrs:!1,model:{event:"on-change"},props:{value:[String,Number],propSchema:{type:Object,default:function(){return{}}}},data:function(){return{inputVal:""}},computed:{clearable:function(){var e,t,i;return!1!==(null==(e=this.propSchema)||null==(t=e.inputType)||null==(i=t.props)?void 0:i.clearable)}},mounted:function(){var e=this,t=this.propSchema.enums.find((function(t){return t.value==e.value}));this.inputVal=t?t.title:this.value||""},methods:{handleChange:function(){var e=this,t=this.propSchema.enums.find((function(t){return t["title"]==e.inputVal}));this.$emit("on-change",t?this.setNumber(t.value)||0===this.setNumber(t.value)?this.setNumber(t.value):void 0:this.setNumber(this.inputVal))},setNumber:function(e){var t,i,n;return"number"===(null==(t=this.propSchema)||null==(i=t.inputType)||null==(n=i.props)?void 0:n.type)?Number(e):e}}},r=a,l=i("2877"),s=Object(l["a"])(r,n,o,!1,null,null,null);t["default"]=s.exports},ffbe:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("lcdp-designer-properties",{attrs:{value:e.innerValue,properties:e.propSchema.properties,node:e.node,schemas:e.schemas,service:e.service,"one-group-ignore":!0},on:{"on-change":e.update}})},o=[],a=i("a026"),r=i("8a03"),l=i("c31a"),s=i("2ef0"),c=i.n(s),u=function(){return u=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},d=Object(a["defineComponent"])({props:u(u({},l["a"]),{value:{type:Object}}),setup:function(e,t){var i=e.propSchema.refElementModel.props,n=Object(r["useObjectVModel"])(e,t,{defaultValue:c.a.cloneDeep(i)}).innerValue,o=function(e){var t=e.data;c.a.isEqual(t,n)||Object.assign(n,t)};return{innerValue:n,update:o}}}),p=d,h=i("2877"),m=Object(h["a"])(p,n,o,!1,null,null,null);t["default"]=m.exports}}]);
@@ -1 +0,0 @@
1
- (window["webpackJsonp_$fly_vue_lcdp_iview_"]=window["webpackJsonp_$fly_vue_lcdp_iview_"]||[]).push([["lcdp-iview-basecomponent"],{"0d61":function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("iframe",{attrs:{src:t.src,width:t.width,height:t.height,scrolling:t.scrolling}})},n=[],s=i("a026"),r=Object(s["defineComponent"])({name:"IvIframe",props:{src:{type:String},width:{type:String,default:"100%"},height:{type:String,default:"100%"},scrolling:{type:String}},data:function(){return{}}}),a=r,o=i("2877"),u=Object(o["a"])(a,l,n,!1,null,null,null);e["default"]=u.exports},"10cc":function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvSider",functional:!0,render:function(t,e){return t("Sider",e.data,e.children)}}},"20db":function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvFooter",functional:!0,render:function(t,e){var i=e.props.nobg?"":"le-page-footer-bg";return e.data.class=["le-page-footer",i,e.props.align,e.data.class||""],t("footer",e.data,e.children)}}},2772:function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.showTitle?e("div",t._g({directives:[{name:"tippy",rawName:"v-tippy"}],style:t.styles,attrs:{content:t.text}},t.$listeners),[t._v(t._s(t.text))]):e("div",t._g({style:t.styles},t.$listeners),[t._v(t._s(t.text))])},n=[],s=i("a026"),r=Object(s["defineComponent"])({name:"IvText",props:{text:{type:String},showTitle:{type:Boolean,default:!1},maxLine:{type:Number,default:0}},setup:function(){return{}},computed:{styles:function(){return this.maxLine>0?{display:"-webkit-box","-webkit-box-orient":"vertical",overflow:"hidden","-webkit-line-clamp":this.maxLine,"word-break":"break-all"}:{display:"inline-block","word-break":"break-all"}}}}),a=r,o=i("2877"),u=Object(o["a"])(a,l,n,!1,null,null,null);e["default"]=u.exports},3378:function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{domProps:{innerHTML:t._s(t.html)}})},n=[],s=i("a026"),r=Object(s["defineComponent"])({name:"IvHtml",props:{html:{type:String,default:""}}}),a=r,o=i("2877"),u=Object(o["a"])(a,l,n,!1,null,null,null);e["default"]=u.exports},3791:function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvDiv",functional:!0,props:{text:{type:String,default:null}},render:function(t,e){return t("div",e.data,e.children)}}},"405f":function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;return e("div",t._g({staticClass:"le-flex",class:t.classes,style:t.style},t.$listeners),[t._t("default")],2)},n=[],s={name:"IvFlex",componentName:"IvFlex",props:{mode:{type:String,default:"horizontal"},gutter:{type:[Number,String],default:0},align:{type:String,default:""},justify:{type:String,default:""},direction:{type:String,default:""},wrap:{type:String,default:""}},computed:{classes:function(){var t,e=[(t={},t["le-flex-justify-"+this.justify]=!!this.justify,t["le-flex-align-"+this.align]=!!this.align,t["le-flex-direction-"+this.direction]=!!this.direction,t["le-flex-wrap-"+this.wrap]=!!this.wrap,t)];return"vertical"===this.mode&&e.push("le-flex-vertical"),e},style:function(){var t={};return this.gutter&&("vertical"===this.mode?(t.marginTop="-"+this.gutter/2+"px",t.marginBottom=t.marginTop):(t.marginLeft="-"+this.gutter/2+"px",t.marginRight=t.marginLeft)),t}}},r=s,a=i("2877"),o=Object(a["a"])(r,l,n,!1,null,null,null);e["default"]=o.exports},"4d16":function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvContent",functional:!0,render:function(t,e){return t("Content",e.data,e.children)}}},"58fb":function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvLayout",functional:!0,render:function(t,e){return t("Layout",e.data,e.children)}}},"602f":function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvLink",props:{tag:{type:String,default:"a"},type:{type:String,default:"page"},downloadName:{type:String,default:""},text:{type:String,default:""},disabled:{type:Boolean,default:!1},linkColor:{type:Boolean,default:!0},to:{type:String,default:null},replace:{type:Boolean,default:!1},target:{type:String,default:"_self"}},computed:{linkUrl:function(){var t=typeof this.to;if("string"!==t)return null;var e=this.$router;if(e){var i=this.$route,l=e.resolve(this.to,i,this.append);return l?l.href:this.to}return this.to}},methods:{handleClick:function(){var t=this.$router;t?this.replace?this.$router.replace(this.to,(function(){})):this.$router.push(this.to,(function(){})):window.location.href=this.to},handleCheckClick:function(t){if(!this.disabled)if(this.to){if("_blank"===this.target||"page"!=this.type)return!1;t.preventDefault(),this.handleClick()}else this.$emit("click",t)}},render:function(t){var e=null;return this.$slots&&this.$slots.text&&(e=this.$slots.text),t(this.tag,{class:["iv-link",this.linkColor?"":"iv-link-color",this.disabled?"iv-link-disabled":""],attrs:{target:"_self"==this.target?null:this.target,href:this.disabled?null:"url"===this.type?this.to:this.linkUrl,download:"download"==this.type?this.downloadName:null},on:{click:this.handleCheckClick}},e||this.text)}}},"8d58":function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;return e("li",{staticClass:"le-li",on:{click:function(e){return t.handleClick(t.title)}}},[e("div",{staticClass:"le-flex le-flex-align-center"},[this.$slots.prepend?e("div",{staticClass:"le-li-prepend"},[t._t("prepend")],2):t._e(),e("div",{staticClass:"le-flex-item-fill le-li-title"},[t._t("title",(function(){return[t._v(t._s(t.title))]}))],2),this.$slots.extra?e("div",{staticClass:"le-li-extra"},[t._t("extra")],2):t._e()])])},n=[],s={name:"IvLi",props:{title:{type:String,default:""}},methods:{handleClick:function(t){this.$emit("click",t)}}},r=s,a=i("2877"),o=Object(a["a"])(r,l,n,!1,null,null,null);e["default"]=o.exports},a247:function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvHeader",functional:!0,props:["title","content"],render:function(t,e){var i=e.slots().title||e.props.title?t("div",{slot:"title",class:["le-page-header-title"]},[e.slots().title||e.props.title]):null,l=e.slots().content||e.props.content?t("div",{slot:"content",class:["le-page-header-desc"]},[e.slots().content||e.props.content]):null;return t("header",Object.assign({},e.data,{class:["le-page-header",e.data.class]}),[i,l])}}},be0c:function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;return e("div",t._g({staticClass:"le-flex-item",class:t.classes,style:t.stylees},t.$listeners),[t._t("default")],2)},n=[],s={name:"IvFlexItem",componentName:"IvFlexItem",props:{flex:{type:String,default:""},align:{type:String,default:""}},computed:{gutter:function(){var t=this.$parent;while(t&&"IvFlex"!==t.$options.componentName)t=t.$parent;return t?t.gutter:0},mode:function(){var t=this.$parent;while(t&&"IvFlex"!==t.$options.componentName)t=t.$parent;return t?t.mode:"horizontal"},classes:function(){var t,e=[(t={},t["le-flex-item-align-"+this.align]=!!this.align,t["le-flex-item-fill"]="auto"==this.flex,t)];return e},stylees:function(){var t={};return this.flex&&"auto"!=this.flex&&("horizontal"==this.mode?t.width=""+(this.isNumber(this.flex)?this.flex+"px":this.flex):t.height=""+(this.isNumber(this.flex)?this.flex+"px":this.flex)),this.gutter&&("vertical"===this.mode?(t.paddingTop=this.gutter/2+"px",t.paddingBottom=t.paddingTop):(t.paddingLeft=this.gutter/2+"px",t.paddingRight=t.paddingLeft)),t}},methods:{isNumber:function(t){return!isNaN(Number(t))}}},r=s,a=i("2877"),o=Object(a["a"])(r,l,n,!1,null,null,null);e["default"]=o.exports},be3e:function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvLiList",props:{type:{type:String,default:"ul"},listStyle:{type:String,default:"none"}},render:function(t){return t(this.type,{class:["le-li-list","list-style-"+this.listStyle]},this.$slots.default)}}},c28e:function(t,e,i){t.exports=i.p+"modules/fly_vue_lcdp_iview/assets/img/empty.96eaa57f.svg"},cfa9:function(t,e,i){"use strict";i.r(e);var l=i("2ef0"),n=i.n(l),s=i("108d");e["default"]={name:"IvContainer",functional:!0,props:["width","height","overflow"],render:function(t,e){var i={};try{i=n.a.isString(e.data.style)?Object(s["f"])(e.data.style):n.a.isObject(e.data.style)?e.data.style:{}}catch(d){console.log(d)}var l={};e.props.overflow&&(l.overflow=e.props.overflow);var r=function(t){return!isNaN(Number(t))},a=""==e.props.width?void 0:e.props.width,o=""==e.props.height?void 0:e.props.height;a&&(l.width=""+(r(a)?a+"px":a)),o&&(l.height=""+(r(o)?o+"px":o));var u=n.a.cloneDeep(e.data);return t("div",n.a.assign(u,{style:Object.assign({},i,l)}),e.children)}}},de21:function(t,e,i){"use strict";i.r(e);var l=i("c28e");e["default"]={name:"IvEmpty",functional:!0,props:{image:{type:String,default:null},imageSize:{type:Number,default:null},description:{type:String,default:null}},render:function(t,e){var i=e.props,n=e.slots().image||t("img",{attrs:{ondragstart:"return false",src:i.image||l}}),s=i.imageSize||0==i.imageSize?{width:i.imageSize+"px"}:{},r=t("div",{class:{"le-empty__image":!0},style:Object.assign({},s)},[n]),a=t("p",i.description),o=e.slots().description||i.description?t("div",{class:{"le-empty__description":!0}},[e.slots().description||a]):null,u=e.slots().content?t("div",{class:{"le-empty__bottom":!0}},e.slots().content):null;return t("div",Object.assign({},e.data,{class:[e.data.class,"le-empty"]}),[r,o,u])}}},eed2:function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;return e("img",t._g({style:t.styles,attrs:{src:t.imgsrc,alt:t.alt}},t.$listeners))},n=[],s=i("0e7e"),r={name:"IvImage",props:{src:{type:String,default:""},defautlSrc:String,alt:{type:String,default:""},fit:{type:String,default:""},width:{type:[String,Number],default:0},autoWidth:{type:Boolean,default:!1},height:{type:[String,Number],default:0},autoHeight:{type:Boolean,default:!1},round:{type:[Number,String],default:0}},computed:{imgsrc:function(){return this.src&&""!=this.src?this.src:this.defautlSrc||s},styles:function(){var t={objectFit:this.fit,borderRadius:this.isNumber(this.round)?this.round+"px":this.round};return this.autoWidth||(t["width"]=this.isNumber(this.width)?this.width+"px":this.width),this.autoHeight||(t["height"]=this.isNumber(this.height)?this.height+"px":this.height),t}},methods:{isNumber:function(t){return!isNaN(Number(t))}}},a=r,o=i("2877"),u=Object(o["a"])(a,l,n,!1,null,null,null);e["default"]=u.exports},f0df:function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvGrid",functional:!0,props:["padding"],render:function(t,e){var i=e.props;return Number(i.padding)+""!=="NaN"?e.data.attrs.padding=(i.padding||24)+"px":e.data.attrs.padding=i.padding,t("Grid",e.data,e.children)}}},f8d6:function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;return e("Layout",{ref:"layoutContainerRef",staticClass:"le-layout",style:t.layoutStylees},[t.$slots.sider?e("Sider",{ref:"layoutSider",staticClass:"le-layout-sider",class:t.hideTrigger?"":"le-sider-collapsible",style:t.siderStyles,attrs:{width:t.width,collapsible:t.collapsible,"collapsed-width":t.collapsedWidth,"hide-trigger":t.hideTrigger,"default-collapsed":t.defaultCollapsed,"reverse-arrow":t.reverseArrow},on:{"on-collapse":t.onCollapse},model:{value:t.siderValue,callback:function(e){t.siderValue=e},expression:"siderValue"}},[t._t("sider")],2):t._e(),e("Layout",{style:t.contentStyles},[t.$slots.header?e("Header",{staticClass:"le-layout-header",style:t.headerStyles},[t._t("header")],2):t._e(),e("Content",{style:t.bodyStyles},[t._t("content")],2)],1)],1)},n=[],s={name:"IvLayoutContainer",props:{layoutHeight:{type:String,default:null},layoutBackground:{type:String,default:null},headerBackground:{type:String,default:null},headerHeight:{type:[Number,String],default:64},backgroundColor:{type:String,default:null},value:{type:Boolean,default:!1},width:{type:[Number,String],default:200},collapsedWidth:{type:[Number,String],default:64},hideTrigger:{type:Boolean,default:!1},collapsible:{type:Boolean,default:!1},defaultCollapsed:{type:Boolean,default:!1},reverseArrow:{type:Boolean,default:!1},contentBackground:{type:String,default:null},contentPadding:{type:Number,default:0}},data:function(){return{siderValue:this.value||!1,offsetTop:null,timer:null}},computed:{layoutStylees:function(){var t={};return this.layoutHeight&&("auto"===this.layoutHeight?t.height=this.offsetTop?"calc( 100vh - "+(this.offsetTop+16)+"px)":"":t.height=""+(this.isNumber(this.layoutHeight)?this.layoutHeight+"px":this.layoutHeight)),this.layoutBackground&&(t.background=""+this.layoutBackground),t},siderStyles:function(){var t={};return this.backgroundColor&&(t.background=""+this.backgroundColor),t},headerStyles:function(){var t={};return this.headerHeight&&(t.height=""+(this.isNumber(this.headerHeight)?this.headerHeight+"px":this.headerHeight)),this.headerBackground&&(t.background=""+this.headerBackground),t},contentStyles:function(){var t={};return this.contentBackground&&(t.background=""+this.contentBackground),t},bodyStyles:function(){return{padding:""+(this.isNumber(this.contentPadding)?this.contentPadding+"px":this.contentPadding)}}},watch:{value:function(t){this.siderValue=t}},mounted:function(){this.calcHei()},beforeDestroy:function(){clearTimeout(this.timer),this.timer=null},methods:{isNumber:function(t){return!isNaN(Number(t))},toggleCollapse:function(){this.$refs.layoutSider.toggleCollapse()},onCollapse:function(t){this.$emit("input",t),this.$emit("on-collapse",t)},calcHei:function(){var t=this;"auto"===this.layoutHeight&&this.$nextTick((function(){t.timer=setTimeout((function(){t.offsetTop=t.$el.getBoundingClientRect().top}),500)}))}}},r=s,a=i("2877"),o=Object(a["a"])(r,l,n,!1,null,null,null);e["default"]=o.exports},fc38:function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t._self._c;return e("span",t._g({staticClass:"le-span"},t.$listeners),[t._t("default",(function(){return[t._v(t._s(t.text))]}))],2)},n=[],s={name:"IvSpan",props:{text:{type:String,default:""}}},r=s,a=i("2877"),o=Object(a["a"])(r,l,n,!1,null,null,null);e["default"]=o.exports},fda4:function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvTitle",props:{tag:{type:String,default:"h1"},title:{type:String,default:"标题"}},methods:{handleClick:function(){this.$emit("click",this.title)}},render:function(t){return t(this.tag,{class:["le-title","le-title-"+this.tag],on:{click:this.handleClick}},[this.$slots.title||this.title])}}}}]);
@@ -1 +0,0 @@
1
- (window["webpackJsonp_$fly_vue_lcdp_iview_"]=window["webpackJsonp_$fly_vue_lcdp_iview_"]||[]).push([["lcdp-iview-component-ice"],{"04e6":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("TinymceVue",e._g(e._b({attrs:{"path-suffix":e.pathSuffix}},"TinymceVue",e.$attrs,!1),e.$listeners))},o=[],i=n("dae4"),a=function(){var e=this,t=e._self._c;return t("div",e._b({staticClass:"le-tinymce"},"div",e.$attrs,!1),[t("editor",{key:e.nowKey,ref:"LvTinymce",attrs:{init:e.init,disabled:e.disabled},on:{input:e.debounceInput},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)},l=[],s=n("bc3a"),c=n.n(s),u=n("e562"),d=n.n(u),p=n("ca72"),f=(n("0342"),n("fd8a"),n("fc39"),n("4ea8"),n("8863"),n("3aea"),n("07d1"),n("bc54"),n("84ec"),n("9434"),n("2d33"),n("07d7"),n("64d8"),n("4237"),n("3154"),n("0a9d"),n("90e7"),n("2b07"),n("4cb4"),n("69e4"),n("2ef0"));function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(A){s=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new C(o||[]);return r(a,"_invoke",{value:k(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=c;var d={};function p(){}function f(){}function m(){}var g={};s(g,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(P([])));v&&v!==t&&n.call(v,i)&&(g=v);var b=m.prototype=p.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(r,i,a,l){var s=u(e[r],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,l)}))}l(s.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=_(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=u(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function P(e){if(e||""===e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return f.prototype=m,r(b,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:f,configurable:!0}),f.displayName=s(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(x.prototype),s(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),s(b,l,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function m(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,l,"next",e)}function l(e){m(i,r,o,a,l,"throw",e)}a(void 0)}))}}var y=function(e,t){var n=e&&e.indexOf(".")>-1?e.split("."):[e];function r(e,t){var o=t[e];if(o&&"string"===typeof o&&o.indexOf("{")>-1&&o.indexOf("}")>-1)try{t[e]=JSON.parse(o)}catch(i){t[e]=o}return"undefined"!==typeof o&&n.length?r(n.shift(),o):o}return r(n.shift(),t)},v={name:"Tinymce",components:{Editor:p["a"]},inheritAttrs:!1,props:{value:{type:String,default:""},height:{type:[Number,String],default:400},data:{type:Object,default:function(){return{}}},isBase64:{type:Boolean,default:!1},automaticUploads:{type:Boolean,default:!0},action:{type:String,default:""},name:{type:String,default:"file"},responsePath:{type:String},afterHandle:{type:[Function,Object]},headers:{type:Object,default:function(){return{}}},imagesUploadHandler:{type:[Function,Object]},filePickerCallback:{type:[Function,Object]},disabled:{type:Boolean,default:!1},plugins:{type:[String,Array],default:"link lists image hr imagetools media table emoticons paste wordcount codesample code fullscreen preview quickbars "},toolbar:{type:[String,Array],default:"undo redo | styleselect | fontselect | fontsizeselect |forecolor backcolor removeformat bold italic underline strikethrough | hr lineheight |alignleft aligncenter alignright alignjustify |bullist numlist outdent indent |link image media table emoticons |codesample code | preview fullscreen "},pathSuffix:{type:String}},data:function(){return{nowKey:Date.now(),init:{language_url:n("a070"),language:"zh_CN",suffix:".min",base_url:"https://cdn.staticfile.org/tinymce/5.10.5",skin_url:"https://cdn.staticfile.org/tinymce/5.10.5/skins/ui/oxide",external_plugins:{},content_style:"body {font-size:14px}",automatic_uploads:this.automaticUploads,images_upload_url:this.action,convert_urls:!1,height:this.height,plugins:this.plugins,toolbar:this.toolbar,toolbar_mode:"wrap",fontsize_formats:"12px 14px 16px 18px 24px 36px 48px",font_formats:"微软雅黑='微软雅黑';宋体='宋体';苹果苹方=PingFang SC;黑体='黑体';仿宋='仿宋';楷体='楷体';隶书='隶书';幼圆='幼圆';Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings;sans-serif",statusbar:!0,menubar:!1,branding:!1,color_cols:5,custom_colors:!0,color_map:["2d8cf0","主色","5cadff","中蓝","2db7f5","浅蓝","19be6b","绿色","ff9900","橙色","ed4014","红色","17233d","黑色","515a6e","浅黑","808695","墨黑","c5c8ce","灰色","dcdee2","深灰","e8eaec","浅灰","f8f8f9","白灰","ffffff","白色"],images_upload_handler:Object(f["isFunction"])(this.imagesUploadHandler)&&this.imagesUploadHandler||this.imagesDefaultUploadHandler,file_picker_callback:Object(f["isFunction"])(this.filePickerCallback)&&this.filePickerCallback||this.fileDefaultUploadHandler,powerpaste_word_import:"merge",powerpaste_html_import:"propmt",powerpaste_allow_local_images:!0,paste_data_images:!0}}},computed:{content:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},created:function(){this.debounceInput=_.debounce(this.handleInput,300)},mounted:function(){d.a.init({}),this.nowKey=Date.now()},methods:{handleInput:function(e){this.$emit("on-input",e,d.a)},blobToBase64:function(e,t){var n=new FileReader;n.readAsDataURL(e),n.onload=function(e){t(e.target.result)}},handleUpload:function(e){var t=this;return g(h().mark((function n(){var r,o,i;return h().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.data&&_.isObject(t.data))for(r in t.data)(t.name&&r!=t.name||!t.name&&"file"!=r)&&e.append(r,t.data[r]);return o=Object.assign({"Content-Type":"multipart/form-data"},t.headers),i=c()({url:t.action,method:"post",headers:o,data:e}),n.abrupt("return",i);case 4:case"end":return n.stop()}}),n)})))()},imagesDefaultUploadHandler:function(e,t,n){var r=this;if(this.isBase64)this.blobToBase64(e.blob(),(function(e){t(e)}));else{var o=new FormData;o.append(""+(this.name||"file"),e.blob()),this.handleUpload(o).then((function(e){200==e.status?r.handleResponse(t,e,"image"):n(e)})).catch((function(e){n("文件上传出错!")}))}},fileDefaultUploadHandler:function(e,t,n){var r=this,o=".pdf, .txt, .zip, .rar, .7z, .doc, .docx, .xls, .xlsx, .ppt, .pptx";switch(n.filetype){case"image":o=".jpg, .jpeg, .png, .gif";break;case"media":o=".mp3, .mp4";break;case"file":default:}var i=document.createElement("input");i.setAttribute("type","file"),i.setAttribute("accept",o),i.click(),i.onchange=function(){var t=this.files[0],o=new FormData;o.append(""+(this.name||"file"),t,t.name),r.handleUpload(o).then((function(o){r.handleResponse(e,o,n.filetype,t.name)})).catch((function(e){console.log("文件上传出错!")}))}},handleResponse:function(e,t,n,r){var o,i,a={text:r||""};this.afterHandle&&Object(f["isFunction"])(this.afterHandle)?"image"!=n?e(this.pathSuffix+"/"+this.afterHandle(t.data),a):e(this.pathSuffix+"/"+this.afterHandle(t.data)):this.responsePath&&this.responsePath.length>0?e("image"!=n?this.pathSuffix+"/"+e(y(this.responsePath,t.data),a):this.pathSuffix+"/"+e(y(this.responsePath,t.data))):"image"!=n?e(this.pathSuffix+"/"+(null==t||null==(o=t.data)?void 0:o.fileId),a):e(this.pathSuffix+"/"+(null==t||null==(i=t.data)?void 0:i.fileId))}}},b=v,w=(n("3338"),n("2877")),x=Object(w["a"])(b,a,l,!1,null,null,null),k=x.exports,L=n("a026"),S=Object(L["defineComponent"])({name:"LvTinymce",components:{TinymceVue:k},inheritAttrs:!1,data:function(){return{pathSuffix:Object(i["config"])()["file.download"]||""}}}),C=S,P=Object(w["a"])(C,r,o,!1,null,null,null);t["default"]=P.exports},3338:function(e,t,n){"use strict";n("a13c")},a070:function(e,t){var n;tinymce.addI18n("zh_CN",(n={Redo:"恢复",Undo:"撤销",Cut:"剪切",Copy:"复制",Paste:"粘贴","Select all":"全选","New document":"新建文档",Ok:"确定",Cancel:"取消","Visual aids":"网格线",Bold:"粗体",Italic:"斜体",Underline:"下划线",Strikethrough:"删除线",Superscript:"上标",Subscript:"下标","Clear formatting":"清除格式","Align left":"左对齐","Align center":"居中","Align right":"右对齐",Justify:"两端对齐","Bullet list":"符号列表","Numbered list":"数字列表","Decrease indent":"减少缩进","Increase indent":"增加缩进",Close:"关闭",Formats:"格式","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"当前浏览器不支持访问剪贴板,请使用快捷键Ctrl+X/C/V复制粘贴",Headers:"标题","Header 1":"标题1","Header 2":"标题2","Header 3":"标题3","Header 4":"标题4","Header 5":"标题5","Header 6":"标题6",Headings:"标题","Heading 1":"标题1","Heading 2":"标题2","Heading 3":"标题3","Heading 4":"标题4","Heading 5":"标题5","Heading 6":"标题6",Preformatted:"预格式化",Div:"Div区块",Pre:"预格式文本",Code:"代码",Paragraph:"段落",Blockquote:"引用",Inline:"文本",Blocks:"区块","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"当前为纯文本粘贴模式,再次点击可以回到普通粘贴模式。",Fonts:"字体","Font Sizes":"字号",Class:"Class","Browse for an image":"浏览图像",OR:"或","Drop an image here":"拖放一张图片文件至此",Upload:"上传",Block:"块",Align:"对齐",Default:"默认",Circle:"空心圆",Disc:"实心圆",Square:"方块","Lower Alpha":"小写英文字母","Lower Greek":"小写希腊字母","Lower Roman":"小写罗马字母","Upper Alpha":"大写英文字母","Upper Roman":"大写罗马字母","Anchor...":"锚点...",Name:"名称",Id:"id","Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"id应该以字母开头,后跟字母、数字、横线、点、冒号或下划线。","You have unsaved changes are you sure you want to navigate away?":"你对文档的修改尚未保存,确定离开吗?","Restore last draft":"恢复上次的草稿","Special characters...":"特殊字符...","Source code":"HTML源码","Insert/Edit code sample":"插入/编辑代码示例",Language:"语言","Code sample...":"代码示例...","Color Picker":"选取颜色",R:"R",G:"G",B:"B","Left to right":"从左到右","Right to left":"从右到左","Emoticons...":"表情符号...","Metadata and Document Properties":"元数据和文档属性",Title:"标题",Keywords:"关键词",Description:"描述",Robots:"机器人",Author:"作者",Encoding:"编码",Fullscreen:"全屏",Action:"操作",Shortcut:"快捷键",Help:"帮助",Address:"地址","Focus to menubar":"移动焦点到菜单栏","Focus to toolbar":"移动焦点到工具栏","Focus to element path":"移动焦点到元素路径","Focus to contextual toolbar":"移动焦点到上下文菜单","Insert link (if link plugin activated)":"插入链接 (如果链接插件已激活)","Save (if save plugin activated)":"保存(如果保存插件已激活)","Find (if searchreplace plugin activated)":"查找(如果查找替换插件已激活)","Plugins installed ({0}):":"已安装插件 ({0}):","Premium plugins:":"优秀插件:","Learn more...":"了解更多...","You are using {0}":"你正在使用 {0}",Plugins:"插件","Handy Shortcuts":"快捷键","Horizontal line":"水平分割线","Insert/edit image":"插入/编辑图片","Image description":"图片描述",Source:"地址",Dimensions:"大小","Constrain proportions":"保持宽高比",General:"常规",Advanced:"高级",Style:"样式","Vertical space":"垂直边距","Horizontal space":"水平边距",Border:"边框","Insert image":"插入图片","Image...":"图片...","Image list":"图片列表","Rotate counterclockwise":"逆时针旋转","Rotate clockwise":"顺时针旋转","Flip vertically":"垂直翻转","Flip horizontally":"水平翻转","Edit image":"编辑图片","Image options":"图片选项","Zoom in":"放大","Zoom out":"缩小",Crop:"裁剪",Resize:"调整大小",Orientation:"方向",Brightness:"亮度",Sharpen:"锐化",Contrast:"对比度","Color levels":"色阶",Gamma:"伽马值",Invert:"反转",Apply:"应用",Back:"后退","Insert date/time":"插入日期/时间","Date/time":"日期/时间","Insert/Edit Link":"插入/编辑链接","Insert/edit link":"插入/编辑链接","Text to display":"显示文字",Url:"地址","Open link in...":"链接打开方式...","Current window":"当前窗口打开",None:"在当前窗口/框架打开","New window":"在新窗口打开","Remove link":"删除链接",Anchors:"锚点","Link...":"链接...","Paste or type a link":"粘贴或输入链接","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"你所填写的URL地址为邮件地址,需要加上mailto:前缀吗?","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"你所填写的URL地址属于外部链接,需要加上http://:前缀吗?","Link list":"链接列表","Insert video":"插入视频","Insert/edit video":"插入/编辑视频","Insert/edit media":"插入/编辑媒体","Alternative source":"替代资源","Alternative image URL":"资源备用地址","Media poster (Image URL)":"封面(图片地址)","Paste your embed code below:":"将内嵌代码粘贴在下面:",Embed:"内嵌","Media...":"多媒体...","Nonbreaking space":"不间断空格","Page break":"分页符","Paste as text":"粘贴为文本",Preview:"预览","Print...":"打印...",Save:"保存",Find:"查找","Replace with":"替换为",Replace:"替换","Replace all":"替换全部",Previous:"上一个",Next:"下一个","Find and replace...":"查找并替换...","Could not find the specified string.":"未找到搜索内容。","Match case":"区分大小写","Find whole words only":"全单词匹配","Spell check":"拼写检查",Ignore:"忽略","Ignore all":"忽略全部",Finish:"完成","Add to Dictionary":"添加到字典","Insert table":"插入表格","Table properties":"表格属性","Delete table":"删除表格",Cell:"单元格",Row:"行",Column:"列","Cell properties":"单元格属性","Merge cells":"合并单元格","Split cell":"拆分单元格","Insert row before":"在上方插入","Insert row after":"在下方插入","Delete row":"删除行","Row properties":"行属性","Cut row":"剪切行","Copy row":"复制行","Paste row before":"粘贴到上方","Paste row after":"粘贴到下方","Insert column before":"在左侧插入","Insert column after":"在右侧插入","Delete column":"删除列",Cols:"列",Rows:"行",Width:"宽",Height:"高","Cell spacing":"单元格外间距","Cell padding":"单元格内边距","Show caption":"显示标题",Left:"左对齐",Center:"居中",Right:"右对齐","Cell type":"单元格类型",Scope:"范围",Alignment:"对齐方式","H Align":"水平对齐","V Align":"垂直对齐",Top:"顶部对齐",Middle:"垂直居中",Bottom:"底部对齐","Header cell":"表头单元格","Row group":"行组","Column group":"列组","Row type":"行类型",Header:"表头",Body:"表体",Footer:"表尾","Border color":"边框颜色","Insert template...":"插入模板...",Templates:"模板",Template:"模板","Text color":"文字颜色","Background color":"背景色","Custom...":"自定义...","Custom color":"自定义颜色","No color":"无","Remove color":"删除颜色","Table of Contents":"目录","Show blocks":"显示区块边框","Show invisible characters":"显示不可见字符","Word count":"字数统计","Words: {0}":"字数:{0}","{0} words":"{0} 个字",File:"文件",Edit:"编辑",Insert:"插入",View:"查看",Format:"格式",Table:"表格",Tools:"工具","Powered by {0}":"Powered by {0}","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"在编辑区按ALT+F9打开菜单,按ALT+F10打开工具栏,按ALT+0查看帮助","Image title":"图片标题","Border width":"边框宽度","Border style":"边框样式",Error:"错误",Warn:"警告",Valid:"有效","To open the popup, press Shift+Enter":"此快捷为软回车(插入<br>)","Rich Text Area. Press ALT-0 for help.":"编辑区. 按Alt+0键打开帮助","System Font":"默认字体","Failed to upload image: {0}":"图片上传失败: {0}","Failed to load plugin: {0} from url {1}":"插件加载失败: {0} - {1}","Failed to load plugin url: {0}":"插件加载失败: {0}","Failed to initialize plugin: {0}":"插件初始化失败: {0}",example:"示例",Search:"查找",All:"全部",Currency:"货币",Text:"文本",Quotations:"引用",Mathematical:"数学运算符","Extended Latin":"拉丁语扩充",Symbols:"符号",Arrows:"箭头","User Defined":"自定义","dollar sign":"美元","currency sign":"货币","euro-currency sign":"欧元","colon sign":"冒号","cruzeiro sign":"克鲁赛罗币","french franc sign":"法郎","lira sign":"里拉","mill sign":"密尔","naira sign":"奈拉","peseta sign":"比塞塔","rupee sign":"卢比","won sign":"韩元","new sheqel sign":"新谢克尔","dong sign":"越南盾","kip sign":"老挝基普","tugrik sign":"图格里克","drachma sign":"德拉克马","german penny symbol":"德国便士","peso sign":"比索","guarani sign":"瓜拉尼","austral sign":"澳元","hryvnia sign":"格里夫尼亚","cedi sign":"塞地","livre tournois sign":"里弗弗尔","spesmilo sign":"一千spesoj的货币符号,该货币未使用","tenge sign":"坚戈","indian rupee sign":"印度卢比","turkish lira sign":"土耳其里拉","nordic mark sign":"北欧马克","manat sign":"马纳特","ruble sign":"卢布","yen character":"日元","yuan character":"人民币元","yuan character, in hong kong and taiwan":"元的繁体字","yen/yuan character variant one":"元(大写)","Loading emoticons...":"正在加载表情文字...","Could not load emoticons":"不能加载表情文字",People:"人类","Animals and Nature":"动物和自然","Food and Drink":"食物和饮品",Activity:"活动","Travel and Places":"旅游和地点",Objects:"物件",Flags:"旗帜",Characters:"字数","Characters (no spaces)":"字数(不含空格)","Error: Form submit field collision.":"错误: 表单提交字段冲突.","Error: No form element found.":"错误: 未找到可用的form.",Update:"更新","Color swatch":"颜色样本",Turquoise:"青绿",Green:"绿色",Blue:"蓝色",Purple:"紫色","Navy Blue":"海军蓝","Dark Turquoise":"深蓝绿色","Dark Green":"暗绿","Medium Blue":"中蓝","Medium Purple":"中紫","Midnight Blue":"深蓝",Yellow:"黄色",Orange:"橙色",Red:"红色","Light Gray":"浅灰",Gray:"灰色","Dark Yellow":"暗黄","Dark Orange":"暗橙","Dark Red":"暗红","Medium Gray":"中灰","Dark Gray":"深灰",Black:"黑色",White:"白色","Switch to or from fullscreen mode":"切换全屏模式","Open help dialog":"打开帮助对话框",history:"历史",styles:"样式",formatting:"格式化",alignment:"对齐",indentation:"缩进","permanent pen":"记号笔",comments:"注释",Anchor:"锚点","Special character":"特殊字符","Code sample":"代码示例",Color:"颜色",Emoticons:"表情","Document properties":"文档属性",Image:"图片","Insert link":"插入链接",Target:"目标",Link:"链接",Poster:"封面",Media:"音视频",Print:"打印",Prev:"上一个","Find and replace":"查找并替换","Whole words":"全字匹配",Spellcheck:"拼写检查",Caption:"标题","Insert template":"插入模板","Code view":"代码区域","Select...":"选择...","Format Painter":"格式刷","No templates defined.":"无内置模板","Special character...":"特殊字符...","Open link":"打开链接"},n["None"]="无",n["Count"]="统计",n["Document"]="整个文档",n["Selection"]="选取部分",n["Words"]="字词数",n["{0} characters"]="{0} 个字符",n["Alternative source URL"]="替代资源地址",n["Alternative description"]="替代说明文字",n["Accessibility"]="可访问性",n["Image is decorative"]="仅用于装饰",n["Line height"]="行高",n["Cut column"]="剪切列",n["Copy column"]="复制列",n["Paste column before"]="粘贴到前方",n["Paste column after"]="粘贴到后方",n["Copy column"]="复制列",n["Version"]="版本",n["Keyboard Navigation"]="键盘导航",n["Open popup menu for split buttons"]="该组合键的作用是软回车(插入br)",n))},a13c:function(e,t,n){},bc3a:function(e,t,n){e.exports=n("0fbf")("./node_modules/axios/index.js")}}]);