nubomed-ui 2.0.34 → 2.0.36
Sign up to get free protection for your applications and to get access to all the features.
- package/css/nb-ui/index.css +1 -1
- package/nubomed-ui.common.js +61 -114
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +61 -114
- package/nubomed-ui.umd.js.map +1 -1
- package/nubomed-ui.umd.min.js +1 -1
- package/nubomed-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/css/nb-ui/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@charset "UTF-8";html{font-size:.8333333333vw}.color-danger,.danger-color{color:#E52D3E!important}.color-success{color:#00A572!important}.color-primary,.primary-color{color:#0066E0!important}.nb-tag{height:32px;padding:0 8px;border-radius:16px;font-size:20px;line-height:32px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background-color:#CCE0F9;color:#0066E0}.nb-tag.nb-tag--fill{background-color:#0066E0;color:#fff}.nb-tag--success{background-color:#CCEDE3;color:#00A572}.nb-tag--success.nb-tag--fill{background-color:#00A572;color:#fff}.nb-tag--danger{background-color:#FAD5D8;color:#E52D3E}.nb-tag--danger.nb-tag--fill{background-color:#E52D3E;color:#fff}.nb-tag--warning{background-color:#FEE7CC;color:#F98900}.nb-tag--warning.nb-tag--fill{background-color:#F98900;color:#fff}.nb-tag--large{height:36px;padding:0 12px;border-radius:18px;font-size:24px;line-height:36px}.nb-notification.el-notification{width:auto;max-width:80%;padding:31px 40px;border-width:2px!important;left:50%!important;transform:translate(-50%)}.nb-notification.el-notification .el-notification__content{font-size:40px;line-height:56px;margin-top:0;color:#181D41}.nb-notification.el-notification .el-notification__icon{width:50px;height:50px;font-size:50px;margin-top:3px}.nb-notification.el-notification .el-icon-success::before{content:"\e630";font-family:iconfont}.nb-notification.el-notification .el-icon-error::before{content:"\e629";font-family:iconfont}.nb-notification.el-notification.nb-notification--success{border-color:#7FD2B8;background-color:#F0FBFA}.nb-notification.el-notification.nb-notification--error{border-color:#F2969E;background-color:#FDF4F5}.nb-notification.el-notification.nb-notification--warning{border-color:#FCC47F;background-color:#FEF9F2}.nb-dialog.el-dialog{border-radius:16px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;margin-bottom:0}.nb-dialog.el-dialog .el-dialog__header .el-dialog__title{line-height:1.5}.nb-dialog.el-dialog .el-dialog__header .el-dialog__headerbtn{font-size:40px;color:#8B8EA0;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.nb-dialog.el-dialog[aria-label=dialog] .el-dialog__header{padding:0!important}.nb-dialog.el-dialog .slot-title .el-dialog__tips{font-size:28px;line-height:1.5}.nb-dialog.el-dialog .slot-title .el-dialog__tips--danger{color:#E52D3E}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__tips,.nb-dialog.el-dialog .slot-title .el-dialog__tips--success{color:#00A572}.nb-dialog.el-dialog .el-dialog__body{flex:1;padding:0;color:#181D41;overflow-y:auto;overflow-x:hidden}.nb-dialog.el-dialog .el-dialog__footer{width:100%;height:100px;padding:0;display:flex;overflow:hidden;background:#FFF;box-shadow:0 -6px 16px 0 rgba(24,29,65,.08);position:relative}.nb-dialog.el-dialog .el-dialog__footer::after{content:"";position:absolute;left:0;right:0;top:0;background-color:#CAD0E0;height:1px}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog .el-dialog__headerbtn,.el-dialog__wrapper[type=small] .nb-dialog.el-dialog .el-dialog__headerbtn{top:40px;right:40px}.nb-dialog.el-dialog .el-dialog__footer .el-button{flex:1;height:100%;text-align:center;font-size:36px;border-radius:0}.nb-dialog.el-dialog .el-dialog__footer .el-button+.el-button{margin:0;border-radius:0 0 16px}.nb-dialog.el-dialog.is-fullscreen{border-radius:0}.el-dialog__wrapper[type=small] .nb-dialog.el-dialog{width:720px;height:520px}.el-dialog__wrapper[type=small] .nb-dialog.el-dialog .el-dialog__header{padding:36px 40px 0}.el-dialog__wrapper[type=small] .nb-dialog.el-dialog .el-dialog__header .el-dialog__title{font-size:36px;line-height:54px}.el-dialog__wrapper[type=small] .slot-title{margin:36px 40px 0}.el-dialog__wrapper[type=small] .slot-title .el-dialog__tips{font-size:36px}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog{width:1000px;height:640px;margin-top:50px!important}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog .el-dialog__header{padding:36px 40px 0}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog .el-dialog__header .el-dialog__title{font-size:28px;line-height:42px}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog .el-dialog__header--has-form{display:flex;align-items:center;justify-content:space-between;padding:18px 40px}.el-dialog__wrapper[type=medium] .el-dialog--center.el-dialog .el-dialog__header .el-dialog__title{font-size:36px;line-height:54px}.el-dialog__wrapper[type=medium] .slot-title{margin:36px 40px 0}.el-dialog__wrapper[type=medium] .slot-title .el-dialog__tips{font-size:36px}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog{width:1600px;height:900px;margin-top:90px!important}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog .el-dialog__header{padding:32px 24px 0}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog .el-dialog__header .el-dialog__title{font-size:28px;line-height:42px}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog .el-dialog__header--has-form{display:flex;align-items:center;justify-content:space-between;padding:18px 24px}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog .el-dialog__headerbtn{top:32px;right:24px}.el-dialog__wrapper[type=large] .el-dialog__footer>div{flex:1;padding:24px;font-size:32px;line-height:42px;display:flex;align-items:center;text-align:left}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text{color:#181D41}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text strong{margin-left:4px;font-size:50px;line-height:76px}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text i{font-size:24px;line-height:32px;color:rgba(24,29,65,.5)}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text b{margin-left:4px;font-size:28px;line-height:42px;color:#181D41}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text--danger strong{color:#E52D3E}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text--success strong{color:#00A572}.el-dialog__wrapper[type=large] .el-dialog__footer>div~.el-button{min-width:400px;flex:inherit}.el-dialog__wrapper[type=large] .el-dialog--center.el-dialog .el-dialog__header .el-dialog__title{font-size:36px;line-height:54px}.el-dialog__wrapper[type=large] .slot-title{margin:32px 24px 0}.nb-pagination.el-pagination .btn-next,.nb-pagination.el-pagination .number+.number{margin-left:16px}.el-dialog__wrapper[type=large] .slot-title .el-dialog__tips{font-size:28px}.el-dialog.is-fullscreen{border-radius:0;box-shadow:none}.el-dialog__wrapper[body-bg-color] .el-dialog__body{background-color:#ECF0F5}.el-dialog__wrapper[dialog-center=true] .el-dialog,.el-dialog__wrapper[dialog-center] .el-dialog{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-top:0!important}.el-dialog__wrapper[title-padding-bottom][type=large] .el-dialog__header{padding-bottom:32px}.el-dialog__wrapper[title-padding-bottom][type=medium] .el-dialog__header,.el-dialog__wrapper[title-padding-bottom][type=small] .el-dialog__header{padding-bottom:36px}.el-dialog__wrapper[title-center] .el-dialog__header{text-align:center}.el-dialog__wrapper[header-shadow] .el-dialog__header{box-shadow:0 2px 4px 0 rgba(0,0,0,.1)}.el-dialog__wrapper[title-error] .el-dialog__title{color:#E52D3E}.el-dialog__wrapper[title-warning] .el-dialog__title{color:#F98900}.el-dialog__wrapper[title-success] .el-dialog__title{color:#00A572}.el-dialog__wrapper[body-padding] .el-dialog__body{padding:24px;box-sizing:border-box}.el-dialog__wrapper[body-flex-column-center] .el-dialog__body{display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-pagination.el-pagination{padding:0;box-sizing:border-box;font-weight:400}.nb-pagination.el-pagination .el-pager li,.nb-pagination.el-pagination button{font-size:24px;line-height:64px;min-width:64px;height:64px}.nb-pagination.el-pagination .el-pager li.active+li{border-left:1px solid #CAD0E0}.nb-pagination.el-pagination li.active{background:linear-gradient(180deg,#3385E6 0,#0066E0 100%);box-shadow:0 1px 6px 0 rgba(24,29,65,.12);color:#FFF;border:none}.nb-pagination.el-pagination .btn-next,.nb-pagination.el-pagination .btn-prev,.nb-pagination.el-pagination .number{background:linear-gradient(180deg,#FFF 0,#F4F6F9 100%);box-shadow:0 1px 6px 0 rgba(24,29,65,.12);border-radius:8px;border:1px solid #CAD0E0;box-sizing:border-box}.nb-pagination.el-pagination .btn-prev{margin-right:16px}.nb-pagination.el-pagination .btn-prev .el-icon{font-size:32px;font-weight:400}.nb-pagination.el-pagination .btn-next .el-icon{font-size:32px}.nb-pagination.el-pagination .btn-next:disabled,.nb-pagination.el-pagination .btn-prev:disabled{background:#CAD0E0;box-shadow:none;border:none}.nb-empty,.nb-summary-bar{background-color:transparent}.nb-pagination.el-pagination .el-pager li.btn-quicknext,.nb-pagination.el-pagination .el-pager li.btn-quickprev{color:rgba(24,29,65,.7);padding-top:0}.nb-pagination.el-pagination .nb-pagination--right{text-align:right}.nb-pagination.el-pagination .nb-pagination--center{text-align:center}.nb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-empty--center{width:100%;height:100%}.nb-empty__text{line-height:1.5;text-align:center;font-weight:400}.nb-empty__tips{font-size:24px;color:#00A572;text-align:center;line-height:36px}.nb-empty__buttons{display:flex;align-items:center;margin-top:24px}.nb-empty__buttons .el-button+.el-button{margin-left:20px}.nb-empty>.el-button{margin-top:24px}.nb-empty--large .nb-empty__icon{width:500px;height:500px}.nb-empty--large .nb-empty__text{font-size:32px;line-height:48px}.nb-empty--large .nb-empty__tips,.nb-empty--small .nb-empty__text,.nb-empty--small .nb-empty__tips{font-size:24px}.nb-empty--small .nb-empty__icon{width:300px;height:300px}.nb-summary-bar{width:100%;padding:24px;box-sizing:border-box;overflow:hidden}.nb-summary-bar__icon,.nb-summary-bar__icon.svg-icon{width:80px;height:80px;margin-right:20px;flex-shrink:0}.nb-summary-bar__text{font-size:28px;line-height:42px;display:inline-flex;align-items:center}.nb-summary-bar__text i{white-space:nowrap;color:rgba(24,29,65,.7)}.nb-summary-bar__text strong{font-size:50px;margin:0 4px;font-weight:400;white-space:nowrap}.nb-summary-bar__link{color:#0066E0;font-size:24px;line-height:36px;white-space:nowrap;margin-left:16px;cursor:pointer}.nb-summary-bar__text+.nb-summary-bar__text{margin-left:16px}.nb-summary-bar--loading .nb-summary-bar__text{color:#181D41}.nb-summary-bar--error .nb-summary-bar__text{color:#E52D3E}.nb-summary-bar--info .nb-summary-bar__text,.nb-summary-bar--success .nb-summary-bar__text{color:rgba(24,29,65,.7)}.nb-summary-bar--info .nb-summary-bar__text strong,.nb-summary-bar--success .nb-summary-bar__text strong,.nb-summary-bar--tips{color:#00A572}.nb-summary-bar .nb-summary-bar-container{height:112px;padding:0 24px;background:#fff;box-shadow:0 6px 18px 0 rgba(24,29,65,.18);border-radius:16px;display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;overflow:hidden}.nb-summary-bar .nb-summary-bar__left{flex:1;display:flex;align-items:center;overflow:hidden}.nb-summary-bar .nb-summary-bar__left .text-item{text-align:left;width:min-content}.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text{margin-left:0}.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text strong{font-size:32px}.nb-summary-bar .nb-summary-bar__left .text-item+.text-item{margin-left:32px}.nb-summary-bar .nb-summary-bar__right{display:flex;align-items:center;flex-shrink:0}.nb-summary-bar .nb-summary-bar__right .el-button{margin-left:24px}.nb-summary-bar--bottom{position:absolute;left:0;right:0;bottom:0;z-index:99}.nb-summary-bar--full{padding:24px 0 0}.nb-summary-bar--full .nb-summary-bar-container{box-shadow:0 4 40px 0 rgba(24,29,65,.08),0 2 28px 0 rgba(24,29,65,.1),0 0 10px 0 rgba(24,29,65,.08);border-radius:16px 16px 0 0}.nb-header{width:100%;height:80px;background-color:#181D41;display:flex;align-items:center;justify-content:space-between;overflow-y:hidden;overflow-x:auto;color:#fff;overflow:hidden;font-size:32px;line-height:42px;position:relative}.nb-header .nb-header__back .nb-icon::before,.nb-header .nb-header__logout .nb-icon::before{font-size:40px}.nb-header .nb-header__back{padding:0 36px 0 32px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__back .svg-icon{width:40px;height:40px;margin-right:4px}.nb-header .nb-header__back .nb-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__back__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__logout{padding:0 32px 0 34px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__logout .nb-icon,.nb-header .nb-header__logout .svg-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__logout__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__tabs,.nb-header .nb-header__title{height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.nb-header .nb-header__title{width:fit-content;text-align:center;font-size:32px;line-height:42px;font-family:OPPOSans B,OPPOSans-B,OPPOSans;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__tabs{display:flex;align-items:center;justify-content:center;padding:0;margin:0}.nb-header .nb-header__tabs .nb-header__tab{height:100%;padding:0;margin:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.nb-header .nb-header__tabs .nb-header__tab__text{height:48px;display:flex;flex-direction:column;justify-content:center;background-color:#0f377a}.nb-header .nb-header__tabs .nb-header__tab__text span{padding:0 30px;min-width:200px;height:48px;text-align:center;font-size:28px;line-height:48px;box-sizing:border-box;position:relative}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge{display:inline-block;vertical-align:inherit;font-family:inherit}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge .el-badge__content.is-fixed{top:4px!important;right:4px;z-index:1}.nb-header .nb-header__tabs .nb-header__tab--active .nb-header__tab__text span{background-color:#0066E0;border-radius:24px!important}.nb-header .nb-header__tabs .nb-header__tab--disabled{cursor:not-allowed}.nb-header .nb-header__tabs .nb-header__tab--disabled .nb-header__tab__text span{background-color:#122e67;color:rgba(255,255,255,.2)}.nb-header .nb-header__tabs .nb-header__tab--import .nb-header__tab__text span{color:#f98900;font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__tabs .nb-header__tab:first-child .nb-header__tab__text{border-radius:24px 0 0 24px}.nb-header .nb-header__tabs .nb-header__tab:last-child .nb-header__tab__text{border-radius:0 24px 24px 0}.nb-header .nb-header__left{flex:auto}.nb-header .nb-header__right{flex:auto;display:inline-flex;align-items:center;justify-content:flex-end}.nb-header .nb-header__right .nb-header__btn{padding:0 32px 0 10px;height:100%;display:inline-flex;align-items:center;justify-content:center}.nb-header .nb-header__right .nb-header__btn .nb-icon{width:40px;height:40px;font-size:40px;margin-right:10px}.nb-header .nb-header__right .nb-header__btn__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-form-dialog.el-dialog .el-dialog__body{padding:0 40px;box-sizing:border-box;overflow-x:hidden;overflow-y:auto}.nb-form-dialog.el-dialog .form-header{width:100%;margin-bottom:40px;text-align:center}.nb-form-dialog.el-dialog .form-header__title{font-size:40px;line-height:56px}.nb-form-dialog.el-dialog .form-header__message{margin-top:10px;font-size:28px;line-height:42px;color:rgba(24,29,65,.5)}.nb-form-dialog.el-dialog .form-header__tips{margin-top:10px;font-size:28px;line-height:42px;color:#00A572}.nb-form-dialog.el-dialog .form-drug{width:100%;margin-top:20px;margin-bottom:40px;text-align:left}.nb-form-dialog.el-dialog .form-drug__name{font-size:40px;line-height:56px}.nb-form-dialog.el-dialog .form-drug__spec{margin-top:10px;font-size:28px;line-height:42px}.nb-form-dialog.el-dialog .form-drug__spec i{color:rgba(24,29,65,.5);margin-right:8px}.nb-form-dialog.el-dialog .el-form{width:100%}.nb-form-dialog.el-dialog .el-form[hidden-label]{width:auto}.nb-form-dialog.el-dialog.el-dialog--center .el-dialog__body{display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-form-dialog.el-dialog .el-radio-group{padding:12px 0}
|
1
|
+
@charset "UTF-8";.nb-notify,.nb-tag{display:inline-flex}html{font-size:.8333333333vw}.color-danger,.danger-color{color:#E52D3E!important}.color-success{color:#00A572!important}.color-primary,.primary-color{color:#0066E0!important}.nb-tag{height:32px;padding:0 8px;border-radius:16px;font-size:20px;line-height:32px;align-items:center;justify-content:center;white-space:nowrap;background-color:#CCE0F9;color:#0066E0}.nb-tag.nb-tag--fill{background-color:#0066E0;color:#fff}.nb-tag--success{background-color:#CCEDE3;color:#00A572}.nb-tag--success.nb-tag--fill{background-color:#00A572;color:#fff}.nb-tag--danger{background-color:#FAD5D8;color:#E52D3E}.nb-tag--danger.nb-tag--fill{background-color:#E52D3E;color:#fff}.nb-tag--warning{background-color:#FEE7CC;color:#F98900}.nb-tag--warning.nb-tag--fill{background-color:#F98900;color:#fff}.nb-tag--large{height:36px;padding:0 12px;border-radius:18px;font-size:24px;line-height:36px}.nb-notify{width:auto;max-width:80%;padding:31px 40px;border-width:2px;border-style:solid;border-radius:8px;position:fixed;left:50%;transform:translate(-50%);align-items:center;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s}.nb-notify__icon{font-size:50px;margin-right:8px}.nb-notify__message{font-size:40px;line-height:56px;margin-top:0;color:#181D41;word-break:break-word}.nb-notify--success{border-color:#7FD2B8;background-color:#F0FBFA}.nb-notify--success .nb-notify__icon{color:#00A572}.nb-notify--error{border-color:#F2969E;background-color:#FDF4F5}.nb-notify--error .nb-notify__icon{color:#E52D3E}.nb-notify--warning{border-color:#FCC47F;background-color:#FEF9F2}.nb-notify--warning .nb-notify__icon{color:#F98900}.el-notification-fade-enter.right{right:0;transform:translateX(100%)}.el-notification-fade-enter.left{left:0;transform:translateX(-100%)}.el-notification-fade-leave-active{opacity:0}.nb-dialog.el-dialog{border-radius:16px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;margin-bottom:0}.nb-dialog.el-dialog .el-dialog__header .el-dialog__title{line-height:1.5}.nb-dialog.el-dialog .el-dialog__header .el-dialog__headerbtn{font-size:40px;color:#8B8EA0;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.nb-dialog.el-dialog[aria-label=dialog] .el-dialog__header{padding:0!important}.nb-dialog.el-dialog .slot-title .el-dialog__tips{font-size:28px;line-height:1.5}.nb-dialog.el-dialog .slot-title .el-dialog__tips--danger{color:#E52D3E}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__tips,.nb-dialog.el-dialog .slot-title .el-dialog__tips--success{color:#00A572}.nb-dialog.el-dialog .el-dialog__body{flex:1;padding:0;color:#181D41;overflow-y:auto;overflow-x:hidden}.nb-dialog.el-dialog .el-dialog__footer{width:100%;height:100px;padding:0;display:flex;overflow:hidden;background:#FFF;box-shadow:0 -6px 16px 0 rgba(24,29,65,.08);position:relative}.nb-dialog.el-dialog .el-dialog__footer::after{content:"";position:absolute;left:0;right:0;top:0;background-color:#CAD0E0;height:1px}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog .el-dialog__headerbtn,.el-dialog__wrapper[type=small] .nb-dialog.el-dialog .el-dialog__headerbtn{top:40px;right:40px}.nb-dialog.el-dialog .el-dialog__footer .el-button{flex:1;height:100%;text-align:center;font-size:36px;border-radius:0}.nb-dialog.el-dialog .el-dialog__footer .el-button+.el-button{margin:0;border-radius:0 0 16px}.nb-dialog.el-dialog.is-fullscreen{border-radius:0}.el-dialog__wrapper[type=small] .nb-dialog.el-dialog{width:720px;height:520px}.el-dialog__wrapper[type=small] .nb-dialog.el-dialog .el-dialog__header{padding:36px 40px 0}.el-dialog__wrapper[type=small] .nb-dialog.el-dialog .el-dialog__header .el-dialog__title{font-size:36px;line-height:54px}.el-dialog__wrapper[type=small] .slot-title{margin:36px 40px 0}.el-dialog__wrapper[type=small] .slot-title .el-dialog__tips{font-size:36px}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog{width:1000px;height:640px;margin-top:50px!important}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog .el-dialog__header{padding:36px 40px 0}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog .el-dialog__header .el-dialog__title{font-size:28px;line-height:42px}.el-dialog__wrapper[type=medium] .nb-dialog.el-dialog .el-dialog__header--has-form{display:flex;align-items:center;justify-content:space-between;padding:18px 40px}.el-dialog__wrapper[type=medium] .el-dialog--center.el-dialog .el-dialog__header .el-dialog__title{font-size:36px;line-height:54px}.el-dialog__wrapper[type=medium] .slot-title{margin:36px 40px 0}.el-dialog__wrapper[type=medium] .slot-title .el-dialog__tips{font-size:36px}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog{width:1600px;height:900px;margin-top:90px!important}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog .el-dialog__header{padding:32px 24px 0}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog .el-dialog__header .el-dialog__title{font-size:28px;line-height:42px}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog .el-dialog__header--has-form{display:flex;align-items:center;justify-content:space-between;padding:18px 24px}.el-dialog__wrapper[type=large] .nb-dialog.el-dialog .el-dialog__headerbtn{top:32px;right:24px}.el-dialog__wrapper[type=large] .el-dialog__footer>div{flex:1;padding:24px;font-size:32px;line-height:42px;display:flex;align-items:center;text-align:left}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text{color:#181D41}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text strong{margin-left:4px;font-size:50px;line-height:76px}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text i{font-size:24px;line-height:32px;color:rgba(24,29,65,.5)}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text b{margin-left:4px;font-size:28px;line-height:42px;color:#181D41}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text--danger strong{color:#E52D3E}.el-dialog__wrapper[type=large] .el-dialog__footer>div.footer__text--success strong{color:#00A572}.el-dialog__wrapper[type=large] .el-dialog__footer>div~.el-button{min-width:400px;flex:inherit}.el-dialog__wrapper[type=large] .el-dialog--center.el-dialog .el-dialog__header .el-dialog__title{font-size:36px;line-height:54px}.el-dialog__wrapper[type=large] .slot-title{margin:32px 24px 0}.nb-pagination.el-pagination .btn-next,.nb-pagination.el-pagination .number+.number{margin-left:16px}.el-dialog__wrapper[type=large] .slot-title .el-dialog__tips{font-size:28px}.el-dialog.is-fullscreen{border-radius:0;box-shadow:none}.el-dialog__wrapper[body-bg-color] .el-dialog__body{background-color:#ECF0F5}.el-dialog__wrapper[dialog-center=true] .el-dialog,.el-dialog__wrapper[dialog-center] .el-dialog{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-top:0!important}.el-dialog__wrapper[title-padding-bottom][type=large] .el-dialog__header{padding-bottom:32px}.el-dialog__wrapper[title-padding-bottom][type=medium] .el-dialog__header,.el-dialog__wrapper[title-padding-bottom][type=small] .el-dialog__header{padding-bottom:36px}.el-dialog__wrapper[title-center] .el-dialog__header{text-align:center}.el-dialog__wrapper[header-shadow] .el-dialog__header{box-shadow:0 2px 4px 0 rgba(0,0,0,.1)}.el-dialog__wrapper[title-error] .el-dialog__title{color:#E52D3E}.el-dialog__wrapper[title-warning] .el-dialog__title{color:#F98900}.el-dialog__wrapper[title-success] .el-dialog__title{color:#00A572}.el-dialog__wrapper[body-padding] .el-dialog__body{padding:24px;box-sizing:border-box}.el-dialog__wrapper[body-flex-column-center] .el-dialog__body{display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-pagination.el-pagination{padding:0;box-sizing:border-box;font-weight:400}.nb-pagination.el-pagination .el-pager li,.nb-pagination.el-pagination button{font-size:24px;line-height:64px;min-width:64px;height:64px}.nb-pagination.el-pagination .el-pager li.active+li{border-left:1px solid #CAD0E0}.nb-pagination.el-pagination li.active{background:linear-gradient(180deg,#3385E6 0,#0066E0 100%);box-shadow:0 1px 6px 0 rgba(24,29,65,.12);color:#FFF;border:none}.nb-pagination.el-pagination .btn-next,.nb-pagination.el-pagination .btn-prev,.nb-pagination.el-pagination .number{background:linear-gradient(180deg,#FFF 0,#F4F6F9 100%);box-shadow:0 1px 6px 0 rgba(24,29,65,.12);border-radius:8px;border:1px solid #CAD0E0;box-sizing:border-box}.nb-pagination.el-pagination .btn-prev{margin-right:16px}.nb-pagination.el-pagination .btn-prev .el-icon{font-size:32px;font-weight:400}.nb-pagination.el-pagination .btn-next .el-icon{font-size:32px}.nb-pagination.el-pagination .btn-next:disabled,.nb-pagination.el-pagination .btn-prev:disabled{background:#CAD0E0;box-shadow:none;border:none}.nb-empty,.nb-summary-bar{background-color:transparent}.nb-pagination.el-pagination .el-pager li.btn-quicknext,.nb-pagination.el-pagination .el-pager li.btn-quickprev{color:rgba(24,29,65,.7);padding-top:0}.nb-pagination.el-pagination .nb-pagination--right{text-align:right}.nb-pagination.el-pagination .nb-pagination--center{text-align:center}.nb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-empty--center{width:100%;height:100%}.nb-empty__text{line-height:1.5;text-align:center;font-weight:400}.nb-empty__tips{font-size:24px;color:#00A572;text-align:center;line-height:36px}.nb-empty__buttons{display:flex;align-items:center;margin-top:24px}.nb-empty__buttons .el-button+.el-button{margin-left:20px}.nb-empty>.el-button{margin-top:24px}.nb-empty--large .nb-empty__icon{width:500px;height:500px}.nb-empty--large .nb-empty__text{font-size:32px;line-height:48px}.nb-empty--large .nb-empty__tips,.nb-empty--small .nb-empty__text,.nb-empty--small .nb-empty__tips{font-size:24px}.nb-empty--small .nb-empty__icon{width:300px;height:300px}.nb-summary-bar{width:100%;padding:24px;box-sizing:border-box;overflow:hidden}.nb-summary-bar__icon,.nb-summary-bar__icon.svg-icon{width:80px;height:80px;margin-right:20px;flex-shrink:0}.nb-summary-bar__text{font-size:28px;line-height:42px;display:inline-flex;align-items:center}.nb-summary-bar__text i{white-space:nowrap;color:rgba(24,29,65,.7)}.nb-summary-bar__text strong{font-size:50px;margin:0 4px;font-weight:400;white-space:nowrap}.nb-summary-bar__link{color:#0066E0;font-size:24px;line-height:36px;white-space:nowrap;margin-left:16px;cursor:pointer}.nb-summary-bar__text+.nb-summary-bar__text{margin-left:16px}.nb-summary-bar--loading .nb-summary-bar__text{color:#181D41}.nb-summary-bar--error .nb-summary-bar__text{color:#E52D3E}.nb-summary-bar--info .nb-summary-bar__text,.nb-summary-bar--success .nb-summary-bar__text{color:rgba(24,29,65,.7)}.nb-summary-bar--info .nb-summary-bar__text strong,.nb-summary-bar--success .nb-summary-bar__text strong,.nb-summary-bar--tips{color:#00A572}.nb-summary-bar .nb-summary-bar-container{height:112px;padding:0 24px;background:#fff;box-shadow:0 6px 18px 0 rgba(24,29,65,.18);border-radius:16px;display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;overflow:hidden}.nb-summary-bar .nb-summary-bar__left{flex:1;display:flex;align-items:center;overflow:hidden}.nb-summary-bar .nb-summary-bar__left .text-item{text-align:left;width:min-content}.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text{margin-left:0}.nb-summary-bar .nb-summary-bar__left .text-item .nb-summary-bar__text strong{font-size:32px}.nb-summary-bar .nb-summary-bar__left .text-item+.text-item{margin-left:32px}.nb-summary-bar .nb-summary-bar__right{display:flex;align-items:center;flex-shrink:0}.nb-summary-bar .nb-summary-bar__right .el-button{margin-left:24px}.nb-summary-bar--bottom{position:absolute;left:0;right:0;bottom:0;z-index:99}.nb-summary-bar--full{padding:24px 0 0}.nb-summary-bar--full .nb-summary-bar-container{box-shadow:0 4 40px 0 rgba(24,29,65,.08),0 2 28px 0 rgba(24,29,65,.1),0 0 10px 0 rgba(24,29,65,.08);border-radius:16px 16px 0 0}.nb-header{width:100%;height:80px;background-color:#181D41;display:flex;align-items:center;justify-content:space-between;overflow-y:hidden;overflow-x:auto;color:#fff;overflow:hidden;font-size:32px;line-height:42px;position:relative}.nb-header .nb-header__back .nb-icon::before,.nb-header .nb-header__logout .nb-icon::before{font-size:40px}.nb-header .nb-header__back{padding:0 36px 0 32px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__back .svg-icon{width:40px;height:40px;margin-right:4px}.nb-header .nb-header__back .nb-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__back__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__logout{padding:0 32px 0 34px;height:100%;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__logout .nb-icon,.nb-header .nb-header__logout .svg-icon{width:40px;height:40px;margin-right:10px}.nb-header .nb-header__logout__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__tabs,.nb-header .nb-header__title{height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.nb-header .nb-header__title{width:fit-content;text-align:center;font-size:32px;line-height:42px;font-family:OPPOSans B,OPPOSans-B,OPPOSans;display:flex;align-items:center;justify-content:center}.nb-header .nb-header__tabs{display:flex;align-items:center;justify-content:center;padding:0;margin:0}.nb-header .nb-header__tabs .nb-header__tab{height:100%;padding:0;margin:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.nb-header .nb-header__tabs .nb-header__tab__text{height:48px;display:flex;flex-direction:column;justify-content:center;background-color:#0f377a}.nb-header .nb-header__tabs .nb-header__tab__text span{padding:0 30px;min-width:200px;height:48px;text-align:center;font-size:28px;line-height:48px;box-sizing:border-box;position:relative}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge{display:inline-block;vertical-align:inherit;font-family:inherit}.nb-header .nb-header__tabs .nb-header__tab__text .el-badge .el-badge__content.is-fixed{top:4px!important;right:4px;z-index:1}.nb-header .nb-header__tabs .nb-header__tab--active .nb-header__tab__text span{background-color:#0066E0;border-radius:24px!important}.nb-header .nb-header__tabs .nb-header__tab--disabled{cursor:not-allowed}.nb-header .nb-header__tabs .nb-header__tab--disabled .nb-header__tab__text span{background-color:#122e67;color:rgba(255,255,255,.2)}.nb-header .nb-header__tabs .nb-header__tab--import .nb-header__tab__text span{color:#f98900;font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-header .nb-header__tabs .nb-header__tab:first-child .nb-header__tab__text{border-radius:24px 0 0 24px}.nb-header .nb-header__tabs .nb-header__tab:last-child .nb-header__tab__text{border-radius:0 24px 24px 0}.nb-header .nb-header__left{flex:auto}.nb-header .nb-header__right{flex:auto;display:inline-flex;align-items:center;justify-content:flex-end}.nb-header .nb-header__right .nb-header__btn{padding:0 32px 0 10px;height:100%;display:inline-flex;align-items:center;justify-content:center}.nb-header .nb-header__right .nb-header__btn .nb-icon{width:40px;height:40px;font-size:40px;margin-right:10px}.nb-header .nb-header__right .nb-header__btn__text{font-family:OPPOSans B,OPPOSans-B,OPPOSans}.nb-form-dialog.el-dialog .el-dialog__body{padding:0 40px;box-sizing:border-box;overflow-x:hidden;overflow-y:auto}.nb-form-dialog.el-dialog .form-header{width:100%;margin-bottom:40px;text-align:center}.nb-form-dialog.el-dialog .form-header__title{font-size:40px;line-height:56px}.nb-form-dialog.el-dialog .form-header__message{margin-top:10px;font-size:28px;line-height:42px;color:rgba(24,29,65,.5)}.nb-form-dialog.el-dialog .form-header__tips{margin-top:10px;font-size:28px;line-height:42px;color:#00A572}.nb-form-dialog.el-dialog .form-drug{width:100%;margin-top:20px;margin-bottom:40px;text-align:left}.nb-form-dialog.el-dialog .form-drug__name{font-size:40px;line-height:56px}.nb-form-dialog.el-dialog .form-drug__spec{margin-top:10px;font-size:28px;line-height:42px}.nb-form-dialog.el-dialog .form-drug__spec i{color:rgba(24,29,65,.5);margin-right:8px}.nb-form-dialog.el-dialog .el-form{width:100%}.nb-form-dialog.el-dialog .el-form[hidden-label]{width:auto}.nb-form-dialog.el-dialog.el-dialog--center .el-dialog__body{display:flex;flex-direction:column;align-items:center;justify-content:center}.nb-form-dialog.el-dialog .el-radio-group{padding:12px 0}
|
package/nubomed-ui.common.js
CHANGED
@@ -159,7 +159,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".iconfont[data-v-1d7955de]{display:inl
|
|
159
159
|
|
160
160
|
/***/ }),
|
161
161
|
|
162
|
-
/***/
|
162
|
+
/***/ 8513:
|
163
163
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
164
164
|
|
165
165
|
"use strict";
|
@@ -173,7 +173,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
173
173
|
|
174
174
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
175
175
|
// Module
|
176
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".el-pagination--left[data-v-
|
176
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".el-pagination--left[data-v-7bbf5e3c]{text-align:left}.el-pagination--center[data-v-7bbf5e3c]{text-align:center}.el-pagination--right[data-v-7bbf5e3c]{text-align:right}", ""]);
|
177
177
|
// Exports
|
178
178
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
179
179
|
|
@@ -1487,19 +1487,19 @@ var update = add("1485bda7", content, true, {"sourceMap":false,"shadowMode":fals
|
|
1487
1487
|
|
1488
1488
|
/***/ }),
|
1489
1489
|
|
1490
|
-
/***/
|
1490
|
+
/***/ 7187:
|
1491
1491
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
1492
1492
|
|
1493
1493
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
1494
1494
|
|
1495
1495
|
// load the styles
|
1496
|
-
var content = __webpack_require__(
|
1496
|
+
var content = __webpack_require__(8513);
|
1497
1497
|
if(content.__esModule) content = content.default;
|
1498
1498
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
1499
1499
|
if(content.locals) module.exports = content.locals;
|
1500
1500
|
// add the styles to the DOM
|
1501
1501
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
1502
|
-
var update = add("
|
1502
|
+
var update = add("3f76f8d0", content, true, {"sourceMap":false,"shadowMode":false});
|
1503
1503
|
|
1504
1504
|
/***/ }),
|
1505
1505
|
|
@@ -4405,10 +4405,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
4405
4405
|
|
4406
4406
|
// EXPORTS
|
4407
4407
|
__webpack_require__.d(__webpack_exports__, {
|
4408
|
-
|
4409
|
-
"default": function() { return /* binding */ entry_lib; },
|
4410
|
-
i18n: function() { return /* reexport */ packages_i18n; },
|
4411
|
-
locale: function() { return /* reexport */ locale; }
|
4408
|
+
"default": function() { return /* binding */ entry_lib; }
|
4412
4409
|
});
|
4413
4410
|
|
4414
4411
|
;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
@@ -4569,7 +4566,7 @@ const i18n = function (fn) {
|
|
4569
4566
|
;// external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
4570
4567
|
var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
4571
4568
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject);
|
4572
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBNotify/src/index.vue?vue&type=template&id=
|
4569
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBNotify/src/index.vue?vue&type=template&id=7bbf5e3c&scoped=true
|
4573
4570
|
var render = function render() {
|
4574
4571
|
var _vm = this,
|
4575
4572
|
_c = _vm._self._c;
|
@@ -4584,7 +4581,7 @@ var render = function render() {
|
|
4584
4581
|
value: _vm.visible,
|
4585
4582
|
expression: "visible"
|
4586
4583
|
}],
|
4587
|
-
class: ['
|
4584
|
+
class: ['nb-notify', `nb-notify--${_vm.type}`],
|
4588
4585
|
style: _vm.positionStyle,
|
4589
4586
|
attrs: {
|
4590
4587
|
"role": "alert"
|
@@ -4598,77 +4595,50 @@ var render = function render() {
|
|
4598
4595
|
},
|
4599
4596
|
"click": _vm.click
|
4600
4597
|
}
|
4601
|
-
}, [_vm.type
|
4602
|
-
staticClass: "
|
4603
|
-
|
4604
|
-
|
4605
|
-
staticClass: "el-notification__group",
|
4606
|
-
class: {
|
4607
|
-
'is-with-icon': _vm.typeClass || _vm.iconClass
|
4598
|
+
}, [_vm.type === 'success' ? _c('nb-icon', {
|
4599
|
+
staticClass: "nb-notify__icon",
|
4600
|
+
attrs: {
|
4601
|
+
"icon": "circle-check-filled"
|
4608
4602
|
}
|
4609
|
-
},
|
4610
|
-
staticClass: "
|
4611
|
-
|
4612
|
-
"
|
4603
|
+
}) : _vm._e(), _vm.type === 'error' ? _c('nb-icon', {
|
4604
|
+
staticClass: "nb-notify__icon",
|
4605
|
+
attrs: {
|
4606
|
+
"icon": "circle-close-filled"
|
4613
4607
|
}
|
4614
|
-
}), _c('
|
4615
|
-
|
4616
|
-
|
4617
|
-
|
4618
|
-
value: _vm.message,
|
4619
|
-
expression: "message"
|
4620
|
-
}],
|
4621
|
-
staticClass: "el-notification__content"
|
4622
|
-
}, [_vm._t("default", function () {
|
4623
|
-
return [!_vm.dangerouslyUseHTMLString ? _c('p', [_vm._v(_vm._s(_vm.message))]) : _vm._e(), _c('p', {
|
4624
|
-
domProps: {
|
4625
|
-
"innerHTML": _vm._s(_vm.message)
|
4626
|
-
}
|
4627
|
-
})];
|
4628
|
-
})], 2), _vm.showClose ? _c('div', {
|
4629
|
-
staticClass: "el-notification__closeBtn el-icon-close",
|
4630
|
-
on: {
|
4631
|
-
"click": function ($event) {
|
4632
|
-
$event.stopPropagation();
|
4633
|
-
return _vm.close.apply(null, arguments);
|
4634
|
-
}
|
4608
|
+
}) : _vm._e(), _vm.type === 'warning' ? _c('nb-icon', {
|
4609
|
+
staticClass: "nb-notify__icon",
|
4610
|
+
attrs: {
|
4611
|
+
"icon": "warning-filled"
|
4635
4612
|
}
|
4636
|
-
}) : _vm._e()
|
4613
|
+
}) : _vm._e(), _c('div', {
|
4614
|
+
staticClass: "nb-notify__message",
|
4615
|
+
domProps: {
|
4616
|
+
"innerHTML": _vm._s(_vm.message)
|
4617
|
+
}
|
4618
|
+
})], 1)]);
|
4637
4619
|
};
|
4638
4620
|
var staticRenderFns = [];
|
4639
4621
|
|
4640
4622
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBNotify/src/index.vue?vue&type=script&lang=js
|
4641
|
-
let typeMap = {
|
4642
|
-
success: 'success',
|
4643
|
-
info: 'info',
|
4644
|
-
warning: 'warning',
|
4645
|
-
error: 'error'
|
4646
|
-
};
|
4647
4623
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
4648
4624
|
name: 'NBNotify',
|
4649
4625
|
data() {
|
4650
4626
|
return {
|
4651
4627
|
visible: false,
|
4652
|
-
title: '',
|
4653
4628
|
message: '',
|
4654
|
-
duration:
|
4629
|
+
duration: 3000,
|
4655
4630
|
type: '',
|
4656
4631
|
showClose: false,
|
4657
4632
|
customClass: '',
|
4658
|
-
iconClass: '',
|
4659
4633
|
onClose: null,
|
4660
4634
|
onClick: null,
|
4661
4635
|
closed: false,
|
4662
|
-
verticalOffset:
|
4636
|
+
verticalOffset: 248,
|
4663
4637
|
timer: null,
|
4664
|
-
dangerouslyUseHTMLString: true,
|
4665
4638
|
position: 'top-right'
|
4666
4639
|
};
|
4667
4640
|
},
|
4668
4641
|
computed: {
|
4669
|
-
typeClass() {
|
4670
|
-
return this.type && typeMap[this.type] ? `el-icon-${typeMap[this.type]}` : '';
|
4671
|
-
},
|
4672
4642
|
horizontalClass() {
|
4673
4643
|
return this.position.indexOf('right') > -1 ? 'right' : 'left';
|
4674
4644
|
},
|
@@ -4747,9 +4717,9 @@ let typeMap = {
|
|
4747
4717
|
});
|
4748
4718
|
;// ./packages/components/NBNotify/src/index.vue?vue&type=script&lang=js
|
4749
4719
|
/* harmony default export */ var NBNotify_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
4750
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBNotify/src/index.vue?vue&type=style&index=0&id=
|
4751
|
-
var
|
4752
|
-
;// ./packages/components/NBNotify/src/index.vue?vue&type=style&index=0&id=
|
4720
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBNotify/src/index.vue?vue&type=style&index=0&id=7bbf5e3c&prod&lang=scss&scoped=true
|
4721
|
+
var srcvue_type_style_index_0_id_7bbf5e3c_prod_lang_scss_scoped_true = __webpack_require__(7187);
|
4722
|
+
;// ./packages/components/NBNotify/src/index.vue?vue&type=style&index=0&id=7bbf5e3c&prod&lang=scss&scoped=true
|
4753
4723
|
|
4754
4724
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
4755
4725
|
var componentNormalizer = __webpack_require__(1656);
|
@@ -4768,7 +4738,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
4768
4738
|
staticRenderFns,
|
4769
4739
|
false,
|
4770
4740
|
null,
|
4771
|
-
"
|
4741
|
+
"7bbf5e3c",
|
4772
4742
|
null
|
4773
4743
|
|
4774
4744
|
)
|
@@ -4781,7 +4751,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
4781
4751
|
/*
|
4782
4752
|
* @Author: chenghuan.dong
|
4783
4753
|
* @Date: 2024-11-14 09:44:58
|
4784
|
-
* @LastEditTime: 2024-11-14
|
4754
|
+
* @LastEditTime: 2024-11-14 14:03:08
|
4785
4755
|
* @LastEditors: chenghuan.dong
|
4786
4756
|
* @Description:
|
4787
4757
|
* @FilePath: \nubomed-ui\packages\components\NBNotify\src\notify.js
|
@@ -4795,7 +4765,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
4795
4765
|
let instance;
|
4796
4766
|
let instances = [];
|
4797
4767
|
let seed = 1;
|
4798
|
-
const
|
4768
|
+
const Notify = function (options) {
|
4799
4769
|
console.log('Vue', (external_commonjs_vue_commonjs2_vue_root_Vue_default()));
|
4800
4770
|
if (!(external_commonjs_vue_commonjs2_vue_root_Vue_default())) {
|
4801
4771
|
return;
|
@@ -4806,14 +4776,13 @@ const Notification = function (options) {
|
|
4806
4776
|
const id = 'notification_' + seed++;
|
4807
4777
|
const position = options.position || 'top-right';
|
4808
4778
|
options.onClose = function () {
|
4809
|
-
|
4779
|
+
Notify.close(id, userOnClose);
|
4810
4780
|
};
|
4811
4781
|
const NotificationConstructor = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend(NBNotify_src);
|
4812
4782
|
instance = new NotificationConstructor({
|
4813
4783
|
data: options
|
4814
4784
|
});
|
4815
4785
|
instance.$slots.default = [options.message];
|
4816
|
-
options.message = 'REPLACED_BY_VNODE';
|
4817
4786
|
instance.id = id;
|
4818
4787
|
instance.$mount();
|
4819
4788
|
document.body.appendChild(instance.$el);
|
@@ -4821,7 +4790,7 @@ const Notification = function (options) {
|
|
4821
4790
|
instance.dom = instance.$el;
|
4822
4791
|
// instance.dom.style.zIndex = PopupManager.nextZIndex()
|
4823
4792
|
|
4824
|
-
let verticalOffset = options.offset ||
|
4793
|
+
let verticalOffset = options.offset || 248;
|
4825
4794
|
instances.filter(item => item.position === position).forEach(item => {
|
4826
4795
|
verticalOffset += item.$el.offsetHeight + 16;
|
4827
4796
|
});
|
@@ -4831,17 +4800,17 @@ const Notification = function (options) {
|
|
4831
4800
|
return instance;
|
4832
4801
|
};
|
4833
4802
|
['success', 'warning', 'info', 'error'].forEach(type => {
|
4834
|
-
|
4803
|
+
Notify[type] = options => {
|
4835
4804
|
if (typeof options === 'string') {
|
4836
4805
|
options = {
|
4837
4806
|
message: options
|
4838
4807
|
};
|
4839
4808
|
}
|
4840
4809
|
options.type = type;
|
4841
|
-
return
|
4810
|
+
return Notify(options);
|
4842
4811
|
};
|
4843
4812
|
});
|
4844
|
-
|
4813
|
+
Notify.close = function (id, userOnClose) {
|
4845
4814
|
let index = -1;
|
4846
4815
|
const len = instances.length;
|
4847
4816
|
const instance = instances.filter((instance, i) => {
|
@@ -4865,12 +4834,12 @@ Notification.close = function (id, userOnClose) {
|
|
4865
4834
|
}
|
4866
4835
|
}
|
4867
4836
|
};
|
4868
|
-
|
4837
|
+
Notify.closeAll = function () {
|
4869
4838
|
for (let i = instances.length - 1; i >= 0; i--) {
|
4870
4839
|
instances[i].close();
|
4871
4840
|
}
|
4872
4841
|
};
|
4873
|
-
/* harmony default export */ var notify = (
|
4842
|
+
/* harmony default export */ var notify = (Notify);
|
4874
4843
|
// EXTERNAL MODULE: ./packages/iconfont/iconfont.css
|
4875
4844
|
var iconfont = __webpack_require__(1970);
|
4876
4845
|
;// ./packages/index.js
|
@@ -4880,7 +4849,7 @@ var iconfont = __webpack_require__(1970);
|
|
4880
4849
|
/*
|
4881
4850
|
* @Author: chenghuan.dong
|
4882
4851
|
* @Date: 2024-11-08 17:23:47
|
4883
|
-
* @LastEditTime: 2024-11-14
|
4852
|
+
* @LastEditTime: 2024-11-14 14:00:53
|
4884
4853
|
* @LastEditors: chenghuan.dong
|
4885
4854
|
* @Description: 主index.js导出全部组件
|
4886
4855
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -4899,63 +4868,41 @@ const req = __webpack_require__(3798);
|
|
4899
4868
|
req.keys().forEach(v => {
|
4900
4869
|
components.push(req(v).default);
|
4901
4870
|
});
|
4902
|
-
console.log('components', components);
|
4903
4871
|
const install = function (Vue, options = {}) {
|
4904
4872
|
//设置多语言
|
4905
4873
|
locale.use(options.locale);
|
4906
4874
|
locale.i18n(options.i18n);
|
4875
|
+
|
4907
4876
|
// 组件
|
4908
4877
|
if (install.installed) return;
|
4909
4878
|
components.forEach(component => {
|
4910
4879
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
4911
|
-
const installNames = ['nb-icon', 'nb-tag', 'nb-empty', 'nb-header', 'nb-summary-bar', 'nb-pagination'];
|
4912
|
-
|
4880
|
+
const installNames = ['nb-icon', 'nb-tag', 'nb-empty', 'nb-header', 'nb-summary-bar', 'nb-pagination'];
|
4881
|
+
if (installNames.includes(name)) {
|
4882
|
+
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
4883
|
+
} else {
|
4884
|
+
console.log('? ' + name);
|
4885
|
+
}
|
4913
4886
|
if (installNames.includes(name)) {
|
4914
|
-
Vue.component(name, component);
|
4887
|
+
Vue.component('nb-' + camelToKebab(component.name.slice(2)), component);
|
4915
4888
|
}
|
4916
4889
|
});
|
4890
|
+
|
4891
|
+
// 全局
|
4917
4892
|
Vue.prototype.$nbNotify = notify;
|
4918
4893
|
};
|
4919
|
-
const packages_i18n = locale.i18n;
|
4920
|
-
const API = {
|
4921
|
-
install
|
4922
|
-
};
|
4923
|
-
/* harmony default export */ var packages_0 = (API);
|
4924
|
-
|
4925
4894
|
|
4926
|
-
//
|
4927
|
-
//
|
4928
|
-
// locale.use(options.locale)
|
4929
|
-
// locale.i18n(options.i18n)
|
4930
|
-
|
4931
|
-
// // 组件
|
4932
|
-
// if (install.installed) return
|
4933
|
-
// components.forEach((component) => {
|
4934
|
-
// const name = 'nb-' + camelToKebab(component.name.slice(2))
|
4935
|
-
// const installNames = ['nb-icon', 'nb-tag', 'nb-empty', 'nb-header', 'nb-summary-bar', 'nb-pagination'] //
|
4936
|
-
// console.log((installNames.includes(name) ? '√ ' : '? ') + name)
|
4937
|
-
|
4938
|
-
// if (installNames.includes(name)) {
|
4939
|
-
// Vue.component('nb-' + camelToKebab(component.name.slice(2)), component)
|
4940
|
-
// }
|
4941
|
-
// })
|
4942
|
-
|
4943
|
-
// // 全局
|
4944
|
-
// Vue.prototype.$nbNotify = nbNotify
|
4895
|
+
// if (typeof window !== 'undefined' && window.Vue) {
|
4896
|
+
// install(window.Vue)
|
4945
4897
|
// }
|
4946
4898
|
|
4947
|
-
|
4948
|
-
|
4949
|
-
|
4950
|
-
|
4951
|
-
|
4952
|
-
|
4953
|
-
|
4954
|
-
// install,
|
4955
|
-
// ...components,
|
4956
|
-
// locale,
|
4957
|
-
// i18n
|
4958
|
-
// }
|
4899
|
+
const packages_i18n = locale.i18n;
|
4900
|
+
/* harmony default export */ var packages_0 = ({
|
4901
|
+
install,
|
4902
|
+
...components,
|
4903
|
+
locale: locale,
|
4904
|
+
i18n: packages_i18n
|
4905
|
+
});
|
4959
4906
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
4960
4907
|
|
4961
4908
|
|