y-design-ssr
Version:
SSR component library of YUI with Vue3
3 lines (2 loc) • 35.1 kB
JavaScript
(function(w,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(w=typeof globalThis<"u"?globalThis:w||self,t(w.dropdownItem={},w.Vue))})(this,function(w,t){"use strict";var Y=document.createElement("style");Y.textContent=`@charset "UTF-8";body,p,h1,h2,h3,h4,h5,h6,ul,dl,ol,dd,form,figure,blockquote{margin:0}ul,ol{list-style:none;padding:0}a{color:inherit;text-decoration:none;outline:none}em,cite,i{font-style:normal}input,textarea,select{font-family:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none}img{display:inline-block}p{word-break:break-all}main{display:block}table{border-spacing:0;border-collapse:collapse}body{color:var(--Surface);fill:currentColor;font-size:14px;line-height:1.5715;line-height:calc(1em + 8px);font-family:var(--Font_Family);-webkit-tap-highlight-color:var(--Click_Active);-webkit-font-smoothing:antialiased}button{line-height:inherit}button:focus{outline:none}.y-el--clickable{cursor:pointer}.y-el--clickable:active{opacity:.85}.y-el--hairline,.y-el--hairline-top,.y-el--hairline-right,.y-el--hairline-bottom,.y-el--hairline-left{position:relative}.y-el--hairline:after,.y-el--hairline-top:after,.y-el--hairline-right:after,.y-el--hairline-bottom:after,.y-el--hairline-left:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--Outline);-webkit-transform:scale(.5);transform:scale(.5)}.y-el--hairline-top:after{border-top-width:1px}.y-el--hairline-right:after{border-right-width:1px}.y-el--hairline-bottom:after{border-bottom-width:1px}.y-el--hairline-left:after{border-left-width:1px}.y-el--hairline:after{border-width:1px}.y-el--ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.y-el--ellipsis-l2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.y-el--ellipsis-l3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.y-el--unclickable{overflow:hidden}.y-el--unclickable *{pointer-events:none}@font-face{font-family:var(--Font_Family_Number);font-style:normal;font-weight:400;src:url(data:application/octet-stream;base64,AAEAAAAOAIAAAwBgT1MvMnvzdUwAAAFoAAAAYGNtYXAAcgDHAAAB7AAAAEhjdnQgAgMCAgAAEDwAAAAuZnBnbTkajnwAAAI0AAANbWdhc3AAAAAQAAAbJAAAAAhnbHlmglhSggAAEIgAAAfQaGVhZBLfe2YAAADsAAAANmhoZWEM1QNQAAABJAAAACRobXR4FRsDewAAAcgAAAAibG9jYQ6SDNIAABBsAAAAGm1heHACAw5FAAABSAAAACBuYW1lIdSxzwAAGFgAAAKNcG9zdP/IANgAABroAAAAOnByZXAWsXzsAAAPpAAAAJgAAQAAAAIAAPoiibxfDzz1AAcIAAAAAADXIFDsAAAAANdP4OEAKv5bBSgGQgABAAcAAgAAAAAAAAABAAAHgf4xAAAE0AAqAEkFKAABAAAAAAAAAAAAAAAAAAAABQABAAAADABuAAoAAAAAAAIAVgBoAIsAAAELDW0AAAAAAAMEkQGQAAUACAUzBMwAAACZBTMEzAAAAswAZgNyAAACCwUAAAAAAAAAAAAALwAAAAAAAAAAAAAAAFVLV04AIAAg/+UGMf5bAVAHgQHPAAABEQAAAAAFvgW+AAAAIAAAA+sAuwTQALAEIABYAsAAWAQgAFgAWABYAFgAWABYAFgAWAAAAAAAAQADAAEAAAAMAAQAPAAAAAYABAABAAIAKwA5//8AAAArADD////WAAAAAQAAAAQAAAACAAMABAAFAAYABwAKAAgACQALsAAsILAAVVhFWSAgS7gADlFLsAZTWliwNBuwKFlgZiCKVViwAiVhuQgACABjYyNiGyEhsABZsABDI0SyAAEAQ2BCLbABLLAgYGYtsAIsIGQgsMBQsAQmWrIoAQtDRWNFsAZFWCGwAyVZUltYISMhG4pYILBQUFghsEBZGyCwOFBYIbA4WVkgsQELQ0VjRWFksChQWCGxA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gEUKy2wRiyxADkrISMgIDywBCNCIzixLgEUK7AEQy6wListsEcssAAVIEewACNCsgABARUUEy6wNCotsEgssAAVIEewACNCsgABARUUEy6wNCotsEkssQABFBOwNSotsEossDcqLbBLLLAAFkUjIC4gRoojYTixLgEUKy2wTCywCCNCsEsrLbBNLLIAAEQrLbBOLLIAAUQrLbBPLLIBAEQrLbBQLLIBAUQrLbBRLLIAAEUrLbBSLLIAAUUrLbBTLLIBAEUrLbBULLIBAUUrLbBVLLMAAABBKy2wViyzAAEAQSstsFcsswEAAEErLbBYLLMBAQBBKy2wWSyzAAABQSstsFosswABAUErLbBbLLMBAAFBKy2wXCyzAQEBQSstsF0ssgAAQystsF4ssgABQystsF8ssgEAQystsGAssgEBQystsGEssgAARistsGIssgABRistsGMssgEARistsGQssgEBRistsGUsswAAAEIrLbBmLLMAAQBCKy2wZyyzAQAAQistsGgsswEBAEIrLbBpLLMAAAFCKy2waiyzAAEBQistsGssswEAAUIrLbBsLLMBAQFCKy2wbSyxADorLrEuARQrLbBuLLEAOiuwPistsG8ssQA6K7A/Ky2wcCywABaxADorsEArLbBxLLEBOiuwPistsHIssQE6K7A/Ky2wcyywABaxATorsEArLbB0LLEAOysusS4BFCstsHUssQA7K7A+Ky2wdiyxADsrsD8rLbB3LLEAOyuwQCstsHgssQE7K7A+Ky2weSyxATsrsD8rLbB6LLEBOyuwQCstsHsssQA8Ky6xLgEUKy2wfCyxADwrsD4rLbB9LLEAPCuwPystsH4ssQA8K7BAKy2wfyyxATwrsD4rLbCALLEBPCuwPystsIEssQE8K7BAKy2wgiyxAD0rLrEuARQrLbCDLLEAPSuwPistsIQssQA9K7A/Ky2whSyxAD0rsEArLbCGLLEBPSuwPistsIcssQE9K7A/Ky2wiCyxAT0rsEArLbCJLLMJBAIDRVghGyMhWUIrsAhlsAMkUHixBQEVRVgwWS0AAAAAS7gAyFJYsQEBjlmwAbkIAAgAY3CxAAdCswAAAgAqsQAHQrUVAg8CAggqsQAHQrUXABIAAggqs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C1SZWd1bGFyWXVld2VuIEZvbnQgUmVndWxhclZlcnNpb24gMi4wMDBZdWV3ZW5Gb250LVJlZ3VsYXJZVVgAQwBvAHAAeQByAGkAZwBoAHQAIACpACAAMgAwADEANwAgAGIAeQAgAFkAVQBYAC4AIABBAGwAbAAgAHIAaQBnAGgAdABzACAAcgBlAHMAZQByAHYAZQBkAC4AWQB1AGUAdwBlAG4AIABGAG8AbgB0AEIAbwBsAGQAMgAuADAAMAAwADsAVQBLAFcATgA7AFkAdQBlAHcAZQBuAEYAbwBuAHQALQBSAGUAZwB1AGwAYQByAFkAdQBlAHcAZQBuACAARgBvAG4AdAAgAFIAZQBnAHUAbABhAHIAVgBlAHIAcwBpAG8AbgAgADIALgAwADAAMABZAHUAZQB3AGUAbgBGAG8AbgB0AC0AUgBlAGcAdQBsAGEAcgBZAFUAWABSAGUAZwB1AGwAYQByAAAAAAIAAAAAAAD/MwBmAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAA4AEwAUABUAFgAXABgAGgAbABkAHAAAAAEAAf//AA8=) format("truetype")}.y-font--number{font-family:var(--Font_Family_Number);speak:none;font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@-webkit-keyframes y-keyframes--slide-bottom-enter{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes y-keyframes--slide-bottom-enter{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes y-keyframes--slide-bottom-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes y-keyframes--slide-bottom-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes y-keyframes--slide-top-enter{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes y-keyframes--slide-top-enter{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes y-keyframes--slide-top-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes y-keyframes--slide-top-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes y-keyframes--slide-left-enter{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes y-keyframes--slide-left-enter{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes y-keyframes--slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes y-keyframes--slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes y-keyframes--slide-right-enter{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes y-keyframes--slide-right-enter{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes y-keyframes--slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes y-keyframes--slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes y-keyframes--fade-enter{0%{opacity:0}to{opacity:1}}@keyframes y-keyframes--fade-enter{0%{opacity:0}to{opacity:1}}@-webkit-keyframes y-keyframes--fade-leave{0%{opacity:1}to{opacity:0}}@keyframes y-keyframes--fade-leave{0%{opacity:1}to{opacity:0}}@-webkit-keyframes y-keyframes--rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes y-keyframes--rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.y-animation--fade-enter-active{-webkit-animation:.3s y-keyframes--fade-enter both ease-out;animation:.3s y-keyframes--fade-enter both ease-out}.y-animation--fade-leave-active{-webkit-animation:.3s y-keyframes--fade-leave both ease-in;animation:.3s y-keyframes--fade-leave both ease-in}.y-animation--slide-bottom-enter-active{-webkit-animation:.3s y-keyframes--slide-bottom-enter both ease-out;animation:.3s y-keyframes--slide-bottom-enter both ease-out}.y-animation--slide-bottom-leave-active{-webkit-animation:.3s y-keyframes--slide-bottom-leave both ease-in;animation:.3s y-keyframes--slide-bottom-leave both ease-in}.y-animation--slide-top-enter-active{-webkit-animation:.3s y-keyframes--slide-top-enter both ease-out;animation:.3s y-keyframes--slide-top-enter both ease-out}.y-animation--slide-top-leave-active{-webkit-animation:.3s y-keyframes--slide-top-leave both ease-in;animation:.3s y-keyframes--slide-top-leave both ease-in}.y-animation--slide-left-enter-active{-webkit-animation:.3s y-keyframes--slide-left-enter both ease-out;animation:.3s y-keyframes--slide-left-enter both ease-out}.y-animation--slide-left-leave-active{-webkit-animation:.3s y-keyframes--slide-left-leave both ease-in;animation:.3s y-keyframes--slide-left-leave both ease-in}.y-animation--slide-right-enter-active{-webkit-animation:.3s y-keyframes--slide-right-enter both ease-out;animation:.3s y-keyframes--slide-right-enter both ease-out}.y-animation--slide-right-leave-active{-webkit-animation:.3s y-keyframes--slide-right-leave both ease-in;animation:.3s y-keyframes--slide-right-leave both ease-in}:root{--Primary: #68e38b;--Primary_1: #95f0ab;--Primary_2: #f0fff2;--Secondary: #5790df;--Secondary_1: #84b4f5;--Secondary_2: #edf1fc;--Surface: #191919;--Surface_1: #4c4c4c;--Surface_2: #808080;--Surface_3: #adadad;--Surface_4: #ccc;--Surface_5: #e0e0e0;--Surface_6: #ebebeb;--Surface_7: #f5f5f5;--Surface_8: #fff;--Background: #f5f5f5;--Background_1: #fff;--SheetBackground: #f5f5f5;--SheetBackground_1: #fff;--Outline: rgba(0, 0, 0, .08);--Segmentation: rgba(0, 0, 0, .04);--Overlay: rgba(0, 0, 0, .9);--Overlay_1: rgba(0, 0, 0, .6);--Overlay_2: rgba(0, 0, 0, .36);--Success: #40d76f;--Error: #e5353e;--Warn: #ff5e1a;--Warn_1: #ffe1d5;--Click_Active: rgba(0, 0, 0, .05);--Font_Family: PingFang SC, sans-serif;--Font_Family_Number: Yuewen Font}@font-face{font-weight:400;font-family:y-icon;src:url(https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/7cdace70.eot?cmrron);src:url(https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/7cdace70.eot?cmrron#iefix) format("embedded-opentype"),url(https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/d235a87c.ttf?cmrron) format("truetype"),url(https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/a13b82e6.woff?cmrron) format("woff"),url(https://imgservices-1252317822.image.myqcloud.com/image/031920220182811/a73151ca.svg?cmrron#y-icon) format("svg");font-style:normal;font-display:block}.y-icon--warning:before{content:"\\e92a"}.y-icon--warning-o:before{content:"\\e929"}.y-icon--image-fail:before{content:"\\e924"}.y-icon--circle-arrow-left:before{content:"\\e920"}.y-icon--circle-arrow:before{content:"\\e921"}.y-icon--circle-arrow-up:before{content:"\\e922"}.y-icon--circle-arrow-down:before{content:"\\e923"}.y-icon--reward:before{content:"\\e900"}.y-icon--input-ban:before{content:"\\e901"}.y-icon--success:before{content:"\\e902"}.y-icon--crown:before{content:"\\e903"}.y-icon--gift:before{content:"\\e904"}.y-icon--clock:before{content:"\\e905"}.y-icon--cartoon:before{content:"\\e906"}.y-icon--boy:before{content:"\\e907"}.y-icon--chat:before{content:"\\e908"}.y-icon--file:before{content:"\\e909"}.y-icon--audio:before{content:"\\e90a"}.y-icon--img-bad:before{content:"\\e90b"}.y-icon--flower:before{content:"\\e90c"}.y-icon--circle-question:before{content:"\\e90d"}.y-icon--pause:before{content:"\\e90e"}.y-icon--pill-o:before{content:"\\e90f"}.y-icon--pill:before{content:"\\e910"}.y-icon--play:before{content:"\\e912"}.y-icon--play-o:before{content:"\\e913"}.y-icon--thumb-down-o:before{content:"\\e914"}.y-icon--thumb-down:before{content:"\\e915"}.y-icon--i-card:before{content:"\\e916"}.y-icon--input-ok:before{content:"\\e918"}.y-icon--close-o:before{content:"\\e919"}.y-icon--success-o:before{content:"\\e91a"}.y-icon--ok:before{content:"\\e91b"}.y-icon--no:before{content:"\\e91c"}.y-icon--jinhao:before{content:"\\e91d"}.y-icon--fire:before{content:"\\e91e"}.y-icon--add-book:before{content:"\\e91f"}.y-icon--speed:before{content:"\\e925"}.y-icon--chat-o:before{content:"\\e926"}.y-icon--dian:before{content:"\\e927"}.y-icon--qidian:before{content:"\\e928"}.y-icon--favorite:before{content:"\\e92e"}.y-icon--favorite-o:before{content:"\\e92f"}.y-icon--circle-pause:before{content:"\\e932"}.y-icon--retreat:before{content:"\\e933"}.y-icon--next:before{content:"\\e934"}.y-icon--heart-o:before{content:"\\e935"}.y-icon--heart:before{content:"\\e936"}.y-icon--circle-favorite:before{content:"\\e937"}.y-icon--cirle-pause:before{content:"\\e93b"}.y-icon--thumb-up-o:before{content:"\\e93c"}.y-icon--thumb-up:before{content:"\\e93d"}.y-icon--loading:before{content:"\\e93e"}.y-icon--at:before{content:"\\e93f"}.y-icon--bookmark:before{content:"\\e940"}.y-icon--mark:before{content:"\\e941"}.y-icon--undo:before{content:"\\e942"}.y-icon--local:before{content:"\\e943"}.y-icon--catalog:before{content:"\\e944"}.y-icon--share:before{content:"\\e945"}.y-icon--more:before{content:"\\e946"}.y-icon--more-2:before{content:"\\e947"}.y-icon--done:before{content:"\\e948"}.y-icon--shopping:before{content:"\\e949"}.y-icon--circle-close:before{content:"\\e94a"}.y-icon--cross:before{content:"\\e94b"}.y-icon--info:before{content:"\\e94c"}.y-icon--user-done:before{content:"\\e94d"}.y-icon--add-user:before{content:"\\e94e"}.y-icon--red-packet:before{content:"\\e94f"}.y-icon--exchange:before{content:"\\e950"}.y-icon--add-fav:before{content:"\\e952"}.y-icon--arrow:before{content:"\\e953"}.y-icon--arrow-down:before{content:"\\e911"}.y-icon--arrow-up:before{content:"\\e917"}.y-icon--arrow-left:before{content:"\\e954"}.y-icon--trophy:before{content:"\\e955"}.y-icon--rank:before{content:"\\e956"}.y-icon--ban:before{content:"\\e958"}.y-icon--clock-o:before{content:"\\e95a"}.y-icon--count-down:before{content:"\\e95b"}.y-icon--link:before{content:"\\e95c"}.y-icon--girl:before{content:"\\e95f"}.y-icon--sort:before{content:"\\e960"}.y-icon--cv:before{content:"\\e961"}.y-icon--download:before{content:"\\e962"}.y-icon--zoom-out:before{content:"\\e963"}.y-icon--restore:before{content:"\\e964"}.y-icon--filter:before{content:"\\e965"}.y-icon--filter-done:before{content:"\\e966"}.y-icon--trash:before{content:"\\e967"}.y-icon--slide-up:before{content:"\\e968"}.y-icon--quote:before{content:"\\e969"}.y-icon--setup:before{content:"\\e96a"}.y-icon--sort-flip:before{content:"\\e96b"}.y-icon--video:before{content:"\\e96c"}.y-icon--phone:before{content:"\\e96d"}.y-icon--book:before{content:"\\e96e"}.y-icon--refresh:before{content:"\\e96f"}.y-icon--mail:before{content:"\\e970"}.y-icon--search:before{content:"\\e971"}.y-icon--unlock:before{content:"\\e972"}.y-icon--lock:before{content:"\\e973"}.y-icon--lock-o:before{content:"\\e974"}.y-icon--notice-off:before{content:"\\e975"}.y-icon--notice-o:before{content:"\\e976"}.y-icon--add:before{content:"\\e978"}.y-icon--mute:before{content:"\\e97a"}.y-icon--sound:before{content:"\\e97b"}.y-icon--post:before{content:"\\e97c"}.y-icon--image:before{content:"\\e97d"}.y-icon--image-o:before{content:"\\e97e"}.y-icon--slide-down:before{content:"\\1f3b5"}.y-icon--restore1:before{content:"\\e980"}.y-icon--card:before{content:"\\e981"}.y-icon--circle-question-o:before{content:"\\e982"}.y-icon--user:before{content:"\\e983"}.y-icon--money:before{content:"\\e984"}.y-icon--voice:before{content:"\\e985"}.y-icon--ticket:before{content:"\\e986"}.y-icon--cloud:before{content:"\\e987"}.y-icon--reload:before{content:"\\e988"}.y-icon--transmit:before{content:"\\e989"}.y-icon--gif:before{content:"\\e98b"}.y-icon{position:relative;display:inline-block;font-family:y-icon,sans-serif!important;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;font-size:inherit;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.y-icon__dot,.y-icon__badge{position:absolute;top:0;right:0;padding:0;height:8px;width:8px;-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1;color:var(--Surface_8);font-weight:500;font-size:12px;text-align:center;background-color:var(--Primary);border-radius:100%;-webkit-transform-origin:100%;transform-origin:100%;-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}.y-icon__badge{width:auto;height:auto;border-radius:16px;padding:2.4px 4.8px;-webkit-transform:scale(.85) translate(50%,-50%);transform:scale(.85) translate(50%,-50%)}.y-icon__node{display:inline-block;width:1em;height:1em}.y-icon__image{width:90%;height:90%;-o-object-fit:contain;object-fit:contain}.y-cell{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:12px;overflow:hidden;background-color:var(--Background_1);color:var(--Surface)}.y-cell--is-top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.y-cell--is-middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.y-cell--is-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.y-cell--mini{font-size:12px}.y-cell--small{font-size:14px}.y-cell--middle{font-size:16px}.y-cell--large{font-size:18px}.y-cell__center{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;overflow:hidden}.y-cell__center--has-left{margin-left:12px}.y-cell__title{padding-right:16px}.y-cell__label{font-size:.75em;color:var(--Surface_2);padding-right:16px}.y-cell__value{font-size:.875em;color:var(--Surface_2);text-align:right;max-width:50%;margin-right:8px}.y-cell__icon{font-size:.5em;color:var(--Surface_4)}.y-cell--hairline:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:" ";pointer-events:none;right:16px;bottom:0;left:16px;border-bottom:1px solid var(--Outline);-webkit-transform:scaleY(.5);transform:scaleY(.5)}.y-mask{position:fixed;top:0;left:0;z-index:100;width:100%;height:100%;background-color:var(--Overlay_1)}.y-popup__content{position:fixed;max-height:100%;background-color:var(--Background_1);overflow:auto}.y-popup__content--center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.y-popup__content--bottom{bottom:0;left:0;width:100%}.y-popup__content--right{top:0;right:0}.y-popup__content--left{top:0;left:0}.y-popup__content--top{top:0;left:0;width:100%}.y-dropdown-item{position:fixed;right:0;left:0;z-index:100;overflow:hidden}.y-dropdown-item__icon{display:block;line-height:inherit}.y-dropdown-item__option{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:left}.y-dropdown-item__option--active,.y-dropdown-item__option--active .y-dropdown-item__icon{color:var(--Primary)}.y-dropdown-item--up{top:0}.y-dropdown-item--down{bottom:0}.y-dropdown-item__content{position:absolute;max-height:80%}
`,document.head.appendChild(Y);const E=(e,A)=>A?typeof A=="string"?` ${e}--${A}`:Array.isArray(A)?A.reduce((s,i)=>s+E(e,i),""):Object.keys(A).reduce((s,i)=>s+(A[i]?E(e,i):""),""):"",V=e=>(A,s)=>{let i=A,a=s;return i&&typeof i!="string"&&(a=i,i=""),i=i?`${e}__${i}`:e,`${i}${E(i,a)}`},R=()=>(e,A)=>A?`${E(`y-${e}`,A)}`:`y-${e}`,j={"pull-refresh":{pulling:"下拉刷新...",loosing:"释放刷新...",loading:"数据加载中...",success:"数据已更新",failed:"数据跟新失败,请稍后再试"},"form-item":{validateMessage:"请输入正确内容"}};t.ref("zh-CN"),t.reactive({"zh-CN":j});const u=e=>{const A=`y-${e}`;return[A,V(A),R()]};var x=(e=>(e.Mini="mini",e.Small="small",e.Middle="middle",e.Large="large",e))(x||{}),D=(e=>(e.Top="top",e.Middle="middle",e.Bottom="bottom",e))(D||{}),F=(e=>(e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center",e))(F||{}),I=(e=>(e.UP="up",e.DOWN="down",e))(I||{});const N=e=>isNaN(Number(e))&&typeof e=="string"?e:`${e}px`,v=e=>{const A=t.inject(e,null),s=t.getCurrentInstance();if(A&&s){const{children:i,addChild:a,removeChild:c}=A;return a(s),t.onUnmounted(()=>c(s)),{index:t.computed(()=>i.indexOf(s)),parent:A}}return{parent:null,index:t.ref(-1)}},[K,fe]=u("dropdown"),_=K;I.DOWN;const[Z,Q]=u("icon"),z=e=>new RegExp(/\.(https|png|jpg|gif|jpeg|webp|apng)$/).test(e.toLowerCase()),J=t.defineComponent({name:Z,props:{dot:{type:Boolean,default:!1},name:{type:String,default:""},size:{type:[Number,String],default:""},info:{type:[Number,String],default:""},badge:{type:[Number,String],default:""},color:{type:String,default:""},subColor:{type:String,default:""},subBg:{type:String,default:""},classPrefix:{type:String,default:"y-icon"},tag:{type:String,default:"i"}},emits:["click"],setup(e,{slots:A,emit:s}){const i=z(e.name),a=()=>({fontSize:N(e.size),color:e.color}),c=n=>{s("click",n)};return()=>{const{name:n,classPrefix:r,badge:y,dot:d,subColor:b,subBg:o,tag:l}=e;return t.createVNode(l,{class:`${r}${i?"":` y-icon--${n}`}`,style:a(),onClick:c},{default:()=>{var m;return[i?t.createVNode("em",{class:Q("node")},[t.createVNode("img",{class:Q("image"),src:n,alt:"icon"},null)]):null,d?t.createVNode("em",{class:Q("dot"),style:{backgroundColor:o}},null):null,y?t.createVNode("em",{class:Q("badge"),style:{color:b,backgroundColor:o}},[y]):null,((m=A.default)==null?void 0:m.call(A))||null]}})}}});function p(e){const A=e;return A.install=s=>{const{name:i}=e;i&&s.component(i,e)},A}const ye="",de="",be="",me="",ge="",Be="",S=p(J),[O,C,T]=u("cell"),P=t.defineComponent({name:O,props:{tag:{type:String,default:"div"},title:{type:[Number,String],default:""},label:{type:[Number,String],default:""},value:{type:[Number,String],default:""},size:{type:String,default:x.Middle},vertical:{type:String,default:D.Middle},border:{type:Boolean,default:!0},icon:{type:String,default:""},clickable:{type:Boolean,default:!1}},emits:["click"],setup(e,{slots:A,emit:s}){const i=a=>{s("click",a)};return()=>{const{tag:a,vertical:c,border:n,size:r,title:y,icon:d,label:b,value:o,clickable:l}=e,m=a==="a"?!0:l;return t.createVNode(a,{class:[C({[`is-${c}`]:c,[r]:r,hairline:n}),T("el",{clickable:m})],onClick:i},{default:()=>{var B,f;return[(B=A.left)==null?void 0:B.call(A),t.createVNode("div",{class:C("center",{"has-left":A.left})},[A.center?A.center():[t.createVNode("h4",{class:C("title")},[y]),t.createVNode("p",{class:C("label")},[b])]]),A.default?A.default():t.createVNode("div",{class:C("value")},[o]),((f=A.right)==null?void 0:f.call(A))||d&&t.createVNode(S,{name:d,class:C("icon")},null)]}})}}}),we="",H=p(P),[$,X,q]=u("mask"),ee={modelValue:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:null},duration:{type:Number,default:300},customClass:{type:String,default:""},customStyle:{type:Object,default:()=>({})},lockScroll:{type:Boolean,default:!0},onAfterLeave:{type:Function,default:null}},g=t.reactive([]);let U=0;const te=t.defineComponent({name:$,props:ee,emits:["update:modelValue"],setup(e,{slots:A}){const s=t.ref("");t.onMounted(()=>{s.value=`mask${U}`,U+=1,i(e.modelValue,!0)}),t.onUnmounted(()=>{const n=g.findIndex(r=>r._id===s.value);n>=0&&g.splice(n,1)}),t.watch(()=>e.modelValue,n=>{i(n)});const i=(n,r)=>{n?(g.unshift({_id:s.value,_state:n}),g.length>1&&(g[1]._state=!1)):r||(g.splice(0,1),g.length>0&&(g[0]._state=!0))},a=()=>{let n=!1;for(let r=0;r<g.length;r++)g[r]._id===s.value&&(n=g[r]._state);return{_state:n}},c=n=>{const{lockScroll:r}=e;r&&(n.preventDefault(),n.stopPropagation())};return()=>{const{customClass:n,duration:r,zIndex:y,customStyle:d,onAfterLeave:b}=e,{_state:o}=a();return t.createVNode(t.Transition,{name:q("animation","fade"),onAfterLeave:b},{default:()=>{var l;return[t.withDirectives(t.createVNode("div",{style:{animationDuration:`${r}ms`,zIndex:y,...d},class:[X(),n],onTouchmove:c},[(l=A.default)==null?void 0:l.call(A)]),[[t.vShow,o]])]}})}}}),ue="",M=p(te),[Ae,W,G]=u("popup"),oe={modelValue:{type:Boolean,default:!1},position:{type:String,default:"center"},borderRadius:{type:[Number,String],default:""},customClass:{type:String,default:""},customStyle:{type:Object,default:()=>({})},maskCustomClass:{type:String,default:""},maskCustomStyle:{type:Object,default:()=>({})},teleport:{type:String,default:"body"},duration:{type:Number,default:300},isCloseOnClickMask:{type:Boolean,default:!0},onAfterLeave:{type:Function,default:null},lockScroll:{type:Boolean,default:!0},zIndex:{type:Number,default:100}},ne=t.defineComponent({name:Ae,props:oe,emits:["clickMask","update:modelValue"],setup(e,{slots:A,emit:s}){const i=t.computed(()=>{const{position:n,borderRadius:r,customStyle:y,duration:d,zIndex:b}=e,o=N(r);let l="0";switch(n){case"top":l=` 0 0 ${o} ${o}`;break;case"bottom":l=`${o} ${o} 0 0`;break;case"left":l=`0 ${o} ${o} 0`;break;case"right":l=`${o} 0 0 ${o}`;break;default:l=`${o}`}return{borderRadius:l,animationDuration:`${d}ms`,...y,zIndex:b+1}}),a=n=>{s("clickMask",n),e.isCloseOnClickMask&&(c.value=!1)},c=t.computed({get:()=>e.modelValue,set:n=>s("update:modelValue",n)});return t.watch(()=>c.value,(n,r)=>{n!==r&&(n&&e.lockScroll?document.body.style.overflow="hidden":document.body.style.overflow="")}),()=>{const{teleport:n,position:r,customClass:y,duration:d,onAfterLeave:b,lockScroll:o,zIndex:l,maskCustomClass:m,maskCustomStyle:B}=e;return n?t.createVNode(t.Teleport,{to:n},{default:()=>[t.createVNode(M,{modelValue:c.value,"onUpdate:modelValue":f=>c.value=f,duration:d,lockScroll:o,onClick:a,onAfterLeave:b,zIndex:l,customClass:m,customStyle:B},null),t.createVNode(t.Transition,{name:G("animation",`slide-${r}`)},{default:()=>{var f;return[t.withDirectives(t.createVNode("div",{style:i.value,class:[W("content",{[r]:r}),y]},[((f=A.default)==null?void 0:f.call(A))||null]),[[t.vShow,c.value]])]}})]}):t.createVNode(t.Fragment,null,[t.createVNode(M,{modelValue:c.value,"onUpdate:modelValue":f=>c.value=f,duration:d,lockScroll:o,onClick:a,onAfterLeave:b,zIndex:l,customClass:m,customStyle:B},null),t.createVNode(t.Transition,{name:G("animation",`slide-${r}`)},{default:()=>{var f;return[t.withDirectives(t.createVNode("div",{style:i.value,class:[W("content",{[r]:r}),y]},[((f=A.default)==null?void 0:f.call(A))||null]),[[t.vShow,c.value]])]}})])}}}),Ce="",ie=p(ne);function re(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!t.isVNode(e)}const[ae,h]=u("dropdown-item"),se={modelValue:{type:[Number,String],default:""},title:{type:String,default:""},options:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1},teleport:{type:String,default:""}},le=t.defineComponent({name:ae,props:se,emits:["change","update:modelValue"],setup(e,{slots:A,emit:s,expose:i}){const a=t.reactive({showPopup:!1,transition:!0,id:Math.random().toString(36).slice(2)}),{parent:c}=v(_);if(!c){console.error("<YDropdownItem> must be a child component of <YDropdown>.");return}const n=o=>{e.teleport&&o.stopPropagation()},r=(o=!a.showPopup,l={})=>{o!==a.showPopup&&(a.showPopup=o,a.transition=!l.immediate,o&&c.updateOffset())},y=()=>{if(A.title)return A.title();if(e.title)return e.title;const o=e.options.find(l=>l.value===e.modelValue);return o?o.text:""},d=o=>{const{activeColor:l}=c.props,m=o.value===e.modelValue,B=()=>{a.showPopup=!1,o.value!==e.modelValue&&(s("update:modelValue",o.value),s("change",o.value))},f=()=>m?t.createVNode(S,{class:h("icon"),color:l,name:o.icon||"done"},null):null;return t.createVNode(H,{key:String(o.value),title:o.text,class:h("option",{active:m}),style:{color:m?l:""},clickable:!0,onClick:B},{right:f})},b=()=>{const{offset:o}=c,{zIndex:l,duration:m,direction:B,isCloseOnClickMask:f}=c.props,k={};return k.zIndex=l,B===I.DOWN?k.top=`${o.value}px`:k.bottom=`${o.value}px`,t.withDirectives(t.createVNode("div",{style:k,class:h([B]),onClick:n,id:a.id},[t.createVNode(ie,{modelValue:a.showPopup,"onUpdate:modelValue":L=>a.showPopup=L,customClass:h("content"),maskCustomStyle:{position:"absolute"},position:B===I.DOWN?F.Top:F.Bottom,duration:a.transition?m:0,isCloseOnClickMask:f,teleport:e.teleport},{default:()=>{var L;return[e.options.map(d),(L=A.default)==null?void 0:L.call(A)]}})]),[[t.vShow,a.showPopup]])};return i({state:a,toggle:r,renderItemTitle:y}),()=>{let o;return e.teleport?t.createVNode(t.Teleport,{to:e.teleport},re(o=b())?o:{default:()=>[o]}):b()}}}),pe="",ce=p(le);w.default=ce,Object.defineProperties(w,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});