@hb-hellotech/hb-ui 0.1.0 → 0.1.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.
package/dist/components/business-comp/list-page-comp/hb_list_page_act/src/HbListPageAct.vue.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
17
17
|
readonly default: true;
|
|
18
18
|
};
|
|
19
19
|
}>, {
|
|
20
|
-
route: import("vue-router/dist/router-BbqN7H95.mjs").RouteLocationNormalizedLoadedGeneric;
|
|
21
20
|
props: any;
|
|
22
21
|
ListPageBoxObj: any;
|
|
23
22
|
isFullscreen: import("vue").Ref<boolean, boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-f0b1028c]: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-f0b1028c] .ant-form-item{margin-bottom:var(--hb-space)}.hb-form .hb-form__footer[data-v-f0b1028c]{display:flex;justify-content:space-between}.hb-lib-form--container[data-v-f0b1028c]{overflow:hidden;margin:6px}.hide[data-v-f0b1028c]{height:0}.hb-form__form-item-col[data-v-f0b1028c]{flex:0 0 auto;min-width:200px;width:auto;padding-right:var(--hb-space);margin-bottom:16px}.form-footer[data-v-f0b1028c]{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-49da5377]: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-49da5377]{margin-right:var(--hb-space)}[data-v-0f819b31]: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-0f819b31]{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-0f819b31]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-0f819b31]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-0f819b31]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-0f819b31]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-0f819b31]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-0f819b31]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-0f819b31]{display:flex;align-items:center}.flex-between[data-v-2307d348]{display:flex;justify-content:space-between;align-items:center}.flex-center[data-v-2307d348]{display:flex;align-items:center}.hb-lib-selector-wrapper[data-v-2307d348]{position:relative}.hb-lib-selector-wrapper .ant-input[data-v-2307d348]{cursor:pointer}.has-prefix[data-v-2307d348]: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-2307d348] .ant-select-selector{padding-left:calc(12px + var(--prefix-width, 0px))}.has-prefix[data-v-2307d348] .ant-select-selection-placeholder{padding-left:var(--prefix-width, 0px)}.hb-lib-selector-dropdown[data-v-2307d348]{padding:8px;min-width:200px}.hb-lib-selector-search[data-v-2307d348]{margin-bottom:8px}.hb-lib-selector-list[data-v-2307d348]{max-height:200px;overflow-y:auto}.hb-lib-selector-list[data-v-2307d348]::-webkit-scrollbar{width:6px}.hb-lib-selector-list[data-v-2307d348]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hb-lib-selector-list[data-v-2307d348]::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.hb-lib-selector-list[data-v-2307d348]::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.hb-lib-selector-option[data-v-2307d348]{display:flex;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:all .2s ease;gap:8px}.hb-lib-selector-option[data-v-2307d348]:hover{background-color:#f5f5f5}.hb-lib-selector-option.selected[data-v-2307d348]{background-color:#e6f7ff}.hb-lib-option-content[data-v-2307d348]{flex:1}.hb-lib-option-label[data-v-2307d348]{font-weight:500;color:#262626}.hb-lib-selector-empty[data-v-2307d348]{text-align:center;color:#bfbfbf;padding:20px 0;font-size:14px}.hb-lib-selector-footer[data-v-2307d348]{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-2307d348]{display:flex;gap:8px}.selector-tag[data-v-2307d348]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.selector-tag .tag-label[data-v-2307d348]{font-weight:500}.selector-tag .tag-description[data-v-2307d348]{margin-left:4px;font-size:12px;opacity:.8}.rotate-180[data-v-2307d348]{transform:rotate(180deg)}.transition-transform[data-v-2307d348]{transition:transform .2s}.hb-lib-search-tag[data-v-2307d348]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.hb-lib-search-tag__description[data-v-2307d348]{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-6de2c78e]{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-6de2c78e],.hb-lib-table-act-box .hb-lib-table-more-action[data-v-6de2c78e]{text-decoration:none}.hb-lib-table-act-box .hb-lib-table-more-action[data-v-6de2c78e]{display:inline-flex;align-items:center}.hb-lib-table-confirm-modal-content[data-v-6de2c78e]{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-f27e967a]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-f27e967a] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-f27e967a]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-f27e967a] .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}.hb-lib-copy-text-eyevue[data-v-69b8d557]{font-size:17px;cursor:pointer}.hb-lib-copy-text-eyevue.ab[data-v-69b8d557]{position:absolute;right:34px;top:50%;transform:translateY(-50%);background:#fff}.hb-lib-copy-text-eyevue.normal[data-v-69b8d557]{position:relative}: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 .newButton{height:var(--hb-small-button-height)!important;padding:0 var(--hb-space)!important}.hb-lib-list-page-container .newButton .buttonText{line-height:var(--hb-small-button-height)!important}.hb-lib-list-page-container .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0}.list-page-box{padding:var(--hb-space)}.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:4px}.hb-lib-hb-lib-list-page-act-box{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}.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}.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:34px;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:32px!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}.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-f0b1028c]: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-f0b1028c] .ant-form-item{margin-bottom:var(--hb-space)}.hb-form .hb-form__footer[data-v-f0b1028c]{display:flex;justify-content:space-between}.hb-lib-form--container[data-v-f0b1028c]{overflow:hidden;margin:6px}.hide[data-v-f0b1028c]{height:0}.hb-form__form-item-col[data-v-f0b1028c]{flex:0 0 auto;min-width:200px;width:auto;padding-right:var(--hb-space);margin-bottom:16px}.form-footer[data-v-f0b1028c]{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-86c65f2f]: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-86c65f2f]{margin-right:var(--hb-space)}[data-v-0f819b31]: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-0f819b31]{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-0f819b31]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-0f819b31]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-0f819b31]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-0f819b31]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-0f819b31]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-0f819b31]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-0f819b31]{display:flex;align-items:center}.flex-between[data-v-2307d348]{display:flex;justify-content:space-between;align-items:center}.flex-center[data-v-2307d348]{display:flex;align-items:center}.hb-lib-selector-wrapper[data-v-2307d348]{position:relative}.hb-lib-selector-wrapper .ant-input[data-v-2307d348]{cursor:pointer}.has-prefix[data-v-2307d348]: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-2307d348] .ant-select-selector{padding-left:calc(12px + var(--prefix-width, 0px))}.has-prefix[data-v-2307d348] .ant-select-selection-placeholder{padding-left:var(--prefix-width, 0px)}.hb-lib-selector-dropdown[data-v-2307d348]{padding:8px;min-width:200px}.hb-lib-selector-search[data-v-2307d348]{margin-bottom:8px}.hb-lib-selector-list[data-v-2307d348]{max-height:200px;overflow-y:auto}.hb-lib-selector-list[data-v-2307d348]::-webkit-scrollbar{width:6px}.hb-lib-selector-list[data-v-2307d348]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hb-lib-selector-list[data-v-2307d348]::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.hb-lib-selector-list[data-v-2307d348]::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.hb-lib-selector-option[data-v-2307d348]{display:flex;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:all .2s ease;gap:8px}.hb-lib-selector-option[data-v-2307d348]:hover{background-color:#f5f5f5}.hb-lib-selector-option.selected[data-v-2307d348]{background-color:#e6f7ff}.hb-lib-option-content[data-v-2307d348]{flex:1}.hb-lib-option-label[data-v-2307d348]{font-weight:500;color:#262626}.hb-lib-selector-empty[data-v-2307d348]{text-align:center;color:#bfbfbf;padding:20px 0;font-size:14px}.hb-lib-selector-footer[data-v-2307d348]{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-2307d348]{display:flex;gap:8px}.selector-tag[data-v-2307d348]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.selector-tag .tag-label[data-v-2307d348]{font-weight:500}.selector-tag .tag-description[data-v-2307d348]{margin-left:4px;font-size:12px;opacity:.8}.rotate-180[data-v-2307d348]{transform:rotate(180deg)}.transition-transform[data-v-2307d348]{transition:transform .2s}.hb-lib-search-tag[data-v-2307d348]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.hb-lib-search-tag__description[data-v-2307d348]{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-6de2c78e]{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-6de2c78e],.hb-lib-table-act-box .hb-lib-table-more-action[data-v-6de2c78e]{text-decoration:none}.hb-lib-table-act-box .hb-lib-table-more-action[data-v-6de2c78e]{display:inline-flex;align-items:center}.hb-lib-table-confirm-modal-content[data-v-6de2c78e]{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-f27e967a]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-f27e967a] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-f27e967a]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-f27e967a] .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}.hb-lib-copy-text-eyevue[data-v-69b8d557]{font-size:17px;cursor:pointer}.hb-lib-copy-text-eyevue.ab[data-v-69b8d557]{position:absolute;right:34px;top:50%;transform:translateY(-50%);background:#fff}.hb-lib-copy-text-eyevue.normal[data-v-69b8d557]{position:relative}: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 .newButton{height:var(--hb-small-button-height)!important;padding:0 var(--hb-space)!important}.hb-lib-list-page-container .newButton .buttonText{line-height:var(--hb-small-button-height)!important}.hb-lib-list-page-container .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0}.list-page-box{padding:var(--hb-space)}.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:4px}.hb-lib-hb-lib-list-page-act-box{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}.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}.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:34px;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:32px!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}.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}
|
package/dist/hb_component_lib.js
CHANGED
|
@@ -23562,31 +23562,33 @@ const vD = {
|
|
|
23562
23562
|
props: vD,
|
|
23563
23563
|
emits: ["handleSearch", "handleReset", "handleSfcmConfirm", "handleOpenOrClose"],
|
|
23564
23564
|
setup(t, { emit: e }) {
|
|
23565
|
-
const n =
|
|
23566
|
-
|
|
23567
|
-
|
|
23565
|
+
const n = Qe("HB_LIST_PAGE_CONTAINER"), { isFullscreen: r, toggle: a } = dD(n.PageContainerRef), o = H(""), i = () => {
|
|
23566
|
+
const l = nD();
|
|
23567
|
+
let u = localStorage.getItem("BreadCrumb") || "[]", s = l?.path;
|
|
23568
|
+
if (console.log("path", s), console.log("route", l), u !== "[]") {
|
|
23569
|
+
console.log("breadCrumbList", u);
|
|
23568
23570
|
let f = JSON.parse(u).find((c) => c.value === s);
|
|
23569
|
-
|
|
23571
|
+
console.log("findItem", f), f && (o.value = f.label.replace(/-/g, " / "));
|
|
23570
23572
|
}
|
|
23571
23573
|
};
|
|
23572
23574
|
return Je(() => {
|
|
23573
|
-
|
|
23574
|
-
}), (
|
|
23575
|
-
const
|
|
23575
|
+
i();
|
|
23576
|
+
}), (l, u) => {
|
|
23577
|
+
const s = wt("a-tooltip");
|
|
23576
23578
|
return be(), Le("section", pD, [
|
|
23577
|
-
We("aside", mD, Ye(
|
|
23579
|
+
We("aside", mD, Ye(o.value), 1),
|
|
23578
23580
|
We("aside", gD, [
|
|
23579
|
-
x(
|
|
23580
|
-
title: xe(
|
|
23581
|
+
x(s, {
|
|
23582
|
+
title: xe(r) ? `${l.$t("hbLibComp.hbListPageAct.exitFullScreen")}` : `${l.$t("hbLibComp.hbListPageAct.fullScreen")}`,
|
|
23581
23583
|
placement: "leftTop"
|
|
23582
23584
|
}, {
|
|
23583
23585
|
default: ke(() => [
|
|
23584
23586
|
We("span", {
|
|
23585
23587
|
class: "hb-lib-list-page-act-svg",
|
|
23586
|
-
onClick:
|
|
23587
|
-
(...
|
|
23588
|
+
onClick: u[0] || (u[0] = //@ts-ignore
|
|
23589
|
+
(...f) => xe(a) && xe(a)(...f))
|
|
23588
23590
|
}, [
|
|
23589
|
-
xe(
|
|
23591
|
+
xe(r) ? (be(), Le("svg", bD, [...u[2] || (u[2] = [
|
|
23590
23592
|
We("path", {
|
|
23591
23593
|
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",
|
|
23592
23594
|
fill: "#ff5000",
|
|
@@ -23602,7 +23604,7 @@ const vD = {
|
|
|
23602
23604
|
fill: "#ff5000",
|
|
23603
23605
|
"p-id": "23907"
|
|
23604
23606
|
}, null, -1)
|
|
23605
|
-
])])) : (be(), Le("svg", hD, [...
|
|
23607
|
+
])])) : (be(), Le("svg", hD, [...u[1] || (u[1] = [
|
|
23606
23608
|
We("path", {
|
|
23607
23609
|
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",
|
|
23608
23610
|
fill: "#ff5000",
|
|
@@ -23613,12 +23615,12 @@ const vD = {
|
|
|
23613
23615
|
]),
|
|
23614
23616
|
_: 1
|
|
23615
23617
|
}, 8, ["title"]),
|
|
23616
|
-
Yt(
|
|
23618
|
+
Yt(l.$slots, "listAct", {}, void 0, !0)
|
|
23617
23619
|
])
|
|
23618
23620
|
]);
|
|
23619
23621
|
};
|
|
23620
23622
|
}
|
|
23621
|
-
}), CD = /* @__PURE__ */ Na(yD, [["__scopeId", "data-v-
|
|
23623
|
+
}), CD = /* @__PURE__ */ Na(yD, [["__scopeId", "data-v-86c65f2f"]]), wD = Pr(CD), _D = {
|
|
23622
23624
|
formItems: {
|
|
23623
23625
|
type: Array,
|
|
23624
23626
|
default: () => []
|
|
@@ -120,7 +120,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
120
120
|
* vue-router v4.6.3
|
|
121
121
|
* (c) 2025 Eduardo San Martin Morote
|
|
122
122
|
* @license MIT
|
|
123
|
-
*/function xI(t){return a.inject(_I)}function ob(t){return a.getCurrentScope()?(a.onScopeDispose(t),!0):!1}function Cl(t){return typeof t=="function"?t():a.unref(t)}const ib=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const NI=Object.prototype.toString,OI=t=>NI.call(t)==="[object Object]",df=()=>{};function PI(t,e){function n(...r){return new Promise((o,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(i)})}return n}function EI(t,e={}){let n,r,o=df;const i=u=>{clearTimeout(u),o(),o=df};return u=>{const c=Cl(t),s=Cl(e.maxWait);return n&&i(n),c<=0||s!==void 0&&s<=0?(r&&(i(r),r=null),Promise.resolve(u())):new Promise((d,f)=>{o=e.rejectOnCancel?f:d,s&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,d(u())},s)),n=setTimeout(()=>{r&&i(r),r=null,d(u())},c)})}}function TI(t,e=200,n={}){return PI(EI(e,n),t)}function vf(t){var e;const n=Cl(t);return(e=n?.$el)!=null?e:n}const kI=ib?window:void 0,MI=ib?window.document:void 0;function lb(...t){let e,n,r,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,o]=t,e=kI):[e,n,r,o]=t,!e)return df;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],l=()=>{i.forEach(d=>d()),i.length=0},u=(d,f,v,p)=>(d.addEventListener(f,v,p),()=>d.removeEventListener(f,v,p)),c=a.watch(()=>[vf(e),Cl(o)],([d,f])=>{if(l(),!d)return;const v=OI(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(g=>u(d,p,g,v))))},{immediate:!0,flush:"post"}),s=()=>{c(),l()};return ob(s),s}function II(){const t=a.ref(!1),e=a.getCurrentInstance();return e&&a.onMounted(()=>{t.value=!0},e),t}function AI(t){const e=II();return a.computed(()=>(e.value,!!t()))}const ub=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function DI(t,e={}){const{document:n=MI,autoExit:r=!1}=e,o=a.computed(()=>{var y;return(y=vf(t))!=null?y:n?.querySelector("html")}),i=a.ref(!1),l=a.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),u=a.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),c=a.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(y=>n&&y in n||o.value&&y in o.value)),s=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(y=>n&&y in n),d=AI(()=>o.value&&n&&l.value!==void 0&&u.value!==void 0&&c.value!==void 0),f=()=>s?n?.[s]===o.value:!1,v=()=>{if(c.value){if(n&&n[c.value]!=null)return n[c.value];{const y=o.value;if(y?.[c.value]!=null)return!!y[c.value]}}return!1};async function p(){if(!(!d.value||!i.value)){if(u.value)if(n?.[u.value]!=null)await n[u.value]();else{const y=o.value;y?.[u.value]!=null&&await y[u.value]()}i.value=!1}}async function g(){if(!d.value||i.value)return;v()&&await p();const y=o.value;l.value&&y?.[l.value]!=null&&(await y[l.value](),i.value=!0)}async function m(){await(i.value?p():g())}const w=()=>{const y=v();(!y||y&&f())&&(i.value=y)};return lb(n,ub,w,!1),lb(()=>vf(o),ub,w,!1),r&&ob(p),{isSupported:d,isFullscreen:i,enter:g,exit:p,toggle:m}}const VI={formItems:{type:Array,default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},isShowOpenClose:{type:Boolean,default:!0},isShowFullScreen:{type:Boolean,default:!0}},RI={class:"hb-lib-list-page-act-box"},FI={class:"hb-lib-list-page-breadcrumb"},$I={class:"hb-lib-list-page-act"},LI={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"},BI={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"},jI=Bn(Hr(a.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:VI,emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(t,{emit:e}){const n=xI(),r=a.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:o,toggle:i}=DI(r.PageContainerRef),l=a.ref(""),u=()=>{let c=localStorage.getItem("BreadCrumb")||"[]",s=n?.path;if(c!=="[]"){let d=JSON.parse(c).find(f=>f.value===s);l.value=d.label.replace(/-/g," / ")}};return a.onMounted(()=>{u()}),(c,s)=>{const d=a.resolveComponent("a-tooltip");return a.openBlock(),a.createElementBlock("section",RI,[a.createElementVNode("aside",FI,a.toDisplayString(l.value),1),a.createElementVNode("aside",$I,[a.createVNode(d,{title:a.unref(o)?`${c.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${c.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:a.withCtx(()=>[a.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:s[0]||(s[0]=(...f)=>a.unref(i)&&a.unref(i)(...f))},[a.unref(o)?(a.openBlock(),a.createElementBlock("svg",BI,[...s[2]||(s[2]=[a.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),a.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),a.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)])])):(a.openBlock(),a.createElementBlock("svg",LI,[...s[1]||(s[1]=[a.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"]),a.renderSlot(c.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-49da5377"]])),HI={formItems:{type:Array,default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},UI={class:"hb-lib-list-btns-box"},YI={class:"hb-lib-list-btns-left"},zI={class:"hb-lib-list-btns-right"},WI=Bn(Hr(a.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:HI,emits:["handleOpenOrClose","handleReload"],setup(t,{emit:e}){const n=e,r=a.ref(!0),o=()=>{r.value=!r.value,n("handleOpenOrClose",r.value)},i=()=>{n("handleReload")};return a.onMounted(()=>{}),(l,u)=>{const c=a.resolveComponent("a-tooltip");return a.openBlock(),a.createElementBlock("section",UI,[a.createElementVNode("aside",YI,[a.renderSlot(l.$slots,"btnsLeft",{},void 0,!0)]),a.createElementVNode("aside",zI,[l.needReload?(a.openBlock(),a.createBlock(c,{key:0,title:l.$t("hbLibComp.hbListBtnsAct.reload")},{default:a.withCtx(()=>[a.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:i},[...u[0]||(u[0]=[a.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"},[a.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"])):a.createCommentVNode("",!0),l.needOpenOrClose?(a.openBlock(),a.createBlock(c,{key:1,title:r.value?`${l.$t("hbLibComp.hbListBtnsAct.close")}`:`${l.$t("hbLibComp.hbListBtnsAct.open")}`},{default:a.withCtx(()=>[a.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:o},[r.value?(a.openBlock(),a.createBlock(a.unref(ff),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(a.openBlock(),a.createBlock(a.unref(uf),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):a.createCommentVNode("",!0),a.renderSlot(l.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-0f819b31"]])),KI={tableHeight:{type:Number,default:400},tabelData:{type:Array,default:()=>[]},offsetBottom:{type:Number},minHeight:{type:Number}},qI=(t={})=>{const{formRef:e,offsetBottom:n=50,minHeight:r=300}=t,o=a.ref(0);let i=null,l=null,u=null,c=null,s=null;const d=()=>{s&&clearTimeout(s),s=setTimeout(()=>{requestAnimationFrame(()=>{a.nextTick(()=>{const y=document.querySelector(".ant-table"),_=document.querySelector(".ant-pagination");if(y){const h=y.getBoundingClientRect().top,C=window.innerHeight,b=(_?_.offsetHeight+20:40)+n;let N=C-h-b;N<r&&(N=r),o.value=N}})})},100)},f=()=>{const y=document.querySelector(".ant-pagination");if(y){const _=new MutationObserver(()=>{d()});return _.observe(y,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),_}return null},v=()=>{const y=document.querySelector(".hb-lib-list-page-form-box");y&&(i=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(h=>{h.style.display="none"}),d()}),i.observe(y))},p=()=>{const y=document.querySelector(".hb-lib-list-page-form-box");y&&(u=new MutationObserver(()=>{setTimeout(()=>{d()},100)}),u.observe(y,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},g=()=>{c&&clearTimeout(c),c=setTimeout(()=>{d()},100)},m=()=>{window.addEventListener("resize",g),a.nextTick(()=>{v(),p(),l=f()})},w=()=>{window.removeEventListener("resize",g),i&&i.disconnect(),u&&u.disconnect(),l&&l.disconnect(),c&&clearTimeout(c),s&&clearTimeout(s)};return e&&a.watch(()=>e,()=>{setTimeout(()=>{d()},200)},{deep:!0}),a.onMounted(()=>{d(),m()}),a.onUnmounted(()=>{w()}),{tableHeight:o,calTableHeight:d}},GI=Bn(a.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:KI,setup(t){const e=t,n=a.useTemplateRef("PageContainerRef"),{calTableHeight:r,tableHeight:o}=qI({offsetBottom:e.offsetBottom||20,minHeight:e.minHeight||300}),i=a.computed(()=>o.value);return a.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:n,tableHeight:o,calTableHeight:r}),(l,u)=>(a.openBlock(),a.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:n},[a.renderSlot(l.$slots,"header"),a.createElementVNode("section",{class:"list-page-box",style:a.normalizeStyle({"--hb-list-table-height":i.value-20+"px","--hb-list-ttable-height":l.tabelData.length?"":i.value-20+"px"})},[a.renderSlot(l.$slots,"default")],4)],512))}})),XI={style:{"font-weight":"500"}},QI={key:0,class:"hb-lib-search-tag__description"},ZI={class:"hb-lib-selector-dropdown"},JI={class:"hb-lib-selector-search"},eA={class:"hb-lib-selector-list"},tA=["onClick"],nA={class:"hb-lib-option-content"},rA={class:"hb-lib-option-label"},aA={key:0,class:"hb-lib-selector-empty"},oA={key:1,class:"hb-lib-selector-footer"},iA={class:"hb-lib-footer-buttons"},lA={key:2,class:"hb-lib-selector-footer"},uA={class:"hb-lib-footer-buttons"},pf=Hr(a.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:a.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:a.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(t,{emit:e}){const n=t,r=e,o=a.useModel(t,"value"),i=a.ref(!1),l=a.ref(""),u=a.ref([]),c=a.ref(),s=a.computed(()=>{if(n.remoteSearch||!l.value)return n.options;const S=l.value.toLowerCase();return n.options.filter(b=>b.label.toLowerCase().includes(S)||b.description?.toLowerCase().includes(S))}),d=a.computed(()=>n.prefix?`${n.prefix.length*14+8}px`:"0px"),f=a.computed(()=>s.value.length===0?!1:s.value.every(S=>u.value.includes(S.value))),v=a.computed(()=>{if(s.value.length===0)return!1;const S=s.value.filter(b=>u.value.includes(b.value)).length;return S>0&&S<s.value.length});a.watch(()=>o.value,S=>{S?u.value=Array.isArray(S)?[...S]:[S]:u.value=[]},{immediate:!0}),a.watch(()=>n.searchValue,S=>{n.remoteSearch&&S!==void 0&&(l.value=S)},{immediate:!0});const p=S=>{S&&(i.value=S,g.value=[...u.value],l.value="",setTimeout(()=>{if(c.value){const b=c.value.input||c.value.$el?.querySelector("input");b&&b.focus()}},100))},g=a.ref([]),m=()=>{u.value=[...g.value],i.value=!1,r("cancel")},w=a.ref([]),y=()=>{const S=n.multiple?u.value:u.value[0]||"",b=n.options.filter(N=>u.value.includes(N.value));w.value=b,console.log(S,b),g.value=[...u.value],o.value=S,r("update:value",S),r("change",S,b),r("confirm",S,b),i.value=!1},_=TI(S=>{const b=S!==void 0?S:l.value;n.remoteSearch&&(r("search",b),r("update:searchValue",b))},300),h=S=>{if(n.multiple){const b=new Set(u.value);b.has(S.value)?b.delete(S.value):b.add(S.value),u.value=Array.from(b)}else u.value=[S.value],y()},C=S=>{if(S.target.checked){const N=new Set(u.value);s.value.forEach(P=>{N.add(P.value)}),u.value=Array.from(N)}else{const N=new Set(s.value.map(P=>P.value));u.value=u.value.filter(P=>!N.has(P))}};return(S,b)=>{const N=a.resolveComponent("a-tag"),P=a.resolveComponent("a-input"),O=a.resolveComponent("a-checkbox"),k=a.resolveComponent("a-radio"),M=a.resolveComponent("a-button"),D=a.resolveComponent("a-select");return a.openBlock(),a.createElementBlock("div",a.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":d.value}},S.$attrs),[a.createVNode(D,{value:o.value,"onUpdate:value":b[5]||(b[5]=B=>o.value=B),mode:t.multiple?"multiple":void 0,placeholder:t.placeholder,"show-search":!0,"filter-option":!1,open:i.value,allowClear:"",maxTagCount:t.maxTagCount,options:s.value,onDropdownVisibleChange:p,onSearch:a.unref(_),"max-tag-text-length":t.tagTextLength,class:a.normalizeClass({"has-prefix":t.prefix}),"data-prefix":t.prefix,style:{width:"100%"}},{tagRender:a.withCtx(({value:B,label:H,closable:L,option:T})=>[a.createVNode(N,{class:"hb-lib-search-tag",onClick:b[0]||(b[0]=()=>p(!0))},{default:a.withCtx(()=>[a.createElementVNode("span",XI,a.toDisplayString(H),1),T?.description?(a.openBlock(),a.createElementBlock("span",QI," ("+a.toDisplayString(T.description)+") ",1)):a.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:a.withCtx(({menuNode:B})=>[a.createElementVNode("div",ZI,[a.createElementVNode("div",JI,[a.createVNode(P,{ref_key:"searchInputRef",ref:c,class:"hb-lib-selector-search-input",value:l.value,"onUpdate:value":b[1]||(b[1]=H=>l.value=H),placeholder:"请输入关键词搜索","allow-clear":"",onInput:b[2]||(b[2]=H=>a.unref(_)(H.target.value))},{prefix:a.withCtx(()=>[a.createVNode(a.unref(Dr))]),_:1},8,["value"])]),a.createElementVNode("div",eA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.value,H=>(a.openBlock(),a.createElementBlock("div",{key:H.value,class:a.normalizeClass(["hb-lib-selector-option",{selected:u.value.includes(H.value)}]),onClick:()=>h(H)},[t.multiple?(a.openBlock(),a.createBlock(O,{key:0,checked:u.value.includes(H.value),onChange:()=>h(H),onClick:b[3]||(b[3]=a.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(a.openBlock(),a.createBlock(k,{key:1,checked:u.value.includes(H.value),onChange:()=>h(H),onClick:b[4]||(b[4]=a.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),a.createElementVNode("div",nA,[a.createElementVNode("div",rA,a.toDisplayString(H.label),1)])],10,tA))),128))]),s.value.length===0?(a.openBlock(),a.createElementBlock("div",aA,a.toDisplayString(S.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):a.createCommentVNode("",!0),t.multiple?(a.openBlock(),a.createElementBlock("div",oA,[a.createVNode(O,{checked:f.value,indeterminate:v.value,onChange:C},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(S.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),a.createElementVNode("div",iA,[a.createVNode(M,{size:"small",onClick:m},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(S.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),a.createVNode(M,{type:"primary",size:"small",onClick:y},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(S.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(a.openBlock(),a.createElementBlock("div",lA,[b[6]||(b[6]=a.createElementVNode("div",null,null,-1)),a.createElementVNode("div",uA,[a.createVNode(M,{size:"small",onClick:m},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(S.$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-2307d348"]]);pf.install=function(t){return t.component("HbFormSelectFilter",pf),t};const cA={modelTitle:{type:String,default:"搜索弹窗"},modalWidth:{type:Number,default:800},tableHeight:{type:Number,default:500},tableColumn:{type:Array,default:()=>[],required:!0},tableData:{type:Array,default:()=>[]},tableKey:{type:String,default:"id"},labelKey:{type:String,default:"label"}},sA={class:"hb-lib-form-item-filter-modal-search"},fA={class:"hb-lib-form-item-filter-modal-buttons"},dA={key:0},vA=Bn(a.defineComponent({name:"HbLibMutilpleSelectModal",__name:"HbMutilpleSelectModal",props:cA,emits:["handleConfirm","handleCancel"],setup(t,{expose:e,emit:n}){const r=t,o=n,i=a.ref(!1),l=a.ref(""),u=a.ref(),c=a.ref(),s=a.ref([]),d=a.ref([]),f=a.ref(),v=a.reactive({searchText:"",searchedColumn:""}),p=a.computed(()=>r.tableData.map(N=>(N.id=N.id||Math.random(),N))),g=a.computed(()=>r.tableColumn.map(N=>(N.customFilterDropdown&&(N.onFilter=(P,O)=>O[N.dataIndex].toString().toLowerCase().includes(P.toLowerCase()),N.onFilterDropdownVisibleChange=P=>{P&&setTimeout(()=>{u.value?.focus()},100)}),{...N}))),m=()=>{let N="";d.value.forEach(P=>{N=N+P[r.labelKey]+","}),l.value=N.substring(0,N.length-1),i.value=!1,o("handleConfirm",d.value)},w=()=>{i.value=!1},y=()=>{i.value=!0,a.nextTick(()=>{const N=f.value?.$el?.querySelector(".ant-table-body");N&&(N.scrollTop=0)})},_=()=>{s.value=[],d.value=[]},h=()=>{l.value="",_()},C=(N,P,O)=>{P(),v.searchText=N[0],v.searchedColumn=O},S=(N,P)=>{N({confirm:!0}),v.searchText="",P()},b=(N,P)=>{s.value=N,d.value=P};return e({resetInputVal:h}),(N,P)=>{const O=a.resolveComponent("a-input"),k=a.resolveComponent("a-button"),M=a.resolveComponent("a-table"),D=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:c},[a.createVNode(O,{readonly:"",onClick:y,value:l.value,"onUpdate:value":P[0]||(P[0]=B=>l.value=B),placeholder:N.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:a.withCtx(()=>[a.createVNode(a.unref(sf),{onClick:y})]),_:1},8,["value","placeholder"]),a.createVNode(D,{visible:i.value,"onUpdate:visible":P[1]||(P[1]=B=>i.value=B),title:N.modelTitle,width:N.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:a.withCtx(()=>[a.createVNode(k,{onClick:_},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),a.createVNode(k,{onClick:w},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),a.createVNode(k,{type:"primary",onClick:m},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:a.withCtx(()=>[a.createVNode(M,{ref_key:"tableRef",ref:f,columns:g.value,dataSource:p.value,rowSelection:{selectedRowKeys:s.value,onChange:b},rowKey:B=>B[N.tableKey],scroll:{y:N.tableHeight}},{customFilterDropdown:a.withCtx(({setSelectedKeys:B,selectedKeys:H,confirm:L,clearFilters:T,column:I})=>[a.createElementVNode("div",sA,[a.createVNode(O,{ref_key:"searchInput",ref:u,placeholder:`请输入${I.title}`,value:H[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:E=>B(E.target.value?[E.target.value]:[]),onPressEnter:E=>C(H,L,I.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),a.createElementVNode("section",fA,[a.createVNode(k,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:E=>S(T,L)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),a.createVNode(k,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:E=>C(H,L,I.dataIndex)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:a.withCtx(({filtered:B})=>[a.createVNode(a.unref(Dr),{style:a.normalizeStyle({color:B?"#108ee9":void 0})},null,8,["style"])]),bodyCell:a.withCtx(({text:B,column:H})=>[v.searchText&&v.searchedColumn===H.dataIndex?(a.openBlock(),a.createElementBlock("span",dA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(B.toString().split(new RegExp(`(?<=${v.searchText})|(?=${v.searchText})`,"i")),(L,T)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[L.toLowerCase()===v.searchText.toLowerCase()?(a.openBlock(),a.createElementBlock("mark",{key:T,class:"highlight"},a.toDisplayString(L),1)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(L),1)],64))],64))),256))])):a.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}}));/*!
|
|
123
|
+
*/function xI(t){return a.inject(_I)}function ob(t){return a.getCurrentScope()?(a.onScopeDispose(t),!0):!1}function Cl(t){return typeof t=="function"?t():a.unref(t)}const ib=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const NI=Object.prototype.toString,OI=t=>NI.call(t)==="[object Object]",df=()=>{};function PI(t,e){function n(...r){return new Promise((o,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(i)})}return n}function EI(t,e={}){let n,r,o=df;const i=u=>{clearTimeout(u),o(),o=df};return u=>{const c=Cl(t),s=Cl(e.maxWait);return n&&i(n),c<=0||s!==void 0&&s<=0?(r&&(i(r),r=null),Promise.resolve(u())):new Promise((d,f)=>{o=e.rejectOnCancel?f:d,s&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,d(u())},s)),n=setTimeout(()=>{r&&i(r),r=null,d(u())},c)})}}function TI(t,e=200,n={}){return PI(EI(e,n),t)}function vf(t){var e;const n=Cl(t);return(e=n?.$el)!=null?e:n}const kI=ib?window:void 0,MI=ib?window.document:void 0;function lb(...t){let e,n,r,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,o]=t,e=kI):[e,n,r,o]=t,!e)return df;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],l=()=>{i.forEach(d=>d()),i.length=0},u=(d,f,v,p)=>(d.addEventListener(f,v,p),()=>d.removeEventListener(f,v,p)),c=a.watch(()=>[vf(e),Cl(o)],([d,f])=>{if(l(),!d)return;const v=OI(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(g=>u(d,p,g,v))))},{immediate:!0,flush:"post"}),s=()=>{c(),l()};return ob(s),s}function II(){const t=a.ref(!1),e=a.getCurrentInstance();return e&&a.onMounted(()=>{t.value=!0},e),t}function AI(t){const e=II();return a.computed(()=>(e.value,!!t()))}const ub=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function DI(t,e={}){const{document:n=MI,autoExit:r=!1}=e,o=a.computed(()=>{var y;return(y=vf(t))!=null?y:n?.querySelector("html")}),i=a.ref(!1),l=a.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),u=a.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),c=a.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(y=>n&&y in n||o.value&&y in o.value)),s=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(y=>n&&y in n),d=AI(()=>o.value&&n&&l.value!==void 0&&u.value!==void 0&&c.value!==void 0),f=()=>s?n?.[s]===o.value:!1,v=()=>{if(c.value){if(n&&n[c.value]!=null)return n[c.value];{const y=o.value;if(y?.[c.value]!=null)return!!y[c.value]}}return!1};async function p(){if(!(!d.value||!i.value)){if(u.value)if(n?.[u.value]!=null)await n[u.value]();else{const y=o.value;y?.[u.value]!=null&&await y[u.value]()}i.value=!1}}async function g(){if(!d.value||i.value)return;v()&&await p();const y=o.value;l.value&&y?.[l.value]!=null&&(await y[l.value](),i.value=!0)}async function m(){await(i.value?p():g())}const w=()=>{const y=v();(!y||y&&f())&&(i.value=y)};return lb(n,ub,w,!1),lb(()=>vf(o),ub,w,!1),r&&ob(p),{isSupported:d,isFullscreen:i,enter:g,exit:p,toggle:m}}const VI={formItems:{type:Array,default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},isShowOpenClose:{type:Boolean,default:!0},isShowFullScreen:{type:Boolean,default:!0}},RI={class:"hb-lib-list-page-act-box"},FI={class:"hb-lib-list-page-breadcrumb"},$I={class:"hb-lib-list-page-act"},LI={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"},BI={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"},jI=Bn(Hr(a.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:VI,emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(t,{emit:e}){const n=a.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:r,toggle:o}=DI(n.PageContainerRef),i=a.ref(""),l=()=>{const u=xI();let c=localStorage.getItem("BreadCrumb")||"[]",s=u?.path;if(console.log("path",s),console.log("route",u),c!=="[]"){console.log("breadCrumbList",c);let d=JSON.parse(c).find(f=>f.value===s);console.log("findItem",d),d&&(i.value=d.label.replace(/-/g," / "))}};return a.onMounted(()=>{l()}),(u,c)=>{const s=a.resolveComponent("a-tooltip");return a.openBlock(),a.createElementBlock("section",RI,[a.createElementVNode("aside",FI,a.toDisplayString(i.value),1),a.createElementVNode("aside",$I,[a.createVNode(s,{title:a.unref(r)?`${u.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${u.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:a.withCtx(()=>[a.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:c[0]||(c[0]=(...d)=>a.unref(o)&&a.unref(o)(...d))},[a.unref(r)?(a.openBlock(),a.createElementBlock("svg",BI,[...c[2]||(c[2]=[a.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),a.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),a.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)])])):(a.openBlock(),a.createElementBlock("svg",LI,[...c[1]||(c[1]=[a.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"]),a.renderSlot(u.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-86c65f2f"]])),HI={formItems:{type:Array,default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},UI={class:"hb-lib-list-btns-box"},YI={class:"hb-lib-list-btns-left"},zI={class:"hb-lib-list-btns-right"},WI=Bn(Hr(a.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:HI,emits:["handleOpenOrClose","handleReload"],setup(t,{emit:e}){const n=e,r=a.ref(!0),o=()=>{r.value=!r.value,n("handleOpenOrClose",r.value)},i=()=>{n("handleReload")};return a.onMounted(()=>{}),(l,u)=>{const c=a.resolveComponent("a-tooltip");return a.openBlock(),a.createElementBlock("section",UI,[a.createElementVNode("aside",YI,[a.renderSlot(l.$slots,"btnsLeft",{},void 0,!0)]),a.createElementVNode("aside",zI,[l.needReload?(a.openBlock(),a.createBlock(c,{key:0,title:l.$t("hbLibComp.hbListBtnsAct.reload")},{default:a.withCtx(()=>[a.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:i},[...u[0]||(u[0]=[a.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"},[a.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"])):a.createCommentVNode("",!0),l.needOpenOrClose?(a.openBlock(),a.createBlock(c,{key:1,title:r.value?`${l.$t("hbLibComp.hbListBtnsAct.close")}`:`${l.$t("hbLibComp.hbListBtnsAct.open")}`},{default:a.withCtx(()=>[a.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:o},[r.value?(a.openBlock(),a.createBlock(a.unref(ff),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(a.openBlock(),a.createBlock(a.unref(uf),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):a.createCommentVNode("",!0),a.renderSlot(l.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-0f819b31"]])),KI={tableHeight:{type:Number,default:400},tabelData:{type:Array,default:()=>[]},offsetBottom:{type:Number},minHeight:{type:Number}},qI=(t={})=>{const{formRef:e,offsetBottom:n=50,minHeight:r=300}=t,o=a.ref(0);let i=null,l=null,u=null,c=null,s=null;const d=()=>{s&&clearTimeout(s),s=setTimeout(()=>{requestAnimationFrame(()=>{a.nextTick(()=>{const y=document.querySelector(".ant-table"),_=document.querySelector(".ant-pagination");if(y){const h=y.getBoundingClientRect().top,C=window.innerHeight,b=(_?_.offsetHeight+20:40)+n;let N=C-h-b;N<r&&(N=r),o.value=N}})})},100)},f=()=>{const y=document.querySelector(".ant-pagination");if(y){const _=new MutationObserver(()=>{d()});return _.observe(y,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),_}return null},v=()=>{const y=document.querySelector(".hb-lib-list-page-form-box");y&&(i=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(h=>{h.style.display="none"}),d()}),i.observe(y))},p=()=>{const y=document.querySelector(".hb-lib-list-page-form-box");y&&(u=new MutationObserver(()=>{setTimeout(()=>{d()},100)}),u.observe(y,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},g=()=>{c&&clearTimeout(c),c=setTimeout(()=>{d()},100)},m=()=>{window.addEventListener("resize",g),a.nextTick(()=>{v(),p(),l=f()})},w=()=>{window.removeEventListener("resize",g),i&&i.disconnect(),u&&u.disconnect(),l&&l.disconnect(),c&&clearTimeout(c),s&&clearTimeout(s)};return e&&a.watch(()=>e,()=>{setTimeout(()=>{d()},200)},{deep:!0}),a.onMounted(()=>{d(),m()}),a.onUnmounted(()=>{w()}),{tableHeight:o,calTableHeight:d}},GI=Bn(a.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:KI,setup(t){const e=t,n=a.useTemplateRef("PageContainerRef"),{calTableHeight:r,tableHeight:o}=qI({offsetBottom:e.offsetBottom||20,minHeight:e.minHeight||300}),i=a.computed(()=>o.value);return a.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:n,tableHeight:o,calTableHeight:r}),(l,u)=>(a.openBlock(),a.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:n},[a.renderSlot(l.$slots,"header"),a.createElementVNode("section",{class:"list-page-box",style:a.normalizeStyle({"--hb-list-table-height":i.value-20+"px","--hb-list-ttable-height":l.tabelData.length?"":i.value-20+"px"})},[a.renderSlot(l.$slots,"default")],4)],512))}})),XI={style:{"font-weight":"500"}},QI={key:0,class:"hb-lib-search-tag__description"},ZI={class:"hb-lib-selector-dropdown"},JI={class:"hb-lib-selector-search"},eA={class:"hb-lib-selector-list"},tA=["onClick"],nA={class:"hb-lib-option-content"},rA={class:"hb-lib-option-label"},aA={key:0,class:"hb-lib-selector-empty"},oA={key:1,class:"hb-lib-selector-footer"},iA={class:"hb-lib-footer-buttons"},lA={key:2,class:"hb-lib-selector-footer"},uA={class:"hb-lib-footer-buttons"},pf=Hr(a.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:a.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:a.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(t,{emit:e}){const n=t,r=e,o=a.useModel(t,"value"),i=a.ref(!1),l=a.ref(""),u=a.ref([]),c=a.ref(),s=a.computed(()=>{if(n.remoteSearch||!l.value)return n.options;const S=l.value.toLowerCase();return n.options.filter(b=>b.label.toLowerCase().includes(S)||b.description?.toLowerCase().includes(S))}),d=a.computed(()=>n.prefix?`${n.prefix.length*14+8}px`:"0px"),f=a.computed(()=>s.value.length===0?!1:s.value.every(S=>u.value.includes(S.value))),v=a.computed(()=>{if(s.value.length===0)return!1;const S=s.value.filter(b=>u.value.includes(b.value)).length;return S>0&&S<s.value.length});a.watch(()=>o.value,S=>{S?u.value=Array.isArray(S)?[...S]:[S]:u.value=[]},{immediate:!0}),a.watch(()=>n.searchValue,S=>{n.remoteSearch&&S!==void 0&&(l.value=S)},{immediate:!0});const p=S=>{S&&(i.value=S,g.value=[...u.value],l.value="",setTimeout(()=>{if(c.value){const b=c.value.input||c.value.$el?.querySelector("input");b&&b.focus()}},100))},g=a.ref([]),m=()=>{u.value=[...g.value],i.value=!1,r("cancel")},w=a.ref([]),y=()=>{const S=n.multiple?u.value:u.value[0]||"",b=n.options.filter(N=>u.value.includes(N.value));w.value=b,console.log(S,b),g.value=[...u.value],o.value=S,r("update:value",S),r("change",S,b),r("confirm",S,b),i.value=!1},_=TI(S=>{const b=S!==void 0?S:l.value;n.remoteSearch&&(r("search",b),r("update:searchValue",b))},300),h=S=>{if(n.multiple){const b=new Set(u.value);b.has(S.value)?b.delete(S.value):b.add(S.value),u.value=Array.from(b)}else u.value=[S.value],y()},C=S=>{if(S.target.checked){const N=new Set(u.value);s.value.forEach(P=>{N.add(P.value)}),u.value=Array.from(N)}else{const N=new Set(s.value.map(P=>P.value));u.value=u.value.filter(P=>!N.has(P))}};return(S,b)=>{const N=a.resolveComponent("a-tag"),P=a.resolveComponent("a-input"),O=a.resolveComponent("a-checkbox"),k=a.resolveComponent("a-radio"),M=a.resolveComponent("a-button"),D=a.resolveComponent("a-select");return a.openBlock(),a.createElementBlock("div",a.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":d.value}},S.$attrs),[a.createVNode(D,{value:o.value,"onUpdate:value":b[5]||(b[5]=B=>o.value=B),mode:t.multiple?"multiple":void 0,placeholder:t.placeholder,"show-search":!0,"filter-option":!1,open:i.value,allowClear:"",maxTagCount:t.maxTagCount,options:s.value,onDropdownVisibleChange:p,onSearch:a.unref(_),"max-tag-text-length":t.tagTextLength,class:a.normalizeClass({"has-prefix":t.prefix}),"data-prefix":t.prefix,style:{width:"100%"}},{tagRender:a.withCtx(({value:B,label:H,closable:L,option:T})=>[a.createVNode(N,{class:"hb-lib-search-tag",onClick:b[0]||(b[0]=()=>p(!0))},{default:a.withCtx(()=>[a.createElementVNode("span",XI,a.toDisplayString(H),1),T?.description?(a.openBlock(),a.createElementBlock("span",QI," ("+a.toDisplayString(T.description)+") ",1)):a.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:a.withCtx(({menuNode:B})=>[a.createElementVNode("div",ZI,[a.createElementVNode("div",JI,[a.createVNode(P,{ref_key:"searchInputRef",ref:c,class:"hb-lib-selector-search-input",value:l.value,"onUpdate:value":b[1]||(b[1]=H=>l.value=H),placeholder:"请输入关键词搜索","allow-clear":"",onInput:b[2]||(b[2]=H=>a.unref(_)(H.target.value))},{prefix:a.withCtx(()=>[a.createVNode(a.unref(Dr))]),_:1},8,["value"])]),a.createElementVNode("div",eA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.value,H=>(a.openBlock(),a.createElementBlock("div",{key:H.value,class:a.normalizeClass(["hb-lib-selector-option",{selected:u.value.includes(H.value)}]),onClick:()=>h(H)},[t.multiple?(a.openBlock(),a.createBlock(O,{key:0,checked:u.value.includes(H.value),onChange:()=>h(H),onClick:b[3]||(b[3]=a.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(a.openBlock(),a.createBlock(k,{key:1,checked:u.value.includes(H.value),onChange:()=>h(H),onClick:b[4]||(b[4]=a.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),a.createElementVNode("div",nA,[a.createElementVNode("div",rA,a.toDisplayString(H.label),1)])],10,tA))),128))]),s.value.length===0?(a.openBlock(),a.createElementBlock("div",aA,a.toDisplayString(S.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):a.createCommentVNode("",!0),t.multiple?(a.openBlock(),a.createElementBlock("div",oA,[a.createVNode(O,{checked:f.value,indeterminate:v.value,onChange:C},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(S.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),a.createElementVNode("div",iA,[a.createVNode(M,{size:"small",onClick:m},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(S.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),a.createVNode(M,{type:"primary",size:"small",onClick:y},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(S.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(a.openBlock(),a.createElementBlock("div",lA,[b[6]||(b[6]=a.createElementVNode("div",null,null,-1)),a.createElementVNode("div",uA,[a.createVNode(M,{size:"small",onClick:m},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(S.$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-2307d348"]]);pf.install=function(t){return t.component("HbFormSelectFilter",pf),t};const cA={modelTitle:{type:String,default:"搜索弹窗"},modalWidth:{type:Number,default:800},tableHeight:{type:Number,default:500},tableColumn:{type:Array,default:()=>[],required:!0},tableData:{type:Array,default:()=>[]},tableKey:{type:String,default:"id"},labelKey:{type:String,default:"label"}},sA={class:"hb-lib-form-item-filter-modal-search"},fA={class:"hb-lib-form-item-filter-modal-buttons"},dA={key:0},vA=Bn(a.defineComponent({name:"HbLibMutilpleSelectModal",__name:"HbMutilpleSelectModal",props:cA,emits:["handleConfirm","handleCancel"],setup(t,{expose:e,emit:n}){const r=t,o=n,i=a.ref(!1),l=a.ref(""),u=a.ref(),c=a.ref(),s=a.ref([]),d=a.ref([]),f=a.ref(),v=a.reactive({searchText:"",searchedColumn:""}),p=a.computed(()=>r.tableData.map(N=>(N.id=N.id||Math.random(),N))),g=a.computed(()=>r.tableColumn.map(N=>(N.customFilterDropdown&&(N.onFilter=(P,O)=>O[N.dataIndex].toString().toLowerCase().includes(P.toLowerCase()),N.onFilterDropdownVisibleChange=P=>{P&&setTimeout(()=>{u.value?.focus()},100)}),{...N}))),m=()=>{let N="";d.value.forEach(P=>{N=N+P[r.labelKey]+","}),l.value=N.substring(0,N.length-1),i.value=!1,o("handleConfirm",d.value)},w=()=>{i.value=!1},y=()=>{i.value=!0,a.nextTick(()=>{const N=f.value?.$el?.querySelector(".ant-table-body");N&&(N.scrollTop=0)})},_=()=>{s.value=[],d.value=[]},h=()=>{l.value="",_()},C=(N,P,O)=>{P(),v.searchText=N[0],v.searchedColumn=O},S=(N,P)=>{N({confirm:!0}),v.searchText="",P()},b=(N,P)=>{s.value=N,d.value=P};return e({resetInputVal:h}),(N,P)=>{const O=a.resolveComponent("a-input"),k=a.resolveComponent("a-button"),M=a.resolveComponent("a-table"),D=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:c},[a.createVNode(O,{readonly:"",onClick:y,value:l.value,"onUpdate:value":P[0]||(P[0]=B=>l.value=B),placeholder:N.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:a.withCtx(()=>[a.createVNode(a.unref(sf),{onClick:y})]),_:1},8,["value","placeholder"]),a.createVNode(D,{visible:i.value,"onUpdate:visible":P[1]||(P[1]=B=>i.value=B),title:N.modelTitle,width:N.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:a.withCtx(()=>[a.createVNode(k,{onClick:_},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),a.createVNode(k,{onClick:w},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),a.createVNode(k,{type:"primary",onClick:m},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:a.withCtx(()=>[a.createVNode(M,{ref_key:"tableRef",ref:f,columns:g.value,dataSource:p.value,rowSelection:{selectedRowKeys:s.value,onChange:b},rowKey:B=>B[N.tableKey],scroll:{y:N.tableHeight}},{customFilterDropdown:a.withCtx(({setSelectedKeys:B,selectedKeys:H,confirm:L,clearFilters:T,column:I})=>[a.createElementVNode("div",sA,[a.createVNode(O,{ref_key:"searchInput",ref:u,placeholder:`请输入${I.title}`,value:H[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:E=>B(E.target.value?[E.target.value]:[]),onPressEnter:E=>C(H,L,I.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),a.createElementVNode("section",fA,[a.createVNode(k,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:E=>S(T,L)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),a.createVNode(k,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:E=>C(H,L,I.dataIndex)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:a.withCtx(({filtered:B})=>[a.createVNode(a.unref(Dr),{style:a.normalizeStyle({color:B?"#108ee9":void 0})},null,8,["style"])]),bodyCell:a.withCtx(({text:B,column:H})=>[v.searchText&&v.searchedColumn===H.dataIndex?(a.openBlock(),a.createElementBlock("span",dA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(B.toString().split(new RegExp(`(?<=${v.searchText})|(?=${v.searchText})`,"i")),(L,T)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[L.toLowerCase()===v.searchText.toLowerCase()?(a.openBlock(),a.createElementBlock("mark",{key:T,class:"highlight"},a.toDisplayString(L),1)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(L),1)],64))],64))),256))])):a.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}}));/*!
|
|
124
124
|
* shared v9.14.5
|
|
125
125
|
* (c) 2025 kazuya kawaguchi
|
|
126
126
|
* Released under the MIT License.
|