bj-web-components 0.2.13 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export { }
@@ -0,0 +1 @@
1
+ export { }
@@ -0,0 +1 @@
1
+ export { }
@@ -0,0 +1 @@
1
+ export { }
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .bu-icon{width:1em;height:1em;overflow:hidden;vertical-align:-.15em;fill:currentColor}.tooltip-wrapper{position:relative;display:inline-block}.tooltip-popup{position:absolute;z-index:1000;background:#fff;border-radius:6px;box-shadow:0 4px 16px #0000001f;border:1px solid #e5e7eb;min-width:200px;max-width:280px;padding:16px}.tooltip-popup--top{bottom:calc(100% + 16px);left:50%;transform:translate(-50%)}.tooltip-popup--topLeft{bottom:calc(100% + 16px);left:0}.tooltip-popup--topRight{bottom:calc(100% + 16px);right:0}.tooltip-popup--bottom{top:calc(100% + 16px);left:50%;transform:translate(-50%)}.tooltip-popup--bottomLeft{top:calc(100% + 16px);left:0}.tooltip-popup--bottomRight{top:calc(100% + 16px);right:0}.tooltip-popup--left{right:calc(100% + 16px);top:50%;transform:translateY(-50%)}.tooltip-popup--leftTop{right:calc(100% + 16px);top:0}.tooltip-popup--leftBottom{right:calc(100% + 16px);bottom:0}.tooltip-popup--right{left:calc(100% + 16px);top:50%;transform:translateY(-50%)}.tooltip-popup--rightTop{left:calc(100% + 16px);top:0}.tooltip-popup--rightBottom{left:calc(100% + 16px);bottom:0}.tooltip-popup--light{box-shadow:0 2px 6px #0000000f}.tooltip-popup--bordered{border-color:#ebebeb;box-shadow:0 2px 8px #00000014}.tooltip-popup--tinted{background:#f5f3ff;border-color:#ddd6fe;box-shadow:0 2px 8px #8b5cf61a}.tooltip-popup--content{width:max-content;min-width:30px;min-height:32px;padding:24px;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;text-align:center;box-shadow:0 0 12px #00000014}.tooltip-popup--content .bu-tooltip-content__text{color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px}.tooltip-arrow{position:absolute;width:14px;height:14px;background:#fff;transform:rotate(45deg)}.tooltip-arrow--top{bottom:-8px;left:50%;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;border-radius:0 0 2px;transform:translate(-50%) rotate(45deg)}.tooltip-arrow--topLeft{bottom:-8px;left:16px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;border-radius:0 0 2px}.tooltip-arrow--topRight{bottom:-8px;right:16px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;border-radius:0 0 2px}.tooltip-arrow--bottom{top:-8px;left:calc(50% - 8px);border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;border-radius:2px 0 0}.tooltip-arrow--bottomLeft{top:-8px;left:16px;border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;border-radius:2px 0 0}.tooltip-arrow--bottomRight{top:-8px;right:16px;border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;border-radius:2px 0 0}.tooltip-arrow--left{right:-8px;top:calc(50% - 8px);border-top:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-radius:0 2px 0 0}.tooltip-arrow--leftTop{right:-8px;top:16px;border-top:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-radius:0 2px 0 0}.tooltip-arrow--leftBottom{right:-8px;bottom:16px;border-top:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-radius:0 2px 0 0}.tooltip-arrow--right{left:-8px;top:calc(50% - 8px);border-bottom:1px solid #e5e7eb;border-left:1px solid #e5e7eb;border-radius:0 0 0 2px}.tooltip-arrow--rightTop{left:-8px;top:16px;border-bottom:1px solid #e5e7eb;border-left:1px solid #e5e7eb;border-radius:0 0 0 2px}.tooltip-arrow--rightBottom{left:-8px;bottom:16px;border-bottom:1px solid #e5e7eb;border-left:1px solid #e5e7eb;border-radius:0 0 0 2px}.tooltip-arrow--tinted-bg{background:#f5f3ff}.tooltip-confirm__title{font-size:12px;color:#111827;margin-bottom:12px;line-height:1.5}.tooltip-confirm__actions{display:flex;align-items:center;justify-content:center;gap:30px}.tooltip-confirm__cancel{background:none;border:none;padding:0;height:24px;font-size:12px;color:#374151;cursor:pointer;border-radius:4px;transition:background-color .15s;width:60px}.tooltip-confirm__cancel:hover{background:#f3f4f6}.tooltip-confirm__ok{background:#333;border:none;padding:0;height:24px;font-size:12px;color:#fff;cursor:pointer;border-radius:6px;width:60px;font-weight:500;transition:background-color .15s}.tooltip-confirm__ok:hover{background:#374151}.tooltip-progress{min-width:220px}.tooltip-progress__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.tooltip-progress__title{font-size:12px;color:#111827;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tooltip-progress__percent{font-size:12px;color:#6b7280;font-weight:500;flex-shrink:0;margin-left:8px}.tooltip-progress__track{width:100%;height:4px;background:#e5e7eb;border-radius:2px;overflow:hidden}.tooltip-progress__fill{height:100%;width:var(--tooltip-progress, 0%);background:#333;border-radius:2px;transition:width .3s ease}.bu-tooltip-content__text{font-size:12px;color:#6b7280;line-height:1.6;overflow-wrap:break-word;margin-bottom:0}@keyframes sku-shake{0%{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}to{transform:translate(0)}}.sku-input-card{position:relative;display:flex;flex-direction:row;min-width:411px;height:100%;border:1px solid #e5e7eb;border-radius:8px;background:#fff;background-clip:padding-box}.sku-input-card--error{border-color:#fde6e9}.sku-input-card__drag{display:flex;align-items:center;justify-content:center;width:32px;flex-shrink:0;color:#333;background:#f5f5f5;cursor:grab;margin-right:12px}.sku-input-card__drag:active{cursor:grabbing}.sku-input-card__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;padding:12px 12px 12px 0}.sku-input-card__header{display:flex;align-items:center;gap:8px;background:#fff}.sku-input-card__name-wrap{position:relative;flex:1;min-width:0}.sku-input-card__name-input{width:100%;height:40px;background:#f5f5f5;border:1px solid #ebebeb;border-radius:6px;padding:0 8px;font-size:14px;color:#333;outline:none;box-sizing:border-box;-moz-appearance:none;appearance:none;-webkit-appearance:none;transition:background .2s ease,border-color .2s ease}.sku-input-card__name-input::placeholder{color:#999}.sku-input-card__name-input--with-toggle{padding-right:118px}.sku-input-card__name-input--error{border-width:3px;border-color:#fde6e9;animation:sku-shake .4s ease}.sku-input-card__name-input--error::placeholder{color:#e60023}.sku-input-card__lang-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:2px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.sku-input-card__lang-btn{height:24px;width:51px;padding:0;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:#374151;line-height:24px;text-align:center}.sku-input-card__lang-btn--active{background:#1f2937;color:#fff}.sku-input-card__lang-btn--inactive{color:#374151}.sku-input-card__delete{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:#333;background:#f3f4f6;border:none;cursor:pointer;flex-shrink:0;border-radius:4px;padding:0}.sku-input-card__delete:hover{color:#333}.sku-input-card__file-input{display:none}.sku-input-card__body{height:280px;display:flex;align-items:stretch;background:#f5f5f5;border-radius:8px;overflow:hidden}.sku-input-card__image-item{position:relative;flex:1}.sku-input-card__image-thumb{width:100%;height:100%;object-fit:cover;display:block}.sku-input-card__image-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;gap:20px;opacity:0;transition:opacity .2s ease}.sku-input-card__image-item:hover .sku-input-card__image-overlay{opacity:1}.sku-input-card__image-action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:#fff;cursor:pointer;padding:0}.sku-input-card__image-action-btn svg{width:32px;height:32px}.sku-input-card__add-btn{display:flex;align-items:center;justify-content:center;flex:1;color:#333;background:none;border:none;border-radius:4px;cursor:pointer}.sku-input-card__add-btn:hover{color:#333}.sku-input-card__upload-options{display:flex;align-items:center;justify-content:center;flex:1}.sku-input-card__upload-options-box{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 16px #0000001f;overflow:hidden}.sku-input-card__upload-opt-btn{display:flex;align-items:center;justify-content:center;width:140px;height:45px;padding:0;background:none;border:none;cursor:pointer;font-size:13px;color:#6b7280;transition:background .15s ease,color .15s ease}.sku-input-card__upload-opt-btn:hover{background:#f3f4f6;color:#111827}.sku-input-card__dropdown{position:absolute;top:calc(100% + 8px);left:0;width:100%;z-index:100}.sku-input-card__dropdown-list{background:#fff;border-radius:6px;box-shadow:0 4px 16px #0000001f;max-height:216px;overflow-y:auto;padding-right:4px;box-sizing:border-box}.sku-input-card__dropdown-list::-webkit-scrollbar-track{margin:4px 0}.sku-input-card__dropdown-list::-webkit-scrollbar{width:4px}.sku-input-card__dropdown-list::-webkit-scrollbar-thumb{background-color:#dbdbdb;background-clip:padding-box;border:1px solid transparent;border-radius:2px / 2}.sku-input-card__dropdown-item{height:40px;display:flex;align-items:center;box-sizing:border-box;padding:8px 12px;font-size:13px;color:#333;cursor:pointer;transition:background .15s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:6px}.sku-input-card__dropdown-item:hover{background:#f5f5f5;border-radius:6px}.sku-input-card__dropdown-item--disabled{color:#999;cursor:not-allowed}.sku-input-card__dropdown-item--disabled:hover{background:transparent}.sku-input-card__dropdown-item--selected{font-weight:600;background:#f5f5f5}.sku-input-card__dropdown-highlight{font-weight:600}.sku-input-card__loading{display:flex;align-items:center;justify-content:center;flex:1;background:#f5f5f5}.sku-input-card__loading-img{width:48px;height:48px}@keyframes bu-input-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bu-input-shake{0%{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}to{transform:translate(0)}}.bu-input{box-sizing:border-box;display:flex;flex-direction:column;gap:4px}.bu-input *{box-sizing:border-box}.bu-input__label{display:flex;align-items:center;gap:2px;font-size:13px;color:#333;font-weight:500;line-height:1.5}.bu-input__required{color:#ef4444;font-size:13px;line-height:1.5}.bu-input__row{display:flex;align-items:stretch}.bu-input__icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;min-width:40px;background:#fff;border:1px solid #ebebeb;color:#333;box-sizing:border-box}.bu-input__icon--left{border-right:none;border-radius:6px 0 0 6px}.bu-input__icon--right{border-left:none;border-radius:0 6px 6px 0}.bu-input__box{position:relative;flex:1;background:#f5f5f5;border:1px solid #ebebeb;border-radius:6px;padding:8px 12px;transition:border-color .2s ease;box-sizing:border-box}.bu-input__box--error{border-width:3px;border-color:#fde6e9;padding:6px 10px;animation:bu-input-shake .4s ease}.bu-input__box--error .bu-input__field::placeholder{color:#f87171}.bu-input__box--disabled{background:#f0f0f0;cursor:not-allowed}.bu-input__box--single{height:40px}.bu-input__box--number{padding-right:36px}.bu-input__box--number.bu-input__box--error{padding-right:34px}.bu-input__box--has-left{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.bu-input__box--has-right{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.bu-input__field{flex:1;width:100%;background:transparent;border:none;outline:none;padding:0;font-size:14px;color:#333;line-height:22px;-moz-appearance:none;appearance:none;-webkit-appearance:none;resize:none;box-sizing:border-box}.bu-input__field::placeholder{color:#999}.bu-input__field:disabled{cursor:not-allowed;color:#999}.bu-input__field--input{height:100%}.bu-input__field--textarea{min-height:80px;padding-bottom:36px}.bu-input__footer{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:10px}.bu-input__footer--bottom{top:auto;transform:none;bottom:8px}.bu-input__count{font-size:12px;color:#999;line-height:1;-webkit-user-select:none;user-select:none}.bu-input__translating{display:flex;align-items:center;gap:4px;font-size:12px;color:#999;-webkit-user-select:none;user-select:none}.bu-input__translating-icon{width:12px;height:12px;flex-shrink:0;animation:bu-input-spin 1s linear infinite}.bu-input__translated{display:flex;align-items:center;gap:4px;font-size:12px;color:#16a34a;-webkit-user-select:none;user-select:none}.bu-input__translated svg{width:14px;height:14px;flex-shrink:0}.bu-input__lang-toggle{display:flex;align-items:center;gap:2px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.bu-input__lang-btn{height:22px;width:44px;padding:0;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:#374151;line-height:22px;text-align:center}.bu-input__lang-btn--active{background:#1f2937;color:#fff}.bu-input__stepper{position:absolute;right:0;top:0;bottom:0;width:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3.3px;box-sizing:border-box}.bu-input__stepper-btn{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;color:#6b7280;padding:0;line-height:1}.bu-input__stepper-btn:disabled{cursor:not-allowed;color:#ebebeb}.bu-input__error-msg{display:flex;align-items:center;gap:4px;font-size:12px;color:#ef4444;line-height:1.4;margin-top:2px}.bu-input__error-icon{flex-shrink:0;width:14px;height:14px}.bj-input{width:100%;height:40px;padding:0 8px;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;background:#fff;border:1px solid #ebebeb;border-radius:8px;outline:none}.bj-input::placeholder{color:#999}.bj-input--small{height:32px}.bj-input--large{height:48px}.bj-input--disabled{color:#999;background:#f0f0f0;cursor:not-allowed}.bj-input--borderless{border-color:transparent}.bj-input--error{border-color:#ef4444}.bj-input--warning{border-color:#f59e0b}.bj-input__affix-wrapper{display:inline-flex;align-items:center;width:100%;height:40px;gap:4px;padding:0 8px;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;background:#fff;border:1px solid #ebebeb;border-radius:8px}.bj-input__affix-wrapper:not(.bj-input__affix-wrapper--error):not(.bj-input__affix-wrapper--readonly):not(:has(input[readonly])):not(:has(textarea[readonly])):not(:has(input:disabled)):not(:has(textarea:disabled)):hover,.bj-input__affix-wrapper:not(.bj-input__affix-wrapper--error):not(.bj-input__affix-wrapper--readonly):not(:has(input[readonly])):not(:has(textarea[readonly])):not(:has(input:disabled)):not(:has(textarea:disabled)):focus-within{box-shadow:0 0 0 1px #dbdbdb}.bj-input__affix-wrapper--disabled{color:#999;background:#f0f0f0;cursor:not-allowed}.bj-input__affix-wrapper--small{height:32px}.bj-input__affix-wrapper--middle{padding-right:4px;padding-left:4px}.bj-input__affix-wrapper--large{height:48px}.bj-input__affix-wrapper--error{border-color:#ef4444}.bj-input__affix-wrapper--warning{border-color:#f59e0b}.bj-input__affix-wrapper>.bj-input{height:auto;padding:0;line-height:21px;background:transparent;border:0}.bj-input__affix-wrapper>.bj-input:hover,.bj-input__affix-wrapper>.bj-input:focus{box-shadow:none}.bj-input__prefix,.bj-input__suffix{display:flex;flex:none;align-items:center;color:#999}.bj-input__prefix .bu-icon,.bj-input__suffix .bu-icon{width:20px;height:20px;color:#999}.bj-input__clear-icon{padding:0;color:#999;font:inherit;background:transparent;border:0;cursor:pointer}.bj-input__clear-icon:hover{color:#6b7280}.bj-input__clear-icon:active{color:#333}.bj-input__clear-icon--hidden{visibility:hidden}.bj-input__group-wrapper{display:inline-block;width:100%}.bj-input__group{display:flex;width:100%}.bj-input__group>.bj-input,.bj-input__group>.bj-input__affix-wrapper{flex:1;min-width:0;border-radius:0}.bj-input__group-addon{display:flex;flex:none;align-items:center;padding:0 12px;color:#333;background:#f5f5f5;border:1px solid #ebebeb}.bj-input__group-addon:first-child{border-radius:8px 0 0 8px}.bj-input__group-addon:last-child{border-radius:0 8px 8px 0}.bj-tabs{display:flex;width:100%;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px}.bj-tabs__nav{position:relative;display:flex;flex:none;align-items:center}.bj-tabs__nav-wrap{display:flex;flex:auto;align-self:stretch;overflow:auto hidden;white-space:nowrap}.bj-tabs__nav-list{position:relative;display:flex;gap:32px}.bj-tabs__tab{position:relative;display:inline-flex;align-items:center;height:45px;padding:0 4px;color:#666;font:inherit;background:transparent;border:0;outline:0;cursor:pointer}.bj-tabs__tab--active{color:#333}.bj-tabs__tab--active .bj-tabs__tab-btn{font-family:SourceHanSansCN-Medium}.bj-tabs__tab--active .bj-tabs__tab-btn:after{position:absolute;right:0;bottom:0;left:0;height:2px;background:#333;content:"";pointer-events:none}.bj-tabs__tab--disabled{color:#999;cursor:not-allowed}.bj-tabs__tab-btn{position:relative;display:inline-flex;align-items:center;height:100%;outline:none}.bj-tabs__content-holder{flex:auto;min-width:0;min-height:0}.bj-tabs__content{position:relative;width:100%}.bj-tabs__tabpane{display:none;outline:none}.bj-tabs__tabpane--active{display:block}.bj-tabs__sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.bj-tabs--top,.bj-tabs--bottom{flex-direction:column}.bj-tabs--top>.bj-tabs__nav,.bj-tabs--bottom>.bj-tabs__nav{width:100%;border-bottom:1px solid #ebebeb}.bj-tabs--bottom>.bj-tabs__nav{order:1;border-top:1px solid #ebebeb;border-bottom:0}.bj-tabs--bottom>.bj-tabs__content-holder{order:0}.bj-tabs--left>.bj-tabs__nav,.bj-tabs--right>.bj-tabs__nav{flex-direction:column;min-width:48px}.bj-tabs--left .bj-tabs__nav-wrap,.bj-tabs--right .bj-tabs__nav-wrap{overflow:hidden auto}.bj-tabs--left .bj-tabs__nav-list,.bj-tabs--right .bj-tabs__nav-list{flex-direction:column}.bj-tabs--left .bj-tabs__tab,.bj-tabs--right .bj-tabs__tab{justify-content:center}.bj-tabs--left>.bj-tabs__nav{border-right:1px solid #ebebeb}.bj-tabs--left>.bj-tabs__content-holder{padding-left:16px}.bj-tabs--right>.bj-tabs__nav{order:1;border-left:1px solid #ebebeb}.bj-tabs--right>.bj-tabs__content-holder{order:0;padding-right:16px}.bj-tabs--centered>.bj-tabs__nav .bj-tabs__nav-wrap{justify-content:center}.bj-tabs--card>.bj-tabs__nav .bj-tabs__tab{margin:0;background:#f5f5f5;border:1px solid #ebebeb}.bj-tabs--card>.bj-tabs__nav .bj-tabs__tab--active{background:#fff}.bj-tabs--card .bj-tabs__tab--active .bj-tabs__tab-btn:after{display:none}.bj-tabs--card.bj-tabs--top>.bj-tabs__nav .bj-tabs__tab{border-radius:4px 4px 0 0}.bj-tabs--card.bj-tabs--bottom>.bj-tabs__nav .bj-tabs__tab{border-radius:0 0 4px 4px}.bj-tabs--card.bj-tabs--left>.bj-tabs__nav .bj-tabs__tab{border-radius:4px 0 0 4px}.bj-tabs--card.bj-tabs--right>.bj-tabs__nav .bj-tabs__tab{border-radius:0 4px 4px 0}@keyframes bu-eib-shake{0%{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}to{transform:translate(0)}}.bu-eib{display:block}.bu-eib__box{position:relative;display:block;height:40px;background:#f5f5f5;border:1px solid #ebebeb;border-radius:6px;padding:0 12px;box-sizing:border-box;transition:border-color .2s ease}.bu-eib__box--actions-delete{padding-right:40px}.bu-eib__box--actions-toggle{padding-right:114px}.bu-eib__box--actions-both{padding-right:142px}.bu-eib__box--error{border-width:3px;border-color:#fde6e9;padding-left:10px;padding-top:0;padding-bottom:0;animation:bu-eib-shake .4s ease}.bu-eib__box--error.bu-eib__box--actions-delete{padding-right:38px}.bu-eib__box--error.bu-eib__box--actions-toggle{padding-right:112px}.bu-eib__box--error.bu-eib__box--actions-both{padding-right:140px}.bu-eib__box--error .bu-eib__field::placeholder{color:#f87171}.bu-eib__box--disabled{background:#f0f0f0;cursor:not-allowed}.bu-eib__field{display:block;width:100%;height:100%;background:transparent;border:none;outline:none;padding:0;font-size:14px;color:#333;line-height:40px;-moz-appearance:none;appearance:none;-webkit-appearance:none;box-sizing:border-box}.bu-eib__field::placeholder{color:#999}.bu-eib__field:disabled{cursor:not-allowed;color:#999}.bu-eib__actions{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:4px}.bu-eib__lang-toggle{display:flex;align-items:center;flex-shrink:0;gap:2px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.bu-eib__lang-btn{height:22px;width:44px;padding:0;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:#374151;line-height:22px;text-align:center}.bu-eib__lang-btn--active{background:#1f2937;color:#fff}.bu-eib__delete{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:transparent;cursor:pointer;color:#333;border-radius:4px}.bu-eib__delete:hover{background:#f3f4f6}@keyframes bu-modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes bu-modal-slide-in{0%{opacity:0;transform:translateY(-12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.bu-modal__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000;animation:bu-modal-fade-in .18s ease}.bu-modal__container{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000001f;width:480px;min-width:320px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;animation:bu-modal-slide-in .2s ease;overflow:hidden}.bu-modal__header{display:flex;align-items:center;height:64px;padding:0 20px;flex-shrink:0;gap:8px}.bu-modal__title{flex:1;font-size:15px;font-weight:500;color:#111827;line-height:1.4;margin:0}.bu-modal__lang-toggle{display:flex;align-items:center;flex-shrink:0;gap:2px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.bu-modal__lang-btn{height:22px;width:40px;padding:0;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:#374151;line-height:22px;text-align:center;transition:background .15s ease,color .15s ease}.bu-modal__lang-btn--active{background:#1f2937;color:#fff}.bu-modal__close{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;cursor:pointer;color:#333;border-radius:100px;font-size:20px;line-height:1;transition:background .15s ease,color .15s ease}.bu-modal__close svg{width:24px;height:24px}.bu-modal__close:hover{background:#f3f4f6;color:#333}.bu-modal__body{flex:1;padding:0 20px;min-height:63px;color:#333;font-size:14px;line-height:1.6}.bu-modal__footer{display:flex;flex-direction:column;align-items:center;padding:60px 20px 24px;gap:10px}.bu-modal__hint{font-size:12px;color:#999;line-height:1.5;text-align:center;margin:0}.bu-modal__btn-row{display:flex;align-items:center;justify-content:center;gap:32px}.bu-modal__btn-cancel{height:34px;padding:0 8px;min-width:88px;border:none;border-radius:6px;background:transparent;color:#374151;font-size:14px;font-weight:400;cursor:pointer;line-height:34px}.bu-modal__btn-ok{height:34px;min-width:88px;padding:0 8px;border:none;border-radius:6px;background:#333;color:#fff;font-size:14px;font-weight:500;cursor:pointer;line-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:4px;transition:opacity .15s ease}.bu-modal__btn-ok--loading{opacity:.65;cursor:not-allowed}.bu-modal__btn-ok:disabled{cursor:not-allowed}.bu-modal__btn-ok-spinner{display:inline-block;width:14px;height:14px;border:2px solid #ffffff;border-right-color:transparent;border-radius:50%;animation:bu-modal-spin .6s linear infinite;flex-shrink:0}@keyframes bu-modal-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}html ::-webkit-scrollbar-button{display:none;height:0;width:0}html ::-webkit-scrollbar-track{-webkit-border-radius:10px;border-radius:10px}html ::-webkit-scrollbar-thumb{-webkit-border-radius:10px;border-radius:50px;-webkit-box-shadow:inset 0 0 6px #E2E2E2}.bu-pf{position:relative;display:block;-webkit-user-select:none;user-select:none}.bu-pf ::-webkit-scrollbar-button{display:none;height:0;width:0}.bu-pf__trigger{display:flex;align-items:flex-start;min-height:40px;padding:6px 8px 6px 12px;background:#f5f5f5;border:1px solid #ebebeb;border-radius:6px;cursor:pointer;gap:8px;box-sizing:border-box;overflow:hidden}.bu-pf__trigger--selected{background:#f5f5f5;border-color:#f5f5f5}.bu-pf__trigger-tags{flex:1;display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;align-content:flex-start;max-height:94px;overflow-y:auto;overflow-x:hidden;padding-right:4px}.bu-pf__trigger-tags::-webkit-scrollbar{width:4px}.bu-pf__trigger-tags::-webkit-scrollbar-track{background:transparent}.bu-pf__trigger-tags::-webkit-scrollbar-thumb{background:#ebebeb;border-radius:2px}.bu-pf__trigger-tags::-webkit-scrollbar-button{display:none;height:0;width:0}.bu-pf__placeholder{flex:1;align-self:center;font-size:14px;color:#999;line-height:1}.bu-pf__arrow{flex-shrink:0;align-self:center;color:#999;display:flex;align-items:center;transition:transform .2s ease}.bu-pf__arrow--open{transform:rotate(180deg)}.bu-pf__panel{border-radius:6px;background:#f5f5f5}.bu-pf__dropdown{background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 0 12px #00000014;overflow:hidden}.bu-pf__header{display:flex;align-items:center;padding:6px 8px 6px 12px;min-height:40px;box-sizing:border-box;gap:8px;overflow:hidden;background:#f5f5f5;border-radius:8px;border:1px solid #DBDBDB}.bu-pf__tags{flex:1;display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;align-content:flex-start;max-height:94px;overflow-y:auto;overflow-x:hidden;padding-right:4px}.bu-pf__tags::-webkit-scrollbar{width:4px}.bu-pf__tags::-webkit-scrollbar-track{background:transparent}.bu-pf__tags::-webkit-scrollbar-thumb{background:#ebebeb;border-radius:2px}.bu-pf__tags::-webkit-scrollbar-button{display:none;height:0;width:0}.bu-pf__placeholder-inline{font-size:14px;color:#999;line-height:26px}.bu-pf__tag{display:inline-flex;align-items:center;height:26px;padding:0 6px 0 8px;background:#f5f5f5;border:1px solid #e5e7eb;border-radius:4px;gap:4px;cursor:default;min-width:250px}.bu-pf__tag--single{width:100%;border:none;border-radius:0;background:transparent;padding:0;min-width:0}.bu-pf__tag-text{font-size:13px;color:#333;line-height:1;white-space:nowrap}.bu-pf__tag-close{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;background:#99999973!important;cursor:pointer;color:#fff;flex-shrink:0;border-radius:9999px;margin-left:auto}.bu-pf__tag-close svg{width:16px;height:16px}.bu-pf__close{flex-shrink:0;align-self:center;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:transparent!important;cursor:pointer;color:#999;border-radius:9999px;transform:rotate(180deg)}.bu-pf__close:hover{background:transparent!important;color:#333}.bu-pf__toolbar{display:flex;align-items:center;gap:8px;padding:12px 12px 16px}.bu-pf__search{flex:1;display:flex;align-items:center;gap:6px;height:40px;padding:0 10px;background:#fff;border:1px solid #ebebeb;border-radius:8px}.bu-pf__search-icon{flex-shrink:0;color:#999;display:flex;align-items:center}.bu-pf__search-input{flex:1;border:none;background:transparent;outline:none;font-size:13px;color:#333;line-height:1;min-width:0}.bu-pf__search-input::placeholder{color:#c4c4c4}.bu-pf__sort-wrap{position:relative;flex-shrink:0}.bu-pf__sort-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:4px;background:#f5f5f5;cursor:pointer;color:#999}.bu-pf__sort-dropdown{position:absolute;top:calc(100% + 4px);right:0;min-width:100px;background:#fff;border-radius:6px;box-shadow:0 4px 16px #0000001f;z-index:1000;overflow:hidden}.bu-pf__sort-option{padding:10px 16px;font-size:13px;color:#333;cursor:pointer;white-space:nowrap;text-align:center}.bu-pf__sort-option:hover{background:#f5f5f5}.bu-pf__sort-option--active{background:#f5f5f5;font-weight:500}.bu-pf__no-match{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 0 24px}.bu-pf__no-match-img{width:80px;height:80px;object-fit:contain}.bu-pf__no-match-text{font-size:14px;color:#999;margin:0 0 4px;font-weight:350}.bu-pf__no-match-hint{font-size:12px;color:#999;margin:0}.bu-pf__manage-btn{display:inline;border:none;background:transparent;padding:0;font-size:12px;font-weight:600;color:#333;cursor:pointer}.bu-pf__list{max-height:300px;overflow-y:auto;margin-bottom:8px;width:calc(100% - 12px);display:flex;flex-direction:column;gap:12px}.bu-pf__list::-webkit-scrollbar{width:4px}.bu-pf__list::-webkit-scrollbar-button{height:0;width:0}.bu-pf__list::-webkit-scrollbar-track{background:transparent}.bu-pf__list::-webkit-scrollbar-thumb{border-radius:2px}.bu-pf__option{display:flex;align-items:center;height:40px;flex-shrink:0;padding:0 12px;gap:10px;cursor:pointer}.bu-pf__option:not(.bu-pf__option--multiple):hover{background:#f3f4f6}.bu-pf__option--selected{background:#f3f4f6}.bu-pf__checkbox-img{flex-shrink:0;width:16px;height:16px;display:block}.bu-pf__option-label{flex:1;font-size:14px;color:#333;line-height:1}.bu-pf__add-row{border-top:1px solid #f3f4f6;cursor:pointer}.bu-category-dropdown{position:relative;display:inline-block;min-width:110px;max-width:300px}.bu-category-dropdown__trigger{display:flex;align-items:center;gap:8px;height:40px;min-width:110px;max-width:300px;padding:0 8px;background:#fff;border:1px solid #ebebeb;border-radius:8px;cursor:pointer;box-sizing:border-box;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;text-align:left}.bu-category-dropdown__trigger:hover:not(:disabled){border-color:#ebebeb;box-shadow:inset 0 0 0 2px #ebebeb}.bu-category-dropdown__trigger--open{border-color:#ebebeb;background:#f5f5f5;box-shadow:inset 0 0 0 2px #ebebeb}.bu-category-dropdown__trigger--has-value{background:#f5f5f5}.bu-category-dropdown__trigger:disabled{background:#f0f0f0;cursor:not-allowed}.bu-category-dropdown__trigger-label{display:block;width:100%;font-size:14px;line-height:21px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bu-category-dropdown__trigger-label--placeholder{color:#999}.bu-category-dropdown__trigger-chevron{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:16px;color:#6b7280;transition:transform .2s ease}.bu-category-dropdown__trigger-chevron--open{transform:rotate(180deg)}.bu-category-dropdown__portal{background:#fff;border-radius:8px;padding:4px;box-shadow:0 4px 16px #0000001f;border:1px solid #ebebeb;z-index:1100}.bu-category-dropdown__panel{display:flex;align-items:stretch}.bu-category-dropdown__divider{width:1px;flex-shrink:0;background:#ebebeb;align-self:stretch}.bu-category-dropdown__col{display:flex;flex-direction:column;align-items:stretch;flex-shrink:0;gap:2px;padding:0 8px 0 0;overflow-x:hidden}.bu-category-dropdown__col--indent{padding-left:8px}.bu-category-dropdown__col--last{padding-right:0}.bu-category-dropdown__col--scrollable{max-height:250px;overflow-y:auto;overflow-x:hidden;padding-right:4px}.bu-category-dropdown__col--scrollable::-webkit-scrollbar{width:3px;height:3px;background-color:transparent}.bu-category-dropdown__col--scrollable::-webkit-scrollbar-button{display:none;height:0;width:0;background:transparent}.bu-category-dropdown__col--scrollable::-webkit-scrollbar-track{background-color:transparent;box-shadow:inset 0 0 6px transparent;border-radius:9999px}.bu-category-dropdown__col--scrollable::-webkit-scrollbar-thumb{background-color:transparent;box-shadow:inset 0 0 6px transparent;border-radius:9999px}.bu-category-dropdown__col--scrollable.bu-category-dropdown__col--scrollbar-visible::-webkit-scrollbar-thumb{background-color:#b3b3b3}.bu-category-dropdown__item{display:flex;align-items:center;gap:8px;height:40px;min-width:110px;max-width:300px;padding:0 8px;border:none;border-radius:8px;background:#fff;cursor:pointer;box-sizing:border-box;transition:background .15s ease;text-align:left;flex-shrink:0}.bu-category-dropdown__item:hover:not(:disabled){background:#f5f5f5}.bu-category-dropdown__item--selected-branch,.bu-category-dropdown__item--selected-leaf{background:#f5f5f5}.bu-category-dropdown__item--disabled{cursor:not-allowed;opacity:.45}.bu-category-dropdown__item-label{display:block;width:100%;font-size:14px;line-height:21px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bu-category-dropdown__item-arrow{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;color:#6b7280}.bu-category-dropdown__tooltip.tooltip-popup,.bu-category-dropdown__tooltip.tooltip-popup .tooltip-arrow{border:none}.pagination{display:flex;align-items:center;gap:16px;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;color:#111827;-webkit-user-select:none;user-select:none}.pagination.pagination-start{justify-content:flex-start}.pagination.pagination-center{justify-content:center}.pagination.pagination-end{justify-content:flex-end}.pagination.pagination-small .pagination-item{min-width:24px;height:24px;padding:0 6px;font-size:inherit}.pagination.pagination-small .pagination-prev,.pagination.pagination-small .pagination-next{width:24px;min-width:24px;height:24px;padding:0}.pagination.pagination-medium .pagination-item{min-width:32px;height:32px;padding:0 8px;font-size:inherit}.pagination.pagination-large .pagination-item{min-width:40px;height:40px;padding:0 10px;font-size:inherit}.pagination.pagination-disabled{opacity:.5;pointer-events:none}.pagination .pagination-total{color:#111827}.pagination .pagination-list{display:flex;align-items:center;gap:4px}.pagination .pagination-item{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:4px;background:transparent;color:#111827;cursor:pointer;transition:all .2s;outline:none}.pagination .pagination-item:hover:not(:disabled):not(.pagination-ellipsis){background:#f3f4f6}.pagination .pagination-item:disabled{cursor:not-allowed;opacity:.5}.pagination .pagination-item.pagination-item-active{background:#f5f5f5;color:#111827}.pagination .pagination-item.pagination-ellipsis{cursor:default;pointer-events:none}.pagination .pagination-item.pagination-prev svg,.pagination .pagination-item.pagination-next svg{display:block}.pagination .pagination-item.pagination-prev:not(:disabled),.pagination .pagination-item.pagination-next:not(:disabled){background:#fff;border-radius:4px}.pagination .pagination-sizer{display:flex;align-items:center;position:relative}.pagination .pagination-sizer .pagination-sizer-select{display:inline-flex;align-items:center;position:relative;min-width:100px;height:32px;box-sizing:border-box;padding:4px 28px 4px 8px;border:1px solid #ebebeb;border-radius:8px;background:transparent;color:#111827;font-family:inherit;font-size:inherit;line-height:inherit;cursor:pointer;outline:none;transition:all .2s;text-align:left;white-space:nowrap}.pagination .pagination-sizer .pagination-sizer-select:disabled{cursor:not-allowed;opacity:.5}.pagination .pagination-sizer .pagination-sizer-select .pagination-sizer-icon{position:absolute;top:50%;right:4px;pointer-events:none;transform:translateY(-50%);transition:transform .2s}.pagination .pagination-sizer .pagination-sizer-select .pagination-sizer-icon.pagination-sizer-icon-open{transform:translateY(-50%) rotate(180deg)}.pagination .pagination-jumper{display:flex;align-items:center;gap:4px}.pagination .pagination-jumper .pagination-jumper-input{width:56px;height:32px;box-sizing:border-box;padding:4px 8px;border:1px solid #ebebeb;border-radius:8px;background:transparent;color:#111827;font-family:inherit;font-size:inherit;line-height:inherit;text-align:center;outline:none;transition:border-color .2s}.pagination .pagination-jumper .pagination-jumper-input:hover:not(:disabled){border-color:#d1d5db}.pagination .pagination-jumper .pagination-jumper-input:disabled{cursor:not-allowed;opacity:.5}.pagination .pagination-jumper .pagination-jumper-input::-webkit-inner-spin-button,.pagination .pagination-jumper .pagination-jumper-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pagination .pagination-jumper .pagination-jumper-input::-moz-inner-spin-button,.pagination .pagination-jumper .pagination-jumper-input::-moz-outer-spin-button{-moz-appearance:none;margin:0}.pagination.pagination-simple{display:inline-block}.pagination.pagination-simple .pagination-simple-list{display:inline-flex;align-items:center;justify-content:center;background:#f5f5f5;border-radius:8px;padding:0;gap:8px}.pagination.pagination-simple .pagination-simple-item{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:#111827;cursor:pointer;transition:all .2s;outline:none}.pagination.pagination-simple .pagination-simple-item:hover:not(:disabled){background:#0000000d}.pagination.pagination-simple .pagination-simple-item:disabled{cursor:not-allowed;opacity:.5}.pagination.pagination-simple .pagination-simple-item svg{display:block}.pagination.pagination-simple .pagination-simple-text{color:#111827;font-family:inherit;font-size:inherit;line-height:inherit;padding:0 8px}.pagination-sizer-dropdown{width:116px;background:#fff;border-radius:8px;box-shadow:0 0 12px #00000024;z-index:100;overflow:hidden;padding:4px}.pagination-sizer-option{display:block;width:100%;padding:10px;border:none;background:transparent;color:#111827;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;text-align:center;cursor:pointer;transition:background-color .2s;white-space:nowrap;border-radius:6px;height:40px;display:flex;align-items:center;justify-content:center}.pagination-sizer-option:hover{background:#f3f4f6}.pagination-sizer-option[data-selected=true]{background:#f5f5f5}.dark .pagination,.dark .pagination .pagination-item{color:#fff}.dark .pagination .pagination-item:hover:not(:disabled):not(.pagination-ellipsis){background:#ffffff1a}.dark .pagination .pagination-item.pagination-item-active{background:#ffffff1a;color:#fff}.dark .pagination .pagination-total{color:#fff}.dark .pagination .pagination-sizer .pagination-sizer-select{background:transparent;border-color:#ffffff1a;color:#fff}.dark .pagination .pagination-sizer .pagination-sizer-icon{color:#ffffff80}.dark .pagination .pagination-jumper .pagination-jumper-input{background:transparent;border-color:#ffffff1a;color:#fff}.dark .pagination .pagination-jumper .pagination-jumper-input:hover:not(:disabled){border-color:#fff3}.dark .pagination.pagination-simple .pagination-simple-list{background:#ffffff0d}.dark .pagination.pagination-simple .pagination-simple-item{color:#fff}.dark .pagination.pagination-simple .pagination-simple-item:hover:not(:disabled){background:#ffffff1a}.dark .pagination.pagination-simple .pagination-simple-text{color:#fff}.file-card{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;width:210px;display:flex;flex-direction:column;gap:8px}.file-card .file-card__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0006;border-radius:inherit;display:flex;align-items:center;justify-content:center;gap:20px;opacity:0;transition:opacity .18s;pointer-events:none}.file-card .file-card__overlay-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#fff;cursor:pointer;border-radius:6px;padding:0;pointer-events:auto;transition:background .15s}.file-card .file-card__overlay-btn:hover{background:#fff3}.file-card .file-card__name-area{display:flex;align-items:flex-start;gap:4px;padding:4px 8px;height:50px}.file-card .file-card__name-area--editing{background:#fff;border:1px solid #ebebeb;border-radius:4px;padding:4px 8px;height:50px;display:flex;align-items:flex-start}.file-card .file-card__filename{flex:1;font-size:14px;line-height:1.5;color:#111827;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;padding:0;margin:0;box-sizing:border-box;vertical-align:top}.file-card .file-card__edit-input{flex:1;height:42px;padding:0;font-size:14px;line-height:1.5;color:#111827;border:none;border-radius:0;outline:none;background:transparent;resize:none;overflow-y:auto;scrollbar-width:none;box-sizing:border-box;vertical-align:top}.file-card .file-card__edit-input::-webkit-scrollbar{display:none}.file-card .file-card__edit-input:focus{outline:none}.file-card--pdf .file-card__pdf-preview{position:relative;height:138px;background:#d1d5db;border-radius:4px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;cursor:pointer;overflow:hidden;transition:box-shadow .2s}.file-card--pdf .file-card__pdf-preview:hover{box-shadow:0 4px 16px #0000001f}.file-card--pdf .file-card__pdf-preview:hover .file-card__overlay{opacity:1}.file-card--pdf .file-card__pdf-label{width:100%;padding:8px 10px;background:#1f2937;display:flex;align-items:center;justify-content:center;flex-shrink:0}.file-card--pdf .file-card__pdf-label span{font-size:14px;font-weight:350;color:#fff;letter-spacing:.3px}.file-card--other .file-card__other-preview{position:relative;height:138px;background:#fff;border:1px solid #ebebeb;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;transition:box-shadow .2s}.file-card--other .file-card__other-preview:hover{box-shadow:0 2px 6px #0000000f}.file-card--other .file-card__other-preview:hover .file-card__overlay{opacity:1}.file-card--other .file-card__image-thumb{width:100%;height:100%;object-fit:cover}.dark .file-card--pdf .file-card__pdf-preview{background:#2a2a2a}.dark .file-card--pdf .file-card__pdf-preview:hover{box-shadow:0 4px 12px #0006}.dark .file-card--pdf .file-card__pdf-label{background:#1a1a1a}.dark .file-card--other .file-card__other-preview{background:#1f1f1f;border-color:#303030}.dark .file-card--other .file-card__other-preview:hover{box-shadow:0 2px 8px #0000004d}.dark .file-card .file-card__filename{color:#e8e8e8}.dark .file-card .file-card__name-area--editing{background:#1f1f1f;border-color:#404040;padding:4px 8px;height:50px;display:flex;align-items:flex-start}.dark .file-card .file-card__edit-input{background:transparent;color:#e8e8e8;border:none;border-radius:0;height:42px;padding:0;font-size:14px;line-height:1.5;resize:none;overflow-y:auto;scrollbar-width:none;box-sizing:border-box;vertical-align:top}.dark .file-card .file-card__edit-input::-webkit-scrollbar{display:none}.dark .file-card .file-card__edit-input:focus{outline:none}.bu-switch{--bu-switch-light-on: #333333;--bu-switch-light-off: #CCCCCC;--bu-switch-dark-on: #e60023;--bu-switch-dark-off: rgba(255, 255, 255, .25);--bu-switch-track-bg: #CCCCCC;position:relative;display:inline-block;box-sizing:border-box;width:32px;min-width:32px;height:16px;padding:0;border:none;border-radius:9999px;background:var(--bu-switch-track-bg);cursor:pointer;transition:background .2s cubic-bezier(.4,0,.2,1);outline:none;vertical-align:middle;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.bu-switch--disabled{cursor:not-allowed;opacity:.5}.bu-switch--loading{cursor:wait}.bu-switch__track{display:flex;align-items:center;width:100%;height:100%;padding:2px;box-sizing:border-box}.bu-switch__thumb{position:relative;flex-shrink:0;width:12px;height:12px;border-radius:9999px;background:#fff;box-shadow:0 1px 3px #00000026;transition:transform .2s cubic-bezier(.4,0,.2,1);transform:translate(0)}.bu-switch--checked .bu-switch__thumb{transform:translate(16px)}.bu-switch__loading-icon{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#999;animation:bu-switch-spin .8s linear infinite}.bu-switch__loading-icon svg{width:10px;height:10px}@keyframes bu-switch-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.bu-switch__label{flex:1;display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;overflow:hidden;white-space:nowrap;line-height:1;min-width:0;padding:0 2px}.bu-switch__label--left{justify-content:flex-start}.bu-switch__label--right{justify-content:flex-end}.bj-input-number{box-sizing:border-box;position:relative;display:inline-flex;align-items:center;width:100%;min-width:90px;background:#f5f5f5;border:1px solid #ebebeb;border-radius:8px;padding:8px 12px;transition:border-color .2s ease}.bj-input-number *{box-sizing:border-box}.bj-input-number:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px;pointer-events:none;transition:box-shadow .2s ease}.bj-input-number:hover:not(.bj-input-number--disabled):not(.bj-input-number--readonly):after,.bj-input-number:active:not(.bj-input-number--disabled):not(.bj-input-number--readonly):after{box-shadow:inset 0 0 0 2px #ebebeb}.bj-input-number--focused{border-color:#ebebeb}.bj-input-number--focused:after{box-shadow:inset 0 0 0 2px #ebebeb}.bj-input-number--small{height:32px;font-size:13px}.bj-input-number--middle{height:40px;font-size:14px}.bj-input-number--large{height:48px;font-size:15px}.bj-input-number--disabled{background:#f0f0f0;cursor:not-allowed}.bj-input-number--disabled:hover{border-color:#ebebeb}.bj-input-number--readonly{background:#f3f4f6}.bj-input-number--borderless{border-color:transparent;background:transparent}.bj-input-number--borderless.bj-input-number--focused{box-shadow:none}.bj-input-number--error{border-width:3px;border-color:#fde6e9;padding:6px 10px}.bj-input-number--error .bj-input-number__input::placeholder{color:#f87171}.bj-input-number--warning{border-color:#f59e0b}.bj-input-number--out-of-range .bj-input-number__input{color:#ef4444}.bj-input-number--with-controls{padding-right:44px}.bj-input-number--with-controls.bj-input-number--error{padding-right:42px}.bj-input-number--group-left{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.bj-input-number--group-right{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.bj-input-number__prefix,.bj-input-number__suffix{display:flex;flex:none;align-items:center;color:#6b7280;pointer-events:none}.bj-input-number__prefix{margin-right:4px}.bj-input-number__suffix{margin-left:4px}.bj-input-number__input-wrap{flex:1;min-width:0;display:flex;transition:box-shadow .2s ease}.bj-input-number__input-wrap:hover{box-shadow:inset 0 0 0 2px #ebebeb}.bj-input-number--disabled .bj-input-number__input-wrap:hover,.bj-input-number--readonly .bj-input-number__input-wrap:hover{box-shadow:none}.bj-input-number__input{width:100%;border:none;outline:none;background:transparent;padding:0;margin:0;font:inherit;color:#333;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.bj-input-number__input::-webkit-inner-spin-button,.bj-input-number__input::-webkit-outer-spin-button{margin:0;-moz-appearance:none;appearance:none;-webkit-appearance:none}.bj-input-number__input::placeholder{color:#999}.bj-input-number__input:disabled{cursor:not-allowed;color:#999}.bj-input-number__handler-wrap{position:absolute;top:0;right:0;bottom:0;width:32px;opacity:0;transition:opacity .2s ease}.bj-input-number:hover .bj-input-number__handler-wrap,.bj-input-number--focused .bj-input-number__handler-wrap{opacity:1}.bj-input-number--disabled .bj-input-number__handler-wrap,.bj-input-number--readonly .bj-input-number__handler-wrap{display:none}.bj-input-number__handler{position:absolute;left:0;right:0;margin-right:8px;height:50%;cursor:pointer;background:transparent;-webkit-user-select:none;user-select:none}.bj-input-number__handler--up{top:0}.bj-input-number__handler--down{bottom:0}.bj-input-number__handler--disabled{cursor:not-allowed}.bj-input-number__handler-icon{position:absolute;top:50%;right:8px;width:24px;height:24px;transform:translateY(-50%);pointer-events:none;color:#999;transition:opacity .15s ease,color .15s ease}.bj-input-number__handler-icon--up{clip-path:inset(0 0 50% 0)}.bj-input-number__handler-icon--down{clip-path:inset(50% 0 0 0)}.bj-input-number__handler--up:active~.bj-input-number__handler-icon--up{color:#333}.bj-input-number__handler--down:active~.bj-input-number__handler-icon--down{color:#333}.bj-input-number-group{display:inline-flex;align-items:stretch;width:100%}.bj-input-number-group__addon{display:flex;align-items:center;flex:none;padding:0 12px;background:#f3f4f6;border:1px solid #ebebeb;color:#6b7280;white-space:nowrap}.bj-input-number-group__addon:first-child{border-right:none;border-radius:8px 0 0 8px}.bj-input-number-group__addon:last-child{border-left:none;border-radius:0 8px 8px 0}.bj-input-number-group .bj-input-number{flex:1;min-width:0}.bj-checkbox-wrapper{display:inline-flex;align-items:flex-start;gap:8px;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;cursor:pointer}.bj-checkbox-wrapper--disabled{color:#999;cursor:not-allowed}.bj-checkbox-wrapper--rtl{direction:rtl}.bj-checkbox{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;width:16px;height:16px;margin-top:2.5px;vertical-align:middle}.bj-checkbox__input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}.bj-checkbox__inner{position:relative;display:flex;align-items:center;justify-content:center;width:15px;height:15px;background:transparent;border:1px solid #dbdbdb;border-radius:4px;transition:width .15s ease,height .15s ease,background .15s ease}.bj-checkbox--checked.bj-checkbox--dark .bj-checkbox__inner{width:16px;height:16px;background:#333;border-color:#333}.bj-checkbox--checked.bj-checkbox--white .bj-checkbox__inner{width:15px;height:15px;background:transparent;border-color:#dbdbdb}.bj-checkbox--white .bj-checkbox__check-icon{color:#333}.bj-checkbox__check-icon{position:absolute;top:50%;left:50%;width:14px;height:14px;color:#fff;pointer-events:none;transform:translate(-50%,-50%)}.bj-checkbox--indeterminate .bj-checkbox__inner{width:16px;height:16px;background:#fff;border-color:#dbdbdb}.bj-checkbox__indeterminate-mark{width:8px;height:2px;background:#333;border-radius:4px}.bj-checkbox--disabled{opacity:.5}.bj-checkbox__input:focus-visible+.bj-checkbox__inner{outline:2px solid #1677ff;outline-offset:1px}.bj-checkbox__label{position:relative;min-width:0;padding-right:0;padding-left:0;overflow-wrap:anywhere}.bj-checkbox-group{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px}.bj-checkbox-group--rtl{direction:rtl}.bj-overlay-scrollbar-hidden{scrollbar-width:none;-ms-overflow-style:none}.bj-overlay-scrollbar-hidden::-webkit-scrollbar{width:0;height:0}.bj-overlay-scrollbar__thumb{position:absolute;z-index:100;background:var(--bj-overlay-scrollbar-bg, #dbdbdb);border-radius:4px;cursor:pointer;opacity:0;transition:opacity .2s,background .2s}.bj-overlay-scrollbar__thumb--active{opacity:1}.bj-overlay-scrollbar__thumb:hover{background:var(--bj-overlay-scrollbar-bg, #c2c2c2)}.bj-dropdown{width:280px;overflow:hidden;color:#333;background:#fff;border:1px solid #ebebeb;border-radius:8px;box-shadow:0 0 12px #00000014}.bj-dropdown__search{padding:8px}.bj-dropdown__search .bj-input__affix-wrapper{height:32px;border-radius:8px}.bj-dropdown__search .bj-input__affix-wrapper:not(.bj-input__affix-wrapper--error):not(.bj-input__affix-wrapper--readonly):not(:has(input[readonly])):not(:has(textarea[readonly])):not(:has(input:disabled)):not(:has(textarea:disabled)):hover,.bj-dropdown__search .bj-input__affix-wrapper:not(.bj-input__affix-wrapper--error):not(.bj-input__affix-wrapper--readonly):not(:has(input[readonly])):not(:has(textarea[readonly])):not(:has(input:disabled)):not(:has(textarea:disabled)):focus-within{border-color:#dbdbdb;box-shadow:none}.bj-dropdown__search .bj-input__clear-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:4px;color:#333}.bj-dropdown__search .bj-dropdown__search-clear-icon{width:20px;height:20px;color:#333}.bj-dropdown__options{max-height:240px;padding:0 12px;margin:0 0 12px;overflow-y:auto}.bj-dropdown__options--empty{height:160px;margin-top:0;margin-bottom:12px}.bj-dropdown__option{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:0;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;white-space:nowrap;cursor:pointer}.bj-dropdown__option .bj-checkbox{margin-top:2.5px}.bj-dropdown__option .bj-checkbox__label{display:block;flex:1;min-width:0;padding-right:0;padding-left:0}.bj-dropdown__option--single{justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:0 12px;font-family:SourceHanSansCN-Normal;font-size:14px;font-style:normal;font-weight:350;line-height:21px;letter-spacing:0;text-align:left;background:transparent;border:0}.bj-dropdown__option--single:hover:not(:disabled){background:#fafafa}.bj-dropdown__option--single:disabled{color:#999;cursor:not-allowed}.bj-dropdown__option-label{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bj-dropdown__option-content{display:flex;flex:1;flex-direction:column;min-width:0}.bj-dropdown__option-description{overflow:hidden;color:#999;font-family:SourceHanSansCN-Normal;font-size:12px;font-style:normal;font-weight:350;line-height:19px;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.bj-dropdown__option-tooltip-anchor{display:block;pointer-events:none;z-index:1100}.bj-dropdown__option-tooltip.tooltip-popup,.bj-dropdown__option-tooltip.tooltip-popup .tooltip-arrow{border:0}.bj-dropdown__option-icon{flex:none;width:20px;height:20px;color:#333}.bj-dropdown__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;height:100%}.bj-dropdown__empty-image{width:68px;height:68px}.bj-dropdown__empty-text{color:#999;font-family:SourceHanSansCN-Normal;font-size:12px;font-style:normal;font-weight:350;line-height:21px;letter-spacing:0;text-align:center}.bj-dropdown__actions{display:flex;justify-content:center;gap:16px;padding:8px 12px 12px}.bj-dropdown__actions button{min-width:80px;height:28px;padding:0 12px;color:#333;font-family:SourceHanSansCN-Normal;font-size:12px;line-height:28px;background:transparent;border:0;border-radius:4px;cursor:pointer}.bj-dropdown__actions button:last-child{color:#fff;background:#333}.bj-dropdown__actions--single{display:block;padding:0}.bj-dropdown__actions--single button{width:100%;min-width:0;height:40px;color:#333;font-family:SourceHanSansCN-Normal;font-size:12px;font-style:normal;font-weight:350;line-height:19px;background:#f5f5f5;border-radius:0}.bj-dropdown__actions--single button:last-child{color:#333;background:#f5f5f5}.bj-dropdown--single .bj-dropdown__search{padding:8px}.bj-dropdown--single .bj-dropdown__options--single{max-height:240px;padding:0;margin:0}.bj-dropdown--single .bj-dropdown__options--single.bj-dropdown__options--empty{margin-bottom:20px}.bj-dropdown--double-line .bj-dropdown__options{max-height:336px}.bj-dropdown--double-line .bj-dropdown__option{min-height:56px;padding:8px 12px}.bj-dropdown--double-line .bj-dropdown__option .bj-checkbox{margin-top:0}.bj-dropdown--double-line .bj-dropdown__option--single{padding:8px 12px}.bj-dropdown--double-line .bj-dropdown__option:not(.bj-dropdown__option--single){padding:8px 0}.bj-dropdown--double-line .bj-dropdown__option-label{font-family:SourceHanSansCN-Normal;font-weight:350;line-height:21px}.bj-dropdown--double-line.bj-dropdown--single .bj-dropdown__options--single{max-height:336px}.bj-table{position:relative;width:100%;color:#333;font-family:SourceHanSansCN-Normal;font-size:12px;line-height:19px}.bj-table *,.bj-table *:before,.bj-table *:after{box-sizing:border-box}.bj-table__scroll{width:100%;overflow-x:auto}.bj-table__viewport{position:relative}.bj-table__native-table{width:100%;min-width:100%;border-spacing:0;border-collapse:separate;table-layout:fixed}.bj-table__title,.bj-table__footer{padding:12px;color:#333;background:#fff;border:1px solid #dbdbdb}.bj-table__title{border-bottom:0}.bj-table__footer{border-top:0}.bj-table__summary{position:relative;background:#fff}.bj-table__summary th,.bj-table__summary td{padding:17.5px 12px;border-bottom:1px solid #dbdbdb}.bj-table--bordered:not(.bj-table--empty) .bj-table__scroll{border:1px solid #dbdbdb}.bj-table--bordered .bj-table__native-table{border:0}.bj-table--bordered.bj-table--empty .bj-table__header{border:1px solid #dbdbdb}.bj-table--bordered.bj-table--empty .bj-table__header-row:first-child .bj-table__header-cell{border-top:1px solid #dbdbdb}.bj-table--bordered.bj-table--empty .bj-table__header-row:last-child .bj-table__header-cell{border-bottom:1px solid #dbdbdb}.bj-table--bordered.bj-table--empty .bj-table__header-cell:first-child{border-left:1px solid #dbdbdb}.bj-table--bordered.bj-table--empty .bj-table__header-cell:last-child{border-right:1px solid #dbdbdb}.bj-table__header-cell{position:relative;height:36px;padding:0 12px;color:#333;font-weight:400;text-align:left;vertical-align:middle;background:#fafafa;border-bottom:1px solid #dbdbdb}.bj-table__header-cell--sortable,.bj-table__header-cell--filterable{padding-right:8px;cursor:pointer}.bj-table__column-header{display:flex;align-items:center;justify-content:space-between;min-width:0}.bj-table__column-title{display:flex;flex:1;align-items:center;justify-content:space-between;min-width:0;padding:0;color:inherit;font:inherit;text-align:inherit}.bj-table__column-title-content{display:inline-flex;align-items:center;min-width:0;gap:4px}.bj-table__column-tooltip-wrapper{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;width:100%}.bj-table__column-tooltip-wrapper>.bj-table__column-tooltip-trigger{flex:1;display:flex;min-width:0;outline:none}.bj-table__column-tooltip-wrapper>.bj-table__column-tooltip-trigger>.bj-table__column-header{flex:1;padding:0 12px}.bj-table__column-badge-trigger{position:absolute;top:-1px;right:-1px;z-index:2;display:block;width:12px;height:12px;cursor:default;outline:none}.bj-table__column-badge-shape{display:block;width:100%;height:100%;clip-path:polygon(0 0,100% 0,100% 100%);background:#dbdbdb;pointer-events:none}.bj-table__column-tooltip.tooltip-popup--content{z-index:1000}.bj-table__column-sorter{display:inline-flex;flex:none;align-items:center;justify-content:center;margin-left:auto;color:#666}.bj-table__column-sorter-icon,.bj-table__filter-icon{width:20px;height:20px;color:#666;pointer-events:none}.bj-table__filter{position:static;flex:none}.bj-table__filter-trigger{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:0;margin-left:auto;padding:0;color:#666;font-size:12px;background:transparent;border:0;border-radius:4px;cursor:pointer;pointer-events:none}.bj-table__filter-trigger:hover{color:#666;background:#f0f0f0}.bj-table__filter-trigger--active{color:#666}.bj-table__filter-dropdown{position:fixed;z-index:100}.bj-table--bordered .bj-table__header-cell:not(:last-child),.bj-table--bordered .bj-table__cell:not(:last-child){border-right:1px solid #dbdbdb}.bj-table__cell{padding:17.5px 12px;color:#333;font-family:SourceHanSansCN-Normal;font-size:12px;line-height:19px;word-break:break-all;overflow-wrap:anywhere;vertical-align:middle;border-bottom:0;box-shadow:inset 0 -1px #dbdbdb}.bj-table__row{min-height:54px}.bj-table__body .bj-table__row:last-child .bj-table__cell{box-shadow:none}.bj-table__cell-content{min-height:19px}.bj-table__cell--fixed{background:#fff}.bj-table__header-cell.bj-table__cell--fixed{z-index:3!important;background:#fafafa}.bj-table__cell--fixed-left{border-right:1px solid #dbdbdb!important}.bj-table__cell--fixed-right{border-left:1px solid #dbdbdb;border-right:0}.bj-table__body .bj-table__cell--fixed-left,.bj-table__body .bj-table__cell--fixed-right{box-shadow:inset 0 -1px #dbdbdb}.bj-table__body .bj-table__row:last-child .bj-table__cell--fixed-left,.bj-table__body .bj-table__row:last-child .bj-table__cell--fixed-right{box-shadow:none}.bj-table__row:hover .bj-table__cell,.bj-table__row--selected .bj-table__cell{background:#fafafa}.bj-table__cell--ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal;overflow-wrap:normal}.bj-table__selection-col,.bj-table__selection-cell{width:48px;padding:0 12px;text-align:center;vertical-align:middle}.bj-table__selection-cell--fixed{position:sticky;left:0;z-index:2;background:#fff}.bj-table__header-cell.bj-table__selection-cell--fixed{z-index:4;background:#fafafa}.bj-table__body .bj-table__selection-cell{height:54px}.bj-table__selection-cell>.bj-table__selection-control{margin:auto}.bj-table__selection-cell>.bj-table__selection-checkbox{display:flex;justify-content:center;margin:auto;line-height:1}.bj-table__selection-control{position:relative;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;vertical-align:middle;cursor:pointer}.bj-table__selection-control--disabled{cursor:not-allowed;opacity:.5}.bj-table__selection-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}.bj-table__selection-box{display:flex;align-items:center;justify-content:center;width:15px;height:15px;background:transparent;border:1px solid #dbdbdb;border-radius:4px;transition:width .15s ease,height .15s ease,background .15s ease}.bj-table__selection-control--checked .bj-table__selection-box{width:16px;height:16px;background:#333;border-color:#333}.bj-table__selection-check-icon{width:14px;height:14px;color:#fff;pointer-events:none}.bj-table__selection-input:focus-visible+.bj-table__selection-box{outline:2px solid #1677ff;outline-offset:1px}.bj-table__empty-cell{height:454px;padding:0 12px;color:#999;text-align:center;vertical-align:middle;border-bottom:0}.bj-table__empty-overlay{position:absolute;top:36px;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#999;text-align:center;pointer-events:none}.bj-table__empty-content{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.bj-table__empty-image-wrap{display:flex;align-items:center;justify-content:center}.bj-table__empty-image{display:block;width:80px;height:80px;object-fit:contain;-webkit-user-select:none;user-select:none}.bj-table__empty-text{color:#999;font-size:12px;line-height:20px}.bj-table__loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;color:#6b7280;background:#fffc;pointer-events:all}.bj-table__loading-indicator{width:60px;height:60px;margin:0;-webkit-user-select:none;user-select:none}.bj-table__loading-text{font-size:13px}.bj-table__pagination{margin-top:16px}.bj-table--small .bj-table__header-cell{height:32px}.bj-table--small .bj-table__cell{min-height:40px;padding:8px 12px}
1
+ .bu-icon{width:1em;height:1em;overflow:hidden;vertical-align:-.15em;fill:currentColor}.tooltip-wrapper{position:relative;display:inline-block}.tooltip-popup{position:absolute;z-index:1000;background:#fff;border-radius:6px;box-shadow:0 4px 16px #0000001f;border:1px solid #e5e7eb;min-width:200px;max-width:280px;padding:16px}.tooltip-popup--top{bottom:calc(100% + 16px);left:50%;transform:translate(-50%)}.tooltip-popup--topLeft{bottom:calc(100% + 16px);left:0}.tooltip-popup--topRight{bottom:calc(100% + 16px);right:0}.tooltip-popup--bottom{top:calc(100% + 16px);left:50%;transform:translate(-50%)}.tooltip-popup--bottomLeft{top:calc(100% + 16px);left:0}.tooltip-popup--bottomRight{top:calc(100% + 16px);right:0}.tooltip-popup--left{right:calc(100% + 16px);top:50%;transform:translateY(-50%)}.tooltip-popup--leftTop{right:calc(100% + 16px);top:0}.tooltip-popup--leftBottom{right:calc(100% + 16px);bottom:0}.tooltip-popup--right{left:calc(100% + 16px);top:50%;transform:translateY(-50%)}.tooltip-popup--rightTop{left:calc(100% + 16px);top:0}.tooltip-popup--rightBottom{left:calc(100% + 16px);bottom:0}.tooltip-popup--light{box-shadow:0 2px 6px #0000000f}.tooltip-popup--bordered{border-color:#ebebeb;box-shadow:0 2px 8px #00000014}.tooltip-popup--tinted{background:#f5f3ff;border-color:#ddd6fe;box-shadow:0 2px 8px #8b5cf61a}.tooltip-popup--content{width:max-content;min-width:30px;min-height:32px;padding:24px;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;text-align:center;box-shadow:0 0 12px #00000014}.tooltip-popup--content .bu-tooltip-content__text{color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px}.tooltip-arrow{position:absolute;width:14px;height:14px;background:#fff;transform:rotate(45deg)}.tooltip-arrow--top{bottom:-8px;left:50%;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;border-radius:0 0 2px;transform:translate(-50%) rotate(45deg)}.tooltip-arrow--topLeft{bottom:-8px;left:16px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;border-radius:0 0 2px}.tooltip-arrow--topRight{bottom:-8px;right:16px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;border-radius:0 0 2px}.tooltip-arrow--bottom{top:-8px;left:calc(50% - 8px);border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;border-radius:2px 0 0}.tooltip-arrow--bottomLeft{top:-8px;left:16px;border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;border-radius:2px 0 0}.tooltip-arrow--bottomRight{top:-8px;right:16px;border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;border-radius:2px 0 0}.tooltip-arrow--left{right:-8px;top:calc(50% - 8px);border-top:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-radius:0 2px 0 0}.tooltip-arrow--leftTop{right:-8px;top:16px;border-top:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-radius:0 2px 0 0}.tooltip-arrow--leftBottom{right:-8px;bottom:16px;border-top:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-radius:0 2px 0 0}.tooltip-arrow--right{left:-8px;top:calc(50% - 8px);border-bottom:1px solid #e5e7eb;border-left:1px solid #e5e7eb;border-radius:0 0 0 2px}.tooltip-arrow--rightTop{left:-8px;top:16px;border-bottom:1px solid #e5e7eb;border-left:1px solid #e5e7eb;border-radius:0 0 0 2px}.tooltip-arrow--rightBottom{left:-8px;bottom:16px;border-bottom:1px solid #e5e7eb;border-left:1px solid #e5e7eb;border-radius:0 0 0 2px}.tooltip-arrow--tinted-bg{background:#f5f3ff}.tooltip-confirm__title{font-size:12px;color:#111827;margin-bottom:12px;line-height:1.5}.tooltip-confirm__actions{display:flex;align-items:center;justify-content:center;gap:30px}.tooltip-confirm__cancel{background:none;border:none;padding:0;height:24px;font-size:12px;color:#374151;cursor:pointer;border-radius:4px;transition:background-color .15s;width:60px}.tooltip-confirm__cancel:hover{background:#f3f4f6}.tooltip-confirm__ok{background:#333;border:none;padding:0;height:24px;font-size:12px;color:#fff;cursor:pointer;border-radius:6px;width:60px;font-weight:500;transition:background-color .15s}.tooltip-confirm__ok:hover{background:#374151}.tooltip-progress{min-width:220px}.tooltip-progress__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.tooltip-progress__title{font-size:12px;color:#111827;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tooltip-progress__percent{font-size:12px;color:#6b7280;font-weight:500;flex-shrink:0;margin-left:8px}.tooltip-progress__track{width:100%;height:4px;background:#e5e7eb;border-radius:2px;overflow:hidden}.tooltip-progress__fill{height:100%;width:var(--tooltip-progress, 0%);background:#333;border-radius:2px;transition:width .3s ease}.bu-tooltip-content__text{font-size:12px;color:#6b7280;line-height:1.6;overflow-wrap:break-word;margin-bottom:0}@keyframes sku-shake{0%{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}to{transform:translate(0)}}.sku-input-card{position:relative;display:flex;flex-direction:row;min-width:411px;height:100%;border:1px solid #e5e7eb;border-radius:8px;background:#fff;background-clip:padding-box}.sku-input-card--error{border-color:#fde6e9}.sku-input-card__drag{display:flex;align-items:center;justify-content:center;width:32px;flex-shrink:0;color:#333;background:#f5f5f5;cursor:grab;margin-right:12px}.sku-input-card__drag:active{cursor:grabbing}.sku-input-card__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;padding:12px 12px 12px 0}.sku-input-card__header{display:flex;align-items:center;gap:8px;background:#fff}.sku-input-card__name-wrap{position:relative;flex:1;min-width:0}.sku-input-card__name-input{width:100%;height:40px;background:#f5f5f5;border:1px solid #ebebeb;border-radius:6px;padding:0 8px;font-size:14px;color:#333;outline:none;box-sizing:border-box;-moz-appearance:none;appearance:none;-webkit-appearance:none;transition:background .2s ease,border-color .2s ease}.sku-input-card__name-input::placeholder{color:#999}.sku-input-card__name-input--with-toggle{padding-right:118px}.sku-input-card__name-input--error{border-width:3px;border-color:#fde6e9;animation:sku-shake .4s ease}.sku-input-card__name-input--error::placeholder{color:#e60023}.sku-input-card__lang-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:2px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.sku-input-card__lang-btn{height:24px;width:51px;padding:0;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:#374151;line-height:24px;text-align:center}.sku-input-card__lang-btn--active{background:#1f2937;color:#fff}.sku-input-card__lang-btn--inactive{color:#374151}.sku-input-card__delete{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:#333;background:#f3f4f6;border:none;cursor:pointer;flex-shrink:0;border-radius:4px;padding:0}.sku-input-card__delete:hover{color:#333}.sku-input-card__file-input{display:none}.sku-input-card__body{height:280px;display:flex;align-items:stretch;background:#f5f5f5;border-radius:8px;overflow:hidden}.sku-input-card__image-item{position:relative;flex:1}.sku-input-card__image-thumb{width:100%;height:100%;object-fit:cover;display:block}.sku-input-card__image-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;gap:20px;opacity:0;transition:opacity .2s ease}.sku-input-card__image-item:hover .sku-input-card__image-overlay{opacity:1}.sku-input-card__image-action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:#fff;cursor:pointer;padding:0}.sku-input-card__image-action-btn svg{width:32px;height:32px}.sku-input-card__add-btn{display:flex;align-items:center;justify-content:center;flex:1;color:#333;background:none;border:none;border-radius:4px;cursor:pointer}.sku-input-card__add-btn:hover{color:#333}.sku-input-card__upload-options{display:flex;align-items:center;justify-content:center;flex:1}.sku-input-card__upload-options-box{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 16px #0000001f;overflow:hidden}.sku-input-card__upload-opt-btn{display:flex;align-items:center;justify-content:center;width:140px;height:45px;padding:0;background:none;border:none;cursor:pointer;font-size:13px;color:#6b7280;transition:background .15s ease,color .15s ease}.sku-input-card__upload-opt-btn:hover{background:#f3f4f6;color:#111827}.sku-input-card__dropdown{position:absolute;top:calc(100% + 8px);left:0;width:100%;z-index:100}.sku-input-card__dropdown-list{background:#fff;border-radius:6px;box-shadow:0 4px 16px #0000001f;max-height:216px;overflow-y:auto;padding-right:4px;box-sizing:border-box}.sku-input-card__dropdown-list::-webkit-scrollbar-track{margin:4px 0}.sku-input-card__dropdown-list::-webkit-scrollbar{width:4px}.sku-input-card__dropdown-list::-webkit-scrollbar-thumb{background-color:#dbdbdb;background-clip:padding-box;border:1px solid transparent;border-radius:2px / 2}.sku-input-card__dropdown-item{height:40px;display:flex;align-items:center;box-sizing:border-box;padding:8px 12px;font-size:13px;color:#333;cursor:pointer;transition:background .15s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:6px}.sku-input-card__dropdown-item:hover{background:#f5f5f5;border-radius:6px}.sku-input-card__dropdown-item--disabled{color:#999;cursor:not-allowed}.sku-input-card__dropdown-item--disabled:hover{background:transparent}.sku-input-card__dropdown-item--selected{font-weight:600;background:#f5f5f5}.sku-input-card__dropdown-highlight{font-weight:600}.sku-input-card__loading{display:flex;align-items:center;justify-content:center;flex:1;background:#f5f5f5}.sku-input-card__loading-img{width:48px;height:48px}@keyframes bu-input-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bu-input-shake{0%{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}to{transform:translate(0)}}.bu-input{box-sizing:border-box;display:flex;flex-direction:column;gap:4px}.bu-input *{box-sizing:border-box}.bu-input__label{display:flex;align-items:center;gap:2px;font-size:13px;color:#333;font-weight:500;line-height:1.5}.bu-input__required{color:#ef4444;font-size:13px;line-height:1.5}.bu-input__row{display:flex;align-items:stretch}.bu-input__icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;min-width:40px;background:#fff;border:1px solid #ebebeb;color:#333;box-sizing:border-box}.bu-input__icon--left{border-right:none;border-radius:6px 0 0 6px}.bu-input__icon--right{border-left:none;border-radius:0 6px 6px 0}.bu-input__box{position:relative;flex:1;background:#f5f5f5;border:1px solid #ebebeb;border-radius:6px;padding:8px 12px;transition:border-color .2s ease;box-sizing:border-box}.bu-input__box--error{border-width:3px;border-color:#fde6e9;padding:6px 10px;animation:bu-input-shake .4s ease}.bu-input__box--error .bu-input__field::placeholder{color:#f87171}.bu-input__box--disabled{background:#f0f0f0;cursor:not-allowed}.bu-input__box--single{height:40px}.bu-input__box--number{padding-right:36px}.bu-input__box--number.bu-input__box--error{padding-right:34px}.bu-input__box--has-left{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.bu-input__box--has-right{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.bu-input__field{flex:1;width:100%;background:transparent;border:none;outline:none;padding:0;font-size:14px;color:#333;line-height:22px;-moz-appearance:none;appearance:none;-webkit-appearance:none;resize:none;box-sizing:border-box}.bu-input__field::placeholder{color:#999}.bu-input__field:disabled{cursor:not-allowed;color:#999}.bu-input__field--input{height:100%}.bu-input__field--textarea{min-height:80px;padding-bottom:36px}.bu-input__footer{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:10px}.bu-input__footer--bottom{top:auto;transform:none;bottom:8px}.bu-input__count{font-size:12px;color:#999;line-height:1;-webkit-user-select:none;user-select:none}.bu-input__translating{display:flex;align-items:center;gap:4px;font-size:12px;color:#999;-webkit-user-select:none;user-select:none}.bu-input__translating-icon{width:12px;height:12px;flex-shrink:0;animation:bu-input-spin 1s linear infinite}.bu-input__translated{display:flex;align-items:center;gap:4px;font-size:12px;color:#16a34a;-webkit-user-select:none;user-select:none}.bu-input__translated svg{width:14px;height:14px;flex-shrink:0}.bu-input__lang-toggle{display:flex;align-items:center;gap:2px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.bu-input__lang-btn{height:22px;width:44px;padding:0;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:#374151;line-height:22px;text-align:center}.bu-input__lang-btn--active{background:#1f2937;color:#fff}.bu-input__stepper{position:absolute;right:0;top:0;bottom:0;width:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3.3px;box-sizing:border-box}.bu-input__stepper-btn{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;color:#6b7280;padding:0;line-height:1}.bu-input__stepper-btn:disabled{cursor:not-allowed;color:#ebebeb}.bu-input__error-msg{display:flex;align-items:center;gap:4px;font-size:12px;color:#ef4444;line-height:1.4;margin-top:2px}.bu-input__error-icon{flex-shrink:0;width:14px;height:14px}.bj-input{width:100%;height:40px;padding:0 8px;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;background:#fff;border:1px solid #ebebeb;border-radius:8px;outline:none}.bj-input::placeholder{color:#999}.bj-input--small{height:32px}.bj-input--large{height:48px}.bj-input--disabled{color:#999;background:#f0f0f0;cursor:not-allowed}.bj-input--borderless{border-color:transparent}.bj-input--error{border-color:#ef4444}.bj-input--warning{border-color:#f59e0b}.bj-input__affix-wrapper{display:inline-flex;align-items:center;width:100%;height:40px;gap:4px;padding:0 8px;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;background:#fff;border:1px solid #ebebeb;border-radius:8px}.bj-input__affix-wrapper:not(.bj-input__affix-wrapper--error):not(.bj-input__affix-wrapper--readonly):not(:has(input[readonly])):not(:has(textarea[readonly])):not(:has(input:disabled)):not(:has(textarea:disabled)):hover,.bj-input__affix-wrapper:not(.bj-input__affix-wrapper--error):not(.bj-input__affix-wrapper--readonly):not(:has(input[readonly])):not(:has(textarea[readonly])):not(:has(input:disabled)):not(:has(textarea:disabled)):focus-within{box-shadow:0 0 0 1px #dbdbdb}.bj-input__affix-wrapper--disabled{color:#999;background:#f0f0f0;cursor:not-allowed}.bj-input__affix-wrapper--small{height:32px}.bj-input__affix-wrapper--middle{padding-right:4px;padding-left:4px}.bj-input__affix-wrapper--large{height:48px}.bj-input__affix-wrapper--error{border-color:#ef4444}.bj-input__affix-wrapper--warning{border-color:#f59e0b}.bj-input__affix-wrapper>.bj-input{height:auto;padding:0;line-height:21px;background:transparent;border:0}.bj-input__affix-wrapper>.bj-input:hover,.bj-input__affix-wrapper>.bj-input:focus{box-shadow:none}.bj-input__prefix,.bj-input__suffix{display:flex;flex:none;align-items:center;color:#999}.bj-input__prefix .bu-icon,.bj-input__suffix .bu-icon{width:20px;height:20px;color:#999}.bj-input__clear-icon{padding:0;color:#999;font:inherit;background:transparent;border:0;cursor:pointer}.bj-input__clear-icon:hover{color:#6b7280}.bj-input__clear-icon:active{color:#333}.bj-input__clear-icon--hidden{visibility:hidden}.bj-input__group-wrapper{display:inline-block;width:100%}.bj-input__group{display:flex;width:100%}.bj-input__group>.bj-input,.bj-input__group>.bj-input__affix-wrapper{flex:1;min-width:0;border-radius:0}.bj-input__group-addon{display:flex;flex:none;align-items:center;padding:0 12px;color:#333;background:#f5f5f5;border:1px solid #ebebeb}.bj-input__group-addon:first-child{border-radius:8px 0 0 8px}.bj-input__group-addon:last-child{border-radius:0 8px 8px 0}.bj-tabs{display:flex;width:100%;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px}.bj-tabs__nav{position:relative;display:flex;flex:none;align-items:center}.bj-tabs__nav-wrap{display:flex;flex:auto;align-self:stretch;overflow:auto hidden;white-space:nowrap}.bj-tabs__nav-list{position:relative;display:flex;gap:32px}.bj-tabs__tab{position:relative;display:inline-flex;align-items:center;height:45px;padding:0 4px;color:#666;font:inherit;background:transparent;border:0;outline:0;cursor:pointer}.bj-tabs__tab--active{color:#333}.bj-tabs__tab--active .bj-tabs__tab-btn{font-family:SourceHanSansCN-Medium}.bj-tabs__tab--active .bj-tabs__tab-btn:after{position:absolute;right:0;bottom:0;left:0;height:2px;background:#333;content:"";pointer-events:none}.bj-tabs__tab--disabled{color:#999;cursor:not-allowed}.bj-tabs__tab-btn{position:relative;display:inline-flex;align-items:center;height:100%;outline:none}.bj-tabs__content-holder{flex:auto;min-width:0;min-height:0}.bj-tabs__content{position:relative;width:100%}.bj-tabs__tabpane{display:none;outline:none}.bj-tabs__tabpane--active{display:block}.bj-tabs__sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.bj-tabs--top,.bj-tabs--bottom{flex-direction:column}.bj-tabs--top>.bj-tabs__nav,.bj-tabs--bottom>.bj-tabs__nav{width:100%;border-bottom:1px solid #ebebeb}.bj-tabs--bottom>.bj-tabs__nav{order:1;border-top:1px solid #ebebeb;border-bottom:0}.bj-tabs--bottom>.bj-tabs__content-holder{order:0}.bj-tabs--left>.bj-tabs__nav,.bj-tabs--right>.bj-tabs__nav{flex-direction:column;min-width:48px}.bj-tabs--left .bj-tabs__nav-wrap,.bj-tabs--right .bj-tabs__nav-wrap{overflow:hidden auto}.bj-tabs--left .bj-tabs__nav-list,.bj-tabs--right .bj-tabs__nav-list{flex-direction:column}.bj-tabs--left .bj-tabs__tab,.bj-tabs--right .bj-tabs__tab{justify-content:center}.bj-tabs--left>.bj-tabs__nav{border-right:1px solid #ebebeb}.bj-tabs--left>.bj-tabs__content-holder{padding-left:16px}.bj-tabs--right>.bj-tabs__nav{order:1;border-left:1px solid #ebebeb}.bj-tabs--right>.bj-tabs__content-holder{order:0;padding-right:16px}.bj-tabs--centered>.bj-tabs__nav .bj-tabs__nav-wrap{justify-content:center}.bj-tabs--card>.bj-tabs__nav .bj-tabs__tab{margin:0;background:#f5f5f5;border:1px solid #ebebeb}.bj-tabs--card>.bj-tabs__nav .bj-tabs__tab--active{background:#fff}.bj-tabs--card .bj-tabs__tab--active .bj-tabs__tab-btn:after{display:none}.bj-tabs--card.bj-tabs--top>.bj-tabs__nav .bj-tabs__tab{border-radius:4px 4px 0 0}.bj-tabs--card.bj-tabs--bottom>.bj-tabs__nav .bj-tabs__tab{border-radius:0 0 4px 4px}.bj-tabs--card.bj-tabs--left>.bj-tabs__nav .bj-tabs__tab{border-radius:4px 0 0 4px}.bj-tabs--card.bj-tabs--right>.bj-tabs__nav .bj-tabs__tab{border-radius:0 4px 4px 0}@keyframes bu-eib-shake{0%{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}to{transform:translate(0)}}.bu-eib{display:block}.bu-eib__box{position:relative;display:block;height:40px;background:#f5f5f5;border:1px solid #ebebeb;border-radius:6px;padding:0 12px;box-sizing:border-box;transition:border-color .2s ease}.bu-eib__box--actions-delete{padding-right:40px}.bu-eib__box--actions-toggle{padding-right:114px}.bu-eib__box--actions-both{padding-right:142px}.bu-eib__box--error{border-width:3px;border-color:#fde6e9;padding-left:10px;padding-top:0;padding-bottom:0;animation:bu-eib-shake .4s ease}.bu-eib__box--error.bu-eib__box--actions-delete{padding-right:38px}.bu-eib__box--error.bu-eib__box--actions-toggle{padding-right:112px}.bu-eib__box--error.bu-eib__box--actions-both{padding-right:140px}.bu-eib__box--error .bu-eib__field::placeholder{color:#f87171}.bu-eib__box--disabled{background:#f0f0f0;cursor:not-allowed}.bu-eib__field{display:block;width:100%;height:100%;background:transparent;border:none;outline:none;padding:0;font-size:14px;color:#333;line-height:40px;-moz-appearance:none;appearance:none;-webkit-appearance:none;box-sizing:border-box}.bu-eib__field::placeholder{color:#999}.bu-eib__field:disabled{cursor:not-allowed;color:#999}.bu-eib__actions{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:4px}.bu-eib__lang-toggle{display:flex;align-items:center;flex-shrink:0;gap:2px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.bu-eib__lang-btn{height:22px;width:44px;padding:0;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:#374151;line-height:22px;text-align:center}.bu-eib__lang-btn--active{background:#1f2937;color:#fff}.bu-eib__delete{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:transparent;cursor:pointer;color:#333;border-radius:4px}.bu-eib__delete:hover{background:#f3f4f6}@keyframes bu-modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes bu-modal-slide-in{0%{opacity:0;transform:translateY(-12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.bu-modal__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000;animation:bu-modal-fade-in .18s ease}.bu-modal__container{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000001f;width:480px;min-width:320px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;animation:bu-modal-slide-in .2s ease;overflow:hidden}.bu-modal__header{display:flex;align-items:center;height:64px;padding:0 20px;flex-shrink:0;gap:8px}.bu-modal__title{flex:1;font-size:15px;font-weight:500;color:#111827;line-height:1.4;margin:0}.bu-modal__lang-toggle{display:flex;align-items:center;flex-shrink:0;gap:2px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.bu-modal__lang-btn{height:22px;width:40px;padding:0;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:#374151;line-height:22px;text-align:center;transition:background .15s ease,color .15s ease}.bu-modal__lang-btn--active{background:#1f2937;color:#fff}.bu-modal__close{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;cursor:pointer;color:#333;border-radius:100px;font-size:20px;line-height:1;transition:background .15s ease,color .15s ease}.bu-modal__close svg{width:24px;height:24px}.bu-modal__close:hover{background:#f3f4f6;color:#333}.bu-modal__body{flex:1;padding:0 20px;min-height:63px;color:#333;font-size:14px;line-height:1.6}.bu-modal__footer{display:flex;flex-direction:column;align-items:center;padding:60px 20px 24px;gap:10px}.bu-modal__hint{font-size:12px;color:#999;line-height:1.5;text-align:center;margin:0}.bu-modal__btn-row{display:flex;align-items:center;justify-content:center;gap:32px}.bu-modal__btn-cancel{height:34px;padding:0 8px;min-width:88px;border:none;border-radius:6px;background:transparent;color:#374151;font-size:14px;font-weight:400;cursor:pointer;line-height:34px}.bu-modal__btn-ok{height:34px;min-width:88px;padding:0 8px;border:none;border-radius:6px;background:#333;color:#fff;font-size:14px;font-weight:500;cursor:pointer;line-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:4px;transition:opacity .15s ease}.bu-modal__btn-ok--loading{opacity:.65;cursor:not-allowed}.bu-modal__btn-ok:disabled{cursor:not-allowed}.bu-modal__btn-ok-spinner{display:inline-block;width:14px;height:14px;border:2px solid #ffffff;border-right-color:transparent;border-radius:50%;animation:bu-modal-spin .6s linear infinite;flex-shrink:0}@keyframes bu-modal-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}html ::-webkit-scrollbar-button{display:none;height:0;width:0}html ::-webkit-scrollbar-track{-webkit-border-radius:10px;border-radius:10px}html ::-webkit-scrollbar-thumb{-webkit-border-radius:10px;border-radius:50px;-webkit-box-shadow:inset 0 0 6px #E2E2E2}.bu-pf{position:relative;display:block;-webkit-user-select:none;user-select:none}.bu-pf ::-webkit-scrollbar-button{display:none;height:0;width:0}.bu-pf__trigger{display:flex;align-items:flex-start;min-height:40px;padding:6px 8px 6px 12px;background:#f5f5f5;border:1px solid #ebebeb;border-radius:6px;cursor:pointer;gap:8px;box-sizing:border-box;overflow:hidden}.bu-pf__trigger--selected{background:#f5f5f5;border-color:#f5f5f5}.bu-pf__trigger-tags{flex:1;display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;align-content:flex-start;max-height:94px;overflow-y:auto;overflow-x:hidden;padding-right:4px}.bu-pf__trigger-tags::-webkit-scrollbar{width:4px}.bu-pf__trigger-tags::-webkit-scrollbar-track{background:transparent}.bu-pf__trigger-tags::-webkit-scrollbar-thumb{background:#ebebeb;border-radius:2px}.bu-pf__trigger-tags::-webkit-scrollbar-button{display:none;height:0;width:0}.bu-pf__placeholder{flex:1;align-self:center;font-size:14px;color:#999;line-height:1}.bu-pf__arrow{flex-shrink:0;align-self:center;color:#999;display:flex;align-items:center;transition:transform .2s ease}.bu-pf__arrow--open{transform:rotate(180deg)}.bu-pf__panel{border-radius:6px;background:#f5f5f5}.bu-pf__dropdown{background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 0 12px #00000014;overflow:hidden}.bu-pf__header{display:flex;align-items:center;padding:6px 8px 6px 12px;min-height:40px;box-sizing:border-box;gap:8px;overflow:hidden;background:#f5f5f5;border-radius:8px;border:1px solid #DBDBDB}.bu-pf__tags{flex:1;display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;align-content:flex-start;max-height:94px;overflow-y:auto;overflow-x:hidden;padding-right:4px}.bu-pf__tags::-webkit-scrollbar{width:4px}.bu-pf__tags::-webkit-scrollbar-track{background:transparent}.bu-pf__tags::-webkit-scrollbar-thumb{background:#ebebeb;border-radius:2px}.bu-pf__tags::-webkit-scrollbar-button{display:none;height:0;width:0}.bu-pf__placeholder-inline{font-size:14px;color:#999;line-height:26px}.bu-pf__tag{display:inline-flex;align-items:center;height:26px;padding:0 6px 0 8px;background:#f5f5f5;border:1px solid #e5e7eb;border-radius:4px;gap:4px;cursor:default;min-width:250px}.bu-pf__tag--single{width:100%;border:none;border-radius:0;background:transparent;padding:0;min-width:0}.bu-pf__tag-text{font-size:13px;color:#333;line-height:1;white-space:nowrap}.bu-pf__tag-close{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;background:#99999973!important;cursor:pointer;color:#fff;flex-shrink:0;border-radius:9999px;margin-left:auto}.bu-pf__tag-close svg{width:16px;height:16px}.bu-pf__close{flex-shrink:0;align-self:center;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:transparent!important;cursor:pointer;color:#999;border-radius:9999px;transform:rotate(180deg)}.bu-pf__close:hover{background:transparent!important;color:#333}.bu-pf__toolbar{display:flex;align-items:center;gap:8px;padding:12px 12px 16px}.bu-pf__search{flex:1;display:flex;align-items:center;gap:6px;height:40px;padding:0 10px;background:#fff;border:1px solid #ebebeb;border-radius:8px}.bu-pf__search-icon{flex-shrink:0;color:#999;display:flex;align-items:center}.bu-pf__search-input{flex:1;border:none;background:transparent;outline:none;font-size:13px;color:#333;line-height:1;min-width:0}.bu-pf__search-input::placeholder{color:#c4c4c4}.bu-pf__sort-wrap{position:relative;flex-shrink:0}.bu-pf__sort-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:4px;background:#f5f5f5;cursor:pointer;color:#999}.bu-pf__sort-dropdown{position:absolute;top:calc(100% + 4px);right:0;min-width:100px;background:#fff;border-radius:6px;box-shadow:0 4px 16px #0000001f;z-index:1000;overflow:hidden}.bu-pf__sort-option{padding:10px 16px;font-size:13px;color:#333;cursor:pointer;white-space:nowrap;text-align:center}.bu-pf__sort-option:hover{background:#f5f5f5}.bu-pf__sort-option--active{background:#f5f5f5;font-weight:500}.bu-pf__no-match{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 0 24px}.bu-pf__no-match-img{width:80px;height:80px;object-fit:contain}.bu-pf__no-match-text{font-size:14px;color:#999;margin:0 0 4px;font-weight:350}.bu-pf__no-match-hint{font-size:12px;color:#999;margin:0}.bu-pf__manage-btn{display:inline;border:none;background:transparent;padding:0;font-size:12px;font-weight:600;color:#333;cursor:pointer}.bu-pf__list{max-height:300px;overflow-y:auto;margin-bottom:8px;width:calc(100% - 12px);display:flex;flex-direction:column;gap:12px}.bu-pf__list::-webkit-scrollbar{width:4px}.bu-pf__list::-webkit-scrollbar-button{height:0;width:0}.bu-pf__list::-webkit-scrollbar-track{background:transparent}.bu-pf__list::-webkit-scrollbar-thumb{border-radius:2px}.bu-pf__option{display:flex;align-items:center;height:40px;flex-shrink:0;padding:0 12px;gap:10px;cursor:pointer}.bu-pf__option:not(.bu-pf__option--multiple):hover{background:#f3f4f6}.bu-pf__option--selected{background:#f3f4f6}.bu-pf__checkbox-img{flex-shrink:0;width:16px;height:16px;display:block}.bu-pf__option-label{flex:1;font-size:14px;color:#333;line-height:1}.bu-pf__add-row{border-top:1px solid #f3f4f6;cursor:pointer}.bu-category-dropdown{position:relative;display:inline-block;min-width:110px;max-width:300px}.bu-category-dropdown__trigger{display:flex;align-items:center;gap:8px;height:40px;min-width:110px;max-width:300px;padding:0 8px;background:#fff;border:1px solid #ebebeb;border-radius:8px;cursor:pointer;box-sizing:border-box;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;text-align:left}.bu-category-dropdown__trigger:hover:not(:disabled){border-color:#ebebeb;box-shadow:inset 0 0 0 2px #ebebeb}.bu-category-dropdown__trigger--open{border-color:#ebebeb;background:#f5f5f5;box-shadow:inset 0 0 0 2px #ebebeb}.bu-category-dropdown__trigger--has-value{background:#f5f5f5}.bu-category-dropdown__trigger:disabled{background:#f0f0f0;cursor:not-allowed}.bu-category-dropdown__trigger-label{display:block;width:100%;font-size:14px;line-height:21px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bu-category-dropdown__trigger-label--placeholder{color:#999}.bu-category-dropdown__trigger-chevron{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:16px;color:#6b7280;transition:transform .2s ease}.bu-category-dropdown__trigger-chevron--open{transform:rotate(180deg)}.bu-category-dropdown__portal{background:#fff;border-radius:8px;padding:4px;box-shadow:0 4px 16px #0000001f;border:1px solid #ebebeb;z-index:1100}.bu-category-dropdown__panel{display:flex;align-items:stretch}.bu-category-dropdown__divider{width:1px;flex-shrink:0;background:#ebebeb;align-self:stretch}.bu-category-dropdown__col{display:flex;flex-direction:column;align-items:stretch;flex-shrink:0;gap:2px;padding:0 8px 0 0;overflow-x:hidden}.bu-category-dropdown__col--indent{padding-left:8px}.bu-category-dropdown__col--last{padding-right:0}.bu-category-dropdown__col--scrollable{max-height:250px;overflow-y:auto;overflow-x:hidden;padding-right:4px}.bu-category-dropdown__col--scrollable::-webkit-scrollbar{width:3px;height:3px;background-color:transparent}.bu-category-dropdown__col--scrollable::-webkit-scrollbar-button{display:none;height:0;width:0;background:transparent}.bu-category-dropdown__col--scrollable::-webkit-scrollbar-track{background-color:transparent;box-shadow:inset 0 0 6px transparent;border-radius:9999px}.bu-category-dropdown__col--scrollable::-webkit-scrollbar-thumb{background-color:transparent;box-shadow:inset 0 0 6px transparent;border-radius:9999px}.bu-category-dropdown__col--scrollable.bu-category-dropdown__col--scrollbar-visible::-webkit-scrollbar-thumb{background-color:#b3b3b3}.bu-category-dropdown__item{display:flex;align-items:center;gap:8px;height:40px;min-width:110px;max-width:300px;padding:0 8px;border:none;border-radius:8px;background:#fff;cursor:pointer;box-sizing:border-box;transition:background .15s ease;text-align:left;flex-shrink:0}.bu-category-dropdown__item:hover:not(:disabled){background:#f5f5f5}.bu-category-dropdown__item--selected-branch,.bu-category-dropdown__item--selected-leaf{background:#f5f5f5}.bu-category-dropdown__item--disabled{cursor:not-allowed;opacity:.45}.bu-category-dropdown__item-label{display:block;width:100%;font-size:14px;line-height:21px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bu-category-dropdown__item-arrow{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;color:#6b7280}.bu-category-dropdown__tooltip.tooltip-popup,.bu-category-dropdown__tooltip.tooltip-popup .tooltip-arrow{border:none}.pagination{display:flex;align-items:center;gap:16px;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;color:#111827;-webkit-user-select:none;user-select:none}.pagination.pagination-start{justify-content:flex-start}.pagination.pagination-center{justify-content:center}.pagination.pagination-end{justify-content:flex-end}.pagination.pagination-small .pagination-item{min-width:24px;height:24px;padding:0 6px;font-size:inherit}.pagination.pagination-small .pagination-prev,.pagination.pagination-small .pagination-next{width:24px;min-width:24px;height:24px;padding:0}.pagination.pagination-medium .pagination-item{min-width:32px;height:32px;padding:0 8px;font-size:inherit}.pagination.pagination-large .pagination-item{min-width:40px;height:40px;padding:0 10px;font-size:inherit}.pagination.pagination-disabled{opacity:.5;pointer-events:none}.pagination .pagination-total{color:#111827}.pagination .pagination-list{display:flex;align-items:center;gap:4px}.pagination .pagination-item{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:4px;background:transparent;color:#111827;cursor:pointer;transition:all .2s;outline:none}.pagination .pagination-item:hover:not(:disabled):not(.pagination-ellipsis){background:#f3f4f6}.pagination .pagination-item:disabled{cursor:not-allowed;opacity:.5}.pagination .pagination-item.pagination-item-active{background:#f5f5f5;color:#111827}.pagination .pagination-item.pagination-ellipsis{cursor:default;pointer-events:none}.pagination .pagination-item.pagination-prev svg,.pagination .pagination-item.pagination-next svg{display:block}.pagination .pagination-item.pagination-prev:not(:disabled),.pagination .pagination-item.pagination-next:not(:disabled){background:#fff;border-radius:4px}.pagination .pagination-sizer{display:flex;align-items:center;position:relative}.pagination .pagination-sizer .pagination-sizer-select{display:inline-flex;align-items:center;position:relative;min-width:100px;height:32px;box-sizing:border-box;padding:4px 28px 4px 8px;border:1px solid #ebebeb;border-radius:8px;background:transparent;color:#111827;font-family:inherit;font-size:inherit;line-height:inherit;cursor:pointer;outline:none;transition:all .2s;text-align:left;white-space:nowrap}.pagination .pagination-sizer .pagination-sizer-select:disabled{cursor:not-allowed;opacity:.5}.pagination .pagination-sizer .pagination-sizer-select .pagination-sizer-icon{position:absolute;top:50%;right:4px;pointer-events:none;transform:translateY(-50%);transition:transform .2s}.pagination .pagination-sizer .pagination-sizer-select .pagination-sizer-icon.pagination-sizer-icon-open{transform:translateY(-50%) rotate(180deg)}.pagination .pagination-jumper{display:flex;align-items:center;gap:4px}.pagination .pagination-jumper .pagination-jumper-input{width:56px;height:32px;box-sizing:border-box;padding:4px 8px;border:1px solid #ebebeb;border-radius:8px;background:transparent;color:#111827;font-family:inherit;font-size:inherit;line-height:inherit;text-align:center;outline:none;transition:border-color .2s}.pagination .pagination-jumper .pagination-jumper-input:hover:not(:disabled){border-color:#d1d5db}.pagination .pagination-jumper .pagination-jumper-input:disabled{cursor:not-allowed;opacity:.5}.pagination .pagination-jumper .pagination-jumper-input::-webkit-inner-spin-button,.pagination .pagination-jumper .pagination-jumper-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pagination .pagination-jumper .pagination-jumper-input::-moz-inner-spin-button,.pagination .pagination-jumper .pagination-jumper-input::-moz-outer-spin-button{-moz-appearance:none;margin:0}.pagination.pagination-simple{display:inline-block}.pagination.pagination-simple .pagination-simple-list{display:inline-flex;align-items:center;justify-content:center;background:#f5f5f5;border-radius:8px;padding:0;gap:8px}.pagination.pagination-simple .pagination-simple-item{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:#111827;cursor:pointer;transition:all .2s;outline:none}.pagination.pagination-simple .pagination-simple-item:hover:not(:disabled){background:#0000000d}.pagination.pagination-simple .pagination-simple-item:disabled{cursor:not-allowed;opacity:.5}.pagination.pagination-simple .pagination-simple-item svg{display:block}.pagination.pagination-simple .pagination-simple-text{color:#111827;font-family:inherit;font-size:inherit;line-height:inherit;padding:0 8px}.pagination-sizer-dropdown{width:116px;background:#fff;border-radius:8px;box-shadow:0 0 12px #00000024;z-index:100;overflow:hidden;padding:4px}.pagination-sizer-option{display:block;width:100%;padding:10px;border:none;background:transparent;color:#111827;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;text-align:center;cursor:pointer;transition:background-color .2s;white-space:nowrap;border-radius:6px;height:40px;display:flex;align-items:center;justify-content:center}.pagination-sizer-option:hover{background:#f3f4f6}.pagination-sizer-option[data-selected=true]{background:#f5f5f5}.dark .pagination,.dark .pagination .pagination-item{color:#fff}.dark .pagination .pagination-item:hover:not(:disabled):not(.pagination-ellipsis){background:#ffffff1a}.dark .pagination .pagination-item.pagination-item-active{background:#ffffff1a;color:#fff}.dark .pagination .pagination-total{color:#fff}.dark .pagination .pagination-sizer .pagination-sizer-select{background:transparent;border-color:#ffffff1a;color:#fff}.dark .pagination .pagination-sizer .pagination-sizer-icon{color:#ffffff80}.dark .pagination .pagination-jumper .pagination-jumper-input{background:transparent;border-color:#ffffff1a;color:#fff}.dark .pagination .pagination-jumper .pagination-jumper-input:hover:not(:disabled){border-color:#fff3}.dark .pagination.pagination-simple .pagination-simple-list{background:#ffffff0d}.dark .pagination.pagination-simple .pagination-simple-item{color:#fff}.dark .pagination.pagination-simple .pagination-simple-item:hover:not(:disabled){background:#ffffff1a}.dark .pagination.pagination-simple .pagination-simple-text{color:#fff}.file-card{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;width:210px;display:flex;flex-direction:column;gap:8px}.file-card .file-card__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0006;border-radius:inherit;display:flex;align-items:center;justify-content:center;gap:20px;opacity:0;transition:opacity .18s;pointer-events:none}.file-card .file-card__overlay-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#fff;cursor:pointer;border-radius:6px;padding:0;pointer-events:auto;transition:background .15s}.file-card .file-card__overlay-btn:hover{background:#fff3}.file-card .file-card__name-area{display:flex;align-items:flex-start;gap:4px;padding:4px 8px;height:50px}.file-card .file-card__name-area--editing{background:#fff;border:1px solid #ebebeb;border-radius:4px;padding:4px 8px;height:50px;display:flex;align-items:flex-start}.file-card .file-card__filename{flex:1;font-size:14px;line-height:1.5;color:#111827;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;padding:0;margin:0;box-sizing:border-box;vertical-align:top}.file-card .file-card__edit-input{flex:1;height:42px;padding:0;font-size:14px;line-height:1.5;color:#111827;border:none;border-radius:0;outline:none;background:transparent;resize:none;overflow-y:auto;scrollbar-width:none;box-sizing:border-box;vertical-align:top}.file-card .file-card__edit-input::-webkit-scrollbar{display:none}.file-card .file-card__edit-input:focus{outline:none}.file-card--pdf .file-card__pdf-preview{position:relative;height:138px;background:#d1d5db;border-radius:4px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;cursor:pointer;overflow:hidden;transition:box-shadow .2s}.file-card--pdf .file-card__pdf-preview:hover{box-shadow:0 4px 16px #0000001f}.file-card--pdf .file-card__pdf-preview:hover .file-card__overlay{opacity:1}.file-card--pdf .file-card__pdf-label{width:100%;padding:8px 10px;background:#1f2937;display:flex;align-items:center;justify-content:center;flex-shrink:0}.file-card--pdf .file-card__pdf-label span{font-size:14px;font-weight:350;color:#fff;letter-spacing:.3px}.file-card--other .file-card__other-preview{position:relative;height:138px;background:#fff;border:1px solid #ebebeb;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;transition:box-shadow .2s}.file-card--other .file-card__other-preview:hover{box-shadow:0 2px 6px #0000000f}.file-card--other .file-card__other-preview:hover .file-card__overlay{opacity:1}.file-card--other .file-card__image-thumb{width:100%;height:100%;object-fit:cover}.dark .file-card--pdf .file-card__pdf-preview{background:#2a2a2a}.dark .file-card--pdf .file-card__pdf-preview:hover{box-shadow:0 4px 12px #0006}.dark .file-card--pdf .file-card__pdf-label{background:#1a1a1a}.dark .file-card--other .file-card__other-preview{background:#1f1f1f;border-color:#303030}.dark .file-card--other .file-card__other-preview:hover{box-shadow:0 2px 8px #0000004d}.dark .file-card .file-card__filename{color:#e8e8e8}.dark .file-card .file-card__name-area--editing{background:#1f1f1f;border-color:#404040;padding:4px 8px;height:50px;display:flex;align-items:flex-start}.dark .file-card .file-card__edit-input{background:transparent;color:#e8e8e8;border:none;border-radius:0;height:42px;padding:0;font-size:14px;line-height:1.5;resize:none;overflow-y:auto;scrollbar-width:none;box-sizing:border-box;vertical-align:top}.dark .file-card .file-card__edit-input::-webkit-scrollbar{display:none}.dark .file-card .file-card__edit-input:focus{outline:none}.bu-switch{--bu-switch-light-on: #333333;--bu-switch-light-off: #CCCCCC;--bu-switch-dark-on: #e60023;--bu-switch-dark-off: rgba(255, 255, 255, .25);--bu-switch-track-bg: #CCCCCC;position:relative;display:inline-block;box-sizing:border-box;width:32px;min-width:32px;height:16px;padding:0;border:none;border-radius:9999px;background:var(--bu-switch-track-bg);cursor:pointer;transition:background .2s cubic-bezier(.4,0,.2,1);outline:none;vertical-align:middle;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.bu-switch--disabled{cursor:not-allowed;opacity:.5}.bu-switch--loading{cursor:wait}.bu-switch__track{display:flex;align-items:center;width:100%;height:100%;padding:2px;box-sizing:border-box}.bu-switch__thumb{position:relative;flex-shrink:0;width:12px;height:12px;border-radius:9999px;background:#fff;box-shadow:0 1px 3px #00000026;transition:transform .2s cubic-bezier(.4,0,.2,1);transform:translate(0)}.bu-switch--checked .bu-switch__thumb{transform:translate(16px)}.bu-switch__loading-icon{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#999;animation:bu-switch-spin .8s linear infinite}.bu-switch__loading-icon svg{width:10px;height:10px}@keyframes bu-switch-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.bu-switch__label{flex:1;display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;overflow:hidden;white-space:nowrap;line-height:1;min-width:0;padding:0 2px}.bu-switch__label--left{justify-content:flex-start}.bu-switch__label--right{justify-content:flex-end}.bj-input-number{box-sizing:border-box;position:relative;display:inline-flex;align-items:center;width:100%;min-width:90px;background:#f5f5f5;border:1px solid #ebebeb;border-radius:8px;padding:8px 12px;transition:border-color .2s ease}.bj-input-number *{box-sizing:border-box}.bj-input-number:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px;pointer-events:none;transition:box-shadow .2s ease}.bj-input-number:hover:not(.bj-input-number--disabled):not(.bj-input-number--readonly):after,.bj-input-number:active:not(.bj-input-number--disabled):not(.bj-input-number--readonly):after{box-shadow:inset 0 0 0 2px #ebebeb}.bj-input-number--focused{border-color:#ebebeb}.bj-input-number--focused:after{box-shadow:inset 0 0 0 2px #ebebeb}.bj-input-number--small{height:32px;font-size:13px}.bj-input-number--middle{height:40px;font-size:14px}.bj-input-number--large{height:48px;font-size:15px}.bj-input-number--disabled{background:#f0f0f0;cursor:not-allowed}.bj-input-number--disabled:hover{border-color:#ebebeb}.bj-input-number--readonly{background:#f3f4f6}.bj-input-number--borderless{border-color:transparent;background:transparent}.bj-input-number--borderless.bj-input-number--focused{box-shadow:none}.bj-input-number--error{border-width:3px;border-color:#fde6e9;padding:6px 10px}.bj-input-number--error .bj-input-number__input::placeholder{color:#f87171}.bj-input-number--warning{border-color:#f59e0b}.bj-input-number--out-of-range .bj-input-number__input{color:#ef4444}.bj-input-number--with-controls{padding-right:44px}.bj-input-number--with-controls.bj-input-number--error{padding-right:42px}.bj-input-number--group-left{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.bj-input-number--group-right{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.bj-input-number__prefix,.bj-input-number__suffix{display:flex;flex:none;align-items:center;color:#6b7280;pointer-events:none}.bj-input-number__prefix{margin-right:4px}.bj-input-number__suffix{margin-left:4px}.bj-input-number__input-wrap{flex:1;min-width:0;display:flex;transition:box-shadow .2s ease}.bj-input-number__input-wrap:hover{box-shadow:inset 0 0 0 2px #ebebeb}.bj-input-number--disabled .bj-input-number__input-wrap:hover,.bj-input-number--readonly .bj-input-number__input-wrap:hover{box-shadow:none}.bj-input-number__input{width:100%;border:none;outline:none;background:transparent;padding:0;margin:0;font:inherit;color:#333;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.bj-input-number__input::-webkit-inner-spin-button,.bj-input-number__input::-webkit-outer-spin-button{margin:0;-moz-appearance:none;appearance:none;-webkit-appearance:none}.bj-input-number__input::placeholder{color:#999}.bj-input-number__input:disabled{cursor:not-allowed;color:#999}.bj-input-number__handler-wrap{position:absolute;top:0;right:0;bottom:0;width:32px;opacity:0;transition:opacity .2s ease}.bj-input-number:hover .bj-input-number__handler-wrap,.bj-input-number--focused .bj-input-number__handler-wrap{opacity:1}.bj-input-number--disabled .bj-input-number__handler-wrap,.bj-input-number--readonly .bj-input-number__handler-wrap{display:none}.bj-input-number__handler{position:absolute;left:0;right:0;margin-right:8px;height:50%;cursor:pointer;background:transparent;-webkit-user-select:none;user-select:none}.bj-input-number__handler--up{top:0}.bj-input-number__handler--down{bottom:0}.bj-input-number__handler--disabled{cursor:not-allowed}.bj-input-number__handler-icon{position:absolute;top:50%;right:8px;width:24px;height:24px;transform:translateY(-50%);pointer-events:none;color:#999;transition:opacity .15s ease,color .15s ease}.bj-input-number__handler-icon--up{clip-path:inset(0 0 50% 0)}.bj-input-number__handler-icon--down{clip-path:inset(50% 0 0 0)}.bj-input-number__handler--up:active~.bj-input-number__handler-icon--up{color:#333}.bj-input-number__handler--down:active~.bj-input-number__handler-icon--down{color:#333}.bj-input-number-group{display:inline-flex;align-items:stretch;width:100%}.bj-input-number-group__addon{display:flex;align-items:center;flex:none;padding:0 12px;background:#f3f4f6;border:1px solid #ebebeb;color:#6b7280;white-space:nowrap}.bj-input-number-group__addon:first-child{border-right:none;border-radius:8px 0 0 8px}.bj-input-number-group__addon:last-child{border-left:none;border-radius:0 8px 8px 0}.bj-input-number-group .bj-input-number{flex:1;min-width:0}.bj-checkbox-wrapper{display:inline-flex;align-items:flex-start;gap:8px;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;cursor:pointer}.bj-checkbox-wrapper--disabled{color:#999;cursor:not-allowed}.bj-checkbox-wrapper--rtl{direction:rtl}.bj-checkbox{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;width:16px;height:16px;margin-top:2.5px;vertical-align:middle}.bj-checkbox__input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}.bj-checkbox__inner{position:relative;display:flex;align-items:center;justify-content:center;width:15px;height:15px;background:transparent;border:1px solid #dbdbdb;border-radius:4px;transition:width .15s ease,height .15s ease,background .15s ease}.bj-checkbox--checked.bj-checkbox--dark .bj-checkbox__inner{width:16px;height:16px;background:#333;border-color:#333}.bj-checkbox--checked.bj-checkbox--white .bj-checkbox__inner{width:15px;height:15px;background:transparent;border-color:#dbdbdb}.bj-checkbox--white .bj-checkbox__check-icon{color:#333}.bj-checkbox__check-icon{position:absolute;top:50%;left:50%;width:14px;height:14px;color:#fff;pointer-events:none;transform:translate(-50%,-50%)}.bj-checkbox--indeterminate .bj-checkbox__inner{width:16px;height:16px;background:#fff;border-color:#dbdbdb}.bj-checkbox__indeterminate-mark{width:8px;height:2px;background:#333;border-radius:4px}.bj-checkbox--disabled{opacity:.5}.bj-checkbox__input:focus-visible+.bj-checkbox__inner{outline:2px solid #1677ff;outline-offset:1px}.bj-checkbox__label{position:relative;min-width:0;padding-right:0;padding-left:0;overflow-wrap:anywhere}.bj-checkbox-group{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px}.bj-checkbox-group--rtl{direction:rtl}.bj-overlay-scrollbar-hidden{scrollbar-width:none;-ms-overflow-style:none}.bj-overlay-scrollbar-hidden::-webkit-scrollbar{width:0;height:0}.bj-overlay-scrollbar__thumb{position:absolute;z-index:100;background:var(--bj-overlay-scrollbar-bg, #dbdbdb);border-radius:4px;cursor:pointer;opacity:0;transition:opacity .2s,background .2s}.bj-overlay-scrollbar__thumb--active{opacity:1}.bj-overlay-scrollbar__thumb:hover{background:var(--bj-overlay-scrollbar-bg, #c2c2c2)}.bj-dropdown{width:280px;overflow:hidden;color:#333;background:#fff;border:1px solid #ebebeb;border-radius:8px;box-shadow:0 0 12px #00000014}.bj-dropdown__search{padding:8px}.bj-dropdown__search .bj-input__affix-wrapper{height:32px;border-radius:8px}.bj-dropdown__search .bj-input__affix-wrapper:not(.bj-input__affix-wrapper--error):not(.bj-input__affix-wrapper--readonly):not(:has(input[readonly])):not(:has(textarea[readonly])):not(:has(input:disabled)):not(:has(textarea:disabled)):hover,.bj-dropdown__search .bj-input__affix-wrapper:not(.bj-input__affix-wrapper--error):not(.bj-input__affix-wrapper--readonly):not(:has(input[readonly])):not(:has(textarea[readonly])):not(:has(input:disabled)):not(:has(textarea:disabled)):focus-within{border-color:#dbdbdb;box-shadow:none}.bj-dropdown__search .bj-input__clear-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:4px;color:#333}.bj-dropdown__search .bj-dropdown__search-clear-icon{width:20px;height:20px;color:#333}.bj-dropdown__options{max-height:240px;padding:0 12px;margin:0 0 12px;overflow-y:auto}.bj-dropdown__options--empty{height:160px;margin-top:0;margin-bottom:12px}.bj-dropdown__option{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:0;color:#333;font-family:SourceHanSansCN-Normal;font-size:14px;line-height:21px;white-space:nowrap;cursor:pointer}.bj-dropdown__option .bj-checkbox{margin-top:2.5px}.bj-dropdown__option .bj-checkbox__label{display:block;flex:1;min-width:0;padding-right:0;padding-left:0}.bj-dropdown__option--single{justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:0 12px;font-family:SourceHanSansCN-Normal;font-size:14px;font-style:normal;font-weight:350;line-height:21px;letter-spacing:0;text-align:left;background:transparent;border:0}.bj-dropdown__option--single:hover:not(:disabled){background:#fafafa}.bj-dropdown__option--single:disabled{color:#999;cursor:not-allowed}.bj-dropdown__option-label{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bj-dropdown__option-content{display:flex;flex:1;flex-direction:column;min-width:0}.bj-dropdown__option-description{overflow:hidden;color:#999;font-family:SourceHanSansCN-Normal;font-size:12px;font-style:normal;font-weight:350;line-height:19px;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.bj-dropdown__option-tooltip-anchor{display:block;pointer-events:none;z-index:1100}.bj-dropdown__option-tooltip.tooltip-popup,.bj-dropdown__option-tooltip.tooltip-popup .tooltip-arrow{border:0}.bj-dropdown__option-icon{flex:none;width:20px;height:20px;color:#333}.bj-dropdown__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;height:100%}.bj-dropdown__empty-image{width:68px;height:68px}.bj-dropdown__empty-text{color:#999;font-family:SourceHanSansCN-Normal;font-size:12px;font-style:normal;font-weight:350;line-height:21px;letter-spacing:0;text-align:center}.bj-dropdown__actions{display:flex;justify-content:center;gap:16px;padding:8px 12px 12px}.bj-dropdown__actions button{min-width:80px;height:28px;padding:0 12px;color:#333;font-family:SourceHanSansCN-Normal;font-size:12px;line-height:28px;background:transparent;border:0;border-radius:4px;cursor:pointer}.bj-dropdown__actions button:last-child{color:#fff;background:#333}.bj-dropdown__actions--single{display:block;padding:0}.bj-dropdown__actions--single button{width:100%;min-width:0;height:40px;color:#333;font-family:SourceHanSansCN-Normal;font-size:12px;font-style:normal;font-weight:350;line-height:19px;background:#f5f5f5;border-radius:0}.bj-dropdown__actions--single button:last-child{color:#333;background:#f5f5f5}.bj-dropdown--single .bj-dropdown__search{padding:8px}.bj-dropdown--single .bj-dropdown__options--single{max-height:240px;padding:0;margin:0}.bj-dropdown--single .bj-dropdown__options--single.bj-dropdown__options--empty{margin-bottom:20px}.bj-dropdown--double-line .bj-dropdown__options{max-height:336px}.bj-dropdown--double-line .bj-dropdown__option--double-line{min-height:56px;padding:8px 12px}.bj-dropdown--double-line .bj-dropdown__option--double-line .bj-checkbox{margin-top:0}.bj-dropdown--double-line .bj-dropdown__option--double-line--single{padding:8px 12px}.bj-dropdown--double-line .bj-dropdown__option--double-line:not(.bj-dropdown__option--single){padding:8px 0}.bj-dropdown--double-line .bj-dropdown__option-label{font-family:SourceHanSansCN-Normal;font-weight:350;line-height:21px}.bj-dropdown--double-line.bj-dropdown--single .bj-dropdown__options--single{max-height:336px}.bj-table{position:relative;width:100%;color:#333;font-family:SourceHanSansCN-Normal;font-size:12px;line-height:19px}.bj-table *,.bj-table *:before,.bj-table *:after{box-sizing:border-box}.bj-table__scroll{width:100%;overflow-x:auto}.bj-table__viewport{position:relative}.bj-table__native-table{width:100%;min-width:100%;border-spacing:0;border-collapse:separate;table-layout:fixed}.bj-table__title,.bj-table__footer{padding:12px;color:#333;background:#fff;border:1px solid #dbdbdb}.bj-table__title{border-bottom:0}.bj-table__footer{border-top:0}.bj-table__summary{position:relative;background:#fff}.bj-table__summary th,.bj-table__summary td{padding:17.5px 12px;border-bottom:1px solid #dbdbdb}.bj-table--bordered:not(.bj-table--empty) .bj-table__scroll{border:1px solid #dbdbdb}.bj-table--bordered .bj-table__native-table{border:0}.bj-table--bordered.bj-table--empty .bj-table__header{border:1px solid #dbdbdb}.bj-table--bordered.bj-table--empty .bj-table__header-row:first-child .bj-table__header-cell{border-top:1px solid #dbdbdb}.bj-table--bordered.bj-table--empty .bj-table__header-row:last-child .bj-table__header-cell{border-bottom:1px solid #dbdbdb}.bj-table--bordered.bj-table--empty .bj-table__header-cell:first-child{border-left:1px solid #dbdbdb}.bj-table--bordered.bj-table--empty .bj-table__header-cell:last-child{border-right:1px solid #dbdbdb}.bj-table__header-cell{position:relative;height:36px;padding:0 12px;color:#333;font-weight:400;text-align:left;vertical-align:middle;background:#fafafa;border-bottom:1px solid #dbdbdb}.bj-table__header-cell--sortable,.bj-table__header-cell--filterable{padding-right:8px;cursor:pointer}.bj-table__column-header{display:flex;align-items:center;justify-content:space-between;min-width:0}.bj-table__column-title{display:flex;flex:1;align-items:center;justify-content:space-between;min-width:0;padding:0;color:inherit;font:inherit;text-align:inherit}.bj-table__column-title-content{display:inline-flex;align-items:center;min-width:0;gap:4px}.bj-table__column-tooltip-wrapper{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;width:100%}.bj-table__column-tooltip-wrapper>.bj-table__column-tooltip-trigger{flex:1;display:flex;min-width:0;outline:none}.bj-table__column-tooltip-wrapper>.bj-table__column-tooltip-trigger>.bj-table__column-header{flex:1;padding:0 12px}.bj-table__column-badge-trigger{position:absolute;top:-1px;right:-1px;z-index:2;display:block;width:12px;height:12px;cursor:default;outline:none}.bj-table__column-badge-shape{display:block;width:100%;height:100%;clip-path:polygon(0 0,100% 0,100% 100%);background:#dbdbdb;pointer-events:none}.bj-table__column-tooltip.tooltip-popup--content{z-index:1000}.bj-table__column-sorter{display:inline-flex;flex:none;align-items:center;justify-content:center;margin-left:auto;color:#666}.bj-table__column-sorter-icon,.bj-table__filter-icon{width:20px;height:20px;color:#666;pointer-events:none}.bj-table__filter{position:static;flex:none}.bj-table__filter-trigger{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:0;margin-left:auto;padding:0;color:#666;font-size:12px;background:transparent;border:0;border-radius:4px;cursor:pointer;pointer-events:none}.bj-table__filter-trigger:hover{color:#666;background:#f0f0f0}.bj-table__filter-trigger--active{color:#666}.bj-table__filter-dropdown{position:fixed;z-index:100}.bj-table--bordered .bj-table__header-cell:not(:last-child),.bj-table--bordered .bj-table__cell:not(:last-child){border-right:1px solid #dbdbdb}.bj-table__cell{padding:17.5px 12px;color:#333;font-family:SourceHanSansCN-Normal;font-size:12px;line-height:19px;word-break:break-all;overflow-wrap:anywhere;vertical-align:middle;border-bottom:0;box-shadow:inset 0 -1px #dbdbdb}.bj-table__row{min-height:54px}.bj-table__body .bj-table__row:last-child .bj-table__cell{box-shadow:none}.bj-table__cell-content{min-height:19px}.bj-table__cell--fixed{background:#fff}.bj-table__header-cell.bj-table__cell--fixed{z-index:3!important;background:#fafafa}.bj-table__cell--fixed-left{border-right:1px solid #dbdbdb!important}.bj-table__cell--fixed-right{border-left:1px solid #dbdbdb;border-right:0}.bj-table__body .bj-table__cell--fixed-left,.bj-table__body .bj-table__cell--fixed-right{box-shadow:inset 0 -1px #dbdbdb}.bj-table__body .bj-table__row:last-child .bj-table__cell--fixed-left,.bj-table__body .bj-table__row:last-child .bj-table__cell--fixed-right{box-shadow:none}.bj-table__row:hover .bj-table__cell,.bj-table__row--selected .bj-table__cell{background:#fafafa}.bj-table__cell--ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal;overflow-wrap:normal}.bj-table__selection-col,.bj-table__selection-cell{width:48px;padding:0 12px;text-align:center;vertical-align:middle}.bj-table__selection-cell--fixed{position:sticky;left:0;z-index:2;background:#fff}.bj-table__header-cell.bj-table__selection-cell--fixed{z-index:4;background:#fafafa}.bj-table__body .bj-table__selection-cell{height:54px}.bj-table__selection-cell>.bj-table__selection-control{margin:auto}.bj-table__selection-cell>.bj-table__selection-checkbox{display:flex;justify-content:center;margin:auto;line-height:1}.bj-table__selection-control{position:relative;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;vertical-align:middle;cursor:pointer}.bj-table__selection-control--disabled{cursor:not-allowed;opacity:.5}.bj-table__selection-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}.bj-table__selection-box{display:flex;align-items:center;justify-content:center;width:15px;height:15px;background:transparent;border:1px solid #dbdbdb;border-radius:4px;transition:width .15s ease,height .15s ease,background .15s ease}.bj-table__selection-control--checked .bj-table__selection-box{width:16px;height:16px;background:#333;border-color:#333}.bj-table__selection-check-icon{width:14px;height:14px;color:#fff;pointer-events:none}.bj-table__selection-input:focus-visible+.bj-table__selection-box{outline:2px solid #1677ff;outline-offset:1px}.bj-table__empty-cell{height:454px;padding:0 12px;color:#999;text-align:center;vertical-align:middle;border-bottom:0}.bj-table__empty-overlay{position:absolute;top:36px;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#999;text-align:center;pointer-events:none}.bj-table__empty-content{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.bj-table__empty-image-wrap{display:flex;align-items:center;justify-content:center}.bj-table__empty-image{display:block;width:80px;height:80px;object-fit:contain;-webkit-user-select:none;user-select:none}.bj-table__empty-text{color:#999;font-size:12px;line-height:20px}.bj-table__loading{position:absolute;z-index:1000;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;color:#6b7280;background:#fffc;pointer-events:all}.bj-table__loading-indicator{width:60px;height:60px;margin:0;-webkit-user-select:none;user-select:none}.bj-table__loading-text{font-size:13px}.bj-table__pagination{margin-top:16px}.bj-table--small .bj-table__header-cell{height:32px}.bj-table--small .bj-table__cell{min-height:40px;padding:8px 12px}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),r=require("react"),U=require("react-dom"),X=require("../BasicInput/BInput.js"),Y=require("../CheckBox/index.js"),T=require("../Icon/Icon.js"),Z=require("../OverlayScrollbar/BOverlayScrollbar.js");;/* empty css */const $=require("../Tooltip/ContentTooltip.js");require("../Tooltip/TooltipWrapper.js");const ee=require("../ProductField/no_data_light.png.js");;/* empty css */function h(...t){return t.filter(Boolean).join(" ")}function ne(t){return typeof t.label=="string"||typeof t.label=="number"?String(t.label):String(t.value)}function V({option:t}){const a=r.useRef(null),[c,o]=r.useState(!1),[l,w]=r.useState(null),u=typeof t.label=="string"||typeof t.label=="number",b=u?String(t.label):t.label;function p(){const i=a.current;u&&i&&i.scrollWidth>i.clientWidth&&(w(i.getBoundingClientRect()),o(!0))}return n.jsxs("span",{ref:a,className:"bj-dropdown__option-label",onMouseEnter:p,onMouseLeave:()=>o(!1),children:[b,c&&l&&typeof document<"u"&&U.createPortal(n.jsx("span",{className:"bj-dropdown__option-tooltip-anchor",style:{position:"fixed",top:l.top,left:l.left,width:l.width,height:l.height},children:n.jsx($,{className:"bj-dropdown__option-tooltip",content:b,placement:"top"})}),document.body)]})}function D({option:t,doubleLine:a}){return a?n.jsxs("span",{className:"bj-dropdown__option-content",children:[n.jsx(V,{option:t}),t.description!==void 0&&n.jsx("span",{className:"bj-dropdown__option-description",children:t.description})]}):n.jsx(V,{option:t})}function te({className:t,style:a,options:c,value:o,defaultValue:l=[],multiple:w=!1,optionMode:u="single-line",searchable:b=!1,searchValue:p,searchPlaceholder:i="搜索",onSearch:j,filterOption:m=!0,emptyText:I,labels:g,t:O=f=>f,optionRender:_,onChange:v,footer:y=!0,showReset:E=!0,showConfirm:P=!0,resetText:W="重置",confirmText:z="确定",onReset:N,onConfirm:q}){const f=r.useRef(null),k=r.useRef(null),[A,C]=r.useState(l),[G,F]=r.useState(""),s=o??A,d=w===!0,L=u==="double-line",x=p??G,H=I??(g==null?void 0:g.emptyText)??O("暂无结果"),S=!j&&m!==!1&&x?c.filter(e=>typeof m=="function"?m(x,e):ne(e).toLocaleLowerCase().includes(x.toLocaleLowerCase())):c;function J(e,B){o===void 0&&C(e),v==null||v(e,B)}function M(e){p===void 0&&F(e),j==null||j(e)}function R(e){if(e.disabled)return;const B=d?s.includes(e.value)?s.filter(Q=>Q!==e.value):[...s,e.value]:[e.value];J(B,e)}function K(){o===void 0&&C([]),N==null||N()}return n.jsxs("div",{ref:f,className:h("bj-dropdown",L&&"bj-dropdown--double-line",!d&&"bj-dropdown--single",t),role:"dialog",style:a,children:[b&&n.jsx("div",{className:"bj-dropdown__search",children:n.jsx(X,{"aria-label":"搜索选项",allowClear:{clearIcon:n.jsx(T,{className:"bj-dropdown__search-clear-icon",type:"icon-a-guanbixi"})},onChange:e=>M(e.target.value),onClear:()=>M(""),placeholder:i,prefix:n.jsx(T,{type:"icon-a-sousuoxi"}),inputMode:"search",role:"searchbox",type:"text",value:x})}),n.jsxs("div",{ref:k,className:h("bj-dropdown__options","bj-overlay-scrollbar-hidden",S.length===0&&"bj-dropdown__options--empty",!d&&"bj-dropdown__options--single"),children:[S.map(e=>d?n.jsx(Y.BCheckBox,{checked:s.includes(e.value),className:"bj-dropdown__option",disabled:e.disabled,onChange:()=>R(e),skipGroup:!0,variant:"white",children:_?_(e):n.jsx(D,{doubleLine:L,option:e})},String(e.value)):n.jsxs("button",{"aria-pressed":s.includes(e.value),className:h("bj-dropdown__option","bj-dropdown__option--single",s.includes(e.value)&&"bj-dropdown__option--selected"),disabled:e.disabled,onClick:()=>R(e),type:"button",children:[_?n.jsx("span",{className:"bj-dropdown__option-label",children:_(e)}):n.jsx(D,{doubleLine:L,option:e}),s.includes(e.value)&&n.jsx(T,{className:"bj-dropdown__option-icon",type:"icon-a-dagouxi"})]},String(e.value))),S.length===0&&n.jsxs("div",{className:"bj-dropdown__empty",children:[n.jsx("img",{alt:"",className:"bj-dropdown__empty-image",src:ee}),n.jsx("span",{className:"bj-dropdown__empty-text",children:H})]})]}),n.jsx(Z,{containerRef:f,gap:2,size:2,targetRef:k}),y!==!1&&(y!==!0?y:n.jsxs("div",{className:h("bj-dropdown__actions",!d&&"bj-dropdown__actions--single"),children:[E&&n.jsx("button",{onClick:K,type:"button",children:W}),d&&P&&n.jsx("button",{onClick:()=>q==null?void 0:q(s),type:"button",children:z})]}))]})}exports.BDropdown=te;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),r=require("react"),U=require("react-dom"),X=require("../BasicInput/BInput.js"),Y=require("../CheckBox/index.js"),T=require("../Icon/Icon.js"),Z=require("../OverlayScrollbar/BOverlayScrollbar.js");;/* empty css */const $=require("../Tooltip/ContentTooltip.js");require("../Tooltip/TooltipWrapper.js");const ee=require("../ProductField/no_data_light.png.js");;/* empty css */function u(...t){return t.filter(Boolean).join(" ")}function ne(t){return typeof t.label=="string"||typeof t.label=="number"?String(t.label):String(t.value)}function V({option:t}){const i=r.useRef(null),[b,o]=r.useState(!1),[l,m]=r.useState(null),p=typeof t.label=="string"||typeof t.label=="number",j=p?String(t.label):t.label;function _(){const a=i.current;p&&a&&a.scrollWidth>a.clientWidth&&(m(a.getBoundingClientRect()),o(!0))}return n.jsxs("span",{ref:i,className:"bj-dropdown__option-label",onMouseEnter:_,onMouseLeave:()=>o(!1),children:[j,b&&l&&typeof document<"u"&&U.createPortal(n.jsx("span",{className:"bj-dropdown__option-tooltip-anchor",style:{position:"fixed",top:l.top,left:l.left,width:l.width,height:l.height},children:n.jsx($,{className:"bj-dropdown__option-tooltip",content:j,placement:"top"})}),document.body)]})}function D({option:t,doubleLine:i}){return i?n.jsxs("span",{className:"bj-dropdown__option-content",children:[n.jsx(V,{option:t}),t.description!==void 0&&n.jsx("span",{className:"bj-dropdown__option-description",children:t.description})]}):n.jsx(V,{option:t})}function te({className:t,style:i,options:b,value:o,defaultValue:l=[],multiple:m=!1,optionMode:p="single-line",searchable:j=!1,searchValue:_,searchPlaceholder:a="搜索",onSearch:f,filterOption:v=!0,emptyText:I,labels:g,t:O=h=>h,optionRender:x,onChange:y,footer:N=!0,showReset:E=!0,showConfirm:P=!0,resetText:W="重置",confirmText:z="确定",onReset:q,onConfirm:L}){const h=r.useRef(null),k=r.useRef(null),[A,C]=r.useState(l),[G,F]=r.useState(""),s=o??A,d=m===!0,c=p==="double-line",w=_??G,H=I??(g==null?void 0:g.emptyText)??O("暂无结果"),S=!f&&v!==!1&&w?b.filter(e=>typeof v=="function"?v(w,e):ne(e).toLocaleLowerCase().includes(w.toLocaleLowerCase())):b;function J(e,B){o===void 0&&C(e),y==null||y(e,B)}function M(e){_===void 0&&F(e),f==null||f(e)}function R(e){if(e.disabled)return;const B=d?s.includes(e.value)?s.filter(Q=>Q!==e.value):[...s,e.value]:[e.value];J(B,e)}function K(){o===void 0&&C([]),q==null||q()}return n.jsxs("div",{ref:h,className:u("bj-dropdown",c&&"bj-dropdown--double-line",!d&&"bj-dropdown--single",t),role:"dialog",style:i,children:[j&&n.jsx("div",{className:"bj-dropdown__search",children:n.jsx(X,{"aria-label":"搜索选项",allowClear:{clearIcon:n.jsx(T,{className:"bj-dropdown__search-clear-icon",type:"icon-a-guanbixi"})},onChange:e=>M(e.target.value),onClear:()=>M(""),placeholder:a,prefix:n.jsx(T,{type:"icon-a-sousuoxi"}),inputMode:"search",role:"searchbox",type:"text",value:w})}),n.jsxs("div",{ref:k,className:u("bj-dropdown__options","bj-overlay-scrollbar-hidden",S.length===0&&"bj-dropdown__options--empty",!d&&"bj-dropdown__options--single"),children:[S.map(e=>d?n.jsx(Y.BCheckBox,{checked:s.includes(e.value),className:u("bj-dropdown__option",c&&e.description!==void 0&&"bj-dropdown__option--double-line"),disabled:e.disabled,onChange:()=>R(e),skipGroup:!0,variant:"white",children:x?x(e):n.jsx(D,{doubleLine:c&&e.description!==void 0,option:e})},String(e.value)):n.jsxs("button",{"aria-pressed":s.includes(e.value),className:u("bj-dropdown__option","bj-dropdown__option--single",c&&e.description!==void 0&&"bj-dropdown__option--double-line",s.includes(e.value)&&"bj-dropdown__option--selected"),disabled:e.disabled,onClick:()=>R(e),type:"button",children:[x?n.jsx("span",{className:"bj-dropdown__option-label",children:x(e)}):n.jsx(D,{doubleLine:c&&e.description!==void 0,option:e}),s.includes(e.value)&&n.jsx(T,{className:"bj-dropdown__option-icon",type:"icon-a-dagouxi"})]},String(e.value))),S.length===0&&n.jsxs("div",{className:"bj-dropdown__empty",children:[n.jsx("img",{alt:"",className:"bj-dropdown__empty-image",src:ee}),n.jsx("span",{className:"bj-dropdown__empty-text",children:H})]})]}),n.jsx(Z,{containerRef:h,gap:2,size:2,targetRef:k}),N!==!1&&(N!==!0?N:n.jsxs("div",{className:u("bj-dropdown__actions",!d&&"bj-dropdown__actions--single"),children:[E&&n.jsx("button",{onClick:K,type:"button",children:W}),d&&P&&n.jsx("button",{onClick:()=>L==null?void 0:L(s),type:"button",children:z})]}))]})}exports.BDropdown=te;
@@ -1,4 +1,4 @@
1
- import { jsxs as a, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as r, jsx as l } from "react/jsx-runtime";
2
2
  import { useRef as V, useState as j } from "react";
3
3
  import { createPortal as Y } from "react-dom";
4
4
  import Z from "../BasicInput/BInput.mjs";
@@ -8,30 +8,30 @@ import ee from "../OverlayScrollbar/BOverlayScrollbar.mjs";
8
8
  /* empty css */
9
9
  import le from "../Tooltip/ContentTooltip.mjs";
10
10
  import "../Tooltip/TooltipWrapper.mjs";
11
- import te from "../ProductField/no_data_light.png.mjs";
11
+ import ne from "../ProductField/no_data_light.png.mjs";
12
12
  /* empty css */
13
- function w(...t) {
14
- return t.filter(Boolean).join(" ");
13
+ function u(...n) {
14
+ return n.filter(Boolean).join(" ");
15
15
  }
16
- function ne(t) {
17
- return typeof t.label == "string" || typeof t.label == "number" ? String(t.label) : String(t.value);
16
+ function te(n) {
17
+ return typeof n.label == "string" || typeof n.label == "number" ? String(n.label) : String(n.value);
18
18
  }
19
- function D({ option: t }) {
20
- const r = V(null), [c, i] = j(!1), [o, g] = j(null), u = typeof t.label == "string" || typeof t.label == "number", p = u ? String(t.label) : t.label;
21
- function b() {
22
- const d = r.current;
23
- u && d && d.scrollWidth > d.clientWidth && (g(d.getBoundingClientRect()), i(!0));
19
+ function D({ option: n }) {
20
+ const d = V(null), [p, i] = j(!1), [o, g] = j(null), b = typeof n.label == "string" || typeof n.label == "number", m = b ? String(n.label) : n.label;
21
+ function f() {
22
+ const a = d.current;
23
+ b && a && a.scrollWidth > a.clientWidth && (g(a.getBoundingClientRect()), i(!0));
24
24
  }
25
- return /* @__PURE__ */ a(
25
+ return /* @__PURE__ */ r(
26
26
  "span",
27
27
  {
28
- ref: r,
28
+ ref: d,
29
29
  className: "bj-dropdown__option-label",
30
- onMouseEnter: b,
30
+ onMouseEnter: f,
31
31
  onMouseLeave: () => i(!1),
32
32
  children: [
33
- p,
34
- c && o && typeof document < "u" && Y(
33
+ m,
34
+ p && o && typeof document < "u" && Y(
35
35
  /* @__PURE__ */ l(
36
36
  "span",
37
37
  {
@@ -43,7 +43,7 @@ function D({ option: t }) {
43
43
  width: o.width,
44
44
  height: o.height
45
45
  },
46
- children: /* @__PURE__ */ l(le, { className: "bj-dropdown__option-tooltip", content: p, placement: "top" })
46
+ children: /* @__PURE__ */ l(le, { className: "bj-dropdown__option-tooltip", content: m, placement: "top" })
47
47
  }
48
48
  ),
49
49
  document.body
@@ -52,106 +52,106 @@ function D({ option: t }) {
52
52
  }
53
53
  );
54
54
  }
55
- function R({ option: t, doubleLine: r }) {
56
- return r ? /* @__PURE__ */ a("span", { className: "bj-dropdown__option-content", children: [
57
- /* @__PURE__ */ l(D, { option: t }),
58
- t.description !== void 0 && /* @__PURE__ */ l("span", { className: "bj-dropdown__option-description", children: t.description })
59
- ] }) : /* @__PURE__ */ l(D, { option: t });
55
+ function R({ option: n, doubleLine: d }) {
56
+ return d ? /* @__PURE__ */ r("span", { className: "bj-dropdown__option-content", children: [
57
+ /* @__PURE__ */ l(D, { option: n }),
58
+ n.description !== void 0 && /* @__PURE__ */ l("span", { className: "bj-dropdown__option-description", children: n.description })
59
+ ] }) : /* @__PURE__ */ l(D, { option: n });
60
60
  }
61
61
  function _e({
62
- className: t,
63
- style: r,
64
- options: c,
62
+ className: n,
63
+ style: d,
64
+ options: p,
65
65
  value: i,
66
66
  defaultValue: o = [],
67
67
  multiple: g = !1,
68
- optionMode: u = "single-line",
69
- searchable: p = !1,
70
- searchValue: b,
71
- searchPlaceholder: d = "搜索",
72
- onSearch: m,
73
- filterOption: v = !0,
68
+ optionMode: b = "single-line",
69
+ searchable: m = !1,
70
+ searchValue: f,
71
+ searchPlaceholder: a = "搜索",
72
+ onSearch: _,
73
+ filterOption: y = !0,
74
74
  emptyText: W,
75
- labels: y,
76
- t: z = (_) => _,
77
- optionRender: f,
78
- onChange: N,
79
- footer: x = !0,
75
+ labels: N,
76
+ t: z = (w) => w,
77
+ optionRender: h,
78
+ onChange: x,
79
+ footer: B = !0,
80
80
  showReset: A = !0,
81
81
  showConfirm: G = !0,
82
82
  resetText: P = "重置",
83
83
  confirmText: q = "确定",
84
- onReset: B,
85
- onConfirm: L
84
+ onReset: L,
85
+ onConfirm: k
86
86
  }) {
87
- const _ = V(null), M = V(null), [F, S] = j(o), [H, J] = j(""), n = i ?? F, s = g === !0, k = u === "double-line", h = b ?? H, K = W ?? (y == null ? void 0 : y.emptyText) ?? z("暂无结果"), C = !m && v !== !1 && h ? c.filter((e) => typeof v == "function" ? v(h, e) : ne(e).toLocaleLowerCase().includes(h.toLocaleLowerCase())) : c;
87
+ const w = V(null), M = V(null), [F, S] = j(o), [H, J] = j(""), t = i ?? F, s = g === !0, c = b === "double-line", v = f ?? H, K = W ?? (N == null ? void 0 : N.emptyText) ?? z("暂无结果"), C = !_ && y !== !1 && v ? p.filter((e) => typeof y == "function" ? y(v, e) : te(e).toLocaleLowerCase().includes(v.toLocaleLowerCase())) : p;
88
88
  function Q(e, I) {
89
- i === void 0 && S(e), N == null || N(e, I);
89
+ i === void 0 && S(e), x == null || x(e, I);
90
90
  }
91
91
  function E(e) {
92
- b === void 0 && J(e), m == null || m(e);
92
+ f === void 0 && J(e), _ == null || _(e);
93
93
  }
94
94
  function O(e) {
95
95
  if (e.disabled) return;
96
- const I = s ? n.includes(e.value) ? n.filter((X) => X !== e.value) : [...n, e.value] : [e.value];
96
+ const I = s ? t.includes(e.value) ? t.filter((X) => X !== e.value) : [...t, e.value] : [e.value];
97
97
  Q(I, e);
98
98
  }
99
99
  function U() {
100
- i === void 0 && S([]), B == null || B();
100
+ i === void 0 && S([]), L == null || L();
101
101
  }
102
- return /* @__PURE__ */ a("div", { ref: _, className: w("bj-dropdown", k && "bj-dropdown--double-line", !s && "bj-dropdown--single", t), role: "dialog", style: r, children: [
103
- p && /* @__PURE__ */ l("div", { className: "bj-dropdown__search", children: /* @__PURE__ */ l(
102
+ return /* @__PURE__ */ r("div", { ref: w, className: u("bj-dropdown", c && "bj-dropdown--double-line", !s && "bj-dropdown--single", n), role: "dialog", style: d, children: [
103
+ m && /* @__PURE__ */ l("div", { className: "bj-dropdown__search", children: /* @__PURE__ */ l(
104
104
  Z,
105
105
  {
106
106
  "aria-label": "搜索选项",
107
107
  allowClear: { clearIcon: /* @__PURE__ */ l(T, { className: "bj-dropdown__search-clear-icon", type: "icon-a-guanbixi" }) },
108
108
  onChange: (e) => E(e.target.value),
109
109
  onClear: () => E(""),
110
- placeholder: d,
110
+ placeholder: a,
111
111
  prefix: /* @__PURE__ */ l(T, { type: "icon-a-sousuoxi" }),
112
112
  inputMode: "search",
113
113
  role: "searchbox",
114
114
  type: "text",
115
- value: h
115
+ value: v
116
116
  }
117
117
  ) }),
118
- /* @__PURE__ */ a("div", { ref: M, className: w("bj-dropdown__options", "bj-overlay-scrollbar-hidden", C.length === 0 && "bj-dropdown__options--empty", !s && "bj-dropdown__options--single"), children: [
118
+ /* @__PURE__ */ r("div", { ref: M, className: u("bj-dropdown__options", "bj-overlay-scrollbar-hidden", C.length === 0 && "bj-dropdown__options--empty", !s && "bj-dropdown__options--single"), children: [
119
119
  C.map((e) => s ? /* @__PURE__ */ l(
120
120
  $,
121
121
  {
122
- checked: n.includes(e.value),
123
- className: "bj-dropdown__option",
122
+ checked: t.includes(e.value),
123
+ className: u("bj-dropdown__option", c && e.description !== void 0 && "bj-dropdown__option--double-line"),
124
124
  disabled: e.disabled,
125
125
  onChange: () => O(e),
126
126
  skipGroup: !0,
127
127
  variant: "white",
128
- children: f ? f(e) : /* @__PURE__ */ l(R, { doubleLine: k, option: e })
128
+ children: h ? h(e) : /* @__PURE__ */ l(R, { doubleLine: c && e.description !== void 0, option: e })
129
129
  },
130
130
  String(e.value)
131
- ) : /* @__PURE__ */ a(
131
+ ) : /* @__PURE__ */ r(
132
132
  "button",
133
133
  {
134
- "aria-pressed": n.includes(e.value),
135
- className: w("bj-dropdown__option", "bj-dropdown__option--single", n.includes(e.value) && "bj-dropdown__option--selected"),
134
+ "aria-pressed": t.includes(e.value),
135
+ className: u("bj-dropdown__option", "bj-dropdown__option--single", c && e.description !== void 0 && "bj-dropdown__option--double-line", t.includes(e.value) && "bj-dropdown__option--selected"),
136
136
  disabled: e.disabled,
137
137
  onClick: () => O(e),
138
138
  type: "button",
139
139
  children: [
140
- f ? /* @__PURE__ */ l("span", { className: "bj-dropdown__option-label", children: f(e) }) : /* @__PURE__ */ l(R, { doubleLine: k, option: e }),
141
- n.includes(e.value) && /* @__PURE__ */ l(T, { className: "bj-dropdown__option-icon", type: "icon-a-dagouxi" })
140
+ h ? /* @__PURE__ */ l("span", { className: "bj-dropdown__option-label", children: h(e) }) : /* @__PURE__ */ l(R, { doubleLine: c && e.description !== void 0, option: e }),
141
+ t.includes(e.value) && /* @__PURE__ */ l(T, { className: "bj-dropdown__option-icon", type: "icon-a-dagouxi" })
142
142
  ]
143
143
  },
144
144
  String(e.value)
145
145
  )),
146
- C.length === 0 && /* @__PURE__ */ a("div", { className: "bj-dropdown__empty", children: [
147
- /* @__PURE__ */ l("img", { alt: "", className: "bj-dropdown__empty-image", src: te }),
146
+ C.length === 0 && /* @__PURE__ */ r("div", { className: "bj-dropdown__empty", children: [
147
+ /* @__PURE__ */ l("img", { alt: "", className: "bj-dropdown__empty-image", src: ne }),
148
148
  /* @__PURE__ */ l("span", { className: "bj-dropdown__empty-text", children: K })
149
149
  ] })
150
150
  ] }),
151
- /* @__PURE__ */ l(ee, { containerRef: _, gap: 2, size: 2, targetRef: M }),
152
- x !== !1 && (x !== !0 ? x : /* @__PURE__ */ a("div", { className: w("bj-dropdown__actions", !s && "bj-dropdown__actions--single"), children: [
151
+ /* @__PURE__ */ l(ee, { containerRef: w, gap: 2, size: 2, targetRef: M }),
152
+ B !== !1 && (B !== !0 ? B : /* @__PURE__ */ r("div", { className: u("bj-dropdown__actions", !s && "bj-dropdown__actions--single"), children: [
153
153
  A && /* @__PURE__ */ l("button", { onClick: U, type: "button", children: P }),
154
- s && G && /* @__PURE__ */ l("button", { onClick: () => L == null ? void 0 : L(n), type: "button", children: q })
154
+ s && G && /* @__PURE__ */ l("button", { onClick: () => k == null ? void 0 : k(t), type: "button", children: q })
155
155
  ] }))
156
156
  ] });
157
157
  }