@hb-hellotech/hb-ui 1.3.15-beta.2 → 1.3.15-beta.4

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.
@@ -36,7 +36,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
36
36
  visible: import("vue").Ref<boolean, boolean>;
37
37
  modalTitleRef: import("vue").Ref<HTMLElement, HTMLElement>;
38
38
  currentModalStyle: import("vue").ComputedRef<{
39
- [x: string]: any;
39
+ top: string;
40
40
  }>;
41
41
  currentWrapStyle: import("vue").ComputedRef<{
42
42
  overflow: string;
@@ -1 +1 @@
1
- [data-v-93f23c9d]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.hb-sfcm[data-v-93f23c9d] .ant-modal-header{border-bottom:1px solid var(--hb-border-color);margin-bottom:var(--hb-space)}.hb-sfcm__title[data-v-93f23c9d]{font-size:var(--hb-h1-font-size);font-weight:700;color:var(--hb-title-color)}.hb-sfcm__title__tip[data-v-93f23c9d]{margin-right:var(--hb-space);padding-left:var(--hb-space);color:#080808;font-size:16px;font-weight:500;position:relative}.hb-sfcm__title__tip[data-v-93f23c9d]:before{content:"";width:6px;height:14px;background:var(--hb-theme-color);position:absolute;top:50%;left:0;transform:translateY(-50%);border-radius:var(--hb-border-radius)}.hb-sfcm__show__tag[data-v-93f23c9d]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__show__tag__item[data-v-93f23c9d]{float:left;margin-right:var(--hb-space);padding:2px 9px;background:var(--hb-theme-color);color:#fff;border:1px solid var(--hb-theme-color);border-radius:var(--hb-border-radius);margin-bottom:var(--hb-space);cursor:move;-webkit-user-select:none;user-select:none;display:flex;align-items:center}.hb-sfcm__show__tag__item.is-linked[data-v-93f23c9d]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-fixed[data-v-93f23c9d]{background:none;color:#9ca3af;border:1px solid var(--hb-border-color);cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-93f23c9d]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-93f23c9d]:hover{background:#ff7875;border-color:#ff7875}.hb-sfcm__unshow__tag[data-v-93f23c9d]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__unshow__tag__item[data-v-93f23c9d]{position:relative;float:left;margin-right:var(--hb-space);padding:2px 9px;color:#9ca3af;border:1px solid var(--hb-border-color);border-radius:var(--hb-border-radius);margin-bottom:var(--hb-space);cursor:pointer;-webkit-user-select:none;user-select:none}.hb-sfcm__unshow__tag__item.is-linked[data-v-93f23c9d]{color:#ff7875;border-color:#ff7875}.hb-sfcm__show__tag__item-close[data-v-93f23c9d]{margin-left:6px;cursor:pointer}.hb-sfcm__show__tag__item-close[data-v-93f23c9d]:hover{transform:scale(1.3)}.hb-sfcm__unshow__tag__item-add[data-v-93f23c9d]{position:absolute;width:100%;height:100%;top:0;left:0;background:#1a1818;color:#fff;text-align:center;display:flex;align-items:center;justify-content:center;border-radius:var(--hb-border-radius)}.hb-sfcm__unshow__tag__empty[data-v-93f23c9d]{text-align:center;color:var(--hb-border-color)}[data-v-8307bb07]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.isNeedFooterCss[data-v-8307bb07]{flex-direction:column}.hb-form[data-v-8307bb07] .ant-form-item{margin-bottom:var(--hb-form-space)}.hb-form .hb-form__footer[data-v-8307bb07]{display:flex;justify-content:space-between;margin-top:-6px}.hb-lib-form--container[data-v-8307bb07]{overflow:hidden;margin:6px}.hide[data-v-8307bb07]{height:0}.hb-form__form-item-col[data-v-8307bb07]{flex:0 0 auto;min-width:200px;width:auto;padding-right:var(--hb-space);margin-bottom:16px}.form-footer[data-v-8307bb07]{display:flex;align-items:center;margin-bottom:10px}.form-collapse-enter-active,.form-collapse-leave-active{transition:height .2s ease;overflow:hidden}.form-collapse-enter-from,.form-collapse-leave-to{height:0}.hb-lib-form-svg{margin-right:13px;cursor:pointer;display:flex;align-items:center}.hb-lib-form-svg .icon{width:18px;height:20px}.hb-form-item-ui .ant-form-item.hb-lib-form-item-border--unneed{border:none!important}.hb-form-item-ui .ant-form-item.hb_lib_form_item--needShowAll{height:auto!important}.hb-form-item-ui .ant-form-item.hb_lib_form_item--needShowAll .ant-select-selection-overflow{flex-wrap:wrap;max-width:373px}.hb-form-item-ui .ant-form-item.hb_lib_form_item--needShowAll .ant-form-item-control-input-content{max-width:373px}.hb-form-item-ui .ant-form-item.hb_lib_form_item--needShowAll .ant-select-show-arrow{height:var(--hb-f-item-height)!important}.hb-form__footer__right{display:flex;align-items:center;justify-content:space-between;min-width:206px}.ant-row[sublabel] .ant-form-item-label label,.ant-row[sublabellanguage] .ant-form-item-label label{display:none!important}[data-v-c7cd0710]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.hb-lib-list-page-act-item[data-v-c7cd0710]{margin-right:var(--hb-space)}[data-v-de62f20a]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.hb-lib-list-btns-box[data-v-de62f20a]{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:5px 5px 0;margin-top:5px;border-radius:6px 6px 0 0}.hb-lib-list-btns-box .hb-lib-list-btns-right[data-v-de62f20a]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-de62f20a]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-de62f20a]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-de62f20a]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-de62f20a]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-de62f20a]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-de62f20a]{display:flex;align-items:center}.flex-between[data-v-87177371]{display:flex;justify-content:space-between;align-items:center}.flex-center[data-v-87177371]{display:flex;align-items:center}.hb-lib-selector-wrapper[data-v-87177371]{position:relative}.hb-lib-selector-wrapper .ant-input[data-v-87177371]{cursor:pointer}.has-prefix[data-v-87177371]:before{content:attr(data-prefix);position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#262626;font-size:14px;white-space:nowrap;pointer-events:none;z-index:1}.has-prefix[data-v-87177371] .ant-select-selector{padding-left:calc(12px + var(--prefix-width, 0px))}.has-prefix[data-v-87177371] .ant-select-selection-placeholder{padding-left:var(--prefix-width, 0px)}.hb-lib-selector-dropdown[data-v-87177371]{padding:8px;min-width:200px}.hb-lib-selector-search[data-v-87177371]{margin-bottom:8px}.hb-lib-selector-list[data-v-87177371]{max-height:200px;overflow-y:auto}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar{width:6px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.hb-lib-selector-option[data-v-87177371]{display:flex;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:all .2s ease;gap:8px}.hb-lib-selector-option[data-v-87177371]:hover{background-color:#f5f5f5}.hb-lib-selector-option.selected[data-v-87177371]{background-color:#e6f7ff}.hb-lib-option-content[data-v-87177371]{flex:1}.hb-lib-option-label[data-v-87177371]{font-weight:500;color:#262626}.hb-lib-selector-empty[data-v-87177371]{text-align:center;color:#bfbfbf;padding:20px 0;font-size:14px}.hb-lib-selector-footer[data-v-87177371]{border-top:1px solid #f0f0f0;padding-top:8px;margin-top:8px;display:flex;justify-content:space-between;align-items:center}.hb-lib-footer-buttons[data-v-87177371]{display:flex;gap:8px}.selector-tag[data-v-87177371]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.selector-tag .tag-label[data-v-87177371]{font-weight:500}.selector-tag .tag-description[data-v-87177371]{margin-left:4px;font-size:12px;opacity:.8}.rotate-180[data-v-87177371]{transform:rotate(180deg)}.transition-transform[data-v-87177371]{transition:transform .2s}.hb-lib-search-tag[data-v-87177371]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.hb-lib-search-tag__description[data-v-87177371]{margin-left:4px;font-size:12px;opacity:.8}.hb-lib-multipleSelectModal-modal .ant-table-filter-trigger{font-size:18px!important}.hb-lib-multipleSelectModal-modal .ant-input-group-addon{border:none!important;cursor:pointer}.hb-lib-multipleSelectModal-modal .ant-modal-body{padding:calc(var(--hb-space) / 2)}.hb-lib-multipleSelectModal-modal .ant-table-thead .ant-table-column-title{color:#000;font-weight:bolder;font-size:18px}.hb-lib-multipleSelectModal-modal .ant-table-thead .ant-table-cell{color:#000;font-weight:bolder;font-size:18px;padding:calc(var(--hb-space) / 2)!important}.hb-lib-multipleSelectModal-modal .ant-table-row .ant-table-cell{padding:calc(var(--hb-space) / 2)!important}.hb-lib-multipleSelectModal-modal .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0!important}.hb-lib-form-item-filter-modal-search{padding:8px}.hb-lib-form-item-filter-modal-search-input{width:188px;margin-bottom:8px;display:block}.hb-lib-form-item-filter-modal-buttons{display:flex;justify-content:space-between;margin-top:10px}.hb-lib-table-act-box[data-v-25fd055e]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}.hb-lib-table-act-box .hb-lib-table-main-action[data-v-25fd055e],.hb-lib-table-act-box .hb-lib-table-more-action[data-v-25fd055e]{text-decoration:none}.hb-lib-table-act-box .hb-lib-table-more-action[data-v-25fd055e]{display:inline-flex;align-items:center}.hb-lib-table-act-box[data-v-25fd055e] .ant-divider:not(:has(+a)){display:none}.hb-lib-table-confirm-modal-content[data-v-25fd055e]{font-size:16px}.hb-lib-table-act-box .ant-divider-vertical{margin:0}.ant-dropdown-menu-title-content>a:hover{color:var(--hb-theme-color)!important}.hb-lib-list-table[data-v-4a8b9aaa]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-4a8b9aaa] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-4a8b9aaa]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-4a8b9aaa] .ant-table-tbody>.ant-table-row>td{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;height:var(--hb-lib-table-td-height)!important;box-sizing:content-box}[data-v-07a63550]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.ant-alert[data-v-07a63550]{box-sizing:border-box;margin:0;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;padding:8px 15px 8px 37px;word-wrap:break-word;border-radius:var(--hb-border-radius);border:1px solid #ffb27a;background-color:#fff2e6}.ant-alert .com-alert[data-v-07a63550]{display:flex;justify-content:space-between;width:100%;align-items:center}.ant-alert .com-alert a[data-v-07a63550]{color:#ff5000}.select-all-container[data-v-07a63550]{padding:8px 0}.hb-lib-table-setting-box[data-v-07a63550]{display:flex}.hb-lib-table-set-drag[data-v-07a63550]{max-height:300px;overflow-y:auto}.hb-lib-table-drag-item[data-v-07a63550]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border:1px solid #f0f0f0;margin-bottom:4px;background-color:#fff;border-radius:var(--hb-border-radius);width:280px}.hb-lib-table-drag-item[data-v-07a63550]:hover{background-color:#f5f5f5}.hb-lib-table-drag-item .drag-handle[data-v-07a63550]{cursor:move;color:#999;padding:4px;-webkit-user-select:none;user-select:none}.ghost[data-v-07a63550]{opacity:.5;background:#c8ebfb}.table-setting-checkbox-group[data-v-07a63550]{display:flex;flex-wrap:wrap}.table-setting-checkbox-group[data-v-07a63550] .ant-checkbox-group-item{margin-right:0;width:33.33%}.hb-lib-table-set-btn-group[data-v-07a63550]{margin-top:10px;display:flex;justify-content:end;align-items:center;border-top:1px solid #f0f0f0;padding-top:8px}.drag-hide[data-v-07a63550]{visibility:hidden}.hb-lib-table-drag-item-act-btn[data-v-07a63550]{display:inline-block;cursor:pointer;width:14px;height:20px}.hb-lib-table-drag-item-act-btn .icon[data-v-07a63550]{width:100%;height:100%}.hb-lib-table-col-set[data-v-07a63550]{display:inline-block;cursor:pointer;width:22px;height:23px}.hb-lib-table-col-set .icon[data-v-07a63550]{width:100%;height:100%}.hb-lib-table-drag-item-act[data-v-07a63550]{display:flex;align-items:center;width:40px;justify-content:space-between}.column_setting_popover{width:auto!important}.hb_lib_form_tooltip_select[data-v-b04f5675]{width:100%}.hb_lib_form_tooltip_select__option[data-v-b04f5675]{display:inline-flex;align-items:center;gap:4px}.hb_lib_form_tooltip_select__option.is-ellipsis[data-v-b04f5675]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb_lib_form_tooltip_select__dropdown .ant-select-item-option-content{display:flex;align-items:center;gap:4px}.hb_import_btn[data-v-d61501db]{text-align:center;margin:0}.hb-lib-copy-text-eyevue[data-v-2b6710a1]{cursor:pointer;font-size:20px;display:inline-flex;justify-content:center;align-items:center;width:17px;height:17px;margin-left:8px}.hb-lib-copy-text-eyevue svg[data-v-2b6710a1]{width:13px;height:14px}.drag-slot-wrapper[data-v-15b227f5]{cursor:move;padding:8px;background-color:#f9f9f9;border:1px solid #eee;margin-bottom:10px}[data-v-cf0b0a0d]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.activted[data-v-cf0b0a0d]{color:var(--hb-theme-color)}.ant-dropdown-link[data-v-cf0b0a0d]{cursor:pointer}.hb_lib_loading_loading_anima[data-v-22f438b9]{background-color:#f0f0f059;display:flex;justify-content:center;align-items:center;perspective:800px;position:fixed;inset:0}.cube[data-v-22f438b9]{position:relative;width:100px;height:100px;transform-style:preserve-3d;animation:rotate-22f438b9 4s infinite linear}.side[data-v-22f438b9]{position:absolute;width:100px;height:100px;background:#ff5000cc;border:3px solid #fff;opacity:.9;box-shadow:inset 0 0 15px #ffffff80}.front[data-v-22f438b9]{transform:translateZ(50px);background:#ff5000f2}.back[data-v-22f438b9]{transform:rotateY(180deg) translateZ(50px);background:#e64800e6}.right[data-v-22f438b9]{transform:rotateY(90deg) translateZ(50px);background:#ff6626e6}.left[data-v-22f438b9]{transform:rotateY(-90deg) translateZ(50px);background:#ff4000e6}.top[data-v-22f438b9]{transform:rotateX(90deg) translateZ(50px);background:#ff8040e6}.bottom[data-v-22f438b9]{transform:rotateX(-90deg) translateZ(50px);background:#cc4000e6}@keyframes rotate-22f438b9{0%{transform:rotateX(0) rotateY(0) rotate(0)}to{transform:rotateX(360deg) rotateY(360deg) rotate(360deg)}}.hb_lib_loading_load_tips[data-v-22f438b9]{position:absolute;bottom:36%;text-align:center;font-size:16px;color:#666}[data-v-341c37f6]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.log_remark[data-v-341c37f6]{width:85%}.hb_lib_log_modal_content[data-v-341c37f6]{padding:var(--hb-space) 0}.__module-card[data-v-927846d4]{margin-bottom:6px}.modal__module-card[data-v-927846d4]{margin-bottom:0}.hb_card[data-v-927846d4]{box-shadow:var(--box-shadow-base);border-radius:4px;border:1px solid #f3f4f6;background-color:#fff;overflow:hidden;color:#1f2837;-webkit-transition:.3s;transition:.3s;padding-bottom:6px}.hb_card_header[data-v-927846d4]{padding:6px;box-sizing:border-box}.hb_fix[data-v-927846d4]{display:flex;justify-content:space-between;align-items:center}.hb_fix .hb_card_header-title[data-v-927846d4]{display:inline-flex;align-items:center;font-weight:700;font-size:13px;color:#374151bf}.hb_fix .hb_card_header-title[data-v-927846d4]:before{content:"";margin-right:8px;background:var(--hb-theme-color);display:inline-block;width:4px;height:14px}.hb_card_body[data-v-927846d4]{padding:0 6px}.hb_card_form[data-v-927846d4]{display:grid;grid-template-columns:repeat(4,1fr);gap:0 22px}.hb_card_form[data-v-927846d4] .ant-form-item{width:100%!important;margin-bottom:5px;margin-right:0}.hb_card_form[data-v-927846d4] .ant-form-item.col_2{grid-column:span 2}.hb_card_form[data-v-927846d4] .ant-form-item.col_3{grid-column:span 3}.hb_card_form[data-v-927846d4] .ant-form-item.col_4{grid-column:span 4}.hb_card_form[data-v-927846d4] .ant-form-item-with-help{margin-bottom:0!important}.hb_card_form[data-v-927846d4] .ant-form-item-with-help .ant-form-item-explain{font-size:12px;min-height:20px}.hb_card_form[data-v-927846d4] .ant-form-item-label{padding:0 0 2px!important}@media screen and (max-width:1600px){.hb_card_form[data-v-927846d4]{grid-template-columns:repeat(3,1fr)}.hb_card_form .col_2[data-v-927846d4]{grid-column:span 2}.hb_card_form .col_3[data-v-927846d4],.hb_card_form .col_4[data-v-927846d4]{grid-column:span 3}}.hb_card_form[data-v-927846d4] .ant-form-item-label>label:after{margin-right:5px;content:""}.hb_card_flex_form[data-v-927846d4]{display:flex;justify-content:space-between;flex-wrap:wrap}.hb_card_flex_form[data-v-927846d4] .ant-form-item-with-help{margin-bottom:0!important}.hb_card_flex_form[data-v-927846d4] .ant-form-item{margin-bottom:var(--hb-card-form-item-mb)}.hb_card_flex_form[data-v-927846d4] .ant-form-item-with-help .ant-form-item-explain{font-size:12px;min-height:20px}.hb_card_flex_form[data-v-927846d4] .ant-form-item-label>label:after{margin:0 8px}.hb_card_flex_form[data-v-927846d4] .ant-form-item{width:48%!important}.hb_card_flex_form.l1c[data-v-927846d4] .ant-form-item{width:100%!important}.hb_card_flex_form.l3c[data-v-927846d4] .ant-form-item{width:30%!important}.hb_card_flex_form.l3c[data-v-927846d4] .ant-form-item.col_2{width:65%!important}.hb_card_flex_form.l4c[data-v-927846d4] .ant-form-item{width:23%!important}.hb_card_flex_form.l4c[data-v-927846d4] .ant-form-item.col_2{width:48.7%!important}.hb_card_flex_form.l4c[data-v-927846d4] .ant-form-item.col_3{width:74.4%!important}.hb_card_flex_form[data-v-927846d4] .ant-form-item.col_all{width:100%!important}.anchors[data-v-d51548d8]{position:fixed;right:-10px;transform:translate(calc(100% - 31px));padding:8px 24px 8px 5px;box-shadow:0 10px 15px -3 #00000014,0 4px 6px -2 #0000000a;border-radius:4px 0 0 4px;border:1px solid #e5e7eb;border-right:none;background-color:#fff;transition:all .2s ease-in-out;z-index:9999}.anchors[data-v-d51548d8]:hover{transform:translate(0)}.anchors .anchor-item[data-v-d51548d8]{padding:8px 0;display:flex;text-align:left;cursor:pointer}.anchors .anchor-item .step[data-v-d51548d8]{width:20px;padding-top:4px;position:relative}.anchors .anchor-item .step .line[data-v-d51548d8]{position:absolute;width:2px;left:4px;height:44px;background-color:#ebeef5}.anchors .anchor-item .step .circle[data-v-d51548d8]{position:absolute;z-index:2;width:10px;height:10px;border-radius:50%;border:2px solid #d5dae5;background-color:#fff;box-sizing:border-box;transition:all .3s ease}.anchors .anchor-item .step .circle[data-v-d51548d8]:after{width:4px;height:4px;border-radius:100%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .3s ease}.anchors .anchor-item .title[data-v-d51548d8]{height:18px;line-height:18px;color:#374151;transition:color .3s ease;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.anchors .anchor-item.isActive .circle[data-v-d51548d8]{border-color:var(--hb-theme-color);background-color:var(--hb-theme-color)}.anchors .anchor-item.isActive .circle[data-v-d51548d8]:after{transform:translate(-50%,-50%) scale(1)}.anchors .anchor-item.isActive .title[data-v-d51548d8]{color:var(--hb-theme-color)}.anchors .anchor-item:last-child .step .line[data-v-d51548d8]{width:0}.hb_detail_top_wrapper_sticky[data-v-f2c2c397]{position:sticky;top:0;background:#fff;margin-bottom:5px;padding:5px;z-index:1000;transition:all .3s ease}.hb_detail_top_act_sticky[data-v-f2c2c397]{opacity:0;position:fixed;background:#fff;top:112px;z-index:0;left:160px;right:0;padding:10px 16px;box-shadow:0 2px 8px #00000026}.hb_detail_top_act_sticky.can_show[data-v-f2c2c397]{z-index:88888;opacity:1}.hb_detail_wrapper[data-v-f2c2c397]{position:relative;background:#f1f2f5;width:100%;height:100%;box-sizing:border-box;overflow:hidden;padding-bottom:60px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-content::-webkit-scrollbar-thumb{background:#f3f4f6}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-content::-webkit-scrollbar-thumb:hover{background:#ff5000}.hb_detail_wrapper[data-v-f2c2c397] .ant-form-item-label>label{font-size:13px;color:#374151}.hb_detail_wrapper[data-v-f2c2c397] .anchorStyle{position:fixed;right:-76px;top:114px!important;z-index:90000!important;padding:0 15px!important;background:#fff;border:1px;box-shadow:0 0 11px 3px #ccc;border-radius:6px;transition:all .3s ease}.hb_detail_wrapper[data-v-f2c2c397] .anchorStyle:hover{right:0}.hb_detail_wrapper[data-v-f2c2c397] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{padding:6px!important;font-size:13px}.hb_detail_wrapper.hb_need_set_desc_label_width[data-v-f2c2c397] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{width:var(--hb-detail-desc-label-width)}.hb_detail_wrapper.hb_need_set_desc_value_width[data-v-f2c2c397] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{width:var(--hb-detail-desc-value-width)}.hb_detail_wrapper[data-v-f2c2c397] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{padding:6px!important;font-size:13px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-pagination.ant-pagination{margin:5px 0}.hb_detail_wrapper[data-v-f2c2c397] .ant-table.ant-table-middle .ant-table-thead>tr>th{padding:6px 4px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table.ant-table-middle .ant-table-tbody>tr>td{padding:6px 4px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-tbody>tr>td{padding:6px;font-size:13px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-thead>tr>th{color:#6b7280;font-weight:600;background:#f3f4f6;font-size:13px;padding:6px}.hb_detail_wrapper[data-v-f2c2c397] .ant-empty-normal{margin:0}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-footer{padding:6px 16px}.hb_detail_wrapper .hb_detail_top_wrapper[data-v-f2c2c397]{background:#fff;margin-bottom:10px;padding:10px}.hb_detail_wrapper .hb_detail_all_info[data-v-f2c2c397]{display:flex}.hb_detail_wrapper .hb_detail_all_info .hb_detail_info_title[data-v-f2c2c397]{font-size:16px;font-weight:700}.hb_detail_wrapper .hb_detail_all_info .hb_detail_info_content[data-v-f2c2c397]{font-size:15px;color:gray}.hb_detail_wrapper .hb_detail_all_info .hb_detail_info_content .create_by[data-v-f2c2c397]{margin-right:10px}.hb_detail_wrapper[data-v-f2c2c397] .ant-tabs{background:#fff;padding:0 6px}.hb-back-top-inner[data-v-f2c2c397]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;background:#fff;border-radius:50%;color:var(--hb-theme-color);font-size:30px;box-shadow:0 0 8px 2px #0000004d}.hb_edit_detail_content_wrapper[data-v-f2c2c397]{height:100%;overflow:auto}.hb_detail_content[data-v-f2c2c397]{min-width:800px;margin:0 auto;box-sizing:border-box}.hb_detail_content .anticon-rollback[data-v-f2c2c397]{color:var(--hb-theme-color)}.ml6[data-v-f2c2c397]{margin-left:6px}.footer-affix-wrapper[data-v-37376438]{left:var(--pageHeaderOrFonterLeft);position:fixed;bottom:0;right:0;z-index:1000000}.page-footer-bar[data-v-37376438]{display:flex;justify-content:center;align-items:center;height:56px;background:#fff;border-top:1px solid #f0f0f0;box-shadow:0 -2px 8px #0000000f;width:100%}.page-footer-bar.page_footer_btn_left[data-v-37376438]{justify-content:flex-start;padding-left:var(--hb-space)}.page-footer-bar.page_footer_btn_right[data-v-37376438]{justify-content:flex-end;padding-right:var(--hb-space)}.hb_list_page_button[data-v-37376438]:not(:last-child){margin-right:var(--hb-space)}.__module-card[data-v-2c15ecab]{margin-bottom:6px}.modal__module-card[data-v-2c15ecab]{margin-bottom:0}.hb_card[data-v-2c15ecab]{box-shadow:var(--box-shadow-base);border-radius:4px;border:1px solid #f3f4f6;background-color:#fff;overflow:hidden;color:#1f2837;-webkit-transition:.3s;transition:.3s;padding-bottom:6px}.hb_card_header[data-v-2c15ecab]{padding:6px;box-sizing:border-box}.hb_fix[data-v-2c15ecab]{display:flex;justify-content:space-between;align-items:center}.hb_fix .hb_card_header-title[data-v-2c15ecab]{display:inline-flex;align-items:center;font-weight:700;font-size:13px;color:#374151bf}.hb_fix .hb_card_header-title[data-v-2c15ecab]:before{content:"";margin-right:8px;background:var(--hb-theme-color);display:inline-block;width:4px;height:14px}.hb_card_body[data-v-2c15ecab]{padding:0 6px}.hb_card_form[data-v-2c15ecab]{display:grid;grid-template-columns:repeat(4,1fr);gap:0 22px}.hb_card_form[data-v-2c15ecab] .ant-form-item{width:100%!important;margin-bottom:5px;margin-right:0}.hb_card_form[data-v-2c15ecab] .ant-form-item.col_2{grid-column:span 2}.hb_card_form[data-v-2c15ecab] .ant-form-item.col_3{grid-column:span 3}.hb_card_form[data-v-2c15ecab] .ant-form-item.col_4{grid-column:span 4}.hb_card_form[data-v-2c15ecab] .ant-form-item-with-help{margin-bottom:0!important}.hb_card_form[data-v-2c15ecab] .ant-form-item-with-help .ant-form-item-explain{font-size:12px;min-height:20px}.hb_card_form[data-v-2c15ecab] .ant-form-item-label{padding:0 0 2px!important}@media screen and (max-width:1600px){.hb_card_form[data-v-2c15ecab]{grid-template-columns:repeat(3,1fr)}.hb_card_form .col_2[data-v-2c15ecab]{grid-column:span 2}.hb_card_form .col_3[data-v-2c15ecab],.hb_card_form .col_4[data-v-2c15ecab]{grid-column:span 3}}.hb_card_form[data-v-2c15ecab] .ant-form-item-label>label:after{margin-right:5px;content:""}.hb_card_flex_form[data-v-2c15ecab]{display:flex;justify-content:space-between;flex-wrap:wrap}.hb_card_flex_form[data-v-2c15ecab] .ant-form-item-with-help{margin-bottom:0!important}.hb_card_flex_form[data-v-2c15ecab] .ant-form-item{margin-bottom:var(--hb-card-form-item-mb)}.hb_card_flex_form[data-v-2c15ecab] .ant-form-item-with-help .ant-form-item-explain{font-size:12px;min-height:20px}.hb_card_flex_form[data-v-2c15ecab] .ant-form-item-label>label:after{margin:0 8px}.hb_card_flex_form[data-v-2c15ecab] .ant-form-item{width:48%!important}.hb_card_flex_form.l1c[data-v-2c15ecab] .ant-form-item{width:100%!important}.hb_card_flex_form.l3c[data-v-2c15ecab] .ant-form-item{width:30%!important}.hb_card_flex_form.l3c[data-v-2c15ecab] .ant-form-item.col_2{width:65%!important}.hb_card_flex_form.l4c[data-v-2c15ecab] .ant-form-item{width:23%!important}.hb_card_flex_form.l4c[data-v-2c15ecab] .ant-form-item.col_2{width:48.7%!important}.hb_card_flex_form.l4c[data-v-2c15ecab] .ant-form-item.col_3{width:74.4%!important}.hb_card_flex_form[data-v-2c15ecab] .ant-form-item.col_all{width:100%!important}.hb_modal_wrapper .__module-card[data-v-2c15ecab]{margin-bottom:0!important}.hb_modal_wrapper[data-v-2c15ecab] .hb_card{border:none!important;box-shadow:var(--box-shadow-base);background-color:#fff;overflow:hidden;color:#1f2837;-webkit-transition:.3s;transition:.3s}.hb_modal_wrapper[data-v-2c15ecab] .hb_card_header{padding:6px;box-sizing:border-box}.hb_modal_wrapper[data-v-2c15ecab] .hb_fix{display:flex;justify-content:space-between;align-items:center}.hb_modal_wrapper[data-v-2c15ecab] .hb_fix .hb_card_header-title{display:inline-flex;align-items:center;font-weight:700;font-size:13px;color:#374151bf}.hb_modal_wrapper[data-v-2c15ecab] .hb_fix .hb_card_header-title:before{content:"";margin-right:8px;background:var(--hb-theme-color);display:inline-block;width:4px;height:14px}.hb_modal_wrapper[data-v-2c15ecab] .ant-form-vertical .ant-form-item-label{padding:0 0 2px}.hb_modal_wrapper[data-v-2c15ecab] .hb_card_body{padding:0 6px}.hb_modal_wrapper[data-v-2c15ecab] .ant-form-item-label>label{font-size:13px;color:#000000ad}.hb_modal_wrapper .hb_card_form_sub_title[data-v-2c15ecab]{font-size:13px;color:#374151bf}.hb_modal_wrapper[data-v-2c15ecab] .ant-table-thead>tr>th{color:#6b7280;font-weight:600;background:#f3f4f6;font-size:13px;padding:6px}.hb_modal_wrapper[data-v-2c15ecab] .ant-table-pagination.ant-pagination{margin:5px 0}.hb_modal_wrapper[data-v-2c15ecab] .ant-table-tbody>tr>td{padding:6px;font-size:13px}.hb_modal_wrapper[data-v-2c15ecab] .ant-table-content>table>tbody>tr>td{padding:6px;font-size:13px}.hb_modal_wrapper[data-v-2c15ecab] .ant-empty-normal{margin:0}.hb_modal_wrapper[data-v-2c15ecab] .ant-table-footer{padding:6px 16px}.hb_detail_modal_wrapper .__module-card[data-v-2c15ecab]{margin-bottom:0!important}.hb_detail_modal_wrapper[data-v-2c15ecab] .hb_card_body{padding-top:0}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-form-item-label>label:after{margin:0 8px}.hb_detail_modal_wrapper .hb_card_form_sub_title[data-v-2c15ecab]{font-size:13px;font-weight:700}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{padding:6px!important;font-size:13px}.hb_detail_modal_wrapper.hb_need_set_desc_label_width[data-v-2c15ecab] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{width:var(--hb-detail-desc-label-width)}.hb_detail_modal_wrapper.hb_need_set_desc_value_width[data-v-2c15ecab] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{width:var(--hb-detail-desc-value-width)}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{padding:6px!important;font-size:13px}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-table-pagination.ant-pagination{margin:5px 0}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-table-tbody>tr>td{padding:6px;font-size:13px}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-table-content>table>tbody>tr>td{padding:6px;font-size:13px}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-table-thead>tr>th{color:#6b7280;font-weight:600;background:#f3f4f6;font-size:13px;padding:6px}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-empty-normal{margin:0}.hb_detail_modal_wrapper[data-v-2c15ecab] .ant-table-footer{padding:6px 16px}.hb_detail_modal_wrapper[data-v-2c15ecab] .hb_card{border:none}.__detail-content[data-v-ee7895be]{min-width:800px;margin:0 auto;padding-top:33px;padding-bottom:80px;box-sizing:border-box;background-color:#f0f2f5}.hb-back-top-inner[data-v-ee7895be]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;background:#fff;border-radius:50%;color:var(--hb-theme-color);font-size:30px;box-shadow:0 0 8px 2px #0000004d}.hb_edit_detail_content_wrapper[data-v-ee7895be]{height:100%;overflow:auto}.hb_detail_content[data-v-ee7895be]{min-width:800px;margin:0 auto;box-sizing:border-box}.hb_detail_content .anticon-rollback[data-v-ee7895be]{color:var(--hb-theme-color)}[data-v-ee7895be] .ant-table-content::-webkit-scrollbar-thumb{background:#f3f4f6}[data-v-ee7895be] .ant-table-content::-webkit-scrollbar-thumb:hover{background:#ff5000}[data-v-ee7895be] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label,[data-v-ee7895be] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{padding:6px!important;font-size:13px}[data-v-ee7895be] .ant-table-pagination.ant-pagination{margin:6px 0}[data-v-ee7895be] .ant-table.ant-table-middle .ant-table-thead>tr>th{padding:6px 4px}[data-v-ee7895be] .ant-table.ant-table-middle .ant-table-tbody>tr>td{padding:6px 4px}[data-v-ee7895be] .ant-table-tbody>tr>td{padding:6px;font-size:13px}[data-v-ee7895be] .ant-table-thead>tr>th{color:#6b7280;font-weight:600;background:#f3f4f6;font-size:13px;padding:6px}[data-v-ee7895be] .ant-empty-normal{margin:0}[data-v-ee7895be] .ant-table-footer{padding:6px 16px}.hb_edit_wrapper[data-v-ee7895be] .ant-form-item-label>label{font-size:13px;color:#374151}.hb_edit_header[data-v-83fcd208]{left:var(--pageHeaderOrFonterLeft);position:fixed;width:100%;z-index:9;justify-content:space-between;box-sizing:border-box;display:flex;height:34px;padding-left:0;background:#fff;align-items:center;box-shadow:0 1px 2px #0000000f,0 1px 3px #0000001a}.hb_edit_header_left[data-v-83fcd208]{font-size:14px;font-weight:700;color:#374151;height:100%;display:flex;align-items:center;padding-left:10px}.hb_edit_header_left .anticon-rollback[data-v-83fcd208]{color:var(--hb-theme-color)}.hb_edit_header_left .backBtn[data-v-83fcd208]{margin-left:6px;height:100%;display:flex;align-items:center}:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.hb-lib-list-page-container{background:#fff}.hb-lib-list-page-container .hb_list_page_button{height:var(--hb-list-button-height)!important;padding:0 var(--hb-space)!important}.hb-lib-list-page-container .hb_list_page_button:not(:last-child){margin-right:var(--hb-space)}.hb-lib-list-page-container .hb_list_page_button .buttonText{line-height:var(--hb-list-button-height)!important}.hb-lib-list-page-container .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0}.list-page-box{padding:5px 0 0}.list-page-box .ant-table-row .ant-table-cell,.list-page-box .ant-table-thead .ant-table-cell{padding:calc(var(--hb-space) / 2)!important}.list-page-box .ant-input-search-button{border:none!important}.list-page-box .ant-tabs-top>.ant-tabs-nav{margin-bottom:calc(var(--hb-space) / 2)!important}.list-page-box .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab{padding:calc(var(--hb-space) / 2) 0!important}.list-page-box .ant-table-body::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:var(--hb-border-radius)}.list-page-box .ant-table-bordered.ant-table-fixed-header .ant-table-body{height:var(--hb-list-table-height)!important;max-height:none!important}.hb-lib-list-page-act-box{background:#fff;display:flex;justify-content:space-between;box-shadow:0 4px 3px #f0f0f0cf;padding:calc(var(--hb-space) / 2) var(--hb-space)}.hb-lib-list-page-act{display:flex;align-items:center}.hb-lib-list-page-act .hb-lib-list-page-act-svg{display:inline-block;width:18px;height:18px;cursor:pointer}.hb-lib-list-page-act .hb-lib-list-page-act-svg:not(:last-child){margin-right:calc(var(--hb-space) / 2)}.hb-lib-list-page-act .hb-lib-list-page-act-svg .icon{width:100%;height:100%}.hb-lib-list-page-breadcrumb{font-size:var(--hb-text-font-size);color:#3e3e3e;display:flex;align-items:center}.hb-lib-list-page-form-box{display:flex;justify-content:space-between;background:#fff;border-radius:8px}.hb-form-item-ui{flex:1}.hb-form-item-ui .ant-form-item{border:1px solid #d1d5dbb3!important;border-radius:var(--hb-border-radius)!important;margin-bottom:var(--hb-form-space)!important;margin-right:var(--hb-form-space)!important;height:var(--hb-f-item-height);min-width:250px!important}.hb-form-item-ui .ant-input{border:none!important;border-radius:var(--hb-border-radius)!important;padding:4px var(--hb-space) 4px 0px!important}.hb-form-item-ui .ant-input:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-input-number{border:none!important;border-radius:var(--hb-border-radius)!important}.hb-form-item-ui .ant-input-number:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-form-item-label>label{padding:0 0 0 var(--hb-form-space)}.hb-form-item-ui .ant-select-selector{border:none!important;border-radius:var(--hb-border-radius)!important;padding:0px var(--hb-form-space) 0px var(--hb-form-space)!important;outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-select-selector:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-select:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-select-focused{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-input-affix-wrapper{height:var(--hb-f-item-content-height)!important;border:none!important;border-radius:var(--hb-border-radius)!important}.hb-form-item-ui .ant-input-affix-wrapper:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-picker,.hb-form-item-ui .ant-picker-range{border:none!important;border-radius:var(--hb-border-radius)!important}.hb-form-item-ui .ant-picker-focused{box-shadow:none!important}.hb-form-item-ui .ant-input-affix-wrapper:focus,.hb-form-item-ui .ant-input-affix-wrapper-focused{box-shadow:none!important}.hb-form-item-ui .ant-form-item-control-input-content{display:flex}.hb-form-item-ui .ant-select-selection-item{display:flex;align-items:center}.hb-form-item-ui .ant-select-selection-placeholder{padding-left:var(--hb-form-space)!important}.hb-form-item-ui .ant-select-selection-overflow{flex-wrap:nowrap;overflow:hidden}.hb-form-item-ui .ant-input-group-addon{border:none!important}body{overflow-x:hidden}.btn_pd{padding-bottom:var(--hb-space)!important}.hb-lib-detail-box .ant-card{margin-bottom:var(--hb-space)!important}.hb-lib-detail-box .ant-card-head{min-height:var(--hb-card-head)!important}.hb-lib-detail-box .ant-card-head .ant-card-head-title{padding:calc(var(--hb-space) / 2) 0!important}.hb-lib-detail-box .ant-card-body{padding:var(--hb-space)!important}.hb-lib-detail-box .ant-table-row .ant-table-cell,.hb-lib-detail-box .ant-table-thead .ant-table-cell{padding:calc(var(--hb-space) / 2)!important}.hb-lib-detail-box .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0!important}.hb-lib-detail-box .ant-descriptions-row,.hb-lib-detail-box .ant-descriptions-item{padding-bottom:calc(var(--hb-space) / 2)!important}.isNotMb{margin-bottom:0!important}.hb_form_item_mb{margin-bottom:var(--hb-form-item-margin)!important}.hb_small_button{height:var(--hb-list-button-height)!important;padding:0 var(--hb-space)!important}
1
+ [data-v-93f23c9d]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.hb-sfcm[data-v-93f23c9d] .ant-modal-header{border-bottom:1px solid var(--hb-border-color);margin-bottom:var(--hb-space)}.hb-sfcm__title[data-v-93f23c9d]{font-size:var(--hb-h1-font-size);font-weight:700;color:var(--hb-title-color)}.hb-sfcm__title__tip[data-v-93f23c9d]{margin-right:var(--hb-space);padding-left:var(--hb-space);color:#080808;font-size:16px;font-weight:500;position:relative}.hb-sfcm__title__tip[data-v-93f23c9d]:before{content:"";width:6px;height:14px;background:var(--hb-theme-color);position:absolute;top:50%;left:0;transform:translateY(-50%);border-radius:var(--hb-border-radius)}.hb-sfcm__show__tag[data-v-93f23c9d]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__show__tag__item[data-v-93f23c9d]{float:left;margin-right:var(--hb-space);padding:2px 9px;background:var(--hb-theme-color);color:#fff;border:1px solid var(--hb-theme-color);border-radius:var(--hb-border-radius);margin-bottom:var(--hb-space);cursor:move;-webkit-user-select:none;user-select:none;display:flex;align-items:center}.hb-sfcm__show__tag__item.is-linked[data-v-93f23c9d]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-fixed[data-v-93f23c9d]{background:none;color:#9ca3af;border:1px solid var(--hb-border-color);cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-93f23c9d]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-93f23c9d]:hover{background:#ff7875;border-color:#ff7875}.hb-sfcm__unshow__tag[data-v-93f23c9d]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__unshow__tag__item[data-v-93f23c9d]{position:relative;float:left;margin-right:var(--hb-space);padding:2px 9px;color:#9ca3af;border:1px solid var(--hb-border-color);border-radius:var(--hb-border-radius);margin-bottom:var(--hb-space);cursor:pointer;-webkit-user-select:none;user-select:none}.hb-sfcm__unshow__tag__item.is-linked[data-v-93f23c9d]{color:#ff7875;border-color:#ff7875}.hb-sfcm__show__tag__item-close[data-v-93f23c9d]{margin-left:6px;cursor:pointer}.hb-sfcm__show__tag__item-close[data-v-93f23c9d]:hover{transform:scale(1.3)}.hb-sfcm__unshow__tag__item-add[data-v-93f23c9d]{position:absolute;width:100%;height:100%;top:0;left:0;background:#1a1818;color:#fff;text-align:center;display:flex;align-items:center;justify-content:center;border-radius:var(--hb-border-radius)}.hb-sfcm__unshow__tag__empty[data-v-93f23c9d]{text-align:center;color:var(--hb-border-color)}[data-v-8307bb07]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.isNeedFooterCss[data-v-8307bb07]{flex-direction:column}.hb-form[data-v-8307bb07] .ant-form-item{margin-bottom:var(--hb-form-space)}.hb-form .hb-form__footer[data-v-8307bb07]{display:flex;justify-content:space-between;margin-top:-6px}.hb-lib-form--container[data-v-8307bb07]{overflow:hidden;margin:6px}.hide[data-v-8307bb07]{height:0}.hb-form__form-item-col[data-v-8307bb07]{flex:0 0 auto;min-width:200px;width:auto;padding-right:var(--hb-space);margin-bottom:16px}.form-footer[data-v-8307bb07]{display:flex;align-items:center;margin-bottom:10px}.form-collapse-enter-active,.form-collapse-leave-active{transition:height .2s ease;overflow:hidden}.form-collapse-enter-from,.form-collapse-leave-to{height:0}.hb-lib-form-svg{margin-right:13px;cursor:pointer;display:flex;align-items:center}.hb-lib-form-svg .icon{width:18px;height:20px}.hb-form-item-ui .ant-form-item.hb-lib-form-item-border--unneed{border:none!important}.hb-form-item-ui .ant-form-item.hb_lib_form_item--needShowAll{height:auto!important}.hb-form-item-ui .ant-form-item.hb_lib_form_item--needShowAll .ant-select-selection-overflow{flex-wrap:wrap;max-width:373px}.hb-form-item-ui .ant-form-item.hb_lib_form_item--needShowAll .ant-form-item-control-input-content{max-width:373px}.hb-form-item-ui .ant-form-item.hb_lib_form_item--needShowAll .ant-select-show-arrow{height:var(--hb-f-item-height)!important}.hb-form__footer__right{display:flex;align-items:center;justify-content:space-between;min-width:206px}.ant-row[sublabel] .ant-form-item-label label,.ant-row[sublabellanguage] .ant-form-item-label label{display:none!important}[data-v-c7cd0710]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.hb-lib-list-page-act-item[data-v-c7cd0710]{margin-right:var(--hb-space)}[data-v-de62f20a]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.hb-lib-list-btns-box[data-v-de62f20a]{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:5px 5px 0;margin-top:5px;border-radius:6px 6px 0 0}.hb-lib-list-btns-box .hb-lib-list-btns-right[data-v-de62f20a]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-de62f20a]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-de62f20a]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-de62f20a]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-de62f20a]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-de62f20a]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-de62f20a]{display:flex;align-items:center}.flex-between[data-v-87177371]{display:flex;justify-content:space-between;align-items:center}.flex-center[data-v-87177371]{display:flex;align-items:center}.hb-lib-selector-wrapper[data-v-87177371]{position:relative}.hb-lib-selector-wrapper .ant-input[data-v-87177371]{cursor:pointer}.has-prefix[data-v-87177371]:before{content:attr(data-prefix);position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#262626;font-size:14px;white-space:nowrap;pointer-events:none;z-index:1}.has-prefix[data-v-87177371] .ant-select-selector{padding-left:calc(12px + var(--prefix-width, 0px))}.has-prefix[data-v-87177371] .ant-select-selection-placeholder{padding-left:var(--prefix-width, 0px)}.hb-lib-selector-dropdown[data-v-87177371]{padding:8px;min-width:200px}.hb-lib-selector-search[data-v-87177371]{margin-bottom:8px}.hb-lib-selector-list[data-v-87177371]{max-height:200px;overflow-y:auto}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar{width:6px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.hb-lib-selector-option[data-v-87177371]{display:flex;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:all .2s ease;gap:8px}.hb-lib-selector-option[data-v-87177371]:hover{background-color:#f5f5f5}.hb-lib-selector-option.selected[data-v-87177371]{background-color:#e6f7ff}.hb-lib-option-content[data-v-87177371]{flex:1}.hb-lib-option-label[data-v-87177371]{font-weight:500;color:#262626}.hb-lib-selector-empty[data-v-87177371]{text-align:center;color:#bfbfbf;padding:20px 0;font-size:14px}.hb-lib-selector-footer[data-v-87177371]{border-top:1px solid #f0f0f0;padding-top:8px;margin-top:8px;display:flex;justify-content:space-between;align-items:center}.hb-lib-footer-buttons[data-v-87177371]{display:flex;gap:8px}.selector-tag[data-v-87177371]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.selector-tag .tag-label[data-v-87177371]{font-weight:500}.selector-tag .tag-description[data-v-87177371]{margin-left:4px;font-size:12px;opacity:.8}.rotate-180[data-v-87177371]{transform:rotate(180deg)}.transition-transform[data-v-87177371]{transition:transform .2s}.hb-lib-search-tag[data-v-87177371]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.hb-lib-search-tag__description[data-v-87177371]{margin-left:4px;font-size:12px;opacity:.8}.hb-lib-multipleSelectModal-modal .ant-table-filter-trigger{font-size:18px!important}.hb-lib-multipleSelectModal-modal .ant-input-group-addon{border:none!important;cursor:pointer}.hb-lib-multipleSelectModal-modal .ant-modal-body{padding:calc(var(--hb-space) / 2)}.hb-lib-multipleSelectModal-modal .ant-table-thead .ant-table-column-title{color:#000;font-weight:bolder;font-size:18px}.hb-lib-multipleSelectModal-modal .ant-table-thead .ant-table-cell{color:#000;font-weight:bolder;font-size:18px;padding:calc(var(--hb-space) / 2)!important}.hb-lib-multipleSelectModal-modal .ant-table-row .ant-table-cell{padding:calc(var(--hb-space) / 2)!important}.hb-lib-multipleSelectModal-modal .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0!important}.hb-lib-form-item-filter-modal-search{padding:8px}.hb-lib-form-item-filter-modal-search-input{width:188px;margin-bottom:8px;display:block}.hb-lib-form-item-filter-modal-buttons{display:flex;justify-content:space-between;margin-top:10px}.hb-lib-table-act-box[data-v-25fd055e]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}.hb-lib-table-act-box .hb-lib-table-main-action[data-v-25fd055e],.hb-lib-table-act-box .hb-lib-table-more-action[data-v-25fd055e]{text-decoration:none}.hb-lib-table-act-box .hb-lib-table-more-action[data-v-25fd055e]{display:inline-flex;align-items:center}.hb-lib-table-act-box[data-v-25fd055e] .ant-divider:not(:has(+a)){display:none}.hb-lib-table-confirm-modal-content[data-v-25fd055e]{font-size:16px}.hb-lib-table-act-box .ant-divider-vertical{margin:0}.ant-dropdown-menu-title-content>a:hover{color:var(--hb-theme-color)!important}.hb-lib-list-table[data-v-4a8b9aaa]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-4a8b9aaa] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-4a8b9aaa]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-4a8b9aaa] .ant-table-tbody>.ant-table-row>td{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;height:var(--hb-lib-table-td-height)!important;box-sizing:content-box}[data-v-07a63550]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.ant-alert[data-v-07a63550]{box-sizing:border-box;margin:0;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;padding:8px 15px 8px 37px;word-wrap:break-word;border-radius:var(--hb-border-radius);border:1px solid #ffb27a;background-color:#fff2e6}.ant-alert .com-alert[data-v-07a63550]{display:flex;justify-content:space-between;width:100%;align-items:center}.ant-alert .com-alert a[data-v-07a63550]{color:#ff5000}.select-all-container[data-v-07a63550]{padding:8px 0}.hb-lib-table-setting-box[data-v-07a63550]{display:flex}.hb-lib-table-set-drag[data-v-07a63550]{max-height:300px;overflow-y:auto}.hb-lib-table-drag-item[data-v-07a63550]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border:1px solid #f0f0f0;margin-bottom:4px;background-color:#fff;border-radius:var(--hb-border-radius);width:280px}.hb-lib-table-drag-item[data-v-07a63550]:hover{background-color:#f5f5f5}.hb-lib-table-drag-item .drag-handle[data-v-07a63550]{cursor:move;color:#999;padding:4px;-webkit-user-select:none;user-select:none}.ghost[data-v-07a63550]{opacity:.5;background:#c8ebfb}.table-setting-checkbox-group[data-v-07a63550]{display:flex;flex-wrap:wrap}.table-setting-checkbox-group[data-v-07a63550] .ant-checkbox-group-item{margin-right:0;width:33.33%}.hb-lib-table-set-btn-group[data-v-07a63550]{margin-top:10px;display:flex;justify-content:end;align-items:center;border-top:1px solid #f0f0f0;padding-top:8px}.drag-hide[data-v-07a63550]{visibility:hidden}.hb-lib-table-drag-item-act-btn[data-v-07a63550]{display:inline-block;cursor:pointer;width:14px;height:20px}.hb-lib-table-drag-item-act-btn .icon[data-v-07a63550]{width:100%;height:100%}.hb-lib-table-col-set[data-v-07a63550]{display:inline-block;cursor:pointer;width:22px;height:23px}.hb-lib-table-col-set .icon[data-v-07a63550]{width:100%;height:100%}.hb-lib-table-drag-item-act[data-v-07a63550]{display:flex;align-items:center;width:40px;justify-content:space-between}.column_setting_popover{width:auto!important}.hb_lib_form_tooltip_select[data-v-b04f5675]{width:100%}.hb_lib_form_tooltip_select__option[data-v-b04f5675]{display:inline-flex;align-items:center;gap:4px}.hb_lib_form_tooltip_select__option.is-ellipsis[data-v-b04f5675]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb_lib_form_tooltip_select__dropdown .ant-select-item-option-content{display:flex;align-items:center;gap:4px}.hb_import_btn[data-v-d61501db]{text-align:center;margin:0}.hb-lib-copy-text-eyevue[data-v-2b6710a1]{cursor:pointer;font-size:20px;display:inline-flex;justify-content:center;align-items:center;width:17px;height:17px;margin-left:8px}.hb-lib-copy-text-eyevue svg[data-v-2b6710a1]{width:13px;height:14px}.drag-slot-wrapper[data-v-15b227f5]{cursor:move;padding:8px;background-color:#f9f9f9;border:1px solid #eee;margin-bottom:10px}[data-v-cf0b0a0d]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.activted[data-v-cf0b0a0d]{color:var(--hb-theme-color)}.ant-dropdown-link[data-v-cf0b0a0d]{cursor:pointer}.hb_lib_loading_loading_anima[data-v-22f438b9]{background-color:#f0f0f059;display:flex;justify-content:center;align-items:center;perspective:800px;position:fixed;inset:0}.cube[data-v-22f438b9]{position:relative;width:100px;height:100px;transform-style:preserve-3d;animation:rotate-22f438b9 4s infinite linear}.side[data-v-22f438b9]{position:absolute;width:100px;height:100px;background:#ff5000cc;border:3px solid #fff;opacity:.9;box-shadow:inset 0 0 15px #ffffff80}.front[data-v-22f438b9]{transform:translateZ(50px);background:#ff5000f2}.back[data-v-22f438b9]{transform:rotateY(180deg) translateZ(50px);background:#e64800e6}.right[data-v-22f438b9]{transform:rotateY(90deg) translateZ(50px);background:#ff6626e6}.left[data-v-22f438b9]{transform:rotateY(-90deg) translateZ(50px);background:#ff4000e6}.top[data-v-22f438b9]{transform:rotateX(90deg) translateZ(50px);background:#ff8040e6}.bottom[data-v-22f438b9]{transform:rotateX(-90deg) translateZ(50px);background:#cc4000e6}@keyframes rotate-22f438b9{0%{transform:rotateX(0) rotateY(0) rotate(0)}to{transform:rotateX(360deg) rotateY(360deg) rotate(360deg)}}.hb_lib_loading_load_tips[data-v-22f438b9]{position:absolute;bottom:36%;text-align:center;font-size:16px;color:#666}[data-v-341c37f6]:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.log_remark[data-v-341c37f6]{width:85%}.hb_lib_log_modal_content[data-v-341c37f6]{padding:var(--hb-space) 0}.__module-card[data-v-927846d4]{margin-bottom:6px}.modal__module-card[data-v-927846d4]{margin-bottom:0}.hb_card[data-v-927846d4]{box-shadow:var(--box-shadow-base);border-radius:4px;border:1px solid #f3f4f6;background-color:#fff;overflow:hidden;color:#1f2837;-webkit-transition:.3s;transition:.3s;padding-bottom:6px}.hb_card_header[data-v-927846d4]{padding:6px;box-sizing:border-box}.hb_fix[data-v-927846d4]{display:flex;justify-content:space-between;align-items:center}.hb_fix .hb_card_header-title[data-v-927846d4]{display:inline-flex;align-items:center;font-weight:700;font-size:13px;color:#374151bf}.hb_fix .hb_card_header-title[data-v-927846d4]:before{content:"";margin-right:8px;background:var(--hb-theme-color);display:inline-block;width:4px;height:14px}.hb_card_body[data-v-927846d4]{padding:0 6px}.hb_card_form[data-v-927846d4]{display:grid;grid-template-columns:repeat(4,1fr);gap:0 22px}.hb_card_form[data-v-927846d4] .ant-form-item{width:100%!important;margin-bottom:5px;margin-right:0}.hb_card_form[data-v-927846d4] .ant-form-item.col_2{grid-column:span 2}.hb_card_form[data-v-927846d4] .ant-form-item.col_3{grid-column:span 3}.hb_card_form[data-v-927846d4] .ant-form-item.col_4{grid-column:span 4}.hb_card_form[data-v-927846d4] .ant-form-item-with-help{margin-bottom:0!important}.hb_card_form[data-v-927846d4] .ant-form-item-with-help .ant-form-item-explain{font-size:12px;min-height:20px}.hb_card_form[data-v-927846d4] .ant-form-item-label{padding:0 0 2px!important}@media screen and (max-width:1600px){.hb_card_form[data-v-927846d4]{grid-template-columns:repeat(3,1fr)}.hb_card_form .col_2[data-v-927846d4]{grid-column:span 2}.hb_card_form .col_3[data-v-927846d4],.hb_card_form .col_4[data-v-927846d4]{grid-column:span 3}}.hb_card_form[data-v-927846d4] .ant-form-item-label>label:after{margin-right:5px;content:""}.hb_card_flex_form[data-v-927846d4]{display:flex;justify-content:space-between;flex-wrap:wrap}.hb_card_flex_form[data-v-927846d4] .ant-form-item-with-help{margin-bottom:0!important}.hb_card_flex_form[data-v-927846d4] .ant-form-item{margin-bottom:var(--hb-card-form-item-mb)}.hb_card_flex_form[data-v-927846d4] .ant-form-item-with-help .ant-form-item-explain{font-size:12px;min-height:20px}.hb_card_flex_form[data-v-927846d4] .ant-form-item-label>label:after{margin:0 8px}.hb_card_flex_form[data-v-927846d4] .ant-form-item{width:48%!important}.hb_card_flex_form.l1c[data-v-927846d4] .ant-form-item{width:100%!important}.hb_card_flex_form.l3c[data-v-927846d4] .ant-form-item{width:30%!important}.hb_card_flex_form.l3c[data-v-927846d4] .ant-form-item.col_2{width:65%!important}.hb_card_flex_form.l4c[data-v-927846d4] .ant-form-item{width:23%!important}.hb_card_flex_form.l4c[data-v-927846d4] .ant-form-item.col_2{width:48.7%!important}.hb_card_flex_form.l4c[data-v-927846d4] .ant-form-item.col_3{width:74.4%!important}.hb_card_flex_form[data-v-927846d4] .ant-form-item.col_all{width:100%!important}.anchors[data-v-d51548d8]{position:fixed;right:-10px;transform:translate(calc(100% - 31px));padding:8px 24px 8px 5px;box-shadow:0 10px 15px -3 #00000014,0 4px 6px -2 #0000000a;border-radius:4px 0 0 4px;border:1px solid #e5e7eb;border-right:none;background-color:#fff;transition:all .2s ease-in-out;z-index:9999}.anchors[data-v-d51548d8]:hover{transform:translate(0)}.anchors .anchor-item[data-v-d51548d8]{padding:8px 0;display:flex;text-align:left;cursor:pointer}.anchors .anchor-item .step[data-v-d51548d8]{width:20px;padding-top:4px;position:relative}.anchors .anchor-item .step .line[data-v-d51548d8]{position:absolute;width:2px;left:4px;height:44px;background-color:#ebeef5}.anchors .anchor-item .step .circle[data-v-d51548d8]{position:absolute;z-index:2;width:10px;height:10px;border-radius:50%;border:2px solid #d5dae5;background-color:#fff;box-sizing:border-box;transition:all .3s ease}.anchors .anchor-item .step .circle[data-v-d51548d8]:after{width:4px;height:4px;border-radius:100%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .3s ease}.anchors .anchor-item .title[data-v-d51548d8]{height:18px;line-height:18px;color:#374151;transition:color .3s ease;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.anchors .anchor-item.isActive .circle[data-v-d51548d8]{border-color:var(--hb-theme-color);background-color:var(--hb-theme-color)}.anchors .anchor-item.isActive .circle[data-v-d51548d8]:after{transform:translate(-50%,-50%) scale(1)}.anchors .anchor-item.isActive .title[data-v-d51548d8]{color:var(--hb-theme-color)}.anchors .anchor-item:last-child .step .line[data-v-d51548d8]{width:0}.hb_detail_top_wrapper_sticky[data-v-f2c2c397]{position:sticky;top:0;background:#fff;margin-bottom:5px;padding:5px;z-index:1000;transition:all .3s ease}.hb_detail_top_act_sticky[data-v-f2c2c397]{opacity:0;position:fixed;background:#fff;top:112px;z-index:0;left:160px;right:0;padding:10px 16px;box-shadow:0 2px 8px #00000026}.hb_detail_top_act_sticky.can_show[data-v-f2c2c397]{z-index:88888;opacity:1}.hb_detail_wrapper[data-v-f2c2c397]{position:relative;background:#f1f2f5;width:100%;height:100%;box-sizing:border-box;overflow:hidden;padding-bottom:60px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-content::-webkit-scrollbar-thumb{background:#f3f4f6}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-content::-webkit-scrollbar-thumb:hover{background:#ff5000}.hb_detail_wrapper[data-v-f2c2c397] .ant-form-item-label>label{font-size:13px;color:#374151}.hb_detail_wrapper[data-v-f2c2c397] .anchorStyle{position:fixed;right:-76px;top:114px!important;z-index:90000!important;padding:0 15px!important;background:#fff;border:1px;box-shadow:0 0 11px 3px #ccc;border-radius:6px;transition:all .3s ease}.hb_detail_wrapper[data-v-f2c2c397] .anchorStyle:hover{right:0}.hb_detail_wrapper[data-v-f2c2c397] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{padding:6px!important;font-size:13px}.hb_detail_wrapper.hb_need_set_desc_label_width[data-v-f2c2c397] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{width:var(--hb-detail-desc-label-width)}.hb_detail_wrapper.hb_need_set_desc_value_width[data-v-f2c2c397] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{width:var(--hb-detail-desc-value-width)}.hb_detail_wrapper[data-v-f2c2c397] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{padding:6px!important;font-size:13px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-pagination.ant-pagination{margin:5px 0}.hb_detail_wrapper[data-v-f2c2c397] .ant-table.ant-table-middle .ant-table-thead>tr>th{padding:6px 4px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table.ant-table-middle .ant-table-tbody>tr>td{padding:6px 4px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-tbody>tr>td{padding:6px;font-size:13px}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-thead>tr>th{color:#6b7280;font-weight:600;background:#f3f4f6;font-size:13px;padding:6px}.hb_detail_wrapper[data-v-f2c2c397] .ant-empty-normal{margin:0}.hb_detail_wrapper[data-v-f2c2c397] .ant-table-footer{padding:6px 16px}.hb_detail_wrapper .hb_detail_top_wrapper[data-v-f2c2c397]{background:#fff;margin-bottom:10px;padding:10px}.hb_detail_wrapper .hb_detail_all_info[data-v-f2c2c397]{display:flex}.hb_detail_wrapper .hb_detail_all_info .hb_detail_info_title[data-v-f2c2c397]{font-size:16px;font-weight:700}.hb_detail_wrapper .hb_detail_all_info .hb_detail_info_content[data-v-f2c2c397]{font-size:15px;color:gray}.hb_detail_wrapper .hb_detail_all_info .hb_detail_info_content .create_by[data-v-f2c2c397]{margin-right:10px}.hb_detail_wrapper[data-v-f2c2c397] .ant-tabs{background:#fff;padding:0 6px}.hb-back-top-inner[data-v-f2c2c397]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;background:#fff;border-radius:50%;color:var(--hb-theme-color);font-size:30px;box-shadow:0 0 8px 2px #0000004d}.hb_edit_detail_content_wrapper[data-v-f2c2c397]{height:100%;overflow:auto}.hb_detail_content[data-v-f2c2c397]{min-width:800px;margin:0 auto;box-sizing:border-box}.hb_detail_content .anticon-rollback[data-v-f2c2c397]{color:var(--hb-theme-color)}.ml6[data-v-f2c2c397]{margin-left:6px}.footer-affix-wrapper[data-v-37376438]{left:var(--pageHeaderOrFonterLeft);position:fixed;bottom:0;right:0;z-index:1000000}.page-footer-bar[data-v-37376438]{display:flex;justify-content:center;align-items:center;height:56px;background:#fff;border-top:1px solid #f0f0f0;box-shadow:0 -2px 8px #0000000f;width:100%}.page-footer-bar.page_footer_btn_left[data-v-37376438]{justify-content:flex-start;padding-left:var(--hb-space)}.page-footer-bar.page_footer_btn_right[data-v-37376438]{justify-content:flex-end;padding-right:var(--hb-space)}.hb_list_page_button[data-v-37376438]:not(:last-child){margin-right:var(--hb-space)}.__module-card[data-v-e3e03545]{margin-bottom:6px}.modal__module-card[data-v-e3e03545]{margin-bottom:0}.hb_card[data-v-e3e03545]{box-shadow:var(--box-shadow-base);border-radius:4px;border:1px solid #f3f4f6;background-color:#fff;overflow:hidden;color:#1f2837;-webkit-transition:.3s;transition:.3s;padding-bottom:6px}.hb_card_header[data-v-e3e03545]{padding:6px;box-sizing:border-box}.hb_fix[data-v-e3e03545]{display:flex;justify-content:space-between;align-items:center}.hb_fix .hb_card_header-title[data-v-e3e03545]{display:inline-flex;align-items:center;font-weight:700;font-size:13px;color:#374151bf}.hb_fix .hb_card_header-title[data-v-e3e03545]:before{content:"";margin-right:8px;background:var(--hb-theme-color);display:inline-block;width:4px;height:14px}.hb_card_body[data-v-e3e03545]{padding:0 6px}.hb_card_form[data-v-e3e03545]{display:grid;grid-template-columns:repeat(4,1fr);gap:0 22px}.hb_card_form[data-v-e3e03545] .ant-form-item{width:100%!important;margin-bottom:5px;margin-right:0}.hb_card_form[data-v-e3e03545] .ant-form-item.col_2{grid-column:span 2}.hb_card_form[data-v-e3e03545] .ant-form-item.col_3{grid-column:span 3}.hb_card_form[data-v-e3e03545] .ant-form-item.col_4{grid-column:span 4}.hb_card_form[data-v-e3e03545] .ant-form-item-with-help{margin-bottom:0!important}.hb_card_form[data-v-e3e03545] .ant-form-item-with-help .ant-form-item-explain{font-size:12px;min-height:20px}.hb_card_form[data-v-e3e03545] .ant-form-item-label{padding:0 0 2px!important}@media screen and (max-width:1600px){.hb_card_form[data-v-e3e03545]{grid-template-columns:repeat(3,1fr)}.hb_card_form .col_2[data-v-e3e03545]{grid-column:span 2}.hb_card_form .col_3[data-v-e3e03545],.hb_card_form .col_4[data-v-e3e03545]{grid-column:span 3}}.hb_card_form[data-v-e3e03545] .ant-form-item-label>label:after{margin-right:5px;content:""}.hb_card_flex_form[data-v-e3e03545]{display:flex;justify-content:space-between;flex-wrap:wrap}.hb_card_flex_form[data-v-e3e03545] .ant-form-item-with-help{margin-bottom:0!important}.hb_card_flex_form[data-v-e3e03545] .ant-form-item{margin-bottom:var(--hb-card-form-item-mb)}.hb_card_flex_form[data-v-e3e03545] .ant-form-item-with-help .ant-form-item-explain{font-size:12px;min-height:20px}.hb_card_flex_form[data-v-e3e03545] .ant-form-item-label>label:after{margin:0 8px}.hb_card_flex_form[data-v-e3e03545] .ant-form-item{width:48%!important}.hb_card_flex_form.l1c[data-v-e3e03545] .ant-form-item{width:100%!important}.hb_card_flex_form.l3c[data-v-e3e03545] .ant-form-item{width:30%!important}.hb_card_flex_form.l3c[data-v-e3e03545] .ant-form-item.col_2{width:65%!important}.hb_card_flex_form.l4c[data-v-e3e03545] .ant-form-item{width:23%!important}.hb_card_flex_form.l4c[data-v-e3e03545] .ant-form-item.col_2{width:48.7%!important}.hb_card_flex_form.l4c[data-v-e3e03545] .ant-form-item.col_3{width:74.4%!important}.hb_card_flex_form[data-v-e3e03545] .ant-form-item.col_all{width:100%!important}.hb_modal_wrapper .__module-card[data-v-e3e03545]{margin-bottom:0!important}.hb_modal_wrapper[data-v-e3e03545] .hb_card{border:none!important;box-shadow:var(--box-shadow-base);background-color:#fff;overflow:hidden;color:#1f2837;-webkit-transition:.3s;transition:.3s}.hb_modal_wrapper[data-v-e3e03545] .hb_card_header{padding:6px;box-sizing:border-box}.hb_modal_wrapper[data-v-e3e03545] .hb_fix{display:flex;justify-content:space-between;align-items:center}.hb_modal_wrapper[data-v-e3e03545] .hb_fix .hb_card_header-title{display:inline-flex;align-items:center;font-weight:700;font-size:13px;color:#374151bf}.hb_modal_wrapper[data-v-e3e03545] .hb_fix .hb_card_header-title:before{content:"";margin-right:8px;background:var(--hb-theme-color);display:inline-block;width:4px;height:14px}.hb_modal_wrapper[data-v-e3e03545] .ant-form-vertical .ant-form-item-label{padding:0 0 2px}.hb_modal_wrapper[data-v-e3e03545] .hb_card_body{padding:0 6px}.hb_modal_wrapper[data-v-e3e03545] .ant-form-item-label>label{font-size:13px;color:#000000ad}.hb_modal_wrapper .hb_card_form_sub_title[data-v-e3e03545]{font-size:13px;color:#374151bf}.hb_modal_wrapper[data-v-e3e03545] .ant-table-thead>tr>th{color:#6b7280;font-weight:600;background:#f3f4f6;font-size:13px;padding:6px}.hb_modal_wrapper[data-v-e3e03545] .ant-table-pagination.ant-pagination{margin:5px 0}.hb_modal_wrapper[data-v-e3e03545] .ant-table-tbody>tr>td{padding:6px;font-size:13px}.hb_modal_wrapper[data-v-e3e03545] .ant-table-content>table>tbody>tr>td{padding:6px;font-size:13px}.hb_modal_wrapper[data-v-e3e03545] .ant-empty-normal{margin:0}.hb_modal_wrapper[data-v-e3e03545] .ant-table-footer{padding:6px 16px}.hb_detail_modal_wrapper .__module-card[data-v-e3e03545]{margin-bottom:0!important}.hb_detail_modal_wrapper[data-v-e3e03545] .hb_card_body{padding-top:0}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-form-item-label>label:after{margin:0 8px}.hb_detail_modal_wrapper .hb_card_form_sub_title[data-v-e3e03545]{font-size:13px;font-weight:700}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{padding:6px!important;font-size:13px}.hb_detail_modal_wrapper.hb_need_set_desc_label_width[data-v-e3e03545] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{width:var(--hb-detail-desc-label-width)}.hb_detail_modal_wrapper.hb_need_set_desc_value_width[data-v-e3e03545] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{width:var(--hb-detail-desc-value-width)}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{padding:6px!important;font-size:13px}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-table-pagination.ant-pagination{margin:5px 0}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-table-tbody>tr>td{padding:6px;font-size:13px}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-table-content>table>tbody>tr>td{padding:6px;font-size:13px}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-table-thead>tr>th{color:#6b7280;font-weight:600;background:#f3f4f6;font-size:13px;padding:6px}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-empty-normal{margin:0}.hb_detail_modal_wrapper[data-v-e3e03545] .ant-table-footer{padding:6px 16px}.hb_detail_modal_wrapper[data-v-e3e03545] .hb_card{border:none}.__detail-content[data-v-ee7895be]{min-width:800px;margin:0 auto;padding-top:33px;padding-bottom:80px;box-sizing:border-box;background-color:#f0f2f5}.hb-back-top-inner[data-v-ee7895be]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;background:#fff;border-radius:50%;color:var(--hb-theme-color);font-size:30px;box-shadow:0 0 8px 2px #0000004d}.hb_edit_detail_content_wrapper[data-v-ee7895be]{height:100%;overflow:auto}.hb_detail_content[data-v-ee7895be]{min-width:800px;margin:0 auto;box-sizing:border-box}.hb_detail_content .anticon-rollback[data-v-ee7895be]{color:var(--hb-theme-color)}[data-v-ee7895be] .ant-table-content::-webkit-scrollbar-thumb{background:#f3f4f6}[data-v-ee7895be] .ant-table-content::-webkit-scrollbar-thumb:hover{background:#ff5000}[data-v-ee7895be] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label,[data-v-ee7895be] .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{padding:6px!important;font-size:13px}[data-v-ee7895be] .ant-table-pagination.ant-pagination{margin:6px 0}[data-v-ee7895be] .ant-table.ant-table-middle .ant-table-thead>tr>th{padding:6px 4px}[data-v-ee7895be] .ant-table.ant-table-middle .ant-table-tbody>tr>td{padding:6px 4px}[data-v-ee7895be] .ant-table-tbody>tr>td{padding:6px;font-size:13px}[data-v-ee7895be] .ant-table-thead>tr>th{color:#6b7280;font-weight:600;background:#f3f4f6;font-size:13px;padding:6px}[data-v-ee7895be] .ant-empty-normal{margin:0}[data-v-ee7895be] .ant-table-footer{padding:6px 16px}.hb_edit_wrapper[data-v-ee7895be] .ant-form-item-label>label{font-size:13px;color:#374151}.hb_edit_header[data-v-83fcd208]{left:var(--pageHeaderOrFonterLeft);position:fixed;width:100%;z-index:9;justify-content:space-between;box-sizing:border-box;display:flex;height:34px;padding-left:0;background:#fff;align-items:center;box-shadow:0 1px 2px #0000000f,0 1px 3px #0000001a}.hb_edit_header_left[data-v-83fcd208]{font-size:14px;font-weight:700;color:#374151;height:100%;display:flex;align-items:center;padding-left:10px}.hb_edit_header_left .anticon-rollback[data-v-83fcd208]{color:var(--hb-theme-color)}.hb_edit_header_left .backBtn[data-v-83fcd208]{margin-left:6px;height:100%;display:flex;align-items:center}:root{--hb-form-item-margin: 10px;--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--hb-form-space: 6px;--hb-h1-font-size: 20px;--hb-h2-font-size: 16px;--hb-text-font-size: 14px;--hb-subtext-font-size: 13px;--hb-subtext-color: #cccc;--hb-f-item-height: 34px;--hb-f-item-content-height: 30px;--hb-tip-font-size: 13px;--hb-border-radius: 6px;--hb-border-color: #d1d5db;--hb-list-button-height: 26px}.hb-lib-list-page-container{background:#fff}.hb-lib-list-page-container .hb_list_page_button{height:var(--hb-list-button-height)!important;padding:0 var(--hb-space)!important}.hb-lib-list-page-container .hb_list_page_button:not(:last-child){margin-right:var(--hb-space)}.hb-lib-list-page-container .hb_list_page_button .buttonText{line-height:var(--hb-list-button-height)!important}.hb-lib-list-page-container .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0}.list-page-box{padding:5px 0 0}.list-page-box .ant-table-row .ant-table-cell,.list-page-box .ant-table-thead .ant-table-cell{padding:calc(var(--hb-space) / 2)!important}.list-page-box .ant-input-search-button{border:none!important}.list-page-box .ant-tabs-top>.ant-tabs-nav{margin-bottom:calc(var(--hb-space) / 2)!important}.list-page-box .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab{padding:calc(var(--hb-space) / 2) 0!important}.list-page-box .ant-table-body::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:var(--hb-border-radius)}.list-page-box .ant-table-bordered.ant-table-fixed-header .ant-table-body{height:var(--hb-list-table-height)!important;max-height:none!important}.hb-lib-list-page-act-box{background:#fff;display:flex;justify-content:space-between;box-shadow:0 4px 3px #f0f0f0cf;padding:calc(var(--hb-space) / 2) var(--hb-space)}.hb-lib-list-page-act{display:flex;align-items:center}.hb-lib-list-page-act .hb-lib-list-page-act-svg{display:inline-block;width:18px;height:18px;cursor:pointer}.hb-lib-list-page-act .hb-lib-list-page-act-svg:not(:last-child){margin-right:calc(var(--hb-space) / 2)}.hb-lib-list-page-act .hb-lib-list-page-act-svg .icon{width:100%;height:100%}.hb-lib-list-page-breadcrumb{font-size:var(--hb-text-font-size);color:#3e3e3e;display:flex;align-items:center}.hb-lib-list-page-form-box{display:flex;justify-content:space-between;background:#fff;border-radius:8px}.hb-form-item-ui{flex:1}.hb-form-item-ui .ant-form-item{border:1px solid #d1d5dbb3!important;border-radius:var(--hb-border-radius)!important;margin-bottom:var(--hb-form-space)!important;margin-right:var(--hb-form-space)!important;height:var(--hb-f-item-height);min-width:250px!important}.hb-form-item-ui .ant-input{border:none!important;border-radius:var(--hb-border-radius)!important;padding:4px var(--hb-space) 4px 0px!important}.hb-form-item-ui .ant-input:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-input-number{border:none!important;border-radius:var(--hb-border-radius)!important}.hb-form-item-ui .ant-input-number:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-form-item-label>label{padding:0 0 0 var(--hb-form-space)}.hb-form-item-ui .ant-select-selector{border:none!important;border-radius:var(--hb-border-radius)!important;padding:0px var(--hb-form-space) 0px var(--hb-form-space)!important;outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-select-selector:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-select:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-select-focused{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-input-affix-wrapper{height:var(--hb-f-item-content-height)!important;border:none!important;border-radius:var(--hb-border-radius)!important}.hb-form-item-ui .ant-input-affix-wrapper:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-picker,.hb-form-item-ui .ant-picker-range{border:none!important;border-radius:var(--hb-border-radius)!important}.hb-form-item-ui .ant-picker-focused{box-shadow:none!important}.hb-form-item-ui .ant-input-affix-wrapper:focus,.hb-form-item-ui .ant-input-affix-wrapper-focused{box-shadow:none!important}.hb-form-item-ui .ant-form-item-control-input-content{display:flex}.hb-form-item-ui .ant-select-selection-item{display:flex;align-items:center}.hb-form-item-ui .ant-select-selection-placeholder{padding-left:var(--hb-form-space)!important}.hb-form-item-ui .ant-select-selection-overflow{flex-wrap:nowrap;overflow:hidden}.hb-form-item-ui .ant-input-group-addon{border:none!important}body{overflow-x:hidden}.btn_pd{padding-bottom:var(--hb-space)!important}.hb-lib-detail-box .ant-card{margin-bottom:var(--hb-space)!important}.hb-lib-detail-box .ant-card-head{min-height:var(--hb-card-head)!important}.hb-lib-detail-box .ant-card-head .ant-card-head-title{padding:calc(var(--hb-space) / 2) 0!important}.hb-lib-detail-box .ant-card-body{padding:var(--hb-space)!important}.hb-lib-detail-box .ant-table-row .ant-table-cell,.hb-lib-detail-box .ant-table-thead .ant-table-cell{padding:calc(var(--hb-space) / 2)!important}.hb-lib-detail-box .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0!important}.hb-lib-detail-box .ant-descriptions-row,.hb-lib-detail-box .ant-descriptions-item{padding-bottom:calc(var(--hb-space) / 2)!important}.isNotMb{margin-bottom:0!important}.hb_form_item_mb{margin-bottom:var(--hb-form-item-margin)!important}.hb_small_button{height:var(--hb-list-button-height)!important;padding:0 var(--hb-space)!important}
@@ -2874,10 +2874,10 @@ const Ol = {
2874
2874
  needSetDesDefault: !1,
2875
2875
  desDefault: "-",
2876
2876
  setDefaultValueTimeOut: 600,
2877
- backTopBottom: 80
2877
+ backTopBottom: 150
2878
2878
  },
2879
2879
  HbLibUnDetailBox: {
2880
- backTopBottom: 80
2880
+ backTopBottom: 150
2881
2881
  },
2882
2882
  HbLibCard: {
2883
2883
  // 表单距离底部的距离
@@ -3559,7 +3559,7 @@ const Ol = {
3559
3559
  },
3560
3560
  emits: ["ok", "cancel"],
3561
3561
  setup(e, { expose: t, emit: o }) {
3562
- const n = o, u = e, b = O(!1), s = O(null), f = z(() => ({ ...u.modalStyle })), l = z(() => ({ overflow: "hidden", ...u.modalStyle })), a = z(() => ({
3562
+ const n = o, u = e, b = O(!1), s = O(null), f = z(() => ({ top: "10px", ...u.modalStyle })), l = z(() => ({ overflow: "hidden", ...u.modalStyle })), a = z(() => ({
3563
3563
  maxHeight: "calc(100vh - 120px)",
3564
3564
  overflowY: "auto",
3565
3565
  padding: "0 6px",
@@ -3658,7 +3658,7 @@ const Ol = {
3658
3658
  ]), 1040, ["style", "bodyStyle", "visible", "wrap-style"]);
3659
3659
  };
3660
3660
  }
3661
- }), wn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-2c15ecab"]]), xn = ye(wn), Hn = {
3661
+ }), wn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-e3e03545"]]), xn = ye(wn), Hn = {
3662
3662
  key: 0,
3663
3663
  class: "hb_edit_header"
3664
3664
  }, Fn = { class: "__detail-content" }, $n = {
@@ -1 +1 @@
1
- (function(R,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vuedraggable"),require("ant-design-vue"),require("vue-router"),require("vue-i18n"),require("lodash"),require("@ant-design/icons-vue"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","ant-design-vue","vue-router","vue-i18n","lodash","@ant-design/icons-vue","@vueuse/core","dayjs"],e):(R=typeof globalThis<"u"?globalThis:R||self,e(R.HbComponentLib={},R.Vue,R.draggable,R.antDesignVue,R.vueRouter,R.vueI18n,R.lodash,R.iconsVue,R.core,R.dayjs))})(this,(function(R,e,le,F,ce,Y,Z,W,X,ne){"use strict";const de=(t="")=>{const o=`hb-${t}`;return Ee(o)},v=(t,o,l,i)=>(o&&(t+=`-${o}`),l&&(t+=`__${l}`),i&&(t+=`--${i}`),t),Ee=t=>({b:o=>o?v(t,o,"",""):v(t,"","",""),e:o=>o?v(t,"",o,""):"",m:o=>v(t,"","",o),be:(o,l)=>v(t,o,l,""),em:(o,l)=>v(t,"",o,l),bem:(o,l,i)=>v(t,o,l,i),is:(o,l)=>l?`is-${o}`:""}),He=["onMouseenter","onMouseleave"],$e=["onClick"],Ie=e.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:{list:{default:()=>[]},afterChange:{type:Function,default:()=>()=>{}},title:{},showNumber:{},saveKey:{default:""}},emits:["confirm"],setup(t,{expose:o,emit:l}){const i=e.inject("globalCompConfig",{}),c=Y.useI18n().t,d=Y.useI18n().messages.value.en_US,r=Y.useI18n().messages.value.ja_JP,m=Y.useI18n().messages.value.zh_CN,n=t,a=e.computed(()=>n.showNumber||i.HbLibFormItemFilterModal?.defaultShowCount||40),h=e.computed(()=>n.title||c("hbLibComp.hbFormItemFilterModal.title")),C=l,p=de("sfcm"),T=ce.useRoute(),N=e.reactive({lan:window.localStorage.getItem("lan")}),V=e.ref(!1),k=e.ref(600);let g=[];const _=e.ref([]),S=e.ref([]),L=e.computed(()=>_.value.every(b=>b.isLinked||b.isFixed)),u=b=>({...b,label:B(b)||`${H(b)||""} (${c("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,key:b.key,isFixed:b?.isFixed||!1,isLinked:b?.isLinked||!1,labelLanguage:b?.labelLanguage||void 0}),y=b=>{const $=b.draggedContext.element,x=b.relatedContext.index;if($.isLinked||$.isFixed)return!1;const M=_.value.map((U,J)=>({item:U,index:J})).filter(({item:U})=>U.isLinked).map(({index:U})=>U);if(M.length===0)return!0;for(let U=0;U<M.length-1;U++){const J=M[U],te=M[U+1];if(x>J&&x<te)return!1}return!0},s=e.computed(()=>f()+"_"+n.saveKey),f=()=>{const b=localStorage.getItem("pro__Login_Userinfo");let $="anonymous";if(b)try{$=JSON.parse(b).value.jobNumber||"anonymous"}catch(M){console.warn("解析用户信息失败:",M)}let x=T?.path;return`searchFormConfig_${$}_${x}`},B=b=>({ja_JP:()=>Z.get(r,b.labelLanguage||""),en_US:()=>Z.get(d,b.labelLanguage||""),zh_CN:()=>Z.get(m,b.labelLanguage||"")})[N.lan]?.()||b.label,H=b=>({ja_JP:()=>Z.get(r,b.subLabelLanguage||""),en_US:()=>Z.get(d,b.subLabelLanguage||""),zh_CN:()=>Z.get(m,b.subLabelLanguage||"")})[N.lan]?.()||b.subLabel,I=b=>{try{const $=localStorage.getItem(s.value);if($){const x=JSON.parse($);if(x.originalList&&Array.isArray(x.originalList)){g=JSON.parse(JSON.stringify(x.originalList));const M=g.filter(A=>A?.isFixed),U=g.filter(A=>A?.isLinked),J=x.showList.filter(A=>!A.isFixed&&!A.isLinked),te=a.value&&a.value>0?Math.max(0,a.value-M.length-U.length):J.length,se=M.map(A=>({...u(A)})),be=U.map(A=>({...u(A)})),ge=J.slice(0,te).map(A=>({...u(A)}));_.value=[...se,...be,...ge];const ye=_.value.map(A=>A.key),j=g.map(A=>A.key).filter(A=>!ye.includes(A));return S.value=g.filter(A=>j.includes(A.key)).map(A=>({...u(A),active:!1})),!0}}}catch($){console.warn("加载保存的搜索配置失败:",$)}return!1},q=()=>{try{const b={originalList:g,showList:_.value.map($=>({...$,key:$.key,label:$.label,isFixed:$.isFixed,isLinked:$.isLinked,labelLanguage:$?.labelLanguage||void 0}))};localStorage.setItem(s.value,JSON.stringify(b))}catch(b){console.warn("保存搜索配置失败:",b)}},w=e.computed(()=>{const b=_.value.filter(x=>!x.isFixed&&!x.isLinked).length,$=_.value.filter(x=>x.isFixed||x.isLinked).length;return b>=a.value-$});e.watch(()=>n.list,b=>{let $=JSON.stringify(_.value)!==JSON.stringify(b);if(!$)return;const x=localStorage.getItem(s.value),M=JSON.parse(x||"{}");if(M&&M?.originalList&&Array.isArray(M.originalList))I(),C("confirm",_.value);else if($){g=JSON.parse(JSON.stringify(b));const U=b.filter(j=>j?.isFixed),J=b.filter(j=>j?.isLinked),te=b.filter(j=>!j?.isFixed&&!j?.isLinked),se=a.value&&a.value>0?Math.max(0,a.value-U.length-J.length):te.length,be=U.map(j=>u(j)),ge=J.map(j=>u(j)),ye=te.slice(0,se).map(j=>u(j));_.value=[...be,...ge,...ye];const Ve=te.slice(se).map(j=>({...u(j),active:!1}));S.value=Ve,C("confirm",_.value)}},{immediate:!0});const E=b=>{const $=_.value.findIndex(x=>x.key===b.key);$!==-1&&(_.value.splice($,1),S.value.push({...b,active:!1}))},z=b=>{if(w.value){F.message.warning(`当前已经超过${c(a.value)}个可选数量,请先删除已显示条件`);return}const $=S.value.findIndex(x=>x.key===b.key);if($!==-1){const[x]=S.value.splice($,1);_.value.push({...x,active:!1})}},P=()=>{V.value=!1},K=()=>{V.value=!0},G=()=>{q(),C("confirm",_.value),P()},re=b=>{const $=S.value.findIndex(x=>x.key===b.key);$!==-1&&(S.value[$].active=!0)},he=b=>{const $=S.value.findIndex(x=>x.key===b.key);$!==-1&&(S.value[$].active=!1)};return o({toOpenModal:K}),e.onMounted(()=>{}),(b,$)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(p).b())},[e.createVNode(e.unref(F.Modal),{visible:V.value,"onUpdate:visible":$[1]||($[1]=x=>V.value=x),width:k.value,onCancel:P,onOk:G},{title:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("title"))},e.toDisplayString(h.value),3)]),footer:e.withCtx(()=>[e.createVNode(e.unref(F.Button),{onClick:P},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(F.Button),{type:"primary",onClick:G},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("section",{class:e.normalizeClass(e.unref(p).e("show"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(p).e("title__tip"))},e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(a.value)+e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("show__tag"))},[e.createVNode(e.unref(le),{modelValue:_.value,"onUpdate:modelValue":$[0]||($[0]=x=>_.value=x),"item-key":"key",tag:"div",disabled:L.value,move:y},{item:e.withCtx(({element:x})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(p).e("show__tag__item"),e.unref(p).is("fixed",x.isFixed),e.unref(p).is("linked",x.isLinked)])},[e.createTextVNode(e.toDisplayString(x.label)+" ",1),!x.isFixed&&!x.isLinked&&t.list.length>1?(e.openBlock(),e.createBlock(e.unref(W.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(p).e("show__tag__item-close")),onClick:M=>E(x)},null,8,["class","onClick"])):e.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),e.createElementVNode("section",{class:e.normalizeClass(e.unref(p).e("unshow"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(p).e("title__tip"))},e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("unshow__tag"))},[S.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(S.value,x=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(p).e("unshow__tag__item"),e.unref(p).is("fixed",x.isFixed||""),e.unref(p).is("linked",x.isLinked||"")]),key:x.key,onMouseenter:M=>re(x),onMouseleave:M=>he(x)},[e.createTextVNode(e.toDisplayString(x.label)+" ",1),x.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(p).e("unshow__tag__item-add")),onClick:M=>z(x)},e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.add")),11,$e)):e.createCommentVNode("",!0)],42,He))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(p).e("unshow__tag__empty"))},e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),D=(t,o)=>{const l=t.__vccOpts||t;for(const[i,c]of o)l[i]=c;return l},Me=D(Ie,[["__scopeId","data-v-93f23c9d"]]),O=t=>(t.install=o=>{o.component(t.name||"AnonymousComponent",t)},t),De=O(Me),Ae={key:0,class:"form-footer"},Oe=O(D(e.defineComponent({name:"HbLibListForm",__name:"HbListForm",props:{items:{default:()=>[]},formData:{},layoutConfig:{default:()=>({row:{gutter:20},col:{xs:24,sm:12,md:8,lg:6,xl:6}})},saveKey:{},needFooter:{type:Boolean},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},needSearchCase:{type:Boolean,default:!1},showNumber:{},searchList:{},calTableHeight:{type:Function,default:()=>()=>{}}},emits:["handleSearch","handleReset","handleSfcmConfirm","handleMenuClick"],setup(t,{expose:o,emit:l}){const i=e.inject("globalCompConfig",{}),c=l,d=e.inject("HB_LIST_PAGE_CONTAINER"),r=e.computed(()=>n.searchList||[]),m=de("form"),n=t,a=e.computed(()=>n.showNumber||i.HbLibFormItemFilterModal?.defaultShowCount||40),h=e.ref("show"),C=e.computed(()=>n.needFooter||i.HbLibListForm?.needFooter),p=e.computed(()=>[...n.items]),T=w=>w!==void 0,N=w=>typeof w=="function",V=w=>T(w.condition)?N(w.condition)?w.condition():w.condition:!0,k=e.computed(()=>[...n.items].map(w=>({...w,condition:V(w),label:w.label?.includes("多项搜索")?"":w.label})));console.log(k.value);const g=e.computed(()=>n.saveKey),_=e.ref(),S=()=>{c("handleSearch")},L=()=>{c("handleReset")},u=e.ref(),y=()=>{u.value&&u.value.toOpenModal()},s=w=>{c("handleMenuClick",w)},f=w=>{c("handleSfcmConfirm",w)};e.watch(()=>n.isFormExpanded,w=>{if(w){console.log(w);const E=document.querySelector("#subpackage_container");E instanceof HTMLElement&&(E.style.overflow="hidden",setTimeout(()=>{E.style.overflow="auto"},500))}});const B=w=>{const E=w;E.style.height="",E.offsetHeight},H=w=>{const E=w;E.style.height="",E.style.overflow="",e.nextTick(()=>{d.calTableHeight&&d.calTableHeight()})},I=w=>{const E=w,z=E.querySelector(".hb-lib-form--container");if(z){const P=z.offsetHeight;E.style.height=P+"px",E.style.overflow="hidden",E.offsetHeight,requestAnimationFrame(()=>{E.style.height="0"})}},q=()=>{e.nextTick(()=>{d.calTableHeight&&d.calTableHeight()})};return o({formRef:_,SelectOption:F.SelectOption,Form:F.Form,FormItem:F.FormItem,Row:F.Row,Col:F.Col,Input:F.Input,Select:F.Select,CheckboxGroup:F.CheckboxGroup,Checkbox:F.Checkbox,DatePicker:F.DatePicker,InputNumber:F.InputNumber,RadioGroup:F.RadioGroup,Radio:F.Radio,Switch:F.Switch,Button:F.Button,Tooltip:F.Tooltip}),(w,E)=>{const z=e.resolveComponent("a-button"),P=e.resolveComponent("a-tooltip"),K=e.resolveComponent("a-menu-item"),G=e.resolveComponent("a-menu"),re=e.resolveComponent("a-dropdown"),he=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:B,onAfterEnter:H,onLeave:I,onAfterLeave:q},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(m).b(),"hb-lib-list-page-form-box","hb-form-item-ui",C.value?"isNeedFooterCss":""])},[e.createVNode(e.unref(F.Form),e.mergeProps(w.$attrs,{model:t.formData,ref_key:"formRef",ref:_,class:["hb-lib-form--container",h.value=="show"?"":"hide"]}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(b,$)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[b.condition?(e.openBlock(),e.createBlock(e.unref(F.FormItem),e.mergeProps({key:0,ref_for:!0},b,{name:b.key,class:{"hb-lib-form-item-border--unneed":b.isUnNeedBorder,"hb_lib_form_item--needShowAll":b.showAll}}),e.createSlots({default:e.withCtx(()=>[b.type==="slot"?e.renderSlot(w.$slots,b.key,{key:0,formData:t.formData,item:b},void 0,!0):e.createCommentVNode("",!0),b.type==="mixin"?e.renderSlot(w.$slots,b.key,{key:1,formData:t.formData,item:b},void 0,!0):e.createCommentVNode("",!0),b.type==="input"?(e.openBlock(),e.createBlock(e.unref(F.Input),e.mergeProps({key:2,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="select"?(e.openBlock(),e.createBlock(e.unref(F.Select),e.mergeProps({key:3,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.options,(x,M)=>(e.openBlock(),e.createBlock(e.unref(F.SelectOption),{key:M,value:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(F.CheckboxGroup),e.mergeProps({key:4,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.options,(x,M)=>(e.openBlock(),e.createBlock(e.unref(F.Checkbox),{key:M,value:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(F.DatePicker),e.mergeProps({key:5,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(F.InputNumber),e.mergeProps({key:6,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="radio"?(e.openBlock(),e.createBlock(e.unref(F.RadioGroup),e.mergeProps({key:7,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.options,(x,M)=>(e.openBlock(),e.createBlock(e.unref(F.Radio),{key:M,value:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="switch"?(e.openBlock(),e.createBlock(e.unref(F.Switch),e.mergeProps({key:8,checked:t.formData[b.key],"onUpdate:checked":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[b.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.label)+" ",1),e.createVNode(e.unref(F.Tooltip),{title:b.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(W.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"])):e.createCommentVNode("",!0)],64))),128)),C.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("section",Ae,[e.createVNode(z,{type:"primary",onClick:S,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(W.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(w.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(z,{type:"link",onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.needFilter?(e.openBlock(),e.createBlock(P,{key:0,title:w.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:y},[...E[0]||(E[0]=[e.createElementVNode("svg",{t:"1757915025410",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"16346",width:"200",height:"200"},[e.createElementVNode("path",{d:"M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",fill:"#ff5000","p-id":"16347"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"formBtns",{},()=>[t.needSearchCase?(e.openBlock(),e.createBlock(re,{key:0},{overlay:e.withCtx(()=>[e.createVNode(G,{onClick:s},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,b=>(e.openBlock(),e.createBlock(K,{key:b.id},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.title),1)]),_:2},1024))),128)),e.createVNode(K,{key:"add"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbLibListForm.addScheme")),1)]),_:1}),e.createVNode(K,{key:"edit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbLibListForm.editScheme")),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(P,{title:w.$t("hbLibComp.hbLibListForm.queryCase")},{default:e.withCtx(()=>[...E[1]||(E[1]=[e.createElementVNode("span",{style:{width:"18px",height:"18px",cursor:"pointer"}},[e.createElementVNode("svg",{t:"1765936014161",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4751"},[e.createElementVNode("path",{d:"M729.6 1020.16H353.28a32 32 0 0 1-32-32v-295.68H52.48a32 32 0 0 1-32-32V155.52a32 32 0 0 1 32-32h215.68a32 32 0 0 1 0 64H84.48v440.96h268.8a32 32 0 0 1 32 32v295.68h312.32V609.28a32 32 0 1 1 64 0v378.88a32 32 0 0 1-32 32z",fill:"#ff5000","p-id":"4752"}),e.createElementVNode("path",{d:"M353.28 1020.16a32 32 0 0 1-23.68-10.24L42.24 695.04a32 32 0 1 1 47.36-43.52l288 314.88a32 32 0 0 1-23.68 53.76zM353.28 494.72H171.52a32 32 0 0 1 0-64h181.76a32 32 0 0 1 0 64zM625.92 522.24a259.2 259.2 0 0 1-183.04-442.88A259.2 259.2 0 1 1 809.6 448a256 256 0 0 1-183.68 74.24z m0-455.04a195.2 195.2 0 0 0-138.24 334.08 200.32 200.32 0 0 0 276.48 0 195.2 195.2 0 0 0-138.24-334.08z",fill:"#ff5000","p-id":"4753"}),e.createElementVNode("path",{d:"M880.64 549.76a32 32 0 0 1-22.4-9.6L771.84 454.4a32 32 0 0 1 45.44-45.44l85.76 85.76a32 32 0 0 1-22.4 54.4z",fill:"#ff5000","p-id":"4754"})])],-1)])]),_:1},8,["title"])]),_:1})):e.createCommentVNode("",!0)],!0)]))]),_:3},16,["model","class"]),C.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(m).e("footer"),"form-footer"])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(m).e("footer__left"))},[e.renderSlot(w.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(m).e("footer__right"))},[h.value=="show"?e.renderSlot(w.$slots,"form-footer-right",{key:0,formRef:_.value},()=>[e.createVNode(z,{type:"primary",onClick:S,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(W.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(w.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(z,{type:"link",onClick:L,class:"hb_list_page_button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.needFilter?(e.openBlock(),e.createBlock(P,{key:0,title:w.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:y},[...E[2]||(E[2]=[e.createElementVNode("svg",{t:"1757915025410",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"16346",width:"200",height:"200"},[e.createElementVNode("path",{d:"M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",fill:"#ff5000","p-id":"16347"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"formBtns",{},()=>[t.needSearchCase?(e.openBlock(),e.createBlock(re,{key:0},{overlay:e.withCtx(()=>[e.createVNode(G,{onClick:s},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,b=>(e.openBlock(),e.createBlock(K,{key:b.id},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.title),1)]),_:2},1024))),128)),e.createVNode(K,{key:"add"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbLibListForm.addScheme")),1)]),_:1}),e.createVNode(K,{key:"edit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbLibListForm.editScheme")),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(P,{title:w.$t("hbLibComp.hbLibListForm.queryCase")},{default:e.withCtx(()=>[...E[3]||(E[3]=[e.createElementVNode("span",{class:"hb-lib-form-svg",style:{width:"18px",height:"18px",cursor:"pointer"}},[e.createElementVNode("svg",{t:"1765936014161",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4751"},[e.createElementVNode("path",{d:"M729.6 1020.16H353.28a32 32 0 0 1-32-32v-295.68H52.48a32 32 0 0 1-32-32V155.52a32 32 0 0 1 32-32h215.68a32 32 0 0 1 0 64H84.48v440.96h268.8a32 32 0 0 1 32 32v295.68h312.32V609.28a32 32 0 1 1 64 0v378.88a32 32 0 0 1-32 32z",fill:"#ff5000","p-id":"4752"}),e.createElementVNode("path",{d:"M353.28 1020.16a32 32 0 0 1-23.68-10.24L42.24 695.04a32 32 0 1 1 47.36-43.52l288 314.88a32 32 0 0 1-23.68 53.76zM353.28 494.72H171.52a32 32 0 0 1 0-64h181.76a32 32 0 0 1 0 64zM625.92 522.24a259.2 259.2 0 0 1-183.04-442.88A259.2 259.2 0 1 1 809.6 448a256 256 0 0 1-183.68 74.24z m0-455.04a195.2 195.2 0 0 0-138.24 334.08 200.32 200.32 0 0 0 276.48 0 195.2 195.2 0 0 0-138.24-334.08z",fill:"#ff5000","p-id":"4753"}),e.createElementVNode("path",{d:"M880.64 549.76a32 32 0 0 1-22.4-9.6L771.84 454.4a32 32 0 0 1 45.44-45.44l85.76 85.76a32 32 0 0 1-22.4 54.4z",fill:"#ff5000","p-id":"4754"})])],-1)])]),_:1},8,["title"])]),_:1})):e.createCommentVNode("",!0)],!0)],!0):e.createCommentVNode("",!0)],2)],2)):e.createCommentVNode("",!0)],2),[[e.vShow,t.isFormExpanded]])]),_:3}),e.createVNode(he,{showNumber:a.value,list:p.value,ref_key:"HbSfCmRef",ref:u,onConfirm:f,saveKey:g.value},null,8,["showNumber","list","saveKey"])],64)}}}),[["__scopeId","data-v-8307bb07"]])),ze={class:"hb-lib-list-page-act-box"},Pe={class:"hb-lib-list-page-breadcrumb"},Re={class:"hb-lib-list-page-act"},Ue={key:0,t:"1757915338760",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"22885",width:"200",height:"200"},je={key:1,t:"1757915360496",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"23904",width:"200",height:"200"},We=O(D(e.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:{isShowFullScreen:{type:Boolean,default:!0},hideDomList:{}},setup(t){const o=e.inject("globalCompConfig",{}),l=t,{isFullscreen:i,toggle:c}=X.useFullscreen(document.body);e.watch(()=>i.value,n=>{let a=["#globalHead","#globalLeft","#globalNavFrame"];Array.isArray(l.hideDomList)&&l.hideDomList.length?a=[...l.hideDomList]:o.HbLibListPageAct?.hideDomList&&(a=[...o.HbLibListPageAct.hideDomList]);const h=new Map;setTimeout(n?()=>{if(a?.length)for(let C=0;C<a.length;C++){const p=document.querySelector(a[C]);p&&(h.set(a[C],p.style.display),p.style.display="none")}}:()=>{if(a?.length)for(let C=0;C<a.length;C++){const p=document.querySelector(a[C]);if(p){const T=h.get(a[C]);p.style.display=T||"",h.delete(a[C])}}},0)});const d=e.ref(""),r=()=>{const n=ce.useRoute();let a=localStorage.getItem(o.HbLibListPageAct?.breadCrumbListKey||"BreadCrumb")||"[]",h=n?.path;if(a!=="[]"){let C=JSON.parse(a).find(p=>p.value===h);C&&(d.value=C.label.replace(/-/g," / "))}};e.onMounted(()=>{r()});const m=n=>{n.keyCode===192&&c()};return e.onMounted(()=>{window.addEventListener("keydown",m)}),e.onUnmounted(()=>{window.removeEventListener("keydown",m)}),(n,a)=>{const h=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ze,[e.createElementVNode("aside",Pe,e.toDisplayString(d.value),1),e.createElementVNode("aside",Re,[e.createVNode(h,{title:e.unref(i)?`${n.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${n.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:a[0]||(a[0]=(...C)=>e.unref(c)&&e.unref(c)(...C))},[e.unref(i)?(e.openBlock(),e.createElementBlock("svg",je,[...a[2]||(a[2]=[e.createElementVNode("path",{d:"M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23905"},null,-1),e.createElementVNode("path",{d:"M896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333zM257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333zM343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23906"},null,-1),e.createElementVNode("path",{d:"M343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23907"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",Ue,[...a[1]||(a[1]=[e.createElementVNode("path",{d:"M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",fill:"#ff5000","p-id":"22886"},null,-1)])]))])]),_:1},8,["title"]),e.renderSlot(n.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-c7cd0710"]])),qe={class:"hb-lib-list-btns-box"},Ye={class:"hb-lib-list-btns-left"},Ke={class:"hb-lib-list-btns-right"},Ge=O(D(e.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:{needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},emits:["handleOpenOrClose","handleReload"],setup(t,{emit:o}){const l=o,i=e.ref(!0),c=()=>{i.value=!i.value,l("handleOpenOrClose",i.value)},d=()=>{l("handleReload")},r=m=>{};return e.onMounted(()=>{window.addEventListener("keydown",r)}),e.onUnmounted(()=>{window.removeEventListener("keydown",r)}),(m,n)=>{const a=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",qe,[e.createElementVNode("aside",Ye,[e.renderSlot(m.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Ke,[t.needReload?(e.openBlock(),e.createBlock(a,{key:0,title:m.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:d},[...n[0]||(n[0]=[e.createElementVNode("svg",{t:"1759041224819",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4202",width:"200",height:"200"},[e.createElementVNode("path",{d:"M958.681412 457.499032c-6.170072-50.632177-20.854483-99.563886-43.643361-145.434552-45.779694-92.144205-122.249797-166.333021-215.325711-208.898719-20.083724-9.18513-43.810309-0.349891-52.995439 19.734833-9.18413 20.082724-0.349891 43.810309 19.733833 52.996438 159.26323 72.834239 245.755201 249.640987 205.658732 420.410622-30.735395 130.876101-129.201624 233.321087-256.187941 270.333521l-0.262918-70.800875-196.843487 114.650172 197.690222 113.176632-0.275914-74.43274c75.398438-17.911403 144.809747-54.929834 202.084849-108.039237 65.597501-60.827991 111.122274-139.186504 131.651859-226.606186 12.170197-51.828803 15.10328-104.683286 8.715276-157.089909zM408.299406-0.001l0.271915 74.43374c-75.404436 17.911403-144.820744 54.931834-202.099843 108.046235-65.6005 60.83099-111.124274 139.191503-131.651859 226.616183-7.987504 34.034364-11.994252 68.507591-11.994252 103.010809 0 17.994377 1.090659 35.996751 3.271978 53.946142 6.152077 50.59119 20.803499 99.48891 43.545392 145.333583 45.678725 92.080225 122.012871 166.270041 214.936832 208.900718 20.071728 9.209122 43.810309 0.401874 53.018432-19.670852 9.210122-20.076726 0.400875-43.810309-19.671853-53.019432-158.963324-72.92821-245.278351-249.658982-205.24886-420.22368 30.732396-130.883099 129.201624-233.333083 256.195939-270.345517l0.259919 70.801874 196.850484-114.640174L408.299406-0.001z",fill:"#ff5000","p-id":"4203"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),t.needOpenOrClose?(e.openBlock(),e.createBlock(a,{key:1,title:i.value?`${m.$t("hbLibComp.hbListBtnsAct.close")}`:`${m.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:c},[i.value?(e.openBlock(),e.createBlock(e.unref(W.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(W.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(m.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-de62f20a"]])),Je=(t={})=>{const{formRef:o,offsetBottom:l=50,minHeight:i=300,timeOut:c=100}=t,d=e.ref(0);let r=null,m=null,n=null,a=null,h=null;const C=()=>{h&&clearTimeout(h),h=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const _=document.querySelector(".ant-table"),S=document.querySelector(".ant-pagination");if(_){const L=Math.floor(_.getBoundingClientRect().top),u=window.innerHeight,s=(S?S.offsetHeight+20:40)+l;let f=u-L-s;f<i&&(f=i),d.value=f}})})},100)},p=()=>{const _=document.querySelector(".ant-pagination");if(_){const S=new MutationObserver(()=>{C()});return S.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),S}return null},T=()=>{const _=document.querySelector(".hb-lib-list-page-form-box");_&&(r=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(L=>{L.style.display="none"}),C()}),r.observe(_))},N=()=>{const _=document.querySelector(".hb-lib-list-page-form-box");_&&(n=new MutationObserver(()=>{setTimeout(()=>{C()},c)}),n.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},V=()=>{a&&clearTimeout(a),a=setTimeout(()=>{C()},c)},k=()=>{window.addEventListener("resize",V),e.nextTick(()=>{T(),N(),m=p()})},g=()=>{window.removeEventListener("resize",V),r&&r.disconnect(),n&&n.disconnect(),m&&m.disconnect(),a&&clearTimeout(a),h&&clearTimeout(h)};return o&&e.watch(()=>o,()=>{setTimeout(()=>{C()},200)},{deep:!0}),e.onMounted(()=>{C(),k()}),e.onUnmounted(()=>{g()}),{tableHeight:d,calTableHeight:C}},Qe=O(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{},tabelData:{default:()=>[]},offsetBottom:{},minHeight:{},timeOut:{},offsetHeight:{},isUnFixTbHeight:{type:Boolean}},setup(t){const o=e.inject("globalCompConfig",{}),{isFullscreen:l}=X.useFullscreen(document.body),i=t,c=e.useTemplateRef("PageContainerRef"),d=e.computed(()=>i.offsetHeight||o.HbLibListPageContainer?.offsetHeight||110),r=e.computed(()=>i.offsetBottom||o.HbLibListPageContainer?.offsetBottom||20),m=e.computed(()=>i.minHeight||o.HbLibListPageContainer?.minHeight||300),n=e.computed(()=>i.timeOut||o.HbLibListPageContainer?.timeOut||100),a=e.computed(()=>i.isUnFixTbHeight||o.HbLibListPageContainer?.isUnFixTbHeight||!1);console.log(i.isUnFixTbHeight);const{calTableHeight:h,tableHeight:C}=Je({offsetBottom:r.value,minHeight:m.value,timeOut:n.value}),p=e.computed(()=>C.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:c,tableHeight:C,calTableHeight:h}),(T,N)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:c},[e.renderSlot(T.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle(a.value?null:{"--hb-list-table-height":e.unref(l)?p.value-d.value+"px":p.value-r.value+"px","--hb-list-ttable-height":t.tabelData.length?"":e.unref(l)?p.value-d.value+"px":p.value-r.value+"px"})},[e.renderSlot(T.$slots,"default")],4)],512))}})),Ze={style:{"font-weight":"500"}},Xe={key:0,class:"hb-lib-search-tag__description"},ve={class:"hb-lib-selector-dropdown"},et={class:"hb-lib-selector-search"},tt={class:"hb-lib-selector-list"},ot=["onClick"],lt={class:"hb-lib-option-content"},nt={class:"hb-lib-option-label"},at={key:0,class:"hb-lib-selector-empty"},it={key:1,class:"hb-lib-selector-footer"},rt={class:"hb-lib-footer-buttons"},st={key:2,class:"hb-lib-selector-footer"},ct={class:"hb-lib-footer-buttons"},dt=O(D(e.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:e.mergeModels({placeholder:{default:"点击选择"},searchPlaceholder:{default:"搜索选项"},width:{default:600},options:{default:()=>[]},multiple:{type:Boolean,default:!0},prefix:{default:""},value:{},remoteSearch:{type:Boolean,default:!1},searchValue:{default:""},maxTagCount:{default:2},tagTextLength:{default:30}},{value:{},valueModifiers:{}}),emits:e.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(t,{emit:o}){const l=t,i=o,c=e.useModel(t,"value"),d=e.ref(!1),r=e.ref(""),m=e.ref([]),n=e.ref(),a=e.computed(()=>{if(l.remoteSearch||!r.value)return l.options;const u=r.value.toLowerCase();return l.options.filter(y=>y.label.toLowerCase().includes(u)||y.description?.toLowerCase().includes(u))}),h=e.computed(()=>l.prefix?`${l.prefix.length*14+8}px`:"0px"),C=e.computed(()=>a.value.length===0?!1:a.value.every(u=>m.value.includes(u.value))),p=e.computed(()=>{if(a.value.length===0)return!1;const u=a.value.filter(y=>m.value.includes(y.value)).length;return u>0&&u<a.value.length});e.watch(()=>c.value,u=>{u?m.value=Array.isArray(u)?[...u]:[u]:m.value=[]},{immediate:!0}),e.watch(()=>l.searchValue,u=>{l.remoteSearch&&u!==void 0&&(r.value=u)},{immediate:!0});const T=u=>{u&&(d.value=u,N.value=[...m.value],r.value="",setTimeout(()=>{if(n.value){const y=n.value.input||n.value.$el?.querySelector("input");y&&y.focus()}},100))},N=e.ref([]),V=()=>{m.value=[...N.value],d.value=!1,i("cancel")},k=e.ref([]),g=()=>{const u=l.multiple?m.value:m.value[0]||"",y=l.options.filter(s=>m.value.includes(s.value));k.value=y,console.log(u,y),N.value=[...m.value],c.value=u,i("update:value",u),i("change",u,y),i("confirm",u,y),d.value=!1},_=X.useDebounceFn(u=>{const y=u!==void 0?u:r.value;l.remoteSearch&&(i("search",y),i("update:searchValue",y))},300),S=u=>{if(l.multiple){const y=new Set(m.value);y.has(u.value)?y.delete(u.value):y.add(u.value),m.value=Array.from(y)}else m.value=[u.value],g()},L=u=>{if(u.target.checked){const s=new Set(m.value);a.value.forEach(f=>{s.add(f.value)}),m.value=Array.from(s)}else{const s=new Set(a.value.map(f=>f.value));m.value=m.value.filter(f=>!s.has(f))}};return(u,y)=>{const s=e.resolveComponent("a-tag"),f=e.resolveComponent("a-input"),B=e.resolveComponent("a-checkbox"),H=e.resolveComponent("a-radio"),I=e.resolveComponent("a-button"),q=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":h.value}},u.$attrs),[e.createVNode(q,{value:c.value,"onUpdate:value":y[5]||(y[5]=w=>c.value=w),mode:t.multiple?"multiple":void 0,placeholder:t.placeholder,"show-search":!0,"filter-option":!1,open:d.value,allowClear:"",maxTagCount:t.maxTagCount,options:a.value,onDropdownVisibleChange:T,onSearch:e.unref(_),"max-tag-text-length":t.tagTextLength,class:e.normalizeClass({"has-prefix":t.prefix}),"data-prefix":t.prefix,style:{width:"100%"}},{tagRender:e.withCtx(({value:w,label:E,closable:z,option:P})=>[e.createVNode(s,{class:"hb-lib-search-tag",onClick:y[0]||(y[0]=()=>T(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Ze,e.toDisplayString(E),1),P?.description?(e.openBlock(),e.createElementBlock("span",Xe," ("+e.toDisplayString(P.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:w})=>[e.createElementVNode("div",ve,[e.createElementVNode("div",et,[e.createVNode(f,{ref_key:"searchInputRef",ref:n,class:"hb-lib-selector-search-input",value:r.value,"onUpdate:value":y[1]||(y[1]=E=>r.value=E),placeholder:"请输入关键词搜索","allow-clear":"",onInput:y[2]||(y[2]=E=>e.unref(_)(E.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(W.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,E=>(e.openBlock(),e.createElementBlock("div",{key:E.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:m.value.includes(E.value)}]),onClick:()=>S(E)},[t.multiple?(e.openBlock(),e.createBlock(B,{key:0,checked:m.value.includes(E.value),onChange:()=>S(E),onClick:y[3]||(y[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock(H,{key:1,checked:m.value.includes(E.value),onChange:()=>S(E),onClick:y[4]||(y[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",lt,[e.createElementVNode("div",nt,e.toDisplayString(E.label),1)])],10,ot))),128))]),a.value.length===0?(e.openBlock(),e.createElementBlock("div",at,e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),t.multiple?(e.openBlock(),e.createElementBlock("div",it,[e.createVNode(B,{checked:C.value,indeterminate:p.value,onChange:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",rt,[e.createVNode(I,{size:"small",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(I,{type:"primary",size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",st,[y[6]||(y[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",ct,[e.createVNode(I,{size:"small",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormSelectFilter.close")),1)]),_:1})])]))])]),_:1},8,["value","mode","placeholder","open","maxTagCount","options","onSearch","max-tag-text-length","class","data-prefix"])],16)}}}),[["__scopeId","data-v-87177371"]])),mt={class:"hb-lib-form-item-filter-modal-search"},pt={class:"hb-lib-form-item-filter-modal-buttons"},ft={key:0},ht=O(e.defineComponent({name:"HbLibMutilpleSelectModal",__name:"HbMutilpleSelectModal",props:{modelTitle:{default:"搜索弹窗"},modalWidth:{default:800},tableHeight:{default:500},tableColumn:{default:()=>[]},tableData:{default:()=>[]},tableKey:{default:"id"},labelKey:{default:"label"}},emits:["handleConfirm","handleCancel"],setup(t,{expose:o,emit:l}){const i=t,c=l,d=e.ref(!1),r=e.ref(""),m=e.ref(),n=e.ref(),a=e.ref([]),h=e.ref([]),C=e.ref(),p=e.reactive({searchText:"",searchedColumn:""}),T=e.computed(()=>i.tableData.map(s=>(s.id=s.id||Math.random(),s))),N=e.computed(()=>i.tableColumn.map(s=>(s.customFilterDropdown&&(s.onFilter=(f,B)=>B[s.dataIndex].toString().toLowerCase().includes(f.toLowerCase()),s.onFilterDropdownVisibleChange=f=>{f&&setTimeout(()=>{m.value?.focus()},100)}),{...s}))),V=()=>{let s="";h.value.forEach(f=>{s=s+f[i.labelKey]+","}),r.value=s.substring(0,s.length-1),d.value=!1,c("handleConfirm",h.value)},k=()=>{d.value=!1},g=()=>{d.value=!0,e.nextTick(()=>{const s=C.value?.$el?.querySelector(".ant-table-body");s&&(s.scrollTop=0)})},_=()=>{a.value=[],h.value=[]},S=()=>{r.value="",_()},L=(s,f,B)=>{f(),p.searchText=s[0],p.searchedColumn=B},u=(s,f)=>{s({confirm:!0}),p.searchText="",f()},y=(s,f)=>{a.value=s,h.value=f};return o({resetInputVal:S}),(s,f)=>{const B=e.resolveComponent("a-input"),H=e.resolveComponent("a-button"),I=e.resolveComponent("a-table"),q=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:n},[e.createVNode(B,{readonly:"",onClick:g,value:r.value,"onUpdate:value":f[0]||(f[0]=w=>r.value=w),placeholder:s.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(W.UnorderedListOutlined),{onClick:g})]),_:1},8,["value","placeholder"]),e.createVNode(q,{visible:d.value,"onUpdate:visible":f[1]||(f[1]=w=>d.value=w),title:t.modelTitle,width:t.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode(H,{onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(H,{onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(H,{type:"primary",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(I,{ref_key:"tableRef",ref:C,columns:N.value,dataSource:T.value,rowSelection:{selectedRowKeys:a.value,onChange:y},rowKey:w=>w[t.tableKey],scroll:{y:t.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:w,selectedKeys:E,confirm:z,clearFilters:P,column:K})=>[e.createElementVNode("div",mt,[e.createVNode(B,{ref_key:"searchInput",ref:m,placeholder:`请输入${K.title}`,value:E[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:G=>w(G.target.value?[G.target.value]:[]),onPressEnter:G=>L(E,z,K.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",pt,[e.createVNode(H,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:G=>u(P,z)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode(H,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:G=>L(E,z,K.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:w})=>[e.createVNode(e.unref(W.SearchOutlined),{style:e.normalizeStyle({color:w?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:w,column:E})=>[p.searchText&&p.searchedColumn===E.dataIndex?(e.openBlock(),e.createElementBlock("span",ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.toString().split(new RegExp(`(?<=${p.searchText})|(?=${p.searchText})`,"i")),(z,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[z.toLowerCase()===p.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:P,class:"highlight"},e.toDisplayString(z),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(z),1)],64))],64))),256))])):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),bt={class:"hb-lib-table-act-box"},gt=["onClick"],yt={href:"javascript:;",class:"hb-lib-table-main-action"},Ct=["onClick"],ut={href:"javascript:;",class:"hb-lib-table-more-action"},_t=["onClick"],kt={href:"javascript:;"},Lt=["onClick"],St={class:"hb-lib-table-confirm-modal-content"},xt=O(D(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{filterPermission:{type:Function},actions:{},record:{},buttonDisplaysQuantity:{}},setup(t,{expose:o}){const l=t,{t:i}=Y.useI18n(),c=e.ref(!1),d=e.ref(!1),r=e.ref(null),m=e.computed(()=>l.actions.filter(k=>k.condition!==void 0?k.condition:!0)),n=e.computed(()=>m.value.slice(0,l.buttonDisplaysQuantity)),a=e.computed(()=>h(m.value.slice(l.buttonDisplaysQuantity)));function h(k){if(l.filterPermission)return l.filterPermission(k);let g=[],_=[];return g=JSON.parse(sessionStorage.getItem("LOGIN_USER_BUTTON_AUTH")||"[]"),!Array.isArray(g)||k.length===0?(g=[],[]):(g=g.filter(S=>S.type!="2"),k.forEach(S=>{(!S.permissionsTag||g.findIndex(L=>L.action===S.permissionsTag)!==-1)&&_.push(S)}),_)}const C=k=>{k.handler&&k.handler(l.record)},p=k=>{r.value=k,c.value=!0},T=()=>{if(r.value){d.value=!0;try{C(r.value),d.value=!1,c.value=!1}catch{d.value=!1}}},N=()=>{c.value=!1,r.value=null},V=e.computed(()=>r.value?{title:r.value.confirmTitle,content:r.value.confirmContent||r.value.confirmTitle}:{title:i("hbLibComp.hbTableAct.secendConfirm"),content:i("hbLibComp.hbTableAct.confirmContent")});return o({ADropdown:F.Dropdown,AMenu:F.Menu,AMenuItem:F.MenuItem,APopconfirm:F.Popconfirm,AModal:F.Modal,DownOutlined:W.DownOutlined}),(k,g)=>{const _=e.resolveComponent("a-divider"),S=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(L,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u},[L.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[L.confirmType==="modal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:y=>p(L),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(L.label),1)],8,gt)),[[S,L.permissionsTag||null]]),a.value&&a.value.length>0||u!==n.value.length-1?(e.openBlock(),e.createBlock(_,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(F.Popconfirm),{title:L.confirmTitle,onConfirm:y=>C(L)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",yt,[e.createTextVNode(e.toDisplayString(L.label),1)])),[[S,L.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]),a.value&&a.value.length>0||u!==n.value.length-1?(e.openBlock(),e.createBlock(_,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64)):L.slot?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.renderSlot(k.$slots,L.slot,{item:L},void 0,!0),a.value&&a.value.length>0||u!==n.value.length-1?(e.openBlock(),e.createBlock(_,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:y=>C(L),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(L.label),1)],8,Ct)),[[S,L.permissionsTag||null]]),a.value&&a.value.length>0||u!==n.value.length-1?e.withDirectives((e.openBlock(),e.createBlock(_,{key:0,type:"vertical"},null,512)),[[S,L.permissionsTag||null]]):e.createCommentVNode("",!0)],64))],64))),128)),a.value&&a.value.length>0?(e.openBlock(),e.createBlock(e.unref(F.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(F.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(L,u)=>e.withDirectives((e.openBlock(),e.createBlock(e.unref(F.MenuItem),{key:u},{default:e.withCtx(()=>[L.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[L.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:y=>p(L)},[e.createTextVNode(e.toDisplayString(L.label),1)],8,_t)),[[S,L.permissionsTag||null]]):e.withDirectives((e.openBlock(),e.createBlock(e.unref(F.Popconfirm),{key:1,title:L.confirmTitle,onConfirm:y=>C(L)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",kt,[e.createTextVNode(e.toDisplayString(L.label),1)])),[[S,L.permissionsTag||null]])]),_:2},1032,["title","onConfirm"])),[[S,L.permissionsTag||null]])],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:y=>C(L)},[e.createTextVNode(e.toDisplayString(L.label),1)],8,Lt)),[[S,L.permissionsTag||null]])]),_:2},1024)),[[S,L.permissionsTag||null]])),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",ut,[e.createTextVNode(e.toDisplayString(k.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(W.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(F.Modal),{visible:c.value,title:V.value.title,"confirm-loading":d.value,onOk:T,onCancel:N},{default:e.withCtx(()=>[e.createElementVNode("p",St,e.toDisplayString(V.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-25fd055e"]])),Ce=t=>({tableWidth:e.computed(()=>{const l=Array.isArray(t)?t:t.value;return!l||l.length===0?0:l.map(i=>i.width&&Number(i.width.toString().replace("px",""))||0).reduce((i,c)=>i+c,0)})});var wt=typeof global=="object"&&global&&global.Object===Object&&global,Bt=typeof self=="object"&&self&&self.Object===Object&&self,ue=wt||Bt||Function("return this")(),ae=ue.Symbol,_e=Object.prototype,Tt=_e.hasOwnProperty,Nt=_e.toString,oe=ae?ae.toStringTag:void 0;function Ft(t){var o=Tt.call(t,oe),l=t[oe];try{t[oe]=void 0;var i=!0}catch{}var c=Nt.call(t);return i&&(o?t[oe]=l:delete t[oe]),c}var Vt=Object.prototype,Et=Vt.toString;function Ht(t){return Et.call(t)}var $t="[object Null]",It="[object Undefined]",ke=ae?ae.toStringTag:void 0;function Mt(t){return t==null?t===void 0?It:$t:ke&&ke in Object(t)?Ft(t):Ht(t)}function Dt(t){return t!=null&&typeof t=="object"}var At="[object Symbol]";function Ot(t){return typeof t=="symbol"||Dt(t)&&Mt(t)==At}var zt=/\s/;function Pt(t){for(var o=t.length;o--&&zt.test(t.charAt(o)););return o}var Rt=/^\s+/;function Ut(t){return t&&t.slice(0,Pt(t)+1).replace(Rt,"")}function me(t){var o=typeof t;return t!=null&&(o=="object"||o=="function")}var Le=NaN,jt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,qt=/^0o[0-7]+$/i,Yt=parseInt;function Se(t){if(typeof t=="number")return t;if(Ot(t))return Le;if(me(t)){var o=typeof t.valueOf=="function"?t.valueOf():t;t=me(o)?o+"":o}if(typeof t!="string")return t===0?t:+t;t=Ut(t);var l=Wt.test(t);return l||qt.test(t)?Yt(t.slice(2),l?2:8):jt.test(t)?Le:+t}var pe=function(){return ue.Date.now()},Kt="Expected a function",Gt=Math.max,Jt=Math.min;function Qt(t,o,l){var i,c,d,r,m,n,a=0,h=!1,C=!1,p=!0;if(typeof t!="function")throw new TypeError(Kt);o=Se(o)||0,me(l)&&(h=!!l.leading,C="maxWait"in l,d=C?Gt(Se(l.maxWait)||0,o):d,p="trailing"in l?!!l.trailing:p);function T(y){var s=i,f=c;return i=c=void 0,a=y,r=t.apply(f,s),r}function N(y){return a=y,m=setTimeout(g,o),h?T(y):r}function V(y){var s=y-n,f=y-a,B=o-s;return C?Jt(B,d-f):B}function k(y){var s=y-n,f=y-a;return n===void 0||s>=o||s<0||C&&f>=d}function g(){var y=pe();if(k(y))return _(y);m=setTimeout(g,V(y))}function _(y){return m=void 0,p&&i?T(y):(i=c=void 0,r)}function S(){m!==void 0&&clearTimeout(m),a=0,i=n=c=m=void 0}function L(){return m===void 0?r:_(pe())}function u(){var y=pe(),s=k(y);if(i=arguments,c=this,n=y,s){if(m===void 0)return N(n);if(C)return clearTimeout(m),m=setTimeout(g,o),T(n)}return m===void 0&&(m=setTimeout(g,o)),r}return u.cancel=S,u.flush=L,u}const Zt={key:0,class:"hb-lib-list-table-act"},Xt={class:"empty-container"},vt={key:1},eo={key:2},to=O(D(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},rowHeight:{},defaultWidth:{},tooltipPlacement:{default:()=>"topLeft"},isFixTbHeight:{type:Boolean}},emits:["change","resizeCol"],setup(t,{emit:o}){const l=e.inject("globalCompConfig",{}),i=o,{t:c}=Y.useI18n(),d=t,r=e.ref([]),m=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:n}=Ce(r),a=e.ref(n.value),h=e.computed(()=>d.isUnFixTbHeight||l.HbLibListPageContainer?.isUnFixTbHeight||!1);e.watch(()=>d.columns,g=>{const _=g.filter(L=>L!=null&&L.checked);r.value=_.map(L=>{let u={...L,title:L.title||L.label,align:L.align||l.listTable?.align||"center"};u.ellipsis&&!u.needTooltip&&(u.needTooltip=!0);let y=d.defaultWidth||l.listTable?.defaultColWidth||150;if(!u.width)u.width=y;else if(typeof u.width=="string"){const s=parseInt(u.width,10);u.width=isNaN(s)?y:s}return u.resizable===void 0&&(u.resizable=!0),u});const{tableWidth:S}=Ce(r);a.value=S.value},{immediate:!0,deep:!0});const C=Qt(()=>{i("resizeCol",r)},l.listTable?.colSaveTimeOut||800),p=(g,_)=>{if(_){const S=typeof g=="string"?parseInt(g,10):g;_.width=isNaN(S)?l.listTable?.defaultColWidth||150:S,e.nextTick(()=>{C()})}},T=(g,_,S)=>{g?.current&&i("change",g,_,S)},N=(g,_="YYYY-MM-DD HH:mm:ss")=>g?ne(g).format(_):"",V=(g,_)=>g&&_[g]||"",k=(g,_=l.listTable?.ellipsisNumber||20)=>g?g.length>_?`${g.substring(0,_)}...`:g:"";return(g,_)=>{const S=e.resolveComponent("a-empty"),L=e.resolveComponent("a-tooltip"),u=e.resolveComponent("HbLibCopy"),y=e.resolveComponent("a-tag"),s=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":d.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":t.rowHeight&&t.rowHeight+"px"||""})},[g.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",Zt,[e.renderSlot(g.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(g.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(s,e.mergeProps(g.$attrs,{bordered:"",columns:r.value,tableLayout:"fixed",onResizeColumn:p,onChange:T,scroll:h.value?{x:a.value}:{x:a.value,y:e.unref(m).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",Xt,[e.createVNode(S,{description:e.unref(c)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[g.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:f})=>[e.renderSlot(g.$slots,"headerCell",{column:f,title:f.title},()=>[e.createTextVNode(e.toDisplayString(f.title),1)],!0)]),key:"0"}:void 0,g.$slots.bodyCell?{name:"bodyCell",fn:e.withCtx(({column:f,record:B,index:H,text:I})=>[e.renderSlot(g.$slots,"bodyCell",{column:f,record:B,index:H,text:I},void 0,!0),f&&f.needTooltip&&!f.needCopy?(e.openBlock(),e.createBlock(L,{key:0,placement:t.tooltipPlacement},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(B[f.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(B[f.dataIndex]),1)]),_:2},1032,["placement"])):f&&f.needCopy&&!f.needTooltip?(e.openBlock(),e.createElementBlock("div",vt,[e.createTextVNode(e.toDisplayString(B[f.dataIndex])+" ",1),e.createVNode(u,{"cp-text":B[f.dataIndex],style:{position:"relative"}},null,8,["cp-text"])])):e.createCommentVNode("",!0),f&&f.needTooltip&&f.needCopy?(e.openBlock(),e.createElementBlock("div",eo,[e.createVNode(L,{placement:t.tooltipPlacement},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(B[f.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(k(B[f.dataIndex],f.strLen)),1)]),_:2},1032,["placement"]),e.createVNode(u,{"cp-text":B[f.dataIndex],style:{position:"relative"}},null,8,["cp-text"])])):f&&f.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(N(B[f.dataIndex],f.format)),1)],64)):f&&f.tags?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[V(B[f.dataIndex],f.tags)?(e.openBlock(),e.createBlock(y,{key:0,color:V(B[f.dataIndex],f.tags)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(B[f.dataIndex]),1)]),_:2},1032,["color"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),key:"1"}:void 0,g.$slots.expandedRowRender?{name:"expandedRowRender",fn:e.withCtx(({record:f,index:B})=>[e.renderSlot(g.$slots,"expandedRowRender",{record:f,index:B},void 0,!0)]),key:"2"}:void 0,g.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:f})=>[e.renderSlot(g.$slots,"customFilterDropdown",{column:f},void 0,!0)]),key:"3"}:void 0,g.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:f})=>[e.renderSlot(g.$slots,"customFilterIcon",{column:f},void 0,!0)]),key:"4"}:void 0,g.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({expanded:f,record:B,index:H})=>[e.renderSlot(g.$slots,"expandIcon",{expanded:f,record:B,index:H},void 0,!0)]),key:"5"}:void 0,g.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(g.$slots,"footer",{},void 0,!0)]),key:"6"}:void 0,g.$slots.summary?{name:"summary",fn:e.withCtx(()=>[e.renderSlot(g.$slots,"summary",{},void 0,!0)]),key:"7"}:void 0,g.$slots.title?{name:"title",fn:e.withCtx(()=>[e.renderSlot(g.$slots,"title",{},void 0,!0)]),key:"8"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-4a8b9aaa"]])),oo={class:"hb-lib-table-setting-box"},lo={key:0,class:"hb-lib-table-drag-item"},no={key:0,class:"hb-lib-table-drag-item-act"},ao=["onClick"],io=["onClick"],ro={class:"hb-lib-table-set-btn-group"},so={class:"select-all-container",style:{"margin-right":"10px"}},co=O(D(e.defineComponent({name:"HbLibTableColumnSet",__name:"HbTableColumnSet",props:{hasClean:{type:Boolean,default:!0},index:{type:Number,default:0},selectedRowKeysLength:{type:Number,default:0},change:{type:Function,default:()=>{}},tableColumns:{type:Array,default:[]},localColumns:{type:Array,default:[]}},emits:["on-get-columns"],setup(t,{emit:o}){const l=o,{t:i}=Y.useI18n(),c=t,d=e.ref([]),r=e.computed(()=>n.value.filter(y=>y.checked));e.ref([]);const m=e.ref(!1),n=e.ref([]),a=e.ref(null),h=e.computed(()=>r.value.length>0&&r.value.length===d.value.length),C=e.computed(()=>r.value.length>0&&r.value.length<d.value.length),p=y=>{a.value=y.oldIndex},T=y=>{const s=y.newIndex;if(d.value.some(B=>B.fixed==="left"||B.fixed==="right"||B.fixed===!0)){const B=d.value.filter(I=>I.fixed==="left").length,H=d.value.length-d.value.filter(I=>I.fixed==="right").length;if((B>0&&s<B||H<d.value.length&&s>=H)&&(F.message.warning(i("hbLibComp.hbLibListTableColumsSet.errorTip")),a.value!==null)){const I=n.value.splice(s,1)[0];n.value.splice(a.value,0,I)}}a.value=null},N=y=>{y.target.checked?n.value.forEach(f=>f.checked=!0):n.value.forEach(f=>{f.dataIndex!=="action"&&f.dataIndex!=="actions"&&(f.checked=!1)})},V=()=>{d.value=c.localColumns.map(s=>({...s,label:s.title&&s.title.tag?S(s.title):s.title||s.title2,value:s.dataIndex,checked:s.checked||s.checked===void 0})),n.value=[...d.value];let y=[];c.tableColumns.forEach(function(s){y.push(s.dataIndex)})},k=(y,s)=>{s?y.checked=!0:y.checked=!1},g=()=>{d.value=[...n.value],l("on-get-columns",d.value),m.value=!1},_=()=>{d.value=c.tableColumns.map(s=>({...s,label:s.title&&s.title.tag?S(s.title):s.title||s.title2,value:s.dataIndex,checked:s.checked||s.checked===void 0})),n.value=[...d.value];let y=[];c.tableColumns.forEach(function(s){y.push(s.dataIndex)})},S=y=>y.children[0].text,L=y=>{delete y.fixed;const s=n.value.findIndex(f=>f.value===y.value);if(s!==-1){let f=-1;for(let B=0;B<n.value.length;B++)n.value[B].fixed==="left"&&(f=B);if(f!==-1&&s!==f+1){const B=[...n.value],[H]=B.splice(s,1);B.splice(f+1,0,H),n.value=B}}},u=y=>{const s=n.value.findIndex(f=>f.value===y.value);if(s!==-1){let f=-1;for(let q=0;q<n.value.length;q++)n.value[q].fixed==="left"&&(f=q);const B=[...n.value],[H]=B.splice(s,1);H.fixed="left";const I=f===-1?0:f+1;B.splice(I,0,H),n.value=B}};return e.watch(()=>c.tableColumns,()=>{_()},{immediate:!0,deep:!0}),(y,s)=>{const f=e.resolveComponent("a-tooltip"),B=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",oo,[e.createVNode(e.unref(F.Popover),{title:e.unref(i)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"column_setting_popover",visible:m.value,"onUpdate:visible":s[1]||(s[1]=H=>m.value=H)},{content:e.withCtx(()=>[e.createVNode(e.unref(le),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=H=>n.value=H),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:p,onEnd:T},{item:e.withCtx(({element:H})=>[H.fixed!=="right"?(e.openBlock(),e.createElementBlock("div",lo,[e.createVNode(e.unref(F.Checkbox),{checked:H.checked,onChange:I=>k(H,I.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(H.label),1)]),_:2},1032,["checked","onChange"]),H.checked?(e.openBlock(),e.createElementBlock("section",no,[e.createElementVNode("span",{class:e.normalizeClass(H.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),H.fixed?(e.openBlock(),e.createBlock(f,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:I=>L(H)},[...s[2]||(s[2]=[e.createElementVNode("svg",{t:"1759048615600",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7283",width:"200",height:"200"},[e.createElementVNode("path",{d:"M771.798516 586.270988c-6.897306 8.296759-17.293245 12.894963-27.989067 12.894963h-0.299882l-175.931277-1.199532-55.178446 422.834831-0.399844 3.19875-0.399844-3.19875-55.178446-422.834831-175.931277 1.199532h-0.299882c-10.795783 0-21.191722-4.598204-27.989067-12.894963-6.897306-8.39672-8.796564-18.292854-8.596642-27.28934 0.399844-13.094885 5.697774-25.590004 14.394377-35.386177l61.87583-69.872706c15.393987-17.393206 24.790316-39.284654 26.589613-62.475596l20.292074-250.402187c0.599766-7.796954-2.199141-15.593909-7.796955-21.091761l-38.584927-38.584927c-19.692308-16.693479-21.891449-33.58688-17.79305-47.581414 5.897696-20.092152 24.690355-33.58688 45.582194-33.58688h0.199922l163.236236 0.499805h0.799688l163.236236-0.499805h0.199922c20.891839 0 39.684498 13.494729 45.582194 33.58688 4.098399 13.994533 1.899258 30.887934-17.79305 47.581414L664.940258 119.753221c-5.597813 5.597813-8.39672 13.294807-7.796955 21.091761L677.435377 391.247169c1.899258 23.190941 11.195627 45.08239 26.589613 62.475596l61.87583 69.872706c8.696603 9.796173 13.894572 22.291292 14.394377 35.386177 0.299883 8.996486-1.599375 18.89262-8.496681 27.28934z","p-id":"7284",fill:"#ff5000"})],-1)])],8,ao)]),_:2},1024)):e.createCommentVNode("",!0),H.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(f,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:I=>u(H)},[...s[3]||(s[3]=[e.createElementVNode("svg",{t:"1759048735643",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7481",width:"200",height:"200"},[e.createElementVNode("path",{d:"M381.298 418.828h-157.703l-37.575 38.272 155.61 158.377-278.212 345.128 356.040-265.838 154.71 157.41 38.813-39.51 2.407-157.972 238.838-313.29 71.685 73.013 34.695-35.28-310.185-315.743-34.672 35.257 77.287 79.402-311.737 240.773z","p-id":"7482",fill:"#ff5000"})],-1)])],8,io)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ro,[e.createElementVNode("div",so,[e.createVNode(e.unref(F.Checkbox),{checked:h.value,indeterminate:C.value,onChange:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),c.localColumns.length?(e.openBlock(),e.createBlock(B,{key:0,style:{"margin-right":"6px"},onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.reset")),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(B,{onClick:g,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(f,{title:e.unref(i)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...s[4]||(s[4]=[e.createElementVNode("span",{class:"hb-lib-table-col-set"},[e.createElementVNode("svg",{t:"1759041858618",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5219",width:"200",height:"200"},[e.createElementVNode("path",{d:"M460.8 49.216a102.4 102.4 0 0 1 102.4 0l323.968 187.072c31.68 18.304 51.2 52.096 51.2 88.64V576h-76.8V324.928a25.6 25.6 0 0 0-12.8-22.144L524.8 115.712a25.6 25.6 0 0 0-25.6 0L175.232 302.784a25.6 25.6 0 0 0-12.8 22.144v374.144a25.6 25.6 0 0 0 12.8 22.144L499.2 908.288a25.6 25.6 0 0 0 25.6 0l51.2-29.568v88.64l-12.8 7.424a102.4 102.4 0 0 1-102.4 0l-323.968-187.072a102.4 102.4 0 0 1-51.2-88.64V324.928c0-36.544 19.52-70.4 51.2-88.64L460.8 49.216z","p-id":"5220",fill:"#ff5000"}),e.createElementVNode("path",{d:"M345.6 512a166.4 166.4 0 1 1 332.8 0 166.4 166.4 0 0 1-332.8 0zM512 422.4a89.6 89.6 0 1 0 0 179.2 89.6 89.6 0 0 0 0-179.2zM670.208 736a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4zM670.208 896a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4z","p-id":"5221",fill:"#ff5000"})])],-1)])]),_:1},8,["title"])]),_:1},8,["title","visible"])])}}}),[["__scopeId","data-v-07a63550"]])),mo=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:De,HbLibListBtnsAct:Ge,HbLibListForm:Oe,HbLibListMultiSelect:dt,HbLibListPageAct:We,HbLibListPageContainer:Qe,HbLibListTable:to,HbLibMutilpleSelectModal:ht,HbLibTableAct:xt,HbLibTableColumnSet:co},Symbol.toStringTag,{value:"Module"})),po=O(D(e.defineComponent({name:"HbLibFormTooltipSelect",inheritAttrs:!1,__name:"HbTooltipSelect",props:e.mergeModels({options:{default:()=>[]},tooltipPlacement:{default:"right"},tooltipMaxWidth:{default:280},enableTooltip:{type:Boolean,default:!0},enableEllipsis:{type:Boolean,default:!0}},{value:{default:void 0},valueModifiers:{}}),emits:["update:value"],setup(t,{expose:o}){const l=t,i=e.useAttrs(),c=e.computed(()=>{const N=i,V=N.dropdownClassName;return{...N,dropdownClassName:V??"hb_lib_form_tooltip_select__dropdown"}}),d=e.ref(),r=e.useModel(t,"value"),m=e.computed(()=>l.options??[]),n=e.computed(()=>({maxWidth:typeof l.tooltipMaxWidth=="number"?`${l.tooltipMaxWidth}px`:l.tooltipMaxWidth})),a=N=>N.tooltip??N.label,h=N=>N.key??N.label,C=N=>!!(l.enableTooltip&&a(N));return o({focus:()=>{d.value?.focus?.()},blur:()=>{d.value?.blur?.()},selectRef:d}),(N,V)=>(e.openBlock(),e.createBlock(e.unref(F.Select),e.mergeProps({ref_key:"selectRef",ref:d,class:"hb_lib_form_tooltip_select"},c.value,{value:r.value,"onUpdate:value":V[0]||(V[0]=k=>r.value=k)}),{default:e.withCtx(()=>[N.$slots.default?e.renderSlot(N.$slots,"default",{key:0},void 0,!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(m.value,k=>(e.openBlock(),e.createBlock(e.unref(F.SelectOption),e.mergeProps({key:h(k),value:k.value,disabled:k.disabled},{ref_for:!0},k.optionProps),{default:e.withCtx(()=>[C(k)?(e.openBlock(),e.createBlock(e.unref(F.Tooltip),{key:0,title:a(k),placement:l.tooltipPlacement,overlayStyle:n.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":l.enableEllipsis}])},e.toDisplayString(k.label),3)]),_:2},1032,["title","placement","overlayStyle"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":l.enableEllipsis}])},e.toDisplayString(k.label),3))]),_:2},1040,["value","disabled"]))),128))]),_:3},16,["value"]))}}),[["__scopeId","data-v-b04f5675"]])),fo=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormTooltipSelect:po},Symbol.toStringTag,{value:"Module"})),ho={class:"ant-upload-drag-icon"},bo={class:"ant-upload-text"},go={style:{color:"#ff5000"}},yo={class:"ant-upload-hint"},Co={key:0,class:"hb_import_btn"},uo=["href"],_o=O(D(e.defineComponent({name:"HbLibImportFile",__name:"HbImportFile",props:{title:{default:()=>"文件导入"},modalWidth:{default:600},acceptFile:{default:".xlsx, .xls, .csv,.txt,.docx,.doc,.ppt,.pptx,.png,.jpg,.jpeg,.gif"},isRequired:{type:Boolean,default:!0},templateUrl:{},maxCount:{default:1},multiple:{type:Boolean,default:!1},btnText:{default:()=>"文件上传"},beforeUpload:{},beforeSubmit:{}},setup(t,{expose:o}){const{t:l}=Y.useI18n(),i=e.ref(),c=t,d=e.ref(!1),r=e.reactive({fileList:[],visible:!1}),m=p=>{if(p==null)return;const T=r.fileList.indexOf(p);if(T!==-1){const N=r.fileList.slice();N.splice(T,1),r.fileList=N}},n=()=>{r.visible=!1,r.fileList=[],d.value=!1},a=p=>(r.fileList=[p],c.beforeUpload?c.beforeUpload(p):!1),h=()=>{i.value.validateFields().then(()=>{c.beforeSubmit&&(d.value=!0,c.beforeSubmit(r.fileList).then(p=>{}).finally(()=>{d.value=!1}))})},C=()=>{r.visible=!0};return o({handleCancel:n,openModal:C,confirmLoading:d}),(p,T)=>{const N=e.resolveComponent("a-upload-dragger"),V=e.resolveComponent("a-form-item"),k=e.resolveComponent("a-form"),g=e.resolveComponent("a-modal"),_=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(g,e.mergeProps({title:c.title,visible:r.visible,"onUpdate:visible":T[0]||(T[0]=S=>r.visible=S),"confirm-loading":d.value},p.$attrs,{onCancel:n,onOk:h,width:c.modalWidth}),{default:e.withCtx(()=>[e.createVNode(k,{ref_key:"modalFormRef",ref:i,model:r},{default:e.withCtx(()=>[e.createVNode(V,{name:"fileList",label:e.unref(l)("hbLibComp.HbImportFile.fileLabel"),rules:[{required:c.isRequired,message:e.unref(l)("hbLibComp.HbImportFile.clickUp")}]},{default:e.withCtx(()=>[e.createVNode(N,{maxCount:c.maxCount,multiple:c.multiple,accept:c.acceptFile,name:"file",fileList:r.fileList,onRemove:m,beforeUpload:a},{default:e.withCtx(()=>[e.createElementVNode("p",ho,[e.createVNode(e.unref(W.PlusCircleOutlined),{style:{"font-size":"37px"}})]),e.createElementVNode("p",bo,[e.createTextVNode(e.toDisplayString(e.unref(l)("hbLibComp.HbImportFile.uploadText")),1),e.createElementVNode("span",go,e.toDisplayString(e.unref(l)("hbLibComp.HbImportFile.clickUp")),1)]),e.createElementVNode("p",yo,e.toDisplayString(e.unref(l)("hbLibComp.HbFileUploadModal.format"))+": "+e.toDisplayString(c.acceptFile),1)]),_:1},8,["maxCount","multiple","accept","fileList"])]),_:1},8,["label","rules"])]),_:1},8,["model"]),c.templateUrl?(e.openBlock(),e.createElementBlock("p",Co,[e.createElementVNode("a",{download:"Import_number-template.xlsx",href:c.templateUrl},e.toDisplayString(e.unref(l)("hbLibComp.HbImportFile.downloadTemplate")),9,uo)])):e.createCommentVNode("",!0)]),_:1},16,["title","visible","confirm-loading","width"]),e.renderSlot(p.$slots,"btn",{},()=>[e.createVNode(_,{onClick:C,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.btnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-d61501db"]])),ko=Object.freeze(Object.defineProperty({__proto__:null,HbLibImportFile:_o},Symbol.toStringTag,{value:"Module"})),Lo={cpText:{type:String,default:""},K:{type:String,default:""},V:{type:String},L:{type:String},data:{type:[Array,Object]},tooltipTitle:{type:String,default:""},copySuccessTip:{type:String,default:""},copyFailTip:{type:String,default:""},cpStyle:{type:Object,default:()=>({})},classType:{type:String,default:"ab"}},xe=O(D(e.defineComponent({name:"HbLibCopy",__name:"copy",props:Lo,setup(t){const o=t,l=e.ref();e.watchEffect(()=>{l.value=o.data});const i=e.computed(()=>o.tooltipTitle||"复制"),c=e.computed(()=>o.copySuccessTip||"复制成功"),d=e.computed(()=>o.copyFailTip||"复制失败"),r=e.computed(()=>{if(o.cpText)return o.cpText;let n="";if(o.data)if(Array.isArray(o.data)){if(o.K&&o.V&&o.L){const a=o.data.find(h=>h?.[o.K]===o.V);n=a?a[o.L]:""}}else o.K&&(n=o.data[o.K]);return n}),m=()=>{navigator.clipboard.writeText(r.value).then(()=>{F.message.success(c.value)}).catch(()=>{F.message.error(d.value)})};return(n,a)=>r.value?(e.openBlock(),e.createBlock(e.unref(F.Tooltip),{key:0,title:i.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-copy-text-eyevue",style:e.normalizeStyle({...n.cpStyle}),onClick:e.withModifiers(m,["stop","prevent"])},[...a[0]||(a[0]=[e.createElementVNode("svg",{t:"1766643849597",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5022",width:"200",height:"200"},[e.createElementVNode("path",{d:"M720 192h-544A80.096 80.096 0 0 0 96 272v608C96 924.128 131.904 960 176 960h544c44.128 0 80-35.872 80-80v-608C800 227.904 764.128 192 720 192z m16 688c0 8.8-7.2 16-16 16h-544a16 16 0 0 1-16-16v-608a16 16 0 0 1 16-16h544a16 16 0 0 1 16 16v608z","p-id":"5023",fill:"#808080ba"}),e.createElementVNode("path",{d:"M848 64h-544a32 32 0 0 0 0 64h544a16 16 0 0 1 16 16v608a32 32 0 1 0 64 0v-608C928 99.904 892.128 64 848 64z","p-id":"5024",fill:"#808080ba"}),e.createElementVNode("path",{d:"M608 360H288a32 32 0 0 0 0 64h320a32 32 0 1 0 0-64zM608 520H288a32 32 0 1 0 0 64h320a32 32 0 1 0 0-64zM480 678.656H288a32 32 0 1 0 0 64h192a32 32 0 1 0 0-64z","p-id":"5025",fill:"#808080ba"})],-1)])],4)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-2b6710a1"]])),So={dragList:{type:Array,required:!0},childrenType:{type:String,default:"html"},dragClass:{type:String,default:"drag-item"},ghostClass:{type:String,default:null},chosenClass:{type:String,default:null},sort:{type:Boolean,default:!0},handle:{type:String,default:""},filter:{type:String,default:""},draggable:{type:String,default:""}},xo=O(D(e.defineComponent({name:"HbDrag",__name:"index",props:So,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(t,{emit:o}){const l=t,i=e.shallowRef([]);e.watch(()=>l.dragList,h=>{i.value=h},{deep:!0,immediate:!0});const c=de("drag"),d=o,r=h=>{console.log("drag start",h),d("handleDragStart",h)},m=h=>{console.log("drag end",h),d("handleDragEnd",h)},n=h=>{console.log("drag add",h),d("handleDragAdd",h)},a=h=>{console.log("drag remove",h),d("handleDragRemove",h)};return(h,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(c).b())},[h.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(le),e.mergeProps({key:0,modelValue:i.value,"onUpdate:modelValue":C[0]||(C[0]=p=>i.value=p),"item-key":"key",class:{[h.dragClass]:h.dragClass}},h.$attrs,{"ghost-class":h.ghostClass,onStart:r,onEnd:m,onAdd:n,onRemove:a}),{item:e.withCtx(({element:p})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p.component)))]),_:1},16,["modelValue","class","ghost-class"])):(e.openBlock(),e.createBlock(e.unref(le),e.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":C[1]||(C[1]=p=>i.value=p),"item-key":"id",class:{[h.dragClass]:h.dragClass}},h.$attrs,{"ghost-class":h.ghostClass,onStart:r,onEnd:m,onAdd:n,onRemove:a}),{item:e.withCtx(({element:p})=>[e.createElementVNode("div",null,[e.renderSlot(h.$slots,"default",{item:p},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]])),wo={triggerWay:{type:String,default:"click"},colText:{type:String,default:""},menuItems:{type:Array,default:()=>[]},getSort:{type:Function}},Bo=O(D(e.defineComponent({name:"HbLibSort",__name:"sort",props:wo,emits:["change"],setup(t,{expose:o,emit:l}){const i=t,c=l,d=e.ref([]),r=e.ref("");e.watch(()=>i.menuItems,n=>{let a=[];Array.isArray(n)&&n.length&&n.forEach(h=>{a=[...a,{label:`${h.label}升序`,value:`${h.value}`,sort:"Asc"},{label:`${h.label}降序`,value:`${h.value}`,sort:"Desc"}]}),d.value=a},{deep:!0,immediate:!0});const m=n=>{r.value=n.value+n.sort,i.getSort&&i.getSort({orderFeild:n.value,orderBy:n.sort}),c("change",r)};return o({currentActiveItem:r}),(n,a)=>{const h=e.resolveComponent("a-menu-item"),C=e.resolveComponent("a-menu"),p=e.resolveComponent("a-dropdown");return e.openBlock(),e.createBlock(p,{trigger:[i.triggerWay]},{overlay:e.withCtx(()=>[e.createVNode(C,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,T=>(e.openBlock(),e.createBlock(h,{key:T.value+T.sort,onClick:N=>m(T)},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(r.value==T.value+T.sort?"activted":"")},e.toDisplayString(T.label),3)]),_:2},1032,["onClick"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"ant-dropdown-link",onClick:a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))},[e.createTextVNode(e.toDisplayString(i.colText)+" ",1),e.createVNode(e.unref(W.DownOutlined))])]),_:1},8,["trigger"])}}}),[["__scopeId","data-v-cf0b0a0d"]])),To={importFile:{isRequired:!1,modalWidth:800,maxCount:1,multiple:!1,acceptFile:"image/*"},listTable:{align:"left",colSaveTimeOut:800,defaultColWidth:200,ellipsisNumber:10},HbLibListPageContainer:{offsetBottom:20,minHeight:300,timeOut:100,offsetHeight:110,isUnFixTbHeight:!0},HbLibFormItemFilterModal:{modalWidth:800,defaultShowCount:2},HbLibDetailBox:{descLabelWidth:150,descValueWidth:200,needSetDesDefault:!1,desDefault:"-",setDefaultValueTimeOut:600,backTopBottom:80},HbLibUnDetailBox:{backTopBottom:80},HbLibCard:{formItemMb:10}},No={class:"hb_ui_config"},Fo=e.defineComponent({name:"HbUiConfig",__name:"hbUiConfig",props:{config:{}},setup(t){const o=t;let l=null;return e.watch(()=>o.config,i=>{l=e.reactive(Z.merge({},To,i))},{deep:!0,immediate:!0}),e.provide(fe,l),(i,c)=>(e.openBlock(),e.createElementBlock("div",No,[e.renderSlot(i.$slots,"default")]))}}),fe=Symbol("GLOBAL_CONFIG_KEY"),Vo=O(Fo),Eo={class:"hb_lib_loading"},Ho={class:"hb_lib_loading_loading_anima"},$o={class:"hb_lib_loading_load_tips"},Io=O(D(e.defineComponent({name:"HbLibLoading",__name:"loading",props:{loadTips:{type:String,default:"页面加载中...如长时间加载请刷新页面!"}},setup(t){const{t:o}=Y.useI18n(),l=t,i=e.computed(()=>l.loadTips||o("hbLibComp.HbLibLoading.loadingTips"));return(c,d)=>(e.openBlock(),e.createElementBlock("div",Eo,[e.createElementVNode("div",Ho,[d[0]||(d[0]=e.createStaticVNode('<div class="cube" data-v-22f438b9><div class="side front" data-v-22f438b9></div><div class="side back" data-v-22f438b9></div><div class="side right" data-v-22f438b9></div><div class="side left" data-v-22f438b9></div><div class="side top" data-v-22f438b9></div><div class="side bottom" data-v-22f438b9></div></div>',1)),e.createElementVNode("div",$o,e.toDisplayString(i.value),1)])]))}}),[["__scopeId","data-v-22f438b9"]])),Mo=Object.freeze(Object.defineProperty({__proto__:null,HbLibCopy:xe,HbLibFuncCompDrag:xo,HbLibLoading:Io,HbLibSort:Bo,HbUiConfig:Vo},Symbol.toStringTag,{value:"Module"})),Do={class:"hb_lib_log_modal_content"},Ao={class:"log_remark"},Oo=O(D(e.defineComponent({name:"HbLibLogModal",__name:"HbLogModal",props:{visible:{type:Boolean,default:!1},needBtn:{type:Boolean,default:!1},title:{default:""},width:{default:"45%"},height:{default:"60%"},dataStr:{default:"records"},scrollY:{default:500},params:{default:()=>({})},url:{},columns:{default:void 0},logBtnText:{default:"查看日志"},pagination:{},modalStyle:{},bodyStyle:{},getLogData:{}},emits:["update:visible"],setup(t,{expose:o,emit:l}){const{t:i}=Y.useI18n(),c=t,d=[{title:i("hbLibComp.HbLogModal.operator"),dataIndex:"userName",width:"15%"},{title:i("hbLibComp.HbLogModal.operateTime"),dataIndex:"operateTime",width:"25%"},{title:i("hbLibComp.HbLogModal.operateContent"),dataIndex:"remark"}],r=e.computed(()=>c.columns||d),m=e.computed(()=>c.title||i("hbLibComp.HbLogModal.operateLogs")),n=e.ref(!1),a=e.reactive({list:[],pagination:{current:1,pageSize:10,pageSizeOptions:["10","20","50","100"],showQuickJumper:!0,showSizeChanger:!0,showTotal:(k,g)=>g[0]+"-"+g[1]+" 总共"+k+"页",total:0}});e.watch(()=>c.pagination,k=>{k&&(a.pagination={...a.pagination,...k})},{deep:!0,immediate:!0});const h=()=>{const k={pageIndex:a.pagination.current,pageSize:a.pagination.pageSize,query:c.params};c.getLogData&&(n.value=!0,c.getLogData(k).then(g=>{Number(g.code)==200?(a.pagination.total=Number(g.data.total),a.list=g.data[c.dataStr]||[]):F.message.error(g.message)}).finally(()=>{n.value=!1}))},C=k=>{a.pagination.current=k.current,a.pagination.pageSize=k.pageSize,h()},p=()=>{a.list=[],V("update:visible",!1)},T=()=>{V("update:visible",!0)},N=(k,g="YYYY-MM-DD HH:mm:ss")=>k?ne(k).format(g):"",V=l;return e.watch(()=>c.visible,k=>{k&&h()}),o({close:p,loading:n}),(k,g)=>{const _=e.resolveComponent("a-tooltip"),S=e.resolveComponent("HbLibCopy"),L=e.resolveComponent("a-table"),u=e.resolveComponent("a-button"),y=e.resolveComponent("HbLibModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(y,e.mergeProps(k.$attrs,{visible:t.visible,title:m.value,width:t.width,height:t.height,modalStyle:t.modalStyle,bodyStyle:t.bodyStyle,onCancel:p}),{footer:e.withCtx(()=>[e.createVNode(u,{onClick:p},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.HbLogModal.close")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",Do,[e.createVNode(L,{bordered:"",rowKey:"id",columns:r.value,dataSource:a.list,pagination:a.pagination,loading:n.value,scroll:{y:t.scrollY},onChange:C},e.createSlots({bodyCell:e.withCtx(({column:s,record:f})=>[s&&s.needTooltip?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[s.needTooltip?(e.openBlock(),e.createBlock(_,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f[s.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(f[s.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),s&&s.needCopy?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Ao,e.toDisplayString(f[s.dataIndex]),1),e.createVNode(S,{"cp-text":f[s.dataIndex],style:{position:"relative"}},null,8,["cp-text"])],64)):e.createCommentVNode("",!0),s&&s.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(N(f[s.dataIndex],s.operateTime)),1)],64)):e.createCommentVNode("",!0)]),_:2},[k.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:s})=>[e.renderSlot(k.$slots,"headerCell",{column:s},()=>[e.createTextVNode(e.toDisplayString(s.title),1)],!0)]),key:"0"}:void 0]),1032,["columns","dataSource","pagination","loading","scroll"])])]),_:3},16,["visible","title","width","height","modalStyle","bodyStyle"]),t.needBtn?e.renderSlot(k.$slots,"default",{key:0},()=>[e.createVNode(u,{onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.logBtnText),1)]),_:1})],!0):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-341c37f6"]])),zo=Object.freeze(Object.defineProperty({__proto__:null,HbLibLogModal:Oo},Symbol.toStringTag,{value:"Module"})),ee=t=>(t.install=o=>{o.component(t.name||"AnonymousComponent",t)},t),Po={class:"hb_card_wrapper"},Ro={class:"hb_card"},Uo={key:0,class:"hb_card_header"},jo={class:"hb_fix"},Wo={class:"hb_card_header-title"},qo={class:"hb_card_header-action"},Yo={class:"hb_card_body"},Ko=ee(D(e.defineComponent({name:"HbLibCard",__name:"HbLibCard",props:{cardTitle:{type:String,default:""},isForm:{type:Boolean,default:!1},isModal:{type:Boolean,default:!1},layout:{type:Number,default:2},formItemMb:{type:Number}},setup(t){const o=e.inject(fe),l=t,i=e.computed(()=>{let c=l.formItemMb||o?.HbLibCard?.formItemMb;return c?{"--hb-card-form-item-mb":c+"px"}:{}});return(c,d)=>(e.openBlock(),e.createElementBlock("div",Po,[e.createElementVNode("div",{class:e.normalizeClass(t.isModal?"modal__module-card":"__module-card")},[e.createElementVNode("div",Ro,[t.cardTitle?(e.openBlock(),e.createElementBlock("div",Uo,[e.createElementVNode("div",jo,[e.createElementVNode("span",Wo,[e.renderSlot(c.$slots,"cardTitle",{},()=>[e.createTextVNode(e.toDisplayString(t.cardTitle),1)],!0)]),e.createElementVNode("div",qo,[e.renderSlot(c.$slots,"cardAct",{},void 0,!0)])])])):e.createCommentVNode("",!0),e.createElementVNode("div",Yo,[e.createElementVNode("section",{class:e.normalizeClass({hb_card_form:t.isForm&&!t.isModal,hb_card_flex_form:t.isForm&&t.isModal,l1c:t.layout==1,l3c:t.layout==3,l4c:t.layout==4}),style:e.normalizeStyle(i.value)},[e.renderSlot(c.$slots,"default",{},void 0,!0)],6)])])],2)]))}}),[["__scopeId","data-v-927846d4"]])),Go=["onClick"],Jo={class:"step"},Qo={key:0,class:"line"},Zo=["title"],Xo=ee(D(e.defineComponent({name:"HbLibAnchor",__name:"HbLibAnchor",props:{anchors:{},offsetTop:{},containerSelector:{}},setup(t){const o=t,l=e.ref(""),i=o.offsetTop??160,c=e.computed(()=>o.anchors.filter(n=>typeof n.visible=="function"?n.visible():n.visible!==!1)),d=()=>{const n=o.containerSelector||"#subpackage_container";return document.querySelector(n)||window},r=n=>{const a=d(),h=n.target.startsWith("#")||n.target.startsWith(".")?n.target:`#${n.target}`,C=document.querySelector(h);if(!C)return;let p=C.offsetTop;a instanceof HTMLElement&&(p-=a.offsetTop),p-=i,a instanceof Window?window.scrollTo({top:p,behavior:"smooth"}):a.scrollTo({top:p,behavior:"smooth"}),l.value=n.target},m=()=>{const n=d();let a=0;n instanceof Window?a=window.scrollY+i+5:a=n.scrollTop+i+5;let h=c.value[0]?.target||"";for(const C of c.value){const p=C.target.startsWith("#")||C.target.startsWith(".")?C.target:`#${C.target}`,T=document.querySelector(p);if(!T)continue;let N=T.offsetTop;n instanceof HTMLElement&&(N-=n.offsetTop),a>=N&&(h=C.target)}l.value=h};return e.onMounted(()=>{d().addEventListener("scroll",m),m()}),e.onBeforeUnmount(()=>{d().removeEventListener("scroll",m)}),(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"anchors",style:e.normalizeStyle({top:`${e.unref(i)}px`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(h,C)=>(e.openBlock(),e.createElementBlock("div",{key:h.target,class:e.normalizeClass(["anchor-item",{isActive:l.value===h.target}]),onClick:p=>r(h)},[e.createElementVNode("div",Jo,[C!==c.value.length-1?(e.openBlock(),e.createElementBlock("div",Qo)):e.createCommentVNode("",!0),a[0]||(a[0]=e.createElementVNode("div",{class:"circle"},null,-1))]),e.createElementVNode("span",{class:"title",title:h.title},e.toDisplayString(h.title.length>12?h.title.slice(0,12)+"...":h.title),9,Zo)],10,Go))),128))],4))}}),[["__scopeId","data-v-d51548d8"]])),vo={class:"hb_detail_top_act_left"},el={key:1,class:"hb_detail_top_wrapper_sticky"},tl={class:"hb_detail_top_act"},ol={key:0,class:"hb_detail_all_info"},ll={class:"hb_detail_all_info_left"},nl={class:"hb_detail_info_title"},al={key:0,class:"hb_detail_info_content"},il={class:"create_by"},rl={class:"hb_detail_all_info_right"},sl={class:"hb_edit_detail_content_wrapper"},cl={class:"hb_detail_content"},dl={class:"hb-back-top-inner"},ml=ee(D(e.defineComponent({name:"HbLibDetailBox",__name:"HbLibDetailBox",props:{stickyTitle:{type:String,default:""},needTotalInfoBox:{type:Boolean,default:!0},totalInfo:{type:Object,default:()=>({totalInfoTitle:"",totalInfoSubTitle1:"",totalInfoSubTitle2:"",totalInfoSubVal1:"",totalInfoSubVal2:""})},container:{type:String,default:"#subpackage_container"},backTopBottom:{type:Number},backFn:{type:Function},needFixWidth:{type:Boolean,default:!0},descLabelWidth:{type:Number},descValueWidth:{type:Number},spinning:{type:Boolean,default:!1}},setup(t){const{t:o}=Y.useI18n(),l=t,i=e.inject(fe),c=()=>{l.backFn?l.backFn():window.history.back()},d=e.computed(()=>l.backTopBottom||i?.HbLibDetailBox?.backTopBottom||80),r=e.computed(()=>{const V={};return l.needFixWidth?{hb_need_set_desc_label_width:l.descLabelWidth||i?.HbLibDetailBox?.descLabelWidth,hb_need_set_desc_value_width:l.descValueWidth||i?.HbLibDetailBox?.descValueWidth}:V}),m=()=>document.querySelector(l.container),n=e.ref(!1),a=e.ref(null),{top:h}=X.useElementBounding(a),C=e.computed(m),{y:p}=X.useScroll(C);e.watch(p,V=>{n.value=V>h.value},{immediate:!0});const T=V=>{document.querySelectorAll(".hb_card_body").forEach(g=>{g.querySelectorAll(".ant-descriptions-item-content span").forEach(S=>{S.textContent?.trim()||(S.textContent=V)})})};let N=null;return e.onMounted(()=>{i?.HbLibDetailBox?.needSetDesDefault&&(N=setTimeout(()=>{T(i?.HbLibDetailBox?.desDefault)},i?.HbLibDetailBox?.setValuetimeOut))}),e.onUnmounted(()=>{N&&clearTimeout(N)}),(V,k)=>{const g=e.resolveComponent("RollbackOutlined"),_=e.resolveComponent("a-divider"),S=e.resolveComponent("a-spin");return e.openBlock(),e.createBlock(S,{spinning:t.spinning},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["hb_detail_wrapper",r.value]),style:e.normalizeStyle({"--hb-detail-desc-label-width":r.value?.hb_need_set_desc_label_width+"px","--hb-detail-desc-value-width":r.value?.hb_need_set_desc_value_width+"px"})},[t.needTotalInfoBox?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["hb_detail_top_act_sticky",n.value?"can_show":""])},[e.createElementVNode("div",vo,[e.createVNode(g,{style:{color:"#ff5000"}}),e.createElementVNode("a",{href:"javascript:;",class:"ml6",onClick:c},e.toDisplayString(e.unref(o)("hbLibComp.HbLibDetailBox.back")),1),e.createVNode(_,{type:"vertical"}),e.createElementVNode("span",null,e.toDisplayString(t.stickyTitle),1)]),k[0]||(k[0]=e.createElementVNode("div",{class:"hb_detail_top_act_right"},null,-1))],2)):e.createCommentVNode("",!0),t.needTotalInfoBox?(e.openBlock(),e.createElementBlock("div",el,[e.createElementVNode("div",tl,[e.createVNode(g),e.createElementVNode("a",{href:"javascript:;",class:"ml6",onClick:c},e.toDisplayString(e.unref(o)("hbLibComp.HbLibDetailBox.back")),1),e.createVNode(_,{type:"vertical"}),e.createElementVNode("span",null,e.toDisplayString(t.stickyTitle),1)]),t.needTotalInfoBox?(e.openBlock(),e.createElementBlock("div",ol,[e.createElementVNode("aside",ll,[e.renderSlot(V.$slots,"totalInfoLeft",{},()=>[e.createElementVNode("div",nl,e.toDisplayString(t.totalInfo.totalInfoTitle),1),t.totalInfo.totalInfoSubTitle1?(e.openBlock(),e.createElementBlock("div",al,[e.createElementVNode("span",il,e.toDisplayString(t.totalInfo.totalInfoSubTitle1)+e.toDisplayString(t.totalInfo.totalInfoSubVal1),1),e.createElementVNode("span",null,e.toDisplayString(t.totalInfo.totalInfoSubTitle2)+e.toDisplayString(t.totalInfo.totalInfoSubVal2),1)])):e.createCommentVNode("",!0)],!0)]),e.createElementVNode("aside",rl,[e.renderSlot(V.$slots,"totalInfoRight",{},void 0,!0)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",sl,[e.createElementVNode("div",cl,[e.renderSlot(V.$slots,"detailContent",{},void 0,!0)])]),e.createVNode(e.unref(F.BackTop),{target:m,style:e.normalizeStyle({bottom:d.value+"px"})},{default:e.withCtx(()=>[e.createElementVNode("div",dl,[e.createVNode(e.unref(W.ToTopOutlined))])]),_:1},8,["style"])],6)]),_:3},8,["spinning"])}}}),[["__scopeId","data-v-f2c2c397"]])),pl=ee(D(e.defineComponent({name:"HbLibFooterBar",__name:"HbLibFooterBar",props:{buttons:{type:Array,default:()=>[]},getContainer:{type:Function,default:()=>{const t=document.querySelector("#subpackage_container");return t&&t.scrollHeight>t.clientHeight?t:window}},leftElements:{type:[String,Array],default:()=>["#globalLeft"]},placeLeft:{type:Boolean,default:!1},placeRight:{type:Boolean,default:!1}},setup(t){const o=t,l=e.computed(()=>o.buttons.filter(m=>m.condition!==void 0?m.condition:!0)),i=e.ref(0),c=m=>{let n=0;return(Array.isArray(m)?m:[m]).forEach(h=>{let C=[];if(h.startsWith("#")){const p=document.getElementById(h.slice(1));p&&C.push(p)}else C=Array.from(document.getElementsByClassName(h));C.forEach(p=>{n+=p.offsetWidth||0})}),n},d=()=>{o.leftElements&&(i.value=c(o.leftElements)+1)};let r=null;return e.onMounted(()=>{const m=o.getContainer();m!==window&&m instanceof HTMLElement&&m.addEventListener("scroll",()=>{}),d(),r=new MutationObserver(()=>{d()});const n=document.body;r.observe(n,{childList:!0,subtree:!0,attributes:!0})}),e.onBeforeUnmount(()=>{r&&r.disconnect()}),(m,n)=>{const a=e.resolveComponent("a-button"),h=e.resolveComponent("a-space"),C=e.resolveComponent("a-affix"),p=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",{class:"footer-affix-wrapper",style:e.normalizeStyle({"--pageHeaderOrFonterLeft":i.value+"px"})},[e.createVNode(C,{"offset-bottom":0,target:t.getContainer,style:{width:"100%"}},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({"page-footer-bar":!0,page_footer_btn_left:t.placeLeft,page_footer_btn_right:t.placeRight})},[e.createVNode(h,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,T=>e.withDirectives((e.openBlock(),e.createBlock(a,{key:T.key,type:T.type||"default",danger:T.danger,loading:T.loading,disabled:T.disabled,onClick:T.onClick,class:"hb_list_page_button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(T.label),1)]),_:2},1032,["type","danger","loading","disabled","onClick"])),[[p,T.permissionsTag||null]])),128))]),_:1})],2)]),_:1},8,["target"])],4)}}}),[["__scopeId","data-v-37376438"]])),fl={class:"modal__detail-content"},hl=ee(D(e.defineComponent({name:"HbLibModal",__name:"HbLibModal",props:{type:{type:String,default:"add"},title:{type:String,default:""},modalStyle:{type:Object,default:()=>({})},bodyStyle:{type:Object,default:()=>({})},wrapStyle:{type:Object,default:()=>({})},spinning:{type:Boolean,default:!1},descLabelWidth:{type:Number},descValueWidth:{type:Number}},emits:["ok","cancel"],setup(t,{expose:o,emit:l}){const i=l,c=t,d=e.ref(!1),r=e.ref(null),m=e.computed(()=>({...c.modalStyle})),n=e.computed(()=>({overflow:"hidden",...c.modalStyle})),a=e.computed(()=>({maxHeight:"calc(100vh - 120px)",overflowY:"auto",padding:"0 6px",...c.bodyStyle})),{x:h,y:C,isDragging:p}=X.useDraggable(r),T=e.ref(0),N=e.ref(0),V=e.ref(!1),k=e.ref(0),g=e.ref(0),_=e.ref(0),S=e.ref(0),L=e.ref({left:0,right:0,top:0,bottom:0});let u=null;e.watch(d,B=>{B||(u&&clearTimeout(u),u=setTimeout(()=>{k.value=0,g.value=0,_.value=0,S.value=0},300))}),e.watch([h,C],()=>{if(!V.value){T.value=h.value,N.value=C.value;const B=document.body.getBoundingClientRect(),H=r.value.getBoundingClientRect();L.value.right=B.width-H.width,L.value.bottom=B.height-H.height,_.value=k.value,S.value=g.value}V.value=!0}),e.watch(p,()=>{p||(V.value=!1)}),e.watchEffect(()=>{V.value&&(k.value=_.value+Math.min(Math.max(L.value.left,h.value),L.value.right)-T.value,g.value=S.value+Math.min(Math.max(L.value.top,C.value),L.value.bottom)-N.value)});const y=e.computed(()=>({transform:`translate(${k.value}px, ${g.value}px)`})),s=()=>{d.value=!1,i("cancel")},f=()=>{i("ok")};return e.onUnmounted(()=>{u&&clearTimeout(u)}),o({handleOk:f,handleCancel:s,visible:d}),(B,H)=>{const I=e.resolveComponent("a-spin"),q=e.resolveComponent("a-modal");return e.openBlock(),e.createBlock(q,e.mergeProps({style:m.value,bodyStyle:a.value,ref:"modalRef",visible:d.value,"onUpdate:visible":H[0]||(H[0]=w=>d.value=w),"wrap-style":n.value,onOk:f,onCancel:s},B.$attrs),e.createSlots({title:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"modalTitleRef",ref:r,style:{width:"100%",cursor:"move"}},[e.renderSlot(B.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)],!0)],512)]),modalRender:e.withCtx(({originVNode:w})=>[e.createElementVNode("div",{style:e.normalizeStyle(y.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w)))],4)]),default:e.withCtx(()=>[e.createVNode(I,{spinning:c.spinning},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([t.type=="detail"?"hb_detail_modal_wrapper":"hb_modal_wrapper",t.descLabelWidth&&"hb_need_set_desc_label_width",t.descValueWidth&&"hb_need_set_desc_value_width"]),style:e.normalizeStyle({"--hb-detail-desc-label-width":t.descLabelWidth+"px","--hb-detail-desc-value-width":t.descValueWidth+"px"})},[e.createElementVNode("div",fl,[e.renderSlot(B.$slots,"default",{},void 0,!0)])],6)]),_:3},8,["spinning"])]),_:2},[B.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(B.$slots,"footer",{},void 0,!0)]),key:"0"}:void 0]),1040,["style","bodyStyle","visible","wrap-style"])}}}),[["__scopeId","data-v-2c15ecab"]])),bl={key:0,class:"hb_edit_header"},gl={class:"__detail-content"},yl={key:1,class:"hb_edit_footer"},Cl={class:"hb-back-top-inner"},ul=ee(D(e.defineComponent({name:"HbLibUnDetailBox",__name:"HbLibUnDetailBox",props:{container:{type:String,default:"#subpackage_container"},formLabelWidth:{type:Number,default:0},backTopBottom:{type:Number},spinning:{type:Boolean,default:!1}},setup(t){const o=e.ref("vertical"),l=t,i=()=>document.querySelector(l.container),c=e.inject("GLOBAL_CONFIG_KEY"),d=e.computed(()=>l.backTopBottom||c?.HbLibUnDetailBox?.backTopBottom||80);return(r,m)=>(e.openBlock(),e.createBlock(e.unref(F.Spin),{spinning:t.spinning},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["hb_edit_wrapper",t.formLabelWidth?"isNeedSetLabelWidth":""]),style:e.normalizeStyle({"--hb-edit-form-label":t.formLabelWidth})},[r.$slots.editHeader?(e.openBlock(),e.createElementBlock("div",bl,[e.renderSlot(r.$slots,"editHeader",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["hb_edit_detail_content_wrapper",o.value==="vertical"?"form_vertical":""])},[e.createElementVNode("div",gl,[e.renderSlot(r.$slots,"editContent",{},void 0,!0)])],2),r.$slots.editFooter?(e.openBlock(),e.createElementBlock("div",yl,[e.renderSlot(r.$slots,"editFooter",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(e.unref(F.BackTop),{target:i,style:e.normalizeStyle({bottom:d.value+"px"})},{default:e.withCtx(()=>[e.createElementVNode("div",Cl,[e.createVNode(e.unref(W.ToTopOutlined))])]),_:1},8,["style"])],6)]),_:3},8,["spinning"]))}}),[["__scopeId","data-v-ee7895be"]])),_l={class:"hb_edit_header_left"},kl={class:"hb_edit_header_title"},Ll={class:"hb_edit_header_right"},Sl=ee(D(e.defineComponent({name:"HbLibPageHeader",__name:"HbLibPageHeader",props:{topElements:{type:[String,Array],default:()=>["#globalHead","#globalNavFrame"]},leftElements:{type:[String,Array],default:()=>["#globalLeft"]},backFn:{type:Function}},setup(t){const{t:o}=Y.useI18n(),l=t,i=ce.useRoute(),c=e.ref(0),d=e.computed(()=>i?.meta?.title||"");function r(p,T="offsetHeight"){let N=0;return(Array.isArray(p)?p:[p]).forEach(k=>{let g=[];if(k.startsWith("#")){const _=document.getElementById(k.slice(1));_&&g.push(_)}else g=Array.from(document.getElementsByClassName(k));g.forEach(_=>{N+=_[T]||0})}),N}const m=()=>{l.topElements&&(c.value=r(l.topElements))},n=e.ref(0),a=()=>{l.leftElements&&(n.value=r(l.leftElements,"offsetWidth")+1)};let h=null;e.onMounted(()=>{m(),a(),window.addEventListener("resize",m),h=new MutationObserver(()=>{a()});const p=document.body;h.observe(p,{childList:!0,subtree:!0,attributes:!0})}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",m),h&&h.disconnect()}),e.watch(()=>l.topElements,()=>{m()},{immediate:!0});const C=()=>{l.backFn?l.backFn():window.history.back()};return(p,T)=>{const N=e.resolveComponent("a-divider");return e.openBlock(),e.createElementBlock("div",{class:"hb_edit_header",style:e.normalizeStyle({top:c.value+"px","--pageHeaderOrFonterLeft":n.value+"px"})},[e.createElementVNode("aside",_l,[e.createElementVNode("a",{href:"#",class:"backBtn",onClick:C},e.toDisplayString(e.unref(o)("hbLibComp.HbLibDetailBox.back")),1),e.createVNode(N,{type:"vertical"}),e.createElementVNode("span",kl,e.toDisplayString(d.value),1)]),e.createElementVNode("aside",Ll,[e.renderSlot(p.$slots,"right",{},void 0,!0)])],4)}}}),[["__scopeId","data-v-83fcd208"]]));let we={...mo,...fo,...ko,...zo,...Mo,...Object.freeze(Object.defineProperty({__proto__:null,HbLibAnchor:Xo,HbLibCard:Ko,HbLibDetailBox:ml,HbLibFooterBar:pl,HbLibModal:hl,HbLibPageHeader:Sl,HbLibUnDetailBox:ul},Symbol.toStringTag,{value:"Module"}))};const Q=new Map;let Be;X.isClient&&(document.addEventListener("mousedown",t=>Be=t),document.addEventListener("mouseup",t=>{for(const o of Q.values())for(const{documentHandler:l}of o)l(t,Be)}));function Te(t,o){let l=[];return Array.isArray(o.arg)?l=o.arg:o.arg instanceof HTMLElement&&l.push(o.arg),function(i,c){const d=o.instance.popperRef,r=i.target,m=c?.target,n=!o||!o.instance,a=!r||!m,h=t.contains(r)||t.contains(m),C=t===r,p=l.length&&l.some(N=>N?.contains(r))||l.length&&l.includes(m),T=d&&(d.contains(r)||d.contains(m));n||a||h||C||p||T||o.value(i,c)}}const xl={beforeMount(t,o){Q.has(t)||Q.set(t,[]),Q.get(t).push({documentHandler:Te(t,o),bindingFn:o.value})},updated(t,o){Q.has(t)||Q.set(t,[]);const l=Q.get(t),i=l.findIndex(d=>d.bindingFn===o.oldValue),c={documentHandler:Te(t,o),bindingFn:o.value};i>=0?l.splice(i,1,c):l.push(c)},unmounted(t){Q.delete(t)}},wl={mounted(t,o){const{value:l,arg:i}=o;if(console.log(o),typeof l!="function"){console.warn("[v-debounce-click] 绑定值必须是一个函数");return}const c=parseInt(i,10)||300;let d;t.__debounceHandler__=function(...r){d&&clearTimeout(d),d=setTimeout(()=>{l(...r)},c)},t.addEventListener("click",t.__debounceHandler__)},unmounted(t){t.__debounceHandler__&&(t.removeEventListener("click",t.__debounceHandler__),delete t.__debounceHandler__)}},Ne=(t,o)=>{t._dynamicApp&&(t._dynamicApp.unmount(),t._dynamicContainer.innerHTML="");const l=e.createApp(xe,{cpText:o});l.mount(t._dynamicContainer),t._dynamicApp=l,t._dynamicPrevValue=o},Bl={cos:xl,dc:wl,icp:{mounted(t,o){if(!t._dynamicContainer){const l=document.createElement("div");l.style.display="inline-flex",l.style.alignItems="center",l.setAttribute("data-dynamic-container",""),t.parentNode?.insertBefore(l,t.nextSibling),t._dynamicContainer=l}Ne(t,o.value)},updated(t,o){o.value!==t._dynamicPrevValue&&Ne(t,o.value)},unmounted(t){t._dynamicApp&&(t._dynamicApp.unmount(),delete t._dynamicApp),t._dynamicContainer&&(t._dynamicContainer.remove(),delete t._dynamicContainer),delete t._dynamicPrevValue}}},Tl={hbLibComp:{HbFileUploadModal:{cancel:"Cancel",clickUpload:"Click to upload",confirmImport:"Confirm import",dataImport:"Import data",downloadTemplate:"Import template download",dragFile:"Drag files here or",file:"document",fileUpload:"File import",maxSupport:"Most supported",onlySupport:"Only supports",placeSelect:"Please select",selectFile:"Please select the file to upload",format:"Supported formats"},HbLogModal:{close:"closure",operateContent:"Operation content",operateLogs:"Operation log",operateTime:"Operating time",operator:"operator"},hbFormItemFilterModal:{add:"Add to",cancel:"Cancel",confirm:"Sure",moreConditionSearch:"Multiple searches",mostMore:"Optional at most",mostMoreTip:"conditions, drag and drop to adjust the sorting",noData:"No data yet",notShowTip:"No conditions shown",titleTip:"Conditions shown",overTip1:"Currently has exceeded",overTip2:"Optional quantity, please delete the displayed conditions first",title:"Custom query conditions"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query plan",addScheme:"Add scenario",editScheme:"Edit plan"},hbLibListTableColumsSet:{allSelect:"Select all",cancelFix:"Unpin",confirm:"Sure",errorTip:"Cannot move column to fixed column position",fix:"fixed",popoverTitle:"Custom columns",title:"Table field settings",reset:"reduction"},hbListBtnsAct:{close:"Close query conditions",open:"Expand query conditions",reload:"Refresh data"},hbListPageAct:{close:"close",exitFullScreen:"Exit full screen",fullScreen:"full screen",open:"Expand",query:"Query",reset:"reset",selfDefine:"Filter query conditions"},hbListTable:{noData:"No data yet"},hbMultiSelectModal:{pleaseSelect:"Please select"},hbTableAct:{confirmContent:"Confirm content",more:"More",secendConfirm:"Second confirmation"},HbImportFile:{clickUp:"Click to upload",downloadTemplate:"Click to download template",pleaseUploadFiles:"Please upload files",uploadText:"Drag files here or",fileLabel:"document",importBtn:"File upload"},HbFuncCompCopy:{copy:"copy",copyFail:"Copy failed",copySuccess:"Copied successfully"},HbLibDetailBox:{back:"return"}}},Nl={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください",format:"サポートされている形式"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件",overTip1:"現在は超えています",overTip2:"オプションの数量です。最初に表示されている条件を削除してください",title:"カスタムクエリ条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン",addScheme:"シナリオの追加",editScheme:"計画の編集"},hbLibListTableColumsSet:{allSelect:"すべて選択",cancelFix:"固定を解除する",confirm:"もちろん",errorTip:"列を固定列位置に移動できません",fix:"修理済み",popoverTitle:"カスタム列",title:"テーブルフィールドの設定",reset:"削減"},hbListBtnsAct:{close:"クエリ条件を閉じる",open:"クエリ条件を拡張する",reload:"データを更新する"},hbListPageAct:{close:"近い",exitFullScreen:"全画面表示を終了する",fullScreen:"全画面表示",open:"拡大する",query:"クエリ",reset:"リセット",selfDefine:"フィルタークエリ条件"},hbListTable:{noData:"まだデータがありません"},hbMultiSelectModal:{pleaseSelect:"選択してください"},hbTableAct:{confirmContent:"内容を確認する",more:"もっと",secendConfirm:"2回目の確認"},HbImportFile:{clickUp:"クリックしてアップロード",downloadTemplate:"クリックしてテンプレートをダウンロード",pleaseUploadFiles:"ファイルをアップロードしてください",uploadText:"ファイルをここにドラッグするか、",fileLabel:"書類",importBtn:"ファイルのアップロード"},HbFuncCompCopy:{copy:"コピー",copyFail:"コピーに失敗しました",copySuccess:"正常にコピーされました"},HbLibDetailBox:{back:"戻る"}}},Fl={hbLibComp:{hbFormItemFilterModal:{titleTip:"已显示条件",mostMore:"最多可选",mostMoreTip:"个条件,拖拽可以调整排序",notShowTip:"未显示条件",add:"添加",noData:"暂无数据",cancel:"取消",confirm:"确定",moreConditionSearch:"多项搜索",title:"自定义查询条件",overTip1:"当前已经超过",overTip2:"个可选数量,请先删除已显示条件"},hbFormSelectFilter:{allSelect:"全选",close:"关闭"},hbListPageAct:{query:"查询",reset:"重置",selfDefine:"筛选查询条件",open:"展开",close:"收起",fullScreen:"全屏",exitFullScreen:"退出全屏"},hbListBtnsAct:{reload:"刷新数据",open:"展开查询条件",close:"收起查询条件"},hbTableAct:{more:"更多",secendConfirm:"二次确认",confirmContent:"确认内容"},hbMultiSelectModal:{pleaseSelect:"请选择"},hbListTable:{noData:"暂时没有数据"},hbLibListTableColumsSet:{popoverTitle:"自定义列",title:"表格字段设置",fix:"固定",cancelFix:"取消固定",allSelect:"全选",confirm:"确定",errorTip:"不能将列移动到固定列位置",reset:"还原"},hbLibListForm:{queryCase:"查询方案",addScheme:"添加方案",editScheme:"编辑方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载",format:"支持格式"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"},HbImportFile:{uploadText:"将文件拖到此处或",clickUp:"请上传文件",downloadTemplate:"点击下载模板",pleaseUploadFiles:"请上传文件",fileLabel:"文件",importBtn:"文件上传"},HbFuncCompCopy:{copySuccess:"复制成功",copyFail:"复制失败",copy:"复制"},HbLibDetailBox:{back:"返回"},HbLibLoading:{loadingTips:"加载中...如长时间加载请重试!"}}},Vl={hbLibComp:{HbFileUploadModal:{cancel:"Stornieren",clickUpload:"Klicken Sie zum Hochladen",confirmImport:"Bestätigen Sie den Import",dataImport:"Daten importieren",downloadTemplate:"Importvorlage herunterladen",dragFile:"Ziehen Sie Dateien hierher oder",file:"dokumentieren",fileUpload:"Dateiimport",maxSupport:"Am meisten unterstützt",onlySupport:"Unterstützt nur",placeSelect:"Bitte auswählen",selectFile:"Bitte wählen Sie die hochzuladende Datei aus",format:"Unterstützte Formate"},HbLogModal:{close:"Schließung",operateContent:"Inhalt der Operation",operateLogs:"Betriebsprotokoll",operateTime:"Betriebszeit",operator:"Operator"},hbFormItemFilterModal:{add:"Hinzufügen zu",cancel:"Stornieren",confirm:"Sicher",moreConditionSearch:"Mehrere Suchanfragen",mostMore:"Höchstens optional",mostMoreTip:"Bedingungen anpassen, per Drag-and-Drop die Sortierung anpassen",noData:"Noch keine Daten",notShowTip:"Keine Bedingungen angezeigt",titleTip:"Bedingungen angezeigt",overTip1:"Derzeit überschritten",overTip2:"Optionale Menge, bitte löschen Sie zuerst die angezeigten Konditionen",title:"Benutzerdefinierte Abfragebedingungen"},hbFormSelectFilter:{allSelect:"Alles auswählen",close:"Schließung"},hbLibListForm:{queryCase:"Abfrageplan",addScheme:"Szenario hinzufügen",editScheme:"Plan bearbeiten"},hbLibListTableColumsSet:{allSelect:"Alles auswählen",cancelFix:"Lösen",confirm:"Sicher",errorTip:"Die Spalte kann nicht in eine feste Spaltenposition verschoben werden",fix:"behoben",popoverTitle:"Benutzerdefinierte Spalten",title:"Tabellenfeldeinstellungen",reset:"Reduktion"},hbListBtnsAct:{close:"Abfragebedingungen schließen",open:"Abfragebedingungen erweitern",reload:"Daten aktualisieren"},hbListPageAct:{close:"schließen",exitFullScreen:"Verlassen Sie den Vollbildmodus",fullScreen:"Vollbild",open:"Expandieren",query:"Abfrage",reset:"zurücksetzen",selfDefine:"Abfragebedingungen filtern"},hbListTable:{noData:"Noch keine Daten"},hbMultiSelectModal:{pleaseSelect:"Bitte auswählen"},hbTableAct:{confirmContent:"Inhalt bestätigen",more:"Mehr",secendConfirm:"Zweite Bestätigung"},HbImportFile:{clickUp:"Klicken Sie zum Hochladen",downloadTemplate:"Klicken Sie hier, um die Vorlage herunterzuladen",pleaseUploadFiles:"Bitte laden Sie Dateien hoch",uploadText:"Ziehen Sie Dateien hierher oder",fileLabel:"dokumentieren",importBtn:"Datei-Upload"},HbFuncCompCopy:{copy:"Kopie",copyFail:"Der Kopiervorgang ist fehlgeschlagen",copySuccess:"Erfolgreich kopiert"},HbLibDetailBox:{back:"zurückkehren"}}};var ie={exports:{}},El=ie.exports,Fe;function Hl(){return Fe||(Fe=1,(function(t,o){(function(l,i){t.exports=i(ne)})(El,(function(l){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var c=i(l),d={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r,m){return m==="W"?r+"周":r+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(r,m){var n=100*r+m;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return c.default.locale(d,null,!0),d}))})(ie)),ie.exports}Hl(),ne.locale("zh-cn");const $l={en_US:Tl,ja_JP:Nl,zh_CN:Fl,de_DE:Vl},Il=function(t,o={}){t.provide("globalCompConfig",o||{}),Object.keys(we).forEach(i=>{t.use(we[i])}),Object.entries(Bl).forEach(([i,c])=>{t.directive(i,c)})};R.install=Il,R.locales=$l,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(R,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vuedraggable"),require("ant-design-vue"),require("vue-router"),require("vue-i18n"),require("lodash"),require("@ant-design/icons-vue"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","ant-design-vue","vue-router","vue-i18n","lodash","@ant-design/icons-vue","@vueuse/core","dayjs"],e):(R=typeof globalThis<"u"?globalThis:R||self,e(R.HbComponentLib={},R.Vue,R.draggable,R.antDesignVue,R.vueRouter,R.vueI18n,R.lodash,R.iconsVue,R.core,R.dayjs))})(this,(function(R,e,le,F,ce,Y,Z,W,X,ne){"use strict";const de=(t="")=>{const o=`hb-${t}`;return Ee(o)},v=(t,o,l,i)=>(o&&(t+=`-${o}`),l&&(t+=`__${l}`),i&&(t+=`--${i}`),t),Ee=t=>({b:o=>o?v(t,o,"",""):v(t,"","",""),e:o=>o?v(t,"",o,""):"",m:o=>v(t,"","",o),be:(o,l)=>v(t,o,l,""),em:(o,l)=>v(t,"",o,l),bem:(o,l,i)=>v(t,o,l,i),is:(o,l)=>l?`is-${o}`:""}),He=["onMouseenter","onMouseleave"],$e=["onClick"],Ie=e.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:{list:{default:()=>[]},afterChange:{type:Function,default:()=>()=>{}},title:{},showNumber:{},saveKey:{default:""}},emits:["confirm"],setup(t,{expose:o,emit:l}){const i=e.inject("globalCompConfig",{}),c=Y.useI18n().t,d=Y.useI18n().messages.value.en_US,r=Y.useI18n().messages.value.ja_JP,m=Y.useI18n().messages.value.zh_CN,n=t,a=e.computed(()=>n.showNumber||i.HbLibFormItemFilterModal?.defaultShowCount||40),h=e.computed(()=>n.title||c("hbLibComp.hbFormItemFilterModal.title")),C=l,p=de("sfcm"),T=ce.useRoute(),N=e.reactive({lan:window.localStorage.getItem("lan")}),V=e.ref(!1),k=e.ref(600);let g=[];const _=e.ref([]),S=e.ref([]),L=e.computed(()=>_.value.every(b=>b.isLinked||b.isFixed)),u=b=>({...b,label:B(b)||`${H(b)||""} (${c("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,key:b.key,isFixed:b?.isFixed||!1,isLinked:b?.isLinked||!1,labelLanguage:b?.labelLanguage||void 0}),y=b=>{const $=b.draggedContext.element,x=b.relatedContext.index;if($.isLinked||$.isFixed)return!1;const M=_.value.map((U,J)=>({item:U,index:J})).filter(({item:U})=>U.isLinked).map(({index:U})=>U);if(M.length===0)return!0;for(let U=0;U<M.length-1;U++){const J=M[U],te=M[U+1];if(x>J&&x<te)return!1}return!0},s=e.computed(()=>f()+"_"+n.saveKey),f=()=>{const b=localStorage.getItem("pro__Login_Userinfo");let $="anonymous";if(b)try{$=JSON.parse(b).value.jobNumber||"anonymous"}catch(M){console.warn("解析用户信息失败:",M)}let x=T?.path;return`searchFormConfig_${$}_${x}`},B=b=>({ja_JP:()=>Z.get(r,b.labelLanguage||""),en_US:()=>Z.get(d,b.labelLanguage||""),zh_CN:()=>Z.get(m,b.labelLanguage||"")})[N.lan]?.()||b.label,H=b=>({ja_JP:()=>Z.get(r,b.subLabelLanguage||""),en_US:()=>Z.get(d,b.subLabelLanguage||""),zh_CN:()=>Z.get(m,b.subLabelLanguage||"")})[N.lan]?.()||b.subLabel,I=b=>{try{const $=localStorage.getItem(s.value);if($){const x=JSON.parse($);if(x.originalList&&Array.isArray(x.originalList)){g=JSON.parse(JSON.stringify(x.originalList));const M=g.filter(A=>A?.isFixed),U=g.filter(A=>A?.isLinked),J=x.showList.filter(A=>!A.isFixed&&!A.isLinked),te=a.value&&a.value>0?Math.max(0,a.value-M.length-U.length):J.length,se=M.map(A=>({...u(A)})),be=U.map(A=>({...u(A)})),ge=J.slice(0,te).map(A=>({...u(A)}));_.value=[...se,...be,...ge];const ye=_.value.map(A=>A.key),j=g.map(A=>A.key).filter(A=>!ye.includes(A));return S.value=g.filter(A=>j.includes(A.key)).map(A=>({...u(A),active:!1})),!0}}}catch($){console.warn("加载保存的搜索配置失败:",$)}return!1},q=()=>{try{const b={originalList:g,showList:_.value.map($=>({...$,key:$.key,label:$.label,isFixed:$.isFixed,isLinked:$.isLinked,labelLanguage:$?.labelLanguage||void 0}))};localStorage.setItem(s.value,JSON.stringify(b))}catch(b){console.warn("保存搜索配置失败:",b)}},w=e.computed(()=>{const b=_.value.filter(x=>!x.isFixed&&!x.isLinked).length,$=_.value.filter(x=>x.isFixed||x.isLinked).length;return b>=a.value-$});e.watch(()=>n.list,b=>{let $=JSON.stringify(_.value)!==JSON.stringify(b);if(!$)return;const x=localStorage.getItem(s.value),M=JSON.parse(x||"{}");if(M&&M?.originalList&&Array.isArray(M.originalList))I(),C("confirm",_.value);else if($){g=JSON.parse(JSON.stringify(b));const U=b.filter(j=>j?.isFixed),J=b.filter(j=>j?.isLinked),te=b.filter(j=>!j?.isFixed&&!j?.isLinked),se=a.value&&a.value>0?Math.max(0,a.value-U.length-J.length):te.length,be=U.map(j=>u(j)),ge=J.map(j=>u(j)),ye=te.slice(0,se).map(j=>u(j));_.value=[...be,...ge,...ye];const Ve=te.slice(se).map(j=>({...u(j),active:!1}));S.value=Ve,C("confirm",_.value)}},{immediate:!0});const E=b=>{const $=_.value.findIndex(x=>x.key===b.key);$!==-1&&(_.value.splice($,1),S.value.push({...b,active:!1}))},z=b=>{if(w.value){F.message.warning(`当前已经超过${c(a.value)}个可选数量,请先删除已显示条件`);return}const $=S.value.findIndex(x=>x.key===b.key);if($!==-1){const[x]=S.value.splice($,1);_.value.push({...x,active:!1})}},P=()=>{V.value=!1},K=()=>{V.value=!0},G=()=>{q(),C("confirm",_.value),P()},re=b=>{const $=S.value.findIndex(x=>x.key===b.key);$!==-1&&(S.value[$].active=!0)},he=b=>{const $=S.value.findIndex(x=>x.key===b.key);$!==-1&&(S.value[$].active=!1)};return o({toOpenModal:K}),e.onMounted(()=>{}),(b,$)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(p).b())},[e.createVNode(e.unref(F.Modal),{visible:V.value,"onUpdate:visible":$[1]||($[1]=x=>V.value=x),width:k.value,onCancel:P,onOk:G},{title:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("title"))},e.toDisplayString(h.value),3)]),footer:e.withCtx(()=>[e.createVNode(e.unref(F.Button),{onClick:P},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(F.Button),{type:"primary",onClick:G},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("section",{class:e.normalizeClass(e.unref(p).e("show"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(p).e("title__tip"))},e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(a.value)+e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("show__tag"))},[e.createVNode(e.unref(le),{modelValue:_.value,"onUpdate:modelValue":$[0]||($[0]=x=>_.value=x),"item-key":"key",tag:"div",disabled:L.value,move:y},{item:e.withCtx(({element:x})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(p).e("show__tag__item"),e.unref(p).is("fixed",x.isFixed),e.unref(p).is("linked",x.isLinked)])},[e.createTextVNode(e.toDisplayString(x.label)+" ",1),!x.isFixed&&!x.isLinked&&t.list.length>1?(e.openBlock(),e.createBlock(e.unref(W.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(p).e("show__tag__item-close")),onClick:M=>E(x)},null,8,["class","onClick"])):e.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),e.createElementVNode("section",{class:e.normalizeClass(e.unref(p).e("unshow"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(p).e("title__tip"))},e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("unshow__tag"))},[S.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(S.value,x=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(p).e("unshow__tag__item"),e.unref(p).is("fixed",x.isFixed||""),e.unref(p).is("linked",x.isLinked||"")]),key:x.key,onMouseenter:M=>re(x),onMouseleave:M=>he(x)},[e.createTextVNode(e.toDisplayString(x.label)+" ",1),x.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(p).e("unshow__tag__item-add")),onClick:M=>z(x)},e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.add")),11,$e)):e.createCommentVNode("",!0)],42,He))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(p).e("unshow__tag__empty"))},e.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),D=(t,o)=>{const l=t.__vccOpts||t;for(const[i,c]of o)l[i]=c;return l},Me=D(Ie,[["__scopeId","data-v-93f23c9d"]]),O=t=>(t.install=o=>{o.component(t.name||"AnonymousComponent",t)},t),De=O(Me),Ae={key:0,class:"form-footer"},Oe=O(D(e.defineComponent({name:"HbLibListForm",__name:"HbListForm",props:{items:{default:()=>[]},formData:{},layoutConfig:{default:()=>({row:{gutter:20},col:{xs:24,sm:12,md:8,lg:6,xl:6}})},saveKey:{},needFooter:{type:Boolean},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},needSearchCase:{type:Boolean,default:!1},showNumber:{},searchList:{},calTableHeight:{type:Function,default:()=>()=>{}}},emits:["handleSearch","handleReset","handleSfcmConfirm","handleMenuClick"],setup(t,{expose:o,emit:l}){const i=e.inject("globalCompConfig",{}),c=l,d=e.inject("HB_LIST_PAGE_CONTAINER"),r=e.computed(()=>n.searchList||[]),m=de("form"),n=t,a=e.computed(()=>n.showNumber||i.HbLibFormItemFilterModal?.defaultShowCount||40),h=e.ref("show"),C=e.computed(()=>n.needFooter||i.HbLibListForm?.needFooter),p=e.computed(()=>[...n.items]),T=w=>w!==void 0,N=w=>typeof w=="function",V=w=>T(w.condition)?N(w.condition)?w.condition():w.condition:!0,k=e.computed(()=>[...n.items].map(w=>({...w,condition:V(w),label:w.label?.includes("多项搜索")?"":w.label})));console.log(k.value);const g=e.computed(()=>n.saveKey),_=e.ref(),S=()=>{c("handleSearch")},L=()=>{c("handleReset")},u=e.ref(),y=()=>{u.value&&u.value.toOpenModal()},s=w=>{c("handleMenuClick",w)},f=w=>{c("handleSfcmConfirm",w)};e.watch(()=>n.isFormExpanded,w=>{if(w){console.log(w);const E=document.querySelector("#subpackage_container");E instanceof HTMLElement&&(E.style.overflow="hidden",setTimeout(()=>{E.style.overflow="auto"},500))}});const B=w=>{const E=w;E.style.height="",E.offsetHeight},H=w=>{const E=w;E.style.height="",E.style.overflow="",e.nextTick(()=>{d.calTableHeight&&d.calTableHeight()})},I=w=>{const E=w,z=E.querySelector(".hb-lib-form--container");if(z){const P=z.offsetHeight;E.style.height=P+"px",E.style.overflow="hidden",E.offsetHeight,requestAnimationFrame(()=>{E.style.height="0"})}},q=()=>{e.nextTick(()=>{d.calTableHeight&&d.calTableHeight()})};return o({formRef:_,SelectOption:F.SelectOption,Form:F.Form,FormItem:F.FormItem,Row:F.Row,Col:F.Col,Input:F.Input,Select:F.Select,CheckboxGroup:F.CheckboxGroup,Checkbox:F.Checkbox,DatePicker:F.DatePicker,InputNumber:F.InputNumber,RadioGroup:F.RadioGroup,Radio:F.Radio,Switch:F.Switch,Button:F.Button,Tooltip:F.Tooltip}),(w,E)=>{const z=e.resolveComponent("a-button"),P=e.resolveComponent("a-tooltip"),K=e.resolveComponent("a-menu-item"),G=e.resolveComponent("a-menu"),re=e.resolveComponent("a-dropdown"),he=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:B,onAfterEnter:H,onLeave:I,onAfterLeave:q},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(m).b(),"hb-lib-list-page-form-box","hb-form-item-ui",C.value?"isNeedFooterCss":""])},[e.createVNode(e.unref(F.Form),e.mergeProps(w.$attrs,{model:t.formData,ref_key:"formRef",ref:_,class:["hb-lib-form--container",h.value=="show"?"":"hide"]}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(b,$)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[b.condition?(e.openBlock(),e.createBlock(e.unref(F.FormItem),e.mergeProps({key:0,ref_for:!0},b,{name:b.key,class:{"hb-lib-form-item-border--unneed":b.isUnNeedBorder,"hb_lib_form_item--needShowAll":b.showAll}}),e.createSlots({default:e.withCtx(()=>[b.type==="slot"?e.renderSlot(w.$slots,b.key,{key:0,formData:t.formData,item:b},void 0,!0):e.createCommentVNode("",!0),b.type==="mixin"?e.renderSlot(w.$slots,b.key,{key:1,formData:t.formData,item:b},void 0,!0):e.createCommentVNode("",!0),b.type==="input"?(e.openBlock(),e.createBlock(e.unref(F.Input),e.mergeProps({key:2,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="select"?(e.openBlock(),e.createBlock(e.unref(F.Select),e.mergeProps({key:3,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.options,(x,M)=>(e.openBlock(),e.createBlock(e.unref(F.SelectOption),{key:M,value:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(F.CheckboxGroup),e.mergeProps({key:4,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.options,(x,M)=>(e.openBlock(),e.createBlock(e.unref(F.Checkbox),{key:M,value:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(F.DatePicker),e.mergeProps({key:5,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(F.InputNumber),e.mergeProps({key:6,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="radio"?(e.openBlock(),e.createBlock(e.unref(F.RadioGroup),e.mergeProps({key:7,value:t.formData[b.key],"onUpdate:value":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.options,(x,M)=>(e.openBlock(),e.createBlock(e.unref(F.Radio),{key:M,value:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),b.type==="switch"?(e.openBlock(),e.createBlock(e.unref(F.Switch),e.mergeProps({key:8,checked:t.formData[b.key],"onUpdate:checked":x=>t.formData[b.key]=x},{ref_for:!0},b.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[b.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.label)+" ",1),e.createVNode(e.unref(F.Tooltip),{title:b.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(W.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"])):e.createCommentVNode("",!0)],64))),128)),C.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("section",Ae,[e.createVNode(z,{type:"primary",onClick:S,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(W.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(w.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(z,{type:"link",onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.needFilter?(e.openBlock(),e.createBlock(P,{key:0,title:w.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:y},[...E[0]||(E[0]=[e.createElementVNode("svg",{t:"1757915025410",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"16346",width:"200",height:"200"},[e.createElementVNode("path",{d:"M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",fill:"#ff5000","p-id":"16347"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"formBtns",{},()=>[t.needSearchCase?(e.openBlock(),e.createBlock(re,{key:0},{overlay:e.withCtx(()=>[e.createVNode(G,{onClick:s},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,b=>(e.openBlock(),e.createBlock(K,{key:b.id},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.title),1)]),_:2},1024))),128)),e.createVNode(K,{key:"add"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbLibListForm.addScheme")),1)]),_:1}),e.createVNode(K,{key:"edit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbLibListForm.editScheme")),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(P,{title:w.$t("hbLibComp.hbLibListForm.queryCase")},{default:e.withCtx(()=>[...E[1]||(E[1]=[e.createElementVNode("span",{style:{width:"18px",height:"18px",cursor:"pointer"}},[e.createElementVNode("svg",{t:"1765936014161",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4751"},[e.createElementVNode("path",{d:"M729.6 1020.16H353.28a32 32 0 0 1-32-32v-295.68H52.48a32 32 0 0 1-32-32V155.52a32 32 0 0 1 32-32h215.68a32 32 0 0 1 0 64H84.48v440.96h268.8a32 32 0 0 1 32 32v295.68h312.32V609.28a32 32 0 1 1 64 0v378.88a32 32 0 0 1-32 32z",fill:"#ff5000","p-id":"4752"}),e.createElementVNode("path",{d:"M353.28 1020.16a32 32 0 0 1-23.68-10.24L42.24 695.04a32 32 0 1 1 47.36-43.52l288 314.88a32 32 0 0 1-23.68 53.76zM353.28 494.72H171.52a32 32 0 0 1 0-64h181.76a32 32 0 0 1 0 64zM625.92 522.24a259.2 259.2 0 0 1-183.04-442.88A259.2 259.2 0 1 1 809.6 448a256 256 0 0 1-183.68 74.24z m0-455.04a195.2 195.2 0 0 0-138.24 334.08 200.32 200.32 0 0 0 276.48 0 195.2 195.2 0 0 0-138.24-334.08z",fill:"#ff5000","p-id":"4753"}),e.createElementVNode("path",{d:"M880.64 549.76a32 32 0 0 1-22.4-9.6L771.84 454.4a32 32 0 0 1 45.44-45.44l85.76 85.76a32 32 0 0 1-22.4 54.4z",fill:"#ff5000","p-id":"4754"})])],-1)])]),_:1},8,["title"])]),_:1})):e.createCommentVNode("",!0)],!0)]))]),_:3},16,["model","class"]),C.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(m).e("footer"),"form-footer"])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(m).e("footer__left"))},[e.renderSlot(w.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(m).e("footer__right"))},[h.value=="show"?e.renderSlot(w.$slots,"form-footer-right",{key:0,formRef:_.value},()=>[e.createVNode(z,{type:"primary",onClick:S,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(W.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(w.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(z,{type:"link",onClick:L,class:"hb_list_page_button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.needFilter?(e.openBlock(),e.createBlock(P,{key:0,title:w.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:y},[...E[2]||(E[2]=[e.createElementVNode("svg",{t:"1757915025410",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"16346",width:"200",height:"200"},[e.createElementVNode("path",{d:"M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",fill:"#ff5000","p-id":"16347"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"formBtns",{},()=>[t.needSearchCase?(e.openBlock(),e.createBlock(re,{key:0},{overlay:e.withCtx(()=>[e.createVNode(G,{onClick:s},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,b=>(e.openBlock(),e.createBlock(K,{key:b.id},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.title),1)]),_:2},1024))),128)),e.createVNode(K,{key:"add"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbLibListForm.addScheme")),1)]),_:1}),e.createVNode(K,{key:"edit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbLibListForm.editScheme")),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(P,{title:w.$t("hbLibComp.hbLibListForm.queryCase")},{default:e.withCtx(()=>[...E[3]||(E[3]=[e.createElementVNode("span",{class:"hb-lib-form-svg",style:{width:"18px",height:"18px",cursor:"pointer"}},[e.createElementVNode("svg",{t:"1765936014161",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4751"},[e.createElementVNode("path",{d:"M729.6 1020.16H353.28a32 32 0 0 1-32-32v-295.68H52.48a32 32 0 0 1-32-32V155.52a32 32 0 0 1 32-32h215.68a32 32 0 0 1 0 64H84.48v440.96h268.8a32 32 0 0 1 32 32v295.68h312.32V609.28a32 32 0 1 1 64 0v378.88a32 32 0 0 1-32 32z",fill:"#ff5000","p-id":"4752"}),e.createElementVNode("path",{d:"M353.28 1020.16a32 32 0 0 1-23.68-10.24L42.24 695.04a32 32 0 1 1 47.36-43.52l288 314.88a32 32 0 0 1-23.68 53.76zM353.28 494.72H171.52a32 32 0 0 1 0-64h181.76a32 32 0 0 1 0 64zM625.92 522.24a259.2 259.2 0 0 1-183.04-442.88A259.2 259.2 0 1 1 809.6 448a256 256 0 0 1-183.68 74.24z m0-455.04a195.2 195.2 0 0 0-138.24 334.08 200.32 200.32 0 0 0 276.48 0 195.2 195.2 0 0 0-138.24-334.08z",fill:"#ff5000","p-id":"4753"}),e.createElementVNode("path",{d:"M880.64 549.76a32 32 0 0 1-22.4-9.6L771.84 454.4a32 32 0 0 1 45.44-45.44l85.76 85.76a32 32 0 0 1-22.4 54.4z",fill:"#ff5000","p-id":"4754"})])],-1)])]),_:1},8,["title"])]),_:1})):e.createCommentVNode("",!0)],!0)],!0):e.createCommentVNode("",!0)],2)],2)):e.createCommentVNode("",!0)],2),[[e.vShow,t.isFormExpanded]])]),_:3}),e.createVNode(he,{showNumber:a.value,list:p.value,ref_key:"HbSfCmRef",ref:u,onConfirm:f,saveKey:g.value},null,8,["showNumber","list","saveKey"])],64)}}}),[["__scopeId","data-v-8307bb07"]])),ze={class:"hb-lib-list-page-act-box"},Pe={class:"hb-lib-list-page-breadcrumb"},Re={class:"hb-lib-list-page-act"},Ue={key:0,t:"1757915338760",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"22885",width:"200",height:"200"},je={key:1,t:"1757915360496",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"23904",width:"200",height:"200"},We=O(D(e.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:{isShowFullScreen:{type:Boolean,default:!0},hideDomList:{}},setup(t){const o=e.inject("globalCompConfig",{}),l=t,{isFullscreen:i,toggle:c}=X.useFullscreen(document.body);e.watch(()=>i.value,n=>{let a=["#globalHead","#globalLeft","#globalNavFrame"];Array.isArray(l.hideDomList)&&l.hideDomList.length?a=[...l.hideDomList]:o.HbLibListPageAct?.hideDomList&&(a=[...o.HbLibListPageAct.hideDomList]);const h=new Map;setTimeout(n?()=>{if(a?.length)for(let C=0;C<a.length;C++){const p=document.querySelector(a[C]);p&&(h.set(a[C],p.style.display),p.style.display="none")}}:()=>{if(a?.length)for(let C=0;C<a.length;C++){const p=document.querySelector(a[C]);if(p){const T=h.get(a[C]);p.style.display=T||"",h.delete(a[C])}}},0)});const d=e.ref(""),r=()=>{const n=ce.useRoute();let a=localStorage.getItem(o.HbLibListPageAct?.breadCrumbListKey||"BreadCrumb")||"[]",h=n?.path;if(a!=="[]"){let C=JSON.parse(a).find(p=>p.value===h);C&&(d.value=C.label.replace(/-/g," / "))}};e.onMounted(()=>{r()});const m=n=>{n.keyCode===192&&c()};return e.onMounted(()=>{window.addEventListener("keydown",m)}),e.onUnmounted(()=>{window.removeEventListener("keydown",m)}),(n,a)=>{const h=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ze,[e.createElementVNode("aside",Pe,e.toDisplayString(d.value),1),e.createElementVNode("aside",Re,[e.createVNode(h,{title:e.unref(i)?`${n.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${n.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:a[0]||(a[0]=(...C)=>e.unref(c)&&e.unref(c)(...C))},[e.unref(i)?(e.openBlock(),e.createElementBlock("svg",je,[...a[2]||(a[2]=[e.createElementVNode("path",{d:"M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23905"},null,-1),e.createElementVNode("path",{d:"M896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333zM257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333zM343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23906"},null,-1),e.createElementVNode("path",{d:"M343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23907"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",Ue,[...a[1]||(a[1]=[e.createElementVNode("path",{d:"M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",fill:"#ff5000","p-id":"22886"},null,-1)])]))])]),_:1},8,["title"]),e.renderSlot(n.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-c7cd0710"]])),qe={class:"hb-lib-list-btns-box"},Ye={class:"hb-lib-list-btns-left"},Ke={class:"hb-lib-list-btns-right"},Ge=O(D(e.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:{needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},emits:["handleOpenOrClose","handleReload"],setup(t,{emit:o}){const l=o,i=e.ref(!0),c=()=>{i.value=!i.value,l("handleOpenOrClose",i.value)},d=()=>{l("handleReload")},r=m=>{};return e.onMounted(()=>{window.addEventListener("keydown",r)}),e.onUnmounted(()=>{window.removeEventListener("keydown",r)}),(m,n)=>{const a=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",qe,[e.createElementVNode("aside",Ye,[e.renderSlot(m.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Ke,[t.needReload?(e.openBlock(),e.createBlock(a,{key:0,title:m.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:d},[...n[0]||(n[0]=[e.createElementVNode("svg",{t:"1759041224819",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4202",width:"200",height:"200"},[e.createElementVNode("path",{d:"M958.681412 457.499032c-6.170072-50.632177-20.854483-99.563886-43.643361-145.434552-45.779694-92.144205-122.249797-166.333021-215.325711-208.898719-20.083724-9.18513-43.810309-0.349891-52.995439 19.734833-9.18413 20.082724-0.349891 43.810309 19.733833 52.996438 159.26323 72.834239 245.755201 249.640987 205.658732 420.410622-30.735395 130.876101-129.201624 233.321087-256.187941 270.333521l-0.262918-70.800875-196.843487 114.650172 197.690222 113.176632-0.275914-74.43274c75.398438-17.911403 144.809747-54.929834 202.084849-108.039237 65.597501-60.827991 111.122274-139.186504 131.651859-226.606186 12.170197-51.828803 15.10328-104.683286 8.715276-157.089909zM408.299406-0.001l0.271915 74.43374c-75.404436 17.911403-144.820744 54.931834-202.099843 108.046235-65.6005 60.83099-111.124274 139.191503-131.651859 226.616183-7.987504 34.034364-11.994252 68.507591-11.994252 103.010809 0 17.994377 1.090659 35.996751 3.271978 53.946142 6.152077 50.59119 20.803499 99.48891 43.545392 145.333583 45.678725 92.080225 122.012871 166.270041 214.936832 208.900718 20.071728 9.209122 43.810309 0.401874 53.018432-19.670852 9.210122-20.076726 0.400875-43.810309-19.671853-53.019432-158.963324-72.92821-245.278351-249.658982-205.24886-420.22368 30.732396-130.883099 129.201624-233.333083 256.195939-270.345517l0.259919 70.801874 196.850484-114.640174L408.299406-0.001z",fill:"#ff5000","p-id":"4203"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),t.needOpenOrClose?(e.openBlock(),e.createBlock(a,{key:1,title:i.value?`${m.$t("hbLibComp.hbListBtnsAct.close")}`:`${m.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:c},[i.value?(e.openBlock(),e.createBlock(e.unref(W.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(W.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(m.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-de62f20a"]])),Je=(t={})=>{const{formRef:o,offsetBottom:l=50,minHeight:i=300,timeOut:c=100}=t,d=e.ref(0);let r=null,m=null,n=null,a=null,h=null;const C=()=>{h&&clearTimeout(h),h=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const _=document.querySelector(".ant-table"),S=document.querySelector(".ant-pagination");if(_){const L=Math.floor(_.getBoundingClientRect().top),u=window.innerHeight,s=(S?S.offsetHeight+20:40)+l;let f=u-L-s;f<i&&(f=i),d.value=f}})})},100)},p=()=>{const _=document.querySelector(".ant-pagination");if(_){const S=new MutationObserver(()=>{C()});return S.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),S}return null},T=()=>{const _=document.querySelector(".hb-lib-list-page-form-box");_&&(r=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(L=>{L.style.display="none"}),C()}),r.observe(_))},N=()=>{const _=document.querySelector(".hb-lib-list-page-form-box");_&&(n=new MutationObserver(()=>{setTimeout(()=>{C()},c)}),n.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},V=()=>{a&&clearTimeout(a),a=setTimeout(()=>{C()},c)},k=()=>{window.addEventListener("resize",V),e.nextTick(()=>{T(),N(),m=p()})},g=()=>{window.removeEventListener("resize",V),r&&r.disconnect(),n&&n.disconnect(),m&&m.disconnect(),a&&clearTimeout(a),h&&clearTimeout(h)};return o&&e.watch(()=>o,()=>{setTimeout(()=>{C()},200)},{deep:!0}),e.onMounted(()=>{C(),k()}),e.onUnmounted(()=>{g()}),{tableHeight:d,calTableHeight:C}},Qe=O(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{},tabelData:{default:()=>[]},offsetBottom:{},minHeight:{},timeOut:{},offsetHeight:{},isUnFixTbHeight:{type:Boolean}},setup(t){const o=e.inject("globalCompConfig",{}),{isFullscreen:l}=X.useFullscreen(document.body),i=t,c=e.useTemplateRef("PageContainerRef"),d=e.computed(()=>i.offsetHeight||o.HbLibListPageContainer?.offsetHeight||110),r=e.computed(()=>i.offsetBottom||o.HbLibListPageContainer?.offsetBottom||20),m=e.computed(()=>i.minHeight||o.HbLibListPageContainer?.minHeight||300),n=e.computed(()=>i.timeOut||o.HbLibListPageContainer?.timeOut||100),a=e.computed(()=>i.isUnFixTbHeight||o.HbLibListPageContainer?.isUnFixTbHeight||!1);console.log(i.isUnFixTbHeight);const{calTableHeight:h,tableHeight:C}=Je({offsetBottom:r.value,minHeight:m.value,timeOut:n.value}),p=e.computed(()=>C.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:c,tableHeight:C,calTableHeight:h}),(T,N)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:c},[e.renderSlot(T.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle(a.value?null:{"--hb-list-table-height":e.unref(l)?p.value-d.value+"px":p.value-r.value+"px","--hb-list-ttable-height":t.tabelData.length?"":e.unref(l)?p.value-d.value+"px":p.value-r.value+"px"})},[e.renderSlot(T.$slots,"default")],4)],512))}})),Ze={style:{"font-weight":"500"}},Xe={key:0,class:"hb-lib-search-tag__description"},ve={class:"hb-lib-selector-dropdown"},et={class:"hb-lib-selector-search"},tt={class:"hb-lib-selector-list"},ot=["onClick"],lt={class:"hb-lib-option-content"},nt={class:"hb-lib-option-label"},at={key:0,class:"hb-lib-selector-empty"},it={key:1,class:"hb-lib-selector-footer"},rt={class:"hb-lib-footer-buttons"},st={key:2,class:"hb-lib-selector-footer"},ct={class:"hb-lib-footer-buttons"},dt=O(D(e.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:e.mergeModels({placeholder:{default:"点击选择"},searchPlaceholder:{default:"搜索选项"},width:{default:600},options:{default:()=>[]},multiple:{type:Boolean,default:!0},prefix:{default:""},value:{},remoteSearch:{type:Boolean,default:!1},searchValue:{default:""},maxTagCount:{default:2},tagTextLength:{default:30}},{value:{},valueModifiers:{}}),emits:e.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(t,{emit:o}){const l=t,i=o,c=e.useModel(t,"value"),d=e.ref(!1),r=e.ref(""),m=e.ref([]),n=e.ref(),a=e.computed(()=>{if(l.remoteSearch||!r.value)return l.options;const u=r.value.toLowerCase();return l.options.filter(y=>y.label.toLowerCase().includes(u)||y.description?.toLowerCase().includes(u))}),h=e.computed(()=>l.prefix?`${l.prefix.length*14+8}px`:"0px"),C=e.computed(()=>a.value.length===0?!1:a.value.every(u=>m.value.includes(u.value))),p=e.computed(()=>{if(a.value.length===0)return!1;const u=a.value.filter(y=>m.value.includes(y.value)).length;return u>0&&u<a.value.length});e.watch(()=>c.value,u=>{u?m.value=Array.isArray(u)?[...u]:[u]:m.value=[]},{immediate:!0}),e.watch(()=>l.searchValue,u=>{l.remoteSearch&&u!==void 0&&(r.value=u)},{immediate:!0});const T=u=>{u&&(d.value=u,N.value=[...m.value],r.value="",setTimeout(()=>{if(n.value){const y=n.value.input||n.value.$el?.querySelector("input");y&&y.focus()}},100))},N=e.ref([]),V=()=>{m.value=[...N.value],d.value=!1,i("cancel")},k=e.ref([]),g=()=>{const u=l.multiple?m.value:m.value[0]||"",y=l.options.filter(s=>m.value.includes(s.value));k.value=y,console.log(u,y),N.value=[...m.value],c.value=u,i("update:value",u),i("change",u,y),i("confirm",u,y),d.value=!1},_=X.useDebounceFn(u=>{const y=u!==void 0?u:r.value;l.remoteSearch&&(i("search",y),i("update:searchValue",y))},300),S=u=>{if(l.multiple){const y=new Set(m.value);y.has(u.value)?y.delete(u.value):y.add(u.value),m.value=Array.from(y)}else m.value=[u.value],g()},L=u=>{if(u.target.checked){const s=new Set(m.value);a.value.forEach(f=>{s.add(f.value)}),m.value=Array.from(s)}else{const s=new Set(a.value.map(f=>f.value));m.value=m.value.filter(f=>!s.has(f))}};return(u,y)=>{const s=e.resolveComponent("a-tag"),f=e.resolveComponent("a-input"),B=e.resolveComponent("a-checkbox"),H=e.resolveComponent("a-radio"),I=e.resolveComponent("a-button"),q=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":h.value}},u.$attrs),[e.createVNode(q,{value:c.value,"onUpdate:value":y[5]||(y[5]=w=>c.value=w),mode:t.multiple?"multiple":void 0,placeholder:t.placeholder,"show-search":!0,"filter-option":!1,open:d.value,allowClear:"",maxTagCount:t.maxTagCount,options:a.value,onDropdownVisibleChange:T,onSearch:e.unref(_),"max-tag-text-length":t.tagTextLength,class:e.normalizeClass({"has-prefix":t.prefix}),"data-prefix":t.prefix,style:{width:"100%"}},{tagRender:e.withCtx(({value:w,label:E,closable:z,option:P})=>[e.createVNode(s,{class:"hb-lib-search-tag",onClick:y[0]||(y[0]=()=>T(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Ze,e.toDisplayString(E),1),P?.description?(e.openBlock(),e.createElementBlock("span",Xe," ("+e.toDisplayString(P.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:w})=>[e.createElementVNode("div",ve,[e.createElementVNode("div",et,[e.createVNode(f,{ref_key:"searchInputRef",ref:n,class:"hb-lib-selector-search-input",value:r.value,"onUpdate:value":y[1]||(y[1]=E=>r.value=E),placeholder:"请输入关键词搜索","allow-clear":"",onInput:y[2]||(y[2]=E=>e.unref(_)(E.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(W.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,E=>(e.openBlock(),e.createElementBlock("div",{key:E.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:m.value.includes(E.value)}]),onClick:()=>S(E)},[t.multiple?(e.openBlock(),e.createBlock(B,{key:0,checked:m.value.includes(E.value),onChange:()=>S(E),onClick:y[3]||(y[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock(H,{key:1,checked:m.value.includes(E.value),onChange:()=>S(E),onClick:y[4]||(y[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",lt,[e.createElementVNode("div",nt,e.toDisplayString(E.label),1)])],10,ot))),128))]),a.value.length===0?(e.openBlock(),e.createElementBlock("div",at,e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),t.multiple?(e.openBlock(),e.createElementBlock("div",it,[e.createVNode(B,{checked:C.value,indeterminate:p.value,onChange:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",rt,[e.createVNode(I,{size:"small",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(I,{type:"primary",size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",st,[y[6]||(y[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",ct,[e.createVNode(I,{size:"small",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormSelectFilter.close")),1)]),_:1})])]))])]),_:1},8,["value","mode","placeholder","open","maxTagCount","options","onSearch","max-tag-text-length","class","data-prefix"])],16)}}}),[["__scopeId","data-v-87177371"]])),mt={class:"hb-lib-form-item-filter-modal-search"},pt={class:"hb-lib-form-item-filter-modal-buttons"},ft={key:0},ht=O(e.defineComponent({name:"HbLibMutilpleSelectModal",__name:"HbMutilpleSelectModal",props:{modelTitle:{default:"搜索弹窗"},modalWidth:{default:800},tableHeight:{default:500},tableColumn:{default:()=>[]},tableData:{default:()=>[]},tableKey:{default:"id"},labelKey:{default:"label"}},emits:["handleConfirm","handleCancel"],setup(t,{expose:o,emit:l}){const i=t,c=l,d=e.ref(!1),r=e.ref(""),m=e.ref(),n=e.ref(),a=e.ref([]),h=e.ref([]),C=e.ref(),p=e.reactive({searchText:"",searchedColumn:""}),T=e.computed(()=>i.tableData.map(s=>(s.id=s.id||Math.random(),s))),N=e.computed(()=>i.tableColumn.map(s=>(s.customFilterDropdown&&(s.onFilter=(f,B)=>B[s.dataIndex].toString().toLowerCase().includes(f.toLowerCase()),s.onFilterDropdownVisibleChange=f=>{f&&setTimeout(()=>{m.value?.focus()},100)}),{...s}))),V=()=>{let s="";h.value.forEach(f=>{s=s+f[i.labelKey]+","}),r.value=s.substring(0,s.length-1),d.value=!1,c("handleConfirm",h.value)},k=()=>{d.value=!1},g=()=>{d.value=!0,e.nextTick(()=>{const s=C.value?.$el?.querySelector(".ant-table-body");s&&(s.scrollTop=0)})},_=()=>{a.value=[],h.value=[]},S=()=>{r.value="",_()},L=(s,f,B)=>{f(),p.searchText=s[0],p.searchedColumn=B},u=(s,f)=>{s({confirm:!0}),p.searchText="",f()},y=(s,f)=>{a.value=s,h.value=f};return o({resetInputVal:S}),(s,f)=>{const B=e.resolveComponent("a-input"),H=e.resolveComponent("a-button"),I=e.resolveComponent("a-table"),q=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:n},[e.createVNode(B,{readonly:"",onClick:g,value:r.value,"onUpdate:value":f[0]||(f[0]=w=>r.value=w),placeholder:s.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(W.UnorderedListOutlined),{onClick:g})]),_:1},8,["value","placeholder"]),e.createVNode(q,{visible:d.value,"onUpdate:visible":f[1]||(f[1]=w=>d.value=w),title:t.modelTitle,width:t.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode(H,{onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(H,{onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(H,{type:"primary",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(I,{ref_key:"tableRef",ref:C,columns:N.value,dataSource:T.value,rowSelection:{selectedRowKeys:a.value,onChange:y},rowKey:w=>w[t.tableKey],scroll:{y:t.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:w,selectedKeys:E,confirm:z,clearFilters:P,column:K})=>[e.createElementVNode("div",mt,[e.createVNode(B,{ref_key:"searchInput",ref:m,placeholder:`请输入${K.title}`,value:E[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:G=>w(G.target.value?[G.target.value]:[]),onPressEnter:G=>L(E,z,K.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",pt,[e.createVNode(H,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:G=>u(P,z)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode(H,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:G=>L(E,z,K.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:w})=>[e.createVNode(e.unref(W.SearchOutlined),{style:e.normalizeStyle({color:w?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:w,column:E})=>[p.searchText&&p.searchedColumn===E.dataIndex?(e.openBlock(),e.createElementBlock("span",ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.toString().split(new RegExp(`(?<=${p.searchText})|(?=${p.searchText})`,"i")),(z,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[z.toLowerCase()===p.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:P,class:"highlight"},e.toDisplayString(z),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(z),1)],64))],64))),256))])):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),bt={class:"hb-lib-table-act-box"},gt=["onClick"],yt={href:"javascript:;",class:"hb-lib-table-main-action"},Ct=["onClick"],ut={href:"javascript:;",class:"hb-lib-table-more-action"},_t=["onClick"],kt={href:"javascript:;"},Lt=["onClick"],St={class:"hb-lib-table-confirm-modal-content"},xt=O(D(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{filterPermission:{type:Function},actions:{},record:{},buttonDisplaysQuantity:{}},setup(t,{expose:o}){const l=t,{t:i}=Y.useI18n(),c=e.ref(!1),d=e.ref(!1),r=e.ref(null),m=e.computed(()=>l.actions.filter(k=>k.condition!==void 0?k.condition:!0)),n=e.computed(()=>m.value.slice(0,l.buttonDisplaysQuantity)),a=e.computed(()=>h(m.value.slice(l.buttonDisplaysQuantity)));function h(k){if(l.filterPermission)return l.filterPermission(k);let g=[],_=[];return g=JSON.parse(sessionStorage.getItem("LOGIN_USER_BUTTON_AUTH")||"[]"),!Array.isArray(g)||k.length===0?(g=[],[]):(g=g.filter(S=>S.type!="2"),k.forEach(S=>{(!S.permissionsTag||g.findIndex(L=>L.action===S.permissionsTag)!==-1)&&_.push(S)}),_)}const C=k=>{k.handler&&k.handler(l.record)},p=k=>{r.value=k,c.value=!0},T=()=>{if(r.value){d.value=!0;try{C(r.value),d.value=!1,c.value=!1}catch{d.value=!1}}},N=()=>{c.value=!1,r.value=null},V=e.computed(()=>r.value?{title:r.value.confirmTitle,content:r.value.confirmContent||r.value.confirmTitle}:{title:i("hbLibComp.hbTableAct.secendConfirm"),content:i("hbLibComp.hbTableAct.confirmContent")});return o({ADropdown:F.Dropdown,AMenu:F.Menu,AMenuItem:F.MenuItem,APopconfirm:F.Popconfirm,AModal:F.Modal,DownOutlined:W.DownOutlined}),(k,g)=>{const _=e.resolveComponent("a-divider"),S=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(L,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u},[L.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[L.confirmType==="modal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:y=>p(L),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(L.label),1)],8,gt)),[[S,L.permissionsTag||null]]),a.value&&a.value.length>0||u!==n.value.length-1?(e.openBlock(),e.createBlock(_,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(F.Popconfirm),{title:L.confirmTitle,onConfirm:y=>C(L)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",yt,[e.createTextVNode(e.toDisplayString(L.label),1)])),[[S,L.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]),a.value&&a.value.length>0||u!==n.value.length-1?(e.openBlock(),e.createBlock(_,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64)):L.slot?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.renderSlot(k.$slots,L.slot,{item:L},void 0,!0),a.value&&a.value.length>0||u!==n.value.length-1?(e.openBlock(),e.createBlock(_,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:y=>C(L),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(L.label),1)],8,Ct)),[[S,L.permissionsTag||null]]),a.value&&a.value.length>0||u!==n.value.length-1?e.withDirectives((e.openBlock(),e.createBlock(_,{key:0,type:"vertical"},null,512)),[[S,L.permissionsTag||null]]):e.createCommentVNode("",!0)],64))],64))),128)),a.value&&a.value.length>0?(e.openBlock(),e.createBlock(e.unref(F.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(F.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(L,u)=>e.withDirectives((e.openBlock(),e.createBlock(e.unref(F.MenuItem),{key:u},{default:e.withCtx(()=>[L.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[L.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:y=>p(L)},[e.createTextVNode(e.toDisplayString(L.label),1)],8,_t)),[[S,L.permissionsTag||null]]):e.withDirectives((e.openBlock(),e.createBlock(e.unref(F.Popconfirm),{key:1,title:L.confirmTitle,onConfirm:y=>C(L)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",kt,[e.createTextVNode(e.toDisplayString(L.label),1)])),[[S,L.permissionsTag||null]])]),_:2},1032,["title","onConfirm"])),[[S,L.permissionsTag||null]])],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:y=>C(L)},[e.createTextVNode(e.toDisplayString(L.label),1)],8,Lt)),[[S,L.permissionsTag||null]])]),_:2},1024)),[[S,L.permissionsTag||null]])),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",ut,[e.createTextVNode(e.toDisplayString(k.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(W.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(F.Modal),{visible:c.value,title:V.value.title,"confirm-loading":d.value,onOk:T,onCancel:N},{default:e.withCtx(()=>[e.createElementVNode("p",St,e.toDisplayString(V.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-25fd055e"]])),Ce=t=>({tableWidth:e.computed(()=>{const l=Array.isArray(t)?t:t.value;return!l||l.length===0?0:l.map(i=>i.width&&Number(i.width.toString().replace("px",""))||0).reduce((i,c)=>i+c,0)})});var wt=typeof global=="object"&&global&&global.Object===Object&&global,Bt=typeof self=="object"&&self&&self.Object===Object&&self,ue=wt||Bt||Function("return this")(),ae=ue.Symbol,_e=Object.prototype,Tt=_e.hasOwnProperty,Nt=_e.toString,oe=ae?ae.toStringTag:void 0;function Ft(t){var o=Tt.call(t,oe),l=t[oe];try{t[oe]=void 0;var i=!0}catch{}var c=Nt.call(t);return i&&(o?t[oe]=l:delete t[oe]),c}var Vt=Object.prototype,Et=Vt.toString;function Ht(t){return Et.call(t)}var $t="[object Null]",It="[object Undefined]",ke=ae?ae.toStringTag:void 0;function Mt(t){return t==null?t===void 0?It:$t:ke&&ke in Object(t)?Ft(t):Ht(t)}function Dt(t){return t!=null&&typeof t=="object"}var At="[object Symbol]";function Ot(t){return typeof t=="symbol"||Dt(t)&&Mt(t)==At}var zt=/\s/;function Pt(t){for(var o=t.length;o--&&zt.test(t.charAt(o)););return o}var Rt=/^\s+/;function Ut(t){return t&&t.slice(0,Pt(t)+1).replace(Rt,"")}function me(t){var o=typeof t;return t!=null&&(o=="object"||o=="function")}var Le=NaN,jt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,qt=/^0o[0-7]+$/i,Yt=parseInt;function Se(t){if(typeof t=="number")return t;if(Ot(t))return Le;if(me(t)){var o=typeof t.valueOf=="function"?t.valueOf():t;t=me(o)?o+"":o}if(typeof t!="string")return t===0?t:+t;t=Ut(t);var l=Wt.test(t);return l||qt.test(t)?Yt(t.slice(2),l?2:8):jt.test(t)?Le:+t}var pe=function(){return ue.Date.now()},Kt="Expected a function",Gt=Math.max,Jt=Math.min;function Qt(t,o,l){var i,c,d,r,m,n,a=0,h=!1,C=!1,p=!0;if(typeof t!="function")throw new TypeError(Kt);o=Se(o)||0,me(l)&&(h=!!l.leading,C="maxWait"in l,d=C?Gt(Se(l.maxWait)||0,o):d,p="trailing"in l?!!l.trailing:p);function T(y){var s=i,f=c;return i=c=void 0,a=y,r=t.apply(f,s),r}function N(y){return a=y,m=setTimeout(g,o),h?T(y):r}function V(y){var s=y-n,f=y-a,B=o-s;return C?Jt(B,d-f):B}function k(y){var s=y-n,f=y-a;return n===void 0||s>=o||s<0||C&&f>=d}function g(){var y=pe();if(k(y))return _(y);m=setTimeout(g,V(y))}function _(y){return m=void 0,p&&i?T(y):(i=c=void 0,r)}function S(){m!==void 0&&clearTimeout(m),a=0,i=n=c=m=void 0}function L(){return m===void 0?r:_(pe())}function u(){var y=pe(),s=k(y);if(i=arguments,c=this,n=y,s){if(m===void 0)return N(n);if(C)return clearTimeout(m),m=setTimeout(g,o),T(n)}return m===void 0&&(m=setTimeout(g,o)),r}return u.cancel=S,u.flush=L,u}const Zt={key:0,class:"hb-lib-list-table-act"},Xt={class:"empty-container"},vt={key:1},eo={key:2},to=O(D(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},rowHeight:{},defaultWidth:{},tooltipPlacement:{default:()=>"topLeft"},isFixTbHeight:{type:Boolean}},emits:["change","resizeCol"],setup(t,{emit:o}){const l=e.inject("globalCompConfig",{}),i=o,{t:c}=Y.useI18n(),d=t,r=e.ref([]),m=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:n}=Ce(r),a=e.ref(n.value),h=e.computed(()=>d.isUnFixTbHeight||l.HbLibListPageContainer?.isUnFixTbHeight||!1);e.watch(()=>d.columns,g=>{const _=g.filter(L=>L!=null&&L.checked);r.value=_.map(L=>{let u={...L,title:L.title||L.label,align:L.align||l.listTable?.align||"center"};u.ellipsis&&!u.needTooltip&&(u.needTooltip=!0);let y=d.defaultWidth||l.listTable?.defaultColWidth||150;if(!u.width)u.width=y;else if(typeof u.width=="string"){const s=parseInt(u.width,10);u.width=isNaN(s)?y:s}return u.resizable===void 0&&(u.resizable=!0),u});const{tableWidth:S}=Ce(r);a.value=S.value},{immediate:!0,deep:!0});const C=Qt(()=>{i("resizeCol",r)},l.listTable?.colSaveTimeOut||800),p=(g,_)=>{if(_){const S=typeof g=="string"?parseInt(g,10):g;_.width=isNaN(S)?l.listTable?.defaultColWidth||150:S,e.nextTick(()=>{C()})}},T=(g,_,S)=>{g?.current&&i("change",g,_,S)},N=(g,_="YYYY-MM-DD HH:mm:ss")=>g?ne(g).format(_):"",V=(g,_)=>g&&_[g]||"",k=(g,_=l.listTable?.ellipsisNumber||20)=>g?g.length>_?`${g.substring(0,_)}...`:g:"";return(g,_)=>{const S=e.resolveComponent("a-empty"),L=e.resolveComponent("a-tooltip"),u=e.resolveComponent("HbLibCopy"),y=e.resolveComponent("a-tag"),s=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":d.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":t.rowHeight&&t.rowHeight+"px"||""})},[g.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",Zt,[e.renderSlot(g.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(g.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(s,e.mergeProps(g.$attrs,{bordered:"",columns:r.value,tableLayout:"fixed",onResizeColumn:p,onChange:T,scroll:h.value?{x:a.value}:{x:a.value,y:e.unref(m).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",Xt,[e.createVNode(S,{description:e.unref(c)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[g.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:f})=>[e.renderSlot(g.$slots,"headerCell",{column:f,title:f.title},()=>[e.createTextVNode(e.toDisplayString(f.title),1)],!0)]),key:"0"}:void 0,g.$slots.bodyCell?{name:"bodyCell",fn:e.withCtx(({column:f,record:B,index:H,text:I})=>[e.renderSlot(g.$slots,"bodyCell",{column:f,record:B,index:H,text:I},void 0,!0),f&&f.needTooltip&&!f.needCopy?(e.openBlock(),e.createBlock(L,{key:0,placement:t.tooltipPlacement},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(B[f.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(B[f.dataIndex]),1)]),_:2},1032,["placement"])):f&&f.needCopy&&!f.needTooltip?(e.openBlock(),e.createElementBlock("div",vt,[e.createTextVNode(e.toDisplayString(B[f.dataIndex])+" ",1),e.createVNode(u,{"cp-text":B[f.dataIndex],style:{position:"relative"}},null,8,["cp-text"])])):e.createCommentVNode("",!0),f&&f.needTooltip&&f.needCopy?(e.openBlock(),e.createElementBlock("div",eo,[e.createVNode(L,{placement:t.tooltipPlacement},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(B[f.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(k(B[f.dataIndex],f.strLen)),1)]),_:2},1032,["placement"]),e.createVNode(u,{"cp-text":B[f.dataIndex],style:{position:"relative"}},null,8,["cp-text"])])):f&&f.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(N(B[f.dataIndex],f.format)),1)],64)):f&&f.tags?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[V(B[f.dataIndex],f.tags)?(e.openBlock(),e.createBlock(y,{key:0,color:V(B[f.dataIndex],f.tags)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(B[f.dataIndex]),1)]),_:2},1032,["color"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),key:"1"}:void 0,g.$slots.expandedRowRender?{name:"expandedRowRender",fn:e.withCtx(({record:f,index:B})=>[e.renderSlot(g.$slots,"expandedRowRender",{record:f,index:B},void 0,!0)]),key:"2"}:void 0,g.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:f})=>[e.renderSlot(g.$slots,"customFilterDropdown",{column:f},void 0,!0)]),key:"3"}:void 0,g.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:f})=>[e.renderSlot(g.$slots,"customFilterIcon",{column:f},void 0,!0)]),key:"4"}:void 0,g.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({expanded:f,record:B,index:H})=>[e.renderSlot(g.$slots,"expandIcon",{expanded:f,record:B,index:H},void 0,!0)]),key:"5"}:void 0,g.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(g.$slots,"footer",{},void 0,!0)]),key:"6"}:void 0,g.$slots.summary?{name:"summary",fn:e.withCtx(()=>[e.renderSlot(g.$slots,"summary",{},void 0,!0)]),key:"7"}:void 0,g.$slots.title?{name:"title",fn:e.withCtx(()=>[e.renderSlot(g.$slots,"title",{},void 0,!0)]),key:"8"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-4a8b9aaa"]])),oo={class:"hb-lib-table-setting-box"},lo={key:0,class:"hb-lib-table-drag-item"},no={key:0,class:"hb-lib-table-drag-item-act"},ao=["onClick"],io=["onClick"],ro={class:"hb-lib-table-set-btn-group"},so={class:"select-all-container",style:{"margin-right":"10px"}},co=O(D(e.defineComponent({name:"HbLibTableColumnSet",__name:"HbTableColumnSet",props:{hasClean:{type:Boolean,default:!0},index:{type:Number,default:0},selectedRowKeysLength:{type:Number,default:0},change:{type:Function,default:()=>{}},tableColumns:{type:Array,default:[]},localColumns:{type:Array,default:[]}},emits:["on-get-columns"],setup(t,{emit:o}){const l=o,{t:i}=Y.useI18n(),c=t,d=e.ref([]),r=e.computed(()=>n.value.filter(y=>y.checked));e.ref([]);const m=e.ref(!1),n=e.ref([]),a=e.ref(null),h=e.computed(()=>r.value.length>0&&r.value.length===d.value.length),C=e.computed(()=>r.value.length>0&&r.value.length<d.value.length),p=y=>{a.value=y.oldIndex},T=y=>{const s=y.newIndex;if(d.value.some(B=>B.fixed==="left"||B.fixed==="right"||B.fixed===!0)){const B=d.value.filter(I=>I.fixed==="left").length,H=d.value.length-d.value.filter(I=>I.fixed==="right").length;if((B>0&&s<B||H<d.value.length&&s>=H)&&(F.message.warning(i("hbLibComp.hbLibListTableColumsSet.errorTip")),a.value!==null)){const I=n.value.splice(s,1)[0];n.value.splice(a.value,0,I)}}a.value=null},N=y=>{y.target.checked?n.value.forEach(f=>f.checked=!0):n.value.forEach(f=>{f.dataIndex!=="action"&&f.dataIndex!=="actions"&&(f.checked=!1)})},V=()=>{d.value=c.localColumns.map(s=>({...s,label:s.title&&s.title.tag?S(s.title):s.title||s.title2,value:s.dataIndex,checked:s.checked||s.checked===void 0})),n.value=[...d.value];let y=[];c.tableColumns.forEach(function(s){y.push(s.dataIndex)})},k=(y,s)=>{s?y.checked=!0:y.checked=!1},g=()=>{d.value=[...n.value],l("on-get-columns",d.value),m.value=!1},_=()=>{d.value=c.tableColumns.map(s=>({...s,label:s.title&&s.title.tag?S(s.title):s.title||s.title2,value:s.dataIndex,checked:s.checked||s.checked===void 0})),n.value=[...d.value];let y=[];c.tableColumns.forEach(function(s){y.push(s.dataIndex)})},S=y=>y.children[0].text,L=y=>{delete y.fixed;const s=n.value.findIndex(f=>f.value===y.value);if(s!==-1){let f=-1;for(let B=0;B<n.value.length;B++)n.value[B].fixed==="left"&&(f=B);if(f!==-1&&s!==f+1){const B=[...n.value],[H]=B.splice(s,1);B.splice(f+1,0,H),n.value=B}}},u=y=>{const s=n.value.findIndex(f=>f.value===y.value);if(s!==-1){let f=-1;for(let q=0;q<n.value.length;q++)n.value[q].fixed==="left"&&(f=q);const B=[...n.value],[H]=B.splice(s,1);H.fixed="left";const I=f===-1?0:f+1;B.splice(I,0,H),n.value=B}};return e.watch(()=>c.tableColumns,()=>{_()},{immediate:!0,deep:!0}),(y,s)=>{const f=e.resolveComponent("a-tooltip"),B=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",oo,[e.createVNode(e.unref(F.Popover),{title:e.unref(i)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"column_setting_popover",visible:m.value,"onUpdate:visible":s[1]||(s[1]=H=>m.value=H)},{content:e.withCtx(()=>[e.createVNode(e.unref(le),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=H=>n.value=H),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:p,onEnd:T},{item:e.withCtx(({element:H})=>[H.fixed!=="right"?(e.openBlock(),e.createElementBlock("div",lo,[e.createVNode(e.unref(F.Checkbox),{checked:H.checked,onChange:I=>k(H,I.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(H.label),1)]),_:2},1032,["checked","onChange"]),H.checked?(e.openBlock(),e.createElementBlock("section",no,[e.createElementVNode("span",{class:e.normalizeClass(H.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),H.fixed?(e.openBlock(),e.createBlock(f,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:I=>L(H)},[...s[2]||(s[2]=[e.createElementVNode("svg",{t:"1759048615600",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7283",width:"200",height:"200"},[e.createElementVNode("path",{d:"M771.798516 586.270988c-6.897306 8.296759-17.293245 12.894963-27.989067 12.894963h-0.299882l-175.931277-1.199532-55.178446 422.834831-0.399844 3.19875-0.399844-3.19875-55.178446-422.834831-175.931277 1.199532h-0.299882c-10.795783 0-21.191722-4.598204-27.989067-12.894963-6.897306-8.39672-8.796564-18.292854-8.596642-27.28934 0.399844-13.094885 5.697774-25.590004 14.394377-35.386177l61.87583-69.872706c15.393987-17.393206 24.790316-39.284654 26.589613-62.475596l20.292074-250.402187c0.599766-7.796954-2.199141-15.593909-7.796955-21.091761l-38.584927-38.584927c-19.692308-16.693479-21.891449-33.58688-17.79305-47.581414 5.897696-20.092152 24.690355-33.58688 45.582194-33.58688h0.199922l163.236236 0.499805h0.799688l163.236236-0.499805h0.199922c20.891839 0 39.684498 13.494729 45.582194 33.58688 4.098399 13.994533 1.899258 30.887934-17.79305 47.581414L664.940258 119.753221c-5.597813 5.597813-8.39672 13.294807-7.796955 21.091761L677.435377 391.247169c1.899258 23.190941 11.195627 45.08239 26.589613 62.475596l61.87583 69.872706c8.696603 9.796173 13.894572 22.291292 14.394377 35.386177 0.299883 8.996486-1.599375 18.89262-8.496681 27.28934z","p-id":"7284",fill:"#ff5000"})],-1)])],8,ao)]),_:2},1024)):e.createCommentVNode("",!0),H.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(f,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:I=>u(H)},[...s[3]||(s[3]=[e.createElementVNode("svg",{t:"1759048735643",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7481",width:"200",height:"200"},[e.createElementVNode("path",{d:"M381.298 418.828h-157.703l-37.575 38.272 155.61 158.377-278.212 345.128 356.040-265.838 154.71 157.41 38.813-39.51 2.407-157.972 238.838-313.29 71.685 73.013 34.695-35.28-310.185-315.743-34.672 35.257 77.287 79.402-311.737 240.773z","p-id":"7482",fill:"#ff5000"})],-1)])],8,io)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ro,[e.createElementVNode("div",so,[e.createVNode(e.unref(F.Checkbox),{checked:h.value,indeterminate:C.value,onChange:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),c.localColumns.length?(e.openBlock(),e.createBlock(B,{key:0,style:{"margin-right":"6px"},onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.reset")),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(B,{onClick:g,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(f,{title:e.unref(i)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...s[4]||(s[4]=[e.createElementVNode("span",{class:"hb-lib-table-col-set"},[e.createElementVNode("svg",{t:"1759041858618",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5219",width:"200",height:"200"},[e.createElementVNode("path",{d:"M460.8 49.216a102.4 102.4 0 0 1 102.4 0l323.968 187.072c31.68 18.304 51.2 52.096 51.2 88.64V576h-76.8V324.928a25.6 25.6 0 0 0-12.8-22.144L524.8 115.712a25.6 25.6 0 0 0-25.6 0L175.232 302.784a25.6 25.6 0 0 0-12.8 22.144v374.144a25.6 25.6 0 0 0 12.8 22.144L499.2 908.288a25.6 25.6 0 0 0 25.6 0l51.2-29.568v88.64l-12.8 7.424a102.4 102.4 0 0 1-102.4 0l-323.968-187.072a102.4 102.4 0 0 1-51.2-88.64V324.928c0-36.544 19.52-70.4 51.2-88.64L460.8 49.216z","p-id":"5220",fill:"#ff5000"}),e.createElementVNode("path",{d:"M345.6 512a166.4 166.4 0 1 1 332.8 0 166.4 166.4 0 0 1-332.8 0zM512 422.4a89.6 89.6 0 1 0 0 179.2 89.6 89.6 0 0 0 0-179.2zM670.208 736a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4zM670.208 896a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4z","p-id":"5221",fill:"#ff5000"})])],-1)])]),_:1},8,["title"])]),_:1},8,["title","visible"])])}}}),[["__scopeId","data-v-07a63550"]])),mo=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:De,HbLibListBtnsAct:Ge,HbLibListForm:Oe,HbLibListMultiSelect:dt,HbLibListPageAct:We,HbLibListPageContainer:Qe,HbLibListTable:to,HbLibMutilpleSelectModal:ht,HbLibTableAct:xt,HbLibTableColumnSet:co},Symbol.toStringTag,{value:"Module"})),po=O(D(e.defineComponent({name:"HbLibFormTooltipSelect",inheritAttrs:!1,__name:"HbTooltipSelect",props:e.mergeModels({options:{default:()=>[]},tooltipPlacement:{default:"right"},tooltipMaxWidth:{default:280},enableTooltip:{type:Boolean,default:!0},enableEllipsis:{type:Boolean,default:!0}},{value:{default:void 0},valueModifiers:{}}),emits:["update:value"],setup(t,{expose:o}){const l=t,i=e.useAttrs(),c=e.computed(()=>{const N=i,V=N.dropdownClassName;return{...N,dropdownClassName:V??"hb_lib_form_tooltip_select__dropdown"}}),d=e.ref(),r=e.useModel(t,"value"),m=e.computed(()=>l.options??[]),n=e.computed(()=>({maxWidth:typeof l.tooltipMaxWidth=="number"?`${l.tooltipMaxWidth}px`:l.tooltipMaxWidth})),a=N=>N.tooltip??N.label,h=N=>N.key??N.label,C=N=>!!(l.enableTooltip&&a(N));return o({focus:()=>{d.value?.focus?.()},blur:()=>{d.value?.blur?.()},selectRef:d}),(N,V)=>(e.openBlock(),e.createBlock(e.unref(F.Select),e.mergeProps({ref_key:"selectRef",ref:d,class:"hb_lib_form_tooltip_select"},c.value,{value:r.value,"onUpdate:value":V[0]||(V[0]=k=>r.value=k)}),{default:e.withCtx(()=>[N.$slots.default?e.renderSlot(N.$slots,"default",{key:0},void 0,!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(m.value,k=>(e.openBlock(),e.createBlock(e.unref(F.SelectOption),e.mergeProps({key:h(k),value:k.value,disabled:k.disabled},{ref_for:!0},k.optionProps),{default:e.withCtx(()=>[C(k)?(e.openBlock(),e.createBlock(e.unref(F.Tooltip),{key:0,title:a(k),placement:l.tooltipPlacement,overlayStyle:n.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":l.enableEllipsis}])},e.toDisplayString(k.label),3)]),_:2},1032,["title","placement","overlayStyle"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":l.enableEllipsis}])},e.toDisplayString(k.label),3))]),_:2},1040,["value","disabled"]))),128))]),_:3},16,["value"]))}}),[["__scopeId","data-v-b04f5675"]])),fo=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormTooltipSelect:po},Symbol.toStringTag,{value:"Module"})),ho={class:"ant-upload-drag-icon"},bo={class:"ant-upload-text"},go={style:{color:"#ff5000"}},yo={class:"ant-upload-hint"},Co={key:0,class:"hb_import_btn"},uo=["href"],_o=O(D(e.defineComponent({name:"HbLibImportFile",__name:"HbImportFile",props:{title:{default:()=>"文件导入"},modalWidth:{default:600},acceptFile:{default:".xlsx, .xls, .csv,.txt,.docx,.doc,.ppt,.pptx,.png,.jpg,.jpeg,.gif"},isRequired:{type:Boolean,default:!0},templateUrl:{},maxCount:{default:1},multiple:{type:Boolean,default:!1},btnText:{default:()=>"文件上传"},beforeUpload:{},beforeSubmit:{}},setup(t,{expose:o}){const{t:l}=Y.useI18n(),i=e.ref(),c=t,d=e.ref(!1),r=e.reactive({fileList:[],visible:!1}),m=p=>{if(p==null)return;const T=r.fileList.indexOf(p);if(T!==-1){const N=r.fileList.slice();N.splice(T,1),r.fileList=N}},n=()=>{r.visible=!1,r.fileList=[],d.value=!1},a=p=>(r.fileList=[p],c.beforeUpload?c.beforeUpload(p):!1),h=()=>{i.value.validateFields().then(()=>{c.beforeSubmit&&(d.value=!0,c.beforeSubmit(r.fileList).then(p=>{}).finally(()=>{d.value=!1}))})},C=()=>{r.visible=!0};return o({handleCancel:n,openModal:C,confirmLoading:d}),(p,T)=>{const N=e.resolveComponent("a-upload-dragger"),V=e.resolveComponent("a-form-item"),k=e.resolveComponent("a-form"),g=e.resolveComponent("a-modal"),_=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(g,e.mergeProps({title:c.title,visible:r.visible,"onUpdate:visible":T[0]||(T[0]=S=>r.visible=S),"confirm-loading":d.value},p.$attrs,{onCancel:n,onOk:h,width:c.modalWidth}),{default:e.withCtx(()=>[e.createVNode(k,{ref_key:"modalFormRef",ref:i,model:r},{default:e.withCtx(()=>[e.createVNode(V,{name:"fileList",label:e.unref(l)("hbLibComp.HbImportFile.fileLabel"),rules:[{required:c.isRequired,message:e.unref(l)("hbLibComp.HbImportFile.clickUp")}]},{default:e.withCtx(()=>[e.createVNode(N,{maxCount:c.maxCount,multiple:c.multiple,accept:c.acceptFile,name:"file",fileList:r.fileList,onRemove:m,beforeUpload:a},{default:e.withCtx(()=>[e.createElementVNode("p",ho,[e.createVNode(e.unref(W.PlusCircleOutlined),{style:{"font-size":"37px"}})]),e.createElementVNode("p",bo,[e.createTextVNode(e.toDisplayString(e.unref(l)("hbLibComp.HbImportFile.uploadText")),1),e.createElementVNode("span",go,e.toDisplayString(e.unref(l)("hbLibComp.HbImportFile.clickUp")),1)]),e.createElementVNode("p",yo,e.toDisplayString(e.unref(l)("hbLibComp.HbFileUploadModal.format"))+": "+e.toDisplayString(c.acceptFile),1)]),_:1},8,["maxCount","multiple","accept","fileList"])]),_:1},8,["label","rules"])]),_:1},8,["model"]),c.templateUrl?(e.openBlock(),e.createElementBlock("p",Co,[e.createElementVNode("a",{download:"Import_number-template.xlsx",href:c.templateUrl},e.toDisplayString(e.unref(l)("hbLibComp.HbImportFile.downloadTemplate")),9,uo)])):e.createCommentVNode("",!0)]),_:1},16,["title","visible","confirm-loading","width"]),e.renderSlot(p.$slots,"btn",{},()=>[e.createVNode(_,{onClick:C,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.btnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-d61501db"]])),ko=Object.freeze(Object.defineProperty({__proto__:null,HbLibImportFile:_o},Symbol.toStringTag,{value:"Module"})),Lo={cpText:{type:String,default:""},K:{type:String,default:""},V:{type:String},L:{type:String},data:{type:[Array,Object]},tooltipTitle:{type:String,default:""},copySuccessTip:{type:String,default:""},copyFailTip:{type:String,default:""},cpStyle:{type:Object,default:()=>({})},classType:{type:String,default:"ab"}},xe=O(D(e.defineComponent({name:"HbLibCopy",__name:"copy",props:Lo,setup(t){const o=t,l=e.ref();e.watchEffect(()=>{l.value=o.data});const i=e.computed(()=>o.tooltipTitle||"复制"),c=e.computed(()=>o.copySuccessTip||"复制成功"),d=e.computed(()=>o.copyFailTip||"复制失败"),r=e.computed(()=>{if(o.cpText)return o.cpText;let n="";if(o.data)if(Array.isArray(o.data)){if(o.K&&o.V&&o.L){const a=o.data.find(h=>h?.[o.K]===o.V);n=a?a[o.L]:""}}else o.K&&(n=o.data[o.K]);return n}),m=()=>{navigator.clipboard.writeText(r.value).then(()=>{F.message.success(c.value)}).catch(()=>{F.message.error(d.value)})};return(n,a)=>r.value?(e.openBlock(),e.createBlock(e.unref(F.Tooltip),{key:0,title:i.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-copy-text-eyevue",style:e.normalizeStyle({...n.cpStyle}),onClick:e.withModifiers(m,["stop","prevent"])},[...a[0]||(a[0]=[e.createElementVNode("svg",{t:"1766643849597",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5022",width:"200",height:"200"},[e.createElementVNode("path",{d:"M720 192h-544A80.096 80.096 0 0 0 96 272v608C96 924.128 131.904 960 176 960h544c44.128 0 80-35.872 80-80v-608C800 227.904 764.128 192 720 192z m16 688c0 8.8-7.2 16-16 16h-544a16 16 0 0 1-16-16v-608a16 16 0 0 1 16-16h544a16 16 0 0 1 16 16v608z","p-id":"5023",fill:"#808080ba"}),e.createElementVNode("path",{d:"M848 64h-544a32 32 0 0 0 0 64h544a16 16 0 0 1 16 16v608a32 32 0 1 0 64 0v-608C928 99.904 892.128 64 848 64z","p-id":"5024",fill:"#808080ba"}),e.createElementVNode("path",{d:"M608 360H288a32 32 0 0 0 0 64h320a32 32 0 1 0 0-64zM608 520H288a32 32 0 1 0 0 64h320a32 32 0 1 0 0-64zM480 678.656H288a32 32 0 1 0 0 64h192a32 32 0 1 0 0-64z","p-id":"5025",fill:"#808080ba"})],-1)])],4)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-2b6710a1"]])),So={dragList:{type:Array,required:!0},childrenType:{type:String,default:"html"},dragClass:{type:String,default:"drag-item"},ghostClass:{type:String,default:null},chosenClass:{type:String,default:null},sort:{type:Boolean,default:!0},handle:{type:String,default:""},filter:{type:String,default:""},draggable:{type:String,default:""}},xo=O(D(e.defineComponent({name:"HbDrag",__name:"index",props:So,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(t,{emit:o}){const l=t,i=e.shallowRef([]);e.watch(()=>l.dragList,h=>{i.value=h},{deep:!0,immediate:!0});const c=de("drag"),d=o,r=h=>{console.log("drag start",h),d("handleDragStart",h)},m=h=>{console.log("drag end",h),d("handleDragEnd",h)},n=h=>{console.log("drag add",h),d("handleDragAdd",h)},a=h=>{console.log("drag remove",h),d("handleDragRemove",h)};return(h,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(c).b())},[h.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(le),e.mergeProps({key:0,modelValue:i.value,"onUpdate:modelValue":C[0]||(C[0]=p=>i.value=p),"item-key":"key",class:{[h.dragClass]:h.dragClass}},h.$attrs,{"ghost-class":h.ghostClass,onStart:r,onEnd:m,onAdd:n,onRemove:a}),{item:e.withCtx(({element:p})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p.component)))]),_:1},16,["modelValue","class","ghost-class"])):(e.openBlock(),e.createBlock(e.unref(le),e.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":C[1]||(C[1]=p=>i.value=p),"item-key":"id",class:{[h.dragClass]:h.dragClass}},h.$attrs,{"ghost-class":h.ghostClass,onStart:r,onEnd:m,onAdd:n,onRemove:a}),{item:e.withCtx(({element:p})=>[e.createElementVNode("div",null,[e.renderSlot(h.$slots,"default",{item:p},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]])),wo={triggerWay:{type:String,default:"click"},colText:{type:String,default:""},menuItems:{type:Array,default:()=>[]},getSort:{type:Function}},Bo=O(D(e.defineComponent({name:"HbLibSort",__name:"sort",props:wo,emits:["change"],setup(t,{expose:o,emit:l}){const i=t,c=l,d=e.ref([]),r=e.ref("");e.watch(()=>i.menuItems,n=>{let a=[];Array.isArray(n)&&n.length&&n.forEach(h=>{a=[...a,{label:`${h.label}升序`,value:`${h.value}`,sort:"Asc"},{label:`${h.label}降序`,value:`${h.value}`,sort:"Desc"}]}),d.value=a},{deep:!0,immediate:!0});const m=n=>{r.value=n.value+n.sort,i.getSort&&i.getSort({orderFeild:n.value,orderBy:n.sort}),c("change",r)};return o({currentActiveItem:r}),(n,a)=>{const h=e.resolveComponent("a-menu-item"),C=e.resolveComponent("a-menu"),p=e.resolveComponent("a-dropdown");return e.openBlock(),e.createBlock(p,{trigger:[i.triggerWay]},{overlay:e.withCtx(()=>[e.createVNode(C,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,T=>(e.openBlock(),e.createBlock(h,{key:T.value+T.sort,onClick:N=>m(T)},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(r.value==T.value+T.sort?"activted":"")},e.toDisplayString(T.label),3)]),_:2},1032,["onClick"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"ant-dropdown-link",onClick:a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))},[e.createTextVNode(e.toDisplayString(i.colText)+" ",1),e.createVNode(e.unref(W.DownOutlined))])]),_:1},8,["trigger"])}}}),[["__scopeId","data-v-cf0b0a0d"]])),To={importFile:{isRequired:!1,modalWidth:800,maxCount:1,multiple:!1,acceptFile:"image/*"},listTable:{align:"left",colSaveTimeOut:800,defaultColWidth:200,ellipsisNumber:10},HbLibListPageContainer:{offsetBottom:20,minHeight:300,timeOut:100,offsetHeight:110,isUnFixTbHeight:!0},HbLibFormItemFilterModal:{modalWidth:800,defaultShowCount:2},HbLibDetailBox:{descLabelWidth:150,descValueWidth:200,needSetDesDefault:!1,desDefault:"-",setDefaultValueTimeOut:600,backTopBottom:150},HbLibUnDetailBox:{backTopBottom:150},HbLibCard:{formItemMb:10}},No={class:"hb_ui_config"},Fo=e.defineComponent({name:"HbUiConfig",__name:"hbUiConfig",props:{config:{}},setup(t){const o=t;let l=null;return e.watch(()=>o.config,i=>{l=e.reactive(Z.merge({},To,i))},{deep:!0,immediate:!0}),e.provide(fe,l),(i,c)=>(e.openBlock(),e.createElementBlock("div",No,[e.renderSlot(i.$slots,"default")]))}}),fe=Symbol("GLOBAL_CONFIG_KEY"),Vo=O(Fo),Eo={class:"hb_lib_loading"},Ho={class:"hb_lib_loading_loading_anima"},$o={class:"hb_lib_loading_load_tips"},Io=O(D(e.defineComponent({name:"HbLibLoading",__name:"loading",props:{loadTips:{type:String,default:"页面加载中...如长时间加载请刷新页面!"}},setup(t){const{t:o}=Y.useI18n(),l=t,i=e.computed(()=>l.loadTips||o("hbLibComp.HbLibLoading.loadingTips"));return(c,d)=>(e.openBlock(),e.createElementBlock("div",Eo,[e.createElementVNode("div",Ho,[d[0]||(d[0]=e.createStaticVNode('<div class="cube" data-v-22f438b9><div class="side front" data-v-22f438b9></div><div class="side back" data-v-22f438b9></div><div class="side right" data-v-22f438b9></div><div class="side left" data-v-22f438b9></div><div class="side top" data-v-22f438b9></div><div class="side bottom" data-v-22f438b9></div></div>',1)),e.createElementVNode("div",$o,e.toDisplayString(i.value),1)])]))}}),[["__scopeId","data-v-22f438b9"]])),Mo=Object.freeze(Object.defineProperty({__proto__:null,HbLibCopy:xe,HbLibFuncCompDrag:xo,HbLibLoading:Io,HbLibSort:Bo,HbUiConfig:Vo},Symbol.toStringTag,{value:"Module"})),Do={class:"hb_lib_log_modal_content"},Ao={class:"log_remark"},Oo=O(D(e.defineComponent({name:"HbLibLogModal",__name:"HbLogModal",props:{visible:{type:Boolean,default:!1},needBtn:{type:Boolean,default:!1},title:{default:""},width:{default:"45%"},height:{default:"60%"},dataStr:{default:"records"},scrollY:{default:500},params:{default:()=>({})},url:{},columns:{default:void 0},logBtnText:{default:"查看日志"},pagination:{},modalStyle:{},bodyStyle:{},getLogData:{}},emits:["update:visible"],setup(t,{expose:o,emit:l}){const{t:i}=Y.useI18n(),c=t,d=[{title:i("hbLibComp.HbLogModal.operator"),dataIndex:"userName",width:"15%"},{title:i("hbLibComp.HbLogModal.operateTime"),dataIndex:"operateTime",width:"25%"},{title:i("hbLibComp.HbLogModal.operateContent"),dataIndex:"remark"}],r=e.computed(()=>c.columns||d),m=e.computed(()=>c.title||i("hbLibComp.HbLogModal.operateLogs")),n=e.ref(!1),a=e.reactive({list:[],pagination:{current:1,pageSize:10,pageSizeOptions:["10","20","50","100"],showQuickJumper:!0,showSizeChanger:!0,showTotal:(k,g)=>g[0]+"-"+g[1]+" 总共"+k+"页",total:0}});e.watch(()=>c.pagination,k=>{k&&(a.pagination={...a.pagination,...k})},{deep:!0,immediate:!0});const h=()=>{const k={pageIndex:a.pagination.current,pageSize:a.pagination.pageSize,query:c.params};c.getLogData&&(n.value=!0,c.getLogData(k).then(g=>{Number(g.code)==200?(a.pagination.total=Number(g.data.total),a.list=g.data[c.dataStr]||[]):F.message.error(g.message)}).finally(()=>{n.value=!1}))},C=k=>{a.pagination.current=k.current,a.pagination.pageSize=k.pageSize,h()},p=()=>{a.list=[],V("update:visible",!1)},T=()=>{V("update:visible",!0)},N=(k,g="YYYY-MM-DD HH:mm:ss")=>k?ne(k).format(g):"",V=l;return e.watch(()=>c.visible,k=>{k&&h()}),o({close:p,loading:n}),(k,g)=>{const _=e.resolveComponent("a-tooltip"),S=e.resolveComponent("HbLibCopy"),L=e.resolveComponent("a-table"),u=e.resolveComponent("a-button"),y=e.resolveComponent("HbLibModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(y,e.mergeProps(k.$attrs,{visible:t.visible,title:m.value,width:t.width,height:t.height,modalStyle:t.modalStyle,bodyStyle:t.bodyStyle,onCancel:p}),{footer:e.withCtx(()=>[e.createVNode(u,{onClick:p},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.HbLogModal.close")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",Do,[e.createVNode(L,{bordered:"",rowKey:"id",columns:r.value,dataSource:a.list,pagination:a.pagination,loading:n.value,scroll:{y:t.scrollY},onChange:C},e.createSlots({bodyCell:e.withCtx(({column:s,record:f})=>[s&&s.needTooltip?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[s.needTooltip?(e.openBlock(),e.createBlock(_,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f[s.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(f[s.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),s&&s.needCopy?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Ao,e.toDisplayString(f[s.dataIndex]),1),e.createVNode(S,{"cp-text":f[s.dataIndex],style:{position:"relative"}},null,8,["cp-text"])],64)):e.createCommentVNode("",!0),s&&s.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(N(f[s.dataIndex],s.operateTime)),1)],64)):e.createCommentVNode("",!0)]),_:2},[k.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:s})=>[e.renderSlot(k.$slots,"headerCell",{column:s},()=>[e.createTextVNode(e.toDisplayString(s.title),1)],!0)]),key:"0"}:void 0]),1032,["columns","dataSource","pagination","loading","scroll"])])]),_:3},16,["visible","title","width","height","modalStyle","bodyStyle"]),t.needBtn?e.renderSlot(k.$slots,"default",{key:0},()=>[e.createVNode(u,{onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.logBtnText),1)]),_:1})],!0):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-341c37f6"]])),zo=Object.freeze(Object.defineProperty({__proto__:null,HbLibLogModal:Oo},Symbol.toStringTag,{value:"Module"})),ee=t=>(t.install=o=>{o.component(t.name||"AnonymousComponent",t)},t),Po={class:"hb_card_wrapper"},Ro={class:"hb_card"},Uo={key:0,class:"hb_card_header"},jo={class:"hb_fix"},Wo={class:"hb_card_header-title"},qo={class:"hb_card_header-action"},Yo={class:"hb_card_body"},Ko=ee(D(e.defineComponent({name:"HbLibCard",__name:"HbLibCard",props:{cardTitle:{type:String,default:""},isForm:{type:Boolean,default:!1},isModal:{type:Boolean,default:!1},layout:{type:Number,default:2},formItemMb:{type:Number}},setup(t){const o=e.inject(fe),l=t,i=e.computed(()=>{let c=l.formItemMb||o?.HbLibCard?.formItemMb;return c?{"--hb-card-form-item-mb":c+"px"}:{}});return(c,d)=>(e.openBlock(),e.createElementBlock("div",Po,[e.createElementVNode("div",{class:e.normalizeClass(t.isModal?"modal__module-card":"__module-card")},[e.createElementVNode("div",Ro,[t.cardTitle?(e.openBlock(),e.createElementBlock("div",Uo,[e.createElementVNode("div",jo,[e.createElementVNode("span",Wo,[e.renderSlot(c.$slots,"cardTitle",{},()=>[e.createTextVNode(e.toDisplayString(t.cardTitle),1)],!0)]),e.createElementVNode("div",qo,[e.renderSlot(c.$slots,"cardAct",{},void 0,!0)])])])):e.createCommentVNode("",!0),e.createElementVNode("div",Yo,[e.createElementVNode("section",{class:e.normalizeClass({hb_card_form:t.isForm&&!t.isModal,hb_card_flex_form:t.isForm&&t.isModal,l1c:t.layout==1,l3c:t.layout==3,l4c:t.layout==4}),style:e.normalizeStyle(i.value)},[e.renderSlot(c.$slots,"default",{},void 0,!0)],6)])])],2)]))}}),[["__scopeId","data-v-927846d4"]])),Go=["onClick"],Jo={class:"step"},Qo={key:0,class:"line"},Zo=["title"],Xo=ee(D(e.defineComponent({name:"HbLibAnchor",__name:"HbLibAnchor",props:{anchors:{},offsetTop:{},containerSelector:{}},setup(t){const o=t,l=e.ref(""),i=o.offsetTop??160,c=e.computed(()=>o.anchors.filter(n=>typeof n.visible=="function"?n.visible():n.visible!==!1)),d=()=>{const n=o.containerSelector||"#subpackage_container";return document.querySelector(n)||window},r=n=>{const a=d(),h=n.target.startsWith("#")||n.target.startsWith(".")?n.target:`#${n.target}`,C=document.querySelector(h);if(!C)return;let p=C.offsetTop;a instanceof HTMLElement&&(p-=a.offsetTop),p-=i,a instanceof Window?window.scrollTo({top:p,behavior:"smooth"}):a.scrollTo({top:p,behavior:"smooth"}),l.value=n.target},m=()=>{const n=d();let a=0;n instanceof Window?a=window.scrollY+i+5:a=n.scrollTop+i+5;let h=c.value[0]?.target||"";for(const C of c.value){const p=C.target.startsWith("#")||C.target.startsWith(".")?C.target:`#${C.target}`,T=document.querySelector(p);if(!T)continue;let N=T.offsetTop;n instanceof HTMLElement&&(N-=n.offsetTop),a>=N&&(h=C.target)}l.value=h};return e.onMounted(()=>{d().addEventListener("scroll",m),m()}),e.onBeforeUnmount(()=>{d().removeEventListener("scroll",m)}),(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:"anchors",style:e.normalizeStyle({top:`${e.unref(i)}px`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(h,C)=>(e.openBlock(),e.createElementBlock("div",{key:h.target,class:e.normalizeClass(["anchor-item",{isActive:l.value===h.target}]),onClick:p=>r(h)},[e.createElementVNode("div",Jo,[C!==c.value.length-1?(e.openBlock(),e.createElementBlock("div",Qo)):e.createCommentVNode("",!0),a[0]||(a[0]=e.createElementVNode("div",{class:"circle"},null,-1))]),e.createElementVNode("span",{class:"title",title:h.title},e.toDisplayString(h.title.length>12?h.title.slice(0,12)+"...":h.title),9,Zo)],10,Go))),128))],4))}}),[["__scopeId","data-v-d51548d8"]])),vo={class:"hb_detail_top_act_left"},el={key:1,class:"hb_detail_top_wrapper_sticky"},tl={class:"hb_detail_top_act"},ol={key:0,class:"hb_detail_all_info"},ll={class:"hb_detail_all_info_left"},nl={class:"hb_detail_info_title"},al={key:0,class:"hb_detail_info_content"},il={class:"create_by"},rl={class:"hb_detail_all_info_right"},sl={class:"hb_edit_detail_content_wrapper"},cl={class:"hb_detail_content"},dl={class:"hb-back-top-inner"},ml=ee(D(e.defineComponent({name:"HbLibDetailBox",__name:"HbLibDetailBox",props:{stickyTitle:{type:String,default:""},needTotalInfoBox:{type:Boolean,default:!0},totalInfo:{type:Object,default:()=>({totalInfoTitle:"",totalInfoSubTitle1:"",totalInfoSubTitle2:"",totalInfoSubVal1:"",totalInfoSubVal2:""})},container:{type:String,default:"#subpackage_container"},backTopBottom:{type:Number},backFn:{type:Function},needFixWidth:{type:Boolean,default:!0},descLabelWidth:{type:Number},descValueWidth:{type:Number},spinning:{type:Boolean,default:!1}},setup(t){const{t:o}=Y.useI18n(),l=t,i=e.inject(fe),c=()=>{l.backFn?l.backFn():window.history.back()},d=e.computed(()=>l.backTopBottom||i?.HbLibDetailBox?.backTopBottom||80),r=e.computed(()=>{const V={};return l.needFixWidth?{hb_need_set_desc_label_width:l.descLabelWidth||i?.HbLibDetailBox?.descLabelWidth,hb_need_set_desc_value_width:l.descValueWidth||i?.HbLibDetailBox?.descValueWidth}:V}),m=()=>document.querySelector(l.container),n=e.ref(!1),a=e.ref(null),{top:h}=X.useElementBounding(a),C=e.computed(m),{y:p}=X.useScroll(C);e.watch(p,V=>{n.value=V>h.value},{immediate:!0});const T=V=>{document.querySelectorAll(".hb_card_body").forEach(g=>{g.querySelectorAll(".ant-descriptions-item-content span").forEach(S=>{S.textContent?.trim()||(S.textContent=V)})})};let N=null;return e.onMounted(()=>{i?.HbLibDetailBox?.needSetDesDefault&&(N=setTimeout(()=>{T(i?.HbLibDetailBox?.desDefault)},i?.HbLibDetailBox?.setValuetimeOut))}),e.onUnmounted(()=>{N&&clearTimeout(N)}),(V,k)=>{const g=e.resolveComponent("RollbackOutlined"),_=e.resolveComponent("a-divider"),S=e.resolveComponent("a-spin");return e.openBlock(),e.createBlock(S,{spinning:t.spinning},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["hb_detail_wrapper",r.value]),style:e.normalizeStyle({"--hb-detail-desc-label-width":r.value?.hb_need_set_desc_label_width+"px","--hb-detail-desc-value-width":r.value?.hb_need_set_desc_value_width+"px"})},[t.needTotalInfoBox?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["hb_detail_top_act_sticky",n.value?"can_show":""])},[e.createElementVNode("div",vo,[e.createVNode(g,{style:{color:"#ff5000"}}),e.createElementVNode("a",{href:"javascript:;",class:"ml6",onClick:c},e.toDisplayString(e.unref(o)("hbLibComp.HbLibDetailBox.back")),1),e.createVNode(_,{type:"vertical"}),e.createElementVNode("span",null,e.toDisplayString(t.stickyTitle),1)]),k[0]||(k[0]=e.createElementVNode("div",{class:"hb_detail_top_act_right"},null,-1))],2)):e.createCommentVNode("",!0),t.needTotalInfoBox?(e.openBlock(),e.createElementBlock("div",el,[e.createElementVNode("div",tl,[e.createVNode(g),e.createElementVNode("a",{href:"javascript:;",class:"ml6",onClick:c},e.toDisplayString(e.unref(o)("hbLibComp.HbLibDetailBox.back")),1),e.createVNode(_,{type:"vertical"}),e.createElementVNode("span",null,e.toDisplayString(t.stickyTitle),1)]),t.needTotalInfoBox?(e.openBlock(),e.createElementBlock("div",ol,[e.createElementVNode("aside",ll,[e.renderSlot(V.$slots,"totalInfoLeft",{},()=>[e.createElementVNode("div",nl,e.toDisplayString(t.totalInfo.totalInfoTitle),1),t.totalInfo.totalInfoSubTitle1?(e.openBlock(),e.createElementBlock("div",al,[e.createElementVNode("span",il,e.toDisplayString(t.totalInfo.totalInfoSubTitle1)+e.toDisplayString(t.totalInfo.totalInfoSubVal1),1),e.createElementVNode("span",null,e.toDisplayString(t.totalInfo.totalInfoSubTitle2)+e.toDisplayString(t.totalInfo.totalInfoSubVal2),1)])):e.createCommentVNode("",!0)],!0)]),e.createElementVNode("aside",rl,[e.renderSlot(V.$slots,"totalInfoRight",{},void 0,!0)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",sl,[e.createElementVNode("div",cl,[e.renderSlot(V.$slots,"detailContent",{},void 0,!0)])]),e.createVNode(e.unref(F.BackTop),{target:m,style:e.normalizeStyle({bottom:d.value+"px"})},{default:e.withCtx(()=>[e.createElementVNode("div",dl,[e.createVNode(e.unref(W.ToTopOutlined))])]),_:1},8,["style"])],6)]),_:3},8,["spinning"])}}}),[["__scopeId","data-v-f2c2c397"]])),pl=ee(D(e.defineComponent({name:"HbLibFooterBar",__name:"HbLibFooterBar",props:{buttons:{type:Array,default:()=>[]},getContainer:{type:Function,default:()=>{const t=document.querySelector("#subpackage_container");return t&&t.scrollHeight>t.clientHeight?t:window}},leftElements:{type:[String,Array],default:()=>["#globalLeft"]},placeLeft:{type:Boolean,default:!1},placeRight:{type:Boolean,default:!1}},setup(t){const o=t,l=e.computed(()=>o.buttons.filter(m=>m.condition!==void 0?m.condition:!0)),i=e.ref(0),c=m=>{let n=0;return(Array.isArray(m)?m:[m]).forEach(h=>{let C=[];if(h.startsWith("#")){const p=document.getElementById(h.slice(1));p&&C.push(p)}else C=Array.from(document.getElementsByClassName(h));C.forEach(p=>{n+=p.offsetWidth||0})}),n},d=()=>{o.leftElements&&(i.value=c(o.leftElements)+1)};let r=null;return e.onMounted(()=>{const m=o.getContainer();m!==window&&m instanceof HTMLElement&&m.addEventListener("scroll",()=>{}),d(),r=new MutationObserver(()=>{d()});const n=document.body;r.observe(n,{childList:!0,subtree:!0,attributes:!0})}),e.onBeforeUnmount(()=>{r&&r.disconnect()}),(m,n)=>{const a=e.resolveComponent("a-button"),h=e.resolveComponent("a-space"),C=e.resolveComponent("a-affix"),p=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",{class:"footer-affix-wrapper",style:e.normalizeStyle({"--pageHeaderOrFonterLeft":i.value+"px"})},[e.createVNode(C,{"offset-bottom":0,target:t.getContainer,style:{width:"100%"}},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({"page-footer-bar":!0,page_footer_btn_left:t.placeLeft,page_footer_btn_right:t.placeRight})},[e.createVNode(h,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,T=>e.withDirectives((e.openBlock(),e.createBlock(a,{key:T.key,type:T.type||"default",danger:T.danger,loading:T.loading,disabled:T.disabled,onClick:T.onClick,class:"hb_list_page_button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(T.label),1)]),_:2},1032,["type","danger","loading","disabled","onClick"])),[[p,T.permissionsTag||null]])),128))]),_:1})],2)]),_:1},8,["target"])],4)}}}),[["__scopeId","data-v-37376438"]])),fl={class:"modal__detail-content"},hl=ee(D(e.defineComponent({name:"HbLibModal",__name:"HbLibModal",props:{type:{type:String,default:"add"},title:{type:String,default:""},modalStyle:{type:Object,default:()=>({})},bodyStyle:{type:Object,default:()=>({})},wrapStyle:{type:Object,default:()=>({})},spinning:{type:Boolean,default:!1},descLabelWidth:{type:Number},descValueWidth:{type:Number}},emits:["ok","cancel"],setup(t,{expose:o,emit:l}){const i=l,c=t,d=e.ref(!1),r=e.ref(null),m=e.computed(()=>({top:"10px",...c.modalStyle})),n=e.computed(()=>({overflow:"hidden",...c.modalStyle})),a=e.computed(()=>({maxHeight:"calc(100vh - 120px)",overflowY:"auto",padding:"0 6px",...c.bodyStyle})),{x:h,y:C,isDragging:p}=X.useDraggable(r),T=e.ref(0),N=e.ref(0),V=e.ref(!1),k=e.ref(0),g=e.ref(0),_=e.ref(0),S=e.ref(0),L=e.ref({left:0,right:0,top:0,bottom:0});let u=null;e.watch(d,B=>{B||(u&&clearTimeout(u),u=setTimeout(()=>{k.value=0,g.value=0,_.value=0,S.value=0},300))}),e.watch([h,C],()=>{if(!V.value){T.value=h.value,N.value=C.value;const B=document.body.getBoundingClientRect(),H=r.value.getBoundingClientRect();L.value.right=B.width-H.width,L.value.bottom=B.height-H.height,_.value=k.value,S.value=g.value}V.value=!0}),e.watch(p,()=>{p||(V.value=!1)}),e.watchEffect(()=>{V.value&&(k.value=_.value+Math.min(Math.max(L.value.left,h.value),L.value.right)-T.value,g.value=S.value+Math.min(Math.max(L.value.top,C.value),L.value.bottom)-N.value)});const y=e.computed(()=>({transform:`translate(${k.value}px, ${g.value}px)`})),s=()=>{d.value=!1,i("cancel")},f=()=>{i("ok")};return e.onUnmounted(()=>{u&&clearTimeout(u)}),o({handleOk:f,handleCancel:s,visible:d}),(B,H)=>{const I=e.resolveComponent("a-spin"),q=e.resolveComponent("a-modal");return e.openBlock(),e.createBlock(q,e.mergeProps({style:m.value,bodyStyle:a.value,ref:"modalRef",visible:d.value,"onUpdate:visible":H[0]||(H[0]=w=>d.value=w),"wrap-style":n.value,onOk:f,onCancel:s},B.$attrs),e.createSlots({title:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"modalTitleRef",ref:r,style:{width:"100%",cursor:"move"}},[e.renderSlot(B.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)],!0)],512)]),modalRender:e.withCtx(({originVNode:w})=>[e.createElementVNode("div",{style:e.normalizeStyle(y.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w)))],4)]),default:e.withCtx(()=>[e.createVNode(I,{spinning:c.spinning},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([t.type=="detail"?"hb_detail_modal_wrapper":"hb_modal_wrapper",t.descLabelWidth&&"hb_need_set_desc_label_width",t.descValueWidth&&"hb_need_set_desc_value_width"]),style:e.normalizeStyle({"--hb-detail-desc-label-width":t.descLabelWidth+"px","--hb-detail-desc-value-width":t.descValueWidth+"px"})},[e.createElementVNode("div",fl,[e.renderSlot(B.$slots,"default",{},void 0,!0)])],6)]),_:3},8,["spinning"])]),_:2},[B.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(B.$slots,"footer",{},void 0,!0)]),key:"0"}:void 0]),1040,["style","bodyStyle","visible","wrap-style"])}}}),[["__scopeId","data-v-e3e03545"]])),bl={key:0,class:"hb_edit_header"},gl={class:"__detail-content"},yl={key:1,class:"hb_edit_footer"},Cl={class:"hb-back-top-inner"},ul=ee(D(e.defineComponent({name:"HbLibUnDetailBox",__name:"HbLibUnDetailBox",props:{container:{type:String,default:"#subpackage_container"},formLabelWidth:{type:Number,default:0},backTopBottom:{type:Number},spinning:{type:Boolean,default:!1}},setup(t){const o=e.ref("vertical"),l=t,i=()=>document.querySelector(l.container),c=e.inject("GLOBAL_CONFIG_KEY"),d=e.computed(()=>l.backTopBottom||c?.HbLibUnDetailBox?.backTopBottom||80);return(r,m)=>(e.openBlock(),e.createBlock(e.unref(F.Spin),{spinning:t.spinning},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["hb_edit_wrapper",t.formLabelWidth?"isNeedSetLabelWidth":""]),style:e.normalizeStyle({"--hb-edit-form-label":t.formLabelWidth})},[r.$slots.editHeader?(e.openBlock(),e.createElementBlock("div",bl,[e.renderSlot(r.$slots,"editHeader",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["hb_edit_detail_content_wrapper",o.value==="vertical"?"form_vertical":""])},[e.createElementVNode("div",gl,[e.renderSlot(r.$slots,"editContent",{},void 0,!0)])],2),r.$slots.editFooter?(e.openBlock(),e.createElementBlock("div",yl,[e.renderSlot(r.$slots,"editFooter",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(e.unref(F.BackTop),{target:i,style:e.normalizeStyle({bottom:d.value+"px"})},{default:e.withCtx(()=>[e.createElementVNode("div",Cl,[e.createVNode(e.unref(W.ToTopOutlined))])]),_:1},8,["style"])],6)]),_:3},8,["spinning"]))}}),[["__scopeId","data-v-ee7895be"]])),_l={class:"hb_edit_header_left"},kl={class:"hb_edit_header_title"},Ll={class:"hb_edit_header_right"},Sl=ee(D(e.defineComponent({name:"HbLibPageHeader",__name:"HbLibPageHeader",props:{topElements:{type:[String,Array],default:()=>["#globalHead","#globalNavFrame"]},leftElements:{type:[String,Array],default:()=>["#globalLeft"]},backFn:{type:Function}},setup(t){const{t:o}=Y.useI18n(),l=t,i=ce.useRoute(),c=e.ref(0),d=e.computed(()=>i?.meta?.title||"");function r(p,T="offsetHeight"){let N=0;return(Array.isArray(p)?p:[p]).forEach(k=>{let g=[];if(k.startsWith("#")){const _=document.getElementById(k.slice(1));_&&g.push(_)}else g=Array.from(document.getElementsByClassName(k));g.forEach(_=>{N+=_[T]||0})}),N}const m=()=>{l.topElements&&(c.value=r(l.topElements))},n=e.ref(0),a=()=>{l.leftElements&&(n.value=r(l.leftElements,"offsetWidth")+1)};let h=null;e.onMounted(()=>{m(),a(),window.addEventListener("resize",m),h=new MutationObserver(()=>{a()});const p=document.body;h.observe(p,{childList:!0,subtree:!0,attributes:!0})}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",m),h&&h.disconnect()}),e.watch(()=>l.topElements,()=>{m()},{immediate:!0});const C=()=>{l.backFn?l.backFn():window.history.back()};return(p,T)=>{const N=e.resolveComponent("a-divider");return e.openBlock(),e.createElementBlock("div",{class:"hb_edit_header",style:e.normalizeStyle({top:c.value+"px","--pageHeaderOrFonterLeft":n.value+"px"})},[e.createElementVNode("aside",_l,[e.createElementVNode("a",{href:"#",class:"backBtn",onClick:C},e.toDisplayString(e.unref(o)("hbLibComp.HbLibDetailBox.back")),1),e.createVNode(N,{type:"vertical"}),e.createElementVNode("span",kl,e.toDisplayString(d.value),1)]),e.createElementVNode("aside",Ll,[e.renderSlot(p.$slots,"right",{},void 0,!0)])],4)}}}),[["__scopeId","data-v-83fcd208"]]));let we={...mo,...fo,...ko,...zo,...Mo,...Object.freeze(Object.defineProperty({__proto__:null,HbLibAnchor:Xo,HbLibCard:Ko,HbLibDetailBox:ml,HbLibFooterBar:pl,HbLibModal:hl,HbLibPageHeader:Sl,HbLibUnDetailBox:ul},Symbol.toStringTag,{value:"Module"}))};const Q=new Map;let Be;X.isClient&&(document.addEventListener("mousedown",t=>Be=t),document.addEventListener("mouseup",t=>{for(const o of Q.values())for(const{documentHandler:l}of o)l(t,Be)}));function Te(t,o){let l=[];return Array.isArray(o.arg)?l=o.arg:o.arg instanceof HTMLElement&&l.push(o.arg),function(i,c){const d=o.instance.popperRef,r=i.target,m=c?.target,n=!o||!o.instance,a=!r||!m,h=t.contains(r)||t.contains(m),C=t===r,p=l.length&&l.some(N=>N?.contains(r))||l.length&&l.includes(m),T=d&&(d.contains(r)||d.contains(m));n||a||h||C||p||T||o.value(i,c)}}const xl={beforeMount(t,o){Q.has(t)||Q.set(t,[]),Q.get(t).push({documentHandler:Te(t,o),bindingFn:o.value})},updated(t,o){Q.has(t)||Q.set(t,[]);const l=Q.get(t),i=l.findIndex(d=>d.bindingFn===o.oldValue),c={documentHandler:Te(t,o),bindingFn:o.value};i>=0?l.splice(i,1,c):l.push(c)},unmounted(t){Q.delete(t)}},wl={mounted(t,o){const{value:l,arg:i}=o;if(console.log(o),typeof l!="function"){console.warn("[v-debounce-click] 绑定值必须是一个函数");return}const c=parseInt(i,10)||300;let d;t.__debounceHandler__=function(...r){d&&clearTimeout(d),d=setTimeout(()=>{l(...r)},c)},t.addEventListener("click",t.__debounceHandler__)},unmounted(t){t.__debounceHandler__&&(t.removeEventListener("click",t.__debounceHandler__),delete t.__debounceHandler__)}},Ne=(t,o)=>{t._dynamicApp&&(t._dynamicApp.unmount(),t._dynamicContainer.innerHTML="");const l=e.createApp(xe,{cpText:o});l.mount(t._dynamicContainer),t._dynamicApp=l,t._dynamicPrevValue=o},Bl={cos:xl,dc:wl,icp:{mounted(t,o){if(!t._dynamicContainer){const l=document.createElement("div");l.style.display="inline-flex",l.style.alignItems="center",l.setAttribute("data-dynamic-container",""),t.parentNode?.insertBefore(l,t.nextSibling),t._dynamicContainer=l}Ne(t,o.value)},updated(t,o){o.value!==t._dynamicPrevValue&&Ne(t,o.value)},unmounted(t){t._dynamicApp&&(t._dynamicApp.unmount(),delete t._dynamicApp),t._dynamicContainer&&(t._dynamicContainer.remove(),delete t._dynamicContainer),delete t._dynamicPrevValue}}},Tl={hbLibComp:{HbFileUploadModal:{cancel:"Cancel",clickUpload:"Click to upload",confirmImport:"Confirm import",dataImport:"Import data",downloadTemplate:"Import template download",dragFile:"Drag files here or",file:"document",fileUpload:"File import",maxSupport:"Most supported",onlySupport:"Only supports",placeSelect:"Please select",selectFile:"Please select the file to upload",format:"Supported formats"},HbLogModal:{close:"closure",operateContent:"Operation content",operateLogs:"Operation log",operateTime:"Operating time",operator:"operator"},hbFormItemFilterModal:{add:"Add to",cancel:"Cancel",confirm:"Sure",moreConditionSearch:"Multiple searches",mostMore:"Optional at most",mostMoreTip:"conditions, drag and drop to adjust the sorting",noData:"No data yet",notShowTip:"No conditions shown",titleTip:"Conditions shown",overTip1:"Currently has exceeded",overTip2:"Optional quantity, please delete the displayed conditions first",title:"Custom query conditions"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query plan",addScheme:"Add scenario",editScheme:"Edit plan"},hbLibListTableColumsSet:{allSelect:"Select all",cancelFix:"Unpin",confirm:"Sure",errorTip:"Cannot move column to fixed column position",fix:"fixed",popoverTitle:"Custom columns",title:"Table field settings",reset:"reduction"},hbListBtnsAct:{close:"Close query conditions",open:"Expand query conditions",reload:"Refresh data"},hbListPageAct:{close:"close",exitFullScreen:"Exit full screen",fullScreen:"full screen",open:"Expand",query:"Query",reset:"reset",selfDefine:"Filter query conditions"},hbListTable:{noData:"No data yet"},hbMultiSelectModal:{pleaseSelect:"Please select"},hbTableAct:{confirmContent:"Confirm content",more:"More",secendConfirm:"Second confirmation"},HbImportFile:{clickUp:"Click to upload",downloadTemplate:"Click to download template",pleaseUploadFiles:"Please upload files",uploadText:"Drag files here or",fileLabel:"document",importBtn:"File upload"},HbFuncCompCopy:{copy:"copy",copyFail:"Copy failed",copySuccess:"Copied successfully"},HbLibDetailBox:{back:"return"}}},Nl={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください",format:"サポートされている形式"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件",overTip1:"現在は超えています",overTip2:"オプションの数量です。最初に表示されている条件を削除してください",title:"カスタムクエリ条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン",addScheme:"シナリオの追加",editScheme:"計画の編集"},hbLibListTableColumsSet:{allSelect:"すべて選択",cancelFix:"固定を解除する",confirm:"もちろん",errorTip:"列を固定列位置に移動できません",fix:"修理済み",popoverTitle:"カスタム列",title:"テーブルフィールドの設定",reset:"削減"},hbListBtnsAct:{close:"クエリ条件を閉じる",open:"クエリ条件を拡張する",reload:"データを更新する"},hbListPageAct:{close:"近い",exitFullScreen:"全画面表示を終了する",fullScreen:"全画面表示",open:"拡大する",query:"クエリ",reset:"リセット",selfDefine:"フィルタークエリ条件"},hbListTable:{noData:"まだデータがありません"},hbMultiSelectModal:{pleaseSelect:"選択してください"},hbTableAct:{confirmContent:"内容を確認する",more:"もっと",secendConfirm:"2回目の確認"},HbImportFile:{clickUp:"クリックしてアップロード",downloadTemplate:"クリックしてテンプレートをダウンロード",pleaseUploadFiles:"ファイルをアップロードしてください",uploadText:"ファイルをここにドラッグするか、",fileLabel:"書類",importBtn:"ファイルのアップロード"},HbFuncCompCopy:{copy:"コピー",copyFail:"コピーに失敗しました",copySuccess:"正常にコピーされました"},HbLibDetailBox:{back:"戻る"}}},Fl={hbLibComp:{hbFormItemFilterModal:{titleTip:"已显示条件",mostMore:"最多可选",mostMoreTip:"个条件,拖拽可以调整排序",notShowTip:"未显示条件",add:"添加",noData:"暂无数据",cancel:"取消",confirm:"确定",moreConditionSearch:"多项搜索",title:"自定义查询条件",overTip1:"当前已经超过",overTip2:"个可选数量,请先删除已显示条件"},hbFormSelectFilter:{allSelect:"全选",close:"关闭"},hbListPageAct:{query:"查询",reset:"重置",selfDefine:"筛选查询条件",open:"展开",close:"收起",fullScreen:"全屏",exitFullScreen:"退出全屏"},hbListBtnsAct:{reload:"刷新数据",open:"展开查询条件",close:"收起查询条件"},hbTableAct:{more:"更多",secendConfirm:"二次确认",confirmContent:"确认内容"},hbMultiSelectModal:{pleaseSelect:"请选择"},hbListTable:{noData:"暂时没有数据"},hbLibListTableColumsSet:{popoverTitle:"自定义列",title:"表格字段设置",fix:"固定",cancelFix:"取消固定",allSelect:"全选",confirm:"确定",errorTip:"不能将列移动到固定列位置",reset:"还原"},hbLibListForm:{queryCase:"查询方案",addScheme:"添加方案",editScheme:"编辑方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载",format:"支持格式"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"},HbImportFile:{uploadText:"将文件拖到此处或",clickUp:"请上传文件",downloadTemplate:"点击下载模板",pleaseUploadFiles:"请上传文件",fileLabel:"文件",importBtn:"文件上传"},HbFuncCompCopy:{copySuccess:"复制成功",copyFail:"复制失败",copy:"复制"},HbLibDetailBox:{back:"返回"},HbLibLoading:{loadingTips:"加载中...如长时间加载请重试!"}}},Vl={hbLibComp:{HbFileUploadModal:{cancel:"Stornieren",clickUpload:"Klicken Sie zum Hochladen",confirmImport:"Bestätigen Sie den Import",dataImport:"Daten importieren",downloadTemplate:"Importvorlage herunterladen",dragFile:"Ziehen Sie Dateien hierher oder",file:"dokumentieren",fileUpload:"Dateiimport",maxSupport:"Am meisten unterstützt",onlySupport:"Unterstützt nur",placeSelect:"Bitte auswählen",selectFile:"Bitte wählen Sie die hochzuladende Datei aus",format:"Unterstützte Formate"},HbLogModal:{close:"Schließung",operateContent:"Inhalt der Operation",operateLogs:"Betriebsprotokoll",operateTime:"Betriebszeit",operator:"Operator"},hbFormItemFilterModal:{add:"Hinzufügen zu",cancel:"Stornieren",confirm:"Sicher",moreConditionSearch:"Mehrere Suchanfragen",mostMore:"Höchstens optional",mostMoreTip:"Bedingungen anpassen, per Drag-and-Drop die Sortierung anpassen",noData:"Noch keine Daten",notShowTip:"Keine Bedingungen angezeigt",titleTip:"Bedingungen angezeigt",overTip1:"Derzeit überschritten",overTip2:"Optionale Menge, bitte löschen Sie zuerst die angezeigten Konditionen",title:"Benutzerdefinierte Abfragebedingungen"},hbFormSelectFilter:{allSelect:"Alles auswählen",close:"Schließung"},hbLibListForm:{queryCase:"Abfrageplan",addScheme:"Szenario hinzufügen",editScheme:"Plan bearbeiten"},hbLibListTableColumsSet:{allSelect:"Alles auswählen",cancelFix:"Lösen",confirm:"Sicher",errorTip:"Die Spalte kann nicht in eine feste Spaltenposition verschoben werden",fix:"behoben",popoverTitle:"Benutzerdefinierte Spalten",title:"Tabellenfeldeinstellungen",reset:"Reduktion"},hbListBtnsAct:{close:"Abfragebedingungen schließen",open:"Abfragebedingungen erweitern",reload:"Daten aktualisieren"},hbListPageAct:{close:"schließen",exitFullScreen:"Verlassen Sie den Vollbildmodus",fullScreen:"Vollbild",open:"Expandieren",query:"Abfrage",reset:"zurücksetzen",selfDefine:"Abfragebedingungen filtern"},hbListTable:{noData:"Noch keine Daten"},hbMultiSelectModal:{pleaseSelect:"Bitte auswählen"},hbTableAct:{confirmContent:"Inhalt bestätigen",more:"Mehr",secendConfirm:"Zweite Bestätigung"},HbImportFile:{clickUp:"Klicken Sie zum Hochladen",downloadTemplate:"Klicken Sie hier, um die Vorlage herunterzuladen",pleaseUploadFiles:"Bitte laden Sie Dateien hoch",uploadText:"Ziehen Sie Dateien hierher oder",fileLabel:"dokumentieren",importBtn:"Datei-Upload"},HbFuncCompCopy:{copy:"Kopie",copyFail:"Der Kopiervorgang ist fehlgeschlagen",copySuccess:"Erfolgreich kopiert"},HbLibDetailBox:{back:"zurückkehren"}}};var ie={exports:{}},El=ie.exports,Fe;function Hl(){return Fe||(Fe=1,(function(t,o){(function(l,i){t.exports=i(ne)})(El,(function(l){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var c=i(l),d={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r,m){return m==="W"?r+"周":r+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(r,m){var n=100*r+m;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return c.default.locale(d,null,!0),d}))})(ie)),ie.exports}Hl(),ne.locale("zh-cn");const $l={en_US:Tl,ja_JP:Nl,zh_CN:Fl,de_DE:Vl},Il=function(t,o={}){t.provide("globalCompConfig",o||{}),Object.keys(we).forEach(i=>{t.use(we[i])}),Object.entries(Bl).forEach(([i,c])=>{t.directive(i,c)})};R.install=Il,R.locales=$l,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hb-hellotech/hb-ui",
3
- "version": "1.3.15-beta.2",
3
+ "version": "1.3.15-beta.4",
4
4
  "type": "module",
5
5
  "main": "dist/hb_component_lib.umd.cjs",
6
6
  "module": "dist/hb_component_lib.js",