diff --git a/.gitignore b/.gitignore index 1a486aa..0c6598e 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,5 @@ typings/ # editor .idea/ +# mac +.DS_Store diff --git a/example/server.js b/example/server.js index 6448ffe..6f6a319 100644 --- a/example/server.js +++ b/example/server.js @@ -9,7 +9,7 @@ function getIP() { let interfaces = os.networkInterfaces() for (let key in interfaces) { interfaces[key].some(function(details) { - if (details.family == 'IPv4' && key == 'en8') { + if (details.family == 'IPv4' && key == 'en0') { IPv4 = details.address return true } diff --git a/example/src/demos/swipeOut/index.js b/example/src/demos/swipeOut/index.js index a68e20a..bb225e0 100644 --- a/example/src/demos/swipeOut/index.js +++ b/example/src/demos/swipeOut/index.js @@ -25,7 +25,9 @@ export default create({ tips: '您的帐号有异常登录,如非本人操作,请及时修改密码', id: 4 } - ] + ], + + visible: true } }, methods: { @@ -34,6 +36,39 @@ export default create({ if (index === 1) { this.lists.splice(index, 1) } + }, + + loadmore() { + setTimeout(() => { + if (this.lists > 100) { + this.visible = false + } else { + this.lists.push({ + title: '网易更新了', + tips: '不再支持Flash视频播放', + id: 1 + }, + { + title: '电影新资讯', + tips: '电影《红海行动》上映以来票房暴涨,很多国人表示对国产电影有了新的改观', + id: 2 + }, + { + title: '聚焦两会·共筑中国梦', + tips: '习近平代表的两会故事', + id: 3 + }, + { + title: '微信团队', + tips: '您的帐号有异常登录,如非本人操作,请及时修改密码', + id: 4 + }) + } + }, 500) } + }, + + created () { + this.loadmore() } }) diff --git a/example/src/demos/swipeOut/index.tpl b/example/src/demos/swipeOut/index.tpl index d72ead1..4a75c89 100644 --- a/example/src/demos/swipeOut/index.tpl +++ b/example/src/demos/swipeOut/index.tpl @@ -10,4 +10,6 @@ + + diff --git a/lib/baobab-ui.css b/lib/baobab-ui.css index 6b96739..2378f3c 100644 --- a/lib/baobab-ui.css +++ b/lib/baobab-ui.css @@ -148,7 +148,11 @@ background-color: #3e81f1; border: 1px solid transparent; } -.baobab-radio-icon--normal.disabled { +.Radio--icon-normal i { + -webkit-transform: rotate(-45deg) scale(0); + transform: rotate(-45deg) scale(0); +} +.Radio--icon-normal.disabled { background-color: #ccc; } .baobab-radio-icon--normal i { @@ -174,7 +178,7 @@ transition: transform 0.2s; transition: transform 0.2s, -webkit-transform 0.2s; } -.baobab-radio-icon--check i { +.Radio--icon-check i { -webkit-transform: rotate(-45deg) scale(0); transform: rotate(-45deg) scale(0); } diff --git a/lib/baobab-ui.css.map b/lib/baobab-ui.css.map index a2f73d2..7eba2f6 100644 --- a/lib/baobab-ui.css.map +++ b/lib/baobab-ui.css.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/common.styl","webpack:///./common.styl","webpack:///./src/Badge/index.styl","webpack:///./index.styl","webpack:///./src/Radio/index.styl","webpack:///./src/Radio/Radio-Group/index.styl","webpack:///./src/Switcher/index.styl","webpack:///./src/Loading/index.styl","webpack:///./src/Loadmore/index.styl","webpack:///./src/SwipeOut/index.styl","webpack:///./src/SwipeOut/SwipeOutItem/index.styl","webpack:///./src/TabBar/index.styl","webpack:///./src/TabBar/TabItem/index.styl","webpack:///./src/Tab/index.styl","webpack:///./src/Cell/index.styl","webpack:///./src/Cell/CellGroup/index.styl","webpack:///./src/Text-Input/index.styl","webpack:///./src/Field/index.styl","webpack:///./src/Textareaer/index.styl","webpack:///./src/Modal/index.styl","webpack:///./src/Dialog/index.styl","webpack:///./src/ActionSheet/index.styl","webpack:///./src/Toast/index.styl","webpack:///./src/Popup/index.styl","webpack:///./src/Spinner/index.styl","webpack:///./src/Button/index.styl"],"names":[],"mappings":"AAEE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;EACA;UAAA;CCDH;ADMC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;EACA;UAAA;CCJH;ADUD;;;ECNE;ADWF;AACA;;EAEE;EAAA;EAAA;EAAA;CCTD;ADYD;;EAEE;UAAA;CCVD;ADaD;AACA;;EAEE;EAAA;EAAA;EAAA;CCXD;ADcD;;EAEE;UAAA;CCZD;ADeD;AACA;;EAEE;EAAA;CCbD;ADgBD;;EAEE;CCdD;ADiBD;AAEA;;EAEE;EAAA;EAAA;EAAA;CChBD;ADmBD;;EAEE;UAAA;CCjBD;AACD,0CC9DA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CCCD;ADED;EACE;EACA;EACA;EACA;CCAD;ADGD;EACE;EACA;EACA;CCDD;AACD,+CCvBA;EACE;EACA;EACA;UAAA;EACA;CDCD;ACED;EACE;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;CDAD;ACGD;EACE;EACA;EACA;EACA;EACA;CDDD;ACID;EACE;EACA;EACA;EACA;CDFD;ACKD;EACE;CDHD;ACMD;EACE;EACA;CDJD;ACQD;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;CDND;ACSD;EACE;CDPD;ACUD;EACE;UAAA;CDRD;ACWD;EACE;EACA;EACA;EAAA;EAAA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;EACA;EAAA;EAAA;EAAA;CDTD;ACYD;EACE;UAAA;CDVD;ACaD;EACE;EACA;EACA;EAAA;EAAA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;EACA;EAAA;EAAA;EAAA;CDXD;ACcD;EACE;EACA;EACA;EACA;CDZD;ACeD;EACE;CDbD;AACD,+CEnFA;EACE;EACA;EACA;UAAA;CFCD;AEED;EACE;CFAD;AACD,2DGRA;EACE;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;EACA;EACA;EAAA;CHCD;AGED;EACE;EACA;EACA;CHAD;AGGD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAAA;CHDD;AGID;EACE;EACA;EACA;EACA;CHFD;AGKD;EACE;EACA;EACA;EACA;EACA;EACA;CHHD;AGMD;EACE;UAAA;CHJD;AGOD;EACE;UAAA;CHLD;AACD,kDI9CA;EACE;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;EACA;EACA;CJCD;AIED;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;EACA;CJAD;AIGD;EACE;EACA;CJDD;AIID;EACE;EACA;EACA;CJFD;AACD,iDKhCA;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;UAAA;CLCD;AKED;EACE;CLAD;AACD,kDMZA;EACE;EACA;EACA;CNCD;AACD,kDOLA;EACE;CPCD;AOCC;EACE;EACA;EACA;EACA;EACA;EACA;UAAA;CPCH;AOCG;EACE;EACA;EACA;EACA;CPCL;AACD,+DQjBA;EACE;EACA;EACA;EACA;EACA;EAAA;EAAA;EACA;EAAA;CRCD;AQED;EACE;UAAA;CRAD;AQGD;EACE;CRDD;AACD,gDSdA;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;CTCD;ASED;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;CTAD;ASCC;EACE;EACA;EACA;EACA;CTCH;ASAG;EACE;CTEL;ASGD;EACE;CTDD;ASID;EACE;CTFD;ASKD;EACE;CTHD;ASMD;EACE;EACA;EACA;CTJD;ASOD;EACE;EACA;EACA;CTLD;ASQD;EACE;CTND;AACD,wDU9CA;EACE;EACA;EAAA;EAAA;EACA;CVCD;AUCC;EACE;EACA;EACA;CVCH;AUCG;EACE;CVCL;AUGC;EACE;MAAA;UAAA;EACA;EACA;EACA;CVDH;AUEG;EACE;EACA;CVAL;AUGG;EACE;EACA;EACA;EACA;EACA;EACA;CVDL;AUEK;EACE;EACA;EACA;CVAP;AUGK;EACE;EACA;CVDP;AUIK;EACE;EACA;CVFP;AACD,6CW5CA;EACC;EAAA;EAAA;EACA;EACA;EACA;UAAA;EACA;EACA;MAAA;UAAA;CXCA;AWED;EACC;MAAA;UAAA;EACA;EACA;CXAA;AWGD;EACC;EACA;EACA;EACA;EACA;EACA;CXDA;AWID;EACC;EACA;EACA;CXFA;AWGA;EACC;EACA;CXDD;AWKD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CXHA;AACD,8CY1CA;EACC;CZCA;AYAA;EACC;CZED;AYAA;EACC;CZED;AYAA;EACC;CZED;AACD,wDaVA;EACE;CbDD;AaID;EACE;EAAA;EAAA;EACA;EACA;CbFD;AaIC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CbFH;AaMD;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;CbJD;AaOD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CbLD;AaMC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CbJH;AaOC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CbLH;AaSD;EACE;CbPD;AACD,oDczDA;EACE;EACA;EACA;EACA;EACA;EACA;CdCD;AcED;EACE;MAAA;UAAA;EACA;EAAA;EAAA;EACA;MAAA;UAAA;CdAD;AcGD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CdDD;AACD,+Ce1BA;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;EACA;CfCD;AeED;EACE;EAAA;MAAA;UAAA;CfAD;AeGD;EACE;EAMA;EACA;CfND;AeAC;EACE;EACA;EACA;CfEH;AeID;EACE;MAAA;UAAA;CfFD;AeGC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CfDH;AeKD;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;CfHD;AeMD;EACE;CfJD;AACD,oDgBzCA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;ChBCD;AACD,+CiBTA;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;CjBCD;AiBED;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;CjBAD;AiBGD;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;UAAA;CjBDD;AiBID;EACE;EACA;EACA;CjBFD;AiBKD;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;UAAA;EACA;EACA;CjBHD;AiBMD;EACE;CjBJD;AiBKC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CjBHH;AiBOD;EACE;CjBLD;AiBQD;EACE;EACA;CjBND;AiBSD;EACE;EACA;EACA;EACA;CjBPD;AACD,gDkB/DA;EACE;EACA;EACA;EACA;EACA;EACA;ClBCD;AkBED;EACE;EACA;EACA;EACA;EACA;EACA;ClBAD;AkBGD;EACE;EACA;EACA;EACA;EACA;ClBDD;AkBID;EACE;ClBFD;AkBKD;EACE;EACA;EACA;EACA;EACA;EACA;ClBHD;AkBMD;EACE;ClBJD;AACD,qDmBrCA;EACE;EACA;EACA;EACA;EACA;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;UAAA;CnBCD;AmBED;EACE;MAAA;UAAA;CnBAD;AmBGD;EACE;MAAA;UAAA;CnBDD;AmBID;EACE;MAAA;UAAA;CnBFD;AmBKD;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;UAAA;CnBHD;AmBMD;EACE;EACA;EACA;EACA;EACA;CnBJD;AmBOD;EACE;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;EACA;CnBLD;AmBQD;EACE;EACA;EACA;EACA;CnBND;AmBSD;EACE;EACA;CnBPD;AmBUD;EACE;EACA;EACA;CnBRD;AmBWD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CnBTD;AmBYD;EACE;EACA;EACA;EACA;UAAA;CnBVD;AmBaD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CnBXD;AmBcD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CnBZD;AmBeD;EACE;EACA;EACA;EACA;EACA;CnBbD;AmBgBD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CnBdD;AmB2BD;EACE;EACA;EACA;EACA;EACA;CnBzBD;AmBUiB;EAChB;IACE;YAAA;GnBAD;EmBGD;IACE;YAAA;GnBDD;CACF;AmBNiB;EAChB;IACE;YAAA;GnBgBD;EmBbD;IACE;YAAA;GnBeD;CACF;AACD,+CoB3JA;EACE;EACA;EACA;EACA;CpBCD;AACD,+CqBNA;EACE;EACA;UAAA;EACA;EACA;EACA;UAAA;CrBCD;AqBEiB;EAChB;IACE;YAAA;GrBQD;EqBLD;IACE;YAAA;GrBOD;CACF;AqBdiB;EAChB;IACE;YAAA;GrBwBD;EqBrBD;IACE;YAAA;GrBuBD;CACF;AACD,iDsBvCA;EACE;EACA;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;UAAA;CtBCD;AsBED;EACE;CtBAD;AsBID;EACE;EACA;EACA;EACA;EACA;EACA;CtBFD;AsBKD;EACE;EACA;EACA;CtBHD;AACD","file":"baobab-ui.css","sourcesContent":["// 上下边框\n.baobab-border-top {\n &:before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 1px;\n border-top: 1px solid #e6e6e6;\n transform: scaleY(0.5);\n transform-origin: left top;\n }\n}\n\n.baobab-border-bottom {\n &:after {\n content: \"\";\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 1px;\n border-top: 1px solid #e6e6e6;\n transform: scaleY(0.5);\n transform-origin: left bottom;\n }\n}\n\n// 组件动画\n\n/*\n 进入开始 进入过渡结束 离开开始 离开过渡结束\n enter -> enter-active -> leave -> leave-active\n*/\n\n/*由下到上*/\n.baobab--anim--bottomUp-enter-active,\n.baobab--anim--bottomUp-leave-active {\n transition: transform .3s;\n}\n\n.baobab--anim--bottomUp-enter,\n.baobab--anim--bottomUp-leave-active {\n transform: translateY(100%);\n}\n\n/*由上到下*/\n.baobab--anim--topDown-enter-active,\n.baobab--anim--topDown-leave-active {\n transition: transform .3s;\n}\n\n.baobab--anim--topDown-enter,\n.baobab--anim--topDown-leave-active {\n transform: translateY(-100%);\n}\n\n/*淡入*/\n.baobab--anim--fade-enter-active,\n.baobab--anim--fade-leave-active {\n transition: opacity .3s;\n}\n\n.baobab--anim--fade-enter,\n.baobab--anim--fade-leave-active {\n opacity: 0;\n}\n\n/*缩放*/\n\n.baobab-anim-scale-enter-active,\n.baobab-anim-scale-leave-active {\n transition: transform .3s;\n}\n\n.baobab-anim-scale-enter,\n.baobab-anim-scale-leave-active {\n transform: scale(1.1);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/common.styl",".baobab-border-top:before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 1px;\n border-top: 1px solid #e6e6e6;\n transform: scaleY(0.5);\n transform-origin: left top;\n}\n.baobab-border-bottom:after {\n content: \"\";\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 1px;\n border-top: 1px solid #e6e6e6;\n transform: scaleY(0.5);\n transform-origin: left bottom;\n}\n/*\n 进入开始 进入过渡结束 离开开始 离开过渡结束\n enter -> enter-active -> leave -> leave-active\n*/\n/*由下到上*/\n.baobab--anim--bottomUp-enter-active,\n.baobab--anim--bottomUp-leave-active {\n transition: transform 0.3s;\n}\n.baobab--anim--bottomUp-enter,\n.baobab--anim--bottomUp-leave-active {\n transform: translateY(100%);\n}\n/*由上到下*/\n.baobab--anim--topDown-enter-active,\n.baobab--anim--topDown-leave-active {\n transition: transform 0.3s;\n}\n.baobab--anim--topDown-enter,\n.baobab--anim--topDown-leave-active {\n transform: translateY(-100%);\n}\n/*淡入*/\n.baobab--anim--fade-enter-active,\n.baobab--anim--fade-leave-active {\n transition: opacity 0.3s;\n}\n.baobab--anim--fade-enter,\n.baobab--anim--fade-leave-active {\n opacity: 0;\n}\n/*缩放*/\n.baobab-anim-scale-enter-active,\n.baobab-anim-scale-leave-active {\n transition: transform 0.3s;\n}\n.baobab-anim-scale-enter,\n.baobab-anim-scale-leave-active {\n transform: scale(1.1);\n}\n/*# sourceMappingURL=src/common.css.map */\n\n\n// WEBPACK FOOTER //\n// ./common.styl",".baobab-badge {\n display: inline-block;\n text-align: center;\n color: #fff;\n font-size: 12px;\n height: 14px;\n line-height: 14px;\n border-radius: 100px;\n padding: 0 4px;\n background-clip: padding-box;\n vertical-align: middle;\n}\n\n.baobab-badge--dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n padding: 0;\n}\n\n.baobab-badge--single {\n width: 14px;\n padding: 0;\n border-radius: 50%;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Badge/index.styl",".baobab-button {\n overflow: hidden;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n}\n.baobab-button--name {\n line-height: 1;\n}\n.baobab-button--overlay {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n opacity: 0.5;\n}\n.baobab-button--spinner {\n position: relative;\n z-index: 1;\n margin-right: 5px;\n}\n/*# sourceMappingURL=src/Button/index.css.map */\n\n\n// WEBPACK FOOTER //\n// ./index.styl",".baobab-radio {\n position: relative;\n background-color: #fff;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n.baobab-radio--wrap {\n position: relative;\n display: flex;\n align-items: center;\n padding: 0 14px;\n min-height: 50px;\n}\n\n.baobab-radio--wrap input[type=radio] {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: transparent;\n}\n\n.baobab-radio--icon {\n position: absolute;\n right: 15px;\n width: 20px;\n height: 20px;\n}\n\n.baobab-radio--icon.position {\n left: 0;\n}\n\n.baobab-radio-icon--normal {\n border-radius: 50%;\n border: 1px solid #cacaca;\n // transition: all .2s;\n}\n\n.baobab-radio-icon--normal.selected {\n display: flex;\n justify-content: center;\n background-color: #3E81F1;\n border: 1px solid transparent;\n}\n\n.baobab-radio-icon--normal.disabled {\n background-color: #ccc;\n}\n\n.baobab-radio-icon--normal i {\n transform: rotate(-45deg) scale(0);\n}\n\n.baobab-radio-icon--normal.selected i {\n position: absolute;\n top: 4px;\n display: flex;\n width: 10px;\n height: 5px;\n border-top: 1px solid transparent;\n border-right: 1px solid transparent;\n border-bottom: 1px solid #fff;\n border-left: 1px solid #fff;\n transform: rotate(-45deg) scale(1);\n transition transform .2s;\n}\n\n.baobab-radio-icon--check i {\n transform: rotate(-45deg) scale(0);\n}\n\n.baobab-radio-icon--check.selected i {\n position: absolute;\n top: 4px;\n display: flex;\n width: 13px;\n height: 7px;\n border-top: 1px solid transparent;\n border-right: 1px solid transparent;\n border-bottom: 1px solid #3E81F1;\n border-left: 1px solid #3E81F1;\n transform: rotate(-45deg) scale(1);\n transition transform .2s;\n}\n\n.baobab-radio--label {\n position: absolute;\n left: 0;\n font-size: 16px;\n color: #333;\n}\n\n.baobab-radio--label.position {\n left: 30px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/index.styl",".baobab-radioGroup {\n padding-left: 14px;\n background-color: #fff;\n box-sizing: border-box;\n}\n\n.baobab-radioGroup .baobab-radio--wrap {\n padding-left: 0;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/Radio-Group/index.styl",".baobab-switcher {\n position: relative;\n display: flex;\n align-items: center;\n overflow: hidden;\n width: 60px;\n height: 30px;\n padding: 2px;\n border-radius: 100px;\n transition: all .2s linear;\n}\n\n.baobab-switcher.baobab-switcher--noText {\n width: 52px;\n height: 30px;\n padding: 0;\n}\n\n.baobab-switcher--slider {\n position: absolute;\n left: 2px;\n top: 2px;\n width: 30px;\n height: 30px;\n border-radius: 50%;\n background-color: #fff;\n transition: all .2s linear;\n}\n\n.baobab-switcher.baobab-switcher--noText .baobab-switcher--slider {\n width: 28px;\n height: 28px;\n left: 1px;\n top: 1px;\n}\n\n.baobab-switcher--text {\n float: left;\n width: 50%;\n text-align: center;\n line-height: 30px;\n font-size: 14px;\n color: #fff;\n}\n\n.baobab-switcher--open {\n transform: translateX(30px);\n}\n\n.baobab-switcher.baobab-switcher--noText .baobab-switcher--open {\n transform: translateX(22px);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Switcher/index.styl",".baobab-loading {\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n width: 100%;\n height: 100%;\n}\n\n.baobab-loading--main {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 80px;\n height: 80px;\n background-color: #333;\n background-opacity: .95;\n border-radius: 4px;\n}\n\n.baobab-loading--main.baobab-loading-main--message {\n width: 112px;\n height: 112px;\n}\n\n.baobab-loading--message {\n color: #fff;\n margin-top: 10px;\n font-size: 16px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loading/index.styl",".baobab-loadmore {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 30px;\n font-size: 12px;\n color: #858585;\n box-sizing: border-box;\n}\n\n.baobab-loadmore--desc {\n margin-left: 8px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loadmore/index.styl",".baobab-swipe-out {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/index.styl",".baobab-swipe-out-item {\n position: relative;\n \n .baobab-swipe-out-item-btns {\n display: inline-block;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n transform: translateX(100%);\n\n .baobab-swipe-out-item-btn {\n background-color: red;\n color: #fff;\n width: 100px;\n text-align: center;\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/SwipeOutItem/index.styl",".TabBar {\n position: absolute;\n left: 0;\n bottom: 0;\n right: 0;\n display: flex;\n transition: all .3s;\n}\n\n.TabBar--hide {\n transform: translateY(100%);\n}\n\n.TabBar--fixed {\n position: fixed;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/index.styl",".TabItem {\n display: flex;\n flex: 1;\n justify-content: center;\n align-item: center;\n height: 49px;\n color: #999;\n}\n\n.TabItem--main {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-item: center;\n font-size: 10px;\n .TabItem--icon {\n position: relative;\n text-align: center;\n height: 20px;\n padding-bottom: 2px;\n img {\n height: 100%;\n }\n }\n}\n\n.TabItem.selected {\n color: #3E81F1;\n}\n\n.TabItem--title {\n position: relative;\n}\n\n.TabItem--title.TabItem--noIcon {\n font-size: 14px;\n}\n\n.TabItem--badge {\n position: absolute;\n left: 18px;\n bottom: 11px;\n}\n\n.TabItem--badge--noIcon {\n position: absolute;\n left: 25px;\n bottom: 11px;\n}\n\n.TabItem--disabled {\n color: #E6E6E6;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/TabItem/index.styl",".Tab-Plugin {\n position: relative;\n display: flex;\n width: 100%;\n\n &.overflow-style {\n display: block;\n overflow-x: auto;\n white-space: nowrap;\n \n &::-webkit-scrollbar {\n display: none;\n }\n }\n\n .tab-item-wrapper {\n flex: 1;\n text-align: center;\n z-index: 2;\n position: relative\n &.overflow-style {\n display: inline-block;\n width: 100px;\n }\n\n .tab-item {\n display:inline-block;\n position: relative;\n padding: 15px 3px;\n font-size: 14px;\n z-index: 2;\n position: relative\n .badge--wrapper {\n position: absolute;\n right: -8px;\n top: 2px;\n }\n\n &.isActive {\n border-bottom 2px solid #3E81F1;\n color: #3E81F1;\n }\n\n &.isChangeColor {\n border-color: #ffffff;\n color: #ffffff;\n }\n }\n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tab/index.styl",".baobab-cell {\n\tdisplay: flex;\n\tmin-height: 50px;\n\tpadding: 0 14px;\n\tbox-sizing: border-box;\n\tposition: relative;\n\talign-items: center;\n}\n\n.baobab-cell--hd {\n\tflex: 1;\n\tfont-size: 16px;\n\tmin-width: 75px;\n}\n\n.baobab-cell--bd {\n\toverflow: hidden;\n\tpadding-left: 5px;\n\tword-break: break-all; // 换行\n\tfont-size: 14px;\n\tcolor: #999;\n\tmargin-right: 5px;\n}\n\n.baobab-cell--icon {\n\twidth: 16px;\n\theight: 16px;\n\tpadding-right: 6px;\n\timg {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n}\n\n.baobab-cell--arrow {\n\tdisplay: block;\n\twidth: 8px;\n\theight: 8px;\n\tborder-right-color: #cacaca;\n\tborder-bottom-color: #cacaca;\n\tborder-right-width: 1px;\n\tborder-bottom-width: 1px;\n\tborder-right-style: solid;\n\tborder-bottom-style: solid;\n\ttransform: rotate(-45deg);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/index.styl",".baobab-cellGroup {\n\tposition: relative;\n\t.baobab-cellBox {\n\t\tpadding-left: 14px;\n\t}\n\t.baobab-cell {\n\t\tpadding-left: 0;\n\t}\n\t.baobab-cellBox:last-child .baobab-cell:after {\n\t\tborder: 0;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/CellGroup/index.styl","$height = 20px\n\n::-webkit-input-placeholder {\n color: #bdbdbd;\n}\n\n.baobab-text--input {\n display: flex;\n width: 100%;\n height: $height;\n // font-size: 0;\n input {\n -webkit-appearance: none; // 移除原生样式\n outline: none;\n border: 0;\n width: 100%;\n height: $height;\n padding: 0;\n border-radius: 0;\n font-size: 14px;\n color: #333;\n line-height: $height;\n font-family: sans-serif;\n background-color: #fff;\n }\n}\n\n.baobab-text-input--iconBox {\n display: flex;\n align-items: center;\n margin-left: 5px;\n}\n\n.baobab-text-input--del {\n display: inline-block;\n position: relative;\n width: 15px;\n height: 15px;\n background-color: #cacaca;\n border-radius: 50%;\n transform: rotate(45deg);\n &:before {\n position: absolute;\n content: \"\"\n width: 9px;\n height: 1px;\n background-color: #fff;\n left: 3px;\n top: 7px;\n }\n\n &:after {\n position: absolute;\n content: \"\"\n width: 1px;\n height: 9px;\n background-color: #fff;\n left: 7px;\n top: 3px;\n }\n}\n\n.baobab-text-input--del.baobab-text-input--warn {\n background-color: #FC5E61;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Text-Input/index.styl",".baobab-field--label {\n min-width: 75px;\n max-width: 150px;\n padding-right: 20px;\n font-size: 14px;\n font-family: sans-serif;\n color: #333;\n}\n\n.baobab-field--bd {\n flex: 1;\n display: flex;\n align-items: center;\n}\n\n.baobab-field--msg {\n position: absolute;\n left: 0;\n top: 41px;\n width: 95%;\n height: 26px;\n line-height: 26px;\n background-color: #FCF9EC;\n border: 1px solid #FCE5B8;\n border-radius: 2px;\n text-align: center;\n z-index:3;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Field/index.styl",".B-TextArea {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n padding: 12px 14px;\n}\n\n.B-TextArea.B-TextArea-title {\n flex-direction: row;\n}\n\n.B-TextArea--hd {\n width: 51px;\n span {\n display: block;\n width: 100%;\n font-size: 16px;\n }\n word-wrap: break-word; // 允许长单词换到下一行\n word-break: break-all; // \b折行方式\n}\n\n.B-TextArea--bd {\n flex: 1;\n textarea {\n display: block\n resize: none;\n outline: 0;\n border: 0;\n width: 100%;\n font-size: inherit; // 从父元素继承\n color: #333;\n line-height: inherit;\n }\n}\n\n.B-TextArea--bd-max {\n display: flex;\n justify-content: flex-end;\n font-size: 12px;\n color: #bdbdbd;\n}\n\n.startInput {\n color: #333;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Textareaer/index.styl",".baobab-modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/Modal/index.styl",".baobab-dialog {\n display: flex;\n justify-content: center;\n align-items:center;\n width: 100%;\n height: 100%;\n}\n\n.baobab-dialog--main {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background-color: #fff;\n border-radius: 4px;\n overflow: hidden;\n}\n\n.baobab-dialog--bd {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 28px 28px 0;\n width: 100%;\n box-sizing: border-box;\n}\n\n.baobab-dialog--title {\n font-size: 16px;\n color: #333;\n line-height: 1;\n}\n\n.baobab-dialog--content {\n display: flex;\n justify-content: center;\n padding-bottom: 20px;\n width: 100%;\n box-sizing: border-box;\n font-size: 14px;\n color: #666;\n}\n\n.baobab-dialog--buttons {\n width: 100%;\n .baobab-dialog--button {\n display: inline-block;\n position: relative;\n text-align: center;\n height: 43px;\n line-height: 43px;\n font-size: 16px;\n box-sizing: border-box;\n }\n}\n\n.baobab-dialog--separator .baobab-dialog--button:nth-child(1) {\n border-right: 1px solid #e6e6e6;\n}\n\n.baobab-dialog--separator .baobab-dialog--button:nth-child(2) {\n background-color: #F6F6F6;\n color: #3E81F1;\n}\n\n.baobab-dialog--prompt {\n width: 100%;\n border: 1px solid #ccc;\n height: 25px;\n outline: none;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Dialog/index.styl",".baobab-actionSheet {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #f3f3f3;\n width: 100%;\n}\n\n.baobab-actionSheet--title {\n height: 36px;\n line-height: 36px;\n text-align: center;\n font-size: 14px;\n color: #666;\n background-color: #fff;\n}\n\n.baobab-actionSheet--options {\n background-color: #fff;\n margin-bottom: 10px;\n overflow: scroll;\n max-height: 300px;\n -webkit-overflow-scrolling: touch;\n}\n\n::-webkit-scrollbar {\n display: none;\n}\n\n.baobab-actionSheet--option {\n position: relative;\n height: 44px;\n line-height: 44px;\n color: #333;\n font-size: 16px;\n text-align: center;\n}\n\n.baobab-actionSheet--cancel {\n background-color: #fff;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ActionSheet/index.styl",".baobab-toast {\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 60px 0 40px;\n box-sizing: border-box;\n}\n\n.baobab-toast.top {\n align-items: flex-start;\n}\n\n.baobab-toast.bottom {\n align-items: flex-end;\n}\n\n.baobab-toast.center {\n align-items: center;\n}\n\n.baobab-toast--main {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 24px 24px 20px;\n background-color: #333;\n border-radius: 4px;\n box-sizing: border-box;\n}\n\n.baobab-toast--main.onlyText {\n width: 208px;\n padding: 14px 0;\n border-radius: 10px;\n text-align: center;\n word-wrap: break-word;\n}\n\n.baobab-toast--icon {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 10px;\n border: 1px solid #fff;\n border-radius: 50%;\n width: 36px;\n height: 36px;\n}\n\n.baobab-toast--main.wifi .baobab-toast--icon {\n width: 40px;\n height: 40px;\n border-radius: 0;\n border: 0;\n}\n\n.baobab-toast--main.loadingB .baobab-toast--icon {\n border-radius: 0;\n border: 0;\n}\n\n.baobab-toast--main.loadingA .baobab-toast--icon {\n border-radius: 0;\n border: 0;\n margin-bottom: 0;\n}\n\n.baobab-toast--icon i.icon--success {\n position: absolute;\n left: 8px;\n top: 9px;\n width: 20px;\n height: 10px;\n border-left: 1px solid #fff;\n border-bottom: 1px solid #fff;\n border-right: 0;\n border-top: 0;\n transform: rotate(-45deg);\n}\n\n.baobab-toast--icon i.icon--failure {\n position: absolute;\n width: 100%;\n height: 100%;\n transform: rotate(45deg);\n}\n\n.baobab-toast--icon i.icon--failure:before {\n position: absolute;\n content: \"\";\n height: 1px;\n width 19px;\n background-color: #fff;\n left: 9px;\n top: 18px;\n}\n\n.baobab-toast--icon i.icon--failure:after {\n position: absolute;\n content: \"\";\n height: 18px;\n width 1px;\n background-color: #fff;\n left: 18px;\n top: 9px;\n}\n\n.baobab-toast--icon i.icon--wifi {\n display: inline-block;\n width: 100%;\n height: 100%;\n background: url(../wifi.svg) no-repeat;\n background-position: center;\n}\n\n.baobab-toast--icon i.icon--loadingA {\n display: inline-block;\n width: 32px;\n height: 32px;\n background: url(../loading-spinner.svg) no-repeat;\n background-position: center;\n background-size: 100%;\n animation: loading 2.5s linear infinite;\n}\n\n@keyframes loading {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\n.baobab-toast--content {\n padding-left: 20px;\n padding-right: 20px;\n color: #fff;\n font-size: 16px;\n line-height: 22px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Toast/index.styl",".baobab-popup {\n position: absolute;\n left: 0;\n right: 0;\n width: 100%;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Popup/index.styl",".baobab-spinner {\n display: inline-block;\n box-sizing: border-box;\n border-radius: 50%;\n border-style: solid;\n animation: spinner .9s linear infinite;\n}\n\n@keyframes spinner {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Spinner/index.styl",".baobab-button {\n overflow: hidden;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n}\n\n.baobab-button--name {\n line-height: 1;\n}\n\n// 遮罩层\n.baobab-button--overlay {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n opacity: .5;\n}\n\n.baobab-button--spinner {\n position: relative;\n z-index: 1;\n margin-right: 5px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Button/index.styl"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/common.styl","webpack:///./common.styl","webpack:///./src/Badge/index.styl","webpack:///./index.styl","webpack:///./src/Radio/index.styl","webpack:///./src/Radio/Radio-Group/index.styl","webpack:///./src/Switcher/index.styl","webpack:///./src/Loading/index.styl","webpack:///./src/Loadmore/index.styl","webpack:///./src/SwipeOut/index.styl","webpack:///./src/SwipeOut/SwipeOutItem/index.styl","webpack:///./src/TabBar/index.styl","webpack:///./src/TabBar/TabItem/index.styl","webpack:///./src/Tab/index.styl","webpack:///./src/Cell/index.styl","webpack:///./src/Cell/CellGroup/index.styl","webpack:///./src/Text-Input/index.styl","webpack:///./src/Field/index.styl","webpack:///./src/Textareaer/index.styl","webpack:///./src/Modal/index.styl","webpack:///./src/Dialog/index.styl","webpack:///./src/ActionSheet/index.styl","webpack:///./src/Toast/index.styl","webpack:///./src/Popup/index.styl","webpack:///./src/Spinner/index.styl","webpack:///./src/Button/index.styl"],"names":[],"mappings":"AAEE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;EACA;UAAA;CCDH;ADMC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;EACA;UAAA;CCJH;ADUD;;;ECNE;ADWF;AACA;;EAEE;EAAA;EAAA;EAAA;CCTD;ADYD;;EAEE;UAAA;CCVD;ADaD;AACA;;EAEE;EAAA;EAAA;EAAA;CCXD;ADcD;;EAEE;UAAA;CCZD;ADeD;AACA;;EAEE;EAAA;CCbD;ADgBD;;EAEE;CCdD;ADiBD;AAEA;;EAEE;EAAA;EAAA;EAAA;CChBD;ADmBD;;EAEE;UAAA;CCjBD;AACD,0CC9DA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CCCD;ADED;EACE;EACA;EACA;EACA;CCAD;ADGD;EACE;EACA;EACA;CCDD;AACD,+CCvBA;EACE;EACA;EACA;UAAA;EACA;CDCD;ACED;EACE;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;CDAD;ACGD;EACE;EACA;EACA;EACA;EACA;CDDD;ACID;EACE;EACA;EACA;EACA;CDFD;ACKD;EACE;CDHD;ACMD;EACE;EACA;CDJD;ACQD;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;CDND;ACSD;EACE;UAAA;CDPD;ACUD;EACE;CDRD;ACWD;EACE;UAAA;CDTD;ACYD;EACE;EACA;EACA;EAAA;EAAA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;EACA;EAAA;EAAA;EAAA;CDVD;ACaD;EACE;UAAA;CDXD;ACcD;EACE;EACA;EACA;EAAA;EAAA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;EACA;EAAA;EAAA;EAAA;CDZD;ACeD;EACE;EACA;EACA;EACA;CDbD;ACgBD;EACE;CDdD;AACD,+CEtFA;EACE;EACA;EACA;UAAA;CFCD;AEED;EACE;CFAD;AACD,2DGRA;EACE;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;EACA;EACA;EAAA;CHCD;AGED;EACE;EACA;EACA;CHAD;AGGD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAAA;CHDD;AGID;EACE;EACA;EACA;EACA;CHFD;AGKD;EACE;EACA;EACA;EACA;EACA;EACA;CHHD;AGMD;EACE;UAAA;CHJD;AGOD;EACE;UAAA;CHLD;AACD,kDI9CA;EACE;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;EACA;EACA;CJCD;AIED;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;EACA;CJAD;AIGD;EACE;EACA;CJDD;AIID;EACE;EACA;EACA;CJFD;AACD,iDKhCA;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;UAAA;CLCD;AKED;EACE;CLAD;AACD,kDMZA;EACE;EACA;EACA;CNCD;AACD,kDOLA;EACE;CPCD;AOCC;EACE;EACA;EACA;EACA;EACA;EACA;UAAA;CPCH;AOCG;EACE;EACA;EACA;EACA;CPCL;AACD,+DQjBA;EACE;EACA;EACA;EACA;EACA;EAAA;EAAA;EACA;EAAA;CRCD;AQED;EACE;UAAA;CRAD;AQGD;EACE;CRDD;AACD,gDSdA;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;CTCD;ASED;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;CTAD;ASCC;EACE;EACA;EACA;EACA;CTCH;ASAG;EACE;CTEL;ASGD;EACE;CTDD;ASID;EACE;CTFD;ASKD;EACE;CTHD;ASMD;EACE;EACA;EACA;CTJD;ASOD;EACE;EACA;EACA;CTLD;ASQD;EACE;CTND;AACD,wDU9CA;EACE;EACA;EAAA;EAAA;EACA;CVCD;AUCC;EACE;EACA;EACA;CVCH;AUCG;EACE;CVCL;AUGC;EACE;MAAA;UAAA;EACA;EACA;EACA;CVDH;AUEG;EACE;EACA;CVAL;AUGG;EACE;EACA;EACA;EACA;EACA;EACA;CVDL;AUEK;EACE;EACA;EACA;CVAP;AUGK;EACE;EACA;CVDP;AUIK;EACE;EACA;CVFP;AACD,6CW5CA;EACC;EAAA;EAAA;EACA;EACA;EACA;UAAA;EACA;EACA;MAAA;UAAA;CXCA;AWED;EACC;MAAA;UAAA;EACA;EACA;CXAA;AWGD;EACC;EACA;EACA;EACA;EACA;EACA;CXDA;AWID;EACC;EACA;EACA;CXFA;AWGA;EACC;EACA;CXDD;AWKD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CXHA;AACD,8CY1CA;EACC;CZCA;AYAA;EACC;CZED;AYAA;EACC;CZED;AYAA;EACC;CZED;AACD,wDaVA;EACE;CbDD;AaID;EACE;EAAA;EAAA;EACA;EACA;CbFD;AaIC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CbFH;AaMD;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;CbJD;AaOD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CbLD;AaMC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CbJH;AaOC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CbLH;AaSD;EACE;CbPD;AACD,oDczDA;EACE;EACA;EACA;EACA;EACA;EACA;CdCD;AcED;EACE;MAAA;UAAA;EACA;EAAA;EAAA;EACA;MAAA;UAAA;CdAD;AcGD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CdDD;AACD,+Ce1BA;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;EACA;CfCD;AeED;EACE;EAAA;MAAA;UAAA;CfAD;AeGD;EACE;EAMA;EACA;CfND;AeAC;EACE;EACA;EACA;CfEH;AeID;EACE;MAAA;UAAA;CfFD;AeGC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CfDH;AeKD;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;CfHD;AeMD;EACE;CfJD;AACD,oDgBzCA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;ChBCD;AACD,+CiBTA;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;CjBCD;AiBED;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;CjBAD;AiBGD;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;UAAA;CjBDD;AiBID;EACE;EACA;EACA;CjBFD;AiBKD;EACE;EAAA;EAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;UAAA;EACA;EACA;CjBHD;AiBMD;EACE;CjBJD;AiBKC;EACE;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CjBHH;AiBOD;EACE;CjBLD;AiBQD;EACE;EACA;CjBND;AiBSD;EACE;EACA;EACA;EACA;CjBPD;AACD,gDkB/DA;EACE;EACA;EACA;EACA;EACA;EACA;ClBCD;AkBED;EACE;EACA;EACA;EACA;EACA;EACA;ClBAD;AkBGD;EACE;EACA;EACA;EACA;EACA;ClBDD;AkBID;EACE;ClBFD;AkBKD;EACE;EACA;EACA;EACA;EACA;EACA;ClBHD;AkBMD;EACE;ClBJD;AACD,qDmBrCA;EACE;EACA;EACA;EACA;EACA;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;UAAA;CnBCD;AmBED;EACE;MAAA;UAAA;CnBAD;AmBGD;EACE;MAAA;UAAA;CnBDD;AmBID;EACE;MAAA;UAAA;CnBFD;AmBKD;EACE;EAAA;EAAA;EACA;EAAA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;UAAA;CnBHD;AmBMD;EACE;EACA;EACA;EACA;EACA;CnBJD;AmBOD;EACE;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;EACA;EACA;EACA;EACA;CnBLD;AmBQD;EACE;EACA;EACA;EACA;CnBND;AmBSD;EACE;EACA;CnBPD;AmBUD;EACE;EACA;EACA;CnBRD;AmBWD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CnBTD;AmBYD;EACE;EACA;EACA;EACA;UAAA;CnBVD;AmBaD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CnBXD;AmBcD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CnBZD;AmBeD;EACE;EACA;EACA;EACA;EACA;CnBbD;AmBgBD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;UAAA;CnBdD;AmB2BD;EACE;EACA;EACA;EACA;EACA;CnBzBD;AmBUiB;EAChB;IACE;YAAA;GnBAD;EmBGD;IACE;YAAA;GnBDD;CACF;AmBNiB;EAChB;IACE;YAAA;GnBgBD;EmBbD;IACE;YAAA;GnBeD;CACF;AACD,+CoB3JA;EACE;EACA;EACA;EACA;CpBCD;AACD,+CqBNA;EACE;EACA;UAAA;EACA;EACA;EACA;UAAA;CrBCD;AqBEiB;EAChB;IACE;YAAA;GrBQD;EqBLD;IACE;YAAA;GrBOD;CACF;AqBdiB;EAChB;IACE;YAAA;GrBwBD;EqBrBD;IACE;YAAA;GrBuBD;CACF;AACD,iDsBvCA;EACE;EACA;EACA;EAAA;EAAA;EACA;MAAA;UAAA;EACA;MAAA;UAAA;EACA;UAAA;CtBCD;AsBED;EACE;CtBAD;AsBID;EACE;EACA;EACA;EACA;EACA;EACA;CtBFD;AsBKD;EACE;EACA;EACA;CtBHD;AACD","file":"baobab-ui.css","sourcesContent":["// 上下边框\n.baobab-border-top {\n &:before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 1px;\n border-top: 1px solid #e6e6e6;\n transform: scaleY(0.5);\n transform-origin: left top;\n }\n}\n\n.baobab-border-bottom {\n &:after {\n content: \"\";\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 1px;\n border-top: 1px solid #e6e6e6;\n transform: scaleY(0.5);\n transform-origin: left bottom;\n }\n}\n\n// 组件动画\n\n/*\n 进入开始 进入过渡结束 离开开始 离开过渡结束\n enter -> enter-active -> leave -> leave-active\n*/\n\n/*由下到上*/\n.baobab--anim--bottomUp-enter-active,\n.baobab--anim--bottomUp-leave-active {\n transition: transform .3s;\n}\n\n.baobab--anim--bottomUp-enter,\n.baobab--anim--bottomUp-leave-active {\n transform: translateY(100%);\n}\n\n/*由上到下*/\n.baobab--anim--topDown-enter-active,\n.baobab--anim--topDown-leave-active {\n transition: transform .3s;\n}\n\n.baobab--anim--topDown-enter,\n.baobab--anim--topDown-leave-active {\n transform: translateY(-100%);\n}\n\n/*淡入*/\n.baobab--anim--fade-enter-active,\n.baobab--anim--fade-leave-active {\n transition: opacity .3s;\n}\n\n.baobab--anim--fade-enter,\n.baobab--anim--fade-leave-active {\n opacity: 0;\n}\n\n/*缩放*/\n\n.baobab-anim-scale-enter-active,\n.baobab-anim-scale-leave-active {\n transition: transform .3s;\n}\n\n.baobab-anim-scale-enter,\n.baobab-anim-scale-leave-active {\n transform: scale(1.1);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/common.styl",".baobab-border-top:before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 1px;\n border-top: 1px solid #e6e6e6;\n transform: scaleY(0.5);\n transform-origin: left top;\n}\n.baobab-border-bottom:after {\n content: \"\";\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 1px;\n border-top: 1px solid #e6e6e6;\n transform: scaleY(0.5);\n transform-origin: left bottom;\n}\n/*\n 进入开始 进入过渡结束 离开开始 离开过渡结束\n enter -> enter-active -> leave -> leave-active\n*/\n/*由下到上*/\n.baobab--anim--bottomUp-enter-active,\n.baobab--anim--bottomUp-leave-active {\n transition: transform 0.3s;\n}\n.baobab--anim--bottomUp-enter,\n.baobab--anim--bottomUp-leave-active {\n transform: translateY(100%);\n}\n/*由上到下*/\n.baobab--anim--topDown-enter-active,\n.baobab--anim--topDown-leave-active {\n transition: transform 0.3s;\n}\n.baobab--anim--topDown-enter,\n.baobab--anim--topDown-leave-active {\n transform: translateY(-100%);\n}\n/*淡入*/\n.baobab--anim--fade-enter-active,\n.baobab--anim--fade-leave-active {\n transition: opacity 0.3s;\n}\n.baobab--anim--fade-enter,\n.baobab--anim--fade-leave-active {\n opacity: 0;\n}\n/*缩放*/\n.baobab-anim-scale-enter-active,\n.baobab-anim-scale-leave-active {\n transition: transform 0.3s;\n}\n.baobab-anim-scale-enter,\n.baobab-anim-scale-leave-active {\n transform: scale(1.1);\n}\n/*# sourceMappingURL=src/common.css.map */\n\n\n// WEBPACK FOOTER //\n// ./common.styl",".baobab-badge {\n display: inline-block;\n text-align: center;\n color: #fff;\n font-size: 12px;\n height: 14px;\n line-height: 14px;\n border-radius: 100px;\n padding: 0 4px;\n background-clip: padding-box;\n vertical-align: middle;\n}\n\n.baobab-badge--dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n padding: 0;\n}\n\n.baobab-badge--single {\n width: 14px;\n padding: 0;\n border-radius: 50%;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Badge/index.styl",".baobab-button {\n overflow: hidden;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n}\n.baobab-button--name {\n line-height: 1;\n}\n.baobab-button--overlay {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n opacity: 0.5;\n}\n.baobab-button--spinner {\n position: relative;\n z-index: 1;\n margin-right: 5px;\n}\n/*# sourceMappingURL=src/Button/index.css.map */\n\n\n// WEBPACK FOOTER //\n// ./index.styl",".baobab-radio {\n position: relative;\n background-color: #fff;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n.baobab-radio--wrap {\n position: relative;\n display: flex;\n align-items: center;\n padding: 0 14px;\n min-height: 50px;\n}\n\n.baobab-radio--wrap input[type=radio] {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: transparent;\n}\n\n.baobab-radio--icon {\n position: absolute;\n right: 15px;\n width: 20px;\n height: 20px;\n}\n\n.baobab-radio--icon.position {\n left: 0;\n}\n\n.baobab-radio-icon--normal {\n border-radius: 50%;\n border: 1px solid #cacaca;\n // transition: all .2s;\n}\n\n.baobab-radio-icon--normal.selected {\n display: flex;\n justify-content: center;\n background-color: #3E81F1;\n border: 1px solid transparent;\n}\n\n.Radio--icon-normal i {\n transform: rotate(-45deg) scale(0);\n}\n\n.Radio--icon-normal.disabled {\n background-color: #ccc;\n}\n\n.baobab-radio-icon--normal i {\n transform: rotate(-45deg) scale(0);\n}\n\n.baobab-radio-icon--normal.selected i {\n position: absolute;\n top: 4px;\n display: flex;\n width: 10px;\n height: 5px;\n border-top: 1px solid transparent;\n border-right: 1px solid transparent;\n border-bottom: 1px solid #fff;\n border-left: 1px solid #fff;\n transform: rotate(-45deg) scale(1);\n transition: transform .2s;\n}\n\n.Radio--icon-check i {\n transform: rotate(-45deg) scale(0);\n}\n\n.baobab-radio-icon--check.selected i {\n position: absolute;\n top: 4px;\n display: flex;\n width: 13px;\n height: 7px;\n border-top: 1px solid transparent;\n border-right: 1px solid transparent;\n border-bottom: 1px solid #3E81F1;\n border-left: 1px solid #3E81F1;\n transform: rotate(-45deg) scale(1);\n transition transform .2s;\n}\n\n.baobab-radio--label {\n position: absolute;\n left: 0;\n font-size: 16px;\n color: #333;\n}\n\n.baobab-radio--label.position {\n left: 30px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/index.styl",".baobab-radioGroup {\n padding-left: 14px;\n background-color: #fff;\n box-sizing: border-box;\n}\n\n.baobab-radioGroup .baobab-radio--wrap {\n padding-left: 0;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/Radio-Group/index.styl",".baobab-switcher {\n position: relative;\n display: flex;\n align-items: center;\n overflow: hidden;\n width: 60px;\n height: 30px;\n padding: 2px;\n border-radius: 100px;\n transition: all .2s linear;\n}\n\n.baobab-switcher.baobab-switcher--noText {\n width: 52px;\n height: 30px;\n padding: 0;\n}\n\n.baobab-switcher--slider {\n position: absolute;\n left: 2px;\n top: 2px;\n width: 30px;\n height: 30px;\n border-radius: 50%;\n background-color: #fff;\n transition: all .2s linear;\n}\n\n.baobab-switcher.baobab-switcher--noText .baobab-switcher--slider {\n width: 28px;\n height: 28px;\n left: 1px;\n top: 1px;\n}\n\n.baobab-switcher--text {\n float: left;\n width: 50%;\n text-align: center;\n line-height: 30px;\n font-size: 14px;\n color: #fff;\n}\n\n.baobab-switcher--open {\n transform: translateX(30px);\n}\n\n.baobab-switcher.baobab-switcher--noText .baobab-switcher--open {\n transform: translateX(22px);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Switcher/index.styl",".baobab-loading {\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n width: 100%;\n height: 100%;\n}\n\n.baobab-loading--main {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 80px;\n height: 80px;\n background-color: #333;\n background-opacity: .95;\n border-radius: 4px;\n}\n\n.baobab-loading--main.baobab-loading-main--message {\n width: 112px;\n height: 112px;\n}\n\n.baobab-loading--message {\n color: #fff;\n margin-top: 10px;\n font-size: 16px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loading/index.styl",".baobab-loadmore {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 30px;\n font-size: 12px;\n color: #858585;\n box-sizing: border-box;\n}\n\n.baobab-loadmore--desc {\n margin-left: 8px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loadmore/index.styl",".baobab-swipe-out {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/index.styl",".baobab-swipe-out-item {\n position: relative;\n \n .baobab-swipe-out-item-btns {\n display: inline-block;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n transform: translateX(100%);\n\n .baobab-swipe-out-item-btn {\n background-color: red;\n color: #fff;\n width: 100px;\n text-align: center;\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/SwipeOutItem/index.styl",".TabBar {\n position: absolute;\n left: 0;\n bottom: 0;\n right: 0;\n display: flex;\n transition: all .3s;\n}\n\n.TabBar--hide {\n transform: translateY(100%);\n}\n\n.TabBar--fixed {\n position: fixed;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/index.styl",".TabItem {\n display: flex;\n flex: 1;\n justify-content: center;\n align-item: center;\n height: 49px;\n color: #999;\n}\n\n.TabItem--main {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-item: center;\n font-size: 10px;\n .TabItem--icon {\n position: relative;\n text-align: center;\n height: 20px;\n padding-bottom: 2px;\n img {\n height: 100%;\n }\n }\n}\n\n.TabItem.selected {\n color: #3E81F1;\n}\n\n.TabItem--title {\n position: relative;\n}\n\n.TabItem--title.TabItem--noIcon {\n font-size: 14px;\n}\n\n.TabItem--badge {\n position: absolute;\n left: 18px;\n bottom: 11px;\n}\n\n.TabItem--badge--noIcon {\n position: absolute;\n left: 25px;\n bottom: 11px;\n}\n\n.TabItem--disabled {\n color: #E6E6E6;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/TabItem/index.styl",".Tab-Plugin {\n position: relative;\n display: flex;\n width: 100%;\n\n &.overflow-style {\n display: block;\n overflow-x: auto;\n white-space: nowrap;\n \n &::-webkit-scrollbar {\n display: none;\n }\n }\n\n .tab-item-wrapper {\n flex: 1;\n text-align: center;\n z-index: 2;\n position: relative\n &.overflow-style {\n display: inline-block;\n width: 100px;\n }\n\n .tab-item {\n display:inline-block;\n position: relative;\n padding: 15px 3px;\n font-size: 14px;\n z-index: 2;\n position: relative\n .badge--wrapper {\n position: absolute;\n right: -8px;\n top: 2px;\n }\n\n &.isActive {\n border-bottom 2px solid #3E81F1;\n color: #3E81F1;\n }\n\n &.isChangeColor {\n border-color: #ffffff;\n color: #ffffff;\n }\n }\n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tab/index.styl",".baobab-cell {\n\tdisplay: flex;\n\tmin-height: 50px;\n\tpadding: 0 14px;\n\tbox-sizing: border-box;\n\tposition: relative;\n\talign-items: center;\n}\n\n.baobab-cell--hd {\n\tflex: 1;\n\tfont-size: 16px;\n\tmin-width: 75px;\n}\n\n.baobab-cell--bd {\n\toverflow: hidden;\n\tpadding-left: 5px;\n\tword-break: break-all; // 换行\n\tfont-size: 14px;\n\tcolor: #999;\n\tmargin-right: 5px;\n}\n\n.baobab-cell--icon {\n\twidth: 16px;\n\theight: 16px;\n\tpadding-right: 6px;\n\timg {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n}\n\n.baobab-cell--arrow {\n\tdisplay: block;\n\twidth: 8px;\n\theight: 8px;\n\tborder-right-color: #cacaca;\n\tborder-bottom-color: #cacaca;\n\tborder-right-width: 1px;\n\tborder-bottom-width: 1px;\n\tborder-right-style: solid;\n\tborder-bottom-style: solid;\n\ttransform: rotate(-45deg);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/index.styl",".baobab-cellGroup {\n\tposition: relative;\n\t.baobab-cellBox {\n\t\tpadding-left: 14px;\n\t}\n\t.baobab-cell {\n\t\tpadding-left: 0;\n\t}\n\t.baobab-cellBox:last-child .baobab-cell:after {\n\t\tborder: 0;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/CellGroup/index.styl","$height = 20px\n\n::-webkit-input-placeholder {\n color: #bdbdbd;\n}\n\n.baobab-text--input {\n display: flex;\n width: 100%;\n height: $height;\n // font-size: 0;\n input {\n -webkit-appearance: none; // 移除原生样式\n outline: none;\n border: 0;\n width: 100%;\n height: $height;\n padding: 0;\n border-radius: 0;\n font-size: 14px;\n color: #333;\n line-height: $height;\n font-family: sans-serif;\n background-color: #fff;\n }\n}\n\n.baobab-text-input--iconBox {\n display: flex;\n align-items: center;\n margin-left: 5px;\n}\n\n.baobab-text-input--del {\n display: inline-block;\n position: relative;\n width: 15px;\n height: 15px;\n background-color: #cacaca;\n border-radius: 50%;\n transform: rotate(45deg);\n &:before {\n position: absolute;\n content: \"\"\n width: 9px;\n height: 1px;\n background-color: #fff;\n left: 3px;\n top: 7px;\n }\n\n &:after {\n position: absolute;\n content: \"\"\n width: 1px;\n height: 9px;\n background-color: #fff;\n left: 7px;\n top: 3px;\n }\n}\n\n.baobab-text-input--del.baobab-text-input--warn {\n background-color: #FC5E61;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Text-Input/index.styl",".baobab-field--label {\n min-width: 75px;\n max-width: 150px;\n padding-right: 20px;\n font-size: 14px;\n font-family: sans-serif;\n color: #333;\n}\n\n.baobab-field--bd {\n flex: 1;\n display: flex;\n align-items: center;\n}\n\n.baobab-field--msg {\n position: absolute;\n left: 0;\n top: 41px;\n width: 95%;\n height: 26px;\n line-height: 26px;\n background-color: #FCF9EC;\n border: 1px solid #FCE5B8;\n border-radius: 2px;\n text-align: center;\n z-index:3;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Field/index.styl",".B-TextArea {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n padding: 12px 14px;\n}\n\n.B-TextArea.B-TextArea-title {\n flex-direction: row;\n}\n\n.B-TextArea--hd {\n width: 51px;\n span {\n display: block;\n width: 100%;\n font-size: 16px;\n }\n word-wrap: break-word; // 允许长单词换到下一行\n word-break: break-all; // \b折行方式\n}\n\n.B-TextArea--bd {\n flex: 1;\n textarea {\n display: block\n resize: none;\n outline: 0;\n border: 0;\n width: 100%;\n font-size: inherit; // 从父元素继承\n color: #333;\n line-height: inherit;\n }\n}\n\n.B-TextArea--bd-max {\n display: flex;\n justify-content: flex-end;\n font-size: 12px;\n color: #bdbdbd;\n}\n\n.startInput {\n color: #333;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Textareaer/index.styl",".baobab-modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n\n// WEBPACK FOOTER //\n// ./src/Modal/index.styl",".baobab-dialog {\n display: flex;\n justify-content: center;\n align-items:center;\n width: 100%;\n height: 100%;\n}\n\n.baobab-dialog--main {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background-color: #fff;\n border-radius: 4px;\n overflow: hidden;\n}\n\n.baobab-dialog--bd {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 28px 28px 0;\n width: 100%;\n box-sizing: border-box;\n}\n\n.baobab-dialog--title {\n font-size: 16px;\n color: #333;\n line-height: 1;\n}\n\n.baobab-dialog--content {\n display: flex;\n justify-content: center;\n padding-bottom: 20px;\n width: 100%;\n box-sizing: border-box;\n font-size: 14px;\n color: #666;\n}\n\n.baobab-dialog--buttons {\n width: 100%;\n .baobab-dialog--button {\n display: inline-block;\n position: relative;\n text-align: center;\n height: 43px;\n line-height: 43px;\n font-size: 16px;\n box-sizing: border-box;\n }\n}\n\n.baobab-dialog--separator .baobab-dialog--button:nth-child(1) {\n border-right: 1px solid #e6e6e6;\n}\n\n.baobab-dialog--separator .baobab-dialog--button:nth-child(2) {\n background-color: #F6F6F6;\n color: #3E81F1;\n}\n\n.baobab-dialog--prompt {\n width: 100%;\n border: 1px solid #ccc;\n height: 25px;\n outline: none;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Dialog/index.styl",".baobab-actionSheet {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #f3f3f3;\n width: 100%;\n}\n\n.baobab-actionSheet--title {\n height: 36px;\n line-height: 36px;\n text-align: center;\n font-size: 14px;\n color: #666;\n background-color: #fff;\n}\n\n.baobab-actionSheet--options {\n background-color: #fff;\n margin-bottom: 10px;\n overflow: scroll;\n max-height: 300px;\n -webkit-overflow-scrolling: touch;\n}\n\n::-webkit-scrollbar {\n display: none;\n}\n\n.baobab-actionSheet--option {\n position: relative;\n height: 44px;\n line-height: 44px;\n color: #333;\n font-size: 16px;\n text-align: center;\n}\n\n.baobab-actionSheet--cancel {\n background-color: #fff;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ActionSheet/index.styl",".baobab-toast {\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 60px 0 40px;\n box-sizing: border-box;\n}\n\n.baobab-toast.top {\n align-items: flex-start;\n}\n\n.baobab-toast.bottom {\n align-items: flex-end;\n}\n\n.baobab-toast.center {\n align-items: center;\n}\n\n.baobab-toast--main {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 24px 24px 20px;\n background-color: #333;\n border-radius: 4px;\n box-sizing: border-box;\n}\n\n.baobab-toast--main.onlyText {\n width: 208px;\n padding: 14px 0;\n border-radius: 10px;\n text-align: center;\n word-wrap: break-word;\n}\n\n.baobab-toast--icon {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 10px;\n border: 1px solid #fff;\n border-radius: 50%;\n width: 36px;\n height: 36px;\n}\n\n.baobab-toast--main.wifi .baobab-toast--icon {\n width: 40px;\n height: 40px;\n border-radius: 0;\n border: 0;\n}\n\n.baobab-toast--main.loadingB .baobab-toast--icon {\n border-radius: 0;\n border: 0;\n}\n\n.baobab-toast--main.loadingA .baobab-toast--icon {\n border-radius: 0;\n border: 0;\n margin-bottom: 0;\n}\n\n.baobab-toast--icon i.icon--success {\n position: absolute;\n left: 8px;\n top: 9px;\n width: 20px;\n height: 10px;\n border-left: 1px solid #fff;\n border-bottom: 1px solid #fff;\n border-right: 0;\n border-top: 0;\n transform: rotate(-45deg);\n}\n\n.baobab-toast--icon i.icon--failure {\n position: absolute;\n width: 100%;\n height: 100%;\n transform: rotate(45deg);\n}\n\n.baobab-toast--icon i.icon--failure:before {\n position: absolute;\n content: \"\";\n height: 1px;\n width 19px;\n background-color: #fff;\n left: 9px;\n top: 18px;\n}\n\n.baobab-toast--icon i.icon--failure:after {\n position: absolute;\n content: \"\";\n height: 18px;\n width 1px;\n background-color: #fff;\n left: 18px;\n top: 9px;\n}\n\n.baobab-toast--icon i.icon--wifi {\n display: inline-block;\n width: 100%;\n height: 100%;\n background: url(../wifi.svg) no-repeat;\n background-position: center;\n}\n\n.baobab-toast--icon i.icon--loadingA {\n display: inline-block;\n width: 32px;\n height: 32px;\n background: url(../loading-spinner.svg) no-repeat;\n background-position: center;\n background-size: 100%;\n animation: loading 2.5s linear infinite;\n}\n\n@keyframes loading {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\n.baobab-toast--content {\n padding-left: 20px;\n padding-right: 20px;\n color: #fff;\n font-size: 16px;\n line-height: 22px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Toast/index.styl",".baobab-popup {\n position: absolute;\n left: 0;\n right: 0;\n width: 100%;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Popup/index.styl",".baobab-spinner {\n display: inline-block;\n box-sizing: border-box;\n border-radius: 50%;\n border-style: solid;\n animation: spinner .9s linear infinite;\n}\n\n@keyframes spinner {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Spinner/index.styl",".baobab-button {\n overflow: hidden;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n}\n\n.baobab-button--name {\n line-height: 1;\n}\n\n// 遮罩层\n.baobab-button--overlay {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n opacity: .5;\n}\n\n.baobab-button--spinner {\n position: relative;\n z-index: 1;\n margin-right: 5px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Button/index.styl"],"sourceRoot":""} \ No newline at end of file diff --git a/lib/baobab-ui.js b/lib/baobab-ui.js index b49f4e9..66b1be4 100644 --- a/lib/baobab-ui.js +++ b/lib/baobab-ui.js @@ -1,2 +1,2 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["baobab-ui"]=e():t["baobab-ui"]=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),n(1);var o=n(2),a=i(o),s=n(5),l=i(s),r=n(8),u=i(r),c=n(11),d=i(c),f=n(14),p=i(f),b=n(17),v=i(b),h=n(20),m=i(h),_=n(23),y=i(_),g=n(26),C=i(g),x=n(29),w=i(x),S=n(32),k=i(S),I=n(35),$=i(I),M=n(38),O=i(M),B=n(41),T=i(B),j=n(44),E=i(j),F=n(47),z=i(F),N=n(50),P=i(N),V=n(53),R=i(V),A=n(56),L=i(A),H=n(59),q=i(H),G=n(62),U=i(G),W=n(65),X=i(W),D=n(68),Y=i(D),J=[C.default,w.default,a.default,$.default,O.default,E.default,P.default,k.default,Y.default,X.default,z.default,T.default,l.default,u.default,d.default,q.default,U.default,p.default,v.default,m.default,y.default];e.default={install:function(t){J.forEach(function(e){e.install(t)}),t.prototype.$dialog=R.default.install(t),t.prototype.$actionSheet=L.default.install(t),t.prototype.$toast=q.default.install(t),t.prototype.$loading=p.default.install(t)},version:n(71).version}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(4);var a=(0,o.default)({name:"Badge",props:{tipNum:{type:[String,Number],required:!1},bgColor:{type:String,default:"#3E81F1"}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",{staticClass:"baobab-badge",class:{"baobab-badge--single":void 0!==t.tipNum&&1===t.tipNum.toString().length,"baobab-badge--dot":void 0===t.tipNum||""===t.tipNum},style:{backgroundColor:t.bgColor}},[t._v(t._s(t.tipNum))])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(7);var a=(0,o.default)({name:"Radio",props:{value:String,option:{type:[Object,String],required:!0},position:{type:String,default:"right"},type:{type:String,default:"normal",validator:function(t){return["normal","check"].indexOf(t)>-1}}},data:function(){return{radioVal:this.value}},watch:{value:function(t){this.radioVal=t},radioVal:function(t){this.$emit("input",t)}},computed:{iconName:function(){return this.type},selected:function(){return this.radioVal===this.option.value}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-radio baobab-border-bottom"},[n("div",{staticClass:"baobab-radio--wrap"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.radioVal,expression:"radioVal"}],staticClass:"baobab-radio--input",attrs:{type:"radio",disabled:t.option.disabled},domProps:{value:t.option.value||t.option,checked:t._q(t.radioVal,t.option.value||t.option)},on:{change:function(e){t.radioVal=t.option.value||t.option}}}),t._v(" "),"normal"===t.iconName?n("span",{staticClass:"baobab-radio--icon baobab-radio-icon--normal",class:{selected:t.selected,disabled:t.option.disabled,position:"left"===t.position}},[n("i")]):t._e(),t._v(" "),"check"===t.iconName?n("span",{staticClass:"baobab-radio--icon baobab-radio-icon--check",class:{selected:t.selected,disabled:t.option.disabled,position:"left"===t.position}},[n("i")]):t._e(),t._v(" "),t._t("default",[n("span",{staticClass:"baobab-radio--label",class:{position:"left"===t.position}},[t._v(t._s(t.option.label||t.option))])])],2)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(9),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(10);var a=(0,o.default)({name:"RadioGroup",props:{value:String,options:{type:Array,default:function(){return[]}},position:{type:String,default:"right"},type:String},data:function(){return{radioVal:this.value}},watch:{value:function(t){this.radioVal=t},radioVal:function(t){this.$emit("input",t)}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-radioGroup"},[t._t("default",t._l(t.options,function(e,i){return n("Radio",{key:i,attrs:{option:e,position:t.position,type:t.type},model:{value:t.radioVal,callback:function(e){t.radioVal=e},expression:"radioVal"}})}))],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(12),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(13);var a=(0,o.default)({name:"Switcher",props:{offColor:{type:String,default:"#cacaca"},onColor:{type:String,default:"#3E81F1"},offText:{type:String,default:""},onText:{type:String,default:""},onVal:{default:!0},offVal:{default:!1},value:{}},computed:{on:function(){return this.onVal===this.value},isText:function(){return this.onText&&this.offText}},methods:{handleClick:function(){this.$emit("input",this.on?this.offVal:this.onVal),this.$emit("click")}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-switcher",class:{"baobab-switcher--noText":!t.isText},style:{backgroundColor:t.on?t.onColor:t.offColor},on:{click:t.handleClick}},[n("div",{staticClass:"baobab-switcher--text"},[t._v(t._s(t.onText))]),t._v(" "),n("div",{staticClass:"baobab-switcher--text"},[t._v(t._s(t.offText))]),t._v(" "),n("div",{staticClass:"baobab-switcher--slider",class:{"baobab-switcher--open":t.on}})])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(15),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(16);var a=(0,o.default)({name:"loading",data:function(){return{visible:!1,message:"",zIndex:7}},methods:{show:function(t){this.message=t,this.visible=!0},hide:function(){this.visible=!1,this.message="",this.zIndex=4}}});e.default={install:function(t){var e=new t(a),n="baobab-ui-loading-mount-point",i=document.createElement("div");return i.id=n,document.body.appendChild(i),e.$mount("#"+n),{show:function(){e.show.apply(e,arguments)},hide:function(){e.hide.apply(e,arguments)},zIndex:function(t){return e.zIndex=t,e}}}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"baobab-loading",style:{zIndex:t.zIndex}},[n("div",{staticClass:"baobab-loading--main",class:{"baobab-loading-main--message":t.message}},[n("Spinner",{attrs:{foreColor:"#fff",bgColor:"#4e4e4e"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.message,expression:"message"}],staticClass:"baobab-loading--message"},[t._v(t._s(t.message))])],1)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";function i(){return{winH:document.documentElement.clientHeight||document.body.clientHeight,scrollTop:document.body.scrollTop||document.documentElement.scrollTop,pageH:document.body.scrollHeight||document.documentElement.scrollHeight}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),a=function(t){return t&&t.__esModule?t:{default:t}}(o);n(19);var s=(0,a.default)({name:"Loadmore",props:{visible:{type:Boolean,default:!1},desc:{type:String,default:"正在加载..."}},data:function(){return{show:!1}},watch:{visible:function(){this.detectVisible()}},methods:{detectVisible:function(){var t=i(),e=t.winH;t.pageH>=e&&this.visible?this.show=!0:this.show=!1},onScroll:function(){this.detectVisible();var t=i(),e=t.winH;t.scrollTop+e>=t.pageH&&this.visible&&this.$emit("reachBottom")},startListen:function(){window.addEventListener("scroll",this.onScroll)},stopListen:function(){window.removeEventListener("scroll",this.onScroll)}},mounted:function(){this.startListen(),this.onScroll()},destroyed:function(){this.stopListen()}});e.default={install:function(t){t.component(s.name,s)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"baobab-loadmore"},[t._t("default",[n("Spinner",{attrs:{size:"16"}}),t._v(" "),n("span",{staticClass:"baobab-loadmore--desc"},[t._v(t._s(t.desc))])])],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(21),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(22);var a=(0,o.default)({name:"SwipeOut",data:function(){return{activeItem:null}},methods:{removeEle:function(t){this.$refs.swipeOut.removeChild(t),this.$emit("onremove",t)},resetItem:function(t){this.activeItem!==t&&(this.activeItem&&this.activeItem.close&&this.activeItem.close(),this.activeItem=t)}},created:function(){this.$on("resetItem",this.resetItem),this.$on("removeEle",this.removeEle)}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("ul",{ref:"swipeOut",staticClass:"baobab-swipe-out",on:{click:t.resetItem}},[t._t("default")],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(24),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(25);var a=(0,o.default)({name:"SwipeOutItem",data:function(){return{speed:300,translate:0,startX:0,oldTouches:null,btnWidth:0}},computed:{itemStyle:function(){return{transition:"all "+this.speed+"ms",transform:"translate3d("+this.translate+"px, 0, 0)"}}},methods:{delItem:function(){this.$parent.$emit("removeEle",this.$el)},start:function(t){this.speed=0,this.oldTouches=t.touches[0],this.startX=this.translate},move:function(t){var e=t.touches[0].pageX-this.oldTouches.pageX,n=t.touches[0].pageY-this.oldTouches.pageY;Math.abs(e)30||(t.preventDefault(),this.$parent.$emit("resetItem",this),e=1*this.startX+1*e,e<-this.btnWidth?e=-this.btnWidth:e>0&&(e=0),this.translate=e)},end:function(){var t=-this.translate>30?-this.btnWidth:0;this.speed=300,this.translate=t},close:function(){this.translate=0}},mounted:function(){var t=this;this.$nextTick(function(){t.btnWidth=t.$refs.btns.offsetWidth})}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"baobab-swipe-out-item",style:t.itemStyle},[n("div",{staticClass:"baobab-swipe-out-item-box",on:{"!touchstart":function(e){t.start(e)},"!touchmove":function(e){t.move(e)},"!touchend":function(e){t.end(e)}}},[t._t("default")],2),t._v(" "),n("div",{ref:"btns",staticClass:"baobab-swipe-out-item-btns"},[t._t("btns",[n("div",{staticClass:"baobab-swipe-out-item-btn",on:{click:t.delItem}},[t._v("删除")])])],2)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(27),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(28);var a=(0,o.default)({name:"TabBar",props:{visiable:{type:Boolean,default:!0},bgcolor:{type:String,default:"rgba(255, 255, 255, .9)"},fixed:{type:Boolean,default:!1}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"TabBar baobab-border-top",class:{"TabBar--hide":!t.visiable,"TabBar--fixed":t.fixed},style:{backgroundColor:t.bgcolor}},[t._t("default")],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(30),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(31);var a=(0,o.default)({name:"TabItem",props:{title:{type:String,required:!0,default:""},to:String,selected:{type:Boolean,required:!1,default:void 0}},computed:{hasSlot:function(){return Object.keys(this.$slots).length>0},hasIcon:function(){return this.$slots.icon}},methods:{handleClick:function(){this.to&&this.$router?this.$router.replace(this.to):this.$emit("click")}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"TabItem",class:{selected:t.selected},on:{click:t.handleClick}},[n("div",{staticClass:"TabItem--main"},[t.hasIcon?n("div",{staticClass:"TabItem--icon"},[!1===t.selected?t._t("icon"):t._e(),t._v(" "),!0===t.selected?t._t("icon-selected"):t._e(),t._v(" "),void 0===t.selected?t._t("icon-disabled"):t._e(),t._v(" "),t.hasIcon?n("div",{staticClass:"TabItem--badge"},[t._t("badge")],2):t._e()],2):t._e(),t._v(" "),n("div",{staticClass:"TabItem--title",class:{"TabItem--disabled":void 0===t.selected&&void 0===t.to,"TabItem--noIcon":!t.hasIcon}},[t._v("\n "+t._s(t.title)+"\n "),t.hasIcon?t._e():n("div",{staticClass:"TabItem--badge--noIcon"},[t._t("badge")],2)])])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(33),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(34);var a="rgba(255,255,255,1)",s=(0,o.default)({name:"Tab",props:{tabList:{type:Array,default:[]},bgColor:{type:String,default:a},tintColor:{type:String,default:"#3E81F1"},selectedIndex:{type:Number,default:0},fullBorder:{type:Boolean,default:!1}},data:function(){return{activeIndex:0,isOverFlow:!1,defaultColor:a,activeStyle:null,initStyle:{color:a,"border-bottom":"none"}}},created:function(){this.activeIndex=this.selectedIndex<=this.tabList.length-1?this.selectedIndex:0,this.tabList.length>=5&&(this.isOverFlow=!0),this.activeStyle={"border-bottom":"2px solid "+this.tintColor,color:this.tintColor}},methods:{changeActive:function(t,e){this.activeIndex=t,this.$emit("onChange",Object.assign({},e))}}});e.default={install:function(t){t.component(s.name,s)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Tab-Plugin baobab-border-bottom",class:{"overflow-style":t.isOverFlow},style:{backgroundColor:t.bgColor}},t._l(t.tabList,function(e,i){return n("div",{staticClass:"tab-item-wrapper",class:{"overflow-style":t.isOverFlow},style:t.activeIndex===i&&t.fullBorder?t.activeStyle:t.otherStyle,on:{click:function(n){t.changeActive(i,e)}}},[n("div",{staticClass:"tab-item",class:{isChangeColor:t.bgColor!==t.defaultColor},style:t.activeIndex!==i||t.fullBorder?t.otherStyle:t.activeStyle},[n("div",{staticClass:"badge--wrapper"},[!0===e.hasBadge?n("Badge",{attrs:{tipNum:e.value}}):t._e()],1),t._v(" "),n("span",[t._v(t._s(e.title))])])])}))},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(37);var a=(0,o.default)({name:"Cell",props:{borderBottom:{type:Boolean,default:!0},title:{type:String,default:""},content:{type:String,default:""},to:{type:[String,Object]},arrow:void 0,bgColor:{type:String,default:"rgba(255,255,255,1)"}},methods:{handleClick:function(){this.to?/^https?:/.test(this.to)?window.location=this.to:this.$router?this.$router.push(this.to):this.$emit("click"):this.$emit("click")}},computed:{hasIcon:function(){return this.$slots.icon},hasArrow:function(){return void 0!==this.arrow||!!this.to}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-cellBox",style:{"background-color":t.bgColor},on:{click:t.handleClick}},[n("div",{staticClass:"baobab-cell",class:{"baobab-border-bottom":t.borderBottom}},[t.hasIcon?n("div",{staticClass:"baobab-cell--icon"},[t._t("icon")],2):t._e(),t._v(" "),t._t("header",[t.title?n("div",{staticClass:"baobab-cell--hd"},[t._v(t._s(t.title))]):t._e()]),t._v(" "),t._t("body",[t.content?n("div",{staticClass:"baobab-cell--bd"},[t._v(t._s(t.content))]):t._e()]),t._v(" "),t.hasArrow?n("i",{staticClass:"baobab-cell--arrow"}):t._e(),t._v(" "),t._t("default")],2)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(39),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(40);var a=(0,o.default)({name:"CellGroup",props:{}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"CellGroup"},[t._t("default")],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(42),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(43);var a=(0,o.default)({name:"text-input",props:{value:{},placeholder:String,type:{type:String,default:"text"},align:{type:String,default:"left"},invalid:{type:Boolean,required:!1}},data:function(){return{val:this.value}},watch:{value:function(t){this.val!==t&&(this.val=t)},val:function(t){this.$emit("input",t)}},methods:{handleInput:function(t){this.val=t.target.value},handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)},clear:function(){this.val=""}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-text--input"},[n("input",{style:{textAlign:t.align},attrs:{type:t.type,placeholder:t.placeholder},domProps:{value:t.val},on:{input:t.handleInput,blur:t.handleBlur,focus:t.handleFocus}}),t._v(" "),n("div",{staticClass:"baobab-text-input--iconBox"},[n("i",{directives:[{name:"show",rawName:"v-show",value:t.val,expression:"val"}],staticClass:"baobab-text-input--del",class:{"baobab-text-input--warn":t.invalid},on:{click:t.clear}})])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(46);var a=(0,o.default)({name:"Field",props:{label:String,placeholder:String,type:{type:String,default:"text"},align:{type:String,default:"left"},value:{},invalid:{type:Object,default:function(){return{value:!1,msg:"请重新输入"}}}},data:function(){return{val:this.value}},watch:{value:function(t){t!==this.val&&(this.val=t)},val:function(t,e){this.$emit("input",t)}},methods:{handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)}},computed:{hasLabelSlot:function(){return!!this.$slots.label}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Cell",[t.label?n("div",{staticClass:"baobab-field--label",attrs:{slot:"header"},slot:"header"},[t._v(t._s(t.label))]):t._e(),t._v(" "),!t.label&&t.hasLabelSlot?n("div",{staticClass:"baobab-field--label",attrs:{slot:"header"},slot:"header"},[t._t("label")],2):t._e(),t._v(" "),n("div",{staticClass:"baobab-field--bd",attrs:{slot:"body"},slot:"body"},[n("text-input",{attrs:{placeholder:t.placeholder,type:t.type,align:t.align,invalid:t.invalid.value},on:{blur:t.handleBlur,focus:t.handleFocus},model:{value:t.val,callback:function(e){t.val=e},expression:"val"}})],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.invalid&&t.invalid.value&&t.invalid.msg&&t.val,expression:"invalid && invalid.value && invalid.msg && val"}],staticClass:"baobab-field--msg"},[n("span",[t._v(t._s(t.invalid.msg))])])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(48),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(49);var a=(0,o.default)({name:"Textareaer",props:{value:{},max:{type:[Number,String]},rows:{type:[Number,String],default:3},cols:{type:[Number,String],default:30},height:[Number,String],readonly:Boolean,label:String,name:String,placeholder:{type:String,default:"请输入"},showCounter:{type:Boolean,default:!0}},data:function(){return{val:this.value}},watch:{val:function(t){this.$emit("input",t)},value:function(t){this.val=t}},computed:{textareaStyles:function(){if(this.height)return{height:this.height+"px"}}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"B-TextArea",class:{"B-TextArea-title":t.label}},[t.label?n("div",{staticClass:"B-TextArea--hd"},[n("span",[t._v(t._s(t.label))])]):t._e(),t._v(" "),n("div",{staticClass:"B-TextArea--bd"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],style:t.textareaStyles,attrs:{name:t.name,rows:t.rows,cols:t.cols,placeholder:t.placeholder,maxlength:t.max,readonly:t.readonly},domProps:{value:t.val},on:{blur:function(e){t.$emit("on-blur")},focus:function(e){t.$emit("on-focus")},input:function(e){e.target.composing||(t.val=e.target.value)}}}),t._v(" "),t.max&&t.showCounter?n("div",{staticClass:"B-TextArea--bd-max"},[n("span",{class:{startInput:t.val.length>0}},[t._v(t._s(t.val.length))]),t._v("/"+t._s(t.max))]):t._e()])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(51),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(52);var a=(0,o.default)({name:"Modal",props:{value:{type:Boolean},bgColor:{type:String,default:"#fff"},zIndex:{type:[String,Number],default:2},anim:{validator:function(t){return["none","bottomUp","fade"].indexOf(t)>-1},default:"none"},dismissOnClick:{type:Boolean,default:!1}},data:function(){return{visible:!1}},computed:{animName:function(){var t=this.anim;return"none"===t?"":"baobab--anim--"+t}},watch:{value:function(t){this.visible=t}},methods:{handleClick:function(t){t.target===this.$refs.modal&&this.dismissOnClick&&this.$emit("input",!1)}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.animName}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],ref:"modal",staticClass:"baobab-modal",style:{backgroundColor:t.bgColor,zIndex:t.zIndex},on:{click:t.handleClick}},[t._t("default")],2)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";function i(t){return Object.prototype.toString.call(t).slice(8,-1)}function o(t){return/^(Object | Array | Function)&/.test(i(t))}function a(t){var e=[],n=i(t);return"Object"===n?e=[t]:"Function"===n?e=[{title:"确定",onClick:t}]:"Array"===n&&(e=t),0===e.length&&(e=[{title:"确定"}]),e.map(function(t){return"Object"!==i(t)?{title:t}:t})}Object.defineProperty(e,"__esModule",{value:!0});var s=n(54),l=function(t){return t&&t.__esModule?t:{default:t}}(s);n(55);var r=(0,l.default)({name:"Dialog",data:function(){return{visible:!1,title:"",content:"",buttons:[],isPrompt:!1,promptVal:"",zIndex:6}},methods:{alert:function(t,e,n){1===arguments.length?(e=t,t=void 0):o(e)&&(n=e,e=t,t=void 0),this.title=t,this.content=e,this.buttons=a(n),this.visible=!0},confirm:function(t,e,n){1===arguments.length?(e=t,t=void 0):"function"==typeof e&&(n=e,e=t,t=void 0),this.alert(t,e,[{title:"取消",onClick:function(){n&&n(!1)}},{title:"我知道了",onClick:function(){n&&n(!0)}}])},prompt:function(t,e){var n=this;this.isPrompt=!0,this.alert(t,"",[{title:"取消"},{title:"确认",onClick:function(){e&&e(n.promptVal)}}])},handleClick:function(t){t.onClick&&t.onClick(),this.visible=!1},afterLeave:function(){this.title="",this.content="",this.buttons=[],this.promptVal="",this.isPrompt=!1,this.zIndex=6}},computed:{width:function(){return"270px"}}});e.default={install:function(t){var e=new t(r),n="baobab-ui-dialog-mount-point",i=document.createElement("div");return i.id=n,document.body.appendChild(i),e.$mount("#"+n),{alert:function(){e.alert.apply(e,arguments)},confirm:function(){e.confirm.apply(e,arguments)},prompt:function(){e.prompt.apply(e,arguments)},zIndex:function(t){return e.zIndex=t,e}}}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{anim:"fade",zIndex:"zIndex",bgColor:"rgba(0,0,0, .6)"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("div",{staticClass:"baobab-dialog"},[n("transition",{attrs:{name:"baobab-anim-scale"},on:{"after-leave":t.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"baobab-dialog--main",style:{width:t.width}},[n("div",{staticClass:"baobab-dialog--bd"},[n("h3",{directives:[{name:"show",rawName:"v-show",value:t.title,expression:"title"}],staticClass:"baobab-dialog--title"},[t._v(t._s(t.title))]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.content,expression:"content"}],staticClass:"baobab-dialog--content",style:{paddingTop:t.title?"12px":0}},[n("div",{staticClass:"baobab-dialog--text"},[t._v(t._s(t.content))])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isPrompt,expression:"isPrompt"}],staticClass:"baobab-dialog--content",style:{paddingTop:t.title?"12px":0}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.promptVal,expression:"promptVal"}],staticClass:"baobab-dialog--prompt",domProps:{value:t.promptVal},on:{input:function(e){e.target.composing||(t.promptVal=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"baobab-dialog--buttons",class:{"baobab-dialog--separator":2===t.buttons.length}},t._l(t.buttons,function(e){return n("a",{staticClass:"baobab-dialog--button baobab-border-top",style:{width:2===t.buttons.length?"50%":"100%"},attrs:{href:"javascript:;"},on:{click:function(n){t.handleClick(e)}}},[t._v("\n "+t._s(e.title)+"\n ")])}))])])],1)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=n(57),a=function(t){return t&&t.__esModule?t:{default:t}}(o);n(58);var s=(0,a.default)({name:"actionSheet",data:function(){return{visible:!1,title:"",options:[],hideCancel:!1,tintColor:"#333333",zIndex:5}},methods:{init:function(){this.title="",this.options=[],this.hideCancel=!1},show:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.title=t,this.hideCancel=n,this.options=e.map(function(t){return"object"===(void 0===t?"undefined":i(t))?t:{text:t,disable:!1,destructive:!1}}),this.visible=!0},hide:function(){var t=this;this.visible=!1,setTimeout(function(){t.init()},300)},handleClick:function(t){var e=this.options[t];!e.disable&&e.onSelect&&(e.onSelect(),this.hide())},getFontColor:function(t){return t.disable?"#999":t.destructive?"#ff3b30":this.tintColor}}});e.default={install:function(t){var e=new t(s),n="baobab-ui-actionsheet-mount-point",i=document.createElement("div");return i.id=n,document.body.appendChild(i),e.$mount("#"+n),{config:function(t){return["tintColor","zIndex"].forEach(function(n){void 0!==t[n]&&(e[n]=t[n])}),this},show:function(){e.show.apply(e,arguments)},hide:function(){e.hide.apply(e,arguments)}}}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{bgColor:"rgba(0, 0, 0, .6)",anim:"fade",zIndex:"zIndex",dismissOnClick:!0},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("transition",{attrs:{name:"baobab--anim--bottomUp"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"baobab-actionSheet"},[t.title?n("div",{staticClass:"baobab-actionSheet--title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),n("div",{staticClass:"baobab-actionSheet--options"},t._l(t.options,function(e,i){return n("div",{staticClass:"baobab-actionSheet--option baobab-border-top",style:{color:t.getFontColor(e)},on:{click:function(e){t.handleClick(i)}}},[t._v("\n "+t._s(e.text)+"\n ")])})),t._v(" "),0==t.hideCancel?n("div",{staticClass:"baobab-actionSheet--option baobab-actionSheet--cancel",style:{color:t.tintColor},on:{click:t.hide}},[t._v("\n 取消\n ")]):t._e()])])],1)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(60),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(61);var a=(0,o.default)({name:"Toast",data:function(){return{visiable:!1,position:"center",content:"",type:"text",zIndex:7}},methods:{show:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"center",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"text",i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2e3,a=arguments[4];""===t&&"loadingB"===n&&(t="正在加载"),"function"==typeof e&&(a=e,e="center"),"function"==typeof n&&(a=n,n="text"),"function"==typeof o&&(a=o,o=2e3),this.content=t,this.position=e,this.type=n,this.visiable=!0,setTimeout(function(){i.hide(),"function"==typeof a&&a()},o)},hide:function(){this.visiable=!1},afterLeave:function(){this.content="",this.position="center",this.zIndex=4}}});e.default={install:function(t){var e=new t(a),n="baobab-ui-toast-mount-point",i=document.createElement("div");return i.id=n,document.body.appendChild(i),e.$mount("#"+n),{show:function(){e.show.apply(e,arguments)},hide:function(){e.hide.apply(e,arguments)},zIndex:function(t){return e.zIndex=t,e}}}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"baobab--anim--fade"},on:{"after-leave":t.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visiable,expression:"visiable"}],staticClass:"baobab-toast",class:{top:"top"===t.position,center:"center"===t.position,bottom:"bottom"===t.position},style:{zIndex:t.zIndex}},[n("div",{staticClass:"baobab-toast--main",class:{onlyText:"text"===t.type,wifi:"wifi"===t.type,loadingB:"loadingB"===t.type,loadingA:"loadingA"===t.type}},["text"!==t.type?n("div",{staticClass:"baobab-toast--icon"},["success"===t.type?n("i",{staticClass:"icon--success"}):t._e(),t._v(" "),"failure"===t.type?n("i",{staticClass:"icon--failure"}):t._e(),t._v(" "),"wifi"===t.type?n("i",{staticClass:"icon--wifi"}):t._e(),t._v(" "),"loadingB"===t.type?n("Spinner",{attrs:{foreColor:"#fff",bgColor:"#4e4e4e"}}):t._e(),t._v(" "),"loadingA"===t.type?n("i",{staticClass:"icon--loadingA"}):t._e()],1):t._e(),t._v(" "),t.content||"loadingB"===t.type?n("div",{staticClass:"baobab-toast--content"},[t._v(t._s(t.content))]):t._e()])])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(63),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(64);var a={top:{anim:"baobab--anim--topDown",style:{top:0}},bottom:{anim:"baobab--anim--bottomUp",style:{bottom:0}}},s=(0,o.default)({name:"Popup",props:{value:{type:Boolean},position:{type:String,validator:function(t){return"bottom"===t||"top"===t},default:"bottom"},zIndex:{type:[String,Number],default:2}},data:function(){return{visible:!1}},computed:{conf:function(){return a[this.position]}},watch:{value:function(t){this.visible=t},visible:function(t,e){t!==this.value&&this.$emit("input",t)}}});e.default={install:function(t){t.component(s.name,s)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{zIndex:t.zIndex,bgColor:"rgba(0, 0, 0, .6)",anim:"fade",dismissOnClick:!0},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("transition",{attrs:{name:t.conf.anim}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"baobab-popup",style:t.conf.style},[t._t("default")],2)])],1)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(66),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(67);var a=(0,o.default)({name:"Spinner",props:{size:{type:[Number,String],default:36},width:{type:[Number,String],default:2},bgColor:{type:String,default:"#c2c2c2"},foreColor:{type:String,default:"#444"}},computed:{style:function(){return{width:this.size+"px",height:this.size+"px","border-top-color":this.bgColor,"border-right-color":this.bgColor,"border-bottom-color":this.bgColor,"border-left-color":this.foreColor,"border-width":this.width+"px"}}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"baobab-spinner",style:t.style})},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(69),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(70);var a=(0,o.default)({name:"Btn",props:{width:{type:String,default:""},height:{type:String,default:"44px"},radius:{type:String,default:"2px"},tintColor:{type:String,default:"#3E81F1"},spinnerBgColor:{type:String,default:"rgba(255, 255, 255, .5)"},foreColor:{type:String,default:"#fff"},type:{default:"normal",validator:function(t){return["normal","simple","cutout"].indexOf(t)>-1}},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},computed:{overlayStyles:function(){var t=this.type,e=this.tintColor,n={};return"normal"===t?n["background-color"]=e:"simple"===t?n["background-color"]="#fff":"cutout"===t&&(n["background-color"]="#fff"),n},style:function(){var t=this.type,e=this.tintColor,n={width:this.width,height:this.height,"border-radius":this.radius,"font-size":this.size};return"normal"===t?(n.color="#fff",n["background-color"]=e):"simple"===t?(n.color=e,n["background-color"]="#fff"):"cutout"===t&&(n.border="1px solid "+e,n.color=e,n["background-color"]="#fff"),n},spinnerSize:function(){var t=.45*parseFloat(this.height);return t<12?12:t}},methods:{handleClick:function(){this.loading||this.disabled||this.$emit("click")}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-button",style:t.style,on:{click:t.handleClick}},[t.loading&&t.disabled?n("Spinner",{staticClass:"baobab-button--spinner",attrs:{size:t.spinnerSize,width:"1",bgColor:t.spinnerBgColor,foreColor:t.foreColor}}):t._e(),t._v(" "),n("div",{staticClass:"baobab-button--name"},[t._t("default")],2),t._v(" "),t.disabled||t.loading?n("div",{staticClass:"baobab-button--overlay",style:t.overlayStyles}):t._e()],1)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e){t.exports={name:"baobab-ui",version:"1.0.10",description:"BBT内部组件库-基于vue2.0的UI组件库",main:"lib/baobab-ui.js",directories:{example:"example",test:"tests"},scripts:{start:"node ./example/server.js","build:demo":"rm -rf ./docs/demo/css && rm -rf ./docs/demo/js && rm -rf ./docs/demo/index.html && node example/build.js",build:"rm -rf ./lib && node ./webpack.config.js",lint:"eslint --ext .js,.vue src",changelog:"conventional-changelog -p angular -i CHANGELOG.md -w"},repository:{type:"git",url:"https://github.com/BBT-FE/Baobab-UI"},"pre-commit":["lint"],keywords:["UI"],author:"6379616e",license:"MIT",devDependencies:{autoprefixer:"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","css-loader":"^0.28.8","cz-conventional-changelog":"^2.1.0",eslint:"^4.15.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","eslint-plugin-vue":"^4.2.0","eslint-plugin-vue-libs":"^2.1.0","eslint-plugin-vuefix":"^0.2.1","extract-text-webpack-plugin":"^3.0.2",fastclick:"^1.0.6","file-loader":"^1.1.6","html-webpack-plugin":"^2.30.1","inline-manifest-webpack-plugin":"^3.0.1","postcss-loader":"^2.0.10","pre-commit":"^1.2.2","style-loader":"^0.19.1",stylus:"^0.54.5","stylus-loader":"^3.0.1","url-loader":"^0.6.2",vue:"^2.5.13","vue-loader":"^13.7.0","vue-markdown-loader":"^2.3.0","vue-router":"^3.0.1","vue-template-compiler":"^2.5.13","vue-template-loader":"^0.3.1",webpack:"^3.10.0","webpack-chunk-hash":"^0.5.0","webpack-dev-server":"^2.10.1"},dependencies:{},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}}}}])}); +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["baobab-ui"]=e():t["baobab-ui"]=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),n(1);var o=n(2),a=i(o),s=n(5),l=i(s),r=n(8),u=i(r),c=n(11),d=i(c),f=n(14),p=i(f),b=n(17),v=i(b),h=n(20),m=i(h),_=n(23),y=i(_),g=n(26),C=i(g),x=n(29),w=i(x),S=n(32),k=i(S),I=n(35),$=i(I),M=n(38),O=i(M),B=n(41),T=i(B),j=n(44),E=i(j),F=n(47),z=i(F),N=n(50),P=i(N),V=n(53),R=i(V),L=n(56),A=i(L),H=n(59),X=i(H),q=n(62),G=i(q),U=n(65),W=i(U),D=n(68),Y=i(D),J=[C.default,w.default,a.default,$.default,O.default,E.default,P.default,k.default,Y.default,W.default,z.default,T.default,l.default,u.default,d.default,X.default,G.default,p.default,v.default,m.default,y.default];e.default={install:function(t){J.forEach(function(e){e.install(t)}),t.prototype.$dialog=R.default.install(t),t.prototype.$actionSheet=A.default.install(t),t.prototype.$toast=X.default.install(t),t.prototype.$loading=p.default.install(t)},version:n(71).version}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(4);var a=(0,o.default)({name:"Badge",props:{tipNum:{type:[String,Number],required:!1},bgColor:{type:String,default:"#3E81F1"}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",{staticClass:"baobab-badge",class:{"baobab-badge--single":void 0!==t.tipNum&&1===t.tipNum.toString().length,"baobab-badge--dot":void 0===t.tipNum||""===t.tipNum},style:{backgroundColor:t.bgColor}},[t._v(t._s(t.tipNum))])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(7);var a=(0,o.default)({name:"Radio",props:{value:String,option:{type:[Object,String],required:!0},position:{type:String,default:"right"},type:{type:String,default:"normal",validator:function(t){return["normal","check"].indexOf(t)>-1}}},data:function(){return{radioVal:this.value}},watch:{value:function(t){this.radioVal=t},radioVal:function(t){this.$emit("input",t)}},computed:{iconName:function(){return this.type},selected:function(){return this.radioVal===this.option.value}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-radio baobab-border-bottom"},[n("div",{staticClass:"baobab-radio--wrap"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.radioVal,expression:"radioVal"}],staticClass:"baobab-radio--input",attrs:{type:"radio",disabled:t.option.disabled},domProps:{value:t.option.value||t.option,checked:t._q(t.radioVal,t.option.value||t.option)},on:{change:function(e){t.radioVal=t.option.value||t.option}}}),t._v(" "),"normal"===t.iconName?n("span",{staticClass:"baobab-radio--icon baobab-radio-icon--normal",class:{selected:t.selected,disabled:t.option.disabled,position:"left"===t.position}},[n("i")]):t._e(),t._v(" "),"check"===t.iconName?n("span",{staticClass:"baobab-radio--icon baobab-radio-icon--check",class:{selected:t.selected,disabled:t.option.disabled,position:"left"===t.position}},[n("i")]):t._e(),t._v(" "),t._t("default",[n("span",{staticClass:"baobab-radio--label",class:{position:"left"===t.position}},[t._v(t._s(t.option.label||t.option))])])],2)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(9),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(10);var a=(0,o.default)({name:"RadioGroup",props:{value:String,options:{type:Array,default:function(){return[]}},position:{type:String,default:"right"},type:String},data:function(){return{radioVal:this.value}},watch:{value:function(t){this.radioVal=t},radioVal:function(t){this.$emit("input",t)}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-radioGroup"},[t._t("default",t._l(t.options,function(e,i){return n("Radio",{key:i,attrs:{option:e,position:t.position,type:t.type},model:{value:t.radioVal,callback:function(e){t.radioVal=e},expression:"radioVal"}})}))],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(12),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(13);var a=(0,o.default)({name:"Switcher",props:{offColor:{type:String,default:"#cacaca"},onColor:{type:String,default:"#3E81F1"},offText:{type:String,default:""},onText:{type:String,default:""},onVal:{default:!0},offVal:{default:!1},value:{}},computed:{on:function(){return this.onVal===this.value},isText:function(){return this.onText&&this.offText}},methods:{handleClick:function(){this.$emit("input",this.on?this.offVal:this.onVal),this.$emit("click")}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-switcher",class:{"baobab-switcher--noText":!t.isText},style:{backgroundColor:t.on?t.onColor:t.offColor},on:{click:t.handleClick}},[n("div",{staticClass:"baobab-switcher--text"},[t._v(t._s(t.onText))]),t._v(" "),n("div",{staticClass:"baobab-switcher--text"},[t._v(t._s(t.offText))]),t._v(" "),n("div",{staticClass:"baobab-switcher--slider",class:{"baobab-switcher--open":t.on}})])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(15),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(16);var a=(0,o.default)({name:"loading",data:function(){return{visible:!1,message:"",zIndex:7}},methods:{show:function(t){this.message=t,this.visible=!0},hide:function(){this.visible=!1,this.message="",this.zIndex=4}}});e.default={install:function(t){var e=new t(a),n="baobab-ui-loading-mount-point",i=document.createElement("div");return i.id=n,document.body.appendChild(i),e.$mount("#"+n),{show:function(){e.show.apply(e,arguments)},hide:function(){e.hide.apply(e,arguments)},zIndex:function(t){return e.zIndex=t,e}}}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"baobab-loading",style:{zIndex:t.zIndex}},[n("div",{staticClass:"baobab-loading--main",class:{"baobab-loading-main--message":t.message}},[n("Spinner",{attrs:{foreColor:"#fff",bgColor:"#4e4e4e"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.message,expression:"message"}],staticClass:"baobab-loading--message"},[t._v(t._s(t.message))])],1)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";function i(){return{winH:document.documentElement.clientHeight||document.body.clientHeight,scrollTop:document.body.scrollTop||document.documentElement.scrollTop,pageH:document.body.scrollHeight||document.documentElement.scrollHeight}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),a=function(t){return t&&t.__esModule?t:{default:t}}(o);n(19);var s=(0,a.default)({name:"Loadmore",props:{visible:{type:Boolean,default:!1},desc:{type:String,default:"正在加载..."}},data:function(){return{show:!1}},watch:{visible:function(){this.detectVisible()}},methods:{detectVisible:function(){var t=i(),e=t.winH;t.pageH>=e&&this.visible?this.show=!0:this.show=!1},onScroll:function(){this.detectVisible();var t=i(),e=t.winH;t.scrollTop+e>=t.pageH&&this.visible&&this.$emit("reachBottom")},startListen:function(){window.addEventListener("scroll",this.onScroll)},stopListen:function(){window.removeEventListener("scroll",this.onScroll)}},mounted:function(){this.startListen(),this.onScroll()},destroyed:function(){this.stopListen()}});e.default={install:function(t){t.component(s.name,s)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"baobab-loadmore"},[t._t("default",[n("Spinner",{attrs:{size:"16"}}),t._v(" "),n("span",{staticClass:"baobab-loadmore--desc"},[t._v(t._s(t.desc))])])],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(21),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(22);var a=(0,o.default)({name:"SwipeOut",data:function(){return{activeItem:null}},methods:{removeEle:function(t){this.$refs.swipeOut.removeChild(t),this.$emit("onremove",t)},resetItem:function(t){this.activeItem!==t&&(this.activeItem&&this.activeItem.close&&this.activeItem.close(),this.activeItem=t)}},created:function(){this.$on("resetItem",this.resetItem),this.$on("removeEle",this.removeEle)}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("ul",{ref:"swipeOut",staticClass:"baobab-swipe-out",on:{click:t.resetItem}},[t._t("default")],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";function i(t){t.cancelable&&(t.defaultPrevented||t.preventDefault())}Object.defineProperty(e,"__esModule",{value:!0});var o=n(24),a=function(t){return t&&t.__esModule?t:{default:t}}(o);n(25);var s=(0,a.default)({name:"SwipeOutItem",data:function(){return{speed:300,translate:0,startX:0,oldTouches:null,btnWidth:0,moveX:0}},computed:{itemStyle:function(){return{transition:"all "+this.speed+"ms ease",transform:"translateX("+this.translate+"px)"}}},methods:{delItem:function(){this.$parent.$emit("removeEle",this.$el)},start:function(t){this.speed=0,this.oldTouches=t.touches[0],this.startX=this.translate},move:function(t){var e=t.touches[0].pageX-this.oldTouches.pageX;this.moveX=e;var n=t.touches[0].pageY-this.oldTouches.pageY;Math.abs(e)5||(t.preventDefault(),this.$parent.$emit("resetItem",this),e=1*this.startX+1*e,e<-this.btnWidth?e=-this.btnWidth:e>0&&(e=0),document.addEventListener("touchmove",i,{passive:!1}),this.translate=e)},end:function(){var t=-this.translate>20?-this.btnWidth:0;this.moveX>0&&(t=0),this.speed=300,this.translate=t,document.removeEventListener("touchmove",i,{passive:!1})},close:function(){this.translate=0}},mounted:function(){var t=this;this.$nextTick(function(){t.btnWidth=t.$refs.btns.offsetWidth})}});e.default={install:function(t){t.component(s.name,s)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"baobab-swipe-out-item",style:t.itemStyle},[n("div",{staticClass:"baobab-swipe-out-item-box",on:{"!touchstart":function(e){t.start(e)},"!touchmove":function(e){t.move(e)},"!touchend":function(e){t.end(e)}}},[t._t("default")],2),t._v(" "),n("div",{ref:"btns",staticClass:"baobab-swipe-out-item-btns"},[t._t("btns",[n("div",{staticClass:"baobab-swipe-out-item-btn",on:{click:t.delItem}},[t._v("删除")])])],2)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(27),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(28);var a=(0,o.default)({name:"TabBar",props:{visiable:{type:Boolean,default:!0},bgcolor:{type:String,default:"rgba(255, 255, 255, .9)"},fixed:{type:Boolean,default:!1}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"TabBar baobab-border-top",class:{"TabBar--hide":!t.visiable,"TabBar--fixed":t.fixed},style:{backgroundColor:t.bgcolor}},[t._t("default")],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(30),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(31);var a=(0,o.default)({name:"TabItem",props:{title:{type:String,required:!0,default:""},to:String,selected:{type:Boolean,required:!1,default:void 0}},computed:{hasSlot:function(){return Object.keys(this.$slots).length>0},hasIcon:function(){return this.$slots.icon}},methods:{handleClick:function(){this.to&&this.$router?this.$router.replace(this.to):this.$emit("click")}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"TabItem",class:{selected:t.selected},on:{click:t.handleClick}},[n("div",{staticClass:"TabItem--main"},[t.hasIcon?n("div",{staticClass:"TabItem--icon"},[!1===t.selected?t._t("icon"):t._e(),t._v(" "),!0===t.selected?t._t("icon-selected"):t._e(),t._v(" "),void 0===t.selected?t._t("icon-disabled"):t._e(),t._v(" "),t.hasIcon?n("div",{staticClass:"TabItem--badge"},[t._t("badge")],2):t._e()],2):t._e(),t._v(" "),n("div",{staticClass:"TabItem--title",class:{"TabItem--disabled":void 0===t.selected&&void 0===t.to,"TabItem--noIcon":!t.hasIcon}},[t._v("\n "+t._s(t.title)+"\n "),t.hasIcon?t._e():n("div",{staticClass:"TabItem--badge--noIcon"},[t._t("badge")],2)])])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(33),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(34);var a="rgba(255,255,255,1)",s=(0,o.default)({name:"Tab",props:{tabList:{type:Array,default:[]},bgColor:{type:String,default:a},tintColor:{type:String,default:"#3E81F1"},selectedIndex:{type:Number,default:0},fullBorder:{type:Boolean,default:!1}},data:function(){return{activeIndex:0,isOverFlow:!1,defaultColor:a,activeStyle:null,initStyle:{color:a,"border-bottom":"none"}}},created:function(){this.activeIndex=this.selectedIndex<=this.tabList.length-1?this.selectedIndex:0,this.tabList.length>=5&&(this.isOverFlow=!0),this.activeStyle={"border-bottom":"2px solid "+this.tintColor,color:this.tintColor}},methods:{changeActive:function(t,e){this.activeIndex=t,this.$emit("onChange",Object.assign({},e))}}});e.default={install:function(t){t.component(s.name,s)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Tab-Plugin baobab-border-bottom",class:{"overflow-style":t.isOverFlow},style:{backgroundColor:t.bgColor}},t._l(t.tabList,function(e,i){return n("div",{staticClass:"tab-item-wrapper",class:{"overflow-style":t.isOverFlow},style:t.activeIndex===i&&t.fullBorder?t.activeStyle:t.otherStyle,on:{click:function(n){t.changeActive(i,e)}}},[n("div",{staticClass:"tab-item",class:{isChangeColor:t.bgColor!==t.defaultColor},style:t.activeIndex!==i||t.fullBorder?t.otherStyle:t.activeStyle},[n("div",{staticClass:"badge--wrapper"},[!0===e.hasBadge?n("Badge",{attrs:{tipNum:e.value}}):t._e()],1),t._v(" "),n("span",[t._v(t._s(e.title))])])])}))},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(37);var a=(0,o.default)({name:"Cell",props:{borderBottom:{type:Boolean,default:!0},title:{type:String,default:""},content:{type:String,default:""},to:{type:[String,Object]},arrow:void 0,bgColor:{type:String,default:"rgba(255,255,255,1)"}},methods:{handleClick:function(){this.to?/^https?:/.test(this.to)?window.location=this.to:this.$router?this.$router.push(this.to):this.$emit("click"):this.$emit("click")}},computed:{hasIcon:function(){return this.$slots.icon},hasArrow:function(){return void 0!==this.arrow||!!this.to}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-cellBox",style:{"background-color":t.bgColor},on:{click:t.handleClick}},[n("div",{staticClass:"baobab-cell",class:{"baobab-border-bottom":t.borderBottom}},[t.hasIcon?n("div",{staticClass:"baobab-cell--icon"},[t._t("icon")],2):t._e(),t._v(" "),t._t("header",[t.title?n("div",{staticClass:"baobab-cell--hd"},[t._v(t._s(t.title))]):t._e()]),t._v(" "),t._t("body",[t.content?n("div",{staticClass:"baobab-cell--bd"},[t._v(t._s(t.content))]):t._e()]),t._v(" "),t.hasArrow?n("i",{staticClass:"baobab-cell--arrow"}):t._e(),t._v(" "),t._t("default")],2)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(39),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(40);var a=(0,o.default)({name:"CellGroup",props:{}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"CellGroup"},[t._t("default")],2)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(42),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(43);var a=(0,o.default)({name:"text-input",props:{value:{},placeholder:String,type:{type:String,default:"text"},align:{type:String,default:"left"},invalid:{type:Boolean,required:!1}},data:function(){return{val:this.value}},watch:{value:function(t){this.val!==t&&(this.val=t)},val:function(t){this.$emit("input",t)}},methods:{handleInput:function(t){this.val=t.target.value},handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)},clear:function(){this.val=""}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-text--input"},[n("input",{style:{textAlign:t.align},attrs:{type:t.type,placeholder:t.placeholder},domProps:{value:t.val},on:{input:t.handleInput,blur:t.handleBlur,focus:t.handleFocus}}),t._v(" "),n("div",{staticClass:"baobab-text-input--iconBox"},[n("i",{directives:[{name:"show",rawName:"v-show",value:t.val,expression:"val"}],staticClass:"baobab-text-input--del",class:{"baobab-text-input--warn":t.invalid},on:{click:t.clear}})])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(46);var a=(0,o.default)({name:"Field",props:{label:String,placeholder:String,type:{type:String,default:"text"},align:{type:String,default:"left"},value:{},invalid:{type:Object,default:function(){return{value:!1,msg:"请重新输入"}}}},data:function(){return{val:this.value}},watch:{value:function(t){t!==this.val&&(this.val=t)},val:function(t,e){this.$emit("input",t)}},methods:{handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)}},computed:{hasLabelSlot:function(){return!!this.$slots.label}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Cell",[t.label?n("div",{staticClass:"baobab-field--label",attrs:{slot:"header"},slot:"header"},[t._v(t._s(t.label))]):t._e(),t._v(" "),!t.label&&t.hasLabelSlot?n("div",{staticClass:"baobab-field--label",attrs:{slot:"header"},slot:"header"},[t._t("label")],2):t._e(),t._v(" "),n("div",{staticClass:"baobab-field--bd",attrs:{slot:"body"},slot:"body"},[n("text-input",{attrs:{placeholder:t.placeholder,type:t.type,align:t.align,invalid:t.invalid.value},on:{blur:t.handleBlur,focus:t.handleFocus},model:{value:t.val,callback:function(e){t.val=e},expression:"val"}})],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.invalid&&t.invalid.value&&t.invalid.msg&&t.val,expression:"invalid && invalid.value && invalid.msg && val"}],staticClass:"baobab-field--msg"},[n("span",[t._v(t._s(t.invalid.msg))])])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(48),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(49);var a=(0,o.default)({name:"Textareaer",props:{value:{},max:{type:[Number,String]},rows:{type:[Number,String],default:3},cols:{type:[Number,String],default:30},height:[Number,String],readonly:Boolean,label:String,name:String,placeholder:{type:String,default:"请输入"},showCounter:{type:Boolean,default:!0}},data:function(){return{val:this.value}},watch:{val:function(t){this.$emit("input",t)},value:function(t){this.val=t}},computed:{textareaStyles:function(){if(this.height)return{height:this.height+"px"}}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"B-TextArea",class:{"B-TextArea-title":t.label}},[t.label?n("div",{staticClass:"B-TextArea--hd"},[n("span",[t._v(t._s(t.label))])]):t._e(),t._v(" "),n("div",{staticClass:"B-TextArea--bd"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],style:t.textareaStyles,attrs:{name:t.name,rows:t.rows,cols:t.cols,placeholder:t.placeholder,maxlength:t.max,readonly:t.readonly},domProps:{value:t.val},on:{blur:function(e){t.$emit("on-blur")},focus:function(e){t.$emit("on-focus")},input:function(e){e.target.composing||(t.val=e.target.value)}}}),t._v(" "),t.max&&t.showCounter?n("div",{staticClass:"B-TextArea--bd-max"},[n("span",{class:{startInput:t.val.length>0}},[t._v(t._s(t.val.length))]),t._v("/"+t._s(t.max))]):t._e()])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(51),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(52);var a=(0,o.default)({name:"Modal",props:{value:{type:Boolean},bgColor:{type:String,default:"#fff"},zIndex:{type:[String,Number],default:2},anim:{validator:function(t){return["none","bottomUp","fade"].indexOf(t)>-1},default:"none"},dismissOnClick:{type:Boolean,default:!1}},data:function(){return{visible:!1}},computed:{animName:function(){var t=this.anim;return"none"===t?"":"baobab--anim--"+t}},watch:{value:function(t){this.visible=t}},methods:{handleClick:function(t){t.target===this.$refs.modal&&this.dismissOnClick&&this.$emit("input",!1)}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.animName}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],ref:"modal",staticClass:"baobab-modal",style:{backgroundColor:t.bgColor,zIndex:t.zIndex},on:{click:t.handleClick}},[t._t("default")],2)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";function i(t){return Object.prototype.toString.call(t).slice(8,-1)}function o(t){return/^(Object | Array | Function)&/.test(i(t))}function a(t){var e=[],n=i(t);return"Object"===n?e=[t]:"Function"===n?e=[{title:"确定",onClick:t}]:"Array"===n&&(e=t),0===e.length&&(e=[{title:"确定"}]),e.map(function(t){return"Object"!==i(t)?{title:t}:t})}Object.defineProperty(e,"__esModule",{value:!0});var s=n(54),l=function(t){return t&&t.__esModule?t:{default:t}}(s);n(55);var r=(0,l.default)({name:"Dialog",data:function(){return{visible:!1,title:"",content:"",buttons:[],isPrompt:!1,promptVal:"",zIndex:6}},methods:{alert:function(t,e,n){1===arguments.length?(e=t,t=void 0):o(e)&&(n=e,e=t,t=void 0),this.title=t,this.content=e,this.buttons=a(n),this.visible=!0},confirm:function(t,e,n){1===arguments.length?(e=t,t=void 0):"function"==typeof e&&(n=e,e=t,t=void 0),this.alert(t,e,[{title:"取消",onClick:function(){n&&n(!1)}},{title:"我知道了",onClick:function(){n&&n(!0)}}])},prompt:function(t,e){var n=this;this.isPrompt=!0,this.alert(t,"",[{title:"取消"},{title:"确认",onClick:function(){e&&e(n.promptVal)}}])},handleClick:function(t){t.onClick&&t.onClick(),this.visible=!1},afterLeave:function(){this.title="",this.content="",this.buttons=[],this.promptVal="",this.isPrompt=!1,this.zIndex=6}},computed:{width:function(){return"270px"}}});e.default={install:function(t){var e=new t(r),n="baobab-ui-dialog-mount-point",i=document.createElement("div");return i.id=n,document.body.appendChild(i),e.$mount("#"+n),{alert:function(){e.alert.apply(e,arguments)},confirm:function(){e.confirm.apply(e,arguments)},prompt:function(){e.prompt.apply(e,arguments)},zIndex:function(t){return e.zIndex=t,e}}}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{anim:"fade",zIndex:"zIndex",bgColor:"rgba(0,0,0, .6)"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("div",{staticClass:"baobab-dialog"},[n("transition",{attrs:{name:"baobab-anim-scale"},on:{"after-leave":t.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"baobab-dialog--main",style:{width:t.width}},[n("div",{staticClass:"baobab-dialog--bd"},[n("h3",{directives:[{name:"show",rawName:"v-show",value:t.title,expression:"title"}],staticClass:"baobab-dialog--title"},[t._v(t._s(t.title))]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.content,expression:"content"}],staticClass:"baobab-dialog--content",style:{paddingTop:t.title?"12px":0}},[n("div",{staticClass:"baobab-dialog--text"},[t._v(t._s(t.content))])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isPrompt,expression:"isPrompt"}],staticClass:"baobab-dialog--content",style:{paddingTop:t.title?"12px":0}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.promptVal,expression:"promptVal"}],staticClass:"baobab-dialog--prompt",domProps:{value:t.promptVal},on:{input:function(e){e.target.composing||(t.promptVal=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"baobab-dialog--buttons",class:{"baobab-dialog--separator":2===t.buttons.length}},t._l(t.buttons,function(e){return n("a",{staticClass:"baobab-dialog--button baobab-border-top",style:{width:2===t.buttons.length?"50%":"100%"},attrs:{href:"javascript:;"},on:{click:function(n){t.handleClick(e)}}},[t._v("\n "+t._s(e.title)+"\n ")])}))])])],1)])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=n(57),a=function(t){return t&&t.__esModule?t:{default:t}}(o);n(58);var s=(0,a.default)({name:"actionSheet",data:function(){return{visible:!1,title:"",options:[],hideCancel:!1,tintColor:"#333333",zIndex:5}},methods:{init:function(){this.title="",this.options=[],this.hideCancel=!1},show:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.title=t,this.hideCancel=n,this.options=e.map(function(t){return"object"===(void 0===t?"undefined":i(t))?t:{text:t,disable:!1,destructive:!1}}),this.visible=!0},hide:function(){var t=this;this.visible=!1,setTimeout(function(){t.init()},300)},handleClick:function(t){var e=this.options[t];!e.disable&&e.onSelect&&(e.onSelect(),this.hide())},getFontColor:function(t){return t.disable?"#999":t.destructive?"#ff3b30":this.tintColor}}});e.default={install:function(t){var e=new t(s),n="baobab-ui-actionsheet-mount-point",i=document.createElement("div");return i.id=n,document.body.appendChild(i),e.$mount("#"+n),{config:function(t){return["tintColor","zIndex"].forEach(function(n){void 0!==t[n]&&(e[n]=t[n])}),this},show:function(){e.show.apply(e,arguments)},hide:function(){e.hide.apply(e,arguments)}}}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{bgColor:"rgba(0, 0, 0, .6)",anim:"fade",zIndex:"zIndex",dismissOnClick:!0},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("transition",{attrs:{name:"baobab--anim--bottomUp"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"baobab-actionSheet"},[t.title?n("div",{staticClass:"baobab-actionSheet--title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),n("div",{staticClass:"baobab-actionSheet--options"},t._l(t.options,function(e,i){return n("div",{staticClass:"baobab-actionSheet--option baobab-border-top",style:{color:t.getFontColor(e)},on:{click:function(e){t.handleClick(i)}}},[t._v("\n "+t._s(e.text)+"\n ")])})),t._v(" "),0==t.hideCancel?n("div",{staticClass:"baobab-actionSheet--option baobab-actionSheet--cancel",style:{color:t.tintColor},on:{click:t.hide}},[t._v("\n 取消\n ")]):t._e()])])],1)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(60),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(61);var a=(0,o.default)({name:"Toast",data:function(){return{visiable:!1,position:"center",content:"",type:"text",zIndex:7}},methods:{show:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"center",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"text",i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2e3,a=arguments[4];""===t&&"loadingB"===n&&(t="正在加载"),"function"==typeof e&&(a=e,e="center"),"function"==typeof n&&(a=n,n="text"),"function"==typeof o&&(a=o,o=2e3),this.content=t,this.position=e,this.type=n,this.visiable=!0,setTimeout(function(){i.hide(),"function"==typeof a&&a()},o)},hide:function(){this.visiable=!1},afterLeave:function(){this.content="",this.position="center",this.zIndex=4}}});e.default={install:function(t){var e=new t(a),n="baobab-ui-toast-mount-point",i=document.createElement("div");return i.id=n,document.body.appendChild(i),e.$mount("#"+n),{show:function(){e.show.apply(e,arguments)},hide:function(){e.hide.apply(e,arguments)},zIndex:function(t){return e.zIndex=t,e}}}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"baobab--anim--fade"},on:{"after-leave":t.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visiable,expression:"visiable"}],staticClass:"baobab-toast",class:{top:"top"===t.position,center:"center"===t.position,bottom:"bottom"===t.position},style:{zIndex:t.zIndex}},[n("div",{staticClass:"baobab-toast--main",class:{onlyText:"text"===t.type,wifi:"wifi"===t.type,loadingB:"loadingB"===t.type,loadingA:"loadingA"===t.type}},["text"!==t.type?n("div",{staticClass:"baobab-toast--icon"},["success"===t.type?n("i",{staticClass:"icon--success"}):t._e(),t._v(" "),"failure"===t.type?n("i",{staticClass:"icon--failure"}):t._e(),t._v(" "),"wifi"===t.type?n("i",{staticClass:"icon--wifi"}):t._e(),t._v(" "),"loadingB"===t.type?n("Spinner",{attrs:{foreColor:"#fff",bgColor:"#4e4e4e"}}):t._e(),t._v(" "),"loadingA"===t.type?n("i",{staticClass:"icon--loadingA"}):t._e()],1):t._e(),t._v(" "),t.content||"loadingB"===t.type?n("div",{staticClass:"baobab-toast--content"},[t._v(t._s(t.content))]):t._e()])])])},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(63),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(64);var a={top:{anim:"baobab--anim--topDown",style:{top:0}},bottom:{anim:"baobab--anim--bottomUp",style:{bottom:0}}},s=(0,o.default)({name:"Popup",props:{value:{type:Boolean},position:{type:String,validator:function(t){return"bottom"===t||"top"===t},default:"bottom"},zIndex:{type:[String,Number],default:2}},data:function(){return{visible:!1}},computed:{conf:function(){return a[this.position]}},watch:{value:function(t){this.visible=t},visible:function(t,e){t!==this.value&&this.$emit("input",t)}}});e.default={install:function(t){t.component(s.name,s)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{zIndex:t.zIndex,bgColor:"rgba(0, 0, 0, .6)",anim:"fade",dismissOnClick:!0},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("transition",{attrs:{name:t.conf.anim}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"baobab-popup",style:t.conf.style},[t._t("default")],2)])],1)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(66),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(67);var a=(0,o.default)({name:"Spinner",props:{size:{type:[Number,String],default:36},width:{type:[Number,String],default:2},bgColor:{type:String,default:"#c2c2c2"},foreColor:{type:String,default:"#444"}},computed:{style:function(){return{width:this.size+"px",height:this.size+"px","border-top-color":this.bgColor,"border-right-color":this.bgColor,"border-bottom-color":this.bgColor,"border-left-color":this.foreColor,"border-width":this.width+"px"}}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"baobab-spinner",style:t.style})},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(69),o=function(t){return t&&t.__esModule?t:{default:t}}(i);n(70);var a=(0,o.default)({name:"Btn",props:{width:{type:String,default:""},height:{type:String,default:"44px"},radius:{type:String,default:"2px"},tintColor:{type:String,default:"#3E81F1"},spinnerBgColor:{type:String,default:"rgba(255, 255, 255, .5)"},foreColor:{type:String,default:"#fff"},type:{default:"normal",validator:function(t){return["normal","simple","cutout"].indexOf(t)>-1}},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},computed:{overlayStyles:function(){var t=this.type,e=this.tintColor,n={};return"normal"===t?n["background-color"]=e:"simple"===t?n["background-color"]="#fff":"cutout"===t&&(n["background-color"]="#fff"),n},style:function(){var t=this.type,e=this.tintColor,n={width:this.width,height:this.height,"border-radius":this.radius,"font-size":this.size};return"normal"===t?(n.color="#fff",n["background-color"]=e):"simple"===t?(n.color=e,n["background-color"]="#fff"):"cutout"===t&&(n.border="1px solid "+e,n.color=e,n["background-color"]="#fff"),n},spinnerSize:function(){var t=.45*parseFloat(this.height);return t<12?12:t}},methods:{handleClick:function(){this.loading||this.disabled||this.$emit("click")}}});e.default={install:function(t){t.component(a.name,a)}}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"baobab-button",style:t.style,on:{click:t.handleClick}},[t.loading&&t.disabled?n("Spinner",{staticClass:"baobab-button--spinner",attrs:{size:t.spinnerSize,width:"1",bgColor:t.spinnerBgColor,foreColor:t.foreColor}}):t._e(),t._v(" "),n("div",{staticClass:"baobab-button--name"},[t._t("default")],2),t._v(" "),t.disabled||t.loading?n("div",{staticClass:"baobab-button--overlay",style:t.overlayStyles}):t._e()],1)},i=[];t.exports=function(t){var e="function"==typeof t?t.options:t;return e.render=n,e.staticRenderFns=i,t}},function(t,e){},function(t,e){t.exports={name:"baobab-ui",version:"1.0.12",description:"BBT内部组件库-基于vue2.0的UI组件库",main:"lib/baobab-ui.js",directories:{example:"example",test:"tests"},scripts:{start:"node ./example/server.js","build:demo":"rm -rf ./docs/demo/css && rm -rf ./docs/demo/js && rm -rf ./docs/demo/index.html && node example/build.js",build:"rm -rf ./lib && node ./webpack.config.js",lint:"eslint --ext .js,.vue src",changelog:"conventional-changelog -p angular -i CHANGELOG.md -w"},repository:{type:"git",url:"https://github.com/BBT-FE/Baobab-UI"},"pre-commit":["lint"],keywords:["UI"],author:"6379616e",license:"MIT",devDependencies:{autoprefixer:"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","css-loader":"^0.28.8","cz-conventional-changelog":"^2.1.0",eslint:"^4.15.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","eslint-plugin-vue":"^4.2.0","eslint-plugin-vue-libs":"^2.1.0","eslint-plugin-vuefix":"^0.2.1","extract-text-webpack-plugin":"^3.0.2",fastclick:"^1.0.6","file-loader":"^1.1.6","html-webpack-plugin":"^2.30.1","inline-manifest-webpack-plugin":"^3.0.1","postcss-loader":"^2.0.10","pre-commit":"^1.2.2","style-loader":"^0.19.1",stylus:"^0.54.5","stylus-loader":"^3.0.1","url-loader":"^0.6.2",vue:"^2.5.13","vue-loader":"^13.7.0","vue-markdown-loader":"^2.3.0","vue-router":"^3.0.1","vue-template-compiler":"^2.5.13","vue-template-loader":"^0.3.1",webpack:"^3.10.0","webpack-chunk-hash":"^0.5.0","webpack-dev-server":"^2.10.1"},dependencies:{},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}}}}])}); //# sourceMappingURL=baobab-ui.js.map \ No newline at end of file diff --git a/lib/baobab-ui.js.map b/lib/baobab-ui.js.map index 1ce6f59..8fc0ce5 100644 --- a/lib/baobab-ui.js.map +++ b/lib/baobab-ui.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///baobab-ui.js","webpack:///webpack/bootstrap b8f894ac4811316250f1","webpack:///./src/index.js","webpack:///./src/Badge/index.js","webpack:///./src/Badge/index.tpl","webpack:///./src/Radio/index.js","webpack:///./src/Radio/index.tpl","webpack:///./src/Radio/Radio-Group/index.js","webpack:///./src/Radio/Radio-Group/index.tpl","webpack:///./src/Switcher/index.js","webpack:///./src/Switcher/index.tpl","webpack:///./src/Loading/index.js","webpack:///./src/Loading/index.tpl","webpack:///./src/Loadmore/index.js","webpack:///./src/Loadmore/index.tpl","webpack:///./src/SwipeOut/index.js","webpack:///./src/SwipeOut/index.tpl","webpack:///./src/SwipeOut/SwipeOutItem/index.js","webpack:///./src/SwipeOut/SwipeOutItem/index.tpl","webpack:///./src/TabBar/index.js","webpack:///./src/TabBar/index.tpl","webpack:///./src/TabBar/TabItem/index.js","webpack:///./src/TabBar/TabItem/index.tpl","webpack:///./src/Tab/index.js","webpack:///./src/Tab/index.tpl","webpack:///./src/Cell/index.js","webpack:///./src/Cell/index.tpl","webpack:///./src/Cell/CellGroup/index.js","webpack:///./src/Cell/CellGroup/index.tpl","webpack:///./src/Text-Input/index.js","webpack:///./src/Text-Input/index.tpl","webpack:///./src/Field/index.js","webpack:///./src/Field/index.tpl","webpack:///./src/Textareaer/index.js","webpack:///./src/Textareaer/index.tpl","webpack:///./src/Modal/index.js","webpack:///./src/Modal/index.tpl","webpack:///./src/Dialog/index.js","webpack:///./src/Dialog/index.tpl","webpack:///./src/ActionSheet/index.js","webpack:///./src/ActionSheet/index.tpl","webpack:///./src/Toast/index.js","webpack:///./src/Toast/index.tpl","webpack:///./src/Popup/index.js","webpack:///./src/Popup/index.tpl","webpack:///./src/Spinner/index.js","webpack:///./src/Spinner/index.tpl","webpack:///./src/Button/index.js","webpack:///./src/Button/index.tpl","webpack:///./package.json"],"names":["root","factory","exports","module","define","amd","self","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","_interopRequireDefault","obj","default","value","_Badge","_Badge2","_Radio","_Radio2","_RadioGroup","_RadioGroup2","_Switcher","_Switcher2","_Loading","_Loading2","_Loadmore","_Loadmore2","_SwipeOut","_SwipeOut2","_SwipeOutItem","_SwipeOutItem2","_TabBar","_TabBar2","_TabItem","_TabItem2","_Tab","_Tab2","_Cell","_Cell2","_CellGroup","_CellGroup2","_TextInput","_TextInput2","_Field","_Field2","_Textareaer","_Textareaer2","_Modal","_Modal2","_Dialog","_Dialog2","_ActionSheet","_ActionSheet2","_Toast","_Toast2","_Popup","_Popup2","_Spinner","_Spinner2","_Button","_Button2","components","install","Vue","forEach","component","$dialog","$actionSheet","$toast","$loading","version","_index","_index2","props","tipNum","type","String","Number","required","bgColor","render","_vm","_h","$createElement","_self","_c","staticClass","class","baobab-badge--single","undefined","toString","length","baobab-badge--dot","style","backgroundColor","_v","_s","staticRenderFns","_exports","options","option","position","validator","indexOf","data","radioVal","watch","newVal","$emit","computed","iconName","selected","directives","rawName","expression","attrs","disabled","domProps","checked","_q","on","change","$event","_e","_t","label","Array","_l","index","key","model","callback","$$v","offColor","onColor","offText","onText","onVal","offVal","isText","methods","handleClick","baobab-switcher--noText","click","baobab-switcher--open","visible","message","zIndex","show","hide","loading","id","mountPoint","document","createElement","body","appendChild","$mount","apply","arguments","baobab-loading-main--message","foreColor","getDocuInfo","winH","documentElement","clientHeight","scrollTop","pageH","scrollHeight","conponent","Boolean","desc","detectVisible","docuInfo","onScroll","startListen","window","addEventListener","stopListen","removeEventListener","mounted","destroyed","size","activeItem","removeEle","el","$refs","swipeOut","removeChild","resetItem","item","close","created","$on","ref","speed","translate","startX","oldTouches","btnWidth","itemStyle","transition","transform","delItem","$parent","$el","start","e","touches","move","moveX","pageX","moveY","pageY","Math","abs","preventDefault","end","_this","$nextTick","btns","offsetWidth","!touchstart","!touchmove","!touchend","visiable","bgcolor","fixed","TabBar--hide","TabBar--fixed","title","to","hasSlot","keys","$slots","hasIcon","icon","$router","replace","TabItem--disabled","TabItem--noIcon","WHITE_BG","tabList","tintColor","selectedIndex","fullBorder","activeIndex","isOverFlow","defaultColor","activeStyle","initStyle","color","border-bottom","changeActive","assign","overflow-style","otherStyle","isChangeColor","hasBadge","borderBottom","content","arrow","test","location","push","hasArrow","background-color","baobab-border-bottom","placeholder","align","invalid","val","handleInput","target","handleBlur","handleFocus","clear","textAlign","input","blur","focus","baobab-text-input--warn","msg","oldVal","hasLabelSlot","slot","max","rows","cols","height","readonly","showCounter","textareaStyles","B-TextArea-title","maxlength","composing","startInput","anim","v","dismissOnClick","animName","modal","getType","slice","isButton","createButtons","buttons","onClick","map","btn","isPrompt","promptVal","alert","confirm","prompt","afterLeave","width","instance","after-leave","paddingTop","baobab-dialog--separator","href","_typeof","Symbol","iterator","constructor","hideCancel","init","opt","text","disable","destructive","setTimeout","conf","onSelect","getFontColor","actionsheet","config","time","toast","top","center","bottom","onlyText","wifi","loadingB","loadingA","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","radius","spinnerBgColor","overlayStyles","styles","border-radius","font-size","spinnerSize","parseFloat","description","main","directories","example","scripts","build:demo","build","lint","changelog","repository","url","pre-commit","keywords","author","license","devDependencies","autoprefixer","babel-core","babel-loader","babel-plugin-transform-object-rest-spread","babel-preset-env","css-loader","cz-conventional-changelog","eslint","eslint-config-standard","eslint-plugin-import","eslint-plugin-node","eslint-plugin-promise","eslint-plugin-standard","eslint-plugin-vue","eslint-plugin-vue-libs","eslint-plugin-vuefix","extract-text-webpack-plugin","fastclick","file-loader","html-webpack-plugin","inline-manifest-webpack-plugin","postcss-loader","style-loader","stylus","stylus-loader","url-loader","vue","vue-loader","vue-markdown-loader","vue-router","vue-template-compiler","vue-template-loader","webpack","webpack-chunk-hash","webpack-dev-server","dependencies","commitizen","path"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,aAAAD,IAEAD,EAAA,aAAAC,KACC,mBAAAK,WAAAC,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAR,OAGA,IAAAC,GAAAQ,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAX,WAUA,OANAM,GAAAE,GAAAI,KAAAX,EAAAD,QAAAC,IAAAD,QAAAO,GAGAN,EAAAU,GAAA,EAGAV,EAAAD,QAvBA,GAAAS,KA4DA,OAhCAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAQ,EAAA,SAAAf,EAAAgB,EAAAC,GACAV,EAAAW,EAAAlB,EAAAgB,IACAG,OAAAC,eAAApB,EAAAgB,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YAAetS,KAAA,MAAAuS,IAAA,uCAAyDC,cAAA,QAAAC,UAAA,MAAAC,OAAA,WAAAC,QAAA,MAAAC,iBAAgGC,aAAA,SAAAC,aAAA,UAAAC,eAAA,SAAAC,4CAAA,UAAAC,mBAAA,SAAAC,aAAA,UAAAC,4BAAA,SAAAC,OAAA,UAAAC,yBAAA,iBAAAC,uBAAA,SAAAC,qBAAA,SAAAC,wBAAA,SAAAC,yBAAA,SAAAC,oBAAA,SAAAC,yBAAA,SAAAC,uBAAA,SAAAC,8BAAA,SAAAC,UAAA,SAAAC,cAAA,SAAAC,sBAAA,UAAAC,iCAAA,SAAAC,iBAAA,UAAA1B,aAAA,SAAA2B,eAAA,UAAAC,OAAA,UAAAC,gBAAA,SAAAC,aAAA,SAAAC,IAAA,UAAAC,aAAA,UAAAC,sBAAA,SAAAC,aAAA,SAAAC,wBAAA,UAAAC,sBAAA,SAAAC,QAAA,UAAAC,qBAAA,SAAAC,qBAAA,WAAygCC,gBAAkB1E,QAAW2E,YAAcC,KAAA","file":"baobab-ui.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"baobab-ui\"] = factory();\n\telse\n\t\troot[\"baobab-ui\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"baobab-ui\"] = factory();\n\telse\n\t\troot[\"baobab-ui\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\n__webpack_require__(1);\n\nvar _Badge = __webpack_require__(2);\n\nvar _Badge2 = _interopRequireDefault(_Badge);\n\nvar _Radio = __webpack_require__(5);\n\nvar _Radio2 = _interopRequireDefault(_Radio);\n\nvar _RadioGroup = __webpack_require__(8);\n\nvar _RadioGroup2 = _interopRequireDefault(_RadioGroup);\n\nvar _Switcher = __webpack_require__(11);\n\nvar _Switcher2 = _interopRequireDefault(_Switcher);\n\nvar _Loading = __webpack_require__(14);\n\nvar _Loading2 = _interopRequireDefault(_Loading);\n\nvar _Loadmore = __webpack_require__(17);\n\nvar _Loadmore2 = _interopRequireDefault(_Loadmore);\n\nvar _SwipeOut = __webpack_require__(20);\n\nvar _SwipeOut2 = _interopRequireDefault(_SwipeOut);\n\nvar _SwipeOutItem = __webpack_require__(23);\n\nvar _SwipeOutItem2 = _interopRequireDefault(_SwipeOutItem);\n\nvar _TabBar = __webpack_require__(26);\n\nvar _TabBar2 = _interopRequireDefault(_TabBar);\n\nvar _TabItem = __webpack_require__(29);\n\nvar _TabItem2 = _interopRequireDefault(_TabItem);\n\nvar _Tab = __webpack_require__(32);\n\nvar _Tab2 = _interopRequireDefault(_Tab);\n\nvar _Cell = __webpack_require__(35);\n\nvar _Cell2 = _interopRequireDefault(_Cell);\n\nvar _CellGroup = __webpack_require__(38);\n\nvar _CellGroup2 = _interopRequireDefault(_CellGroup);\n\nvar _TextInput = __webpack_require__(41);\n\nvar _TextInput2 = _interopRequireDefault(_TextInput);\n\nvar _Field = __webpack_require__(44);\n\nvar _Field2 = _interopRequireDefault(_Field);\n\nvar _Textareaer = __webpack_require__(47);\n\nvar _Textareaer2 = _interopRequireDefault(_Textareaer);\n\nvar _Modal = __webpack_require__(50);\n\nvar _Modal2 = _interopRequireDefault(_Modal);\n\nvar _Dialog = __webpack_require__(53);\n\nvar _Dialog2 = _interopRequireDefault(_Dialog);\n\nvar _ActionSheet = __webpack_require__(56);\n\nvar _ActionSheet2 = _interopRequireDefault(_ActionSheet);\n\nvar _Toast = __webpack_require__(59);\n\nvar _Toast2 = _interopRequireDefault(_Toast);\n\nvar _Popup = __webpack_require__(62);\n\nvar _Popup2 = _interopRequireDefault(_Popup);\n\nvar _Spinner = __webpack_require__(65);\n\nvar _Spinner2 = _interopRequireDefault(_Spinner);\n\nvar _Button = __webpack_require__(68);\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// 气泡相关\n\n\n// 表单相关\nvar components = [_TabBar2.default, _TabItem2.default, _Badge2.default, _Cell2.default, _CellGroup2.default, _Field2.default, _Modal2.default, _Tab2.default, _Button2.default, _Spinner2.default,\n// some component belong filter\n// Filter,\n// SingleCard,\n// CheckCard,\n_Textareaer2.default, _TextInput2.default, _Radio2.default, _RadioGroup2.default, _Switcher2.default, _Toast2.default, _Popup2.default, _Loading2.default, _Loadmore2.default, _SwipeOut2.default, _SwipeOutItem2.default];\n\n// install方法将所有组件全局注册\n\n\n// 按钮相关\n\n\n// 筛选卡相关\n// import Filter from './Filter'\n// import SingleCard from './Filter/SingleCard'\n// import CheckCard from './Filter/CheckCard'\n\n// 弹出层相关\n\n\n// 选项卡相关\n\n\n// 标签栏相关\n\n// 基础组件\nexports.default = {\n install: function install(Vue) {\n components.forEach(function (component) {\n component.install(Vue);\n });\n\n Vue.prototype.$dialog = _Dialog2.default.install(Vue);\n Vue.prototype.$actionSheet = _ActionSheet2.default.install(Vue);\n Vue.prototype.$toast = _Toast2.default.install(Vue);\n Vue.prototype.$loading = _Loading2.default.install(Vue);\n },\n\n\n version: __webpack_require__(71).version\n};\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(3);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(4);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Badge',\n\n props: {\n tipNum: {\n type: [String, Number],\n required: false\n },\n\n bgColor: {\n type: String,\n default: '#3E81F1'\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"baobab-badge\",class:{'baobab-badge--single': _vm.tipNum !== undefined && _vm.tipNum.toString().length === 1, 'baobab-badge--dot': _vm.tipNum === undefined || _vm.tipNum === ''},style:({backgroundColor: _vm.bgColor})},[_vm._v(_vm._s(_vm.tipNum))])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(6);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(7);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Radio',\n\n props: {\n value: String,\n\n option: {\n type: [Object, String],\n required: true\n },\n\n position: {\n type: String,\n default: 'right'\n },\n\n type: {\n type: String,\n default: 'normal',\n validator: function validator(type) {\n var types = ['normal', 'check'];\n return types.indexOf(type) > -1;\n }\n }\n },\n\n data: function data() {\n return {\n radioVal: this.value\n };\n },\n\n\n watch: {\n value: function value(newVal) {\n this.radioVal = newVal;\n },\n radioVal: function radioVal(newVal) {\n this.$emit('input', newVal);\n }\n },\n\n computed: {\n iconName: function iconName() {\n return this.type;\n },\n selected: function selected() {\n return this.radioVal === this.option.value;\n }\n }\n\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-radio baobab-border-bottom\"},[_c('div',{staticClass:\"baobab-radio--wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.radioVal),expression:\"radioVal\"}],staticClass:\"baobab-radio--input\",attrs:{\"type\":\"radio\",\"disabled\":_vm.option.disabled},domProps:{\"value\":_vm.option.value || _vm.option,\"checked\":_vm._q(_vm.radioVal,_vm.option.value || _vm.option)},on:{\"change\":function($event){_vm.radioVal=_vm.option.value || _vm.option}}}),_vm._v(\" \"),(_vm.iconName === 'normal')?_c('span',{staticClass:\"baobab-radio--icon baobab-radio-icon--normal\",class:{ selected: _vm.selected, disabled: _vm.option.disabled, position: _vm.position === 'left' }},[_c('i')]):_vm._e(),_vm._v(\" \"),(_vm.iconName === 'check')?_c('span',{staticClass:\"baobab-radio--icon baobab-radio-icon--check\",class:{ selected: _vm.selected, disabled: _vm.option.disabled, position: _vm.position === 'left' }},[_c('i')]):_vm._e(),_vm._v(\" \"),_vm._t(\"default\",[_c('span',{staticClass:\"baobab-radio--label\",class:{ position: _vm.position === 'left' }},[_vm._v(_vm._s(_vm.option.label || _vm.option))])])],2)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(9);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(10);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'RadioGroup',\n\n props: {\n value: String,\n\n options: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n\n position: {\n type: String,\n default: 'right'\n },\n\n type: String\n },\n\n data: function data() {\n return {\n radioVal: this.value\n };\n },\n\n\n watch: {\n value: function value(newVal) {\n this.radioVal = newVal;\n },\n radioVal: function radioVal(newVal) {\n this.$emit('input', newVal);\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-radioGroup\"},[_vm._t(\"default\",_vm._l((_vm.options),function(option,index){return _c('Radio',{key:index,attrs:{\"option\":option,\"position\":_vm.position,\"type\":_vm.type},model:{value:(_vm.radioVal),callback:function ($$v) {_vm.radioVal=$$v},expression:\"radioVal\"}})}))],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(12);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(13);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Switcher',\n\n props: {\n offColor: {\n type: String,\n default: '#cacaca'\n },\n\n onColor: {\n type: String,\n default: '#3E81F1'\n },\n\n offText: {\n type: String,\n default: ''\n },\n\n onText: {\n type: String,\n default: ''\n },\n\n onVal: {\n default: true\n },\n\n offVal: {\n default: false\n },\n\n value: {}\n\n // 是否禁用\n // disabled: {\n // type: Boolean,\n // default: false\n // }\n },\n\n computed: {\n on: function on() {\n return this.onVal === this.value;\n },\n isText: function isText() {\n return this.onText && this.offText;\n }\n },\n\n methods: {\n handleClick: function handleClick() {\n this.$emit('input', this.on ? this.offVal : this.onVal);\n this.$emit('click');\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-switcher\",class:{'baobab-switcher--noText': !_vm.isText},style:({backgroundColor: _vm.on ? _vm.onColor : _vm.offColor}),on:{\"click\":_vm.handleClick}},[_c('div',{staticClass:\"baobab-switcher--text\"},[_vm._v(_vm._s(_vm.onText))]),_vm._v(\" \"),_c('div',{staticClass:\"baobab-switcher--text\"},[_vm._v(_vm._s(_vm.offText))]),_vm._v(\" \"),_c('div',{staticClass:\"baobab-switcher--slider\",class:{'baobab-switcher--open': _vm.on}})])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(15);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(16);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'loading',\n\n data: function data() {\n return {\n visible: false,\n message: '',\n zIndex: 7\n };\n },\n\n\n methods: {\n show: function show(message) {\n this.message = message;\n this.visible = true;\n },\n hide: function hide() {\n this.visible = false;\n this.message = '';\n this.zIndex = 4;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n var loading = new Vue(component);\n var id = 'baobab-ui-loading-mount-point';\n var mountPoint = document.createElement('div');\n mountPoint.id = id;\n document.body.appendChild(mountPoint);\n loading.$mount('#' + id);\n return {\n show: function show() {\n loading.show.apply(loading, arguments);\n },\n hide: function hide() {\n loading.hide.apply(loading, arguments);\n },\n zIndex: function zIndex(_zIndex) {\n loading.zIndex = _zIndex;\n return loading;\n }\n };\n }\n};\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"baobab-loading\",style:({zIndex: _vm.zIndex})},[_c('div',{staticClass:\"baobab-loading--main\",class:{'baobab-loading-main--message': _vm.message}},[_c('Spinner',{attrs:{\"foreColor\":\"#fff\",\"bgColor\":\"#4e4e4e\"}}),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.message),expression:\"message\"}],staticClass:\"baobab-loading--message\"},[_vm._v(_vm._s(_vm.message))])],1)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(18);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(19);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getDocuInfo() {\n return {\n winH: document.documentElement.clientHeight || document.body.clientHeight,\n scrollTop: document.body.scrollTop || document.documentElement.scrollTop,\n pageH: document.body.scrollHeight || document.documentElement.scrollHeight\n };\n}\n\nvar conponent = (0, _index2.default)({\n name: 'Loadmore',\n\n props: {\n visible: {\n type: Boolean,\n default: false\n },\n\n desc: {\n type: String,\n default: '正在加载...'\n }\n },\n\n data: function data() {\n return {\n show: false\n };\n },\n\n\n watch: {\n visible: function visible() {\n this.detectVisible();\n }\n },\n\n methods: {\n // 检测组件是否可见\n detectVisible: function detectVisible() {\n var docuInfo = getDocuInfo();\n var winH = docuInfo.winH;\n var pageH = docuInfo.pageH;\n if (pageH >= winH && this.visible) {\n // 文档高度已超过\b一屏高度 并且 用户传递的visible必须为true\n this.show = true;\n } else {\n this.show = false;\n }\n },\n\n\n // 滚动事件 ->\n onScroll: function onScroll() {\n this.detectVisible();\n var docuInfo = getDocuInfo();\n var winH = docuInfo.winH;\n var scrollTop = docuInfo.scrollTop;\n var pageH = docuInfo.pageH;\n if (scrollTop + winH >= pageH && this.visible) {\n this.$emit('reachBottom');\n }\n },\n\n\n // 监听滚动\n startListen: function startListen() {\n window.addEventListener('scroll', this.onScroll);\n },\n\n\n // 停止监听\n stopListen: function stopListen() {\n window.removeEventListener('scroll', this.onScroll);\n }\n },\n\n mounted: function mounted() {\n // 监听滚动\n this.startListen();\n\n // 滚动事件\n this.onScroll();\n },\n destroyed: function destroyed() {\n this.stopListen();\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(conponent.name, conponent);\n }\n};\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show),expression:\"show\"}],staticClass:\"baobab-loadmore\"},[_vm._t(\"default\",[_c('Spinner',{attrs:{\"size\":\"16\"}}),_vm._v(\" \"),_c('span',{staticClass:\"baobab-loadmore--desc\"},[_vm._v(_vm._s(_vm.desc))])])],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(21);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(22);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'SwipeOut',\n\n data: function data() {\n return {\n activeItem: null\n };\n },\n\n\n methods: {\n removeEle: function removeEle(el) {\n this.$refs.swipeOut.removeChild(el);\n this.$emit('onremove', el);\n },\n resetItem: function resetItem(item) {\n if (this.activeItem === item) return;\n if (this.activeItem && this.activeItem.close) {\n this.activeItem.close();\n }\n this.activeItem = item;\n }\n },\n\n created: function created() {\n this.$on('resetItem', this.resetItem);\n this.$on('removeEle', this.removeEle);\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{ref:\"swipeOut\",staticClass:\"baobab-swipe-out\",on:{\"click\":_vm.resetItem}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(24);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(25);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'SwipeOutItem',\n\n data: function data() {\n return {\n speed: 300,\n translate: 0,\n startX: 0,\n oldTouches: null,\n btnWidth: 0\n };\n },\n\n\n computed: {\n itemStyle: function itemStyle() {\n return {\n transition: 'all ' + this.speed + 'ms',\n transform: 'translate3d(' + this.translate + 'px, 0, 0)'\n };\n }\n },\n\n methods: {\n delItem: function delItem() {\n this.$parent.$emit('removeEle', this.$el);\n },\n start: function start(e) {\n this.speed = 0;\n this.oldTouches = e.touches[0];\n this.startX = this.translate;\n },\n move: function move(e) {\n var moveX = e.touches[0].pageX - this.oldTouches.pageX;\n var moveY = e.touches[0].pageY - this.oldTouches.pageY;\n\n if (Math.abs(moveX) < Math.abs(moveY) || Math.abs(moveX) < 20 || Math.abs(moveY) > 30) return;\n e.preventDefault();\n this.$parent.$emit('resetItem', this);\n moveX = this.startX * 1 + moveX * 1;\n\n // 边界判断\n if (moveX < -this.btnWidth) {\n moveX = -this.btnWidth;\n } else if (moveX > 0) {\n moveX = 0;\n }\n this.translate = moveX;\n },\n end: function end() {\n // \b自动布置\n var moveX = -this.translate > 30 ? -this.btnWidth : 0;\n // 滑动停止之前将speed置为0\n this.speed = 300;\n this.translate = moveX;\n },\n close: function close() {\n this.translate = 0;\n }\n },\n\n mounted: function mounted() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.btnWidth = _this.$refs.btns.offsetWidth;\n });\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"baobab-swipe-out-item\",style:(_vm.itemStyle)},[_c('div',{staticClass:\"baobab-swipe-out-item-box\",on:{\"!touchstart\":function($event){_vm.start($event)},\"!touchmove\":function($event){_vm.move($event)},\"!touchend\":function($event){_vm.end($event)}}},[_vm._t(\"default\")],2),_vm._v(\" \"),_c('div',{ref:\"btns\",staticClass:\"baobab-swipe-out-item-btns\"},[_vm._t(\"btns\",[_c('div',{staticClass:\"baobab-swipe-out-item-btn\",on:{\"click\":_vm.delItem}},[_vm._v(\"删除\")])])],2)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(27);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(28);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'TabBar',\n\n props: {\n visiable: {\n type: Boolean,\n default: true\n },\n bgcolor: {\n type: String,\n default: 'rgba(255, 255, 255, .9)'\n },\n fixed: {\n type: Boolean,\n default: false\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"TabBar baobab-border-top\",class:{'TabBar--hide': !_vm.visiable, 'TabBar--fixed': _vm.fixed},style:({backgroundColor: _vm.bgcolor})},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(30);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(31);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'TabItem',\n\n props: {\n title: {\n type: String,\n required: true,\n default: ''\n },\n to: String,\n selected: {\n type: Boolean,\n required: false,\n default: undefined\n }\n },\n\n computed: {\n hasSlot: function hasSlot() {\n return Object.keys(this.$slots).length > 0;\n },\n hasIcon: function hasIcon() {\n return this.$slots.icon;\n }\n },\n\n methods: {\n handleClick: function handleClick() {\n if (this.to && this.$router) {\n this.$router.replace(this.to);\n } else {\n // 如果不存在to则执行方法\n this.$emit('click');\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component); // 注册全局组件\n }\n};\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"TabItem\",class:{'selected': _vm.selected},on:{\"click\":_vm.handleClick}},[_c('div',{staticClass:\"TabItem--main\"},[(_vm.hasIcon)?_c('div',{staticClass:\"TabItem--icon\"},[(_vm.selected === false)?_vm._t(\"icon\"):_vm._e(),_vm._v(\" \"),(_vm.selected === true)?_vm._t(\"icon-selected\"):_vm._e(),_vm._v(\" \"),(_vm.selected === undefined)?_vm._t(\"icon-disabled\"):_vm._e(),_vm._v(\" \"),(_vm.hasIcon)?_c('div',{staticClass:\"TabItem--badge\"},[_vm._t(\"badge\")],2):_vm._e()],2):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"TabItem--title\",class:{'TabItem--disabled': _vm.selected === undefined && _vm.to === undefined, 'TabItem--noIcon': !_vm.hasIcon}},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \"),(!_vm.hasIcon)?_c('div',{staticClass:\"TabItem--badge--noIcon\"},[_vm._t(\"badge\")],2):_vm._e()])])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(33);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(34);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MAXLENTG = 5;\nvar WHITE_BG = 'rgba(255,255,255,1)';\nvar PRIMARY = '#3E81F1';\nvar component = (0, _index2.default)({\n name: 'Tab',\n props: {\n tabList: {\n type: Array,\n default: []\n },\n bgColor: {\n type: String,\n default: WHITE_BG\n },\n tintColor: {\n type: String,\n default: PRIMARY\n },\n selectedIndex: {\n type: Number,\n default: 0\n },\n fullBorder: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n activeIndex: 0,\n isOverFlow: false,\n defaultColor: WHITE_BG,\n activeStyle: null,\n initStyle: {\n color: WHITE_BG,\n 'border-bottom': 'none'\n }\n };\n },\n created: function created() {\n this.activeIndex = this.selectedIndex <= this.tabList.length - 1 ? this.selectedIndex : 0;\n if (this.tabList.length >= MAXLENTG) {\n this.isOverFlow = true;\n }\n this.activeStyle = {\n 'border-bottom': '2px solid ' + this.tintColor,\n color: this.tintColor\n // if(this.bgColor) []\n };\n },\n\n methods: {\n changeActive: function changeActive(index, item) {\n this.activeIndex = index;\n this.$emit('onChange', Object.assign({}, item));\n }\n }\n});\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"Tab-Plugin baobab-border-bottom\",class:{'overflow-style': _vm.isOverFlow},style:({'backgroundColor': _vm.bgColor})},_vm._l((_vm.tabList),function(item,index){return _c('div',{staticClass:\"tab-item-wrapper\",class:{'overflow-style': _vm.isOverFlow},style:(_vm.activeIndex === index && _vm.fullBorder ? _vm.activeStyle : _vm.otherStyle),on:{\"click\":function($event){_vm.changeActive(index,item)}}},[_c('div',{staticClass:\"tab-item\",class:{'isChangeColor': _vm.bgColor !== _vm.defaultColor ? true : false},style:(_vm.activeIndex === index && !_vm.fullBorder ? _vm.activeStyle : _vm.otherStyle)},[_c('div',{staticClass:\"badge--wrapper\"},[(item.hasBadge === true)?_c('Badge',{attrs:{\"tipNum\":item.value}}):_vm._e()],1),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(item.title))])])])}))}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(36);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(37);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Cell',\n props: {\n borderBottom: {\n type: Boolean,\n default: true\n },\n title: {\n type: String,\n default: ''\n },\n content: {\n type: String,\n default: ''\n },\n to: {\n type: [String, Object]\n },\n arrow: undefined,\n bgColor: {\n type: String,\n default: 'rgba(255,255,255,1)'\n }\n },\n\n methods: {\n handleClick: function handleClick() {\n if (this.to) {\n if (/^https?:/.test(this.to)) {\n window.location = this.to;\n } else {\n if (this.$router) {\n this.$router.push(this.to);\n } else {\n this.$emit('click');\n }\n }\n } else {\n this.$emit('click');\n }\n }\n },\n\n computed: {\n hasIcon: function hasIcon() {\n return this.$slots.icon;\n },\n\n // 如果有to属性, 则不必写arrow\n hasArrow: function hasArrow() {\n if (this.arrow !== undefined) {\n return true;\n }\n if (this.to) {\n return true;\n }\n return false;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-cellBox\",style:({'background-color': _vm.bgColor}),on:{\"click\":_vm.handleClick}},[_c('div',{staticClass:\"baobab-cell\",class:{'baobab-border-bottom': _vm.borderBottom}},[(_vm.hasIcon)?_c('div',{staticClass:\"baobab-cell--icon\"},[_vm._t(\"icon\")],2):_vm._e(),_vm._v(\" \"),_vm._t(\"header\",[(_vm.title)?_c('div',{staticClass:\"baobab-cell--hd\"},[_vm._v(_vm._s(_vm.title))]):_vm._e()]),_vm._v(\" \"),_vm._t(\"body\",[(_vm.content)?_c('div',{staticClass:\"baobab-cell--bd\"},[_vm._v(_vm._s(_vm.content))]):_vm._e()]),_vm._v(\" \"),(_vm.hasArrow)?_c('i',{staticClass:\"baobab-cell--arrow\"}):_vm._e(),_vm._v(\" \"),_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(39);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(40);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'CellGroup',\n\n props: {}\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"CellGroup\"},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(42);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(43);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'text-input',\n\n props: {\n value: {},\n\n placeholder: String,\n\n type: {\n type: String,\n default: 'text'\n },\n\n align: {\n type: String,\n default: 'left'\n },\n\n invalid: {\n type: Boolean,\n required: false\n }\n },\n\n data: function data() {\n return {\n val: this.value\n };\n },\n\n\n watch: {\n value: function value(newVal) {\n if (this.val !== newVal) {\n this.val = newVal;\n }\n },\n val: function val(newVal) {\n this.$emit('input', newVal);\n }\n },\n\n methods: {\n // 用户input输入事件\n handleInput: function handleInput(e) {\n this.val = e.target.value;\n },\n\n\n // input失去光标事件\n handleBlur: function handleBlur(e) {\n this.$emit('blur', e);\n },\n\n\n // input获得光标事件\n handleFocus: function handleFocus(e) {\n this.$emit('focus', e);\n },\n clear: function clear() {\n this.val = '';\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-text--input\"},[_c('input',{style:({'textAlign': _vm.align}),attrs:{\"type\":_vm.type,\"placeholder\":_vm.placeholder},domProps:{\"value\":_vm.val},on:{\"input\":_vm.handleInput,\"blur\":_vm.handleBlur,\"focus\":_vm.handleFocus}}),_vm._v(\" \"),_c('div',{staticClass:\"baobab-text-input--iconBox\"},[_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.val),expression:\"val\"}],staticClass:\"baobab-text-input--del\",class:{'baobab-text-input--warn': _vm.invalid},on:{\"click\":_vm.clear}})])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(45);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(46);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Field',\n\n props: {\n label: String,\n\n placeholder: String,\n\n type: {\n type: String,\n default: 'text'\n },\n\n align: {\n type: String,\n default: 'left'\n },\n\n value: {},\n\n invalid: {\n type: Object,\n default: function _default() {\n return {\n value: false,\n msg: '请重新输入'\n };\n }\n }\n\n },\n\n data: function data() {\n return {\n val: this.value\n };\n },\n\n\n watch: {\n value: function value(newVal) {\n if (newVal !== this.val) {\n this.val = newVal;\n }\n },\n val: function val(newVal, oldVal) {\n this.$emit('input', newVal);\n }\n },\n\n methods: {\n handleBlur: function handleBlur(e) {\n this.$emit('blur', e);\n },\n handleFocus: function handleFocus(e) {\n this.$emit('focus', e);\n }\n },\n\n computed: {\n hasLabelSlot: function hasLabelSlot() {\n return !!this.$slots.label;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Cell',[(_vm.label)?_c('div',{staticClass:\"baobab-field--label\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),_vm._v(\" \"),(!_vm.label && _vm.hasLabelSlot)?_c('div',{staticClass:\"baobab-field--label\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._t(\"label\")],2):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"baobab-field--bd\",attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('text-input',{attrs:{\"placeholder\":_vm.placeholder,\"type\":_vm.type,\"align\":_vm.align,\"invalid\":_vm.invalid.value},on:{\"blur\":_vm.handleBlur,\"focus\":_vm.handleFocus},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}})],1),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.invalid && _vm.invalid.value && _vm.invalid.msg && _vm.val),expression:\"invalid && invalid.value && invalid.msg && val\"}],staticClass:\"baobab-field--msg\"},[_c('span',[_vm._v(_vm._s(_vm.invalid.msg))])])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(48);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(49);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Textareaer',\n\n props: {\n // 双向绑定的值\n value: {},\n\n // 输入的最大长度\n max: {\n type: [Number, String]\n },\n\n // 行数\n rows: {\n type: [Number, String],\n default: 3\n },\n\n // 列数\n cols: {\n type: [Number, String],\n default: 30\n },\n\n // 高度\n height: [Number, String],\n\n // 是否只读\n readonly: Boolean,\n\n // 标题\n label: String,\n\n // 文本区名称\n name: String,\n\n // 提示语\n placeholder: {\n type: String,\n default: '请输入'\n },\n\n // 是否显示计数器\n showCounter: {\n type: Boolean,\n default: true\n }\n },\n\n data: function data() {\n return {\n val: this.value\n };\n },\n\n\n watch: {\n // 同步输入的数据\n val: function val(newVal) {\n this.$emit('input', newVal);\n },\n value: function value(newVal) {\n this.val = newVal;\n }\n },\n\n computed: {\n textareaStyles: function textareaStyles() {\n if (this.height) {\n return {\n height: this.height + 'px'\n };\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"B-TextArea\",class:{'B-TextArea-title': _vm.label}},[(_vm.label)?_c('div',{staticClass:\"B-TextArea--hd\"},[_c('span',[_vm._v(_vm._s(_vm.label))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"B-TextArea--bd\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.val),expression:\"val\"}],style:(_vm.textareaStyles),attrs:{\"name\":_vm.name,\"rows\":_vm.rows,\"cols\":_vm.cols,\"placeholder\":_vm.placeholder,\"maxlength\":_vm.max,\"readonly\":_vm.readonly},domProps:{\"value\":(_vm.val)},on:{\"blur\":function($event){_vm.$emit('on-blur')},\"focus\":function($event){_vm.$emit('on-focus')},\"input\":function($event){if($event.target.composing){ return; }_vm.val=$event.target.value}}}),_vm._v(\" \"),(_vm.max && _vm.showCounter)?_c('div',{staticClass:\"B-TextArea--bd-max\"},[_c('span',{class:{'startInput': _vm.val.length > 0}},[_vm._v(_vm._s(_vm.val.length))]),_vm._v(\"/\"+_vm._s(_vm.max))]):_vm._e()])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(51);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(52);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Modal',\n\n props: {\n // 使用v-model, 实现父子组件通信\n value: {\n type: Boolean\n },\n bgColor: {\n type: String,\n default: '#fff'\n },\n zIndex: {\n type: [String, Number],\n default: 2\n },\n anim: {\n validator: function validator(v) {\n // 验证数据准确性\n var names = ['none', 'bottomUp', 'fade'];\n return names.indexOf(v) > -1;\n },\n default: 'none'\n },\n // 是否点击Modal时隐藏Modal, 默认点击不隐藏\n dismissOnClick: {\n type: Boolean,\n default: false\n }\n },\n\n data: function data() {\n return {\n visible: false\n };\n },\n\n\n computed: {\n animName: function animName() {\n var name = this.anim;\n if (name === 'none') {\n return '';\n } else {\n return 'baobab--anim--' + name;\n }\n }\n },\n\n watch: {\n value: function value(newVal) {\n this.visible = newVal;\n }\n },\n\n methods: {\n handleClick: function handleClick(e) {\n if (e.target === this.$refs.modal && this.dismissOnClick) {\n this.$emit('input', false); // 更新父组件v-model传递过来的值\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.animName}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],ref:\"modal\",staticClass:\"baobab-modal\",style:({'backgroundColor': _vm.bgColor, 'zIndex': _vm.zIndex}),on:{\"click\":_vm.handleClick}},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(54);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(55);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getType(obj) {\n return Object.prototype.toString.call(obj).slice(8, -1);\n}\n\nfunction isButton(obj) {\n var type = getType(obj);\n return (/^(Object | Array | Function)&/.test(type)\n );\n}\n\nfunction createButtons(options) {\n var buttons = [];\n var type = getType(options);\n\n if (type === 'Object') {\n buttons = [options];\n } else if (type === 'Function') {\n buttons = [{\n title: '确定',\n onClick: options\n }];\n } else if (type === 'Array') {\n buttons = options;\n }\n\n if (buttons.length === 0) {\n buttons = [{ title: '确定' }];\n }\n\n return buttons.map(function (btn) {\n if (getType(btn) !== 'Object') {\n return { title: btn };\n } else {\n return btn;\n }\n });\n}\n\nvar component = (0, _index2.default)({\n name: 'Dialog',\n\n data: function data() {\n return {\n // 控制modal显隐\n visible: false,\n\n // 对话框标题\n title: '',\n\n // 对话框内容\n content: '',\n\n // 按钮数组\n buttons: [],\n\n // 是否存在输入框\n isPrompt: false,\n\n // 输入框中的值\n promptVal: '',\n zIndex: 6\n };\n },\n\n\n methods: {\n alert: function alert(title, content, buttons) {\n if (arguments.length === 1) {\n content = title;\n title = undefined;\n } else {\n if (isButton(content)) {\n buttons = content;\n content = title;\n title = undefined;\n }\n }\n this.title = title;\n this.content = content;\n this.buttons = createButtons(buttons);\n this.visible = true;\n },\n confirm: function confirm(title, content, callback) {\n if (arguments.length === 1) {\n content = title;\n title = undefined;\n } else {\n if (typeof content === 'function') {\n callback = content;\n content = title;\n title = undefined;\n }\n }\n\n this.alert(title, content, [{\n title: '取消',\n onClick: function onClick() {\n if (callback) callback(false);\n }\n }, {\n title: '我知道了',\n onClick: function onClick() {\n if (callback) callback(true);\n }\n }]);\n },\n prompt: function prompt(title, callback) {\n var _this = this;\n\n this.isPrompt = true;\n this.alert(title, '', [{\n title: '取消'\n }, {\n title: '确认',\n onClick: function onClick() {\n if (callback) callback(_this.promptVal);\n }\n }]);\n },\n handleClick: function handleClick(btn) {\n if (btn.onClick) {\n btn.onClick();\n }\n this.visible = false;\n },\n\n\n // transition 组件上的钩子函数, 动画过渡结束之后执行的钩子函数\n afterLeave: function afterLeave() {\n this.title = '';\n this.content = '';\n this.buttons = [];\n this.promptVal = '';\n this.isPrompt = false;\n this.zIndex = 6;\n }\n },\n\n computed: {\n width: function width() {\n return '270px';\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n var instance = new Vue(component);\n var id = 'baobab-ui-dialog-mount-point';\n var mountPoint = document.createElement('div');\n mountPoint.id = id;\n document.body.appendChild(mountPoint);\n instance.$mount('#' + id);\n return {\n alert: function alert() {\n instance.alert.apply(instance, arguments);\n },\n confirm: function confirm() {\n instance.confirm.apply(instance, arguments);\n },\n prompt: function prompt() {\n instance.prompt.apply(instance, arguments);\n },\n zIndex: function zIndex(_zIndex) {\n instance.zIndex = _zIndex;\n return instance;\n }\n };\n }\n};\n\n/***/ }),\n/* 54 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"anim\":\"fade\",\"zIndex\":\"zIndex\",\"bgColor\":\"rgba(0,0,0, .6)\"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('div',{staticClass:\"baobab-dialog\"},[_c('transition',{attrs:{\"name\":\"baobab-anim-scale\"},on:{\"after-leave\":_vm.afterLeave}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"baobab-dialog--main\",style:({'width': _vm.width})},[_c('div',{staticClass:\"baobab-dialog--bd\"},[_c('h3',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.title),expression:\"title\"}],staticClass:\"baobab-dialog--title\"},[_vm._v(_vm._s(_vm.title))]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.content),expression:\"content\"}],staticClass:\"baobab-dialog--content\",style:({paddingTop: _vm.title ? '12px' : 0})},[_c('div',{staticClass:\"baobab-dialog--text\"},[_vm._v(_vm._s(_vm.content))])]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isPrompt),expression:\"isPrompt\"}],staticClass:\"baobab-dialog--content\",style:({paddingTop: _vm.title ? '12px' : 0})},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.promptVal),expression:\"promptVal\"}],staticClass:\"baobab-dialog--prompt\",domProps:{\"value\":(_vm.promptVal)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.promptVal=$event.target.value}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"baobab-dialog--buttons\",class:{'baobab-dialog--separator': _vm.buttons.length === 2}},_vm._l((_vm.buttons),function(btn){return _c('a',{staticClass:\"baobab-dialog--button baobab-border-top\",style:({'width': _vm.buttons.length === 2 ? '50%' : '100%'}),attrs:{\"href\":\"javascript:;\"},on:{\"click\":function($event){_vm.handleClick(btn)}}},[_vm._v(\"\\n \"+_vm._s(btn.title)+\"\\n \")])}))])])],1)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 55 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 56 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _index = __webpack_require__(57);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(58);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// disable color\nvar disableColor = '#999';\n\n// careful color\nvar destructiveColor = '#ff3b30';\n\nvar component = (0, _index2.default)({\n name: 'actionSheet',\n\n data: function data() {\n return {\n visible: false,\n title: '',\n options: [\n // {\n // text: String,\n // disable: Boolean,\n // destructive: Boolean,\n // onSelect: Function\n // }\n ],\n hideCancel: false,\n tintColor: '#333333',\n zIndex: 5\n };\n },\n\n\n methods: {\n init: function init() {\n this.title = '';\n this.options = [];\n this.hideCancel = false;\n },\n show: function show(title, options) {\n var hideCancel = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n // 需要挂载到Vue原型上的方法\n this.title = title;\n this.hideCancel = hideCancel;\n this.options = options.map(function (opt) {\n if ((typeof opt === 'undefined' ? 'undefined' : _typeof(opt)) === 'object') {\n return opt;\n } else {\n return {\n text: opt,\n disable: false,\n destructive: false\n };\n }\n });\n this.visible = true;\n },\n hide: function hide() {\n var _this = this;\n\n this.visible = false;\n setTimeout(function () {\n _this.init();\n }, 300);\n },\n handleClick: function handleClick(i) {\n var conf = this.options[i];\n if (!conf.disable && conf.onSelect) {\n conf.onSelect();\n this.hide();\n }\n },\n getFontColor: function getFontColor(opt) {\n if (opt.disable) {\n return disableColor;\n }\n\n if (opt.destructive) {\n return destructiveColor;\n }\n\n return this.tintColor;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n var actionsheet = new Vue(component);\n var id = 'baobab-ui-actionsheet-mount-point';\n var mountPoint = document.createElement('div');\n mountPoint.id = id;\n document.body.appendChild(mountPoint);\n actionsheet.$mount('#' + id);\n return {\n config: function config(conf) {\n ['tintColor', 'zIndex'].forEach(function (name) {\n if (typeof conf[name] !== 'undefined') {\n actionsheet[name] = conf[name];\n }\n });\n return this;\n },\n show: function show() {\n actionsheet.show.apply(actionsheet, arguments);\n },\n hide: function hide() {\n actionsheet.hide.apply(actionsheet, arguments);\n }\n };\n }\n};\n\n/***/ }),\n/* 57 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"bgColor\":\"rgba(0, 0, 0, .6)\",\"anim\":\"fade\",\"zIndex\":\"zIndex\",\"dismissOnClick\":true},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('transition',{attrs:{\"name\":\"baobab--anim--bottomUp\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"baobab-actionSheet\"},[(_vm.title)?_c('div',{staticClass:\"baobab-actionSheet--title\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"baobab-actionSheet--options\"},_vm._l((_vm.options),function(opt,i){return _c('div',{staticClass:\"baobab-actionSheet--option baobab-border-top\",style:({color: _vm.getFontColor(opt)}),on:{\"click\":function($event){_vm.handleClick(i)}}},[_vm._v(\"\\n \"+_vm._s(opt.text)+\"\\n \")])})),_vm._v(\" \"),(_vm.hideCancel == false)?_c('div',{staticClass:\"baobab-actionSheet--option baobab-actionSheet--cancel\",style:({color: _vm.tintColor}),on:{\"click\":_vm.hide}},[_vm._v(\"\\n 取消\\n \")]):_vm._e()])])],1)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 58 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 59 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(60);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(61);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Toast',\n\n data: function data() {\n return {\n visiable: false,\n position: 'center',\n content: '',\n type: 'text', // success failure warning wifi loadingA loadingB text\n zIndex: 7\n };\n },\n\n\n methods: {\n show: function show(content) {\n var position = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'center';\n var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'text';\n\n var _this = this;\n\n var time = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 2000;\n var callback = arguments[4];\n\n if (content === '' && type === 'loadingB') {\n content = '正在加载';\n }\n\n if (typeof position === 'function') {\n callback = position;\n position = 'center';\n }\n\n if (typeof type === 'function') {\n // 至少写两个\n callback = type;\n type = 'text';\n }\n\n if (typeof time === 'function') {\n callback = time;\n time = 2000;\n }\n\n this.content = content;\n this.position = position;\n this.type = type;\n this.visiable = true;\n\n setTimeout(function () {\n _this.hide();\n if (typeof callback === 'function') {\n callback();\n }\n }, time);\n },\n hide: function hide() {\n this.visiable = false;\n },\n afterLeave: function afterLeave() {\n this.content = '';\n this.position = 'center';\n this.zIndex = 4;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n var toast = new Vue(component);\n var id = 'baobab-ui-toast-mount-point';\n var mountPoint = document.createElement('div');\n mountPoint.id = id;\n document.body.appendChild(mountPoint);\n toast.$mount('#' + id);\n return {\n show: function show() {\n toast.show.apply(toast, arguments);\n },\n hide: function hide() {\n toast.hide.apply(toast, arguments);\n },\n zIndex: function zIndex(_zIndex) {\n toast.zIndex = _zIndex;\n return toast; // 目的完成链式写法\n }\n };\n }\n};\n\n/***/ }),\n/* 60 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"baobab--anim--fade\"},on:{\"after-leave\":_vm.afterLeave}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visiable),expression:\"visiable\"}],staticClass:\"baobab-toast\",class:{\n top: _vm.position === 'top',\n center: _vm.position ==='center',\n bottom: _vm.position === 'bottom'\n },style:({zIndex: _vm.zIndex})},[_c('div',{staticClass:\"baobab-toast--main\",class:{onlyText: _vm.type === 'text', wifi: _vm.type === 'wifi', loadingB: _vm.type === 'loadingB', loadingA: _vm.type === 'loadingA'}},[(_vm.type !== 'text')?_c('div',{staticClass:\"baobab-toast--icon\"},[(_vm.type === 'success')?_c('i',{staticClass:\"icon--success\"}):_vm._e(),_vm._v(\" \"),(_vm.type === 'failure')?_c('i',{staticClass:\"icon--failure\"}):_vm._e(),_vm._v(\" \"),(_vm.type === 'wifi')?_c('i',{staticClass:\"icon--wifi\"}):_vm._e(),_vm._v(\" \"),(_vm.type === 'loadingB')?_c('Spinner',{attrs:{\"foreColor\":\"#fff\",\"bgColor\":\"#4e4e4e\"}}):_vm._e(),_vm._v(\" \"),(_vm.type === 'loadingA')?_c('i',{staticClass:\"icon--loadingA\"}):_vm._e()],1):_vm._e(),_vm._v(\" \"),(_vm.content || _vm.type === 'loadingB')?_c('div',{staticClass:\"baobab-toast--content\"},[_vm._v(_vm._s(_vm.content))]):_vm._e()])])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 61 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 62 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(63);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(64);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _conf = {\n top: {\n anim: 'baobab--anim--topDown',\n style: {\n top: 0\n }\n },\n\n bottom: {\n anim: 'baobab--anim--bottomUp',\n style: {\n bottom: 0\n }\n }\n};\n\nvar component = (0, _index2.default)({\n name: 'Popup',\n\n props: {\n value: {\n type: Boolean\n },\n\n position: {\n type: String,\n validator: function validator(position) {\n return position === 'bottom' || position === 'top';\n },\n\n default: 'bottom'\n },\n\n zIndex: {\n type: [String, Number],\n default: 2\n }\n },\n\n data: function data() {\n return {\n visible: false\n };\n },\n\n\n computed: {\n conf: function conf() {\n return _conf[this.position];\n }\n },\n\n watch: {\n value: function value(newVal) {\n this.visible = newVal;\n },\n visible: function visible(newVal, oldVal) {\n if (newVal !== this.value) {\n this.$emit('input', newVal);\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 63 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"zIndex\":_vm.zIndex,\"bgColor\":\"rgba(0, 0, 0, .6)\",\"anim\":\"fade\",\"dismissOnClick\":true},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('transition',{attrs:{\"name\":_vm.conf.anim}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"baobab-popup\",style:(_vm.conf.style)},[_vm._t(\"default\")],2)])],1)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 64 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 65 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(66);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(67);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Spinner',\n\n props: {\n size: {\n type: [Number, String],\n default: 36\n },\n\n // 边框宽度\n width: {\n type: [Number, String],\n default: 2\n },\n\n bgColor: {\n type: String,\n default: '#c2c2c2'\n },\n\n foreColor: {\n type: String,\n default: '#444'\n }\n\n },\n\n computed: {\n style: function style() {\n return {\n width: this.size + 'px',\n height: this.size + 'px',\n 'border-top-color': this.bgColor,\n 'border-right-color': this.bgColor,\n 'border-bottom-color': this.bgColor,\n 'border-left-color': this.foreColor,\n 'border-width': this.width + 'px'\n };\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 66 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-spinner\",style:(_vm.style)})}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 67 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 68 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(69);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(70);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Btn',\n\n props: {\n width: {\n type: String,\n default: ''\n },\n\n height: {\n type: String,\n default: '44px'\n },\n\n radius: {\n type: String,\n default: '2px'\n },\n\n tintColor: {\n type: String,\n default: '#3E81F1'\n },\n\n // spinnerBgColor\n spinnerBgColor: {\n type: String,\n default: 'rgba(255, 255, 255, .5)'\n },\n\n foreColor: {\n type: String,\n default: '#fff'\n },\n\n type: {\n default: 'normal',\n validator: function validator(type) {\n var types = ['normal', 'simple', 'cutout'];\n return types.indexOf(type) > -1;\n }\n },\n disabled: {\n type: Boolean,\n default: false\n },\n\n loading: {\n type: Boolean,\n default: false\n }\n },\n\n computed: {\n // 不可点击样式\n // mixClass() {\n // return {\n // 'disabled': this.disabled || this.loading\n // }\n // },\n\n overlayStyles: function overlayStyles() {\n var type = this.type,\n tintColor = this.tintColor;\n\n var styles = {};\n if (type === 'normal') {\n styles['background-color'] = tintColor;\n } else if (type === 'simple') {\n styles['background-color'] = '#fff';\n } else if (type === 'cutout') {\n styles['background-color'] = '#fff';\n }\n return styles;\n },\n style: function style() {\n var type = this.type,\n tintColor = this.tintColor;\n\n\n var styles = {\n width: this.width,\n height: this.height,\n 'border-radius': this.radius,\n 'font-size': this.size\n };\n if (type === 'normal') {\n styles['color'] = '#fff';\n styles['background-color'] = tintColor;\n } else if (type === 'simple') {\n styles['color'] = tintColor;\n styles['background-color'] = '#fff';\n } else if (type === 'cutout') {\n styles['border'] = '1px solid ' + tintColor;\n styles['color'] = tintColor;\n styles['background-color'] = '#fff';\n }\n\n return styles;\n },\n spinnerSize: function spinnerSize() {\n var size = parseFloat(this.height) * 0.45;\n return size < 12 ? 12 : size;\n }\n },\n\n methods: {\n handleClick: function handleClick() {\n if (!this.loading && !this.disabled) {\n this.$emit('click');\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-button\",style:(_vm.style),on:{\"click\":_vm.handleClick}},[(_vm.loading && _vm.disabled)?_c('Spinner',{staticClass:\"baobab-button--spinner\",attrs:{\"size\":_vm.spinnerSize,\"width\":\"1\",\"bgColor\":_vm.spinnerBgColor,\"foreColor\":_vm.foreColor}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"baobab-button--name\"},[_vm._t(\"default\")],2),_vm._v(\" \"),(_vm.disabled || _vm.loading)?_c('div',{staticClass:\"baobab-button--overlay\",style:(_vm.overlayStyles)}):_vm._e()],1)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports) {\n\nmodule.exports = {\"name\":\"baobab-ui\",\"version\":\"1.0.10\",\"description\":\"BBT内部组件库-基于vue2.0的UI组件库\",\"main\":\"lib/baobab-ui.js\",\"directories\":{\"example\":\"example\",\"test\":\"tests\"},\"scripts\":{\"start\":\"node ./example/server.js\",\"build:demo\":\"rm -rf ./docs/demo/css && rm -rf ./docs/demo/js && rm -rf ./docs/demo/index.html && node example/build.js\",\"build\":\"rm -rf ./lib && node ./webpack.config.js\",\"lint\":\"eslint --ext .js,.vue src\",\"changelog\":\"conventional-changelog -p angular -i CHANGELOG.md -w\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/BBT-FE/Baobab-UI\"},\"pre-commit\":[\"lint\"],\"keywords\":[\"UI\"],\"author\":\"6379616e\",\"license\":\"MIT\",\"devDependencies\":{\"autoprefixer\":\"^7.2.4\",\"babel-core\":\"^6.26.0\",\"babel-loader\":\"^7.1.2\",\"babel-plugin-transform-object-rest-spread\":\"^6.26.0\",\"babel-preset-env\":\"^1.6.1\",\"css-loader\":\"^0.28.8\",\"cz-conventional-changelog\":\"^2.1.0\",\"eslint\":\"^4.15.0\",\"eslint-config-standard\":\"^11.0.0-beta.0\",\"eslint-plugin-import\":\"^2.8.0\",\"eslint-plugin-node\":\"^5.2.1\",\"eslint-plugin-promise\":\"^3.6.0\",\"eslint-plugin-standard\":\"^3.0.1\",\"eslint-plugin-vue\":\"^4.2.0\",\"eslint-plugin-vue-libs\":\"^2.1.0\",\"eslint-plugin-vuefix\":\"^0.2.1\",\"extract-text-webpack-plugin\":\"^3.0.2\",\"fastclick\":\"^1.0.6\",\"file-loader\":\"^1.1.6\",\"html-webpack-plugin\":\"^2.30.1\",\"inline-manifest-webpack-plugin\":\"^3.0.1\",\"postcss-loader\":\"^2.0.10\",\"pre-commit\":\"^1.2.2\",\"style-loader\":\"^0.19.1\",\"stylus\":\"^0.54.5\",\"stylus-loader\":\"^3.0.1\",\"url-loader\":\"^0.6.2\",\"vue\":\"^2.5.13\",\"vue-loader\":\"^13.7.0\",\"vue-markdown-loader\":\"^2.3.0\",\"vue-router\":\"^3.0.1\",\"vue-template-compiler\":\"^2.5.13\",\"vue-template-loader\":\"^0.3.1\",\"webpack\":\"^3.10.0\",\"webpack-chunk-hash\":\"^0.5.0\",\"webpack-dev-server\":\"^2.10.1\"},\"dependencies\":{},\"config\":{\"commitizen\":{\"path\":\"./node_modules/cz-conventional-changelog\"}}}\n\n/***/ })\n/******/ ]);\n});\n\n\n// WEBPACK FOOTER //\n// baobab-ui.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap b8f894ac4811316250f1","import './common.styl'\n// 基础组件\nimport Badge from './Badge'\nimport Radio from './Radio'\nimport RadioGroup from './Radio/Radio-Group'\nimport Switcher from './Switcher'\nimport Loading from './Loading'\nimport Loadmore from './Loadmore'\nimport SwipeOut from './SwipeOut'\nimport SwipeOutItem from './SwipeOut/SwipeOutItem'\n\n// 标签栏相关\nimport TabBar from './TabBar'\nimport TabItem from './TabBar/TabItem'\n\n// 选项卡相关\nimport Tab from './Tab'\n\n// 表单相关\nimport Cell from './Cell'\nimport CellGroup from './Cell/CellGroup'\nimport TextInput from './Text-Input'\nimport Field from './Field'\nimport Textareaer from './Textareaer'\n\n// 筛选卡相关\n// import Filter from './Filter'\n// import SingleCard from './Filter/SingleCard'\n// import CheckCard from './Filter/CheckCard'\n\n// 弹出层相关\nimport Modal from './Modal'\nimport Dialog from './Dialog'\nimport ActionSheet from './ActionSheet'\nimport Toast from './Toast'\nimport Popup from './Popup'\n\n// 气泡相关\nimport Spinner from './Spinner'\n\n// 按钮相关\nimport Button from './Button'\n\nconst components = [\n TabBar,\n TabItem,\n Badge,\n Cell,\n CellGroup,\n Field,\n Modal,\n Tab,\n Button,\n Spinner,\n // some component belong filter\n // Filter,\n // SingleCard,\n // CheckCard,\n Textareaer,\n TextInput,\n Radio,\n RadioGroup,\n Switcher,\n Toast,\n Popup,\n Loading,\n Loadmore,\n SwipeOut,\n SwipeOutItem\n]\n\n// install方法将所有组件全局注册\nexport default {\n install(Vue) {\n components.forEach((component) => {\n component.install(Vue)\n })\n\n Vue.prototype.$dialog = Dialog.install(Vue)\n Vue.prototype.$actionSheet = ActionSheet.install(Vue)\n Vue.prototype.$toast = Toast.install(Vue)\n Vue.prototype.$loading = Loading.install(Vue)\n },\n\n version: require('../package.json').version\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Badge',\n\n props: {\n tipNum: {\n type: [String, Number],\n required: false\n },\n\n bgColor: {\n type: String,\n default: '#3E81F1'\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Badge/index.js","{{tipNum}}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Badge/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Radio',\n\n props: {\n value: String,\n\n option: {\n type: [Object, String],\n required: true\n },\n\n position: {\n type: String,\n default: 'right'\n },\n\n type: {\n type: String,\n default: 'normal',\n validator(type) {\n const types = ['normal', 'check']\n return types.indexOf(type) > -1\n }\n }\n },\n\n data() {\n return {\n radioVal: this.value\n }\n },\n\n watch: {\n value(newVal) {\n this.radioVal = newVal\n },\n\n radioVal(newVal) {\n this.$emit('input', newVal)\n }\n },\n\n computed: {\n iconName() {\n return this.type\n },\n\n selected() {\n return this.radioVal === this.option.value\n }\n }\n\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/index.js","\n \n \n \n \n \n \n\n \n \n \n \n \n {{option.label || option}}\n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'RadioGroup',\n\n props: {\n value: String,\n\n options: {\n type: Array,\n default() {\n return []\n }\n },\n\n position: {\n type: String,\n default: 'right'\n },\n\n type: String\n },\n\n data() {\n return {\n radioVal: this.value\n }\n },\n\n watch: {\n value(newVal) {\n this.radioVal = newVal\n },\n\n radioVal(newVal) {\n this.$emit('input', newVal)\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/Radio-Group/index.js","\n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/Radio-Group/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Switcher',\n\n props: {\n offColor: {\n type: String,\n default: '#cacaca'\n },\n\n onColor: {\n type: String,\n default: '#3E81F1'\n },\n\n offText: {\n type: String,\n default: ''\n },\n\n onText: {\n type: String,\n default: ''\n },\n\n onVal: {\n default: true\n },\n\n offVal: {\n default: false\n },\n\n value: {\n }\n\n // 是否禁用\n // disabled: {\n // type: Boolean,\n // default: false\n // }\n },\n\n computed: {\n on() {\n return this.onVal === this.value\n },\n\n isText() {\n return this.onText && this.offText\n }\n },\n\n methods: {\n handleClick() {\n this.$emit('input', this.on ? this.offVal : this.onVal)\n this.$emit('click')\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Switcher/index.js","\n {{onText}}\n {{offText}}\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Switcher/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'loading',\n\n data() {\n return {\n visible: false,\n message: '',\n zIndex: 7\n }\n },\n\n methods: {\n show(message) {\n this.message = message\n this.visible = true\n },\n\n hide() {\n this.visible = false\n this.message = ''\n this.zIndex = 4\n }\n }\n})\n\nexport default {\n install(Vue) {\n const loading = new Vue(component)\n const id = 'baobab-ui-loading-mount-point'\n const mountPoint = document.createElement('div')\n mountPoint.id = id\n document.body.appendChild(mountPoint)\n loading.$mount(`#${id}`)\n return {\n show() {\n loading.show.apply(loading, arguments)\n },\n\n hide() {\n loading.hide.apply(loading, arguments)\n },\n\n zIndex(zIndex) {\n loading.zIndex = zIndex\n return loading\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loading/index.js","\n \n \n {{message}}\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loading/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nfunction getDocuInfo() {\n return {\n winH: document.documentElement.clientHeight || document.body.clientHeight,\n scrollTop: document.body.scrollTop || document.documentElement.scrollTop,\n pageH: document.body.scrollHeight || document.documentElement.scrollHeight\n }\n}\n\nconst conponent = create({\n name: 'Loadmore',\n\n props: {\n visible: {\n type: Boolean,\n default: false\n },\n\n desc: {\n type: String,\n default: '正在加载...'\n }\n },\n\n data() {\n return {\n show: false\n }\n },\n\n watch: {\n visible() {\n this.detectVisible()\n }\n },\n\n methods: {\n // 检测组件是否可见\n detectVisible() {\n const docuInfo = getDocuInfo()\n const winH = docuInfo.winH\n const pageH = docuInfo.pageH\n if (pageH >= winH && this.visible) { // 文档高度已超过\b一屏高度 并且 用户传递的visible必须为true\n this.show = true\n } else {\n this.show = false\n }\n },\n\n // 滚动事件 ->\n onScroll() {\n this.detectVisible()\n const docuInfo = getDocuInfo()\n const winH = docuInfo.winH\n const scrollTop = docuInfo.scrollTop\n const pageH = docuInfo.pageH\n if (scrollTop + winH >= pageH && this.visible) {\n this.$emit('reachBottom')\n }\n },\n\n // 监听滚动\n startListen() {\n window.addEventListener('scroll', this.onScroll)\n },\n\n // 停止监听\n stopListen() {\n window.removeEventListener('scroll', this.onScroll)\n }\n },\n\n mounted() {\n // 监听滚动\n this.startListen()\n\n // 滚动事件\n this.onScroll()\n },\n\n destroyed() {\n this.stopListen()\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(conponent.name, conponent)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loadmore/index.js","\n \n \n {{desc}}\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loadmore/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'SwipeOut',\n\n data() {\n return {\n activeItem: null\n }\n },\n\n methods: {\n removeEle(el) {\n this.$refs.swipeOut.removeChild(el)\n this.$emit('onremove', el)\n },\n\n resetItem(item) {\n if (this.activeItem === item) return\n if (this.activeItem && this.activeItem.close) {\n this.activeItem.close()\n }\n this.activeItem = item\n }\n },\n\n created() {\n this.$on('resetItem', this.resetItem)\n this.$on('removeEle', this.removeEle)\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/index.js","\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'SwipeOutItem',\n\n data() {\n return {\n speed: 300,\n translate: 0,\n startX: 0,\n oldTouches: null,\n btnWidth: 0\n }\n },\n\n computed: {\n itemStyle() {\n return {\n transition: `all ${this.speed}ms`,\n transform: `translate3d(${this.translate}px, 0, 0)`\n }\n }\n },\n\n methods: {\n delItem() {\n this.$parent.$emit('removeEle', this.$el)\n },\n\n start(e) {\n this.speed = 0\n this.oldTouches = e.touches[0]\n this.startX = this.translate\n },\n\n move(e) {\n let moveX = e.touches[0].pageX - this.oldTouches.pageX\n let moveY = e.touches[0].pageY - this.oldTouches.pageY\n\n if (Math.abs(moveX) < Math.abs(moveY) || Math.abs(moveX) < 20 || Math.abs(moveY) > 30) return\n e.preventDefault()\n this.$parent.$emit('resetItem', this)\n moveX = this.startX * 1 + moveX * 1\n\n // 边界判断\n if (moveX < -this.btnWidth) {\n moveX = -this.btnWidth\n } else if (moveX > 0) {\n moveX = 0\n }\n this.translate = moveX\n },\n\n end() {\n // \b自动布置\n let moveX = -this.translate > 30 ? -this.btnWidth : 0\n // 滑动停止之前将speed置为0\n this.speed = 300\n this.translate = moveX\n },\n\n close() {\n this.translate = 0\n }\n },\n\n mounted () {\n this.$nextTick(() => {\n this.btnWidth = this.$refs.btns.offsetWidth\n })\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/SwipeOutItem/index.js","\n \n \n \n \n \n 删除\n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/SwipeOutItem/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'TabBar',\n\n props: {\n visiable: {\n type: Boolean,\n default: true\n },\n bgcolor: {\n type: String,\n default: 'rgba(255, 255, 255, .9)'\n },\n fixed: {\n type: Boolean,\n default: false\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/index.js","\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'TabItem',\n\n props: {\n title: {\n type: String,\n required: true,\n default: ''\n },\n to: String,\n selected: {\n type: Boolean,\n required: false,\n default: undefined\n }\n },\n\n computed: {\n hasSlot() {\n return Object.keys(this.$slots).length > 0\n },\n\n hasIcon() {\n return this.$slots.icon\n }\n },\n\n methods: {\n handleClick() {\n if (this.to && this.$router) {\n this.$router.replace(this.to)\n }\n else {\n // 如果不存在to则执行方法\n this.$emit('click')\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component) // 注册全局组件\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/TabItem/index.js","\n \n \n \n \n \n \n \n \n \n \n {{title}}\n \n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/TabItem/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst MAXLENTG = 5\nconst WHITE_BG = 'rgba(255,255,255,1)'\nconst PRIMARY = '#3E81F1'\nconst component = create({\n name: 'Tab',\n props: {\n tabList: {\n type: Array,\n default: []\n },\n bgColor: {\n type: String,\n default: WHITE_BG\n },\n tintColor: {\n type: String,\n default: PRIMARY\n },\n selectedIndex: {\n type: Number,\n default: 0\n },\n fullBorder: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n activeIndex: 0,\n isOverFlow: false,\n defaultColor: WHITE_BG,\n activeStyle: null,\n initStyle: {\n color: WHITE_BG,\n 'border-bottom': 'none'\n }\n }\n },\n created() {\n this.activeIndex = this.selectedIndex <= this.tabList.length - 1 ? this.selectedIndex : 0\n if (this.tabList.length >= MAXLENTG) {\n this.isOverFlow = true\n }\n this.activeStyle = {\n 'border-bottom': `2px solid ${this.tintColor}`,\n color: this.tintColor\n }\n // if(this.bgColor) []\n },\n methods: {\n changeActive(index, item) {\n this.activeIndex = index\n this.$emit('onChange', Object.assign({}, item))\n }\n }\n})\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tab/index.js"," \n \n \n \n {{item.title}}\n \n \n \n\n\n\n// WEBPACK FOOTER //\n// ./src/Tab/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Cell',\n props: {\n borderBottom: {\n type: Boolean,\n default: true\n },\n title: {\n type: String,\n default: ''\n },\n content: {\n type: String,\n default: ''\n },\n to: {\n type: [String, Object]\n },\n arrow: undefined,\n bgColor: {\n type: String,\n default: 'rgba(255,255,255,1)'\n }\n },\n\n methods: {\n handleClick() {\n if (this.to) {\n if (/^https?:/.test(this.to)) {\n window.location = this.to\n }\n else {\n if (this.$router) {\n this.$router.push(this.to)\n }\n else {\n this.$emit('click')\n }\n }\n }\n else {\n this.$emit('click')\n }\n }\n },\n\n computed: {\n hasIcon() {\n return this.$slots.icon\n },\n // 如果有to属性, 则不必写arrow\n hasArrow() {\n if (this.arrow !== undefined) {\n return true\n }\n if (this.to) {\n return true\n }\n return false\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/index.js","\n \n \t\n \t\t\n \t\n \t\n \t\t{{title}}\n \t\n \t\n \t\t{{content}}\n \t\n \t\n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'CellGroup',\n\n props: {\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/CellGroup/index.js","\n\t\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/CellGroup/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'text-input',\n\n props: {\n value: {\n },\n\n placeholder: String,\n\n type: {\n type: String,\n default: 'text'\n },\n\n align: {\n type: String,\n default: 'left'\n },\n\n invalid: {\n type: Boolean,\n required: false\n }\n },\n\n data() {\n return {\n val: this.value\n }\n },\n\n watch: {\n value(newVal) {\n if (this.val !== newVal) {\n this.val = newVal\n }\n },\n\n val(newVal) {\n this.$emit('input', newVal)\n }\n },\n\n methods: {\n // 用户input输入事件\n handleInput(e) {\n this.val = e.target.value\n },\n\n // input失去光标事件\n handleBlur(e) {\n this.$emit('blur', e)\n },\n\n // input获得光标事件\n handleFocus(e) {\n this.$emit('focus', e)\n },\n\n clear() {\n this.val = ''\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Text-Input/index.js","\n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Text-Input/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Field',\n\n props: {\n label: String,\n\n placeholder: String,\n\n type: {\n type: String,\n default: 'text'\n },\n\n align: {\n type: String,\n default: 'left'\n },\n\n value: {\n },\n\n invalid: {\n type: Object,\n default() {\n return {\n value: false,\n msg: '请重新输入'\n }\n }\n }\n\n },\n\n data() {\n return {\n val: this.value\n }\n },\n\n watch: {\n value(newVal) {\n if (newVal !== this.val) {\n this.val = newVal\n }\n },\n\n val(newVal, oldVal) {\n this.$emit('input', newVal)\n }\n },\n\n methods: {\n handleBlur(e) {\n this.$emit('blur', e)\n },\n\n handleFocus(e) {\n this.$emit('focus', e)\n }\n },\n\n computed: {\n hasLabelSlot() {\n return !!this.$slots.label\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Field/index.js","\n\t{{label}}\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t{{invalid.msg}}\n\t\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Field/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Textareaer',\n\n props: {\n // 双向绑定的值\n value: {\n },\n\n // 输入的最大长度\n max: {\n type: [Number, String]\n },\n\n // 行数\n rows: {\n type: [Number, String],\n default: 3\n },\n\n // 列数\n cols: {\n type: [Number, String],\n default: 30\n },\n\n // 高度\n height: [Number, String],\n\n // 是否只读\n readonly: Boolean,\n\n // 标题\n label: String,\n\n // 文本区名称\n name: String,\n\n // 提示语\n placeholder: {\n type: String,\n default: '请输入'\n },\n\n // 是否显示计数器\n showCounter: {\n type: Boolean,\n default: true\n }\n },\n\n data() {\n return {\n val: this.value\n }\n },\n\n watch: {\n // 同步输入的数据\n val(newVal) {\n this.$emit('input', newVal)\n },\n\n value(newVal) {\n this.val = newVal\n }\n },\n\n computed: {\n textareaStyles() {\n if (this.height) {\n return {\n height: `${this.height}px`\n }\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Textareaer/index.js","\n \n {{label}}\n \n \n \n \n 0}\">{{val.length}}/{{max}}\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Textareaer/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Modal',\n\n props: {\n // 使用v-model, 实现父子组件通信\n value: {\n type: Boolean\n },\n bgColor: {\n type: String,\n default: '#fff'\n },\n zIndex: {\n type: [String, Number],\n default: 2\n },\n anim: {\n validator: v => { // 验证数据准确性\n const names = ['none', 'bottomUp', 'fade']\n return names.indexOf(v) > -1\n },\n default: 'none'\n },\n // 是否点击Modal时隐藏Modal, 默认点击不隐藏\n dismissOnClick: {\n type: Boolean,\n default: false\n }\n },\n\n data() {\n return {\n visible: false\n }\n },\n\n computed: {\n animName() {\n const name = this.anim\n if (name === 'none') {\n return ''\n }\n else {\n return `baobab--anim--${name}`\n }\n }\n },\n\n watch: {\n value(newVal) {\n this.visible = newVal\n }\n },\n\n methods: {\n handleClick(e) {\n if (e.target === this.$refs.modal && this.dismissOnClick) {\n this.$emit('input', false) // 更新父组件v-model传递过来的值\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Modal/index.js","\n\t\n\t\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Modal/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nfunction getType(obj) {\n return Object.prototype.toString.call(obj).slice(8, -1)\n}\n\nfunction isButton(obj) {\n const type = getType(obj)\n return /^(Object | Array | Function)&/.test(type)\n}\n\nfunction createButtons(options) {\n let buttons = []\n const type = getType(options)\n\n if (type === 'Object') {\n buttons = [options]\n }\n else if (type === 'Function') {\n buttons = [{\n title: '确定',\n onClick: options\n }]\n }\n else if (type === 'Array') {\n buttons = options\n }\n\n if (buttons.length === 0) {\n buttons = [{ title: '确定' }]\n }\n\n return buttons.map(btn => {\n if (getType(btn) !== 'Object') {\n return { title: btn }\n }\n else {\n return btn\n }\n })\n}\n\nconst component = create({\n name: 'Dialog',\n\n data() {\n return {\n // 控制modal显隐\n visible: false,\n\n // 对话框标题\n title: '',\n\n // 对话框内容\n content: '',\n\n // 按钮数组\n buttons: [],\n\n // 是否存在输入框\n isPrompt: false,\n\n // 输入框中的值\n promptVal: '',\n zIndex: 6\n }\n },\n\n methods: {\n alert(title, content, buttons) {\n if (arguments.length === 1) {\n content = title\n title = undefined\n }\n else {\n if (isButton(content)) {\n buttons = content\n content = title\n title = undefined\n }\n }\n this.title = title\n this.content = content\n this.buttons = createButtons(buttons)\n this.visible = true\n },\n\n confirm(title, content, callback) {\n if (arguments.length === 1) {\n content = title\n title = undefined\n }\n else {\n if (typeof content === 'function') {\n callback = content\n content = title\n title = undefined\n }\n }\n\n this.alert(title, content, [\n {\n title: '取消',\n onClick() {\n if (callback) callback(false)\n }\n },\n {\n title: '我知道了',\n onClick() {\n if (callback) callback(true)\n }\n }\n ])\n },\n\n prompt(title, callback) {\n this.isPrompt = true\n this.alert(title, '', [\n {\n title: '取消'\n },\n {\n title: '确认',\n onClick: () => {\n if (callback) callback(this.promptVal)\n }\n }\n ])\n },\n\n handleClick(btn) {\n if (btn.onClick) {\n btn.onClick()\n }\n this.visible = false\n },\n\n // transition 组件上的钩子函数, 动画过渡结束之后执行的钩子函数\n afterLeave() {\n this.title = ''\n this.content = ''\n this.buttons = []\n this.promptVal = ''\n this.isPrompt = false\n this.zIndex = 6\n }\n },\n\n computed: {\n\n width() {\n return '270px'\n }\n }\n})\n\nexport default {\n install(Vue) {\n const instance = new Vue(component)\n const id = 'baobab-ui-dialog-mount-point'\n const mountPoint = document.createElement('div')\n mountPoint.id = id\n document.body.appendChild(mountPoint)\n instance.$mount('#' + id)\n return {\n alert() {\n instance.alert.apply(instance, arguments)\n },\n\n confirm() {\n instance.confirm.apply(instance, arguments)\n },\n\n prompt() {\n instance.prompt.apply(instance, arguments)\n },\n\n zIndex(zIndex) {\n instance.zIndex = zIndex\n return instance\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Dialog/index.js","\n \n \n \n \n {{title}}\n \n {{content}}\n \n \n \n \n \n \n \n {{btn.title}}\n \n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Dialog/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\n// disable color\nconst disableColor = '#999'\n\n// careful color\nconst destructiveColor = '#ff3b30'\n\nconst component = create({\n name: 'actionSheet',\n\n data() {\n return {\n visible: false,\n title: '',\n options: [\n // {\n // text: String,\n // disable: Boolean,\n // destructive: Boolean,\n // onSelect: Function\n // }\n ],\n hideCancel: false,\n tintColor: '#333333',\n zIndex: 5\n }\n },\n\n methods: {\n init() {\n this.title = ''\n this.options = []\n this.hideCancel = false\n },\n\n show(title, options, hideCancel = false) { // 需要挂载到Vue原型上的方法\n this.title = title\n this.hideCancel = hideCancel\n this.options = options.map(opt => {\n if (typeof opt === 'object') {\n return opt\n }\n else {\n return {\n text: opt,\n disable: false,\n destructive: false\n }\n }\n })\n this.visible = true\n },\n\n hide() {\n this.visible = false\n setTimeout(() => {\n this.init()\n }, 300)\n },\n\n handleClick(i) {\n const conf = this.options[i]\n if (!conf.disable && conf.onSelect) {\n conf.onSelect()\n this.hide()\n }\n },\n\n getFontColor(opt) {\n if (opt.disable) {\n return disableColor\n }\n\n if (opt.destructive) {\n return destructiveColor\n }\n\n return this.tintColor\n }\n }\n})\n\nexport default {\n install(Vue) {\n const actionsheet = new Vue(component)\n const id = 'baobab-ui-actionsheet-mount-point'\n const mountPoint = document.createElement('div')\n mountPoint.id = id\n document.body.appendChild(mountPoint)\n actionsheet.$mount(`#${id}`)\n return {\n\n config(conf) {\n ['tintColor', 'zIndex'].forEach(name => {\n if (typeof conf[name] !== 'undefined') {\n actionsheet[name] = conf[name]\n }\n })\n return this\n },\n\n show() {\n actionsheet.show.apply(actionsheet, arguments)\n },\n\n hide() {\n actionsheet.hide.apply(actionsheet, arguments)\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ActionSheet/index.js","\n \n \n {{title}}\n \n \n {{opt.text}}\n \n \n \n 取消\n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/ActionSheet/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Toast',\n\n data() {\n return {\n visiable: false,\n position: 'center',\n content: '',\n type: 'text', // success failure warning wifi loadingA loadingB text\n zIndex: 7\n }\n },\n\n methods: {\n show(content, position = 'center', type = 'text', time = 2000, callback) {\n if (content === '' && type === 'loadingB') {\n content = '正在加载'\n }\n\n if (typeof position === 'function') {\n callback = position\n position = 'center'\n }\n\n if (typeof type === 'function') { // 至少写两个\n callback = type\n type = 'text'\n }\n\n if (typeof time === 'function') {\n callback = time\n time = 2000\n }\n\n this.content = content\n this.position = position\n this.type = type\n this.visiable = true\n\n setTimeout(() => {\n this.hide()\n if (typeof callback === 'function') {\n callback()\n }\n }, time)\n },\n\n hide() {\n this.visiable = false\n },\n\n afterLeave() {\n this.content = ''\n this.position = 'center'\n this.zIndex = 4\n }\n }\n})\n\nexport default {\n install(Vue) {\n const toast = new Vue(component)\n const id = 'baobab-ui-toast-mount-point'\n const mountPoint = document.createElement('div')\n mountPoint.id = id\n document.body.appendChild(mountPoint)\n toast.$mount(`#${id}`)\n return {\n show() {\n toast.show.apply(toast, arguments)\n },\n\n hide() {\n toast.hide.apply(toast, arguments)\n },\n\n zIndex(zIndex) {\n toast.zIndex = zIndex\n return toast // 目的完成链式写法\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Toast/index.js","\n \n \n \n \n \n \n \n \n \n {{content}}\n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Toast/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst conf = {\n top: {\n anim: 'baobab--anim--topDown',\n style: {\n top: 0\n }\n },\n\n bottom: {\n anim: 'baobab--anim--bottomUp',\n style: {\n bottom: 0\n }\n }\n}\n\nconst component = create({\n name: 'Popup',\n\n props: {\n value: {\n type: Boolean\n },\n\n position: {\n type: String,\n validator(position) {\n return position === 'bottom' || position === 'top'\n },\n default: 'bottom'\n },\n\n zIndex: {\n type: [String, Number],\n default: 2\n }\n },\n\n data() {\n return {\n visible: false\n }\n },\n\n computed: {\n conf() {\n return conf[this.position]\n }\n },\n\n watch: {\n value(newVal) {\n this.visible = newVal\n },\n\n visible(newVal, oldVal) {\n if (newVal !== this.value) {\n this.$emit('input', newVal)\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Popup/index.js","\n \n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Popup/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Spinner',\n\n props: {\n size: {\n type: [Number, String],\n default: 36\n },\n\n // 边框宽度\n width: {\n type: [Number, String],\n default: 2\n },\n\n bgColor: {\n type: String,\n default: '#c2c2c2'\n },\n\n foreColor: {\n type: String,\n default: '#444'\n }\n\n },\n\n computed: {\n style() {\n return {\n width: this.size + 'px',\n height: this.size + 'px',\n 'border-top-color': this.bgColor,\n 'border-right-color': this.bgColor,\n 'border-bottom-color': this.bgColor,\n 'border-left-color': this.foreColor,\n 'border-width': this.width + 'px'\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Spinner/index.js","\n\n\n// WEBPACK FOOTER //\n// ./src/Spinner/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Btn',\n\n props: {\n width: {\n type: String,\n default: ''\n },\n\n height: {\n type: String,\n default: '44px'\n },\n\n radius: {\n type: String,\n default: '2px'\n },\n\n tintColor: {\n type: String,\n default: '#3E81F1'\n },\n\n // spinnerBgColor\n spinnerBgColor: {\n type: String,\n default: 'rgba(255, 255, 255, .5)'\n },\n\n foreColor: {\n type: String,\n default: '#fff'\n },\n\n type: {\n default: 'normal',\n validator(type) {\n const types = ['normal', 'simple', 'cutout']\n return types.indexOf(type) > -1\n }\n },\n disabled: {\n type: Boolean,\n default: false\n },\n\n loading: {\n type: Boolean,\n default: false\n }\n },\n\n computed: {\n // 不可点击样式\n // mixClass() {\n // return {\n // 'disabled': this.disabled || this.loading\n // }\n // },\n\n overlayStyles() {\n let { type, tintColor } = this\n let styles = {}\n if (type === 'normal') {\n styles['background-color'] = tintColor\n }\n else if (type === 'simple') {\n styles['background-color'] = '#fff'\n }\n else if (type === 'cutout') {\n styles['background-color'] = '#fff'\n }\n return styles\n },\n\n style() {\n const { type, tintColor } = this\n\n const styles = {\n width: this.width,\n height: this.height,\n 'border-radius': this.radius,\n 'font-size': this.size\n }\n if (type === 'normal') {\n styles['color'] = '#fff'\n styles['background-color'] = tintColor\n }\n else if (type === 'simple') {\n styles['color'] = tintColor\n styles['background-color'] = '#fff'\n }\n else if (type === 'cutout') {\n styles['border'] = `1px solid ${tintColor}`\n styles['color'] = tintColor\n styles['background-color'] = '#fff'\n }\n\n return styles\n },\n\n spinnerSize() {\n const size = parseFloat(this.height) * 0.45\n return size < 12 ? 12 : size\n }\n },\n\n methods: {\n handleClick() {\n if (!this.loading && !this.disabled) {\n this.$emit('click')\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Button/index.js","\n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Button/index.tpl","module.exports = {\"name\":\"baobab-ui\",\"version\":\"1.0.10\",\"description\":\"BBT内部组件库-基于vue2.0的UI组件库\",\"main\":\"lib/baobab-ui.js\",\"directories\":{\"example\":\"example\",\"test\":\"tests\"},\"scripts\":{\"start\":\"node ./example/server.js\",\"build:demo\":\"rm -rf ./docs/demo/css && rm -rf ./docs/demo/js && rm -rf ./docs/demo/index.html && node example/build.js\",\"build\":\"rm -rf ./lib && node ./webpack.config.js\",\"lint\":\"eslint --ext .js,.vue src\",\"changelog\":\"conventional-changelog -p angular -i CHANGELOG.md -w\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/BBT-FE/Baobab-UI\"},\"pre-commit\":[\"lint\"],\"keywords\":[\"UI\"],\"author\":\"6379616e\",\"license\":\"MIT\",\"devDependencies\":{\"autoprefixer\":\"^7.2.4\",\"babel-core\":\"^6.26.0\",\"babel-loader\":\"^7.1.2\",\"babel-plugin-transform-object-rest-spread\":\"^6.26.0\",\"babel-preset-env\":\"^1.6.1\",\"css-loader\":\"^0.28.8\",\"cz-conventional-changelog\":\"^2.1.0\",\"eslint\":\"^4.15.0\",\"eslint-config-standard\":\"^11.0.0-beta.0\",\"eslint-plugin-import\":\"^2.8.0\",\"eslint-plugin-node\":\"^5.2.1\",\"eslint-plugin-promise\":\"^3.6.0\",\"eslint-plugin-standard\":\"^3.0.1\",\"eslint-plugin-vue\":\"^4.2.0\",\"eslint-plugin-vue-libs\":\"^2.1.0\",\"eslint-plugin-vuefix\":\"^0.2.1\",\"extract-text-webpack-plugin\":\"^3.0.2\",\"fastclick\":\"^1.0.6\",\"file-loader\":\"^1.1.6\",\"html-webpack-plugin\":\"^2.30.1\",\"inline-manifest-webpack-plugin\":\"^3.0.1\",\"postcss-loader\":\"^2.0.10\",\"pre-commit\":\"^1.2.2\",\"style-loader\":\"^0.19.1\",\"stylus\":\"^0.54.5\",\"stylus-loader\":\"^3.0.1\",\"url-loader\":\"^0.6.2\",\"vue\":\"^2.5.13\",\"vue-loader\":\"^13.7.0\",\"vue-markdown-loader\":\"^2.3.0\",\"vue-router\":\"^3.0.1\",\"vue-template-compiler\":\"^2.5.13\",\"vue-template-loader\":\"^0.3.1\",\"webpack\":\"^3.10.0\",\"webpack-chunk-hash\":\"^0.5.0\",\"webpack-dev-server\":\"^2.10.1\"},\"dependencies\":{},\"config\":{\"commitizen\":{\"path\":\"./node_modules/cz-conventional-changelog\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./package.json\n// module id = 71\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///baobab-ui.js","webpack:///webpack/bootstrap 774e8d1f3a3001cf7083","webpack:///./src/index.js","webpack:///./src/Badge/index.js","webpack:///./src/Badge/index.tpl","webpack:///./src/Radio/index.js","webpack:///./src/Radio/index.tpl","webpack:///./src/Radio/Radio-Group/index.js","webpack:///./src/Radio/Radio-Group/index.tpl","webpack:///./src/Switcher/index.js","webpack:///./src/Switcher/index.tpl","webpack:///./src/Loading/index.js","webpack:///./src/Loading/index.tpl","webpack:///./src/Loadmore/index.js","webpack:///./src/Loadmore/index.tpl","webpack:///./src/SwipeOut/index.js","webpack:///./src/SwipeOut/index.tpl","webpack:///./src/SwipeOut/SwipeOutItem/index.js","webpack:///./src/SwipeOut/SwipeOutItem/index.tpl","webpack:///./src/TabBar/index.js","webpack:///./src/TabBar/index.tpl","webpack:///./src/TabBar/TabItem/index.js","webpack:///./src/TabBar/TabItem/index.tpl","webpack:///./src/Tab/index.js","webpack:///./src/Tab/index.tpl","webpack:///./src/Cell/index.js","webpack:///./src/Cell/index.tpl","webpack:///./src/Cell/CellGroup/index.js","webpack:///./src/Cell/CellGroup/index.tpl","webpack:///./src/Text-Input/index.js","webpack:///./src/Text-Input/index.tpl","webpack:///./src/Field/index.js","webpack:///./src/Field/index.tpl","webpack:///./src/Textareaer/index.js","webpack:///./src/Textareaer/index.tpl","webpack:///./src/Modal/index.js","webpack:///./src/Modal/index.tpl","webpack:///./src/Dialog/index.js","webpack:///./src/Dialog/index.tpl","webpack:///./src/ActionSheet/index.js","webpack:///./src/ActionSheet/index.tpl","webpack:///./src/Toast/index.js","webpack:///./src/Toast/index.tpl","webpack:///./src/Popup/index.js","webpack:///./src/Popup/index.tpl","webpack:///./src/Spinner/index.js","webpack:///./src/Spinner/index.tpl","webpack:///./src/Button/index.js","webpack:///./src/Button/index.tpl","webpack:///./package.json"],"names":["root","factory","exports","module","define","amd","self","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","_interopRequireDefault","obj","default","value","_Badge","_Badge2","_Radio","_Radio2","_RadioGroup","_RadioGroup2","_Switcher","_Switcher2","_Loading","_Loading2","_Loadmore","_Loadmore2","_SwipeOut","_SwipeOut2","_SwipeOutItem","_SwipeOutItem2","_TabBar","_TabBar2","_TabItem","_TabItem2","_Tab","_Tab2","_Cell","_Cell2","_CellGroup","_CellGroup2","_TextInput","_TextInput2","_Field","_Field2","_Textareaer","_Textareaer2","_Modal","_Modal2","_Dialog","_Dialog2","_ActionSheet","_ActionSheet2","_Toast","_Toast2","_Popup","_Popup2","_Spinner","_Spinner2","_Button","_Button2","components","install","Vue","forEach","component","$dialog","$actionSheet","$toast","$loading","version","_index","_index2","props","tipNum","type","String","Number","required","bgColor","render","_vm","_h","$createElement","_self","_c","staticClass","class","baobab-badge--single","undefined","toString","length","baobab-badge--dot","style","backgroundColor","_v","_s","staticRenderFns","_exports","options","option","position","validator","indexOf","data","radioVal","watch","newVal","$emit","computed","iconName","selected","directives","rawName","expression","attrs","disabled","domProps","checked","_q","on","change","$event","_e","_t","label","Array","_l","index","key","model","callback","$$v","offColor","onColor","offText","onText","onVal","offVal","isText","methods","handleClick","baobab-switcher--noText","click","baobab-switcher--open","visible","message","zIndex","show","hide","loading","id","mountPoint","document","createElement","body","appendChild","$mount","apply","arguments","baobab-loading-main--message","foreColor","getDocuInfo","winH","documentElement","clientHeight","scrollTop","pageH","scrollHeight","conponent","Boolean","desc","detectVisible","docuInfo","onScroll","startListen","window","addEventListener","stopListen","removeEventListener","mounted","destroyed","size","activeItem","removeEle","el","$refs","swipeOut","removeChild","resetItem","item","close","created","$on","ref","preDefault","e","cancelable","defaultPrevented","preventDefault","speed","translate","startX","oldTouches","btnWidth","moveX","itemStyle","transition","transform","delItem","$parent","$el","start","touches","move","pageX","moveY","pageY","Math","abs","passive","end","_this","$nextTick","btns","offsetWidth","!touchstart","!touchmove","!touchend","visiable","bgcolor","fixed","TabBar--hide","TabBar--fixed","title","to","hasSlot","keys","$slots","hasIcon","icon","$router","replace","TabItem--disabled","TabItem--noIcon","WHITE_BG","tabList","tintColor","selectedIndex","fullBorder","activeIndex","isOverFlow","defaultColor","activeStyle","initStyle","color","border-bottom","changeActive","assign","overflow-style","otherStyle","isChangeColor","hasBadge","borderBottom","content","arrow","test","location","push","hasArrow","background-color","baobab-border-bottom","placeholder","align","invalid","val","handleInput","target","handleBlur","handleFocus","clear","textAlign","input","blur","focus","baobab-text-input--warn","msg","oldVal","hasLabelSlot","slot","max","rows","cols","height","readonly","showCounter","textareaStyles","B-TextArea-title","maxlength","composing","startInput","anim","v","dismissOnClick","animName","modal","getType","slice","isButton","createButtons","buttons","onClick","map","btn","isPrompt","promptVal","alert","confirm","prompt","afterLeave","width","instance","after-leave","paddingTop","baobab-dialog--separator","href","_typeof","Symbol","iterator","constructor","hideCancel","init","opt","text","disable","destructive","setTimeout","conf","onSelect","getFontColor","actionsheet","config","time","toast","top","center","bottom","onlyText","wifi","loadingB","loadingA","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","radius","spinnerBgColor","overlayStyles","styles","border-radius","font-size","spinnerSize","parseFloat","description","main","directories","example","scripts","build:demo","build","lint","changelog","repository","url","pre-commit","keywords","author","license","devDependencies","autoprefixer","babel-core","babel-loader","babel-plugin-transform-object-rest-spread","babel-preset-env","css-loader","cz-conventional-changelog","eslint","eslint-config-standard","eslint-plugin-import","eslint-plugin-node","eslint-plugin-promise","eslint-plugin-standard","eslint-plugin-vue","eslint-plugin-vue-libs","eslint-plugin-vuefix","extract-text-webpack-plugin","fastclick","file-loader","html-webpack-plugin","inline-manifest-webpack-plugin","postcss-loader","style-loader","stylus","stylus-loader","url-loader","vue","vue-loader","vue-markdown-loader","vue-router","vue-template-compiler","vue-template-loader","webpack","webpack-chunk-hash","webpack-dev-server","dependencies","commitizen","path"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,aAAAD,IAEAD,EAAA,aAAAC,KACC,mBAAAK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C,aAAA,SAAAC,wBAAA,UAAAC,sBAAA,SAAAC,QAAA,UAAAC,qBAAA,SAAAC,qBAAA,WAAygCC,gBAAkB1E,QAAW2E,YAAcC,KAAA","file":"baobab-ui.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"baobab-ui\"] = factory();\n\telse\n\t\troot[\"baobab-ui\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"baobab-ui\"] = factory();\n\telse\n\t\troot[\"baobab-ui\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\n__webpack_require__(1);\n\nvar _Badge = __webpack_require__(2);\n\nvar _Badge2 = _interopRequireDefault(_Badge);\n\nvar _Radio = __webpack_require__(5);\n\nvar _Radio2 = _interopRequireDefault(_Radio);\n\nvar _RadioGroup = __webpack_require__(8);\n\nvar _RadioGroup2 = _interopRequireDefault(_RadioGroup);\n\nvar _Switcher = __webpack_require__(11);\n\nvar _Switcher2 = _interopRequireDefault(_Switcher);\n\nvar _Loading = __webpack_require__(14);\n\nvar _Loading2 = _interopRequireDefault(_Loading);\n\nvar _Loadmore = __webpack_require__(17);\n\nvar _Loadmore2 = _interopRequireDefault(_Loadmore);\n\nvar _SwipeOut = __webpack_require__(20);\n\nvar _SwipeOut2 = _interopRequireDefault(_SwipeOut);\n\nvar _SwipeOutItem = __webpack_require__(23);\n\nvar _SwipeOutItem2 = _interopRequireDefault(_SwipeOutItem);\n\nvar _TabBar = __webpack_require__(26);\n\nvar _TabBar2 = _interopRequireDefault(_TabBar);\n\nvar _TabItem = __webpack_require__(29);\n\nvar _TabItem2 = _interopRequireDefault(_TabItem);\n\nvar _Tab = __webpack_require__(32);\n\nvar _Tab2 = _interopRequireDefault(_Tab);\n\nvar _Cell = __webpack_require__(35);\n\nvar _Cell2 = _interopRequireDefault(_Cell);\n\nvar _CellGroup = __webpack_require__(38);\n\nvar _CellGroup2 = _interopRequireDefault(_CellGroup);\n\nvar _TextInput = __webpack_require__(41);\n\nvar _TextInput2 = _interopRequireDefault(_TextInput);\n\nvar _Field = __webpack_require__(44);\n\nvar _Field2 = _interopRequireDefault(_Field);\n\nvar _Textareaer = __webpack_require__(47);\n\nvar _Textareaer2 = _interopRequireDefault(_Textareaer);\n\nvar _Modal = __webpack_require__(50);\n\nvar _Modal2 = _interopRequireDefault(_Modal);\n\nvar _Dialog = __webpack_require__(53);\n\nvar _Dialog2 = _interopRequireDefault(_Dialog);\n\nvar _ActionSheet = __webpack_require__(56);\n\nvar _ActionSheet2 = _interopRequireDefault(_ActionSheet);\n\nvar _Toast = __webpack_require__(59);\n\nvar _Toast2 = _interopRequireDefault(_Toast);\n\nvar _Popup = __webpack_require__(62);\n\nvar _Popup2 = _interopRequireDefault(_Popup);\n\nvar _Spinner = __webpack_require__(65);\n\nvar _Spinner2 = _interopRequireDefault(_Spinner);\n\nvar _Button = __webpack_require__(68);\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// 气泡相关\n\n\n// 表单相关\nvar components = [_TabBar2.default, _TabItem2.default, _Badge2.default, _Cell2.default, _CellGroup2.default, _Field2.default, _Modal2.default, _Tab2.default, _Button2.default, _Spinner2.default,\n// some component belong filter\n// Filter,\n// SingleCard,\n// CheckCard,\n_Textareaer2.default, _TextInput2.default, _Radio2.default, _RadioGroup2.default, _Switcher2.default, _Toast2.default, _Popup2.default, _Loading2.default, _Loadmore2.default, _SwipeOut2.default, _SwipeOutItem2.default];\n\n// install方法将所有组件全局注册\n\n\n// 按钮相关\n\n\n// 筛选卡相关\n// import Filter from './Filter'\n// import SingleCard from './Filter/SingleCard'\n// import CheckCard from './Filter/CheckCard'\n\n// 弹出层相关\n\n\n// 选项卡相关\n\n\n// 标签栏相关\n\n// 基础组件\nexports.default = {\n install: function install(Vue) {\n components.forEach(function (component) {\n component.install(Vue);\n });\n\n Vue.prototype.$dialog = _Dialog2.default.install(Vue);\n Vue.prototype.$actionSheet = _ActionSheet2.default.install(Vue);\n Vue.prototype.$toast = _Toast2.default.install(Vue);\n Vue.prototype.$loading = _Loading2.default.install(Vue);\n },\n\n\n version: __webpack_require__(71).version\n};\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(3);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(4);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Badge',\n\n props: {\n tipNum: {\n type: [String, Number],\n required: false\n },\n\n bgColor: {\n type: String,\n default: '#3E81F1'\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"baobab-badge\",class:{'baobab-badge--single': _vm.tipNum !== undefined && _vm.tipNum.toString().length === 1, 'baobab-badge--dot': _vm.tipNum === undefined || _vm.tipNum === ''},style:({backgroundColor: _vm.bgColor})},[_vm._v(_vm._s(_vm.tipNum))])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(6);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(7);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Radio',\n\n props: {\n value: String,\n\n option: {\n type: [Object, String],\n required: true\n },\n\n position: {\n type: String,\n default: 'right'\n },\n\n type: {\n type: String,\n default: 'normal',\n validator: function validator(type) {\n var types = ['normal', 'check'];\n return types.indexOf(type) > -1;\n }\n }\n },\n\n data: function data() {\n return {\n radioVal: this.value\n };\n },\n\n\n watch: {\n value: function value(newVal) {\n this.radioVal = newVal;\n },\n radioVal: function radioVal(newVal) {\n this.$emit('input', newVal);\n }\n },\n\n computed: {\n iconName: function iconName() {\n return this.type;\n },\n selected: function selected() {\n return this.radioVal === this.option.value;\n }\n }\n\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-radio baobab-border-bottom\"},[_c('div',{staticClass:\"baobab-radio--wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.radioVal),expression:\"radioVal\"}],staticClass:\"baobab-radio--input\",attrs:{\"type\":\"radio\",\"disabled\":_vm.option.disabled},domProps:{\"value\":_vm.option.value || _vm.option,\"checked\":_vm._q(_vm.radioVal,_vm.option.value || _vm.option)},on:{\"change\":function($event){_vm.radioVal=_vm.option.value || _vm.option}}}),_vm._v(\" \"),(_vm.iconName === 'normal')?_c('span',{staticClass:\"baobab-radio--icon baobab-radio-icon--normal\",class:{ selected: _vm.selected, disabled: _vm.option.disabled, position: _vm.position === 'left' }},[_c('i')]):_vm._e(),_vm._v(\" \"),(_vm.iconName === 'check')?_c('span',{staticClass:\"baobab-radio--icon baobab-radio-icon--check\",class:{ selected: _vm.selected, disabled: _vm.option.disabled, position: _vm.position === 'left' }},[_c('i')]):_vm._e(),_vm._v(\" \"),_vm._t(\"default\",[_c('span',{staticClass:\"baobab-radio--label\",class:{ position: _vm.position === 'left' }},[_vm._v(_vm._s(_vm.option.label || _vm.option))])])],2)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(9);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(10);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'RadioGroup',\n\n props: {\n value: String,\n\n options: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n\n position: {\n type: String,\n default: 'right'\n },\n\n type: String\n },\n\n data: function data() {\n return {\n radioVal: this.value\n };\n },\n\n\n watch: {\n value: function value(newVal) {\n this.radioVal = newVal;\n },\n radioVal: function radioVal(newVal) {\n this.$emit('input', newVal);\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-radioGroup\"},[_vm._t(\"default\",_vm._l((_vm.options),function(option,index){return _c('Radio',{key:index,attrs:{\"option\":option,\"position\":_vm.position,\"type\":_vm.type},model:{value:(_vm.radioVal),callback:function ($$v) {_vm.radioVal=$$v},expression:\"radioVal\"}})}))],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(12);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(13);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Switcher',\n\n props: {\n offColor: {\n type: String,\n default: '#cacaca'\n },\n\n onColor: {\n type: String,\n default: '#3E81F1'\n },\n\n offText: {\n type: String,\n default: ''\n },\n\n onText: {\n type: String,\n default: ''\n },\n\n onVal: {\n default: true\n },\n\n offVal: {\n default: false\n },\n\n value: {}\n\n // 是否禁用\n // disabled: {\n // type: Boolean,\n // default: false\n // }\n },\n\n computed: {\n on: function on() {\n return this.onVal === this.value;\n },\n isText: function isText() {\n return this.onText && this.offText;\n }\n },\n\n methods: {\n handleClick: function handleClick() {\n this.$emit('input', this.on ? this.offVal : this.onVal);\n this.$emit('click');\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-switcher\",class:{'baobab-switcher--noText': !_vm.isText},style:({backgroundColor: _vm.on ? _vm.onColor : _vm.offColor}),on:{\"click\":_vm.handleClick}},[_c('div',{staticClass:\"baobab-switcher--text\"},[_vm._v(_vm._s(_vm.onText))]),_vm._v(\" \"),_c('div',{staticClass:\"baobab-switcher--text\"},[_vm._v(_vm._s(_vm.offText))]),_vm._v(\" \"),_c('div',{staticClass:\"baobab-switcher--slider\",class:{'baobab-switcher--open': _vm.on}})])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(15);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(16);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'loading',\n\n data: function data() {\n return {\n visible: false,\n message: '',\n zIndex: 7\n };\n },\n\n\n methods: {\n show: function show(message) {\n this.message = message;\n this.visible = true;\n },\n hide: function hide() {\n this.visible = false;\n this.message = '';\n this.zIndex = 4;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n var loading = new Vue(component);\n var id = 'baobab-ui-loading-mount-point';\n var mountPoint = document.createElement('div');\n mountPoint.id = id;\n document.body.appendChild(mountPoint);\n loading.$mount('#' + id);\n return {\n show: function show() {\n loading.show.apply(loading, arguments);\n },\n hide: function hide() {\n loading.hide.apply(loading, arguments);\n },\n zIndex: function zIndex(_zIndex) {\n loading.zIndex = _zIndex;\n return loading;\n }\n };\n }\n};\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"baobab-loading\",style:({zIndex: _vm.zIndex})},[_c('div',{staticClass:\"baobab-loading--main\",class:{'baobab-loading-main--message': _vm.message}},[_c('Spinner',{attrs:{\"foreColor\":\"#fff\",\"bgColor\":\"#4e4e4e\"}}),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.message),expression:\"message\"}],staticClass:\"baobab-loading--message\"},[_vm._v(_vm._s(_vm.message))])],1)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(18);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(19);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getDocuInfo() {\n return {\n winH: document.documentElement.clientHeight || document.body.clientHeight,\n scrollTop: document.body.scrollTop || document.documentElement.scrollTop,\n pageH: document.body.scrollHeight || document.documentElement.scrollHeight\n };\n}\n\nvar conponent = (0, _index2.default)({\n name: 'Loadmore',\n\n props: {\n visible: {\n type: Boolean,\n default: false\n },\n\n desc: {\n type: String,\n default: '正在加载...'\n }\n },\n\n data: function data() {\n return {\n show: false\n };\n },\n\n\n watch: {\n visible: function visible() {\n this.detectVisible();\n }\n },\n\n methods: {\n // 检测组件是否可见\n detectVisible: function detectVisible() {\n var docuInfo = getDocuInfo();\n var winH = docuInfo.winH;\n var pageH = docuInfo.pageH;\n if (pageH >= winH && this.visible) {\n // 文档高度已超过\b一屏高度 并且 用户传递的visible必须为true\n this.show = true;\n } else {\n this.show = false;\n }\n },\n\n\n // 滚动事件 ->\n onScroll: function onScroll() {\n this.detectVisible();\n var docuInfo = getDocuInfo();\n var winH = docuInfo.winH;\n var scrollTop = docuInfo.scrollTop;\n var pageH = docuInfo.pageH;\n if (scrollTop + winH >= pageH && this.visible) {\n this.$emit('reachBottom');\n }\n },\n\n\n // 监听滚动\n startListen: function startListen() {\n window.addEventListener('scroll', this.onScroll);\n },\n\n\n // 停止监听\n stopListen: function stopListen() {\n window.removeEventListener('scroll', this.onScroll);\n }\n },\n\n mounted: function mounted() {\n // 监听滚动\n this.startListen();\n\n // 滚动事件\n this.onScroll();\n },\n destroyed: function destroyed() {\n this.stopListen();\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(conponent.name, conponent);\n }\n};\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show),expression:\"show\"}],staticClass:\"baobab-loadmore\"},[_vm._t(\"default\",[_c('Spinner',{attrs:{\"size\":\"16\"}}),_vm._v(\" \"),_c('span',{staticClass:\"baobab-loadmore--desc\"},[_vm._v(_vm._s(_vm.desc))])])],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(21);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(22);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'SwipeOut',\n\n data: function data() {\n return {\n activeItem: null\n };\n },\n\n\n methods: {\n removeEle: function removeEle(el) {\n this.$refs.swipeOut.removeChild(el);\n this.$emit('onremove', el);\n },\n resetItem: function resetItem(item) {\n if (this.activeItem === item) return;\n if (this.activeItem && this.activeItem.close) {\n this.activeItem.close();\n }\n this.activeItem = item;\n }\n },\n\n created: function created() {\n this.$on('resetItem', this.resetItem);\n this.$on('removeEle', this.removeEle);\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{ref:\"swipeOut\",staticClass:\"baobab-swipe-out\",on:{\"click\":_vm.resetItem}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(24);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(25);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction preDefault(e) {\n if (e.cancelable) {\n // 判断默认行为是否已经被禁用\n if (!e.defaultPrevented) {\n e.preventDefault();\n }\n }\n}\n\nvar component = (0, _index2.default)({\n name: 'SwipeOutItem',\n\n data: function data() {\n return {\n speed: 300,\n translate: 0,\n startX: 0,\n oldTouches: null,\n btnWidth: 0,\n moveX: 0\n };\n },\n\n\n computed: {\n itemStyle: function itemStyle() {\n return {\n transition: 'all ' + this.speed + 'ms ease',\n transform: 'translateX(' + this.translate + 'px)'\n };\n }\n },\n\n methods: {\n delItem: function delItem() {\n this.$parent.$emit('removeEle', this.$el);\n },\n start: function start(e) {\n this.speed = 0;\n this.oldTouches = e.touches[0];\n this.startX = this.translate;\n },\n move: function move(e) {\n var moveX = e.touches[0].pageX - this.oldTouches.pageX;\n this.moveX = moveX;\n var moveY = e.touches[0].pageY - this.oldTouches.pageY;\n if (Math.abs(moveX) < Math.abs(moveY) || Math.abs(moveX) < 20 || Math.abs(moveY) > 5) return;\n e.preventDefault();\n this.$parent.$emit('resetItem', this);\n moveX = this.startX * 1 + moveX * 1;\n\n // 边界判断\n if (moveX < -this.btnWidth) {\n moveX = -this.btnWidth;\n } else if (moveX > 0) {\n moveX = 0;\n }\n document.addEventListener('touchmove', preDefault, { passive: false });\n this.translate = moveX;\n },\n end: function end() {\n // \b自动布置\n var moveX = -this.translate > 20 ? -this.btnWidth : 0;\n if (this.moveX > 0) {\n moveX = 0;\n }\n\n // 滑动停止之前将speed置为0\n this.speed = 300;\n this.translate = moveX;\n document.removeEventListener('touchmove', preDefault, { passive: false });\n },\n close: function close() {\n this.translate = 0;\n }\n },\n\n mounted: function mounted() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.btnWidth = _this.$refs.btns.offsetWidth;\n });\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"baobab-swipe-out-item\",style:(_vm.itemStyle)},[_c('div',{staticClass:\"baobab-swipe-out-item-box\",on:{\"!touchstart\":function($event){_vm.start($event)},\"!touchmove\":function($event){_vm.move($event)},\"!touchend\":function($event){_vm.end($event)}}},[_vm._t(\"default\")],2),_vm._v(\" \"),_c('div',{ref:\"btns\",staticClass:\"baobab-swipe-out-item-btns\"},[_vm._t(\"btns\",[_c('div',{staticClass:\"baobab-swipe-out-item-btn\",on:{\"click\":_vm.delItem}},[_vm._v(\"删除\")])])],2)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(27);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(28);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'TabBar',\n\n props: {\n visiable: {\n type: Boolean,\n default: true\n },\n bgcolor: {\n type: String,\n default: 'rgba(255, 255, 255, .9)'\n },\n fixed: {\n type: Boolean,\n default: false\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"TabBar baobab-border-top\",class:{'TabBar--hide': !_vm.visiable, 'TabBar--fixed': _vm.fixed},style:({backgroundColor: _vm.bgcolor})},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(30);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(31);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'TabItem',\n\n props: {\n title: {\n type: String,\n required: true,\n default: ''\n },\n to: String,\n selected: {\n type: Boolean,\n required: false,\n default: undefined\n }\n },\n\n computed: {\n hasSlot: function hasSlot() {\n return Object.keys(this.$slots).length > 0;\n },\n hasIcon: function hasIcon() {\n return this.$slots.icon;\n }\n },\n\n methods: {\n handleClick: function handleClick() {\n if (this.to && this.$router) {\n this.$router.replace(this.to);\n } else {\n // 如果不存在to则执行方法\n this.$emit('click');\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component); // 注册全局组件\n }\n};\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"TabItem\",class:{'selected': _vm.selected},on:{\"click\":_vm.handleClick}},[_c('div',{staticClass:\"TabItem--main\"},[(_vm.hasIcon)?_c('div',{staticClass:\"TabItem--icon\"},[(_vm.selected === false)?_vm._t(\"icon\"):_vm._e(),_vm._v(\" \"),(_vm.selected === true)?_vm._t(\"icon-selected\"):_vm._e(),_vm._v(\" \"),(_vm.selected === undefined)?_vm._t(\"icon-disabled\"):_vm._e(),_vm._v(\" \"),(_vm.hasIcon)?_c('div',{staticClass:\"TabItem--badge\"},[_vm._t(\"badge\")],2):_vm._e()],2):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"TabItem--title\",class:{'TabItem--disabled': _vm.selected === undefined && _vm.to === undefined, 'TabItem--noIcon': !_vm.hasIcon}},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \"),(!_vm.hasIcon)?_c('div',{staticClass:\"TabItem--badge--noIcon\"},[_vm._t(\"badge\")],2):_vm._e()])])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(33);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(34);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MAXLENTG = 5;\nvar WHITE_BG = 'rgba(255,255,255,1)';\nvar PRIMARY = '#3E81F1';\nvar component = (0, _index2.default)({\n name: 'Tab',\n props: {\n tabList: {\n type: Array,\n default: []\n },\n bgColor: {\n type: String,\n default: WHITE_BG\n },\n tintColor: {\n type: String,\n default: PRIMARY\n },\n selectedIndex: {\n type: Number,\n default: 0\n },\n fullBorder: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n activeIndex: 0,\n isOverFlow: false,\n defaultColor: WHITE_BG,\n activeStyle: null,\n initStyle: {\n color: WHITE_BG,\n 'border-bottom': 'none'\n }\n };\n },\n created: function created() {\n this.activeIndex = this.selectedIndex <= this.tabList.length - 1 ? this.selectedIndex : 0;\n if (this.tabList.length >= MAXLENTG) {\n this.isOverFlow = true;\n }\n this.activeStyle = {\n 'border-bottom': '2px solid ' + this.tintColor,\n color: this.tintColor\n // if(this.bgColor) []\n };\n },\n\n methods: {\n changeActive: function changeActive(index, item) {\n this.activeIndex = index;\n this.$emit('onChange', Object.assign({}, item));\n }\n }\n});\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"Tab-Plugin baobab-border-bottom\",class:{'overflow-style': _vm.isOverFlow},style:({'backgroundColor': _vm.bgColor})},_vm._l((_vm.tabList),function(item,index){return _c('div',{staticClass:\"tab-item-wrapper\",class:{'overflow-style': _vm.isOverFlow},style:(_vm.activeIndex === index && _vm.fullBorder ? _vm.activeStyle : _vm.otherStyle),on:{\"click\":function($event){_vm.changeActive(index,item)}}},[_c('div',{staticClass:\"tab-item\",class:{'isChangeColor': _vm.bgColor !== _vm.defaultColor ? true : false},style:(_vm.activeIndex === index && !_vm.fullBorder ? _vm.activeStyle : _vm.otherStyle)},[_c('div',{staticClass:\"badge--wrapper\"},[(item.hasBadge === true)?_c('Badge',{attrs:{\"tipNum\":item.value}}):_vm._e()],1),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(item.title))])])])}))}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(36);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(37);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Cell',\n props: {\n borderBottom: {\n type: Boolean,\n default: true\n },\n title: {\n type: String,\n default: ''\n },\n content: {\n type: String,\n default: ''\n },\n to: {\n type: [String, Object]\n },\n arrow: undefined,\n bgColor: {\n type: String,\n default: 'rgba(255,255,255,1)'\n }\n },\n\n methods: {\n handleClick: function handleClick() {\n if (this.to) {\n if (/^https?:/.test(this.to)) {\n window.location = this.to;\n } else {\n if (this.$router) {\n this.$router.push(this.to);\n } else {\n this.$emit('click');\n }\n }\n } else {\n this.$emit('click');\n }\n }\n },\n\n computed: {\n hasIcon: function hasIcon() {\n return this.$slots.icon;\n },\n\n // 如果有to属性, 则不必写arrow\n hasArrow: function hasArrow() {\n if (this.arrow !== undefined) {\n return true;\n }\n if (this.to) {\n return true;\n }\n return false;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-cellBox\",style:({'background-color': _vm.bgColor}),on:{\"click\":_vm.handleClick}},[_c('div',{staticClass:\"baobab-cell\",class:{'baobab-border-bottom': _vm.borderBottom}},[(_vm.hasIcon)?_c('div',{staticClass:\"baobab-cell--icon\"},[_vm._t(\"icon\")],2):_vm._e(),_vm._v(\" \"),_vm._t(\"header\",[(_vm.title)?_c('div',{staticClass:\"baobab-cell--hd\"},[_vm._v(_vm._s(_vm.title))]):_vm._e()]),_vm._v(\" \"),_vm._t(\"body\",[(_vm.content)?_c('div',{staticClass:\"baobab-cell--bd\"},[_vm._v(_vm._s(_vm.content))]):_vm._e()]),_vm._v(\" \"),(_vm.hasArrow)?_c('i',{staticClass:\"baobab-cell--arrow\"}):_vm._e(),_vm._v(\" \"),_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(39);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(40);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'CellGroup',\n\n props: {}\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"CellGroup\"},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(42);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(43);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'text-input',\n\n props: {\n value: {},\n\n placeholder: String,\n\n type: {\n type: String,\n default: 'text'\n },\n\n align: {\n type: String,\n default: 'left'\n },\n\n invalid: {\n type: Boolean,\n required: false\n }\n },\n\n data: function data() {\n return {\n val: this.value\n };\n },\n\n\n watch: {\n value: function value(newVal) {\n if (this.val !== newVal) {\n this.val = newVal;\n }\n },\n val: function val(newVal) {\n this.$emit('input', newVal);\n }\n },\n\n methods: {\n // 用户input输入事件\n handleInput: function handleInput(e) {\n this.val = e.target.value;\n },\n\n\n // input失去光标事件\n handleBlur: function handleBlur(e) {\n this.$emit('blur', e);\n },\n\n\n // input获得光标事件\n handleFocus: function handleFocus(e) {\n this.$emit('focus', e);\n },\n clear: function clear() {\n this.val = '';\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-text--input\"},[_c('input',{style:({'textAlign': _vm.align}),attrs:{\"type\":_vm.type,\"placeholder\":_vm.placeholder},domProps:{\"value\":_vm.val},on:{\"input\":_vm.handleInput,\"blur\":_vm.handleBlur,\"focus\":_vm.handleFocus}}),_vm._v(\" \"),_c('div',{staticClass:\"baobab-text-input--iconBox\"},[_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.val),expression:\"val\"}],staticClass:\"baobab-text-input--del\",class:{'baobab-text-input--warn': _vm.invalid},on:{\"click\":_vm.clear}})])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(45);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(46);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Field',\n\n props: {\n label: String,\n\n placeholder: String,\n\n type: {\n type: String,\n default: 'text'\n },\n\n align: {\n type: String,\n default: 'left'\n },\n\n value: {},\n\n invalid: {\n type: Object,\n default: function _default() {\n return {\n value: false,\n msg: '请重新输入'\n };\n }\n }\n\n },\n\n data: function data() {\n return {\n val: this.value\n };\n },\n\n\n watch: {\n value: function value(newVal) {\n if (newVal !== this.val) {\n this.val = newVal;\n }\n },\n val: function val(newVal, oldVal) {\n this.$emit('input', newVal);\n }\n },\n\n methods: {\n handleBlur: function handleBlur(e) {\n this.$emit('blur', e);\n },\n handleFocus: function handleFocus(e) {\n this.$emit('focus', e);\n }\n },\n\n computed: {\n hasLabelSlot: function hasLabelSlot() {\n return !!this.$slots.label;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Cell',[(_vm.label)?_c('div',{staticClass:\"baobab-field--label\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),_vm._v(\" \"),(!_vm.label && _vm.hasLabelSlot)?_c('div',{staticClass:\"baobab-field--label\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._t(\"label\")],2):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"baobab-field--bd\",attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('text-input',{attrs:{\"placeholder\":_vm.placeholder,\"type\":_vm.type,\"align\":_vm.align,\"invalid\":_vm.invalid.value},on:{\"blur\":_vm.handleBlur,\"focus\":_vm.handleFocus},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}})],1),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.invalid && _vm.invalid.value && _vm.invalid.msg && _vm.val),expression:\"invalid && invalid.value && invalid.msg && val\"}],staticClass:\"baobab-field--msg\"},[_c('span',[_vm._v(_vm._s(_vm.invalid.msg))])])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(48);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(49);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Textareaer',\n\n props: {\n // 双向绑定的值\n value: {},\n\n // 输入的最大长度\n max: {\n type: [Number, String]\n },\n\n // 行数\n rows: {\n type: [Number, String],\n default: 3\n },\n\n // 列数\n cols: {\n type: [Number, String],\n default: 30\n },\n\n // 高度\n height: [Number, String],\n\n // 是否只读\n readonly: Boolean,\n\n // 标题\n label: String,\n\n // 文本区名称\n name: String,\n\n // 提示语\n placeholder: {\n type: String,\n default: '请输入'\n },\n\n // 是否显示计数器\n showCounter: {\n type: Boolean,\n default: true\n }\n },\n\n data: function data() {\n return {\n val: this.value\n };\n },\n\n\n watch: {\n // 同步输入的数据\n val: function val(newVal) {\n this.$emit('input', newVal);\n },\n value: function value(newVal) {\n this.val = newVal;\n }\n },\n\n computed: {\n textareaStyles: function textareaStyles() {\n if (this.height) {\n return {\n height: this.height + 'px'\n };\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"B-TextArea\",class:{'B-TextArea-title': _vm.label}},[(_vm.label)?_c('div',{staticClass:\"B-TextArea--hd\"},[_c('span',[_vm._v(_vm._s(_vm.label))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"B-TextArea--bd\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.val),expression:\"val\"}],style:(_vm.textareaStyles),attrs:{\"name\":_vm.name,\"rows\":_vm.rows,\"cols\":_vm.cols,\"placeholder\":_vm.placeholder,\"maxlength\":_vm.max,\"readonly\":_vm.readonly},domProps:{\"value\":(_vm.val)},on:{\"blur\":function($event){_vm.$emit('on-blur')},\"focus\":function($event){_vm.$emit('on-focus')},\"input\":function($event){if($event.target.composing){ return; }_vm.val=$event.target.value}}}),_vm._v(\" \"),(_vm.max && _vm.showCounter)?_c('div',{staticClass:\"B-TextArea--bd-max\"},[_c('span',{class:{'startInput': _vm.val.length > 0}},[_vm._v(_vm._s(_vm.val.length))]),_vm._v(\"/\"+_vm._s(_vm.max))]):_vm._e()])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(51);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(52);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Modal',\n\n props: {\n // 使用v-model, 实现父子组件通信\n value: {\n type: Boolean\n },\n bgColor: {\n type: String,\n default: '#fff'\n },\n zIndex: {\n type: [String, Number],\n default: 2\n },\n anim: {\n validator: function validator(v) {\n // 验证数据准确性\n var names = ['none', 'bottomUp', 'fade'];\n return names.indexOf(v) > -1;\n },\n default: 'none'\n },\n // 是否点击Modal时隐藏Modal, 默认点击不隐藏\n dismissOnClick: {\n type: Boolean,\n default: false\n }\n },\n\n data: function data() {\n return {\n visible: false\n };\n },\n\n\n computed: {\n animName: function animName() {\n var name = this.anim;\n if (name === 'none') {\n return '';\n } else {\n return 'baobab--anim--' + name;\n }\n }\n },\n\n watch: {\n value: function value(newVal) {\n this.visible = newVal;\n }\n },\n\n methods: {\n handleClick: function handleClick(e) {\n if (e.target === this.$refs.modal && this.dismissOnClick) {\n this.$emit('input', false); // 更新父组件v-model传递过来的值\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.animName}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],ref:\"modal\",staticClass:\"baobab-modal\",style:({'backgroundColor': _vm.bgColor, 'zIndex': _vm.zIndex}),on:{\"click\":_vm.handleClick}},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(54);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(55);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getType(obj) {\n return Object.prototype.toString.call(obj).slice(8, -1);\n}\n\nfunction isButton(obj) {\n var type = getType(obj);\n return (/^(Object | Array | Function)&/.test(type)\n );\n}\n\nfunction createButtons(options) {\n var buttons = [];\n var type = getType(options);\n\n if (type === 'Object') {\n buttons = [options];\n } else if (type === 'Function') {\n buttons = [{\n title: '确定',\n onClick: options\n }];\n } else if (type === 'Array') {\n buttons = options;\n }\n\n if (buttons.length === 0) {\n buttons = [{ title: '确定' }];\n }\n\n return buttons.map(function (btn) {\n if (getType(btn) !== 'Object') {\n return { title: btn };\n } else {\n return btn;\n }\n });\n}\n\nvar component = (0, _index2.default)({\n name: 'Dialog',\n\n data: function data() {\n return {\n // 控制modal显隐\n visible: false,\n\n // 对话框标题\n title: '',\n\n // 对话框内容\n content: '',\n\n // 按钮数组\n buttons: [],\n\n // 是否存在输入框\n isPrompt: false,\n\n // 输入框中的值\n promptVal: '',\n zIndex: 6\n };\n },\n\n\n methods: {\n alert: function alert(title, content, buttons) {\n if (arguments.length === 1) {\n content = title;\n title = undefined;\n } else {\n if (isButton(content)) {\n buttons = content;\n content = title;\n title = undefined;\n }\n }\n this.title = title;\n this.content = content;\n this.buttons = createButtons(buttons);\n this.visible = true;\n },\n confirm: function confirm(title, content, callback) {\n if (arguments.length === 1) {\n content = title;\n title = undefined;\n } else {\n if (typeof content === 'function') {\n callback = content;\n content = title;\n title = undefined;\n }\n }\n\n this.alert(title, content, [{\n title: '取消',\n onClick: function onClick() {\n if (callback) callback(false);\n }\n }, {\n title: '我知道了',\n onClick: function onClick() {\n if (callback) callback(true);\n }\n }]);\n },\n prompt: function prompt(title, callback) {\n var _this = this;\n\n this.isPrompt = true;\n this.alert(title, '', [{\n title: '取消'\n }, {\n title: '确认',\n onClick: function onClick() {\n if (callback) callback(_this.promptVal);\n }\n }]);\n },\n handleClick: function handleClick(btn) {\n if (btn.onClick) {\n btn.onClick();\n }\n this.visible = false;\n },\n\n\n // transition 组件上的钩子函数, 动画过渡结束之后执行的钩子函数\n afterLeave: function afterLeave() {\n this.title = '';\n this.content = '';\n this.buttons = [];\n this.promptVal = '';\n this.isPrompt = false;\n this.zIndex = 6;\n }\n },\n\n computed: {\n width: function width() {\n return '270px';\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n var instance = new Vue(component);\n var id = 'baobab-ui-dialog-mount-point';\n var mountPoint = document.createElement('div');\n mountPoint.id = id;\n document.body.appendChild(mountPoint);\n instance.$mount('#' + id);\n return {\n alert: function alert() {\n instance.alert.apply(instance, arguments);\n },\n confirm: function confirm() {\n instance.confirm.apply(instance, arguments);\n },\n prompt: function prompt() {\n instance.prompt.apply(instance, arguments);\n },\n zIndex: function zIndex(_zIndex) {\n instance.zIndex = _zIndex;\n return instance;\n }\n };\n }\n};\n\n/***/ }),\n/* 54 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"anim\":\"fade\",\"zIndex\":\"zIndex\",\"bgColor\":\"rgba(0,0,0, .6)\"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('div',{staticClass:\"baobab-dialog\"},[_c('transition',{attrs:{\"name\":\"baobab-anim-scale\"},on:{\"after-leave\":_vm.afterLeave}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"baobab-dialog--main\",style:({'width': _vm.width})},[_c('div',{staticClass:\"baobab-dialog--bd\"},[_c('h3',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.title),expression:\"title\"}],staticClass:\"baobab-dialog--title\"},[_vm._v(_vm._s(_vm.title))]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.content),expression:\"content\"}],staticClass:\"baobab-dialog--content\",style:({paddingTop: _vm.title ? '12px' : 0})},[_c('div',{staticClass:\"baobab-dialog--text\"},[_vm._v(_vm._s(_vm.content))])]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isPrompt),expression:\"isPrompt\"}],staticClass:\"baobab-dialog--content\",style:({paddingTop: _vm.title ? '12px' : 0})},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.promptVal),expression:\"promptVal\"}],staticClass:\"baobab-dialog--prompt\",domProps:{\"value\":(_vm.promptVal)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.promptVal=$event.target.value}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"baobab-dialog--buttons\",class:{'baobab-dialog--separator': _vm.buttons.length === 2}},_vm._l((_vm.buttons),function(btn){return _c('a',{staticClass:\"baobab-dialog--button baobab-border-top\",style:({'width': _vm.buttons.length === 2 ? '50%' : '100%'}),attrs:{\"href\":\"javascript:;\"},on:{\"click\":function($event){_vm.handleClick(btn)}}},[_vm._v(\"\\n \"+_vm._s(btn.title)+\"\\n \")])}))])])],1)])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 55 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 56 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _index = __webpack_require__(57);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(58);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// disable color\nvar disableColor = '#999';\n\n// careful color\nvar destructiveColor = '#ff3b30';\n\nvar component = (0, _index2.default)({\n name: 'actionSheet',\n\n data: function data() {\n return {\n visible: false,\n title: '',\n options: [\n // {\n // text: String,\n // disable: Boolean,\n // destructive: Boolean,\n // onSelect: Function\n // }\n ],\n hideCancel: false,\n tintColor: '#333333',\n zIndex: 5\n };\n },\n\n\n methods: {\n init: function init() {\n this.title = '';\n this.options = [];\n this.hideCancel = false;\n },\n show: function show(title, options) {\n var hideCancel = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n // 需要挂载到Vue原型上的方法\n this.title = title;\n this.hideCancel = hideCancel;\n this.options = options.map(function (opt) {\n if ((typeof opt === 'undefined' ? 'undefined' : _typeof(opt)) === 'object') {\n return opt;\n } else {\n return {\n text: opt,\n disable: false,\n destructive: false\n };\n }\n });\n this.visible = true;\n },\n hide: function hide() {\n var _this = this;\n\n this.visible = false;\n setTimeout(function () {\n _this.init();\n }, 300);\n },\n handleClick: function handleClick(i) {\n var conf = this.options[i];\n if (!conf.disable && conf.onSelect) {\n conf.onSelect();\n this.hide();\n }\n },\n getFontColor: function getFontColor(opt) {\n if (opt.disable) {\n return disableColor;\n }\n\n if (opt.destructive) {\n return destructiveColor;\n }\n\n return this.tintColor;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n var actionsheet = new Vue(component);\n var id = 'baobab-ui-actionsheet-mount-point';\n var mountPoint = document.createElement('div');\n mountPoint.id = id;\n document.body.appendChild(mountPoint);\n actionsheet.$mount('#' + id);\n return {\n config: function config(conf) {\n ['tintColor', 'zIndex'].forEach(function (name) {\n if (typeof conf[name] !== 'undefined') {\n actionsheet[name] = conf[name];\n }\n });\n return this;\n },\n show: function show() {\n actionsheet.show.apply(actionsheet, arguments);\n },\n hide: function hide() {\n actionsheet.hide.apply(actionsheet, arguments);\n }\n };\n }\n};\n\n/***/ }),\n/* 57 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"bgColor\":\"rgba(0, 0, 0, .6)\",\"anim\":\"fade\",\"zIndex\":\"zIndex\",\"dismissOnClick\":true},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('transition',{attrs:{\"name\":\"baobab--anim--bottomUp\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"baobab-actionSheet\"},[(_vm.title)?_c('div',{staticClass:\"baobab-actionSheet--title\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"baobab-actionSheet--options\"},_vm._l((_vm.options),function(opt,i){return _c('div',{staticClass:\"baobab-actionSheet--option baobab-border-top\",style:({color: _vm.getFontColor(opt)}),on:{\"click\":function($event){_vm.handleClick(i)}}},[_vm._v(\"\\n \"+_vm._s(opt.text)+\"\\n \")])})),_vm._v(\" \"),(_vm.hideCancel == false)?_c('div',{staticClass:\"baobab-actionSheet--option baobab-actionSheet--cancel\",style:({color: _vm.tintColor}),on:{\"click\":_vm.hide}},[_vm._v(\"\\n 取消\\n \")]):_vm._e()])])],1)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 58 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 59 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(60);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(61);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Toast',\n\n data: function data() {\n return {\n visiable: false,\n position: 'center',\n content: '',\n type: 'text', // success failure warning wifi loadingA loadingB text\n zIndex: 7\n };\n },\n\n\n methods: {\n show: function show(content) {\n var position = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'center';\n var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'text';\n\n var _this = this;\n\n var time = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 2000;\n var callback = arguments[4];\n\n if (content === '' && type === 'loadingB') {\n content = '正在加载';\n }\n\n if (typeof position === 'function') {\n callback = position;\n position = 'center';\n }\n\n if (typeof type === 'function') {\n // 至少写两个\n callback = type;\n type = 'text';\n }\n\n if (typeof time === 'function') {\n callback = time;\n time = 2000;\n }\n\n this.content = content;\n this.position = position;\n this.type = type;\n this.visiable = true;\n\n setTimeout(function () {\n _this.hide();\n if (typeof callback === 'function') {\n callback();\n }\n }, time);\n },\n hide: function hide() {\n this.visiable = false;\n },\n afterLeave: function afterLeave() {\n this.content = '';\n this.position = 'center';\n this.zIndex = 4;\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n var toast = new Vue(component);\n var id = 'baobab-ui-toast-mount-point';\n var mountPoint = document.createElement('div');\n mountPoint.id = id;\n document.body.appendChild(mountPoint);\n toast.$mount('#' + id);\n return {\n show: function show() {\n toast.show.apply(toast, arguments);\n },\n hide: function hide() {\n toast.hide.apply(toast, arguments);\n },\n zIndex: function zIndex(_zIndex) {\n toast.zIndex = _zIndex;\n return toast; // 目的完成链式写法\n }\n };\n }\n};\n\n/***/ }),\n/* 60 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"baobab--anim--fade\"},on:{\"after-leave\":_vm.afterLeave}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visiable),expression:\"visiable\"}],staticClass:\"baobab-toast\",class:{\n top: _vm.position === 'top',\n center: _vm.position ==='center',\n bottom: _vm.position === 'bottom'\n },style:({zIndex: _vm.zIndex})},[_c('div',{staticClass:\"baobab-toast--main\",class:{onlyText: _vm.type === 'text', wifi: _vm.type === 'wifi', loadingB: _vm.type === 'loadingB', loadingA: _vm.type === 'loadingA'}},[(_vm.type !== 'text')?_c('div',{staticClass:\"baobab-toast--icon\"},[(_vm.type === 'success')?_c('i',{staticClass:\"icon--success\"}):_vm._e(),_vm._v(\" \"),(_vm.type === 'failure')?_c('i',{staticClass:\"icon--failure\"}):_vm._e(),_vm._v(\" \"),(_vm.type === 'wifi')?_c('i',{staticClass:\"icon--wifi\"}):_vm._e(),_vm._v(\" \"),(_vm.type === 'loadingB')?_c('Spinner',{attrs:{\"foreColor\":\"#fff\",\"bgColor\":\"#4e4e4e\"}}):_vm._e(),_vm._v(\" \"),(_vm.type === 'loadingA')?_c('i',{staticClass:\"icon--loadingA\"}):_vm._e()],1):_vm._e(),_vm._v(\" \"),(_vm.content || _vm.type === 'loadingB')?_c('div',{staticClass:\"baobab-toast--content\"},[_vm._v(_vm._s(_vm.content))]):_vm._e()])])])}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 61 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 62 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(63);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(64);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _conf = {\n top: {\n anim: 'baobab--anim--topDown',\n style: {\n top: 0\n }\n },\n\n bottom: {\n anim: 'baobab--anim--bottomUp',\n style: {\n bottom: 0\n }\n }\n};\n\nvar component = (0, _index2.default)({\n name: 'Popup',\n\n props: {\n value: {\n type: Boolean\n },\n\n position: {\n type: String,\n validator: function validator(position) {\n return position === 'bottom' || position === 'top';\n },\n\n default: 'bottom'\n },\n\n zIndex: {\n type: [String, Number],\n default: 2\n }\n },\n\n data: function data() {\n return {\n visible: false\n };\n },\n\n\n computed: {\n conf: function conf() {\n return _conf[this.position];\n }\n },\n\n watch: {\n value: function value(newVal) {\n this.visible = newVal;\n },\n visible: function visible(newVal, oldVal) {\n if (newVal !== this.value) {\n this.$emit('input', newVal);\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 63 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"zIndex\":_vm.zIndex,\"bgColor\":\"rgba(0, 0, 0, .6)\",\"anim\":\"fade\",\"dismissOnClick\":true},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('transition',{attrs:{\"name\":_vm.conf.anim}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"baobab-popup\",style:(_vm.conf.style)},[_vm._t(\"default\")],2)])],1)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 64 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 65 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(66);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(67);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Spinner',\n\n props: {\n size: {\n type: [Number, String],\n default: 36\n },\n\n // 边框宽度\n width: {\n type: [Number, String],\n default: 2\n },\n\n bgColor: {\n type: String,\n default: '#c2c2c2'\n },\n\n foreColor: {\n type: String,\n default: '#444'\n }\n\n },\n\n computed: {\n style: function style() {\n return {\n width: this.size + 'px',\n height: this.size + 'px',\n 'border-top-color': this.bgColor,\n 'border-right-color': this.bgColor,\n 'border-bottom-color': this.bgColor,\n 'border-left-color': this.foreColor,\n 'border-width': this.width + 'px'\n };\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 66 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-spinner\",style:(_vm.style)})}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 67 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 68 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _index = __webpack_require__(69);\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(70);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar component = (0, _index2.default)({\n name: 'Btn',\n\n props: {\n width: {\n type: String,\n default: ''\n },\n\n height: {\n type: String,\n default: '44px'\n },\n\n radius: {\n type: String,\n default: '2px'\n },\n\n tintColor: {\n type: String,\n default: '#3E81F1'\n },\n\n // spinnerBgColor\n spinnerBgColor: {\n type: String,\n default: 'rgba(255, 255, 255, .5)'\n },\n\n foreColor: {\n type: String,\n default: '#fff'\n },\n\n type: {\n default: 'normal',\n validator: function validator(type) {\n var types = ['normal', 'simple', 'cutout'];\n return types.indexOf(type) > -1;\n }\n },\n disabled: {\n type: Boolean,\n default: false\n },\n\n loading: {\n type: Boolean,\n default: false\n }\n },\n\n computed: {\n // 不可点击样式\n // mixClass() {\n // return {\n // 'disabled': this.disabled || this.loading\n // }\n // },\n\n overlayStyles: function overlayStyles() {\n var type = this.type,\n tintColor = this.tintColor;\n\n var styles = {};\n if (type === 'normal') {\n styles['background-color'] = tintColor;\n } else if (type === 'simple') {\n styles['background-color'] = '#fff';\n } else if (type === 'cutout') {\n styles['background-color'] = '#fff';\n }\n return styles;\n },\n style: function style() {\n var type = this.type,\n tintColor = this.tintColor;\n\n\n var styles = {\n width: this.width,\n height: this.height,\n 'border-radius': this.radius,\n 'font-size': this.size\n };\n if (type === 'normal') {\n styles['color'] = '#fff';\n styles['background-color'] = tintColor;\n } else if (type === 'simple') {\n styles['color'] = tintColor;\n styles['background-color'] = '#fff';\n } else if (type === 'cutout') {\n styles['border'] = '1px solid ' + tintColor;\n styles['color'] = tintColor;\n styles['background-color'] = '#fff';\n }\n\n return styles;\n },\n spinnerSize: function spinnerSize() {\n var size = parseFloat(this.height) * 0.45;\n return size < 12 ? 12 : size;\n }\n },\n\n methods: {\n handleClick: function handleClick() {\n if (!this.loading && !this.disabled) {\n this.$emit('click');\n }\n }\n }\n});\n\nexports.default = {\n install: function install(Vue) {\n Vue.component(component.name, component);\n }\n};\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports) {\n\nvar render = function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"baobab-button\",style:(_vm.style),on:{\"click\":_vm.handleClick}},[(_vm.loading && _vm.disabled)?_c('Spinner',{staticClass:\"baobab-button--spinner\",attrs:{\"size\":_vm.spinnerSize,\"width\":\"1\",\"bgColor\":_vm.spinnerBgColor,\"foreColor\":_vm.foreColor}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"baobab-button--name\"},[_vm._t(\"default\")],2),_vm._v(\" \"),(_vm.disabled || _vm.loading)?_c('div',{staticClass:\"baobab-button--overlay\",style:(_vm.overlayStyles)}):_vm._e()],1)}\nvar staticRenderFns = []\nmodule.exports = function (_exports) {\n var options = typeof _exports === 'function'\n ? _exports.options\n : _exports\n options.render = render\n options.staticRenderFns = staticRenderFns\n return _exports\n}\n\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports) {\n\nmodule.exports = {\"name\":\"baobab-ui\",\"version\":\"1.0.12\",\"description\":\"BBT内部组件库-基于vue2.0的UI组件库\",\"main\":\"lib/baobab-ui.js\",\"directories\":{\"example\":\"example\",\"test\":\"tests\"},\"scripts\":{\"start\":\"node ./example/server.js\",\"build:demo\":\"rm -rf ./docs/demo/css && rm -rf ./docs/demo/js && rm -rf ./docs/demo/index.html && node example/build.js\",\"build\":\"rm -rf ./lib && node ./webpack.config.js\",\"lint\":\"eslint --ext .js,.vue src\",\"changelog\":\"conventional-changelog -p angular -i CHANGELOG.md -w\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/BBT-FE/Baobab-UI\"},\"pre-commit\":[\"lint\"],\"keywords\":[\"UI\"],\"author\":\"6379616e\",\"license\":\"MIT\",\"devDependencies\":{\"autoprefixer\":\"^7.2.4\",\"babel-core\":\"^6.26.0\",\"babel-loader\":\"^7.1.2\",\"babel-plugin-transform-object-rest-spread\":\"^6.26.0\",\"babel-preset-env\":\"^1.6.1\",\"css-loader\":\"^0.28.8\",\"cz-conventional-changelog\":\"^2.1.0\",\"eslint\":\"^4.15.0\",\"eslint-config-standard\":\"^11.0.0-beta.0\",\"eslint-plugin-import\":\"^2.8.0\",\"eslint-plugin-node\":\"^5.2.1\",\"eslint-plugin-promise\":\"^3.6.0\",\"eslint-plugin-standard\":\"^3.0.1\",\"eslint-plugin-vue\":\"^4.2.0\",\"eslint-plugin-vue-libs\":\"^2.1.0\",\"eslint-plugin-vuefix\":\"^0.2.1\",\"extract-text-webpack-plugin\":\"^3.0.2\",\"fastclick\":\"^1.0.6\",\"file-loader\":\"^1.1.6\",\"html-webpack-plugin\":\"^2.30.1\",\"inline-manifest-webpack-plugin\":\"^3.0.1\",\"postcss-loader\":\"^2.0.10\",\"pre-commit\":\"^1.2.2\",\"style-loader\":\"^0.19.1\",\"stylus\":\"^0.54.5\",\"stylus-loader\":\"^3.0.1\",\"url-loader\":\"^0.6.2\",\"vue\":\"^2.5.13\",\"vue-loader\":\"^13.7.0\",\"vue-markdown-loader\":\"^2.3.0\",\"vue-router\":\"^3.0.1\",\"vue-template-compiler\":\"^2.5.13\",\"vue-template-loader\":\"^0.3.1\",\"webpack\":\"^3.10.0\",\"webpack-chunk-hash\":\"^0.5.0\",\"webpack-dev-server\":\"^2.10.1\"},\"dependencies\":{},\"config\":{\"commitizen\":{\"path\":\"./node_modules/cz-conventional-changelog\"}}}\n\n/***/ })\n/******/ ]);\n});\n\n\n// WEBPACK FOOTER //\n// baobab-ui.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 774e8d1f3a3001cf7083","import './common.styl'\n// 基础组件\nimport Badge from './Badge'\nimport Radio from './Radio'\nimport RadioGroup from './Radio/Radio-Group'\nimport Switcher from './Switcher'\nimport Loading from './Loading'\nimport Loadmore from './Loadmore'\nimport SwipeOut from './SwipeOut'\nimport SwipeOutItem from './SwipeOut/SwipeOutItem'\n\n// 标签栏相关\nimport TabBar from './TabBar'\nimport TabItem from './TabBar/TabItem'\n\n// 选项卡相关\nimport Tab from './Tab'\n\n// 表单相关\nimport Cell from './Cell'\nimport CellGroup from './Cell/CellGroup'\nimport TextInput from './Text-Input'\nimport Field from './Field'\nimport Textareaer from './Textareaer'\n\n// 筛选卡相关\n// import Filter from './Filter'\n// import SingleCard from './Filter/SingleCard'\n// import CheckCard from './Filter/CheckCard'\n\n// 弹出层相关\nimport Modal from './Modal'\nimport Dialog from './Dialog'\nimport ActionSheet from './ActionSheet'\nimport Toast from './Toast'\nimport Popup from './Popup'\n\n// 气泡相关\nimport Spinner from './Spinner'\n\n// 按钮相关\nimport Button from './Button'\n\nconst components = [\n TabBar,\n TabItem,\n Badge,\n Cell,\n CellGroup,\n Field,\n Modal,\n Tab,\n Button,\n Spinner,\n // some component belong filter\n // Filter,\n // SingleCard,\n // CheckCard,\n Textareaer,\n TextInput,\n Radio,\n RadioGroup,\n Switcher,\n Toast,\n Popup,\n Loading,\n Loadmore,\n SwipeOut,\n SwipeOutItem\n]\n\n// install方法将所有组件全局注册\nexport default {\n install(Vue) {\n components.forEach((component) => {\n component.install(Vue)\n })\n\n Vue.prototype.$dialog = Dialog.install(Vue)\n Vue.prototype.$actionSheet = ActionSheet.install(Vue)\n Vue.prototype.$toast = Toast.install(Vue)\n Vue.prototype.$loading = Loading.install(Vue)\n },\n\n version: require('../package.json').version\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Badge',\n\n props: {\n tipNum: {\n type: [String, Number],\n required: false\n },\n\n bgColor: {\n type: String,\n default: '#3E81F1'\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Badge/index.js","{{tipNum}}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Badge/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Radio',\n\n props: {\n value: String,\n\n option: {\n type: [Object, String],\n required: true\n },\n\n position: {\n type: String,\n default: 'right'\n },\n\n type: {\n type: String,\n default: 'normal',\n validator(type) {\n const types = ['normal', 'check']\n return types.indexOf(type) > -1\n }\n }\n },\n\n data() {\n return {\n radioVal: this.value\n }\n },\n\n watch: {\n value(newVal) {\n this.radioVal = newVal\n },\n\n radioVal(newVal) {\n this.$emit('input', newVal)\n }\n },\n\n computed: {\n iconName() {\n return this.type\n },\n\n selected() {\n return this.radioVal === this.option.value\n }\n }\n\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/index.js","\n \n \n \n \n \n \n\n \n \n \n \n \n {{option.label || option}}\n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'RadioGroup',\n\n props: {\n value: String,\n\n options: {\n type: Array,\n default() {\n return []\n }\n },\n\n position: {\n type: String,\n default: 'right'\n },\n\n type: String\n },\n\n data() {\n return {\n radioVal: this.value\n }\n },\n\n watch: {\n value(newVal) {\n this.radioVal = newVal\n },\n\n radioVal(newVal) {\n this.$emit('input', newVal)\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/Radio-Group/index.js","\n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Radio/Radio-Group/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Switcher',\n\n props: {\n offColor: {\n type: String,\n default: '#cacaca'\n },\n\n onColor: {\n type: String,\n default: '#3E81F1'\n },\n\n offText: {\n type: String,\n default: ''\n },\n\n onText: {\n type: String,\n default: ''\n },\n\n onVal: {\n default: true\n },\n\n offVal: {\n default: false\n },\n\n value: {\n }\n\n // 是否禁用\n // disabled: {\n // type: Boolean,\n // default: false\n // }\n },\n\n computed: {\n on() {\n return this.onVal === this.value\n },\n\n isText() {\n return this.onText && this.offText\n }\n },\n\n methods: {\n handleClick() {\n this.$emit('input', this.on ? this.offVal : this.onVal)\n this.$emit('click')\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Switcher/index.js","\n {{onText}}\n {{offText}}\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Switcher/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'loading',\n\n data() {\n return {\n visible: false,\n message: '',\n zIndex: 7\n }\n },\n\n methods: {\n show(message) {\n this.message = message\n this.visible = true\n },\n\n hide() {\n this.visible = false\n this.message = ''\n this.zIndex = 4\n }\n }\n})\n\nexport default {\n install(Vue) {\n const loading = new Vue(component)\n const id = 'baobab-ui-loading-mount-point'\n const mountPoint = document.createElement('div')\n mountPoint.id = id\n document.body.appendChild(mountPoint)\n loading.$mount(`#${id}`)\n return {\n show() {\n loading.show.apply(loading, arguments)\n },\n\n hide() {\n loading.hide.apply(loading, arguments)\n },\n\n zIndex(zIndex) {\n loading.zIndex = zIndex\n return loading\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loading/index.js","\n \n \n {{message}}\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loading/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nfunction getDocuInfo() {\n return {\n winH: document.documentElement.clientHeight || document.body.clientHeight,\n scrollTop: document.body.scrollTop || document.documentElement.scrollTop,\n pageH: document.body.scrollHeight || document.documentElement.scrollHeight\n }\n}\n\nconst conponent = create({\n name: 'Loadmore',\n\n props: {\n visible: {\n type: Boolean,\n default: false\n },\n\n desc: {\n type: String,\n default: '正在加载...'\n }\n },\n\n data() {\n return {\n show: false\n }\n },\n\n watch: {\n visible() {\n this.detectVisible()\n }\n },\n\n methods: {\n // 检测组件是否可见\n detectVisible() {\n const docuInfo = getDocuInfo()\n const winH = docuInfo.winH\n const pageH = docuInfo.pageH\n if (pageH >= winH && this.visible) { // 文档高度已超过\b一屏高度 并且 用户传递的visible必须为true\n this.show = true\n } else {\n this.show = false\n }\n },\n\n // 滚动事件 ->\n onScroll() {\n this.detectVisible()\n const docuInfo = getDocuInfo()\n const winH = docuInfo.winH\n const scrollTop = docuInfo.scrollTop\n const pageH = docuInfo.pageH\n if (scrollTop + winH >= pageH && this.visible) {\n this.$emit('reachBottom')\n }\n },\n\n // 监听滚动\n startListen() {\n window.addEventListener('scroll', this.onScroll)\n },\n\n // 停止监听\n stopListen() {\n window.removeEventListener('scroll', this.onScroll)\n }\n },\n\n mounted() {\n // 监听滚动\n this.startListen()\n\n // 滚动事件\n this.onScroll()\n },\n\n destroyed() {\n this.stopListen()\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(conponent.name, conponent)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loadmore/index.js","\n \n \n {{desc}}\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Loadmore/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'SwipeOut',\n\n data() {\n return {\n activeItem: null\n }\n },\n\n methods: {\n removeEle(el) {\n this.$refs.swipeOut.removeChild(el)\n this.$emit('onremove', el)\n },\n\n resetItem(item) {\n if (this.activeItem === item) return\n if (this.activeItem && this.activeItem.close) {\n this.activeItem.close()\n }\n this.activeItem = item\n }\n },\n\n created() {\n this.$on('resetItem', this.resetItem)\n this.$on('removeEle', this.removeEle)\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/index.js","\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nfunction preDefault(e) {\n if (e.cancelable) {\n // 判断默认行为是否已经被禁用\n if (!e.defaultPrevented) {\n e.preventDefault()\n }\n }\n}\n\nconst component = create({\n name: 'SwipeOutItem',\n\n data() {\n return {\n speed: 300,\n translate: 0,\n startX: 0,\n oldTouches: null,\n btnWidth: 0,\n moveX: 0\n }\n },\n\n computed: {\n itemStyle() {\n return {\n transition: `all ${this.speed}ms ease`,\n transform: `translateX(${this.translate}px)`\n }\n }\n },\n\n methods: {\n delItem() {\n this.$parent.$emit('removeEle', this.$el)\n },\n\n start(e) {\n this.speed = 0\n this.oldTouches = e.touches[0]\n this.startX = this.translate\n },\n\n move(e) {\n let moveX = e.touches[0].pageX - this.oldTouches.pageX\n this.moveX = moveX\n let moveY = e.touches[0].pageY - this.oldTouches.pageY\n if (Math.abs(moveX) < Math.abs(moveY) || Math.abs(moveX) < 20 || Math.abs(moveY) > 5) return\n e.preventDefault()\n this.$parent.$emit('resetItem', this)\n moveX = this.startX * 1 + moveX * 1\n\n // 边界判断\n if (moveX < -this.btnWidth) {\n moveX = -this.btnWidth\n } else if (moveX > 0) {\n moveX = 0\n }\n document.addEventListener('touchmove', preDefault, { passive: false })\n this.translate = moveX\n },\n\n end() {\n // \b自动布置\n let moveX = -this.translate > 20 ? -this.btnWidth : 0\n if (this.moveX > 0) {\n moveX = 0\n }\n\n // 滑动停止之前将speed置为0\n this.speed = 300\n this.translate = moveX\n document.removeEventListener('touchmove', preDefault, { passive: false })\n },\n\n close() {\n this.translate = 0\n }\n },\n\n mounted () {\n this.$nextTick(() => {\n this.btnWidth = this.$refs.btns.offsetWidth\n })\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/SwipeOutItem/index.js","\n \n \n \n \n \n 删除\n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/SwipeOut/SwipeOutItem/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'TabBar',\n\n props: {\n visiable: {\n type: Boolean,\n default: true\n },\n bgcolor: {\n type: String,\n default: 'rgba(255, 255, 255, .9)'\n },\n fixed: {\n type: Boolean,\n default: false\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/index.js","\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'TabItem',\n\n props: {\n title: {\n type: String,\n required: true,\n default: ''\n },\n to: String,\n selected: {\n type: Boolean,\n required: false,\n default: undefined\n }\n },\n\n computed: {\n hasSlot() {\n return Object.keys(this.$slots).length > 0\n },\n\n hasIcon() {\n return this.$slots.icon\n }\n },\n\n methods: {\n handleClick() {\n if (this.to && this.$router) {\n this.$router.replace(this.to)\n }\n else {\n // 如果不存在to则执行方法\n this.$emit('click')\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component) // 注册全局组件\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/TabItem/index.js","\n \n \n \n \n \n \n \n \n \n \n {{title}}\n \n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/TabBar/TabItem/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst MAXLENTG = 5\nconst WHITE_BG = 'rgba(255,255,255,1)'\nconst PRIMARY = '#3E81F1'\nconst component = create({\n name: 'Tab',\n props: {\n tabList: {\n type: Array,\n default: []\n },\n bgColor: {\n type: String,\n default: WHITE_BG\n },\n tintColor: {\n type: String,\n default: PRIMARY\n },\n selectedIndex: {\n type: Number,\n default: 0\n },\n fullBorder: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n activeIndex: 0,\n isOverFlow: false,\n defaultColor: WHITE_BG,\n activeStyle: null,\n initStyle: {\n color: WHITE_BG,\n 'border-bottom': 'none'\n }\n }\n },\n created() {\n this.activeIndex = this.selectedIndex <= this.tabList.length - 1 ? this.selectedIndex : 0\n if (this.tabList.length >= MAXLENTG) {\n this.isOverFlow = true\n }\n this.activeStyle = {\n 'border-bottom': `2px solid ${this.tintColor}`,\n color: this.tintColor\n }\n // if(this.bgColor) []\n },\n methods: {\n changeActive(index, item) {\n this.activeIndex = index\n this.$emit('onChange', Object.assign({}, item))\n }\n }\n})\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tab/index.js"," \n \n \n \n {{item.title}}\n \n \n \n\n\n\n// WEBPACK FOOTER //\n// ./src/Tab/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Cell',\n props: {\n borderBottom: {\n type: Boolean,\n default: true\n },\n title: {\n type: String,\n default: ''\n },\n content: {\n type: String,\n default: ''\n },\n to: {\n type: [String, Object]\n },\n arrow: undefined,\n bgColor: {\n type: String,\n default: 'rgba(255,255,255,1)'\n }\n },\n\n methods: {\n handleClick() {\n if (this.to) {\n if (/^https?:/.test(this.to)) {\n window.location = this.to\n }\n else {\n if (this.$router) {\n this.$router.push(this.to)\n }\n else {\n this.$emit('click')\n }\n }\n }\n else {\n this.$emit('click')\n }\n }\n },\n\n computed: {\n hasIcon() {\n return this.$slots.icon\n },\n // 如果有to属性, 则不必写arrow\n hasArrow() {\n if (this.arrow !== undefined) {\n return true\n }\n if (this.to) {\n return true\n }\n return false\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/index.js","\n \n \t\n \t\t\n \t\n \t\n \t\t{{title}}\n \t\n \t\n \t\t{{content}}\n \t\n \t\n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'CellGroup',\n\n props: {\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/CellGroup/index.js","\n\t\n\n\n\n// WEBPACK FOOTER //\n// ./src/Cell/CellGroup/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'text-input',\n\n props: {\n value: {\n },\n\n placeholder: String,\n\n type: {\n type: String,\n default: 'text'\n },\n\n align: {\n type: String,\n default: 'left'\n },\n\n invalid: {\n type: Boolean,\n required: false\n }\n },\n\n data() {\n return {\n val: this.value\n }\n },\n\n watch: {\n value(newVal) {\n if (this.val !== newVal) {\n this.val = newVal\n }\n },\n\n val(newVal) {\n this.$emit('input', newVal)\n }\n },\n\n methods: {\n // 用户input输入事件\n handleInput(e) {\n this.val = e.target.value\n },\n\n // input失去光标事件\n handleBlur(e) {\n this.$emit('blur', e)\n },\n\n // input获得光标事件\n handleFocus(e) {\n this.$emit('focus', e)\n },\n\n clear() {\n this.val = ''\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Text-Input/index.js","\n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Text-Input/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Field',\n\n props: {\n label: String,\n\n placeholder: String,\n\n type: {\n type: String,\n default: 'text'\n },\n\n align: {\n type: String,\n default: 'left'\n },\n\n value: {\n },\n\n invalid: {\n type: Object,\n default() {\n return {\n value: false,\n msg: '请重新输入'\n }\n }\n }\n\n },\n\n data() {\n return {\n val: this.value\n }\n },\n\n watch: {\n value(newVal) {\n if (newVal !== this.val) {\n this.val = newVal\n }\n },\n\n val(newVal, oldVal) {\n this.$emit('input', newVal)\n }\n },\n\n methods: {\n handleBlur(e) {\n this.$emit('blur', e)\n },\n\n handleFocus(e) {\n this.$emit('focus', e)\n }\n },\n\n computed: {\n hasLabelSlot() {\n return !!this.$slots.label\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Field/index.js","\n\t{{label}}\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t{{invalid.msg}}\n\t\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Field/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Textareaer',\n\n props: {\n // 双向绑定的值\n value: {\n },\n\n // 输入的最大长度\n max: {\n type: [Number, String]\n },\n\n // 行数\n rows: {\n type: [Number, String],\n default: 3\n },\n\n // 列数\n cols: {\n type: [Number, String],\n default: 30\n },\n\n // 高度\n height: [Number, String],\n\n // 是否只读\n readonly: Boolean,\n\n // 标题\n label: String,\n\n // 文本区名称\n name: String,\n\n // 提示语\n placeholder: {\n type: String,\n default: '请输入'\n },\n\n // 是否显示计数器\n showCounter: {\n type: Boolean,\n default: true\n }\n },\n\n data() {\n return {\n val: this.value\n }\n },\n\n watch: {\n // 同步输入的数据\n val(newVal) {\n this.$emit('input', newVal)\n },\n\n value(newVal) {\n this.val = newVal\n }\n },\n\n computed: {\n textareaStyles() {\n if (this.height) {\n return {\n height: `${this.height}px`\n }\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Textareaer/index.js","\n \n {{label}}\n \n \n \n \n 0}\">{{val.length}}/{{max}}\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Textareaer/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Modal',\n\n props: {\n // 使用v-model, 实现父子组件通信\n value: {\n type: Boolean\n },\n bgColor: {\n type: String,\n default: '#fff'\n },\n zIndex: {\n type: [String, Number],\n default: 2\n },\n anim: {\n validator: v => { // 验证数据准确性\n const names = ['none', 'bottomUp', 'fade']\n return names.indexOf(v) > -1\n },\n default: 'none'\n },\n // 是否点击Modal时隐藏Modal, 默认点击不隐藏\n dismissOnClick: {\n type: Boolean,\n default: false\n }\n },\n\n data() {\n return {\n visible: false\n }\n },\n\n computed: {\n animName() {\n const name = this.anim\n if (name === 'none') {\n return ''\n }\n else {\n return `baobab--anim--${name}`\n }\n }\n },\n\n watch: {\n value(newVal) {\n this.visible = newVal\n }\n },\n\n methods: {\n handleClick(e) {\n if (e.target === this.$refs.modal && this.dismissOnClick) {\n this.$emit('input', false) // 更新父组件v-model传递过来的值\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Modal/index.js","\n\t\n\t\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Modal/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nfunction getType(obj) {\n return Object.prototype.toString.call(obj).slice(8, -1)\n}\n\nfunction isButton(obj) {\n const type = getType(obj)\n return /^(Object | Array | Function)&/.test(type)\n}\n\nfunction createButtons(options) {\n let buttons = []\n const type = getType(options)\n\n if (type === 'Object') {\n buttons = [options]\n }\n else if (type === 'Function') {\n buttons = [{\n title: '确定',\n onClick: options\n }]\n }\n else if (type === 'Array') {\n buttons = options\n }\n\n if (buttons.length === 0) {\n buttons = [{ title: '确定' }]\n }\n\n return buttons.map(btn => {\n if (getType(btn) !== 'Object') {\n return { title: btn }\n }\n else {\n return btn\n }\n })\n}\n\nconst component = create({\n name: 'Dialog',\n\n data() {\n return {\n // 控制modal显隐\n visible: false,\n\n // 对话框标题\n title: '',\n\n // 对话框内容\n content: '',\n\n // 按钮数组\n buttons: [],\n\n // 是否存在输入框\n isPrompt: false,\n\n // 输入框中的值\n promptVal: '',\n zIndex: 6\n }\n },\n\n methods: {\n alert(title, content, buttons) {\n if (arguments.length === 1) {\n content = title\n title = undefined\n }\n else {\n if (isButton(content)) {\n buttons = content\n content = title\n title = undefined\n }\n }\n this.title = title\n this.content = content\n this.buttons = createButtons(buttons)\n this.visible = true\n },\n\n confirm(title, content, callback) {\n if (arguments.length === 1) {\n content = title\n title = undefined\n }\n else {\n if (typeof content === 'function') {\n callback = content\n content = title\n title = undefined\n }\n }\n\n this.alert(title, content, [\n {\n title: '取消',\n onClick() {\n if (callback) callback(false)\n }\n },\n {\n title: '我知道了',\n onClick() {\n if (callback) callback(true)\n }\n }\n ])\n },\n\n prompt(title, callback) {\n this.isPrompt = true\n this.alert(title, '', [\n {\n title: '取消'\n },\n {\n title: '确认',\n onClick: () => {\n if (callback) callback(this.promptVal)\n }\n }\n ])\n },\n\n handleClick(btn) {\n if (btn.onClick) {\n btn.onClick()\n }\n this.visible = false\n },\n\n // transition 组件上的钩子函数, 动画过渡结束之后执行的钩子函数\n afterLeave() {\n this.title = ''\n this.content = ''\n this.buttons = []\n this.promptVal = ''\n this.isPrompt = false\n this.zIndex = 6\n }\n },\n\n computed: {\n\n width() {\n return '270px'\n }\n }\n})\n\nexport default {\n install(Vue) {\n const instance = new Vue(component)\n const id = 'baobab-ui-dialog-mount-point'\n const mountPoint = document.createElement('div')\n mountPoint.id = id\n document.body.appendChild(mountPoint)\n instance.$mount('#' + id)\n return {\n alert() {\n instance.alert.apply(instance, arguments)\n },\n\n confirm() {\n instance.confirm.apply(instance, arguments)\n },\n\n prompt() {\n instance.prompt.apply(instance, arguments)\n },\n\n zIndex(zIndex) {\n instance.zIndex = zIndex\n return instance\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Dialog/index.js","\n \n \n \n \n {{title}}\n \n {{content}}\n \n \n \n \n \n \n \n {{btn.title}}\n \n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Dialog/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\n// disable color\nconst disableColor = '#999'\n\n// careful color\nconst destructiveColor = '#ff3b30'\n\nconst component = create({\n name: 'actionSheet',\n\n data() {\n return {\n visible: false,\n title: '',\n options: [\n // {\n // text: String,\n // disable: Boolean,\n // destructive: Boolean,\n // onSelect: Function\n // }\n ],\n hideCancel: false,\n tintColor: '#333333',\n zIndex: 5\n }\n },\n\n methods: {\n init() {\n this.title = ''\n this.options = []\n this.hideCancel = false\n },\n\n show(title, options, hideCancel = false) { // 需要挂载到Vue原型上的方法\n this.title = title\n this.hideCancel = hideCancel\n this.options = options.map(opt => {\n if (typeof opt === 'object') {\n return opt\n }\n else {\n return {\n text: opt,\n disable: false,\n destructive: false\n }\n }\n })\n this.visible = true\n },\n\n hide() {\n this.visible = false\n setTimeout(() => {\n this.init()\n }, 300)\n },\n\n handleClick(i) {\n const conf = this.options[i]\n if (!conf.disable && conf.onSelect) {\n conf.onSelect()\n this.hide()\n }\n },\n\n getFontColor(opt) {\n if (opt.disable) {\n return disableColor\n }\n\n if (opt.destructive) {\n return destructiveColor\n }\n\n return this.tintColor\n }\n }\n})\n\nexport default {\n install(Vue) {\n const actionsheet = new Vue(component)\n const id = 'baobab-ui-actionsheet-mount-point'\n const mountPoint = document.createElement('div')\n mountPoint.id = id\n document.body.appendChild(mountPoint)\n actionsheet.$mount(`#${id}`)\n return {\n\n config(conf) {\n ['tintColor', 'zIndex'].forEach(name => {\n if (typeof conf[name] !== 'undefined') {\n actionsheet[name] = conf[name]\n }\n })\n return this\n },\n\n show() {\n actionsheet.show.apply(actionsheet, arguments)\n },\n\n hide() {\n actionsheet.hide.apply(actionsheet, arguments)\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/ActionSheet/index.js","\n \n \n {{title}}\n \n \n {{opt.text}}\n \n \n \n 取消\n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/ActionSheet/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Toast',\n\n data() {\n return {\n visiable: false,\n position: 'center',\n content: '',\n type: 'text', // success failure warning wifi loadingA loadingB text\n zIndex: 7\n }\n },\n\n methods: {\n show(content, position = 'center', type = 'text', time = 2000, callback) {\n if (content === '' && type === 'loadingB') {\n content = '正在加载'\n }\n\n if (typeof position === 'function') {\n callback = position\n position = 'center'\n }\n\n if (typeof type === 'function') { // 至少写两个\n callback = type\n type = 'text'\n }\n\n if (typeof time === 'function') {\n callback = time\n time = 2000\n }\n\n this.content = content\n this.position = position\n this.type = type\n this.visiable = true\n\n setTimeout(() => {\n this.hide()\n if (typeof callback === 'function') {\n callback()\n }\n }, time)\n },\n\n hide() {\n this.visiable = false\n },\n\n afterLeave() {\n this.content = ''\n this.position = 'center'\n this.zIndex = 4\n }\n }\n})\n\nexport default {\n install(Vue) {\n const toast = new Vue(component)\n const id = 'baobab-ui-toast-mount-point'\n const mountPoint = document.createElement('div')\n mountPoint.id = id\n document.body.appendChild(mountPoint)\n toast.$mount(`#${id}`)\n return {\n show() {\n toast.show.apply(toast, arguments)\n },\n\n hide() {\n toast.hide.apply(toast, arguments)\n },\n\n zIndex(zIndex) {\n toast.zIndex = zIndex\n return toast // 目的完成链式写法\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Toast/index.js","\n \n \n \n \n \n \n \n \n \n {{content}}\n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Toast/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst conf = {\n top: {\n anim: 'baobab--anim--topDown',\n style: {\n top: 0\n }\n },\n\n bottom: {\n anim: 'baobab--anim--bottomUp',\n style: {\n bottom: 0\n }\n }\n}\n\nconst component = create({\n name: 'Popup',\n\n props: {\n value: {\n type: Boolean\n },\n\n position: {\n type: String,\n validator(position) {\n return position === 'bottom' || position === 'top'\n },\n default: 'bottom'\n },\n\n zIndex: {\n type: [String, Number],\n default: 2\n }\n },\n\n data() {\n return {\n visible: false\n }\n },\n\n computed: {\n conf() {\n return conf[this.position]\n }\n },\n\n watch: {\n value(newVal) {\n this.visible = newVal\n },\n\n visible(newVal, oldVal) {\n if (newVal !== this.value) {\n this.$emit('input', newVal)\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Popup/index.js","\n \n \n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Popup/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Spinner',\n\n props: {\n size: {\n type: [Number, String],\n default: 36\n },\n\n // 边框宽度\n width: {\n type: [Number, String],\n default: 2\n },\n\n bgColor: {\n type: String,\n default: '#c2c2c2'\n },\n\n foreColor: {\n type: String,\n default: '#444'\n }\n\n },\n\n computed: {\n style() {\n return {\n width: this.size + 'px',\n height: this.size + 'px',\n 'border-top-color': this.bgColor,\n 'border-right-color': this.bgColor,\n 'border-bottom-color': this.bgColor,\n 'border-left-color': this.foreColor,\n 'border-width': this.width + 'px'\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Spinner/index.js","\n\n\n// WEBPACK FOOTER //\n// ./src/Spinner/index.tpl","import create from './index.tpl'\nimport './index.styl'\n\nconst component = create({\n name: 'Btn',\n\n props: {\n width: {\n type: String,\n default: ''\n },\n\n height: {\n type: String,\n default: '44px'\n },\n\n radius: {\n type: String,\n default: '2px'\n },\n\n tintColor: {\n type: String,\n default: '#3E81F1'\n },\n\n // spinnerBgColor\n spinnerBgColor: {\n type: String,\n default: 'rgba(255, 255, 255, .5)'\n },\n\n foreColor: {\n type: String,\n default: '#fff'\n },\n\n type: {\n default: 'normal',\n validator(type) {\n const types = ['normal', 'simple', 'cutout']\n return types.indexOf(type) > -1\n }\n },\n disabled: {\n type: Boolean,\n default: false\n },\n\n loading: {\n type: Boolean,\n default: false\n }\n },\n\n computed: {\n // 不可点击样式\n // mixClass() {\n // return {\n // 'disabled': this.disabled || this.loading\n // }\n // },\n\n overlayStyles() {\n let { type, tintColor } = this\n let styles = {}\n if (type === 'normal') {\n styles['background-color'] = tintColor\n }\n else if (type === 'simple') {\n styles['background-color'] = '#fff'\n }\n else if (type === 'cutout') {\n styles['background-color'] = '#fff'\n }\n return styles\n },\n\n style() {\n const { type, tintColor } = this\n\n const styles = {\n width: this.width,\n height: this.height,\n 'border-radius': this.radius,\n 'font-size': this.size\n }\n if (type === 'normal') {\n styles['color'] = '#fff'\n styles['background-color'] = tintColor\n }\n else if (type === 'simple') {\n styles['color'] = tintColor\n styles['background-color'] = '#fff'\n }\n else if (type === 'cutout') {\n styles['border'] = `1px solid ${tintColor}`\n styles['color'] = tintColor\n styles['background-color'] = '#fff'\n }\n\n return styles\n },\n\n spinnerSize() {\n const size = parseFloat(this.height) * 0.45\n return size < 12 ? 12 : size\n }\n },\n\n methods: {\n handleClick() {\n if (!this.loading && !this.disabled) {\n this.$emit('click')\n }\n }\n }\n})\n\nexport default {\n install(Vue) {\n Vue.component(component.name, component)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Button/index.js","\n \n \n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/Button/index.tpl","module.exports = {\"name\":\"baobab-ui\",\"version\":\"1.0.12\",\"description\":\"BBT内部组件库-基于vue2.0的UI组件库\",\"main\":\"lib/baobab-ui.js\",\"directories\":{\"example\":\"example\",\"test\":\"tests\"},\"scripts\":{\"start\":\"node ./example/server.js\",\"build:demo\":\"rm -rf ./docs/demo/css && rm -rf ./docs/demo/js && rm -rf ./docs/demo/index.html && node example/build.js\",\"build\":\"rm -rf ./lib && node ./webpack.config.js\",\"lint\":\"eslint --ext .js,.vue src\",\"changelog\":\"conventional-changelog -p angular -i CHANGELOG.md -w\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/BBT-FE/Baobab-UI\"},\"pre-commit\":[\"lint\"],\"keywords\":[\"UI\"],\"author\":\"6379616e\",\"license\":\"MIT\",\"devDependencies\":{\"autoprefixer\":\"^7.2.4\",\"babel-core\":\"^6.26.0\",\"babel-loader\":\"^7.1.2\",\"babel-plugin-transform-object-rest-spread\":\"^6.26.0\",\"babel-preset-env\":\"^1.6.1\",\"css-loader\":\"^0.28.8\",\"cz-conventional-changelog\":\"^2.1.0\",\"eslint\":\"^4.15.0\",\"eslint-config-standard\":\"^11.0.0-beta.0\",\"eslint-plugin-import\":\"^2.8.0\",\"eslint-plugin-node\":\"^5.2.1\",\"eslint-plugin-promise\":\"^3.6.0\",\"eslint-plugin-standard\":\"^3.0.1\",\"eslint-plugin-vue\":\"^4.2.0\",\"eslint-plugin-vue-libs\":\"^2.1.0\",\"eslint-plugin-vuefix\":\"^0.2.1\",\"extract-text-webpack-plugin\":\"^3.0.2\",\"fastclick\":\"^1.0.6\",\"file-loader\":\"^1.1.6\",\"html-webpack-plugin\":\"^2.30.1\",\"inline-manifest-webpack-plugin\":\"^3.0.1\",\"postcss-loader\":\"^2.0.10\",\"pre-commit\":\"^1.2.2\",\"style-loader\":\"^0.19.1\",\"stylus\":\"^0.54.5\",\"stylus-loader\":\"^3.0.1\",\"url-loader\":\"^0.6.2\",\"vue\":\"^2.5.13\",\"vue-loader\":\"^13.7.0\",\"vue-markdown-loader\":\"^2.3.0\",\"vue-router\":\"^3.0.1\",\"vue-template-compiler\":\"^2.5.13\",\"vue-template-loader\":\"^0.3.1\",\"webpack\":\"^3.10.0\",\"webpack-chunk-hash\":\"^0.5.0\",\"webpack-dev-server\":\"^2.10.1\"},\"dependencies\":{},\"config\":{\"commitizen\":{\"path\":\"./node_modules/cz-conventional-changelog\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./package.json\n// module id = 71\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/package.json b/package.json index b7541d7..4d9fcc7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "baobab-ui", - "version": "1.0.10", + "version": "1.0.12", "description": "BBT内部组件库-基于vue2.0的UI组件库", "main": "lib/baobab-ui.js", "directories": { diff --git a/src/Radio/index.styl b/src/Radio/index.styl index 203bf89..f90b732 100644 --- a/src/Radio/index.styl +++ b/src/Radio/index.styl @@ -45,7 +45,11 @@ border: 1px solid transparent; } -.baobab-radio-icon--normal.disabled { +.Radio--icon-normal i { + transform: rotate(-45deg) scale(0); +} + +.Radio--icon-normal.disabled { background-color: #ccc; } @@ -64,10 +68,10 @@ border-bottom: 1px solid #fff; border-left: 1px solid #fff; transform: rotate(-45deg) scale(1); - transition transform .2s; + transition: transform .2s; } -.baobab-radio-icon--check i { +.Radio--icon-check i { transform: rotate(-45deg) scale(0); } diff --git a/src/SwipeOut/SwipeOutItem/index.js b/src/SwipeOut/SwipeOutItem/index.js index 32a0717..d8db7f4 100644 --- a/src/SwipeOut/SwipeOutItem/index.js +++ b/src/SwipeOut/SwipeOutItem/index.js @@ -1,6 +1,15 @@ import create from './index.tpl' import './index.styl' +function preDefault(e) { + if (e.cancelable) { + // 判断默认行为是否已经被禁用 + if (!e.defaultPrevented) { + e.preventDefault() + } + } +} + const component = create({ name: 'SwipeOutItem', @@ -10,15 +19,16 @@ const component = create({ translate: 0, startX: 0, oldTouches: null, - btnWidth: 0 + btnWidth: 0, + moveX: 0 } }, computed: { itemStyle() { return { - transition: `all ${this.speed}ms`, - transform: `translate3d(${this.translate}px, 0, 0)` + transition: `all ${this.speed}ms ease`, + transform: `translateX(${this.translate}px)` } } }, @@ -36,9 +46,9 @@ const component = create({ move(e) { let moveX = e.touches[0].pageX - this.oldTouches.pageX + this.moveX = moveX let moveY = e.touches[0].pageY - this.oldTouches.pageY - - if (Math.abs(moveX) < Math.abs(moveY) || Math.abs(moveX) < 20 || Math.abs(moveY) > 30) return + if (Math.abs(moveX) < Math.abs(moveY) || Math.abs(moveX) < 20 || Math.abs(moveY) > 5) return e.preventDefault() this.$parent.$emit('resetItem', this) moveX = this.startX * 1 + moveX * 1 @@ -49,15 +59,21 @@ const component = create({ } else if (moveX > 0) { moveX = 0 } + document.addEventListener('touchmove', preDefault, { passive: false }) this.translate = moveX }, end() { // 自动布置 - let moveX = -this.translate > 30 ? -this.btnWidth : 0 + let moveX = -this.translate > 20 ? -this.btnWidth : 0 + if (this.moveX > 0) { + moveX = 0 + } + // 滑动停止之前将speed置为0 this.speed = 300 this.translate = moveX + document.removeEventListener('touchmove', preDefault, { passive: false }) }, close() {