@fly-vue/lcdp-iview 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ (window["webpackJsonp_$fly_vue_lcdp_iview_"]=window["webpackJsonp_$fly_vue_lcdp_iview_"]||[]).push([["lcdp-iview-basecomponent"],{1443:function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvFooter",functional:!0,render:function(t,e){return t("Footer",e.data,e.children)}}},1455: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)}}},"202c":function(t,e,i){"use strict";i.r(e);var n=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)},l=[],r={name:"IvSpan",props:{text:{type:String,default:""}}},s=r,a=i("2877"),u=Object(a["a"])(s,n,l,!1,null,null,null);e["default"]=u.exports},2837: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)}}},"2d78":function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvTitle",props:{tag:{type:String,default:"h1"},title:{type:String,default:"标题"}},render:function(t){return t(this.tag,{class:["le-title","le-title-"+this.tag]},[this.$slots.title||this.title])}}},"3d5e":function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvContainer",functional:!0,props:{},render:function(t,e){return t("div",e.data,e.children)}}},4421:function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvHeader",functional:!0,render:function(t,e){return t("Header",e.data,e.children)}}},"91d3":function(t,e,i){"use strict";i.r(e);var n=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)},l=[],r={name:"IvFlex",componentName:"IvFlex",props:{mode:{type:String,default:"horizontal"},gutter:{type:Number,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}}},s=r,a=i("2877"),u=Object(a["a"])(s,n,l,!1,null,null,null);e["default"]=u.exports},"933a":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)}}},"9ac5":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{domProps:{innerHTML:t._s(t.html)}})},l=[],r=i("a026"),s=Object(r["defineComponent"])({name:"IvHtml",props:{html:{type:String,default:""}}}),a=s,u=i("2877"),o=Object(u["a"])(a,n,l,!1,null,null,null);e["default"]=o.exports},a0fb:function(t,e,i){"use strict";i.r(e);var n=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))])},l=[],r=i("a026"),s=Object(r["defineComponent"])({name:"IvText",props:{text:{type:String},showTitle:{type:Boolean,default:!1},maxLine:{type:Number,default:0}},computed:{styles:function(){return this.maxLine>0?{display:"-webkit-box","-webkit-box-orient":"vertical",overflow:"hidden","-webkit-line-clamp":this.maxLine}:{display:"inline-block"}}},setup:function(){return{}}}),a=s,u=i("2877"),o=Object(u["a"])(a,n,l,!1,null,null,null);e["default"]=o.exports},a204:function(t,e,i){"use strict";i.r(e);var n=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}})},l=[],r=i("a026"),s=Object(r["defineComponent"])({name:"IvIframe",props:{src:{type:String},width:{type:String,default:"100%"},height:{type:String,default:"100%"},scrolling:{type:String}},data:function(){return{}}}),a=s,u=i("2877"),o=Object(u["a"])(a,n,l,!1,null,null,null);e["default"]=o.exports},a627: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)}}},a910:function(t,e,i){"use strict";i.r(e);var n=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)},l=[],r={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))}}},s=r,a=i("2877"),u=Object(a["a"])(s,n,l,!1,null,null,null);e["default"]=u.exports},ad70: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)}}},da70:function(t,e,i){"use strict";i.r(e);var n=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()])])},l=[],r={name:"IvLi",props:{title:{type:String,default:""}},methods:{handleClick:function(t){this.$emit("click",t)}}},s=r,a=i("2877"),u=Object(a["a"])(s,n,l,!1,null,null,null);e["default"]=u.exports},e3c4:function(t,e,i){"use strict";i.r(e),e["default"]={name:"IvLink",props:{tag:{type:String,default:"a"},type:{type:String,default:"page"},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,n=e.resolve(this.to,i,this.append);return n?n.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||"url"===this.type)return!1;t.preventDefault(),this.handleClick()}else this.$emit("click",t)}},render:function(t){return 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},on:{click:this.handleCheckClick}},this.$slots.default?[this.text,this.$slots.default]:this.text)}}},efb4:function(t,e,i){"use strict";i.r(e);var n=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))},l=[],r=i("0e7e"),s={name:"IvImage",props:{src:{type:String,default:r},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?r:this.src},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=s,u=i("2877"),o=Object(u["a"])(a,n,l,!1,null,null,null);e["default"]=o.exports},f80d:function(t,e,i){"use strict";i.r(e);var n=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)},l=[],r={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)}))}}},s=r,a=i("2877"),u=Object(a["a"])(s,n,l,!1,null,null,null);e["default"]=u.exports}}]);
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "author": "bingo",
3
3
  "dependencies": {
4
- "@fly-vue/components": "1.6.0",
5
- "@fly-vue/core": "1.6.0",
6
- "@fly-vue/iview-pro": "1.6.0",
7
- "@fly-vue/lcdp-designer": "1.6.0",
8
- "@fly-vue/lcdp-engine": "1.6.0",
9
- "@fly-vue/lcdp-engine-extra": "1.6.0",
10
- "@fly-vue/loader": "1.6.0",
11
- "@fly-vue/ts": "1.6.0",
12
- "@fly-vue/ufs": "1.6.0"
4
+ "@fly-vue/components": "1.6.1",
5
+ "@fly-vue/core": "1.6.1",
6
+ "@fly-vue/iview-pro": "1.6.1",
7
+ "@fly-vue/lcdp-designer": "1.6.1",
8
+ "@fly-vue/lcdp-engine": "1.6.1",
9
+ "@fly-vue/lcdp-engine-extra": "1.6.1",
10
+ "@fly-vue/loader": "1.6.1",
11
+ "@fly-vue/ts": "1.6.1",
12
+ "@fly-vue/ufs": "1.6.1"
13
13
  },
14
14
  "description": "@fly-vue/lcdp-iview",
15
15
  "engines": {
@@ -24,5 +24,5 @@
24
24
  "start": ""
25
25
  },
26
26
  "types": "@types/index.d.ts",
27
- "version": "1.6.0"
27
+ "version": "1.6.1"
28
28
  }