@hb-hellotech/hb-ui 1.2.1 → 1.2.2

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.
@@ -1 +1 @@
1
- [data-v-6ceb65e8]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-6ceb65e8] .ant-modal-header{border-bottom:1px solid var(--hb-border-color);margin-bottom:var(--hb-space)}.hb-sfcm__title[data-v-6ceb65e8]{font-size:var(--hb-h1-font-size);font-weight:700;color:var(--hb-title-color)}.hb-sfcm__title__tip[data-v-6ceb65e8]{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-6ceb65e8]: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-6ceb65e8]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__show__tag__item[data-v-6ceb65e8]{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-6ceb65e8]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-fixed[data-v-6ceb65e8]{background:none;color:#9ca3af;border:1px solid var(--hb-border-color);cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-6ceb65e8]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-6ceb65e8]:hover{background:#ff7875;border-color:#ff7875}.hb-sfcm__unshow__tag[data-v-6ceb65e8]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__unshow__tag__item[data-v-6ceb65e8]{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-6ceb65e8]{color:#ff7875;border-color:#ff7875}.hb-sfcm__show__tag__item-close[data-v-6ceb65e8]{margin-left:6px;cursor:pointer}.hb-sfcm__show__tag__item-close[data-v-6ceb65e8]:hover{transform:scale(1.3)}.hb-sfcm__unshow__tag__item-add[data-v-6ceb65e8]{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-6ceb65e8]{text-align:center;color:var(--hb-border-color)}[data-v-a1fedfa4]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-form[data-v-a1fedfa4] .ant-form-item{margin-bottom:var(--hb-space)}.hb-form .hb-form__footer[data-v-a1fedfa4]{display:flex;justify-content:space-between}.hb-lib-form--container[data-v-a1fedfa4]{overflow:hidden;margin:6px}.hide[data-v-a1fedfa4]{height:0}.hb-form__form-item-col[data-v-a1fedfa4]{flex:0 0 auto;min-width:200px;width:auto;padding-right:var(--hb-space);margin-bottom:16px}.form-footer[data-v-a1fedfa4]{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{width:16px;height:34px;margin-right:13px;cursor:pointer}.hb-lib-form-svg .icon{width:100%;height:100%}.hb-form-item-ui .ant-form-item.hb-lib-form-item-border--unneed{border:none!important}[data-v-cb524b69]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-cb524b69]{margin-right:var(--hb-space)}[data-v-0ab77a2c]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-0ab77a2c]{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-0ab77a2c]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-0ab77a2c]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-0ab77a2c]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-0ab77a2c]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-0ab77a2c]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-0ab77a2c]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-0ab77a2c]{display:flex;align-items:center}.flex-between[data-v-11422adb]{display:flex;justify-content:space-between;align-items:center}.flex-center[data-v-11422adb]{display:flex;align-items:center}.hb-lib-selector-wrapper[data-v-11422adb]{position:relative}.hb-lib-selector-wrapper .ant-input[data-v-11422adb]{cursor:pointer}.has-prefix[data-v-11422adb]: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-11422adb] .ant-select-selector{padding-left:calc(12px + var(--prefix-width, 0px))}.has-prefix[data-v-11422adb] .ant-select-selection-placeholder{padding-left:var(--prefix-width, 0px)}.hb-lib-selector-dropdown[data-v-11422adb]{padding:8px;min-width:200px}.hb-lib-selector-search[data-v-11422adb]{margin-bottom:8px}.hb-lib-selector-list[data-v-11422adb]{max-height:200px;overflow-y:auto}.hb-lib-selector-list[data-v-11422adb]::-webkit-scrollbar{width:6px}.hb-lib-selector-list[data-v-11422adb]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hb-lib-selector-list[data-v-11422adb]::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.hb-lib-selector-list[data-v-11422adb]::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.hb-lib-selector-option[data-v-11422adb]{display:flex;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:all .2s ease;gap:8px}.hb-lib-selector-option[data-v-11422adb]:hover{background-color:#f5f5f5}.hb-lib-selector-option.selected[data-v-11422adb]{background-color:#e6f7ff}.hb-lib-option-content[data-v-11422adb]{flex:1}.hb-lib-option-label[data-v-11422adb]{font-weight:500;color:#262626}.hb-lib-selector-empty[data-v-11422adb]{text-align:center;color:#bfbfbf;padding:20px 0;font-size:14px}.hb-lib-selector-footer[data-v-11422adb]{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-11422adb]{display:flex;gap:8px}.selector-tag[data-v-11422adb]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.selector-tag .tag-label[data-v-11422adb]{font-weight:500}.selector-tag .tag-description[data-v-11422adb]{margin-left:4px;font-size:12px;opacity:.8}.rotate-180[data-v-11422adb]{transform:rotate(180deg)}.transition-transform[data-v-11422adb]{transition:transform .2s}.hb-lib-search-tag[data-v-11422adb]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.hb-lib-search-tag__description[data-v-11422adb]{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-ecac600b]{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-ecac600b],.hb-lib-table-act-box .hb-lib-table-more-action[data-v-ecac600b]{text-decoration:none}.hb-lib-table-act-box .hb-lib-table-more-action[data-v-ecac600b]{display:inline-flex;align-items:center}.hb-lib-table-confirm-modal-content[data-v-ecac600b]{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-fcaf1bf5]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-fcaf1bf5] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-fcaf1bf5]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-fcaf1bf5] .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-c9fc6c04]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-c9fc6c04]{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-c9fc6c04]{display:flex;justify-content:space-between;width:100%;align-items:center}.ant-alert .com-alert a[data-v-c9fc6c04]{color:#ff5000}.select-all-container[data-v-c9fc6c04]{padding:8px 0}.hb-lib-table-setting-box[data-v-c9fc6c04]{display:flex}.hb-lib-table-set-drag[data-v-c9fc6c04]{max-height:300px;overflow-y:auto}.hb-lib-table-drag-item[data-v-c9fc6c04]{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-c9fc6c04]:hover{background-color:#f5f5f5}.hb-lib-table-drag-item .drag-handle[data-v-c9fc6c04]{cursor:move;color:#999;padding:4px;-webkit-user-select:none;user-select:none}.ghost[data-v-c9fc6c04]{opacity:.5;background:#c8ebfb}.table-setting-checkbox-group[data-v-c9fc6c04]{display:flex;flex-wrap:wrap}.table-setting-checkbox-group[data-v-c9fc6c04] .ant-checkbox-group-item{margin-right:0;width:33.33%}.hb-lib-table-set-btn-group[data-v-c9fc6c04]{margin-top:10px;display:flex;justify-content:end;align-items:center;border-top:1px solid #f0f0f0;padding-top:8px}.drag-hide[data-v-c9fc6c04]{visibility:hidden}.hb-lib-table-drag-item-act-btn[data-v-c9fc6c04]{display:inline-block;cursor:pointer;width:14px;height:20px}.hb-lib-table-drag-item-act-btn .icon[data-v-c9fc6c04]{width:100%;height:100%}.hb-lib-table-col-set[data-v-c9fc6c04]{display:inline-block;cursor:pointer;width:22px;height:23px}.hb-lib-table-col-set .icon[data-v-c9fc6c04]{width:100%;height:100%}.hb-lib-table-drag-item-act[data-v-c9fc6c04]{display:flex;align-items:center;width:40px;justify-content:space-between}.alertInfoContent{width:auto!important}.hb-lib-copy-text-eyevue[data-v-d5ca4420]{font-size:17px;cursor:pointer}.hb-lib-copy-text-eyevue.ab[data-v-d5ca4420]{position:absolute;right:34px;top:50%;transform:translateY(-50%);background:#fff}.hb-lib-copy-text-eyevue.normal[data-v-d5ca4420]{position:relative}.drag-slot-wrapper[data-v-15b227f5]{cursor:move;padding:8px;background-color:#f9f9f9;border:1px solid #eee;margin-bottom:10px}:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-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}.list-page-box .ant-table-bordered.ant-table-fixed-header .ant-table-body>table{height:var(--hb-list-ttable-height)!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 #d1d5db!important;border-radius:var(--hb-border-radius)!important;margin-bottom:var(--hb-space)!important;margin-right:var(--hb-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-form-item-label>label{padding:0 0 0 var(--hb-space)}.hb-form-item-ui .ant-select-selector{border:none!important;border-radius:var(--hb-border-radius)!important;padding:0px var(--hb-space) 0px var(--hb-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-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}
1
+ [data-v-6ceb65e8]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-6ceb65e8] .ant-modal-header{border-bottom:1px solid var(--hb-border-color);margin-bottom:var(--hb-space)}.hb-sfcm__title[data-v-6ceb65e8]{font-size:var(--hb-h1-font-size);font-weight:700;color:var(--hb-title-color)}.hb-sfcm__title__tip[data-v-6ceb65e8]{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-6ceb65e8]: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-6ceb65e8]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__show__tag__item[data-v-6ceb65e8]{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-6ceb65e8]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-fixed[data-v-6ceb65e8]{background:none;color:#9ca3af;border:1px solid var(--hb-border-color);cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-6ceb65e8]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-6ceb65e8]:hover{background:#ff7875;border-color:#ff7875}.hb-sfcm__unshow__tag[data-v-6ceb65e8]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__unshow__tag__item[data-v-6ceb65e8]{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-6ceb65e8]{color:#ff7875;border-color:#ff7875}.hb-sfcm__show__tag__item-close[data-v-6ceb65e8]{margin-left:6px;cursor:pointer}.hb-sfcm__show__tag__item-close[data-v-6ceb65e8]:hover{transform:scale(1.3)}.hb-sfcm__unshow__tag__item-add[data-v-6ceb65e8]{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-6ceb65e8]{text-align:center;color:var(--hb-border-color)}[data-v-a1fedfa4]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-form[data-v-a1fedfa4] .ant-form-item{margin-bottom:var(--hb-space)}.hb-form .hb-form__footer[data-v-a1fedfa4]{display:flex;justify-content:space-between}.hb-lib-form--container[data-v-a1fedfa4]{overflow:hidden;margin:6px}.hide[data-v-a1fedfa4]{height:0}.hb-form__form-item-col[data-v-a1fedfa4]{flex:0 0 auto;min-width:200px;width:auto;padding-right:var(--hb-space);margin-bottom:16px}.form-footer[data-v-a1fedfa4]{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{width:16px;height:34px;margin-right:13px;cursor:pointer}.hb-lib-form-svg .icon{width:100%;height:100%}.hb-form-item-ui .ant-form-item.hb-lib-form-item-border--unneed{border:none!important}[data-v-cb524b69]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-cb524b69]{margin-right:var(--hb-space)}[data-v-0ab77a2c]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-0ab77a2c]{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-0ab77a2c]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-0ab77a2c]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-0ab77a2c]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-0ab77a2c]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-0ab77a2c]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-0ab77a2c]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-0ab77a2c]{display:flex;align-items:center}.flex-between[data-v-11422adb]{display:flex;justify-content:space-between;align-items:center}.flex-center[data-v-11422adb]{display:flex;align-items:center}.hb-lib-selector-wrapper[data-v-11422adb]{position:relative}.hb-lib-selector-wrapper .ant-input[data-v-11422adb]{cursor:pointer}.has-prefix[data-v-11422adb]: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-11422adb] .ant-select-selector{padding-left:calc(12px + var(--prefix-width, 0px))}.has-prefix[data-v-11422adb] .ant-select-selection-placeholder{padding-left:var(--prefix-width, 0px)}.hb-lib-selector-dropdown[data-v-11422adb]{padding:8px;min-width:200px}.hb-lib-selector-search[data-v-11422adb]{margin-bottom:8px}.hb-lib-selector-list[data-v-11422adb]{max-height:200px;overflow-y:auto}.hb-lib-selector-list[data-v-11422adb]::-webkit-scrollbar{width:6px}.hb-lib-selector-list[data-v-11422adb]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hb-lib-selector-list[data-v-11422adb]::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.hb-lib-selector-list[data-v-11422adb]::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.hb-lib-selector-option[data-v-11422adb]{display:flex;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:all .2s ease;gap:8px}.hb-lib-selector-option[data-v-11422adb]:hover{background-color:#f5f5f5}.hb-lib-selector-option.selected[data-v-11422adb]{background-color:#e6f7ff}.hb-lib-option-content[data-v-11422adb]{flex:1}.hb-lib-option-label[data-v-11422adb]{font-weight:500;color:#262626}.hb-lib-selector-empty[data-v-11422adb]{text-align:center;color:#bfbfbf;padding:20px 0;font-size:14px}.hb-lib-selector-footer[data-v-11422adb]{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-11422adb]{display:flex;gap:8px}.selector-tag[data-v-11422adb]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.selector-tag .tag-label[data-v-11422adb]{font-weight:500}.selector-tag .tag-description[data-v-11422adb]{margin-left:4px;font-size:12px;opacity:.8}.rotate-180[data-v-11422adb]{transform:rotate(180deg)}.transition-transform[data-v-11422adb]{transition:transform .2s}.hb-lib-search-tag[data-v-11422adb]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.hb-lib-search-tag__description[data-v-11422adb]{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-ecac600b]{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-ecac600b],.hb-lib-table-act-box .hb-lib-table-more-action[data-v-ecac600b]{text-decoration:none}.hb-lib-table-act-box .hb-lib-table-more-action[data-v-ecac600b]{display:inline-flex;align-items:center}.hb-lib-table-confirm-modal-content[data-v-ecac600b]{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-13ac2d2d]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-13ac2d2d] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-13ac2d2d]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-13ac2d2d] .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-c9fc6c04]:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-c9fc6c04]{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-c9fc6c04]{display:flex;justify-content:space-between;width:100%;align-items:center}.ant-alert .com-alert a[data-v-c9fc6c04]{color:#ff5000}.select-all-container[data-v-c9fc6c04]{padding:8px 0}.hb-lib-table-setting-box[data-v-c9fc6c04]{display:flex}.hb-lib-table-set-drag[data-v-c9fc6c04]{max-height:300px;overflow-y:auto}.hb-lib-table-drag-item[data-v-c9fc6c04]{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-c9fc6c04]:hover{background-color:#f5f5f5}.hb-lib-table-drag-item .drag-handle[data-v-c9fc6c04]{cursor:move;color:#999;padding:4px;-webkit-user-select:none;user-select:none}.ghost[data-v-c9fc6c04]{opacity:.5;background:#c8ebfb}.table-setting-checkbox-group[data-v-c9fc6c04]{display:flex;flex-wrap:wrap}.table-setting-checkbox-group[data-v-c9fc6c04] .ant-checkbox-group-item{margin-right:0;width:33.33%}.hb-lib-table-set-btn-group[data-v-c9fc6c04]{margin-top:10px;display:flex;justify-content:end;align-items:center;border-top:1px solid #f0f0f0;padding-top:8px}.drag-hide[data-v-c9fc6c04]{visibility:hidden}.hb-lib-table-drag-item-act-btn[data-v-c9fc6c04]{display:inline-block;cursor:pointer;width:14px;height:20px}.hb-lib-table-drag-item-act-btn .icon[data-v-c9fc6c04]{width:100%;height:100%}.hb-lib-table-col-set[data-v-c9fc6c04]{display:inline-block;cursor:pointer;width:22px;height:23px}.hb-lib-table-col-set .icon[data-v-c9fc6c04]{width:100%;height:100%}.hb-lib-table-drag-item-act[data-v-c9fc6c04]{display:flex;align-items:center;width:40px;justify-content:space-between}.alertInfoContent{width:auto!important}.hb-lib-copy-text-eyevue[data-v-d5ca4420]{font-size:17px;cursor:pointer}.hb-lib-copy-text-eyevue.ab[data-v-d5ca4420]{position:absolute;right:34px;top:50%;transform:translateY(-50%);background:#fff}.hb-lib-copy-text-eyevue.normal[data-v-d5ca4420]{position:relative}.drag-slot-wrapper[data-v-15b227f5]{cursor:move;padding:8px;background-color:#f9f9f9;border:1px solid #eee;margin-bottom:10px}:root{--hb-theme-color: #ff5000;--hb-title-color: #333;--hb-space: 10px;--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-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}.list-page-box .ant-table-bordered.ant-table-fixed-header .ant-table-body>table{height:var(--hb-list-ttable-height)!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 #d1d5db!important;border-radius:var(--hb-border-radius)!important;margin-bottom:var(--hb-space)!important;margin-right:var(--hb-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-form-item-label>label{padding:0 0 0 var(--hb-space)}.hb-form-item-ui .ant-select-selector{border:none!important;border-radius:var(--hb-border-radius)!important;padding:0px var(--hb-space) 0px var(--hb-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-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}
@@ -1,5 +1,5 @@
1
1
  import './hb_component_lib.css';
2
- import { defineComponent as te, reactive as Je, ref as R, computed as W, watch as ce, createElementBlock as S, openBlock as a, normalizeClass as E, unref as n, createVNode as F, withCtx as s, createElementVNode as v, toDisplayString as _, createTextVNode as A, createBlock as z, createCommentVNode as N, Fragment as J, renderList as ne, inject as we, resolveComponent as q, Transition as Xe, withDirectives as ie, mergeProps as X, createSlots as Ge, renderSlot as j, vShow as et, nextTick as he, onMounted as Fe, onUnmounted as tt, useTemplateRef as lt, provide as ot, normalizeStyle as pe, mergeModels as Me, useModel as at, withModifiers as ke, resolveDirective as nt, watchEffect as st, shallowRef as it, resolveDynamicComponent as rt } from "vue";
2
+ import { defineComponent as te, reactive as Je, ref as R, computed as W, watch as ce, createElementBlock as S, openBlock as a, normalizeClass as E, unref as n, createVNode as F, withCtx as s, createElementVNode as v, toDisplayString as _, createTextVNode as A, createBlock as z, createCommentVNode as P, Fragment as Q, renderList as ne, inject as we, resolveComponent as q, Transition as Xe, withDirectives as ie, mergeProps as X, createSlots as Ge, renderSlot as j, vShow as et, nextTick as he, onMounted as Fe, onUnmounted as tt, useTemplateRef as lt, provide as ot, normalizeStyle as pe, mergeModels as Me, useModel as at, withModifiers as ke, resolveDirective as nt, watchEffect as st, shallowRef as it, resolveDynamicComponent as rt } from "vue";
3
3
  import fe from "vuedraggable";
4
4
  import { CloseOutlined as ct, QuestionCircleOutlined as dt, SearchOutlined as xe, UpCircleOutlined as ut, DownCircleOutlined as ht, UnorderedListOutlined as bt, DownOutlined as Ie } from "@ant-design/icons-vue";
5
5
  import { Modal as _e, Button as de, Tooltip as He, Switch as Ae, Radio as De, RadioGroup as Oe, InputNumber as Be, DatePicker as Re, Checkbox as me, CheckboxGroup as ze, Select as Ne, Input as Pe, Col as ft, Row as mt, FormItem as Ve, Form as Ee, SelectOption as Ue, Popconfirm as Ce, MenuItem as Ye, Menu as je, Dropdown as qe, Popover as pt, message as Se } from "ant-design-vue";
@@ -46,11 +46,11 @@ const yt = "hb-", Te = (e = "") => {
46
46
  const O = k.draggedContext.element, g = k.relatedContext.index;
47
47
  if (O.isLinked || O.isFixed)
48
48
  return !1;
49
- const Y = y.value.map((Q, ae) => ({ item: Q, index: ae })).filter(({ item: Q }) => Q.isLinked).map(({ index: Q }) => Q);
49
+ const Y = y.value.map((G, ae) => ({ item: G, index: ae })).filter(({ item: G }) => G.isLinked).map(({ index: G }) => G);
50
50
  if (Y.length === 0)
51
51
  return !0;
52
- for (let Q = 0; Q < Y.length - 1; Q++) {
53
- const ae = Y[Q], ue = Y[Q + 1];
52
+ for (let G = 0; G < Y.length - 1; G++) {
53
+ const ae = Y[G], ue = Y[G + 1];
54
54
  if (g > ae && g < ue)
55
55
  return !1;
56
56
  }
@@ -77,14 +77,14 @@ const yt = "hb-", Te = (e = "") => {
77
77
  const g = JSON.parse(O);
78
78
  if (g.originalList && Array.isArray(g.originalList)) {
79
79
  C = JSON.parse(JSON.stringify(g.originalList));
80
- const Y = C.filter((x) => x?.isFixed), Q = C.filter((x) => x?.isLinked), ae = g.showList.filter((x) => !x.isFixed && !x.isLinked), ue = c.showNumber && c.showNumber > 0 ? Math.max(0, c.showNumber - Y.length - Q.length) : ae.length, ve = Y.map((x) => ({
80
+ const Y = C.filter((x) => x?.isFixed), G = C.filter((x) => x?.isLinked), ae = g.showList.filter((x) => !x.isFixed && !x.isLinked), ue = c.showNumber && c.showNumber > 0 ? Math.max(0, c.showNumber - Y.length - G.length) : ae.length, ve = Y.map((x) => ({
81
81
  ...x,
82
82
  label: w(x) || `${x.subLabel || ""}${i("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
83
83
  key: x.key,
84
84
  isFixed: x?.isFixed || !1,
85
85
  isLinked: x?.isLinked || !1,
86
86
  labelLanguage: x?.labelLanguage || void 0
87
- })), ge = Q.map((x) => ({
87
+ })), ge = G.map((x) => ({
88
88
  ...x,
89
89
  label: w(x) || `${x.subLabel || ""}${i("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
90
90
  key: x.key,
@@ -142,7 +142,7 @@ const yt = "hb-", Te = (e = "") => {
142
142
  (k) => {
143
143
  if (!l() && C.length === 0) {
144
144
  C = JSON.parse(JSON.stringify(k));
145
- const g = k.filter((H) => H?.isFixed), Y = k.filter((H) => H?.isLinked), Q = k.filter((H) => !H?.isFixed && !H?.isLinked), ae = c.showNumber && c.showNumber > 0 ? Math.max(0, c.showNumber - g.length - Y.length) : Q.length, ue = g.map((H) => ({
145
+ const g = k.filter((H) => H?.isFixed), Y = k.filter((H) => H?.isLinked), G = k.filter((H) => !H?.isFixed && !H?.isLinked), ae = c.showNumber && c.showNumber > 0 ? Math.max(0, c.showNumber - g.length - Y.length) : G.length, ue = g.map((H) => ({
146
146
  ...H,
147
147
  label: w(H) || `${H.subLabel || ""}${i("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
148
148
  key: H.key,
@@ -156,7 +156,7 @@ const yt = "hb-", Te = (e = "") => {
156
156
  isFixed: H?.isFixed || !1,
157
157
  isLinked: !0,
158
158
  labelLanguage: H?.labelLanguage || void 0
159
- })), ge = Q.slice(0, ae).map((H) => ({
159
+ })), ge = G.slice(0, ae).map((H) => ({
160
160
  ...H,
161
161
  label: w(H) || `${H.subLabel || ""}${i("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
162
162
  key: H.key,
@@ -165,7 +165,7 @@ const yt = "hb-", Te = (e = "") => {
165
165
  labelLanguage: H?.labelLanguage || void 0
166
166
  }));
167
167
  y.value = [...ue, ...ve, ...ge];
168
- const ye = Q.slice(ae).map((H) => ({
168
+ const ye = G.slice(ae).map((H) => ({
169
169
  ...H,
170
170
  label: w(H) || `${H.subLabel || ""}${i("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
171
171
  key: H.key,
@@ -192,11 +192,11 @@ const yt = "hb-", Te = (e = "") => {
192
192
  }
193
193
  }, U = () => {
194
194
  D.value = !1;
195
- }, P = () => {
195
+ }, N = () => {
196
196
  D.value = !0;
197
197
  }, ee = () => {
198
198
  o(), t("confirm", y.value), U();
199
- }, G = (k) => {
199
+ }, J = (k) => {
200
200
  const O = I.value.findIndex((g) => g.key === k.key);
201
201
  O !== -1 && (I.value[O].active = !0);
202
202
  }, K = (k) => {
@@ -204,7 +204,7 @@ const yt = "hb-", Te = (e = "") => {
204
204
  O !== -1 && (I.value[O].active = !1);
205
205
  };
206
206
  return f({
207
- toOpenModal: P
207
+ toOpenModal: N
208
208
  }), (k, O) => (a(), S("div", {
209
209
  class: E(n(h).b())
210
210
  }, [
@@ -269,7 +269,7 @@ const yt = "hb-", Te = (e = "") => {
269
269
  key: 0,
270
270
  class: E(n(h).e("show__tag__item-close")),
271
271
  onClick: (Y) => L(g)
272
- }, null, 8, ["class", "onClick"])) : N("", !0)
272
+ }, null, 8, ["class", "onClick"])) : P("", !0)
273
273
  ], 2)
274
274
  ]),
275
275
  _: 1
@@ -289,10 +289,10 @@ const yt = "hb-", Te = (e = "") => {
289
289
  v("div", {
290
290
  class: E(n(h).e("unshow__tag"))
291
291
  }, [
292
- I.value.length > 0 ? (a(!0), S(J, { key: 0 }, ne(I.value, (g) => (a(), S("div", {
292
+ I.value.length > 0 ? (a(!0), S(Q, { key: 0 }, ne(I.value, (g) => (a(), S("div", {
293
293
  class: E([n(h).e("unshow__tag__item"), n(h).is("fixed", g.isFixed || ""), n(h).is("linked", g.isLinked || "")]),
294
294
  key: g.key,
295
- onMouseenter: (Y) => G(g),
295
+ onMouseenter: (Y) => J(g),
296
296
  onMouseleave: (Y) => K(g)
297
297
  }, [
298
298
  A(_(g.label) + " ", 1),
@@ -300,7 +300,7 @@ const yt = "hb-", Te = (e = "") => {
300
300
  key: 0,
301
301
  class: E(n(h).e("unshow__tag__item-add")),
302
302
  onClick: (Y) => r(g)
303
- }, _(k.$t("hbLibComp.hbFormItemFilterModal.add")), 11, kt)) : N("", !0)
303
+ }, _(k.$t("hbLibComp.hbFormItemFilterModal.add")), 11, kt)) : P("", !0)
304
304
  ], 42, Lt))), 128)) : (a(), S("div", {
305
305
  key: 1,
306
306
  class: E(n(h).e("unshow__tag__empty"))
@@ -413,7 +413,7 @@ const yt = "hb-", Te = (e = "") => {
413
413
  Tooltip: He
414
414
  }), (w, l) => {
415
415
  const o = q("a-button"), d = q("a-tooltip"), L = q("HbLibFormItemFilterModal");
416
- return a(), S(J, null, [
416
+ return a(), S(Q, null, [
417
417
  F(Xe, {
418
418
  name: "form-collapse",
419
419
  onEnter: I,
@@ -432,7 +432,7 @@ const yt = "hb-", Te = (e = "") => {
432
432
  class: ["hb-lib-form--container", c.value == "show" ? "" : "hide"]
433
433
  }), {
434
434
  default: s(() => [
435
- (a(!0), S(J, null, ne(t.value, (r, U) => (a(), z(n(Ve), X({
435
+ (a(!0), S(Q, null, ne(t.value, (r, U) => (a(), z(n(Ve), X({
436
436
  key: U,
437
437
  ref_for: !0
438
438
  }, r, {
@@ -444,86 +444,86 @@ const yt = "hb-", Te = (e = "") => {
444
444
  key: 0,
445
445
  formData: e.formData,
446
446
  item: r
447
- }, void 0, !0) : N("", !0),
447
+ }, void 0, !0) : P("", !0),
448
448
  r.type === "mixin" ? j(w.$slots, r.key, {
449
449
  key: 1,
450
450
  formData: e.formData,
451
451
  item: r
452
- }, void 0, !0) : N("", !0),
452
+ }, void 0, !0) : P("", !0),
453
453
  r.type === "input" ? (a(), z(n(Pe), X({
454
454
  key: 2,
455
455
  value: e.formData[r.key],
456
- "onUpdate:value": (P) => e.formData[r.key] = P
457
- }, { ref_for: !0 }, r.attrs), null, 16, ["value", "onUpdate:value"])) : N("", !0),
456
+ "onUpdate:value": (N) => e.formData[r.key] = N
457
+ }, { ref_for: !0 }, r.attrs), null, 16, ["value", "onUpdate:value"])) : P("", !0),
458
458
  r.type === "select" ? (a(), z(n(Ne), X({
459
459
  key: 3,
460
460
  value: e.formData[r.key],
461
- "onUpdate:value": (P) => e.formData[r.key] = P
461
+ "onUpdate:value": (N) => e.formData[r.key] = N
462
462
  }, { ref_for: !0 }, r.attrs), {
463
463
  default: s(() => [
464
- (a(!0), S(J, null, ne(r.options, (P, ee) => (a(), z(n(Ue), {
464
+ (a(!0), S(Q, null, ne(r.options, (N, ee) => (a(), z(n(Ue), {
465
465
  key: ee,
466
- value: P.value
466
+ value: N.value
467
467
  }, {
468
468
  default: s(() => [
469
- A(_(P.label), 1)
469
+ A(_(N.label), 1)
470
470
  ]),
471
471
  _: 2
472
472
  }, 1032, ["value"]))), 128))
473
473
  ]),
474
474
  _: 2
475
- }, 1040, ["value", "onUpdate:value"])) : N("", !0),
475
+ }, 1040, ["value", "onUpdate:value"])) : P("", !0),
476
476
  r.type === "checkbox" ? (a(), z(n(ze), X({
477
477
  key: 4,
478
478
  value: e.formData[r.key],
479
- "onUpdate:value": (P) => e.formData[r.key] = P
479
+ "onUpdate:value": (N) => e.formData[r.key] = N
480
480
  }, { ref_for: !0 }, r.attrs), {
481
481
  default: s(() => [
482
- (a(!0), S(J, null, ne(r.options, (P, ee) => (a(), z(n(me), {
482
+ (a(!0), S(Q, null, ne(r.options, (N, ee) => (a(), z(n(me), {
483
483
  key: ee,
484
- value: P.value
484
+ value: N.value
485
485
  }, {
486
486
  default: s(() => [
487
- A(_(P.label), 1)
487
+ A(_(N.label), 1)
488
488
  ]),
489
489
  _: 2
490
490
  }, 1032, ["value"]))), 128))
491
491
  ]),
492
492
  _: 2
493
- }, 1040, ["value", "onUpdate:value"])) : N("", !0),
493
+ }, 1040, ["value", "onUpdate:value"])) : P("", !0),
494
494
  r.type === "date-picker" ? (a(), z(n(Re), X({
495
495
  key: 5,
496
496
  value: e.formData[r.key],
497
- "onUpdate:value": (P) => e.formData[r.key] = P
498
- }, { ref_for: !0 }, r.attrs), null, 16, ["value", "onUpdate:value"])) : N("", !0),
497
+ "onUpdate:value": (N) => e.formData[r.key] = N
498
+ }, { ref_for: !0 }, r.attrs), null, 16, ["value", "onUpdate:value"])) : P("", !0),
499
499
  r.type === "input-number" ? (a(), z(n(Be), X({
500
500
  key: 6,
501
501
  value: e.formData[r.key],
502
- "onUpdate:value": (P) => e.formData[r.key] = P
503
- }, { ref_for: !0 }, r.attrs), null, 16, ["value", "onUpdate:value"])) : N("", !0),
502
+ "onUpdate:value": (N) => e.formData[r.key] = N
503
+ }, { ref_for: !0 }, r.attrs), null, 16, ["value", "onUpdate:value"])) : P("", !0),
504
504
  r.type === "radio" ? (a(), z(n(Oe), X({
505
505
  key: 7,
506
506
  value: e.formData[r.key],
507
- "onUpdate:value": (P) => e.formData[r.key] = P
507
+ "onUpdate:value": (N) => e.formData[r.key] = N
508
508
  }, { ref_for: !0 }, r.attrs), {
509
509
  default: s(() => [
510
- (a(!0), S(J, null, ne(r.options, (P, ee) => (a(), z(n(De), {
510
+ (a(!0), S(Q, null, ne(r.options, (N, ee) => (a(), z(n(De), {
511
511
  key: ee,
512
- value: P.value
512
+ value: N.value
513
513
  }, {
514
514
  default: s(() => [
515
- A(_(P.label), 1)
515
+ A(_(N.label), 1)
516
516
  ]),
517
517
  _: 2
518
518
  }, 1032, ["value"]))), 128))
519
519
  ]),
520
520
  _: 2
521
- }, 1040, ["value", "onUpdate:value"])) : N("", !0),
521
+ }, 1040, ["value", "onUpdate:value"])) : P("", !0),
522
522
  r.type === "switch" ? (a(), z(n(Ae), X({
523
523
  key: 8,
524
524
  checked: e.formData[r.key],
525
- "onUpdate:checked": (P) => e.formData[r.key] = P
526
- }, { ref_for: !0 }, r.attrs), null, 16, ["checked", "onUpdate:checked"])) : N("", !0)
525
+ "onUpdate:checked": (N) => e.formData[r.key] = N
526
+ }, { ref_for: !0 }, r.attrs), null, 16, ["checked", "onUpdate:checked"])) : P("", !0)
527
527
  ]),
528
528
  _: 2
529
529
  }, [
@@ -594,7 +594,7 @@ const yt = "hb-", Te = (e = "") => {
594
594
  ])])
595
595
  ]),
596
596
  _: 1
597
- }, 8, ["title"])) : N("", !0),
597
+ }, 8, ["title"])) : P("", !0),
598
598
  j(w.$slots, "formBtns", {}, void 0, !0)
599
599
  ])
600
600
  ]),
@@ -634,7 +634,7 @@ const yt = "hb-", Te = (e = "") => {
634
634
  ]),
635
635
  _: 1
636
636
  })
637
- ], !0) : N("", !0),
637
+ ], !0) : P("", !0),
638
638
  F(n(de), {
639
639
  type: "primary",
640
640
  onClick: y
@@ -645,7 +645,7 @@ const yt = "hb-", Te = (e = "") => {
645
645
  _: 1
646
646
  })
647
647
  ], 2)
648
- ], 2)) : N("", !0)
648
+ ], 2)) : P("", !0)
649
649
  ], 2), [
650
650
  [et, e.isFormExpanded]
651
651
  ])
@@ -801,7 +801,7 @@ const yt = "hb-", Te = (e = "") => {
801
801
  ])])
802
802
  ]),
803
803
  _: 1
804
- }, 8, ["title"])) : N("", !0),
804
+ }, 8, ["title"])) : P("", !0),
805
805
  e.needOpenOrClose ? (a(), z(t, {
806
806
  key: 1,
807
807
  title: i.value ? `${m.$t("hbLibComp.hbListBtnsAct.close")}` : `${m.$t("hbLibComp.hbListBtnsAct.open")}`
@@ -821,7 +821,7 @@ const yt = "hb-", Te = (e = "") => {
821
821
  ])
822
822
  ]),
823
823
  _: 1
824
- }, 8, ["title"])) : N("", !0),
824
+ }, 8, ["title"])) : P("", !0),
825
825
  j(m.$slots, "btnsRight", {}, void 0, !0)
826
826
  ])
827
827
  ]);
@@ -1030,14 +1030,14 @@ const yt = "hb-", Te = (e = "") => {
1030
1030
  }
1031
1031
  };
1032
1032
  return (l, o) => {
1033
- const d = q("a-tag"), L = q("a-input"), r = q("a-checkbox"), U = q("a-radio"), P = q("a-button"), ee = q("a-select");
1033
+ const d = q("a-tag"), L = q("a-input"), r = q("a-checkbox"), U = q("a-radio"), N = q("a-button"), ee = q("a-select");
1034
1034
  return a(), S("div", X({
1035
1035
  class: "hb-lib-selector-wrapper",
1036
1036
  style: { "--prefix-width": b.value }
1037
1037
  }, l.$attrs), [
1038
1038
  F(ee, {
1039
1039
  value: $.value,
1040
- "onUpdate:value": o[5] || (o[5] = (G) => $.value = G),
1040
+ "onUpdate:value": o[5] || (o[5] = (J) => $.value = J),
1041
1041
  mode: e.multiple ? "multiple" : void 0,
1042
1042
  placeholder: e.placeholder,
1043
1043
  "show-search": !0,
@@ -1053,19 +1053,19 @@ const yt = "hb-", Te = (e = "") => {
1053
1053
  "data-prefix": e.prefix,
1054
1054
  style: { width: "100%" }
1055
1055
  }, {
1056
- tagRender: s(({ value: G, label: K, closable: k, option: O }) => [
1056
+ tagRender: s(({ value: J, label: K, closable: k, option: O }) => [
1057
1057
  F(d, {
1058
1058
  class: "hb-lib-search-tag",
1059
1059
  onClick: o[0] || (o[0] = () => Z(!0))
1060
1060
  }, {
1061
1061
  default: s(() => [
1062
1062
  v("span", Kt, _(K), 1),
1063
- O?.description ? (a(), S("span", Wt, " (" + _(O.description) + ") ", 1)) : N("", !0)
1063
+ O?.description ? (a(), S("span", Wt, " (" + _(O.description) + ") ", 1)) : P("", !0)
1064
1064
  ]),
1065
1065
  _: 2
1066
1066
  }, 1024)
1067
1067
  ]),
1068
- dropdownRender: s(({ menuNode: G }) => [
1068
+ dropdownRender: s(({ menuNode: J }) => [
1069
1069
  v("div", Jt, [
1070
1070
  v("div", Gt, [
1071
1071
  F(L, {
@@ -1085,7 +1085,7 @@ const yt = "hb-", Te = (e = "") => {
1085
1085
  }, 8, ["value"])
1086
1086
  ]),
1087
1087
  v("div", Qt, [
1088
- (a(!0), S(J, null, ne(h.value, (K) => (a(), S("div", {
1088
+ (a(!0), S(Q, null, ne(h.value, (K) => (a(), S("div", {
1089
1089
  key: K.value,
1090
1090
  class: E(["hb-lib-selector-option", { selected: c.value.includes(K.value) }]),
1091
1091
  onClick: () => M(K)
@@ -1108,7 +1108,7 @@ const yt = "hb-", Te = (e = "") => {
1108
1108
  ])
1109
1109
  ], 10, Zt))), 128))
1110
1110
  ]),
1111
- h.value.length === 0 ? (a(), S("div", tl, _(l.$t("hbLibComp.hbFormItemFilterModal.noData")), 1)) : N("", !0),
1111
+ h.value.length === 0 ? (a(), S("div", tl, _(l.$t("hbLibComp.hbFormItemFilterModal.noData")), 1)) : P("", !0),
1112
1112
  e.multiple ? (a(), S("div", ll, [
1113
1113
  F(r, {
1114
1114
  checked: B.value,
@@ -1121,7 +1121,7 @@ const yt = "hb-", Te = (e = "") => {
1121
1121
  _: 1
1122
1122
  }, 8, ["checked", "indeterminate"]),
1123
1123
  v("div", ol, [
1124
- F(P, {
1124
+ F(N, {
1125
1125
  size: "small",
1126
1126
  onClick: y
1127
1127
  }, {
@@ -1130,7 +1130,7 @@ const yt = "hb-", Te = (e = "") => {
1130
1130
  ]),
1131
1131
  _: 1
1132
1132
  }),
1133
- F(P, {
1133
+ F(N, {
1134
1134
  type: "primary",
1135
1135
  size: "small",
1136
1136
  onClick: T
@@ -1144,7 +1144,7 @@ const yt = "hb-", Te = (e = "") => {
1144
1144
  ])) : (a(), S("div", al, [
1145
1145
  o[6] || (o[6] = v("div", null, null, -1)),
1146
1146
  v("div", nl, [
1147
- F(P, {
1147
+ F(N, {
1148
1148
  size: "small",
1149
1149
  onClick: y
1150
1150
  }, {
@@ -1209,7 +1209,7 @@ const yt = "hb-", Te = (e = "") => {
1209
1209
  return f({
1210
1210
  resetInputVal: M
1211
1211
  }), (d, L) => {
1212
- const r = q("a-input"), U = q("a-button"), P = q("a-table"), ee = q("a-modal");
1212
+ const r = q("a-input"), U = q("a-button"), N = q("a-table"), ee = q("a-modal");
1213
1213
  return a(), S("div", {
1214
1214
  class: "hb-lib-multipleSelectModal-box",
1215
1215
  ref_key: "hbMultipSelectModalRef",
@@ -1219,7 +1219,7 @@ const yt = "hb-", Te = (e = "") => {
1219
1219
  readonly: "",
1220
1220
  onClick: T,
1221
1221
  value: m.value,
1222
- "onUpdate:value": L[0] || (L[0] = (G) => m.value = G),
1222
+ "onUpdate:value": L[0] || (L[0] = (J) => m.value = J),
1223
1223
  placeholder: d.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")
1224
1224
  }, {
1225
1225
  addonAfter: s(() => [
@@ -1229,7 +1229,7 @@ const yt = "hb-", Te = (e = "") => {
1229
1229
  }, 8, ["value", "placeholder"]),
1230
1230
  F(ee, {
1231
1231
  visible: p.value,
1232
- "onUpdate:visible": L[1] || (L[1] = (G) => p.value = G),
1232
+ "onUpdate:visible": L[1] || (L[1] = (J) => p.value = J),
1233
1233
  title: e.modelTitle,
1234
1234
  width: e.modalWidth,
1235
1235
  class: "hb-lib-multipleSelectModal-modal"
@@ -1258,16 +1258,16 @@ const yt = "hb-", Te = (e = "") => {
1258
1258
  })
1259
1259
  ]),
1260
1260
  default: s(() => [
1261
- F(P, {
1261
+ F(N, {
1262
1262
  ref_key: "tableRef",
1263
1263
  ref: B,
1264
1264
  columns: C.value,
1265
1265
  dataSource: Z.value,
1266
1266
  rowSelection: { selectedRowKeys: h.value, onChange: o },
1267
- rowKey: (G) => G[e.tableKey],
1267
+ rowKey: (J) => J[e.tableKey],
1268
1268
  scroll: { y: e.tableHeight }
1269
1269
  }, {
1270
- customFilterDropdown: s(({ setSelectedKeys: G, selectedKeys: K, confirm: k, clearFilters: O, column: g }) => [
1270
+ customFilterDropdown: s(({ setSelectedKeys: J, selectedKeys: K, confirm: k, clearFilters: O, column: g }) => [
1271
1271
  v("div", cl, [
1272
1272
  F(r, {
1273
1273
  ref_key: "searchInput",
@@ -1275,7 +1275,7 @@ const yt = "hb-", Te = (e = "") => {
1275
1275
  placeholder: `请输入${g.title}`,
1276
1276
  value: K[0],
1277
1277
  class: "hb-lib-form-item-filter-modal-search-input",
1278
- onChange: (Y) => G(Y.target.value ? [Y.target.value] : []),
1278
+ onChange: (Y) => J(Y.target.value ? [Y.target.value] : []),
1279
1279
  onPressEnter: (Y) => w(K, k, g.dataIndex)
1280
1280
  }, null, 8, ["placeholder", "value", "onChange", "onPressEnter"]),
1281
1281
  v("section", dl, [
@@ -1302,22 +1302,22 @@ const yt = "hb-", Te = (e = "") => {
1302
1302
  ])
1303
1303
  ])
1304
1304
  ]),
1305
- customFilterIcon: s(({ filtered: G }) => [
1305
+ customFilterIcon: s(({ filtered: J }) => [
1306
1306
  F(n(xe), {
1307
- style: pe({ color: G ? "#108ee9" : void 0 })
1307
+ style: pe({ color: J ? "#108ee9" : void 0 })
1308
1308
  }, null, 8, ["style"])
1309
1309
  ]),
1310
- bodyCell: s(({ text: G, column: K }) => [
1310
+ bodyCell: s(({ text: J, column: K }) => [
1311
1311
  D.searchText && D.searchedColumn === K.dataIndex ? (a(), S("span", ul, [
1312
- (a(!0), S(J, null, ne(G.toString().split(new RegExp(`(?<=${D.searchText})|(?=${D.searchText})`, "i")), (k, O) => (a(), S(J, null, [
1312
+ (a(!0), S(Q, null, ne(J.toString().split(new RegExp(`(?<=${D.searchText})|(?=${D.searchText})`, "i")), (k, O) => (a(), S(Q, null, [
1313
1313
  k.toLowerCase() === D.searchText.toLowerCase() ? (a(), S("mark", {
1314
1314
  key: O,
1315
1315
  class: "highlight"
1316
- }, _(k), 1)) : (a(), S(J, { key: 1 }, [
1316
+ }, _(k), 1)) : (a(), S(Q, { key: 1 }, [
1317
1317
  A(_(k), 1)
1318
1318
  ], 64))
1319
1319
  ], 64))), 256))
1320
- ])) : N("", !0)
1320
+ ])) : P("", !0)
1321
1321
  ]),
1322
1322
  _: 1
1323
1323
  }, 8, ["columns", "dataSource", "rowSelection", "rowKey", "scroll"])
@@ -1374,8 +1374,8 @@ const yt = "hb-", Te = (e = "") => {
1374
1374
  }), (y, I) => {
1375
1375
  const T = q("a-divider"), V = nt("has");
1376
1376
  return a(), S("div", fl, [
1377
- (a(!0), S(J, null, ne(t.value, (M, w) => (a(), S(J, { key: w }, [
1378
- M.needConfirm ? (a(), S(J, { key: 0 }, [
1377
+ (a(!0), S(Q, null, ne(t.value, (M, w) => (a(), S(Q, { key: w }, [
1378
+ M.needConfirm ? (a(), S(Q, { key: 0 }, [
1379
1379
  M.confirmType === "modal" ? ie((a(), S("a", {
1380
1380
  key: 0,
1381
1381
  href: "javascript:;",
@@ -1399,7 +1399,7 @@ const yt = "hb-", Te = (e = "") => {
1399
1399
  ]),
1400
1400
  _: 2
1401
1401
  }, 1032, ["title", "onConfirm"]))
1402
- ], 64)) : (a(), S(J, { key: 1 }, [
1402
+ ], 64)) : (a(), S(Q, { key: 1 }, [
1403
1403
  ie((a(), S("a", {
1404
1404
  href: "javascript:;",
1405
1405
  onClick: (l) => b(M),
@@ -1412,18 +1412,18 @@ const yt = "hb-", Te = (e = "") => {
1412
1412
  h.value && h.value.length > 0 || w !== t.value.length - 1 ? (a(), z(T, {
1413
1413
  key: 0,
1414
1414
  type: "vertical"
1415
- })) : N("", !0)
1415
+ })) : P("", !0)
1416
1416
  ], 64))
1417
1417
  ], 64))), 128)),
1418
1418
  h.value && h.value.length > 0 ? (a(), z(n(qe), { key: 0 }, {
1419
1419
  overlay: s(() => [
1420
1420
  F(n(je), null, {
1421
1421
  default: s(() => [
1422
- (a(!0), S(J, null, ne(h.value, (M) => (a(), z(n(Ye), {
1422
+ (a(!0), S(Q, null, ne(h.value, (M) => (a(), z(n(Ye), {
1423
1423
  key: M.key
1424
1424
  }, {
1425
1425
  default: s(() => [
1426
- M.needConfirm ? (a(), S(J, { key: 0 }, [
1426
+ M.needConfirm ? (a(), S(Q, { key: 0 }, [
1427
1427
  M.confirmType === "modal" ? ie((a(), S("a", {
1428
1428
  key: 0,
1429
1429
  href: "javascript:;",
@@ -1469,7 +1469,7 @@ const yt = "hb-", Te = (e = "") => {
1469
1469
  ])
1470
1470
  ]),
1471
1471
  _: 1
1472
- })) : N("", !0),
1472
+ })) : P("", !0),
1473
1473
  F(n(_e), {
1474
1474
  visible: $.value,
1475
1475
  title: C.value.title,
@@ -1508,7 +1508,7 @@ const yt = "hb-", Te = (e = "") => {
1508
1508
  const h = t.filter((b) => b != null && b.checked);
1509
1509
  i.value = h.map((b) => {
1510
1510
  let B = { ...b, title: b.title || b.label };
1511
- if (!B.width)
1511
+ if (B.ellipsis && !B.needTooltip && (B.needTooltip = !0), !B.width)
1512
1512
  B.width = u.defaultWidth;
1513
1513
  else if (typeof B.width == "string") {
1514
1514
  const D = parseInt(B.width, 10);
@@ -1537,7 +1537,7 @@ const yt = "hb-", Te = (e = "") => {
1537
1537
  t.$slots.tableActLeft ? (a(), S("section", xl, [
1538
1538
  j(t.$slots, "tableActLeft", {}, void 0, !0),
1539
1539
  j(t.$slots, "tableActRight", {}, void 0, !0)
1540
- ])) : N("", !0),
1540
+ ])) : P("", !0),
1541
1541
  F(Z, X(t.$attrs, {
1542
1542
  bordered: "",
1543
1543
  columns: i.value,
@@ -1574,25 +1574,26 @@ const yt = "hb-", Te = (e = "") => {
1574
1574
  index: I,
1575
1575
  text: T
1576
1576
  }, void 0, !0),
1577
- C && C.needTooltip ? (a(), S(J, { key: 0 }, [
1578
- C.needTooltip ? (a(), z(B, { key: 0 }, {
1579
- title: s(() => [
1580
- A(_(y[C.dataIndex]), 1)
1581
- ]),
1582
- default: s(() => [
1583
- A(" " + _(y[C.dataIndex]), 1)
1584
- ]),
1585
- _: 2
1586
- }, 1024)) : N("", !0)
1587
- ], 64)) : N("", !0),
1577
+ C && C.needTooltip ? (a(), z(B, {
1578
+ key: 0,
1579
+ placement: "top"
1580
+ }, {
1581
+ title: s(() => [
1582
+ A(_(y[C.dataIndex]), 1)
1583
+ ]),
1584
+ default: s(() => [
1585
+ A(" " + _(y[C.dataIndex]), 1)
1586
+ ]),
1587
+ _: 2
1588
+ }, 1024)) : P("", !0),
1588
1589
  C && C.needCopy ? (a(), z(D, {
1589
1590
  key: 1,
1590
1591
  "cp-text": y[C.dataIndex],
1591
1592
  style: { position: "relative" }
1592
- }, null, 8, ["cp-text"])) : N("", !0),
1593
- C && C.needFormat ? (a(), S(J, { key: 2 }, [
1593
+ }, null, 8, ["cp-text"])) : P("", !0),
1594
+ C && C.needFormat ? (a(), S(Q, { key: 2 }, [
1594
1595
  A(_(c(y[C.dataIndex], C.format)), 1)
1595
- ], 64)) : N("", !0)
1596
+ ], 64)) : P("", !0)
1596
1597
  ]),
1597
1598
  key: "1"
1598
1599
  } : void 0,
@@ -1696,7 +1697,7 @@ const yt = "hb-", Te = (e = "") => {
1696
1697
  ], 6);
1697
1698
  };
1698
1699
  }
1699
- }), Ml = /* @__PURE__ */ oe(Tl, [["__scopeId", "data-v-fcaf1bf5"]]), Il = le(Ml), Hl = { class: "hb-lib-table-setting-box" }, Al = {
1700
+ }), Ml = /* @__PURE__ */ oe(Tl, [["__scopeId", "data-v-13ac2d2d"]]), Il = le(Ml), Hl = { class: "hb-lib-table-setting-box" }, Al = {
1700
1701
  key: 0,
1701
1702
  class: "hb-lib-table-drag-item"
1702
1703
  }, Dl = {
@@ -1859,8 +1860,8 @@ const yt = "hb-", Te = (e = "") => {
1859
1860
  ])], 8, Ol)
1860
1861
  ]),
1861
1862
  _: 2
1862
- }, 1024)) : N("", !0),
1863
- r.fixed ? N("", !0) : (a(), z(d, { key: 1 }, {
1863
+ }, 1024)) : P("", !0),
1864
+ r.fixed ? P("", !0) : (a(), z(d, { key: 1 }, {
1864
1865
  title: s(() => [
1865
1866
  A(_(n(i)("hbLibComp.hbLibListTableColumsSet.fix")), 1)
1866
1867
  ]),
@@ -1889,8 +1890,8 @@ const yt = "hb-", Te = (e = "") => {
1889
1890
  ]),
1890
1891
  _: 2
1891
1892
  }, 1024))
1892
- ])) : N("", !0)
1893
- ])) : N("", !0)
1893
+ ])) : P("", !0)
1894
+ ])) : P("", !0)
1894
1895
  ]),
1895
1896
  _: 1
1896
1897
  }, 8, ["modelValue"]),
@@ -2051,7 +2052,7 @@ const yt = "hb-", Te = (e = "") => {
2051
2052
  }, null, 6)
2052
2053
  ]),
2053
2054
  _: 1
2054
- }, 8, ["title"])) : N("", !0);
2055
+ }, 8, ["title"])) : P("", !0);
2055
2056
  };
2056
2057
  }
2057
2058
  }), jl = /* @__PURE__ */ oe(Yl, [["__scopeId", "data-v-d5ca4420"]]), ql = le(jl), Kl = {
@@ -1 +1 @@
1
- (function(z,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vuedraggable"),require("@ant-design/icons-vue"),require("ant-design-vue"),require("vue-router"),require("vue-i18n"),require("lodash"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","@ant-design/icons-vue","ant-design-vue","vue-router","vue-i18n","lodash","@vueuse/core","dayjs"],e):(z=typeof globalThis<"u"?globalThis:z||self,e(z.HbComponentLib={},z.Vue,z.draggable,z.iconsVue,z.antDesignVue,z.vueRouter,z.vueI18n,z.lodash,z.core,z.dayjs))})(this,(function(z,e,G,U,u,oe,j,Q,le,Z){"use strict";const X=(t="")=>{const h=`hb-${t}`;return re(h)},K=(t,h,c,n)=>(h&&(t+=`-${h}`),c&&(t+=`__${c}`),n&&(t+=`--${n}`),t),re=t=>({b:h=>h?K(t,h,"",""):K(t,"","",""),e:h=>h?K(t,"",h,""):"",m:h=>K(t,"","",h),be:(h,c)=>K(t,h,c,""),em:(h,c)=>K(t,"",h,c),bem:(h,c,n)=>K(t,h,c,n),is:(h,c)=>c?`is-${h}`:""}),ie=["onMouseenter","onMouseleave"],se=["onClick"],ce=e.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:{list:{default:()=>[]},afterChange:{type:Function,default:()=>()=>{}},title:{default:"自定义查询条件"},showNumber:{default:40}},emits:["confirm"],setup(t,{expose:h,emit:c}){const n=j.useI18n().t,w=j.useI18n().messages.value.en_US,f=j.useI18n().messages.value.ja_JP,p=j.useI18n().messages.value.zh_CN,i=t,o=c,d=X("sfcm"),m=oe.useRoute(),$=e.reactive({lan:window.localStorage.getItem("lan")}),F=e.ref(!1),O=e.ref(600);let C=[];const g=e.ref([]),B=e.ref([]),x=e.computed(()=>g.value.every(y=>y.isLinked||y.isFixed)),M=y=>{const T=y.draggedContext.element,b=y.relatedContext.index;if(T.isLinked||T.isFixed)return!1;const I=g.value.map((A,Y)=>({item:A,index:Y})).filter(({item:A})=>A.isLinked).map(({index:A})=>A);if(I.length===0)return!0;for(let A=0;A<I.length-1;A++){const Y=I[A],W=I[A+1];if(b>Y&&b<W)return!1}return!0},_=()=>{const y=localStorage.getItem("pro__Login_Userinfo");let T="anonymous";if(y)try{T=JSON.parse(y).value.jobNumber||"anonymous"}catch(I){console.warn("解析用户信息失败:",I)}let b=m?.path;return`searchFormConfig_${T}_${b}`},L=y=>({ja_JP:()=>Q.get(f,y.labelLanguage||""),en_US:()=>Q.get(w,y.labelLanguage||""),zh_CN:()=>Q.get(p,y.labelLanguage||"")})[$.lan]?.()||y.label,l=()=>{try{const y=_(),T=localStorage.getItem(y);if(T){const b=JSON.parse(T);if(b.originalList&&Array.isArray(b.originalList)){C=JSON.parse(JSON.stringify(b.originalList));const I=C.filter(S=>S?.isFixed),A=C.filter(S=>S?.isLinked),Y=b.showList.filter(S=>!S.isFixed&&!S.isLinked),W=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-I.length-A.length):Y.length,v=I.map(S=>({...S,label:L(S)||`${S.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:S.key,isFixed:S?.isFixed||!1,isLinked:S?.isLinked||!1,labelLanguage:S?.labelLanguage||void 0})),ee=A.map(S=>({...S,label:L(S)||`${S.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:S.key,isFixed:S?.isFixed||!1,isLinked:!0,labelLanguage:S?.labelLanguage||void 0})),te=Y.slice(0,W).map(S=>({...S,label:L(S)||`${S.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:S.key,isFixed:S?.isFixed||!1,isLinked:S?.isLinked||!1,labelLanguage:S?.labelLanguage||void 0}));g.value=[...v,...ee,...te];const N=g.value.map(S=>S.key),_t=C.map(S=>S.key).filter(S=>!N.includes(S));return B.value=C.filter(S=>_t.includes(S.key)).map(S=>({...S,label:L(S)||`${S.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:S.key,isFixed:S?.isFixed||!1,isLinked:S?.isLinked||!1,active:!1,labelLanguage:S?.labelLanguage||void 0})),!0}}}catch(y){console.warn("加载保存的搜索配置失败:",y)}return!1},a=()=>{try{const y={originalList:C,showList:g.value.map(b=>({...b,key:b.key,label:b.label,isFixed:b.isFixed,isLinked:b.isLinked,labelLanguage:b?.labelLanguage||void 0}))},T=_();localStorage.setItem(T,JSON.stringify(y))}catch(y){console.warn("保存搜索配置失败:",y)}},s=e.computed(()=>{const y=g.value.filter(b=>!b.isFixed&&!b.isLinked).length,T=g.value.filter(b=>b.isFixed||b.isLinked).length;return y>=i.showNumber-T});e.watch(()=>i.list,y=>{if(!l()&&C.length===0){C=JSON.parse(JSON.stringify(y));const b=y.filter(N=>N?.isFixed),I=y.filter(N=>N?.isLinked),A=y.filter(N=>!N?.isFixed&&!N?.isLinked),Y=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-b.length-I.length):A.length,W=b.map(N=>({...N,label:L(N)||`${N.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:N.key,isFixed:N?.isFixed||!1,isLinked:N?.isLinked||!1,labelLanguage:N?.labelLanguage||void 0})),v=I.map(N=>({...N,label:L(N)||`${N.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:N.key,isFixed:N?.isFixed||!1,isLinked:!0,labelLanguage:N?.labelLanguage||void 0})),ee=A.slice(0,Y).map(N=>({...N,label:L(N)||`${N.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:N.key,isFixed:N?.isFixed||!1,isLinked:N?.isLinked||!1,labelLanguage:N?.labelLanguage||void 0}));g.value=[...W,...v,...ee];const te=A.slice(Y).map(N=>({...N,label:L(N)||`${N.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:N.key,isFixed:N?.isFixed||!1,isLinked:N?.isLinked||!1,active:!1,labelLanguage:N?.labelLanguage||void 0}));B.value=te}},{immediate:!0});const k=y=>{const T=g.value.findIndex(b=>b.key===y.key);T!==-1&&(g.value.splice(T,1),B.value.push({...y,active:!1}))},r=y=>{if(s.value)return;const T=B.value.findIndex(b=>b.key===y.key);if(T!==-1){const[b]=B.value.splice(T,1);g.value.push({...b,active:!1})}},E=()=>{F.value=!1},V=()=>{F.value=!0},R=()=>{a(),o("confirm",g.value),E()},D=y=>{const T=B.value.findIndex(b=>b.key===y.key);T!==-1&&(B.value[T].active=!0)},H=y=>{const T=B.value.findIndex(b=>b.key===y.key);T!==-1&&(B.value[T].active=!1)};return h({toOpenModal:V}),(y,T)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(d).b())},[e.createVNode(e.unref(u.Modal),{visible:F.value,"onUpdate:visible":T[1]||(T[1]=b=>F.value=b),width:O.value,onCancel:E,onOk:R},{title:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("title"))},e.toDisplayString(t.title),3)]),footer:e.withCtx(()=>[e.createVNode(e.unref(u.Button),{onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(u.Button),{type:"primary",onClick:R},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("section",{class:e.normalizeClass(e.unref(d).e("show"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(d).e("title__tip"))},e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(t.showNumber)+e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("show__tag"))},[e.createVNode(e.unref(G),{modelValue:g.value,"onUpdate:modelValue":T[0]||(T[0]=b=>g.value=b),"item-key":"key",tag:"div",disabled:x.value,move:M},{item:e.withCtx(({element:b})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(d).e("show__tag__item"),e.unref(d).is("fixed",b.isFixed),e.unref(d).is("linked",b.isLinked)])},[e.createTextVNode(e.toDisplayString(b.label)+" ",1),!b.isFixed&&!b.isLinked&&t.list.length>1?(e.openBlock(),e.createBlock(e.unref(U.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(d).e("show__tag__item-close")),onClick:I=>k(b)},null,8,["class","onClick"])):e.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),e.createElementVNode("section",{class:e.normalizeClass(e.unref(d).e("unshow"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(d).e("title__tip"))},e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("unshow__tag"))},[B.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(B.value,b=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(d).e("unshow__tag__item"),e.unref(d).is("fixed",b.isFixed||""),e.unref(d).is("linked",b.isLinked||"")]),key:b.key,onMouseenter:I=>D(b),onMouseleave:I=>H(b)},[e.createTextVNode(e.toDisplayString(b.label)+" ",1),b.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(d).e("unshow__tag__item-add")),onClick:I=>r(b)},e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.add")),11,se)):e.createCommentVNode("",!0)],42,ie))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(d).e("unshow__tag__empty"))},e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),q=(t,h)=>{const c=t.__vccOpts||t;for(const[n,w]of h)c[n]=w;return c},de=q(ce,[["__scopeId","data-v-6ceb65e8"]]),P=(t,h)=>(t.install=c=>{for(const n of[t,...Object.values({})])c.component(n.name,n)},t),me=P(de),he={class:"form-footer"},pe=P(q(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}})},needFooter:{type:Boolean,default:!1},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},calTableHeight:{type:Function,default:()=>()=>{}}},emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(t,{expose:h,emit:c}){const n=c,w=e.inject("HB_LIST_PAGE_CONTAINER"),f=X("form"),p=t,i=e.ref("show"),o=e.computed(()=>(console.log(p.items),[...p.items])),d=e.ref(),m=()=>{n("handleSearch")},$=()=>{n("handleReset")},F=e.ref(),O=()=>{F.value&&F.value.toOpenModal()},C=L=>{n("handleSfcmConfirm",L)},g=()=>{i.value=i.value==="show"?"hide":"show"};e.watch(()=>p.isFormExpanded,L=>{if(L){console.log(L);const l=document.querySelector("#subpackage_container");l instanceof HTMLElement&&(l.style.overflow="hidden",setTimeout(()=>{l.style.overflow="auto"},500))}});const B=L=>{const l=L;l.style.height="",l.offsetHeight},x=L=>{const l=L;l.style.height="",l.style.overflow="",e.nextTick(()=>{w.calTableHeight&&w.calTableHeight()})},M=L=>{const l=L,a=l.querySelector(".hb-lib-form--container");if(a){const s=a.offsetHeight;l.style.height=s+"px",l.style.overflow="hidden",l.offsetHeight,requestAnimationFrame(()=>{l.style.height="0"})}},_=()=>{e.nextTick(()=>{w.calTableHeight&&w.calTableHeight()})};return h({formRef:d,SelectOption:u.SelectOption,Form:u.Form,FormItem:u.FormItem,Row:u.Row,Col:u.Col,Input:u.Input,Select:u.Select,CheckboxGroup:u.CheckboxGroup,Checkbox:u.Checkbox,DatePicker:u.DatePicker,InputNumber:u.InputNumber,RadioGroup:u.RadioGroup,Radio:u.Radio,Switch:u.Switch,Button:u.Button,Tooltip:u.Tooltip}),(L,l)=>{const a=e.resolveComponent("a-button"),s=e.resolveComponent("a-tooltip"),k=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:B,onAfterEnter:x,onLeave:M,onAfterLeave:_},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(f).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[e.createVNode(e.unref(u.Form),e.mergeProps(L.$attrs,{model:t.formData,ref_key:"formRef",ref:d,class:["hb-lib-form--container",i.value=="show"?"":"hide"]}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(r,E)=>(e.openBlock(),e.createBlock(e.unref(u.FormItem),e.mergeProps({key:E,ref_for:!0},r,{name:r.key,class:r.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),e.createSlots({default:e.withCtx(()=>[r.type==="slot"?e.renderSlot(L.$slots,r.key,{key:0,formData:t.formData,item:r},void 0,!0):e.createCommentVNode("",!0),r.type==="mixin"?e.renderSlot(L.$slots,r.key,{key:1,formData:t.formData,item:r},void 0,!0):e.createCommentVNode("",!0),r.type==="input"?(e.openBlock(),e.createBlock(e.unref(u.Input),e.mergeProps({key:2,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="select"?(e.openBlock(),e.createBlock(e.unref(u.Select),e.mergeProps({key:3,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,(V,R)=>(e.openBlock(),e.createBlock(e.unref(u.SelectOption),{key:R,value:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(u.CheckboxGroup),e.mergeProps({key:4,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,(V,R)=>(e.openBlock(),e.createBlock(e.unref(u.Checkbox),{key:R,value:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(u.DatePicker),e.mergeProps({key:5,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(u.InputNumber),e.mergeProps({key:6,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="radio"?(e.openBlock(),e.createBlock(e.unref(u.RadioGroup),e.mergeProps({key:7,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,(V,R)=>(e.openBlock(),e.createBlock(e.unref(u.Radio),{key:R,value:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="switch"?(e.openBlock(),e.createBlock(e.unref(u.Switch),e.mergeProps({key:8,checked:t.formData[r.key],"onUpdate:checked":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[r.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.label)+" ",1),e.createVNode(e.unref(u.Tooltip),{title:r.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(U.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),e.createElementVNode("section",he,[e.createVNode(a,{type:"primary",onClick:m,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(U.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(L.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(a,{type:"link",onClick:$},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.needFilter?(e.openBlock(),e.createBlock(s,{key:0,title:L.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:O},[...l[0]||(l[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(L.$slots,"formBtns",{},void 0,!0)])]),_:3},16,["model","class"]),t.needFooter?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(f).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(f).e("footer__left"))},[e.renderSlot(L.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f).e("footer__right"))},[i.value=="show"?e.renderSlot(L.$slots,"form-footer-right",{key:0,formRef:d.value},()=>[e.createVNode(e.unref(u.Button),{type:"primary",onClick:$},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(e.unref(u.Button),{type:"primary",onClick:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):e.createCommentVNode("",!0),e.createVNode(e.unref(u.Button),{type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value=="show"?`${L.$t("hbLibComp.hbListPageAct.close")}`:`${L.$t("hbLibComp.hbListPageAct.open")}`),1)]),_:1})],2)],2)):e.createCommentVNode("",!0)],2),[[e.vShow,t.isFormExpanded]])]),_:3}),e.createVNode(k,{list:t.items,ref_key:"HbSfCmRef",ref:F,onConfirm:C},null,8,["list"])],64)}}}),[["__scopeId","data-v-a1fedfa4"]])),fe={class:"hb-lib-list-page-act-box"},be={class:"hb-lib-list-page-breadcrumb"},ge={class:"hb-lib-list-page-act"},Ce={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"},ke={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"},ye=P(q(e.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:{formItems:{},isShowSelfFilter:{type:Boolean,default:!0},isShowOpenClose:{type:Boolean,default:!0},isShowFullScreen:{type:Boolean,default:!0}},emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(t,{emit:h}){const c=e.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:n,toggle:w}=le.useFullscreen(c.PageContainerRef),f=e.ref(""),p=()=>{const i=oe.useRoute();let o=localStorage.getItem("BreadCrumb")||"[]",d=i?.path;if(o!=="[]"){let m=JSON.parse(o).find($=>$.value===d);m&&(f.value=m.label.replace(/-/g," / "))}};return e.onMounted(()=>{p()}),(i,o)=>{const d=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",fe,[e.createElementVNode("aside",be,e.toDisplayString(f.value),1),e.createElementVNode("aside",ge,[e.createVNode(d,{title:e.unref(n)?`${i.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${i.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:o[0]||(o[0]=(...m)=>e.unref(w)&&e.unref(w)(...m))},[e.unref(n)?(e.openBlock(),e.createElementBlock("svg",ke,[...o[2]||(o[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",Ce,[...o[1]||(o[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(i.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-cb524b69"]])),ue={class:"hb-lib-list-btns-box"},Le={class:"hb-lib-list-btns-left"},Se={class:"hb-lib-list-btns-right"},we=P(q(e.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:{formItems:{default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},emits:["handleOpenOrClose","handleReload"],setup(t,{emit:h}){const c=h,n=e.ref(!0),w=()=>{n.value=!n.value,c("handleOpenOrClose",n.value)},f=()=>{c("handleReload")};return e.onMounted(()=>{}),(p,i)=>{const o=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ue,[e.createElementVNode("aside",Le,[e.renderSlot(p.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Se,[t.needReload?(e.openBlock(),e.createBlock(o,{key:0,title:p.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:f},[...i[0]||(i[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(o,{key:1,title:n.value?`${p.$t("hbLibComp.hbListBtnsAct.close")}`:`${p.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:w},[n.value?(e.openBlock(),e.createBlock(e.unref(U.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(U.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(p.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-0ab77a2c"]])),xe=(t={})=>{const{formRef:h,offsetBottom:c=50,minHeight:n=300}=t,w=e.ref(0);let f=null,p=null,i=null,o=null,d=null;const m=()=>{d&&clearTimeout(d),d=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const x=document.querySelector(".ant-table"),M=document.querySelector(".ant-pagination");if(x){const _=x.getBoundingClientRect().top,L=window.innerHeight,a=(M?M.offsetHeight+20:40)+c;let s=L-_-a;s<n&&(s=n),w.value=s}})})},100)},$=()=>{const x=document.querySelector(".ant-pagination");if(x){const M=new MutationObserver(()=>{m()});return M.observe(x,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),M}return null},F=()=>{const x=document.querySelector(".hb-lib-list-page-form-box");x&&(f=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(_=>{_.style.display="none"}),m()}),f.observe(x))},O=()=>{const x=document.querySelector(".hb-lib-list-page-form-box");x&&(i=new MutationObserver(()=>{setTimeout(()=>{m()},100)}),i.observe(x,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},C=()=>{o&&clearTimeout(o),o=setTimeout(()=>{m()},100)},g=()=>{window.addEventListener("resize",C),e.nextTick(()=>{F(),O(),p=$()})},B=()=>{window.removeEventListener("resize",C),f&&f.disconnect(),i&&i.disconnect(),p&&p.disconnect(),o&&clearTimeout(o),d&&clearTimeout(d)};return h&&e.watch(()=>h,()=>{setTimeout(()=>{m()},200)},{deep:!0}),e.onMounted(()=>{m(),g()}),e.onUnmounted(()=>{B()}),{tableHeight:w,calTableHeight:m}},_e=P(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{default:400},tabelData:{default:()=>[]},offsetBottom:{},minHeight:{}},setup(t){const h=t,c=e.useTemplateRef("PageContainerRef"),{calTableHeight:n,tableHeight:w}=xe({offsetBottom:h.offsetBottom||20,minHeight:h.minHeight||300}),f=e.computed(()=>w.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:c,tableHeight:w,calTableHeight:n}),(p,i)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:c},[e.renderSlot(p.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle({"--hb-list-table-height":f.value-20+"px","--hb-list-ttable-height":t.tabelData.length?"":f.value-20+"px"})},[e.renderSlot(p.$slots,"default")],4)],512))}})),Be={style:{"font-weight":"500"}},Ne={key:0,class:"hb-lib-search-tag__description"},Fe={class:"hb-lib-selector-dropdown"},Te={class:"hb-lib-selector-search"},$e={class:"hb-lib-selector-list"},Ve=["onClick"],Me={class:"hb-lib-option-content"},Ee={class:"hb-lib-option-label"},Ie={key:0,class:"hb-lib-selector-empty"},He={key:1,class:"hb-lib-selector-footer"},De={class:"hb-lib-footer-buttons"},Ae={key:2,class:"hb-lib-selector-footer"},ze={class:"hb-lib-footer-buttons"},Oe=P(q(e.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:e.mergeModels({title:{default:"请选择"},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:h}){const c=t,n=h,w=e.useModel(t,"value"),f=e.ref(!1),p=e.ref(""),i=e.ref([]),o=e.ref(),d=e.computed(()=>{if(c.remoteSearch||!p.value)return c.options;const l=p.value.toLowerCase();return c.options.filter(a=>a.label.toLowerCase().includes(l)||a.description?.toLowerCase().includes(l))}),m=e.computed(()=>c.prefix?`${c.prefix.length*14+8}px`:"0px"),$=e.computed(()=>d.value.length===0?!1:d.value.every(l=>i.value.includes(l.value))),F=e.computed(()=>{if(d.value.length===0)return!1;const l=d.value.filter(a=>i.value.includes(a.value)).length;return l>0&&l<d.value.length});e.watch(()=>w.value,l=>{l?i.value=Array.isArray(l)?[...l]:[l]:i.value=[]},{immediate:!0}),e.watch(()=>c.searchValue,l=>{c.remoteSearch&&l!==void 0&&(p.value=l)},{immediate:!0});const O=l=>{l&&(f.value=l,C.value=[...i.value],p.value="",setTimeout(()=>{if(o.value){const a=o.value.input||o.value.$el?.querySelector("input");a&&a.focus()}},100))},C=e.ref([]),g=()=>{i.value=[...C.value],f.value=!1,n("cancel")},B=e.ref([]),x=()=>{const l=c.multiple?i.value:i.value[0]||"",a=c.options.filter(s=>i.value.includes(s.value));B.value=a,console.log(l,a),C.value=[...i.value],w.value=l,n("update:value",l),n("change",l,a),n("confirm",l,a),f.value=!1},M=le.useDebounceFn(l=>{const a=l!==void 0?l:p.value;c.remoteSearch&&(n("search",a),n("update:searchValue",a))},300),_=l=>{if(c.multiple){const a=new Set(i.value);a.has(l.value)?a.delete(l.value):a.add(l.value),i.value=Array.from(a)}else i.value=[l.value],x()},L=l=>{if(l.target.checked){const s=new Set(i.value);d.value.forEach(k=>{s.add(k.value)}),i.value=Array.from(s)}else{const s=new Set(d.value.map(k=>k.value));i.value=i.value.filter(k=>!s.has(k))}};return(l,a)=>{const s=e.resolveComponent("a-tag"),k=e.resolveComponent("a-input"),r=e.resolveComponent("a-checkbox"),E=e.resolveComponent("a-radio"),V=e.resolveComponent("a-button"),R=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":m.value}},l.$attrs),[e.createVNode(R,{value:w.value,"onUpdate:value":a[5]||(a[5]=D=>w.value=D),mode:t.multiple?"multiple":void 0,placeholder:t.placeholder,"show-search":!0,"filter-option":!1,open:f.value,allowClear:"",maxTagCount:t.maxTagCount,options:d.value,onDropdownVisibleChange:O,onSearch:e.unref(M),"max-tag-text-length":t.tagTextLength,class:e.normalizeClass({"has-prefix":t.prefix}),"data-prefix":t.prefix,style:{width:"100%"}},{tagRender:e.withCtx(({value:D,label:H,closable:y,option:T})=>[e.createVNode(s,{class:"hb-lib-search-tag",onClick:a[0]||(a[0]=()=>O(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Be,e.toDisplayString(H),1),T?.description?(e.openBlock(),e.createElementBlock("span",Ne," ("+e.toDisplayString(T.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:D})=>[e.createElementVNode("div",Fe,[e.createElementVNode("div",Te,[e.createVNode(k,{ref_key:"searchInputRef",ref:o,class:"hb-lib-selector-search-input",value:p.value,"onUpdate:value":a[1]||(a[1]=H=>p.value=H),placeholder:"请输入关键词搜索","allow-clear":"",onInput:a[2]||(a[2]=H=>e.unref(M)(H.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(U.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",$e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,H=>(e.openBlock(),e.createElementBlock("div",{key:H.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:i.value.includes(H.value)}]),onClick:()=>_(H)},[t.multiple?(e.openBlock(),e.createBlock(r,{key:0,checked:i.value.includes(H.value),onChange:()=>_(H),onClick:a[3]||(a[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock(E,{key:1,checked:i.value.includes(H.value),onChange:()=>_(H),onClick:a[4]||(a[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",Me,[e.createElementVNode("div",Ee,e.toDisplayString(H.label),1)])],10,Ve))),128))]),d.value.length===0?(e.openBlock(),e.createElementBlock("div",Ie,e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),t.multiple?(e.openBlock(),e.createElementBlock("div",He,[e.createVNode(r,{checked:$.value,indeterminate:F.value,onChange:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",De,[e.createVNode(V,{size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(V,{type:"primary",size:"small",onClick:x},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",Ae,[a[6]||(a[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",ze,[e.createVNode(V,{size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$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-11422adb"]])),Pe={class:"hb-lib-form-item-filter-modal-search"},Re={class:"hb-lib-form-item-filter-modal-buttons"},Ue={key:0},qe=P(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:h,emit:c}){const n=t,w=c,f=e.ref(!1),p=e.ref(""),i=e.ref(),o=e.ref(),d=e.ref([]),m=e.ref([]),$=e.ref(),F=e.reactive({searchText:"",searchedColumn:""}),O=e.computed(()=>n.tableData.map(s=>(s.id=s.id||Math.random(),s))),C=e.computed(()=>n.tableColumn.map(s=>(s.customFilterDropdown&&(s.onFilter=(k,r)=>r[s.dataIndex].toString().toLowerCase().includes(k.toLowerCase()),s.onFilterDropdownVisibleChange=k=>{k&&setTimeout(()=>{i.value?.focus()},100)}),{...s}))),g=()=>{let s="";m.value.forEach(k=>{s=s+k[n.labelKey]+","}),p.value=s.substring(0,s.length-1),f.value=!1,w("handleConfirm",m.value)},B=()=>{f.value=!1},x=()=>{f.value=!0,e.nextTick(()=>{const s=$.value?.$el?.querySelector(".ant-table-body");s&&(s.scrollTop=0)})},M=()=>{d.value=[],m.value=[]},_=()=>{p.value="",M()},L=(s,k,r)=>{k(),F.searchText=s[0],F.searchedColumn=r},l=(s,k)=>{s({confirm:!0}),F.searchText="",k()},a=(s,k)=>{d.value=s,m.value=k};return h({resetInputVal:_}),(s,k)=>{const r=e.resolveComponent("a-input"),E=e.resolveComponent("a-button"),V=e.resolveComponent("a-table"),R=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:o},[e.createVNode(r,{readonly:"",onClick:x,value:p.value,"onUpdate:value":k[0]||(k[0]=D=>p.value=D),placeholder:s.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(U.UnorderedListOutlined),{onClick:x})]),_:1},8,["value","placeholder"]),e.createVNode(R,{visible:f.value,"onUpdate:visible":k[1]||(k[1]=D=>f.value=D),title:t.modelTitle,width:t.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode(E,{onClick:M},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(E,{onClick:B},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(E,{type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(V,{ref_key:"tableRef",ref:$,columns:C.value,dataSource:O.value,rowSelection:{selectedRowKeys:d.value,onChange:a},rowKey:D=>D[t.tableKey],scroll:{y:t.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:D,selectedKeys:H,confirm:y,clearFilters:T,column:b})=>[e.createElementVNode("div",Pe,[e.createVNode(r,{ref_key:"searchInput",ref:i,placeholder:`请输入${b.title}`,value:H[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:I=>D(I.target.value?[I.target.value]:[]),onPressEnter:I=>L(H,y,b.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",Re,[e.createVNode(E,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:I=>l(T,y)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode(E,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:I=>L(H,y,b.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:D})=>[e.createVNode(e.unref(U.SearchOutlined),{style:e.normalizeStyle({color:D?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:D,column:H})=>[F.searchText&&F.searchedColumn===H.dataIndex?(e.openBlock(),e.createElementBlock("span",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.toString().split(new RegExp(`(?<=${F.searchText})|(?=${F.searchText})`,"i")),(y,T)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[y.toLowerCase()===F.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:T,class:"highlight"},e.toDisplayString(y),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(y),1)],64))],64))),256))])):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),Ye={class:"hb-lib-table-act-box"},je=["onClick"],Ke={href:"javascript:;",class:"hb-lib-table-main-action"},We=["onClick"],Ge={href:"javascript:;",class:"hb-lib-table-more-action"},Je=["onClick"],Qe={href:"javascript:;"},Ze=["onClick"],Xe={class:"hb-lib-table-confirm-modal-content"},ve=P(q(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(t,{expose:h}){const c=t,{t:n}=j.useI18n(),w=e.ref(!1),f=e.ref(!1),p=e.ref(null),i=e.computed(()=>c.actions.filter(g=>g.condition!==void 0?g.condition:!0)),o=e.computed(()=>i.value.slice(0,c.buttonDisplaysQuantity)),d=e.computed(()=>i.value.slice(c.buttonDisplaysQuantity)),m=g=>{g.handler&&g.handler(c.record)},$=g=>{p.value=g,w.value=!0},F=()=>{if(p.value){f.value=!0;try{m(p.value),f.value=!1,w.value=!1}catch{f.value=!1}}},O=()=>{w.value=!1,p.value=null},C=e.computed(()=>p.value?{title:p.value.confirmTitle,content:p.value.confirmContent||p.value.confirmTitle}:{title:n("hbLibComp.hbTableAct.secendConfirm"),content:n("hbLibComp.hbTableAct.confirmContent")});return h({ADropdown:u.Dropdown,AMenu:u.Menu,AMenuItem:u.MenuItem,APopconfirm:u.Popconfirm,AModal:u.Modal,DownOutlined:U.DownOutlined}),(g,B)=>{const x=e.resolveComponent("a-divider"),M=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",Ye,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(_,L)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[_.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:l=>$(_),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(_.label),1)],8,je)),[[M,_.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(u.Popconfirm),{key:1,title:_.confirmTitle,onConfirm:l=>m(_)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Ke,[e.createTextVNode(e.toDisplayString(_.label),1)])),[[M,_.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:l=>m(_),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(_.label),1)],8,We)),[[M,_.permissionsTag||null]]),d.value&&d.value.length>0||L!==o.value.length-1?(e.openBlock(),e.createBlock(x,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64))),128)),d.value&&d.value.length>0?(e.openBlock(),e.createBlock(e.unref(u.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(u.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,_=>(e.openBlock(),e.createBlock(e.unref(u.MenuItem),{key:_.key},{default:e.withCtx(()=>[_.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:L=>$(_)},[e.createTextVNode(e.toDisplayString(_.label),1)],8,Je)),[[M,_.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(u.Popconfirm),{key:1,title:_.confirmTitle,onConfirm:L=>m(_)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Qe,[e.createTextVNode(e.toDisplayString(_.label),1)])),[[M,_.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:L=>m(_)},[e.createTextVNode(e.toDisplayString(_.label),1)],8,Ze)),[[M,_.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",Ge,[e.createTextVNode(e.toDisplayString(g.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(U.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(u.Modal),{visible:w.value,title:C.value.title,"confirm-loading":f.value,onOk:F,onCancel:O},{default:e.withCtx(()=>[e.createElementVNode("p",Xe,e.toDisplayString(C.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-ecac600b"]])),et=t=>({tableWidth:e.computed(()=>{const c=Array.isArray(t)?t:t.value;return!c||c.length===0?0:c.map(n=>n.width&&Number(n.width.toString().replace("px",""))||0).reduce((n,w)=>n+w,0)})}),tt={key:0,class:"hb-lib-list-table-act"},ot={class:"empty-container"},lt=P(q(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},childColumns:{},rowHeight:{},defaultWidth:{default:()=>150}},setup(t){const{t:h}=j.useI18n(),c=t,n=e.ref([]),w=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:f}=et(e.computed(()=>c.columns));e.watch(()=>c.columns,o=>{const d=o.filter(m=>m!=null&&m.checked);n.value=d.map(m=>{let $={...m,title:m.title||m.label};if(!$.width)$.width=c.defaultWidth;else if(typeof $.width=="string"){const F=parseInt($.width,10);$.width=isNaN(F)?c.defaultWidth:F}return $.resizable===void 0&&($.resizable=!0),$})},{immediate:!0,deep:!0});const p=(o,d)=>{if(d){const m=typeof o=="string"?parseInt(o,10):o;d.width=isNaN(m)?150:m}},i=(o,d="YYYY-MM-DD HH:mm:ss")=>o?Z(o).format(d):"";return(o,d)=>{const m=e.resolveComponent("a-empty"),$=e.resolveComponent("a-tooltip"),F=e.resolveComponent("HbLibCopy"),O=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":c.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":t.rowHeight&&t.rowHeight+"px"||""})},[o.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",tt,[e.renderSlot(o.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(o.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(O,e.mergeProps(o.$attrs,{bordered:"",columns:n.value,onResizeColumn:p,scroll:{x:e.unref(f),y:e.unref(w).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",ot,[e.createVNode(m,{description:e.unref(h)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[o.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:C})=>[e.renderSlot(o.$slots,"headerCell",{column:C},()=>[e.createTextVNode(e.toDisplayString(C.title),1)],!0)]),key:"0"}:void 0,o.$slots.bodyCell?{name:"bodyCell",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"bodyCell",{column:C,record:g,index:B,text:x},void 0,!0),C&&C.needTooltip?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[C.needTooltip?(e.openBlock(),e.createBlock($,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g[C.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(g[C.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),C&&C.needCopy?(e.openBlock(),e.createBlock(F,{key:1,"cp-text":g[C.dataIndex],style:{position:"relative"}},null,8,["cp-text"])):e.createCommentVNode("",!0),C&&C.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(i(g[C.dataIndex],C.format)),1)],64)):e.createCommentVNode("",!0)]),key:"1"}:void 0,o.$slots.expandedRowRender?{name:"expandedRowRender",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"expandedRowRender",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"2"}:void 0,o.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"customFilterDropdown",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"3"}:void 0,o.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"customFilterIcon",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"4"}:void 0,o.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"expandIcon",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"5"}:void 0,o.$slots.footer?{name:"footer",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"footer",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"6"}:void 0,o.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"headerCell",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"7"}:void 0,o.$slots.summary?{name:"summary",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"summary",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"8"}:void 0,o.$slots.title?{name:"title",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"title",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"9"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-fcaf1bf5"]])),at={class:"hb-lib-table-setting-box"},nt={key:0,class:"hb-lib-table-drag-item"},rt={key:0,class:"hb-lib-table-drag-item-act"},it=["onClick"],st=["onClick"],ct={class:"hb-lib-table-set-btn-group"},dt={class:"select-all-container",style:{"margin-right":"10px"}},mt=P(q(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","refresh","clearSelected"],setup(t,{emit:h}){const c=h,{t:n}=j.useI18n(),w=t,f=e.ref([]),p=e.computed(()=>o.value.filter(l=>l.checked));e.ref([]);const i=e.ref(!1),o=e.ref([]),d=e.ref(null),m=e.computed(()=>p.value.length>0&&p.value.length===f.value.length),$=e.computed(()=>p.value.length>0&&p.value.length<f.value.length),F=l=>{d.value=l.oldIndex},O=l=>{const a=l.newIndex;if(f.value.some(k=>k.fixed==="left"||k.fixed==="right"||k.fixed===!0)){const k=f.value.filter(E=>E.fixed==="left").length,r=f.value.length-f.value.filter(E=>E.fixed==="right").length;if((k>0&&a<k||r<f.value.length&&a>=r)&&(u.message.warning(n("hbLibComp.hbLibListTableColumsSet.errorTip")),d.value!==null)){const E=o.value.splice(a,1)[0];o.value.splice(d.value,0,E)}}d.value=null},C=l=>{l.target.checked?o.value.forEach(s=>s.checked=!0):o.value.forEach(s=>s.checked=!1)},g=(l,a)=>{a?l.checked=!0:l.checked=!1},B=()=>{f.value=[...o.value],c("on-get-columns",f.value),i.value=!1},x=()=>{f.value=w.tableColumns.map(a=>({...a,label:a.title&&a.title.tag?M(a.title):a.title||a.title2,value:a.dataIndex,checked:a.checked||a.checked===void 0})),o.value=[...f.value];let l=[];w.tableColumns.forEach(function(a){l.push(a.dataIndex)})},M=l=>l.children[0].text,_=l=>{delete l.fixed;const a=o.value.findIndex(s=>s.value===l.value);if(a!==-1){let s=-1;for(let k=0;k<o.value.length;k++)o.value[k].fixed==="left"&&(s=k);if(s!==-1&&a!==s+1){const k=[...o.value],[r]=k.splice(a,1);k.splice(s+1,0,r),o.value=k}}},L=l=>{const a=o.value.findIndex(s=>s.value===l.value);if(a!==-1){let s=-1;for(let k=0;k<o.value.length;k++)o.value[k].fixed==="left"&&(s=k);if(s!==-1&&a!==s+1){const k=[...o.value],r=k.splice(a,1);r[0].fixed="left",k.splice(s+1,0,r[0]),o.value=k}}};return x(),(l,a)=>{const s=e.resolveComponent("a-tooltip"),k=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",at,[e.createVNode(e.unref(u.Popover),{title:e.unref(n)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"alertInfoContent",visible:i.value,"onUpdate:visible":a[1]||(a[1]=r=>i.value=r)},{content:e.withCtx(()=>[e.createVNode(e.unref(G),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=r=>o.value=r),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:F,onEnd:O},{item:e.withCtx(({element:r})=>[r.fixed!=="right"?(e.openBlock(),e.createElementBlock("div",nt,[e.createVNode(e.unref(u.Checkbox),{checked:r.checked,onChange:E=>g(r,E.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.label),1)]),_:2},1032,["checked","onChange"]),r.checked?(e.openBlock(),e.createElementBlock("section",rt,[e.createElementVNode("span",{class:e.normalizeClass(r.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),r.fixed?(e.openBlock(),e.createBlock(s,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:E=>_(r)},[...a[2]||(a[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,it)]),_:2},1024)):e.createCommentVNode("",!0),r.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:E=>L(r)},[...a[3]||(a[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,st)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ct,[e.createElementVNode("div",dt,[e.createVNode(e.unref(u.Checkbox),{checked:m.value,indeterminate:$.value,onChange:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),e.createVNode(k,{onClick:B,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(s,{title:e.unref(n)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...a[4]||(a[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-c9fc6c04"]])),ht=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:me,HbLibListBtnsAct:we,HbLibListForm:pe,HbLibListMultiSelect:Oe,HbLibListPageAct:ye,HbLibListPageContainer:_e,HbLibListTable:lt,HbLibMutilpleSelectModal:qe,HbLibTableAct:ve,HbLibTableColumnSet:mt},Symbol.toStringTag,{value:"Module"})),pt={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:"复制成功"},cpStyle:{type:Object,default:()=>({})},classType:{type:String,default:"ab"}},ft=P(q(e.defineComponent({name:"HbLibCopy",__name:"copy",props:pt,setup(t){const h=t,c=e.ref();e.watchEffect(()=>{c.value=h.data});const n=e.computed(()=>{if(h.cpText)return h.cpText;let f="";if(h.data)if(Array.isArray(h.data)){if(h.K&&h.V&&h.L){const p=h.data.find(i=>i?.[h.K]===h.V);f=p?p[h.L]:""}}else h.K&&(f=h.data[h.K]);return f}),w=()=>{navigator.clipboard.writeText(n.value).then(()=>{u.message.success(h.copySuccessTip)}).catch(()=>{u.message.error("复制失败")})};return(f,p)=>{const i=e.resolveComponent("a-tooltip");return n.value?(e.openBlock(),e.createBlock(i,{key:0,title:f.tooltipTitle},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["hb-lib-copy-text-eyevue icon strongQ strong-copy",f.classType=="ab"?"ab":"normal"]),style:e.normalizeStyle({...f.cpStyle}),onClick:e.withModifiers(w,["stop","prevent"])},null,6)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d5ca4420"]])),bt={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:""}},gt=P(q(e.defineComponent({name:"HbDrag",__name:"index",props:bt,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(t,{emit:h}){const c=t,n=e.shallowRef([]);e.watch(()=>c.dragList,m=>{n.value=m},{deep:!0,immediate:!0});const w=X("drag"),f=h,p=m=>{console.log("drag start",m),f("handleDragStart",m)},i=m=>{console.log("drag end",m),f("handleDragEnd",m)},o=m=>{console.log("drag add",m),f("handleDragAdd",m)},d=m=>{console.log("drag remove",m),f("handleDragRemove",m)};return(m,$)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(w).b())},[m.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(G),e.mergeProps({key:0,modelValue:n.value,"onUpdate:modelValue":$[0]||($[0]=F=>n.value=F),"item-key":"key",class:{[m.dragClass]:m.dragClass}},m.$attrs,{"ghost-class":m.ghostClass,onStart:p,onEnd:i,onAdd:o,onRemove:d}),{item:e.withCtx(({element:F})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(F.component)))]),_:1},16,["modelValue","class","ghost-class"])):(e.openBlock(),e.createBlock(e.unref(G),e.mergeProps({key:1,modelValue:n.value,"onUpdate:modelValue":$[1]||($[1]=F=>n.value=F),"item-key":"id",class:{[m.dragClass]:m.dragClass}},m.$attrs,{"ghost-class":m.ghostClass,onStart:p,onEnd:i,onAdd:o,onRemove:d}),{item:e.withCtx(({element:F})=>[e.createElementVNode("div",null,[e.renderSlot(m.$slots,"default",{item:F},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]]));let ae={...ht,...Object.freeze(Object.defineProperty({__proto__:null,HbLibFuncCompCopy:ft,HbLibFuncCompDrag:gt},Symbol.toStringTag,{value:"Module"}))};const Ct={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"},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"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query 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"},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"}}},kt={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン"},hbLibListTableColumsSet:{allSelect:"すべて選択",cancelFix:"固定を解除する",confirm:"もちろん",errorTip:"列を固定列位置に移動できません",fix:"修理済み",popoverTitle:"カスタム列",title:"テーブルフィールドの設定"},hbListBtnsAct:{close:"クエリ条件を閉じる",open:"クエリ条件を拡張する",reload:"データを更新する"},hbListPageAct:{close:"近い",exitFullScreen:"全画面表示を終了する",fullScreen:"全画面表示",open:"拡大する",query:"クエリ",reset:"リセット",selfDefine:"フィルタークエリ条件"},hbListTable:{noData:"まだデータがありません"},hbMultiSelectModal:{pleaseSelect:"選択してください"},hbTableAct:{confirmContent:"内容を確認する",more:"もっと",secendConfirm:"2回目の確認"}}},yt={hbLibComp:{hbFormItemFilterModal:{titleTip:"已显示条件",mostMore:"最多可选",mostMoreTip:"个条件,拖拽可以调整排序",notShowTip:"未显示条件",add:"添加",noData:"暂无数据",cancel:"取消",confirm:"确定",moreConditionSearch:"多项搜索"},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:"不能将列移动到固定列位置"},hbLibListForm:{queryCase:"查询方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"}}},ut={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"},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"},hbFormSelectFilter:{allSelect:"Alles auswählen",close:"Schließung"},hbLibListForm:{queryCase:"Abfrageplan"},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"},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"}}};var J={exports:{}},Lt=J.exports,ne;function St(){return ne||(ne=1,(function(t,h){(function(c,n){t.exports=n(Z)})(Lt,(function(c){function n(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}var w=n(c),f={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(p,i){return i==="W"?p+"周":p+"日"},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(p,i){var o=100*p+i;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return w.default.locale(f,null,!0),f}))})(J)),J.exports}St(),Z.locale("zh-cn");const wt={en_US:Ct,ja_JP:kt,zh_CN:yt,de_DE:ut},xt=function(t){Object.keys(ae).forEach(c=>{t.use(ae[c])})};z.install=xt,z.locales=wt,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(z,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vuedraggable"),require("@ant-design/icons-vue"),require("ant-design-vue"),require("vue-router"),require("vue-i18n"),require("lodash"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","@ant-design/icons-vue","ant-design-vue","vue-router","vue-i18n","lodash","@vueuse/core","dayjs"],e):(z=typeof globalThis<"u"?globalThis:z||self,e(z.HbComponentLib={},z.Vue,z.draggable,z.iconsVue,z.antDesignVue,z.vueRouter,z.vueI18n,z.lodash,z.core,z.dayjs))})(this,(function(z,e,G,U,y,oe,j,Q,le,Z){"use strict";const X=(t="")=>{const h=`hb-${t}`;return re(h)},K=(t,h,c,n)=>(h&&(t+=`-${h}`),c&&(t+=`__${c}`),n&&(t+=`--${n}`),t),re=t=>({b:h=>h?K(t,h,"",""):K(t,"","",""),e:h=>h?K(t,"",h,""):"",m:h=>K(t,"","",h),be:(h,c)=>K(t,h,c,""),em:(h,c)=>K(t,"",h,c),bem:(h,c,n)=>K(t,h,c,n),is:(h,c)=>c?`is-${h}`:""}),ie=["onMouseenter","onMouseleave"],se=["onClick"],ce=e.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:{list:{default:()=>[]},afterChange:{type:Function,default:()=>()=>{}},title:{default:"自定义查询条件"},showNumber:{default:40}},emits:["confirm"],setup(t,{expose:h,emit:c}){const n=j.useI18n().t,w=j.useI18n().messages.value.en_US,f=j.useI18n().messages.value.ja_JP,p=j.useI18n().messages.value.zh_CN,i=t,o=c,d=X("sfcm"),m=oe.useRoute(),$=e.reactive({lan:window.localStorage.getItem("lan")}),F=e.ref(!1),O=e.ref(600);let C=[];const g=e.ref([]),B=e.ref([]),x=e.computed(()=>g.value.every(u=>u.isLinked||u.isFixed)),M=u=>{const T=u.draggedContext.element,b=u.relatedContext.index;if(T.isLinked||T.isFixed)return!1;const I=g.value.map((A,Y)=>({item:A,index:Y})).filter(({item:A})=>A.isLinked).map(({index:A})=>A);if(I.length===0)return!0;for(let A=0;A<I.length-1;A++){const Y=I[A],W=I[A+1];if(b>Y&&b<W)return!1}return!0},_=()=>{const u=localStorage.getItem("pro__Login_Userinfo");let T="anonymous";if(u)try{T=JSON.parse(u).value.jobNumber||"anonymous"}catch(I){console.warn("解析用户信息失败:",I)}let b=m?.path;return`searchFormConfig_${T}_${b}`},L=u=>({ja_JP:()=>Q.get(f,u.labelLanguage||""),en_US:()=>Q.get(w,u.labelLanguage||""),zh_CN:()=>Q.get(p,u.labelLanguage||"")})[$.lan]?.()||u.label,l=()=>{try{const u=_(),T=localStorage.getItem(u);if(T){const b=JSON.parse(T);if(b.originalList&&Array.isArray(b.originalList)){C=JSON.parse(JSON.stringify(b.originalList));const I=C.filter(S=>S?.isFixed),A=C.filter(S=>S?.isLinked),Y=b.showList.filter(S=>!S.isFixed&&!S.isLinked),W=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-I.length-A.length):Y.length,v=I.map(S=>({...S,label:L(S)||`${S.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:S.key,isFixed:S?.isFixed||!1,isLinked:S?.isLinked||!1,labelLanguage:S?.labelLanguage||void 0})),ee=A.map(S=>({...S,label:L(S)||`${S.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:S.key,isFixed:S?.isFixed||!1,isLinked:!0,labelLanguage:S?.labelLanguage||void 0})),te=Y.slice(0,W).map(S=>({...S,label:L(S)||`${S.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:S.key,isFixed:S?.isFixed||!1,isLinked:S?.isLinked||!1,labelLanguage:S?.labelLanguage||void 0}));g.value=[...v,...ee,...te];const N=g.value.map(S=>S.key),_t=C.map(S=>S.key).filter(S=>!N.includes(S));return B.value=C.filter(S=>_t.includes(S.key)).map(S=>({...S,label:L(S)||`${S.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:S.key,isFixed:S?.isFixed||!1,isLinked:S?.isLinked||!1,active:!1,labelLanguage:S?.labelLanguage||void 0})),!0}}}catch(u){console.warn("加载保存的搜索配置失败:",u)}return!1},a=()=>{try{const u={originalList:C,showList:g.value.map(b=>({...b,key:b.key,label:b.label,isFixed:b.isFixed,isLinked:b.isLinked,labelLanguage:b?.labelLanguage||void 0}))},T=_();localStorage.setItem(T,JSON.stringify(u))}catch(u){console.warn("保存搜索配置失败:",u)}},s=e.computed(()=>{const u=g.value.filter(b=>!b.isFixed&&!b.isLinked).length,T=g.value.filter(b=>b.isFixed||b.isLinked).length;return u>=i.showNumber-T});e.watch(()=>i.list,u=>{if(!l()&&C.length===0){C=JSON.parse(JSON.stringify(u));const b=u.filter(N=>N?.isFixed),I=u.filter(N=>N?.isLinked),A=u.filter(N=>!N?.isFixed&&!N?.isLinked),Y=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-b.length-I.length):A.length,W=b.map(N=>({...N,label:L(N)||`${N.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:N.key,isFixed:N?.isFixed||!1,isLinked:N?.isLinked||!1,labelLanguage:N?.labelLanguage||void 0})),v=I.map(N=>({...N,label:L(N)||`${N.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:N.key,isFixed:N?.isFixed||!1,isLinked:!0,labelLanguage:N?.labelLanguage||void 0})),ee=A.slice(0,Y).map(N=>({...N,label:L(N)||`${N.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:N.key,isFixed:N?.isFixed||!1,isLinked:N?.isLinked||!1,labelLanguage:N?.labelLanguage||void 0}));g.value=[...W,...v,...ee];const te=A.slice(Y).map(N=>({...N,label:L(N)||`${N.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:N.key,isFixed:N?.isFixed||!1,isLinked:N?.isLinked||!1,active:!1,labelLanguage:N?.labelLanguage||void 0}));B.value=te}},{immediate:!0});const k=u=>{const T=g.value.findIndex(b=>b.key===u.key);T!==-1&&(g.value.splice(T,1),B.value.push({...u,active:!1}))},r=u=>{if(s.value)return;const T=B.value.findIndex(b=>b.key===u.key);if(T!==-1){const[b]=B.value.splice(T,1);g.value.push({...b,active:!1})}},E=()=>{F.value=!1},V=()=>{F.value=!0},R=()=>{a(),o("confirm",g.value),E()},D=u=>{const T=B.value.findIndex(b=>b.key===u.key);T!==-1&&(B.value[T].active=!0)},H=u=>{const T=B.value.findIndex(b=>b.key===u.key);T!==-1&&(B.value[T].active=!1)};return h({toOpenModal:V}),(u,T)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(d).b())},[e.createVNode(e.unref(y.Modal),{visible:F.value,"onUpdate:visible":T[1]||(T[1]=b=>F.value=b),width:O.value,onCancel:E,onOk:R},{title:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("title"))},e.toDisplayString(t.title),3)]),footer:e.withCtx(()=>[e.createVNode(e.unref(y.Button),{onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(y.Button),{type:"primary",onClick:R},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("section",{class:e.normalizeClass(e.unref(d).e("show"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(d).e("title__tip"))},e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(t.showNumber)+e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("show__tag"))},[e.createVNode(e.unref(G),{modelValue:g.value,"onUpdate:modelValue":T[0]||(T[0]=b=>g.value=b),"item-key":"key",tag:"div",disabled:x.value,move:M},{item:e.withCtx(({element:b})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(d).e("show__tag__item"),e.unref(d).is("fixed",b.isFixed),e.unref(d).is("linked",b.isLinked)])},[e.createTextVNode(e.toDisplayString(b.label)+" ",1),!b.isFixed&&!b.isLinked&&t.list.length>1?(e.openBlock(),e.createBlock(e.unref(U.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(d).e("show__tag__item-close")),onClick:I=>k(b)},null,8,["class","onClick"])):e.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),e.createElementVNode("section",{class:e.normalizeClass(e.unref(d).e("unshow"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(d).e("title__tip"))},e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("unshow__tag"))},[B.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(B.value,b=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(d).e("unshow__tag__item"),e.unref(d).is("fixed",b.isFixed||""),e.unref(d).is("linked",b.isLinked||"")]),key:b.key,onMouseenter:I=>D(b),onMouseleave:I=>H(b)},[e.createTextVNode(e.toDisplayString(b.label)+" ",1),b.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(d).e("unshow__tag__item-add")),onClick:I=>r(b)},e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.add")),11,se)):e.createCommentVNode("",!0)],42,ie))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(d).e("unshow__tag__empty"))},e.toDisplayString(u.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),q=(t,h)=>{const c=t.__vccOpts||t;for(const[n,w]of h)c[n]=w;return c},de=q(ce,[["__scopeId","data-v-6ceb65e8"]]),P=(t,h)=>(t.install=c=>{for(const n of[t,...Object.values({})])c.component(n.name,n)},t),me=P(de),he={class:"form-footer"},pe=P(q(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}})},needFooter:{type:Boolean,default:!1},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},calTableHeight:{type:Function,default:()=>()=>{}}},emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(t,{expose:h,emit:c}){const n=c,w=e.inject("HB_LIST_PAGE_CONTAINER"),f=X("form"),p=t,i=e.ref("show"),o=e.computed(()=>(console.log(p.items),[...p.items])),d=e.ref(),m=()=>{n("handleSearch")},$=()=>{n("handleReset")},F=e.ref(),O=()=>{F.value&&F.value.toOpenModal()},C=L=>{n("handleSfcmConfirm",L)},g=()=>{i.value=i.value==="show"?"hide":"show"};e.watch(()=>p.isFormExpanded,L=>{if(L){console.log(L);const l=document.querySelector("#subpackage_container");l instanceof HTMLElement&&(l.style.overflow="hidden",setTimeout(()=>{l.style.overflow="auto"},500))}});const B=L=>{const l=L;l.style.height="",l.offsetHeight},x=L=>{const l=L;l.style.height="",l.style.overflow="",e.nextTick(()=>{w.calTableHeight&&w.calTableHeight()})},M=L=>{const l=L,a=l.querySelector(".hb-lib-form--container");if(a){const s=a.offsetHeight;l.style.height=s+"px",l.style.overflow="hidden",l.offsetHeight,requestAnimationFrame(()=>{l.style.height="0"})}},_=()=>{e.nextTick(()=>{w.calTableHeight&&w.calTableHeight()})};return h({formRef:d,SelectOption:y.SelectOption,Form:y.Form,FormItem:y.FormItem,Row:y.Row,Col:y.Col,Input:y.Input,Select:y.Select,CheckboxGroup:y.CheckboxGroup,Checkbox:y.Checkbox,DatePicker:y.DatePicker,InputNumber:y.InputNumber,RadioGroup:y.RadioGroup,Radio:y.Radio,Switch:y.Switch,Button:y.Button,Tooltip:y.Tooltip}),(L,l)=>{const a=e.resolveComponent("a-button"),s=e.resolveComponent("a-tooltip"),k=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:B,onAfterEnter:x,onLeave:M,onAfterLeave:_},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(f).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[e.createVNode(e.unref(y.Form),e.mergeProps(L.$attrs,{model:t.formData,ref_key:"formRef",ref:d,class:["hb-lib-form--container",i.value=="show"?"":"hide"]}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(r,E)=>(e.openBlock(),e.createBlock(e.unref(y.FormItem),e.mergeProps({key:E,ref_for:!0},r,{name:r.key,class:r.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),e.createSlots({default:e.withCtx(()=>[r.type==="slot"?e.renderSlot(L.$slots,r.key,{key:0,formData:t.formData,item:r},void 0,!0):e.createCommentVNode("",!0),r.type==="mixin"?e.renderSlot(L.$slots,r.key,{key:1,formData:t.formData,item:r},void 0,!0):e.createCommentVNode("",!0),r.type==="input"?(e.openBlock(),e.createBlock(e.unref(y.Input),e.mergeProps({key:2,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="select"?(e.openBlock(),e.createBlock(e.unref(y.Select),e.mergeProps({key:3,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,(V,R)=>(e.openBlock(),e.createBlock(e.unref(y.SelectOption),{key:R,value:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(y.CheckboxGroup),e.mergeProps({key:4,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,(V,R)=>(e.openBlock(),e.createBlock(e.unref(y.Checkbox),{key:R,value:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(y.DatePicker),e.mergeProps({key:5,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(y.InputNumber),e.mergeProps({key:6,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="radio"?(e.openBlock(),e.createBlock(e.unref(y.RadioGroup),e.mergeProps({key:7,value:t.formData[r.key],"onUpdate:value":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,(V,R)=>(e.openBlock(),e.createBlock(e.unref(y.Radio),{key:R,value:V.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(V.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),r.type==="switch"?(e.openBlock(),e.createBlock(e.unref(y.Switch),e.mergeProps({key:8,checked:t.formData[r.key],"onUpdate:checked":V=>t.formData[r.key]=V},{ref_for:!0},r.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[r.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.label)+" ",1),e.createVNode(e.unref(y.Tooltip),{title:r.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(U.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),e.createElementVNode("section",he,[e.createVNode(a,{type:"primary",onClick:m,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(U.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(L.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(a,{type:"link",onClick:$},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.needFilter?(e.openBlock(),e.createBlock(s,{key:0,title:L.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:O},[...l[0]||(l[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(L.$slots,"formBtns",{},void 0,!0)])]),_:3},16,["model","class"]),t.needFooter?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(f).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(f).e("footer__left"))},[e.renderSlot(L.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f).e("footer__right"))},[i.value=="show"?e.renderSlot(L.$slots,"form-footer-right",{key:0,formRef:d.value},()=>[e.createVNode(e.unref(y.Button),{type:"primary",onClick:$},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(e.unref(y.Button),{type:"primary",onClick:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):e.createCommentVNode("",!0),e.createVNode(e.unref(y.Button),{type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value=="show"?`${L.$t("hbLibComp.hbListPageAct.close")}`:`${L.$t("hbLibComp.hbListPageAct.open")}`),1)]),_:1})],2)],2)):e.createCommentVNode("",!0)],2),[[e.vShow,t.isFormExpanded]])]),_:3}),e.createVNode(k,{list:t.items,ref_key:"HbSfCmRef",ref:F,onConfirm:C},null,8,["list"])],64)}}}),[["__scopeId","data-v-a1fedfa4"]])),fe={class:"hb-lib-list-page-act-box"},be={class:"hb-lib-list-page-breadcrumb"},ge={class:"hb-lib-list-page-act"},Ce={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"},ke={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"},ue=P(q(e.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:{formItems:{},isShowSelfFilter:{type:Boolean,default:!0},isShowOpenClose:{type:Boolean,default:!0},isShowFullScreen:{type:Boolean,default:!0}},emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(t,{emit:h}){const c=e.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:n,toggle:w}=le.useFullscreen(c.PageContainerRef),f=e.ref(""),p=()=>{const i=oe.useRoute();let o=localStorage.getItem("BreadCrumb")||"[]",d=i?.path;if(o!=="[]"){let m=JSON.parse(o).find($=>$.value===d);m&&(f.value=m.label.replace(/-/g," / "))}};return e.onMounted(()=>{p()}),(i,o)=>{const d=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",fe,[e.createElementVNode("aside",be,e.toDisplayString(f.value),1),e.createElementVNode("aside",ge,[e.createVNode(d,{title:e.unref(n)?`${i.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${i.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:o[0]||(o[0]=(...m)=>e.unref(w)&&e.unref(w)(...m))},[e.unref(n)?(e.openBlock(),e.createElementBlock("svg",ke,[...o[2]||(o[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",Ce,[...o[1]||(o[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(i.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-cb524b69"]])),ye={class:"hb-lib-list-btns-box"},Le={class:"hb-lib-list-btns-left"},Se={class:"hb-lib-list-btns-right"},we=P(q(e.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:{formItems:{default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},emits:["handleOpenOrClose","handleReload"],setup(t,{emit:h}){const c=h,n=e.ref(!0),w=()=>{n.value=!n.value,c("handleOpenOrClose",n.value)},f=()=>{c("handleReload")};return e.onMounted(()=>{}),(p,i)=>{const o=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ye,[e.createElementVNode("aside",Le,[e.renderSlot(p.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Se,[t.needReload?(e.openBlock(),e.createBlock(o,{key:0,title:p.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:f},[...i[0]||(i[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(o,{key:1,title:n.value?`${p.$t("hbLibComp.hbListBtnsAct.close")}`:`${p.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:w},[n.value?(e.openBlock(),e.createBlock(e.unref(U.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(U.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(p.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-0ab77a2c"]])),xe=(t={})=>{const{formRef:h,offsetBottom:c=50,minHeight:n=300}=t,w=e.ref(0);let f=null,p=null,i=null,o=null,d=null;const m=()=>{d&&clearTimeout(d),d=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const x=document.querySelector(".ant-table"),M=document.querySelector(".ant-pagination");if(x){const _=x.getBoundingClientRect().top,L=window.innerHeight,a=(M?M.offsetHeight+20:40)+c;let s=L-_-a;s<n&&(s=n),w.value=s}})})},100)},$=()=>{const x=document.querySelector(".ant-pagination");if(x){const M=new MutationObserver(()=>{m()});return M.observe(x,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),M}return null},F=()=>{const x=document.querySelector(".hb-lib-list-page-form-box");x&&(f=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(_=>{_.style.display="none"}),m()}),f.observe(x))},O=()=>{const x=document.querySelector(".hb-lib-list-page-form-box");x&&(i=new MutationObserver(()=>{setTimeout(()=>{m()},100)}),i.observe(x,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},C=()=>{o&&clearTimeout(o),o=setTimeout(()=>{m()},100)},g=()=>{window.addEventListener("resize",C),e.nextTick(()=>{F(),O(),p=$()})},B=()=>{window.removeEventListener("resize",C),f&&f.disconnect(),i&&i.disconnect(),p&&p.disconnect(),o&&clearTimeout(o),d&&clearTimeout(d)};return h&&e.watch(()=>h,()=>{setTimeout(()=>{m()},200)},{deep:!0}),e.onMounted(()=>{m(),g()}),e.onUnmounted(()=>{B()}),{tableHeight:w,calTableHeight:m}},_e=P(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{default:400},tabelData:{default:()=>[]},offsetBottom:{},minHeight:{}},setup(t){const h=t,c=e.useTemplateRef("PageContainerRef"),{calTableHeight:n,tableHeight:w}=xe({offsetBottom:h.offsetBottom||20,minHeight:h.minHeight||300}),f=e.computed(()=>w.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:c,tableHeight:w,calTableHeight:n}),(p,i)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:c},[e.renderSlot(p.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle({"--hb-list-table-height":f.value-20+"px","--hb-list-ttable-height":t.tabelData.length?"":f.value-20+"px"})},[e.renderSlot(p.$slots,"default")],4)],512))}})),Be={style:{"font-weight":"500"}},Ne={key:0,class:"hb-lib-search-tag__description"},Fe={class:"hb-lib-selector-dropdown"},Te={class:"hb-lib-selector-search"},$e={class:"hb-lib-selector-list"},Ve=["onClick"],Me={class:"hb-lib-option-content"},Ee={class:"hb-lib-option-label"},Ie={key:0,class:"hb-lib-selector-empty"},He={key:1,class:"hb-lib-selector-footer"},De={class:"hb-lib-footer-buttons"},Ae={key:2,class:"hb-lib-selector-footer"},ze={class:"hb-lib-footer-buttons"},Oe=P(q(e.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:e.mergeModels({title:{default:"请选择"},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:h}){const c=t,n=h,w=e.useModel(t,"value"),f=e.ref(!1),p=e.ref(""),i=e.ref([]),o=e.ref(),d=e.computed(()=>{if(c.remoteSearch||!p.value)return c.options;const l=p.value.toLowerCase();return c.options.filter(a=>a.label.toLowerCase().includes(l)||a.description?.toLowerCase().includes(l))}),m=e.computed(()=>c.prefix?`${c.prefix.length*14+8}px`:"0px"),$=e.computed(()=>d.value.length===0?!1:d.value.every(l=>i.value.includes(l.value))),F=e.computed(()=>{if(d.value.length===0)return!1;const l=d.value.filter(a=>i.value.includes(a.value)).length;return l>0&&l<d.value.length});e.watch(()=>w.value,l=>{l?i.value=Array.isArray(l)?[...l]:[l]:i.value=[]},{immediate:!0}),e.watch(()=>c.searchValue,l=>{c.remoteSearch&&l!==void 0&&(p.value=l)},{immediate:!0});const O=l=>{l&&(f.value=l,C.value=[...i.value],p.value="",setTimeout(()=>{if(o.value){const a=o.value.input||o.value.$el?.querySelector("input");a&&a.focus()}},100))},C=e.ref([]),g=()=>{i.value=[...C.value],f.value=!1,n("cancel")},B=e.ref([]),x=()=>{const l=c.multiple?i.value:i.value[0]||"",a=c.options.filter(s=>i.value.includes(s.value));B.value=a,console.log(l,a),C.value=[...i.value],w.value=l,n("update:value",l),n("change",l,a),n("confirm",l,a),f.value=!1},M=le.useDebounceFn(l=>{const a=l!==void 0?l:p.value;c.remoteSearch&&(n("search",a),n("update:searchValue",a))},300),_=l=>{if(c.multiple){const a=new Set(i.value);a.has(l.value)?a.delete(l.value):a.add(l.value),i.value=Array.from(a)}else i.value=[l.value],x()},L=l=>{if(l.target.checked){const s=new Set(i.value);d.value.forEach(k=>{s.add(k.value)}),i.value=Array.from(s)}else{const s=new Set(d.value.map(k=>k.value));i.value=i.value.filter(k=>!s.has(k))}};return(l,a)=>{const s=e.resolveComponent("a-tag"),k=e.resolveComponent("a-input"),r=e.resolveComponent("a-checkbox"),E=e.resolveComponent("a-radio"),V=e.resolveComponent("a-button"),R=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":m.value}},l.$attrs),[e.createVNode(R,{value:w.value,"onUpdate:value":a[5]||(a[5]=D=>w.value=D),mode:t.multiple?"multiple":void 0,placeholder:t.placeholder,"show-search":!0,"filter-option":!1,open:f.value,allowClear:"",maxTagCount:t.maxTagCount,options:d.value,onDropdownVisibleChange:O,onSearch:e.unref(M),"max-tag-text-length":t.tagTextLength,class:e.normalizeClass({"has-prefix":t.prefix}),"data-prefix":t.prefix,style:{width:"100%"}},{tagRender:e.withCtx(({value:D,label:H,closable:u,option:T})=>[e.createVNode(s,{class:"hb-lib-search-tag",onClick:a[0]||(a[0]=()=>O(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Be,e.toDisplayString(H),1),T?.description?(e.openBlock(),e.createElementBlock("span",Ne," ("+e.toDisplayString(T.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:D})=>[e.createElementVNode("div",Fe,[e.createElementVNode("div",Te,[e.createVNode(k,{ref_key:"searchInputRef",ref:o,class:"hb-lib-selector-search-input",value:p.value,"onUpdate:value":a[1]||(a[1]=H=>p.value=H),placeholder:"请输入关键词搜索","allow-clear":"",onInput:a[2]||(a[2]=H=>e.unref(M)(H.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(U.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",$e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,H=>(e.openBlock(),e.createElementBlock("div",{key:H.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:i.value.includes(H.value)}]),onClick:()=>_(H)},[t.multiple?(e.openBlock(),e.createBlock(r,{key:0,checked:i.value.includes(H.value),onChange:()=>_(H),onClick:a[3]||(a[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock(E,{key:1,checked:i.value.includes(H.value),onChange:()=>_(H),onClick:a[4]||(a[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",Me,[e.createElementVNode("div",Ee,e.toDisplayString(H.label),1)])],10,Ve))),128))]),d.value.length===0?(e.openBlock(),e.createElementBlock("div",Ie,e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),t.multiple?(e.openBlock(),e.createElementBlock("div",He,[e.createVNode(r,{checked:$.value,indeterminate:F.value,onChange:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",De,[e.createVNode(V,{size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(V,{type:"primary",size:"small",onClick:x},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",Ae,[a[6]||(a[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",ze,[e.createVNode(V,{size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$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-11422adb"]])),Pe={class:"hb-lib-form-item-filter-modal-search"},Re={class:"hb-lib-form-item-filter-modal-buttons"},Ue={key:0},qe=P(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:h,emit:c}){const n=t,w=c,f=e.ref(!1),p=e.ref(""),i=e.ref(),o=e.ref(),d=e.ref([]),m=e.ref([]),$=e.ref(),F=e.reactive({searchText:"",searchedColumn:""}),O=e.computed(()=>n.tableData.map(s=>(s.id=s.id||Math.random(),s))),C=e.computed(()=>n.tableColumn.map(s=>(s.customFilterDropdown&&(s.onFilter=(k,r)=>r[s.dataIndex].toString().toLowerCase().includes(k.toLowerCase()),s.onFilterDropdownVisibleChange=k=>{k&&setTimeout(()=>{i.value?.focus()},100)}),{...s}))),g=()=>{let s="";m.value.forEach(k=>{s=s+k[n.labelKey]+","}),p.value=s.substring(0,s.length-1),f.value=!1,w("handleConfirm",m.value)},B=()=>{f.value=!1},x=()=>{f.value=!0,e.nextTick(()=>{const s=$.value?.$el?.querySelector(".ant-table-body");s&&(s.scrollTop=0)})},M=()=>{d.value=[],m.value=[]},_=()=>{p.value="",M()},L=(s,k,r)=>{k(),F.searchText=s[0],F.searchedColumn=r},l=(s,k)=>{s({confirm:!0}),F.searchText="",k()},a=(s,k)=>{d.value=s,m.value=k};return h({resetInputVal:_}),(s,k)=>{const r=e.resolveComponent("a-input"),E=e.resolveComponent("a-button"),V=e.resolveComponent("a-table"),R=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:o},[e.createVNode(r,{readonly:"",onClick:x,value:p.value,"onUpdate:value":k[0]||(k[0]=D=>p.value=D),placeholder:s.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(U.UnorderedListOutlined),{onClick:x})]),_:1},8,["value","placeholder"]),e.createVNode(R,{visible:f.value,"onUpdate:visible":k[1]||(k[1]=D=>f.value=D),title:t.modelTitle,width:t.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode(E,{onClick:M},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(E,{onClick:B},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(E,{type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(V,{ref_key:"tableRef",ref:$,columns:C.value,dataSource:O.value,rowSelection:{selectedRowKeys:d.value,onChange:a},rowKey:D=>D[t.tableKey],scroll:{y:t.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:D,selectedKeys:H,confirm:u,clearFilters:T,column:b})=>[e.createElementVNode("div",Pe,[e.createVNode(r,{ref_key:"searchInput",ref:i,placeholder:`请输入${b.title}`,value:H[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:I=>D(I.target.value?[I.target.value]:[]),onPressEnter:I=>L(H,u,b.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",Re,[e.createVNode(E,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:I=>l(T,u)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode(E,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:I=>L(H,u,b.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:D})=>[e.createVNode(e.unref(U.SearchOutlined),{style:e.normalizeStyle({color:D?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:D,column:H})=>[F.searchText&&F.searchedColumn===H.dataIndex?(e.openBlock(),e.createElementBlock("span",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.toString().split(new RegExp(`(?<=${F.searchText})|(?=${F.searchText})`,"i")),(u,T)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[u.toLowerCase()===F.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:T,class:"highlight"},e.toDisplayString(u),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(u),1)],64))],64))),256))])):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),Ye={class:"hb-lib-table-act-box"},je=["onClick"],Ke={href:"javascript:;",class:"hb-lib-table-main-action"},We=["onClick"],Ge={href:"javascript:;",class:"hb-lib-table-more-action"},Je=["onClick"],Qe={href:"javascript:;"},Ze=["onClick"],Xe={class:"hb-lib-table-confirm-modal-content"},ve=P(q(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(t,{expose:h}){const c=t,{t:n}=j.useI18n(),w=e.ref(!1),f=e.ref(!1),p=e.ref(null),i=e.computed(()=>c.actions.filter(g=>g.condition!==void 0?g.condition:!0)),o=e.computed(()=>i.value.slice(0,c.buttonDisplaysQuantity)),d=e.computed(()=>i.value.slice(c.buttonDisplaysQuantity)),m=g=>{g.handler&&g.handler(c.record)},$=g=>{p.value=g,w.value=!0},F=()=>{if(p.value){f.value=!0;try{m(p.value),f.value=!1,w.value=!1}catch{f.value=!1}}},O=()=>{w.value=!1,p.value=null},C=e.computed(()=>p.value?{title:p.value.confirmTitle,content:p.value.confirmContent||p.value.confirmTitle}:{title:n("hbLibComp.hbTableAct.secendConfirm"),content:n("hbLibComp.hbTableAct.confirmContent")});return h({ADropdown:y.Dropdown,AMenu:y.Menu,AMenuItem:y.MenuItem,APopconfirm:y.Popconfirm,AModal:y.Modal,DownOutlined:U.DownOutlined}),(g,B)=>{const x=e.resolveComponent("a-divider"),M=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",Ye,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(_,L)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[_.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:l=>$(_),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(_.label),1)],8,je)),[[M,_.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(y.Popconfirm),{key:1,title:_.confirmTitle,onConfirm:l=>m(_)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Ke,[e.createTextVNode(e.toDisplayString(_.label),1)])),[[M,_.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:l=>m(_),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(_.label),1)],8,We)),[[M,_.permissionsTag||null]]),d.value&&d.value.length>0||L!==o.value.length-1?(e.openBlock(),e.createBlock(x,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64))),128)),d.value&&d.value.length>0?(e.openBlock(),e.createBlock(e.unref(y.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(y.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,_=>(e.openBlock(),e.createBlock(e.unref(y.MenuItem),{key:_.key},{default:e.withCtx(()=>[_.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[_.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:L=>$(_)},[e.createTextVNode(e.toDisplayString(_.label),1)],8,Je)),[[M,_.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(y.Popconfirm),{key:1,title:_.confirmTitle,onConfirm:L=>m(_)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Qe,[e.createTextVNode(e.toDisplayString(_.label),1)])),[[M,_.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:L=>m(_)},[e.createTextVNode(e.toDisplayString(_.label),1)],8,Ze)),[[M,_.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",Ge,[e.createTextVNode(e.toDisplayString(g.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(U.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(y.Modal),{visible:w.value,title:C.value.title,"confirm-loading":f.value,onOk:F,onCancel:O},{default:e.withCtx(()=>[e.createElementVNode("p",Xe,e.toDisplayString(C.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-ecac600b"]])),et=t=>({tableWidth:e.computed(()=>{const c=Array.isArray(t)?t:t.value;return!c||c.length===0?0:c.map(n=>n.width&&Number(n.width.toString().replace("px",""))||0).reduce((n,w)=>n+w,0)})}),tt={key:0,class:"hb-lib-list-table-act"},ot={class:"empty-container"},lt=P(q(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},childColumns:{},rowHeight:{},defaultWidth:{default:()=>150}},setup(t){const{t:h}=j.useI18n(),c=t,n=e.ref([]),w=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:f}=et(e.computed(()=>c.columns));e.watch(()=>c.columns,o=>{const d=o.filter(m=>m!=null&&m.checked);n.value=d.map(m=>{let $={...m,title:m.title||m.label};if($.ellipsis&&!$.needTooltip&&($.needTooltip=!0),!$.width)$.width=c.defaultWidth;else if(typeof $.width=="string"){const F=parseInt($.width,10);$.width=isNaN(F)?c.defaultWidth:F}return $.resizable===void 0&&($.resizable=!0),$})},{immediate:!0,deep:!0});const p=(o,d)=>{if(d){const m=typeof o=="string"?parseInt(o,10):o;d.width=isNaN(m)?150:m}},i=(o,d="YYYY-MM-DD HH:mm:ss")=>o?Z(o).format(d):"";return(o,d)=>{const m=e.resolveComponent("a-empty"),$=e.resolveComponent("a-tooltip"),F=e.resolveComponent("HbLibCopy"),O=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":c.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":t.rowHeight&&t.rowHeight+"px"||""})},[o.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",tt,[e.renderSlot(o.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(o.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(O,e.mergeProps(o.$attrs,{bordered:"",columns:n.value,onResizeColumn:p,scroll:{x:e.unref(f),y:e.unref(w).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",ot,[e.createVNode(m,{description:e.unref(h)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[o.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:C})=>[e.renderSlot(o.$slots,"headerCell",{column:C},()=>[e.createTextVNode(e.toDisplayString(C.title),1)],!0)]),key:"0"}:void 0,o.$slots.bodyCell?{name:"bodyCell",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"bodyCell",{column:C,record:g,index:B,text:x},void 0,!0),C&&C.needTooltip?(e.openBlock(),e.createBlock($,{key:0,placement:"top"},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g[C.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(g[C.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0),C&&C.needCopy?(e.openBlock(),e.createBlock(F,{key:1,"cp-text":g[C.dataIndex],style:{position:"relative"}},null,8,["cp-text"])):e.createCommentVNode("",!0),C&&C.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(i(g[C.dataIndex],C.format)),1)],64)):e.createCommentVNode("",!0)]),key:"1"}:void 0,o.$slots.expandedRowRender?{name:"expandedRowRender",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"expandedRowRender",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"2"}:void 0,o.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"customFilterDropdown",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"3"}:void 0,o.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"customFilterIcon",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"4"}:void 0,o.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"expandIcon",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"5"}:void 0,o.$slots.footer?{name:"footer",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"footer",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"6"}:void 0,o.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"headerCell",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"7"}:void 0,o.$slots.summary?{name:"summary",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"summary",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"8"}:void 0,o.$slots.title?{name:"title",fn:e.withCtx(({column:C,record:g,index:B,text:x})=>[e.renderSlot(o.$slots,"title",{record:g,column:C,index:B,text:x},void 0,!0)]),key:"9"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-13ac2d2d"]])),at={class:"hb-lib-table-setting-box"},nt={key:0,class:"hb-lib-table-drag-item"},rt={key:0,class:"hb-lib-table-drag-item-act"},it=["onClick"],st=["onClick"],ct={class:"hb-lib-table-set-btn-group"},dt={class:"select-all-container",style:{"margin-right":"10px"}},mt=P(q(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","refresh","clearSelected"],setup(t,{emit:h}){const c=h,{t:n}=j.useI18n(),w=t,f=e.ref([]),p=e.computed(()=>o.value.filter(l=>l.checked));e.ref([]);const i=e.ref(!1),o=e.ref([]),d=e.ref(null),m=e.computed(()=>p.value.length>0&&p.value.length===f.value.length),$=e.computed(()=>p.value.length>0&&p.value.length<f.value.length),F=l=>{d.value=l.oldIndex},O=l=>{const a=l.newIndex;if(f.value.some(k=>k.fixed==="left"||k.fixed==="right"||k.fixed===!0)){const k=f.value.filter(E=>E.fixed==="left").length,r=f.value.length-f.value.filter(E=>E.fixed==="right").length;if((k>0&&a<k||r<f.value.length&&a>=r)&&(y.message.warning(n("hbLibComp.hbLibListTableColumsSet.errorTip")),d.value!==null)){const E=o.value.splice(a,1)[0];o.value.splice(d.value,0,E)}}d.value=null},C=l=>{l.target.checked?o.value.forEach(s=>s.checked=!0):o.value.forEach(s=>s.checked=!1)},g=(l,a)=>{a?l.checked=!0:l.checked=!1},B=()=>{f.value=[...o.value],c("on-get-columns",f.value),i.value=!1},x=()=>{f.value=w.tableColumns.map(a=>({...a,label:a.title&&a.title.tag?M(a.title):a.title||a.title2,value:a.dataIndex,checked:a.checked||a.checked===void 0})),o.value=[...f.value];let l=[];w.tableColumns.forEach(function(a){l.push(a.dataIndex)})},M=l=>l.children[0].text,_=l=>{delete l.fixed;const a=o.value.findIndex(s=>s.value===l.value);if(a!==-1){let s=-1;for(let k=0;k<o.value.length;k++)o.value[k].fixed==="left"&&(s=k);if(s!==-1&&a!==s+1){const k=[...o.value],[r]=k.splice(a,1);k.splice(s+1,0,r),o.value=k}}},L=l=>{const a=o.value.findIndex(s=>s.value===l.value);if(a!==-1){let s=-1;for(let k=0;k<o.value.length;k++)o.value[k].fixed==="left"&&(s=k);if(s!==-1&&a!==s+1){const k=[...o.value],r=k.splice(a,1);r[0].fixed="left",k.splice(s+1,0,r[0]),o.value=k}}};return x(),(l,a)=>{const s=e.resolveComponent("a-tooltip"),k=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",at,[e.createVNode(e.unref(y.Popover),{title:e.unref(n)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"alertInfoContent",visible:i.value,"onUpdate:visible":a[1]||(a[1]=r=>i.value=r)},{content:e.withCtx(()=>[e.createVNode(e.unref(G),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=r=>o.value=r),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:F,onEnd:O},{item:e.withCtx(({element:r})=>[r.fixed!=="right"?(e.openBlock(),e.createElementBlock("div",nt,[e.createVNode(e.unref(y.Checkbox),{checked:r.checked,onChange:E=>g(r,E.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.label),1)]),_:2},1032,["checked","onChange"]),r.checked?(e.openBlock(),e.createElementBlock("section",rt,[e.createElementVNode("span",{class:e.normalizeClass(r.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),r.fixed?(e.openBlock(),e.createBlock(s,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:E=>_(r)},[...a[2]||(a[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,it)]),_:2},1024)):e.createCommentVNode("",!0),r.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:E=>L(r)},[...a[3]||(a[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,st)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ct,[e.createElementVNode("div",dt,[e.createVNode(e.unref(y.Checkbox),{checked:m.value,indeterminate:$.value,onChange:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),e.createVNode(k,{onClick:B,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(s,{title:e.unref(n)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...a[4]||(a[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-c9fc6c04"]])),ht=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:me,HbLibListBtnsAct:we,HbLibListForm:pe,HbLibListMultiSelect:Oe,HbLibListPageAct:ue,HbLibListPageContainer:_e,HbLibListTable:lt,HbLibMutilpleSelectModal:qe,HbLibTableAct:ve,HbLibTableColumnSet:mt},Symbol.toStringTag,{value:"Module"})),pt={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:"复制成功"},cpStyle:{type:Object,default:()=>({})},classType:{type:String,default:"ab"}},ft=P(q(e.defineComponent({name:"HbLibCopy",__name:"copy",props:pt,setup(t){const h=t,c=e.ref();e.watchEffect(()=>{c.value=h.data});const n=e.computed(()=>{if(h.cpText)return h.cpText;let f="";if(h.data)if(Array.isArray(h.data)){if(h.K&&h.V&&h.L){const p=h.data.find(i=>i?.[h.K]===h.V);f=p?p[h.L]:""}}else h.K&&(f=h.data[h.K]);return f}),w=()=>{navigator.clipboard.writeText(n.value).then(()=>{y.message.success(h.copySuccessTip)}).catch(()=>{y.message.error("复制失败")})};return(f,p)=>{const i=e.resolveComponent("a-tooltip");return n.value?(e.openBlock(),e.createBlock(i,{key:0,title:f.tooltipTitle},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["hb-lib-copy-text-eyevue icon strongQ strong-copy",f.classType=="ab"?"ab":"normal"]),style:e.normalizeStyle({...f.cpStyle}),onClick:e.withModifiers(w,["stop","prevent"])},null,6)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d5ca4420"]])),bt={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:""}},gt=P(q(e.defineComponent({name:"HbDrag",__name:"index",props:bt,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(t,{emit:h}){const c=t,n=e.shallowRef([]);e.watch(()=>c.dragList,m=>{n.value=m},{deep:!0,immediate:!0});const w=X("drag"),f=h,p=m=>{console.log("drag start",m),f("handleDragStart",m)},i=m=>{console.log("drag end",m),f("handleDragEnd",m)},o=m=>{console.log("drag add",m),f("handleDragAdd",m)},d=m=>{console.log("drag remove",m),f("handleDragRemove",m)};return(m,$)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(w).b())},[m.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(G),e.mergeProps({key:0,modelValue:n.value,"onUpdate:modelValue":$[0]||($[0]=F=>n.value=F),"item-key":"key",class:{[m.dragClass]:m.dragClass}},m.$attrs,{"ghost-class":m.ghostClass,onStart:p,onEnd:i,onAdd:o,onRemove:d}),{item:e.withCtx(({element:F})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(F.component)))]),_:1},16,["modelValue","class","ghost-class"])):(e.openBlock(),e.createBlock(e.unref(G),e.mergeProps({key:1,modelValue:n.value,"onUpdate:modelValue":$[1]||($[1]=F=>n.value=F),"item-key":"id",class:{[m.dragClass]:m.dragClass}},m.$attrs,{"ghost-class":m.ghostClass,onStart:p,onEnd:i,onAdd:o,onRemove:d}),{item:e.withCtx(({element:F})=>[e.createElementVNode("div",null,[e.renderSlot(m.$slots,"default",{item:F},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]]));let ae={...ht,...Object.freeze(Object.defineProperty({__proto__:null,HbLibFuncCompCopy:ft,HbLibFuncCompDrag:gt},Symbol.toStringTag,{value:"Module"}))};const Ct={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"},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"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query 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"},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"}}},kt={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン"},hbLibListTableColumsSet:{allSelect:"すべて選択",cancelFix:"固定を解除する",confirm:"もちろん",errorTip:"列を固定列位置に移動できません",fix:"修理済み",popoverTitle:"カスタム列",title:"テーブルフィールドの設定"},hbListBtnsAct:{close:"クエリ条件を閉じる",open:"クエリ条件を拡張する",reload:"データを更新する"},hbListPageAct:{close:"近い",exitFullScreen:"全画面表示を終了する",fullScreen:"全画面表示",open:"拡大する",query:"クエリ",reset:"リセット",selfDefine:"フィルタークエリ条件"},hbListTable:{noData:"まだデータがありません"},hbMultiSelectModal:{pleaseSelect:"選択してください"},hbTableAct:{confirmContent:"内容を確認する",more:"もっと",secendConfirm:"2回目の確認"}}},ut={hbLibComp:{hbFormItemFilterModal:{titleTip:"已显示条件",mostMore:"最多可选",mostMoreTip:"个条件,拖拽可以调整排序",notShowTip:"未显示条件",add:"添加",noData:"暂无数据",cancel:"取消",confirm:"确定",moreConditionSearch:"多项搜索"},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:"不能将列移动到固定列位置"},hbLibListForm:{queryCase:"查询方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"}}},yt={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"},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"},hbFormSelectFilter:{allSelect:"Alles auswählen",close:"Schließung"},hbLibListForm:{queryCase:"Abfrageplan"},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"},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"}}};var J={exports:{}},Lt=J.exports,ne;function St(){return ne||(ne=1,(function(t,h){(function(c,n){t.exports=n(Z)})(Lt,(function(c){function n(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}var w=n(c),f={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(p,i){return i==="W"?p+"周":p+"日"},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(p,i){var o=100*p+i;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return w.default.locale(f,null,!0),f}))})(J)),J.exports}St(),Z.locale("zh-cn");const wt={en_US:Ct,ja_JP:kt,zh_CN:ut,de_DE:yt},xt=function(t){Object.keys(ae).forEach(c=>{t.use(ae[c])})};z.install=xt,z.locales=wt,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hb-hellotech/hb-ui",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "main": "dist/hb_component_lib.umd.cjs",
6
6
  "module": "dist/hb_component_lib.js",