产品一张表luckysheet前端代码库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2 lines
6.6 KiB

(("undefined"!==typeof self?self:this)["webpackJsonpchartmix"]=("undefined"!==typeof self?self:this)["webpackJsonpchartmix"]||[]).push([[5],{1540:function(e,t,n){"use strict";n.r(t),n.d(t,"ChartBaseLabel",(function(){return l})),n.d(t,"ChartBaseSwitch",(function(){return o})),n.d(t,"ChartBaseInput",(function(){return r})),n.d(t,"ChartBaseSelect",(function(){return u})),n.d(t,"ChartBaseSlider",(function(){return c})),n.d(t,"ChartBaseBox",(function(){return d})),n.d(t,"importComp",(function(){return p}));n("d3b7"),n("e6cf");var s=n("5880");n.d(t,"mapActions",(function(){return s["mapActions"]}));var i=n("ca00");n.d(t,"deepCopy",(function(){return i["b"]}));var a=n("2ef0");n.d(t,"isEqual",(function(){return a["isEqual"]}));var l=function(){return n.e(2).then(n.bind(null,"02ce"))},o=function(){return n.e(11).then(n.bind(null,"9e1a"))},r=function(){return n.e(9).then(n.bind(null,"37cd"))},u=function(){return n.e(10).then(n.bind(null,"138b"))},c=function(){return n.e(1).then(n.bind(null,"b57e"))},d=function(){return n.e(8).then(n.bind(null,"3f9f"))},p=function(e){return{"chart-base-label":e.ChartBaseLabel,"chart-base-input":e.ChartBaseInput,"chart-base-switch":e.ChartBaseSwitch,"chart-base-slider":e.ChartBaseSlider,"chart-base-select":e.ChartBaseSelect}}},"954f":function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-collapse-item",{attrs:{name:"3"}},[n("template",{slot:"title"},[e._v(" "+e._s(e.setItem.modalName)+" "),n("i",{staticClass:"iconfont icon-biaoti"})]),n("chart-base-switch",{attrs:{switchValue:e.legend.show},on:{"update:switchValue":function(t){return e.$set(e.legend,"show",t)},"update:switch-value":function(t){return e.$set(e.legend,"show",t)}}},[n("div",{attrs:{slot:"title"},slot:"title"},[e._v("显示图例")])]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.legend.show,expression:"legend.show"}]},[n("chart-base-label",{attrs:{router:e.router+"/label",baseLabelOption:e.legend.label},on:{"update:baseLabelOption":function(t){return e.$set(e.legend,"label",t)},"update:base-label-option":function(t){return e.$set(e.legend,"label",t)}}},[n("div",{attrs:{slot:"title"},slot:"title"},[e._v("图例样式")])]),n("chart-base-select",{attrs:{selectOption:e.positionOption,selectValue:e.legend.position.value},on:{"update:selectValue":function(t){return e.$set(e.legend.position,"value",t)},"update:select-value":function(t){return e.$set(e.legend.position,"value",t)}}},[n("div",{attrs:{slot:"select"},slot:"select"},[e._v("图例位置")])]),"custom"===e.legend.position.value?n("el-row",[n("chart-base-slider",{attrs:{baseSliderOption:e.legend.position.offsetX,unit:"%",content:"滑动修改水平偏移量"},on:{"update:baseSliderOption":function(t){return e.$set(e.legend.position,"offsetX",t)},"update:base-slider-option":function(t){return e.$set(e.legend.position,"offsetX",t)}}}),n("chart-base-slider",{attrs:{baseSliderOption:e.legend.position.offsetY,unit:"%",content:"滑动修改垂直偏移量"},on:{"update:baseSliderOption":function(t){return e.$set(e.legend.position,"offsetY",t)},"update:base-slider-option":function(t){return e.$set(e.legend.position,"offsetY",t)}}})],1):e._e(),n("chart-base-select",{attrs:{selectOption:e.dirOptions,selectValue:e.legend.position.direction},on:{"update:selectValue":function(t){return e.$set(e.legend.position,"direction",t)},"update:select-value":function(t){return e.$set(e.legend.position,"direction",t)}}},[n("div",{attrs:{slot:"select"},slot:"select"},[e._v("图例朝向")])]),n("chart-base-select",{attrs:{selectOption:e.sizeOption,selectValue:e.legend.width.value},on:{"update:selectValue":function(t){return e.$set(e.legend.width,"value",t)},"update:select-value":function(t){return e.$set(e.legend.width,"value",t)}}},[n("div",{attrs:{slot:"select"},slot:"select"},[e._v("图例宽度")])]),n("chart-base-select",{attrs:{selectOption:e.sizeOption,selectValue:e.legend.height.value},on:{"update:selectValue":function(t){return e.$set(e.legend.height,"value",t)},"update:select-value":function(t){return e.$set(e.legend.height,"value",t)}}},[n("div",{attrs:{slot:"select"},slot:"select"},[e._v("图例高度")])]),"custom"==e.legend.width.value?n("chart-base-slider",{attrs:{baseSliderOption:e.legend.width.cusSize,unit:"px",content:"滑动修改图例宽度"},on:{"update:baseSliderOption":function(t){return e.$set(e.legend.width,"cusSize",t)},"update:base-slider-option":function(t){return e.$set(e.legend.width,"cusSize",t)}}}):e._e(),"custom"==e.legend.height.value?n("chart-base-slider",{attrs:{baseSliderOption:e.legend.height.cusSize,unit:"px",content:"滑动修改图例高度"},on:{"update:baseSliderOption":function(t){return e.$set(e.legend.height,"cusSize",t)},"update:base-slider-option":function(t){return e.$set(e.legend.height,"cusSize",t)}}}):e._e(),n("chart-base-select",{attrs:{selectOption:e.distanceOption,selectValue:e.legend.distance.value},on:{"update:selectValue":function(t){return e.$set(e.legend.distance,"value",t)},"update:select-value":function(t){return e.$set(e.legend.distance,"value",t)}}},[n("div",{attrs:{slot:"select"},slot:"select"},[e._v("图例间距")])]),"custom"==e.legend.distance.value?n("chart-base-slider",{attrs:{baseSliderOption:e.legend.distance.cusGap,unit:"px",content:"滑动修改图例间距"},on:{"update:baseSliderOption":function(t){return e.$set(e.legend.distance,"cusGap",t)},"update:base-slider-option":function(t){return e.$set(e.legend.distance,"cusGap",t)}}},[n("div",{attrs:{slot:"title"},slot:"title"},[e._v("图例样式")])]):e._e()],1)],2)},i=[],a=n("5530"),l=n("b4cc"),o=n("1540"),r=n("7a56"),u=n("a70a"),c={props:{legendOption:Object,chartAllType:String,router:String,lang:{type:String,default:"cn"}},data:function(){return{legend:{},positionOption:o["deepCopy"](l["n"]),sizeOption:o["deepCopy"](l["p"]),distanceOption:o["deepCopy"](l["e"]),dirOptions:[{value:"horizontal",label:"水平"},{value:"vertical",label:"垂直"}],setItem:{}}},components:Object(a["a"])({},o["importComp"](o)),mounted:function(){"ch"!=this.lang?this.setItem=u["a"]["chartLegend"]:this.setItem=r["a"]["chartLegend"]},watch:{legendOption:{handler:function(e){o["isEqual"](this.legend,e)||(this.legend=o["deepCopy"](e))},immediate:!0,deep:!0},legend:{handler:function(e,t){t&&this.changeLegend()},deep:!0,immediate:!0},lang:function(e){this.setItem="ch"!=e?u["a"]["chartLegend"]:r["a"]["chartLegend"]}},methods:Object(a["a"])(Object(a["a"])({},o["mapActions"]("chartSetting",["updateChartItem"])),{},{changeLegend:function(){var e={updateObj:o["deepCopy"](this.legend),router:this.router};this.updateChartItem(e)}})},d=c,p=n("2877"),h=Object(p["a"])(d,s,i,!1,null,null,null);t["default"]=h.exports}}]);
//# sourceMappingURL=chartmix.umd.min.5.js.map