@hb-hellotech/hb-ui 1.2.9-beta.5 → 1.2.9-beta.6
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_table/src/type.d.ts +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/src/type.d.ts.map +1 -1
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +2 -2
- package/dist/hb_component_lib.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEtD,MAAM,WAAW,OAAO;IAEtB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,UAAU;IAEzB,KAAK,EAAE,MAAM,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAEZ,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEzB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,IAAI,CAAC,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEtD,MAAM,WAAW,OAAO;IAEtB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,UAAU;IAEzB,KAAK,EAAE,MAAM,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAEZ,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEzB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AACD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;CAoBf,CAAC;AAEX,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AACD,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-a8bc8c3a]: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-a8bc8c3a] .ant-modal-header{border-bottom:1px solid var(--hb-border-color);margin-bottom:var(--hb-space)}.hb-sfcm__title[data-v-a8bc8c3a]{font-size:var(--hb-h1-font-size);font-weight:700;color:var(--hb-title-color)}.hb-sfcm__title__tip[data-v-a8bc8c3a]{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-a8bc8c3a]: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-a8bc8c3a]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__show__tag__item[data-v-a8bc8c3a]{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-a8bc8c3a]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-fixed[data-v-a8bc8c3a]{background:none;color:#9ca3af;border:1px solid var(--hb-border-color);cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-a8bc8c3a]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-a8bc8c3a]:hover{background:#ff7875;border-color:#ff7875}.hb-sfcm__unshow__tag[data-v-a8bc8c3a]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__unshow__tag__item[data-v-a8bc8c3a]{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-a8bc8c3a]{color:#ff7875;border-color:#ff7875}.hb-sfcm__show__tag__item-close[data-v-a8bc8c3a]{margin-left:6px;cursor:pointer}.hb-sfcm__show__tag__item-close[data-v-a8bc8c3a]:hover{transform:scale(1.3)}.hb-sfcm__unshow__tag__item-add[data-v-a8bc8c3a]{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-a8bc8c3a]{text-align:center;color:var(--hb-border-color)}[data-v-04ccb514]: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-04ccb514] .ant-form-item{margin-bottom:var(--hb-space)}.hb-form .hb-form__footer[data-v-04ccb514]{display:flex;justify-content:space-between}.hb-lib-form--container[data-v-04ccb514]{overflow:hidden;margin:6px}.hide[data-v-04ccb514]{height:0}.hb-form__form-item-col[data-v-04ccb514]{flex:0 0 auto;min-width:200px;width:auto;padding-right:var(--hb-space);margin-bottom:16px}.form-footer[data-v-04ccb514]{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-a7ddfc50]: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-a7ddfc50]{margin-right:var(--hb-space)}[data-v-da13672b]: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-da13672b]{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-da13672b]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-da13672b]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-da13672b]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-da13672b]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-da13672b]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-da13672b]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-da13672b]{display:flex;align-items:center}.flex-between[data-v-87177371]{display:flex;justify-content:space-between;align-items:center}.flex-center[data-v-87177371]{display:flex;align-items:center}.hb-lib-selector-wrapper[data-v-87177371]{position:relative}.hb-lib-selector-wrapper .ant-input[data-v-87177371]{cursor:pointer}.has-prefix[data-v-87177371]:before{content:attr(data-prefix);position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#262626;font-size:14px;white-space:nowrap;pointer-events:none;z-index:1}.has-prefix[data-v-87177371] .ant-select-selector{padding-left:calc(12px + var(--prefix-width, 0px))}.has-prefix[data-v-87177371] .ant-select-selection-placeholder{padding-left:var(--prefix-width, 0px)}.hb-lib-selector-dropdown[data-v-87177371]{padding:8px;min-width:200px}.hb-lib-selector-search[data-v-87177371]{margin-bottom:8px}.hb-lib-selector-list[data-v-87177371]{max-height:200px;overflow-y:auto}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar{width:6px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.hb-lib-selector-option[data-v-87177371]{display:flex;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:all .2s ease;gap:8px}.hb-lib-selector-option[data-v-87177371]:hover{background-color:#f5f5f5}.hb-lib-selector-option.selected[data-v-87177371]{background-color:#e6f7ff}.hb-lib-option-content[data-v-87177371]{flex:1}.hb-lib-option-label[data-v-87177371]{font-weight:500;color:#262626}.hb-lib-selector-empty[data-v-87177371]{text-align:center;color:#bfbfbf;padding:20px 0;font-size:14px}.hb-lib-selector-footer[data-v-87177371]{border-top:1px solid #f0f0f0;padding-top:8px;margin-top:8px;display:flex;justify-content:space-between;align-items:center}.hb-lib-footer-buttons[data-v-87177371]{display:flex;gap:8px}.selector-tag[data-v-87177371]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.selector-tag .tag-label[data-v-87177371]{font-weight:500}.selector-tag .tag-description[data-v-87177371]{margin-left:4px;font-size:12px;opacity:.8}.rotate-180[data-v-87177371]{transform:rotate(180deg)}.transition-transform[data-v-87177371]{transition:transform .2s}.hb-lib-search-tag[data-v-87177371]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.hb-lib-search-tag__description[data-v-87177371]{margin-left:4px;font-size:12px;opacity:.8}.hb-lib-multipleSelectModal-modal .ant-table-filter-trigger{font-size:18px!important}.hb-lib-multipleSelectModal-modal .ant-input-group-addon{border:none!important;cursor:pointer}.hb-lib-multipleSelectModal-modal .ant-modal-body{padding:calc(var(--hb-space) / 2)}.hb-lib-multipleSelectModal-modal .ant-table-thead .ant-table-column-title{color:#000;font-weight:bolder;font-size:18px}.hb-lib-multipleSelectModal-modal .ant-table-thead .ant-table-cell{color:#000;font-weight:bolder;font-size:18px;padding:calc(var(--hb-space) / 2)!important}.hb-lib-multipleSelectModal-modal .ant-table-row .ant-table-cell{padding:calc(var(--hb-space) / 2)!important}.hb-lib-multipleSelectModal-modal .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0!important}.hb-lib-form-item-filter-modal-search{padding:8px}.hb-lib-form-item-filter-modal-search-input{width:188px;margin-bottom:8px;display:block}.hb-lib-form-item-filter-modal-buttons{display:flex;justify-content:space-between;margin-top:10px}.hb-lib-table-act-box[data-v-a96574fa]{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-a96574fa],.hb-lib-table-act-box .hb-lib-table-more-action[data-v-a96574fa]{text-decoration:none}.hb-lib-table-act-box .hb-lib-table-more-action[data-v-a96574fa]{display:inline-flex;align-items:center}.hb-lib-table-confirm-modal-content[data-v-a96574fa]{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-7a67c561]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-7a67c561] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-7a67c561]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-7a67c561] .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-9b0f04da]: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-9b0f04da]{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-9b0f04da]{display:flex;justify-content:space-between;width:100%;align-items:center}.ant-alert .com-alert a[data-v-9b0f04da]{color:#ff5000}.select-all-container[data-v-9b0f04da]{padding:8px 0}.hb-lib-table-setting-box[data-v-9b0f04da]{display:flex}.hb-lib-table-set-drag[data-v-9b0f04da]{max-height:300px;overflow-y:auto}.hb-lib-table-drag-item[data-v-9b0f04da]{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-9b0f04da]:hover{background-color:#f5f5f5}.hb-lib-table-drag-item .drag-handle[data-v-9b0f04da]{cursor:move;color:#999;padding:4px;-webkit-user-select:none;user-select:none}.ghost[data-v-9b0f04da]{opacity:.5;background:#c8ebfb}.table-setting-checkbox-group[data-v-9b0f04da]{display:flex;flex-wrap:wrap}.table-setting-checkbox-group[data-v-9b0f04da] .ant-checkbox-group-item{margin-right:0;width:33.33%}.hb-lib-table-set-btn-group[data-v-9b0f04da]{margin-top:10px;display:flex;justify-content:end;align-items:center;border-top:1px solid #f0f0f0;padding-top:8px}.drag-hide[data-v-9b0f04da]{visibility:hidden}.hb-lib-table-drag-item-act-btn[data-v-9b0f04da]{display:inline-block;cursor:pointer;width:14px;height:20px}.hb-lib-table-drag-item-act-btn .icon[data-v-9b0f04da]{width:100%;height:100%}.hb-lib-table-col-set[data-v-9b0f04da]{display:inline-block;cursor:pointer;width:22px;height:23px}.hb-lib-table-col-set .icon[data-v-9b0f04da]{width:100%;height:100%}.hb-lib-table-drag-item-act[data-v-9b0f04da]{display:flex;align-items:center;width:40px;justify-content:space-between}.alertInfoContent{width:auto!important}.hb_lib_form_tooltip_select[data-v-b04f5675]{width:100%}.hb_lib_form_tooltip_select__option[data-v-b04f5675]{display:inline-flex;align-items:center;gap:4px}.hb_lib_form_tooltip_select__option.is-ellipsis[data-v-b04f5675]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb_lib_form_tooltip_select__dropdown .ant-select-item-option-content{display:flex;align-items:center;gap:4px}.hb_import_btn[data-v-47fe70d9]{text-align:center;margin:0}.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}.log_remark[data-v-cee51270]{width:85%}: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-input-search-button{border:none!important}.list-page-box .ant-tabs-top>.ant-tabs-nav{margin-bottom:calc(var(--hb-space) / 2)!important}.list-page-box .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab{padding:calc(var(--hb-space) / 2) 0!important}.list-page-box .ant-table-body::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:var(--hb-border-radius)}.list-page-box .ant-table-bordered.ant-table-fixed-header .ant-table-body{height:var(--hb-list-table-height)!important;max-height:none!important}.hb-lib-list-page-act-box{background:#fff;display:flex;justify-content:space-between;box-shadow:0 4px 3px #f0f0f0cf;padding:calc(var(--hb-space) / 2) var(--hb-space)}.hb-lib-list-page-act{display:flex;align-items:center}.hb-lib-list-page-act .hb-lib-list-page-act-svg{display:inline-block;width:18px;height:18px;cursor:pointer}.hb-lib-list-page-act .hb-lib-list-page-act-svg:not(:last-child){margin-right:calc(var(--hb-space) / 2)}.hb-lib-list-page-act .hb-lib-list-page-act-svg .icon{width:100%;height:100%}.hb-lib-list-page-breadcrumb{font-size:var(--hb-text-font-size);color:#3e3e3e;display:flex;align-items:center}.hb-lib-list-page-form-box{display:flex;justify-content:space-between;background:#fff;border-radius:8px}.hb-form-item-ui{flex:1}.hb-form-item-ui .ant-form-item{border:1px solid #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-input-number{border:none!important;border-radius:var(--hb-border-radius)!important}.hb-form-item-ui .ant-input-number:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-form-item-label>label{padding:0 0 0 var(--hb-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-a8bc8c3a]: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-a8bc8c3a] .ant-modal-header{border-bottom:1px solid var(--hb-border-color);margin-bottom:var(--hb-space)}.hb-sfcm__title[data-v-a8bc8c3a]{font-size:var(--hb-h1-font-size);font-weight:700;color:var(--hb-title-color)}.hb-sfcm__title__tip[data-v-a8bc8c3a]{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-a8bc8c3a]: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-a8bc8c3a]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__show__tag__item[data-v-a8bc8c3a]{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-a8bc8c3a]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-fixed[data-v-a8bc8c3a]{background:none;color:#9ca3af;border:1px solid var(--hb-border-color);cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-a8bc8c3a]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-a8bc8c3a]:hover{background:#ff7875;border-color:#ff7875}.hb-sfcm__unshow__tag[data-v-a8bc8c3a]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__unshow__tag__item[data-v-a8bc8c3a]{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-a8bc8c3a]{color:#ff7875;border-color:#ff7875}.hb-sfcm__show__tag__item-close[data-v-a8bc8c3a]{margin-left:6px;cursor:pointer}.hb-sfcm__show__tag__item-close[data-v-a8bc8c3a]:hover{transform:scale(1.3)}.hb-sfcm__unshow__tag__item-add[data-v-a8bc8c3a]{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-a8bc8c3a]{text-align:center;color:var(--hb-border-color)}[data-v-04ccb514]: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-04ccb514] .ant-form-item{margin-bottom:var(--hb-space)}.hb-form .hb-form__footer[data-v-04ccb514]{display:flex;justify-content:space-between}.hb-lib-form--container[data-v-04ccb514]{overflow:hidden;margin:6px}.hide[data-v-04ccb514]{height:0}.hb-form__form-item-col[data-v-04ccb514]{flex:0 0 auto;min-width:200px;width:auto;padding-right:var(--hb-space);margin-bottom:16px}.form-footer[data-v-04ccb514]{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-a7ddfc50]: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-a7ddfc50]{margin-right:var(--hb-space)}[data-v-da13672b]: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-da13672b]{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-da13672b]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-da13672b]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-da13672b]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-da13672b]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-da13672b]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-da13672b]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-da13672b]{display:flex;align-items:center}.flex-between[data-v-87177371]{display:flex;justify-content:space-between;align-items:center}.flex-center[data-v-87177371]{display:flex;align-items:center}.hb-lib-selector-wrapper[data-v-87177371]{position:relative}.hb-lib-selector-wrapper .ant-input[data-v-87177371]{cursor:pointer}.has-prefix[data-v-87177371]:before{content:attr(data-prefix);position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#262626;font-size:14px;white-space:nowrap;pointer-events:none;z-index:1}.has-prefix[data-v-87177371] .ant-select-selector{padding-left:calc(12px + var(--prefix-width, 0px))}.has-prefix[data-v-87177371] .ant-select-selection-placeholder{padding-left:var(--prefix-width, 0px)}.hb-lib-selector-dropdown[data-v-87177371]{padding:8px;min-width:200px}.hb-lib-selector-search[data-v-87177371]{margin-bottom:8px}.hb-lib-selector-list[data-v-87177371]{max-height:200px;overflow-y:auto}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar{width:6px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.hb-lib-selector-list[data-v-87177371]::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.hb-lib-selector-option[data-v-87177371]{display:flex;align-items:center;padding:8px;cursor:pointer;border-radius:4px;transition:all .2s ease;gap:8px}.hb-lib-selector-option[data-v-87177371]:hover{background-color:#f5f5f5}.hb-lib-selector-option.selected[data-v-87177371]{background-color:#e6f7ff}.hb-lib-option-content[data-v-87177371]{flex:1}.hb-lib-option-label[data-v-87177371]{font-weight:500;color:#262626}.hb-lib-selector-empty[data-v-87177371]{text-align:center;color:#bfbfbf;padding:20px 0;font-size:14px}.hb-lib-selector-footer[data-v-87177371]{border-top:1px solid #f0f0f0;padding-top:8px;margin-top:8px;display:flex;justify-content:space-between;align-items:center}.hb-lib-footer-buttons[data-v-87177371]{display:flex;gap:8px}.selector-tag[data-v-87177371]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.selector-tag .tag-label[data-v-87177371]{font-weight:500}.selector-tag .tag-description[data-v-87177371]{margin-left:4px;font-size:12px;opacity:.8}.rotate-180[data-v-87177371]{transform:rotate(180deg)}.transition-transform[data-v-87177371]{transition:transform .2s}.hb-lib-search-tag[data-v-87177371]{margin-right:3px;border-radius:4px;border-color:#ff5000;color:#ff5000}.hb-lib-search-tag__description[data-v-87177371]{margin-left:4px;font-size:12px;opacity:.8}.hb-lib-multipleSelectModal-modal .ant-table-filter-trigger{font-size:18px!important}.hb-lib-multipleSelectModal-modal .ant-input-group-addon{border:none!important;cursor:pointer}.hb-lib-multipleSelectModal-modal .ant-modal-body{padding:calc(var(--hb-space) / 2)}.hb-lib-multipleSelectModal-modal .ant-table-thead .ant-table-column-title{color:#000;font-weight:bolder;font-size:18px}.hb-lib-multipleSelectModal-modal .ant-table-thead .ant-table-cell{color:#000;font-weight:bolder;font-size:18px;padding:calc(var(--hb-space) / 2)!important}.hb-lib-multipleSelectModal-modal .ant-table-row .ant-table-cell{padding:calc(var(--hb-space) / 2)!important}.hb-lib-multipleSelectModal-modal .ant-table-pagination.ant-pagination{margin:calc(var(--hb-space) / 2) 0!important}.hb-lib-form-item-filter-modal-search{padding:8px}.hb-lib-form-item-filter-modal-search-input{width:188px;margin-bottom:8px;display:block}.hb-lib-form-item-filter-modal-buttons{display:flex;justify-content:space-between;margin-top:10px}.hb-lib-table-act-box[data-v-a96574fa]{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-a96574fa],.hb-lib-table-act-box .hb-lib-table-more-action[data-v-a96574fa]{text-decoration:none}.hb-lib-table-act-box .hb-lib-table-more-action[data-v-a96574fa]{display:inline-flex;align-items:center}.hb-lib-table-confirm-modal-content[data-v-a96574fa]{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-f3061eae]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-f3061eae] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-f3061eae]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-f3061eae] .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-9b0f04da]: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-9b0f04da]{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-9b0f04da]{display:flex;justify-content:space-between;width:100%;align-items:center}.ant-alert .com-alert a[data-v-9b0f04da]{color:#ff5000}.select-all-container[data-v-9b0f04da]{padding:8px 0}.hb-lib-table-setting-box[data-v-9b0f04da]{display:flex}.hb-lib-table-set-drag[data-v-9b0f04da]{max-height:300px;overflow-y:auto}.hb-lib-table-drag-item[data-v-9b0f04da]{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-9b0f04da]:hover{background-color:#f5f5f5}.hb-lib-table-drag-item .drag-handle[data-v-9b0f04da]{cursor:move;color:#999;padding:4px;-webkit-user-select:none;user-select:none}.ghost[data-v-9b0f04da]{opacity:.5;background:#c8ebfb}.table-setting-checkbox-group[data-v-9b0f04da]{display:flex;flex-wrap:wrap}.table-setting-checkbox-group[data-v-9b0f04da] .ant-checkbox-group-item{margin-right:0;width:33.33%}.hb-lib-table-set-btn-group[data-v-9b0f04da]{margin-top:10px;display:flex;justify-content:end;align-items:center;border-top:1px solid #f0f0f0;padding-top:8px}.drag-hide[data-v-9b0f04da]{visibility:hidden}.hb-lib-table-drag-item-act-btn[data-v-9b0f04da]{display:inline-block;cursor:pointer;width:14px;height:20px}.hb-lib-table-drag-item-act-btn .icon[data-v-9b0f04da]{width:100%;height:100%}.hb-lib-table-col-set[data-v-9b0f04da]{display:inline-block;cursor:pointer;width:22px;height:23px}.hb-lib-table-col-set .icon[data-v-9b0f04da]{width:100%;height:100%}.hb-lib-table-drag-item-act[data-v-9b0f04da]{display:flex;align-items:center;width:40px;justify-content:space-between}.alertInfoContent{width:auto!important}.hb_lib_form_tooltip_select[data-v-b04f5675]{width:100%}.hb_lib_form_tooltip_select__option[data-v-b04f5675]{display:inline-flex;align-items:center;gap:4px}.hb_lib_form_tooltip_select__option.is-ellipsis[data-v-b04f5675]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb_lib_form_tooltip_select__dropdown .ant-select-item-option-content{display:flex;align-items:center;gap:4px}.hb_import_btn[data-v-47fe70d9]{text-align:center;margin:0}.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}.log_remark[data-v-cee51270]{width:85%}: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-input-search-button{border:none!important}.list-page-box .ant-tabs-top>.ant-tabs-nav{margin-bottom:calc(var(--hb-space) / 2)!important}.list-page-box .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab{padding:calc(var(--hb-space) / 2) 0!important}.list-page-box .ant-table-body::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:var(--hb-border-radius)}.list-page-box .ant-table-bordered.ant-table-fixed-header .ant-table-body{height:var(--hb-list-table-height)!important;max-height:none!important}.hb-lib-list-page-act-box{background:#fff;display:flex;justify-content:space-between;box-shadow:0 4px 3px #f0f0f0cf;padding:calc(var(--hb-space) / 2) var(--hb-space)}.hb-lib-list-page-act{display:flex;align-items:center}.hb-lib-list-page-act .hb-lib-list-page-act-svg{display:inline-block;width:18px;height:18px;cursor:pointer}.hb-lib-list-page-act .hb-lib-list-page-act-svg:not(:last-child){margin-right:calc(var(--hb-space) / 2)}.hb-lib-list-page-act .hb-lib-list-page-act-svg .icon{width:100%;height:100%}.hb-lib-list-page-breadcrumb{font-size:var(--hb-text-font-size);color:#3e3e3e;display:flex;align-items:center}.hb-lib-list-page-form-box{display:flex;justify-content:space-between;background:#fff;border-radius:8px}.hb-form-item-ui{flex:1}.hb-form-item-ui .ant-form-item{border:1px solid #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-input-number{border:none!important;border-radius:var(--hb-border-radius)!important}.hb-form-item-ui .ant-input-number:focus{outline:none!important;box-shadow:none!important}.hb-form-item-ui .ant-form-item-label>label{padding:0 0 0 var(--hb-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}
|
package/dist/hb_component_lib.js
CHANGED
|
@@ -1574,7 +1574,7 @@ const St = "hb-", Be = (t = "") => {
|
|
|
1574
1574
|
const O = typeof e == "string" ? parseInt(e, 10) : e;
|
|
1575
1575
|
y.width = isNaN(O) ? 150 : O;
|
|
1576
1576
|
}
|
|
1577
|
-
}, c = (e, y = "YYYY-MM-DD HH:mm:ss") => e ? Le(e).format(y) : "", m = (e, y) => e && y
|
|
1577
|
+
}, c = (e, y = "YYYY-MM-DD HH:mm:ss") => e ? Le(e).format(y) : "", m = (e, y) => e && y[e] || "";
|
|
1578
1578
|
return (e, y) => {
|
|
1579
1579
|
const O = P("a-empty"), k = P("a-tooltip"), N = P("HbLibCopy"), A = P("a-tag"), H = P("a-table");
|
|
1580
1580
|
return o(), F("div", {
|
|
@@ -1755,7 +1755,7 @@ const St = "hb-", Be = (t = "") => {
|
|
|
1755
1755
|
], 6);
|
|
1756
1756
|
};
|
|
1757
1757
|
}
|
|
1758
|
-
}), Ol = /* @__PURE__ */ oe(Al, [["__scopeId", "data-v-
|
|
1758
|
+
}), Ol = /* @__PURE__ */ oe(Al, [["__scopeId", "data-v-f3061eae"]]), zl = le(Ol), Bl = { class: "hb-lib-table-setting-box" }, Rl = {
|
|
1759
1759
|
key: 0,
|
|
1760
1760
|
class: "hb-lib-table-drag-item"
|
|
1761
1761
|
}, Pl = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(z,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vuedraggable"),require("ant-design-vue"),require("vue-router"),require("vue-i18n"),require("lodash"),require("@ant-design/icons-vue"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","ant-design-vue","vue-router","vue-i18n","lodash","@ant-design/icons-vue","@vueuse/core","dayjs"],e):(z=typeof globalThis<"u"?globalThis:z||self,e(z.HbComponentLib={},z.Vue,z.draggable,z.antDesignVue,z.vueRouter,z.vueI18n,z.lodash,z.iconsVue,z.core,z.dayjs))})(this,(function(z,e,Q,L,ne,K,ee,Y,re,Z){"use strict";const te=(o="")=>{const m=`hb-${o}`;return de(m)},J=(o,m,r,d)=>(m&&(o+=`-${m}`),r&&(o+=`__${r}`),d&&(o+=`--${d}`),o),de=o=>({b:m=>m?J(o,m,"",""):J(o,"","",""),e:m=>m?J(o,"",m,""):"",m:m=>J(o,"","",m),be:(m,r)=>J(o,m,r,""),em:(m,r)=>J(o,"",m,r),bem:(m,r,d)=>J(o,m,r,d),is:(m,r)=>r?`is-${m}`:""}),me=["onMouseenter","onMouseleave"],pe=["onClick"],fe=e.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:{list:{default:()=>[]},afterChange:{type:Function,default:()=>()=>{}},title:{default:"自定义查询条件"},showNumber:{default:40},saveKey:{default:""}},emits:["confirm"],setup(o,{expose:m,emit:r}){const d=K.useI18n().t,g=K.useI18n().messages.value.en_US,h=K.useI18n().messages.value.ja_JP,a=K.useI18n().messages.value.zh_CN,i=o,p=r,t=te("sfcm"),b=ne.useRoute(),F=e.reactive({lan:window.localStorage.getItem("lan")}),y=e.ref(!1),V=e.ref(600);let T=[];const B=e.ref([]),l=e.ref([]),u=e.computed(()=>B.value.every(_=>_.isLinked||_.isFixed)),S=_=>({..._,label:s(_)||`${_.subLabel||""}${d("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:_.key,isFixed:_?.isFixed||!1,isLinked:_?.isLinked||!1,labelLanguage:_?.labelLanguage||void 0}),k=_=>{const C=_.draggedContext.element,N=_.relatedContext.index;if(C.isLinked||C.isFixed)return!1;const D=B.value.map((P,W)=>({item:P,index:W})).filter(({item:P})=>P.isLinked).map(({index:P})=>P);if(D.length===0)return!0;for(let P=0;P<D.length-1;P++){const W=D[P],G=D[P+1];if(N>W&&N<G)return!1}return!0},M=e.computed(()=>f()+"_"+i.saveKey),f=()=>{const _=localStorage.getItem("pro__Login_Userinfo");let C="anonymous";if(_)try{C=JSON.parse(_).value.jobNumber||"anonymous"}catch(D){console.warn("解析用户信息失败:",D)}let N=b?.path;return`searchFormConfig_${C}_${N}`},s=_=>({ja_JP:()=>ee.get(h,_.labelLanguage||""),en_US:()=>ee.get(g,_.labelLanguage||""),zh_CN:()=>ee.get(a,_.labelLanguage||"")})[F.lan]?.()||_.label,c=_=>{try{const C=localStorage.getItem(M.value);if(C){const N=JSON.parse(C);if(N.originalList&&Array.isArray(N.originalList)){T=JSON.parse(JSON.stringify(N.originalList));const D=T.filter(I=>I?.isFixed),P=T.filter(I=>I?.isLinked),W=N.showList.filter(I=>!I.isFixed&&!I.isLinked),G=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-D.length-P.length):W.length,v=D.map(I=>({...S(I)})),oe=P.map(I=>({...S(I)})),le=W.slice(0,G).map(I=>({...S(I)}));console.log("我进来了这里2233"),B.value=[...v,...oe,...le];const ae=B.value.map(I=>I.key),O=T.map(I=>I.key).filter(I=>!ae.includes(I));return l.value=T.filter(I=>O.includes(I.key)).map(I=>({...S(I),active:!1})),!0}}}catch(C){console.warn("加载保存的搜索配置失败:",C)}return!1},n=()=>{try{const _={originalList:T,showList:B.value.map(C=>({...C,key:C.key,label:C.label,isFixed:C.isFixed,isLinked:C.isLinked,labelLanguage:C?.labelLanguage||void 0}))};localStorage.setItem(M.value,JSON.stringify(_))}catch(_){console.warn("保存搜索配置失败:",_)}},w=e.computed(()=>{const _=B.value.filter(N=>!N.isFixed&&!N.isLinked).length,C=B.value.filter(N=>N.isFixed||N.isLinked).length;return _>=i.showNumber-C});e.watch(()=>i.list,_=>{let C=JSON.stringify(B.value)!==JSON.stringify(_);if(!C)return;const N=localStorage.getItem(M.value),D=JSON.parse(N||"{}");if(D&&D?.originalList&&Array.isArray(D.originalList))c(),p("confirm",B.value);else if(C){T=JSON.parse(JSON.stringify(_));const P=_.filter(O=>O?.isFixed),W=_.filter(O=>O?.isLinked),G=_.filter(O=>!O?.isFixed&&!O?.isLinked),v=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-P.length-W.length):G.length,oe=P.map(O=>S(O)),le=W.map(O=>S(O)),ae=G.slice(0,v).map(O=>S(O));B.value=[...oe,...le,...ae];const ce=G.slice(v).map(O=>({...S(O),active:!1}));l.value=ce}},{immediate:!0});const $=_=>{const C=B.value.findIndex(N=>N.key===_.key);C!==-1&&(B.value.splice(C,1),l.value.push({..._,active:!1}))},A=_=>{if(w.value)return;const C=l.value.findIndex(N=>N.key===_.key);if(C!==-1){const[N]=l.value.splice(C,1);B.value.push({...N,active:!1})}},j=()=>{y.value=!1},H=()=>{y.value=!0},E=()=>{n(),p("confirm",B.value),j()},q=_=>{const C=l.value.findIndex(N=>N.key===_.key);C!==-1&&(l.value[C].active=!0)},x=_=>{const C=l.value.findIndex(N=>N.key===_.key);C!==-1&&(l.value[C].active=!1)};return m({toOpenModal:H}),e.onMounted(()=>{console.log("我是保存的搜索条件")}),(_,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t).b())},[e.createVNode(e.unref(L.Modal),{visible:y.value,"onUpdate:visible":C[1]||(C[1]=N=>y.value=N),width:V.value,onCancel:j,onOk:E},{title:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("title"))},e.toDisplayString(o.title),3)]),footer:e.withCtx(()=>[e.createVNode(e.unref(L.Button),{onClick:j},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(L.Button),{type:"primary",onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("section",{class:e.normalizeClass(e.unref(t).e("show"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(t).e("title__tip"))},e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(o.showNumber)+e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("show__tag"))},[e.createVNode(e.unref(Q),{modelValue:B.value,"onUpdate:modelValue":C[0]||(C[0]=N=>B.value=N),"item-key":"key",tag:"div",disabled:u.value,move:k},{item:e.withCtx(({element:N})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(t).e("show__tag__item"),e.unref(t).is("fixed",N.isFixed),e.unref(t).is("linked",N.isLinked)])},[e.createTextVNode(e.toDisplayString(N.label)+" ",1),!N.isFixed&&!N.isLinked&&o.list.length>1?(e.openBlock(),e.createBlock(e.unref(Y.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(t).e("show__tag__item-close")),onClick:D=>$(N)},null,8,["class","onClick"])):e.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),e.createElementVNode("section",{class:e.normalizeClass(e.unref(t).e("unshow"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(t).e("title__tip"))},e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("unshow__tag"))},[l.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.value,N=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(t).e("unshow__tag__item"),e.unref(t).is("fixed",N.isFixed||""),e.unref(t).is("linked",N.isLinked||"")]),key:N.key,onMouseenter:D=>q(N),onMouseleave:D=>x(N)},[e.createTextVNode(e.toDisplayString(N.label)+" ",1),N.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(t).e("unshow__tag__item-add")),onClick:D=>A(N)},e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.add")),11,pe)):e.createCommentVNode("",!0)],42,me))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(t).e("unshow__tag__empty"))},e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),U=(o,m)=>{const r=o.__vccOpts||o;for(const[d,g]of m)r[d]=g;return r},he=U(fe,[["__scopeId","data-v-a8bc8c3a"]]),R=o=>(o.install=m=>{m.component(o.name||"AnonymousComponent",o)},o),be=R(he),ge={class:"form-footer"},Ce=R(U(e.defineComponent({name:"HbLibListForm",__name:"HbListForm",props:{items:{default:()=>[]},formData:{},layoutConfig:{default:()=>({row:{gutter:20},col:{xs:24,sm:12,md:8,lg:6,xl:6}})},saveKey:{},needFooter:{type:Boolean,default:!1},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},needSearchCase:{type:Boolean,default:!1},searchList:{},calTableHeight:{type:Function,default:()=>()=>{}}},emits:["handleSearch","handleReset","handleSfcmConfirm","handleMenuClick"],setup(o,{expose:m,emit:r}){const d=r,g=e.inject("HB_LIST_PAGE_CONTAINER"),h=e.computed(()=>i.searchList||[]),a=te("form"),i=o,p=e.ref("show"),t=e.computed(()=>[...i.items]),b=e.computed(()=>[...i.items].map(n=>({...n,label:n.label?.includes("多项搜索")?"":n.label}))),F=e.computed(()=>i.saveKey),y=e.ref(),V=()=>{d("handleSearch")},T=()=>{d("handleReset")},B=e.ref(),l=()=>{B.value&&B.value.toOpenModal()},u=n=>{d("handleMenuClick",n)},S=n=>{d("handleSfcmConfirm",n)},k=()=>{p.value=p.value==="show"?"hide":"show"};e.watch(()=>i.isFormExpanded,n=>{if(n){console.log(n);const w=document.querySelector("#subpackage_container");w instanceof HTMLElement&&(w.style.overflow="hidden",setTimeout(()=>{w.style.overflow="auto"},500))}});const M=n=>{const w=n;w.style.height="",w.offsetHeight},f=n=>{const w=n;w.style.height="",w.style.overflow="",e.nextTick(()=>{g.calTableHeight&&g.calTableHeight()})},s=n=>{const w=n,$=w.querySelector(".hb-lib-form--container");if($){const A=$.offsetHeight;w.style.height=A+"px",w.style.overflow="hidden",w.offsetHeight,requestAnimationFrame(()=>{w.style.height="0"})}},c=()=>{e.nextTick(()=>{g.calTableHeight&&g.calTableHeight()})};return m({formRef:y,SelectOption:L.SelectOption,Form:L.Form,FormItem:L.FormItem,Row:L.Row,Col:L.Col,Input:L.Input,Select:L.Select,CheckboxGroup:L.CheckboxGroup,Checkbox:L.Checkbox,DatePicker:L.DatePicker,InputNumber:L.InputNumber,RadioGroup:L.RadioGroup,Radio:L.Radio,Switch:L.Switch,Button:L.Button,Tooltip:L.Tooltip}),(n,w)=>{const $=e.resolveComponent("a-button"),A=e.resolveComponent("a-tooltip"),j=e.resolveComponent("a-menu-item"),H=e.resolveComponent("a-menu"),E=e.resolveComponent("a-dropdown"),q=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:M,onAfterEnter:f,onLeave:s,onAfterLeave:c},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(a).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[e.createVNode(e.unref(L.Form),e.mergeProps(n.$attrs,{model:o.formData,ref_key:"formRef",ref:y,class:["hb-lib-form--container",p.value=="show"?"":"hide"]}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(x,_)=>(e.openBlock(),e.createBlock(e.unref(L.FormItem),e.mergeProps({key:_,ref_for:!0},x,{name:x.key,class:x.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),e.createSlots({default:e.withCtx(()=>[x.type==="slot"?e.renderSlot(n.$slots,x.key,{key:0,formData:o.formData,item:x},void 0,!0):e.createCommentVNode("",!0),x.type==="mixin"?e.renderSlot(n.$slots,x.key,{key:1,formData:o.formData,item:x},void 0,!0):e.createCommentVNode("",!0),x.type==="input"?(e.openBlock(),e.createBlock(e.unref(L.Input),e.mergeProps({key:2,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="select"?(e.openBlock(),e.createBlock(e.unref(L.Select),e.mergeProps({key:3,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.options,(C,N)=>(e.openBlock(),e.createBlock(e.unref(L.SelectOption),{key:N,value:C.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(L.CheckboxGroup),e.mergeProps({key:4,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.options,(C,N)=>(e.openBlock(),e.createBlock(e.unref(L.Checkbox),{key:N,value:C.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(L.DatePicker),e.mergeProps({key:5,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(L.InputNumber),e.mergeProps({key:6,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="radio"?(e.openBlock(),e.createBlock(e.unref(L.RadioGroup),e.mergeProps({key:7,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.options,(C,N)=>(e.openBlock(),e.createBlock(e.unref(L.Radio),{key:N,value:C.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="switch"?(e.openBlock(),e.createBlock(e.unref(L.Switch),e.mergeProps({key:8,checked:o.formData[x.key],"onUpdate:checked":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[x.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label)+" ",1),e.createVNode(e.unref(L.Tooltip),{title:x.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(Y.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),e.createElementVNode("section",ge,[e.createVNode($,{type:"primary",onClick:V,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(Y.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(n.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode($,{type:"link",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),o.needFilter?(e.openBlock(),e.createBlock(A,{key:0,title:n.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:l},[...w[0]||(w[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(n.$slots,"formBtns",{},()=>[o.needSearchCase?(e.openBlock(),e.createBlock(E,{key:0},{overlay:e.withCtx(()=>[e.createVNode(H,{onClick:u},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,x=>(e.openBlock(),e.createBlock(j,{key:x.id},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.title),1)]),_:2},1024))),128)),e.createVNode(j,{key:"add"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbLibListForm.addScheme")),1)]),_:1}),e.createVNode(j,{key:"edit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbLibListForm.editScheme")),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(A,{title:n.$t("hbLibComp.hbLibListForm.queryCase")},{default:e.withCtx(()=>[...w[1]||(w[1]=[e.createElementVNode("span",{style:{width:"18px",height:"18px",cursor:"pointer"}},[e.createElementVNode("svg",{t:"1765936014161",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4751"},[e.createElementVNode("path",{d:"M729.6 1020.16H353.28a32 32 0 0 1-32-32v-295.68H52.48a32 32 0 0 1-32-32V155.52a32 32 0 0 1 32-32h215.68a32 32 0 0 1 0 64H84.48v440.96h268.8a32 32 0 0 1 32 32v295.68h312.32V609.28a32 32 0 1 1 64 0v378.88a32 32 0 0 1-32 32z",fill:"#ff5000","p-id":"4752"}),e.createElementVNode("path",{d:"M353.28 1020.16a32 32 0 0 1-23.68-10.24L42.24 695.04a32 32 0 1 1 47.36-43.52l288 314.88a32 32 0 0 1-23.68 53.76zM353.28 494.72H171.52a32 32 0 0 1 0-64h181.76a32 32 0 0 1 0 64zM625.92 522.24a259.2 259.2 0 0 1-183.04-442.88A259.2 259.2 0 1 1 809.6 448a256 256 0 0 1-183.68 74.24z m0-455.04a195.2 195.2 0 0 0-138.24 334.08 200.32 200.32 0 0 0 276.48 0 195.2 195.2 0 0 0-138.24-334.08z",fill:"#ff5000","p-id":"4753"}),e.createElementVNode("path",{d:"M880.64 549.76a32 32 0 0 1-22.4-9.6L771.84 454.4a32 32 0 0 1 45.44-45.44l85.76 85.76a32 32 0 0 1-22.4 54.4z",fill:"#ff5000","p-id":"4754"})])],-1)])]),_:1},8,["title"])]),_:1})):e.createCommentVNode("",!0)],!0)])]),_:3},16,["model","class"]),o.needFooter?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("footer__left"))},[e.renderSlot(n.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("footer__right"))},[p.value=="show"?e.renderSlot(n.$slots,"form-footer-right",{key:0,formRef:y.value},()=>[e.createVNode(e.unref(L.Button),{type:"primary",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(e.unref(L.Button),{type:"primary",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):e.createCommentVNode("",!0),e.createVNode(e.unref(L.Button),{type:"primary",onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value=="show"?`${n.$t("hbLibComp.hbListPageAct.close")}`:`${n.$t("hbLibComp.hbListPageAct.open")}`),1)]),_:1})],2)],2)):e.createCommentVNode("",!0)],2),[[e.vShow,o.isFormExpanded]])]),_:3}),e.createVNode(q,{list:t.value,ref_key:"HbSfCmRef",ref:B,onConfirm:S,saveKey:F.value},null,8,["list","saveKey"])],64)}}}),[["__scopeId","data-v-04ccb514"]])),ke={class:"hb-lib-list-page-act-box"},ye={class:"hb-lib-list-page-breadcrumb"},ue={class:"hb-lib-list-page-act"},Se={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"},_e={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"},Le=R(U(e.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:{isShowFullScreen:{type:Boolean,default:!0}},setup(o){const m=e.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:r,toggle:d}=re.useFullscreen(m.PageContainerRef),g=e.ref(""),h=()=>{const a=ne.useRoute();let i=localStorage.getItem("BreadCrumb")||"[]",p=a?.path;if(i!=="[]"){let t=JSON.parse(i).find(b=>b.value===p);t&&(g.value=t.label.replace(/-/g," / "))}};return e.onMounted(()=>{h()}),(a,i)=>{const p=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ke,[e.createElementVNode("aside",ye,e.toDisplayString(g.value),1),e.createElementVNode("aside",ue,[e.createVNode(p,{title:e.unref(r)?`${a.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${a.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:i[0]||(i[0]=(...t)=>e.unref(d)&&e.unref(d)(...t))},[e.unref(r)?(e.openBlock(),e.createElementBlock("svg",_e,[...i[2]||(i[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",Se,[...i[1]||(i[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(a.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-a7ddfc50"]])),we={class:"hb-lib-list-btns-box"},xe={class:"hb-lib-list-btns-left"},Ne={class:"hb-lib-list-btns-right"},Be=R(U(e.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:{needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},emits:["handleOpenOrClose","handleReload"],setup(o,{emit:m}){const r=m,d=e.ref(!0),g=()=>{d.value=!d.value,r("handleOpenOrClose",d.value)},h=()=>{r("handleReload")};return e.onMounted(()=>{}),(a,i)=>{const p=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",we,[e.createElementVNode("aside",xe,[e.renderSlot(a.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Ne,[o.needReload?(e.openBlock(),e.createBlock(p,{key:0,title:a.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:h},[...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),o.needOpenOrClose?(e.openBlock(),e.createBlock(p,{key:1,title:d.value?`${a.$t("hbLibComp.hbListBtnsAct.close")}`:`${a.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:g},[d.value?(e.openBlock(),e.createBlock(e.unref(Y.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(Y.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-da13672b"]])),Te=(o={})=>{const{formRef:m,offsetBottom:r=50,minHeight:d=300}=o,g=e.ref(0);let h=null,a=null,i=null,p=null,t=null;const b=()=>{t&&clearTimeout(t),t=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const u=document.querySelector(".ant-table"),S=document.querySelector(".ant-pagination");if(u){const k=u.getBoundingClientRect().top,M=window.innerHeight,s=(S?S.offsetHeight+20:40)+r;let c=M-k-s;c<d&&(c=d),g.value=c}})})},100)},F=()=>{const u=document.querySelector(".ant-pagination");if(u){const S=new MutationObserver(()=>{b()});return S.observe(u,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),S}return null},y=()=>{const u=document.querySelector(".hb-lib-list-page-form-box");u&&(h=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(k=>{k.style.display="none"}),b()}),h.observe(u))},V=()=>{const u=document.querySelector(".hb-lib-list-page-form-box");u&&(i=new MutationObserver(()=>{setTimeout(()=>{b()},100)}),i.observe(u,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},T=()=>{p&&clearTimeout(p),p=setTimeout(()=>{b()},100)},B=()=>{window.addEventListener("resize",T),e.nextTick(()=>{y(),V(),a=F()})},l=()=>{window.removeEventListener("resize",T),h&&h.disconnect(),i&&i.disconnect(),a&&a.disconnect(),p&&clearTimeout(p),t&&clearTimeout(t)};return m&&e.watch(()=>m,()=>{setTimeout(()=>{b()},200)},{deep:!0}),e.onMounted(()=>{b(),B()}),e.onUnmounted(()=>{l()}),{tableHeight:g,calTableHeight:b}},Fe=R(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{default:400},tabelData:{default:()=>[]},offsetBottom:{default:20},minHeight:{}},setup(o){const m=o,r=e.useTemplateRef("PageContainerRef"),{calTableHeight:d,tableHeight:g}=Te({offsetBottom:m.offsetBottom||20,minHeight:m.minHeight||300}),h=e.computed(()=>g.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:r,tableHeight:g,calTableHeight:d}),(a,i)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:r},[e.renderSlot(a.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle({"--hb-list-table-height":h.value-m.offsetBottom+"px","--hb-list-ttable-height":o.tabelData.length?"":h.value-m.offsetBottom+"px"})},[e.renderSlot(a.$slots,"default")],4)],512))}})),Ve={style:{"font-weight":"500"}},$e={key:0,class:"hb-lib-search-tag__description"},Ee={class:"hb-lib-selector-dropdown"},Me={class:"hb-lib-selector-search"},Ie={class:"hb-lib-selector-list"},He=["onClick"],De={class:"hb-lib-option-content"},Ae={class:"hb-lib-option-label"},ze={key:0,class:"hb-lib-selector-empty"},Pe={key:1,class:"hb-lib-selector-footer"},Oe={class:"hb-lib-footer-buttons"},Re={key:2,class:"hb-lib-selector-footer"},Ue={class:"hb-lib-footer-buttons"},qe=R(U(e.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:e.mergeModels({placeholder:{default:"点击选择"},searchPlaceholder:{default:"搜索选项"},width:{default:600},options:{default:()=>[]},multiple:{type:Boolean,default:!0},prefix:{default:""},value:{},remoteSearch:{type:Boolean,default:!1},searchValue:{default:""},maxTagCount:{default:2},tagTextLength:{default:30}},{value:{},valueModifiers:{}}),emits:e.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(o,{emit:m}){const r=o,d=m,g=e.useModel(o,"value"),h=e.ref(!1),a=e.ref(""),i=e.ref([]),p=e.ref(),t=e.computed(()=>{if(r.remoteSearch||!a.value)return r.options;const f=a.value.toLowerCase();return r.options.filter(s=>s.label.toLowerCase().includes(f)||s.description?.toLowerCase().includes(f))}),b=e.computed(()=>r.prefix?`${r.prefix.length*14+8}px`:"0px"),F=e.computed(()=>t.value.length===0?!1:t.value.every(f=>i.value.includes(f.value))),y=e.computed(()=>{if(t.value.length===0)return!1;const f=t.value.filter(s=>i.value.includes(s.value)).length;return f>0&&f<t.value.length});e.watch(()=>g.value,f=>{f?i.value=Array.isArray(f)?[...f]:[f]:i.value=[]},{immediate:!0}),e.watch(()=>r.searchValue,f=>{r.remoteSearch&&f!==void 0&&(a.value=f)},{immediate:!0});const V=f=>{f&&(h.value=f,T.value=[...i.value],a.value="",setTimeout(()=>{if(p.value){const s=p.value.input||p.value.$el?.querySelector("input");s&&s.focus()}},100))},T=e.ref([]),B=()=>{i.value=[...T.value],h.value=!1,d("cancel")},l=e.ref([]),u=()=>{const f=r.multiple?i.value:i.value[0]||"",s=r.options.filter(c=>i.value.includes(c.value));l.value=s,console.log(f,s),T.value=[...i.value],g.value=f,d("update:value",f),d("change",f,s),d("confirm",f,s),h.value=!1},S=re.useDebounceFn(f=>{const s=f!==void 0?f:a.value;r.remoteSearch&&(d("search",s),d("update:searchValue",s))},300),k=f=>{if(r.multiple){const s=new Set(i.value);s.has(f.value)?s.delete(f.value):s.add(f.value),i.value=Array.from(s)}else i.value=[f.value],u()},M=f=>{if(f.target.checked){const c=new Set(i.value);t.value.forEach(n=>{c.add(n.value)}),i.value=Array.from(c)}else{const c=new Set(t.value.map(n=>n.value));i.value=i.value.filter(n=>!c.has(n))}};return(f,s)=>{const c=e.resolveComponent("a-tag"),n=e.resolveComponent("a-input"),w=e.resolveComponent("a-checkbox"),$=e.resolveComponent("a-radio"),A=e.resolveComponent("a-button"),j=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":b.value}},f.$attrs),[e.createVNode(j,{value:g.value,"onUpdate:value":s[5]||(s[5]=H=>g.value=H),mode:o.multiple?"multiple":void 0,placeholder:o.placeholder,"show-search":!0,"filter-option":!1,open:h.value,allowClear:"",maxTagCount:o.maxTagCount,options:t.value,onDropdownVisibleChange:V,onSearch:e.unref(S),"max-tag-text-length":o.tagTextLength,class:e.normalizeClass({"has-prefix":o.prefix}),"data-prefix":o.prefix,style:{width:"100%"}},{tagRender:e.withCtx(({value:H,label:E,closable:q,option:x})=>[e.createVNode(c,{class:"hb-lib-search-tag",onClick:s[0]||(s[0]=()=>V(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Ve,e.toDisplayString(E),1),x?.description?(e.openBlock(),e.createElementBlock("span",$e," ("+e.toDisplayString(x.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:H})=>[e.createElementVNode("div",Ee,[e.createElementVNode("div",Me,[e.createVNode(n,{ref_key:"searchInputRef",ref:p,class:"hb-lib-selector-search-input",value:a.value,"onUpdate:value":s[1]||(s[1]=E=>a.value=E),placeholder:"请输入关键词搜索","allow-clear":"",onInput:s[2]||(s[2]=E=>e.unref(S)(E.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(Y.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",Ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,E=>(e.openBlock(),e.createElementBlock("div",{key:E.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:i.value.includes(E.value)}]),onClick:()=>k(E)},[o.multiple?(e.openBlock(),e.createBlock(w,{key:0,checked:i.value.includes(E.value),onChange:()=>k(E),onClick:s[3]||(s[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock($,{key:1,checked:i.value.includes(E.value),onChange:()=>k(E),onClick:s[4]||(s[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",De,[e.createElementVNode("div",Ae,e.toDisplayString(E.label),1)])],10,He))),128))]),t.value.length===0?(e.openBlock(),e.createElementBlock("div",ze,e.toDisplayString(f.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),o.multiple?(e.openBlock(),e.createElementBlock("div",Pe,[e.createVNode(w,{checked:F.value,indeterminate:y.value,onChange:M},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",Oe,[e.createVNode(A,{size:"small",onClick:B},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(A,{type:"primary",size:"small",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",Re,[s[6]||(s[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",Ue,[e.createVNode(A,{size:"small",onClick:B},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.$t("hbLibComp.hbFormSelectFilter.close")),1)]),_:1})])]))])]),_:1},8,["value","mode","placeholder","open","maxTagCount","options","onSearch","max-tag-text-length","class","data-prefix"])],16)}}}),[["__scopeId","data-v-87177371"]])),Ye={class:"hb-lib-form-item-filter-modal-search"},je={class:"hb-lib-form-item-filter-modal-buttons"},Ke={key:0},We=R(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(o,{expose:m,emit:r}){const d=o,g=r,h=e.ref(!1),a=e.ref(""),i=e.ref(),p=e.ref(),t=e.ref([]),b=e.ref([]),F=e.ref(),y=e.reactive({searchText:"",searchedColumn:""}),V=e.computed(()=>d.tableData.map(c=>(c.id=c.id||Math.random(),c))),T=e.computed(()=>d.tableColumn.map(c=>(c.customFilterDropdown&&(c.onFilter=(n,w)=>w[c.dataIndex].toString().toLowerCase().includes(n.toLowerCase()),c.onFilterDropdownVisibleChange=n=>{n&&setTimeout(()=>{i.value?.focus()},100)}),{...c}))),B=()=>{let c="";b.value.forEach(n=>{c=c+n[d.labelKey]+","}),a.value=c.substring(0,c.length-1),h.value=!1,g("handleConfirm",b.value)},l=()=>{h.value=!1},u=()=>{h.value=!0,e.nextTick(()=>{const c=F.value?.$el?.querySelector(".ant-table-body");c&&(c.scrollTop=0)})},S=()=>{t.value=[],b.value=[]},k=()=>{a.value="",S()},M=(c,n,w)=>{n(),y.searchText=c[0],y.searchedColumn=w},f=(c,n)=>{c({confirm:!0}),y.searchText="",n()},s=(c,n)=>{t.value=c,b.value=n};return m({resetInputVal:k}),(c,n)=>{const w=e.resolveComponent("a-input"),$=e.resolveComponent("a-button"),A=e.resolveComponent("a-table"),j=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:p},[e.createVNode(w,{readonly:"",onClick:u,value:a.value,"onUpdate:value":n[0]||(n[0]=H=>a.value=H),placeholder:c.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(Y.UnorderedListOutlined),{onClick:u})]),_:1},8,["value","placeholder"]),e.createVNode(j,{visible:h.value,"onUpdate:visible":n[1]||(n[1]=H=>h.value=H),title:o.modelTitle,width:o.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode($,{onClick:S},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode($,{onClick:l},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode($,{type:"primary",onClick:B},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(A,{ref_key:"tableRef",ref:F,columns:T.value,dataSource:V.value,rowSelection:{selectedRowKeys:t.value,onChange:s},rowKey:H=>H[o.tableKey],scroll:{y:o.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:H,selectedKeys:E,confirm:q,clearFilters:x,column:_})=>[e.createElementVNode("div",Ye,[e.createVNode(w,{ref_key:"searchInput",ref:i,placeholder:`请输入${_.title}`,value:E[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:C=>H(C.target.value?[C.target.value]:[]),onPressEnter:C=>M(E,q,_.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",je,[e.createVNode($,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:C=>f(x,q)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode($,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:C=>M(E,q,_.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:H})=>[e.createVNode(e.unref(Y.SearchOutlined),{style:e.normalizeStyle({color:H?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:H,column:E})=>[y.searchText&&y.searchedColumn===E.dataIndex?(e.openBlock(),e.createElementBlock("span",Ke,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.toString().split(new RegExp(`(?<=${y.searchText})|(?=${y.searchText})`,"i")),(q,x)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[q.toLowerCase()===y.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:x,class:"highlight"},e.toDisplayString(q),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(q),1)],64))],64))),256))])):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),Je={class:"hb-lib-table-act-box"},Ge=["onClick"],Qe={href:"javascript:;",class:"hb-lib-table-main-action"},Ze=["onClick"],Xe={href:"javascript:;",class:"hb-lib-table-more-action"},ve=["onClick"],et={href:"javascript:;"},tt=["onClick"],ot={class:"hb-lib-table-confirm-modal-content"},lt=R(U(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(o,{expose:m}){const r=o,{t:d}=K.useI18n(),g=e.ref(!1),h=e.ref(!1),a=e.ref(null),i=e.computed(()=>r.actions.filter(B=>B.condition!==void 0?B.condition:!0)),p=e.computed(()=>i.value.slice(0,r.buttonDisplaysQuantity)),t=e.computed(()=>i.value.slice(r.buttonDisplaysQuantity)),b=B=>{B.handler&&B.handler(r.record)},F=B=>{a.value=B,g.value=!0},y=()=>{if(a.value){h.value=!0;try{b(a.value),h.value=!1,g.value=!1}catch{h.value=!1}}},V=()=>{g.value=!1,a.value=null},T=e.computed(()=>a.value?{title:a.value.confirmTitle,content:a.value.confirmContent||a.value.confirmTitle}:{title:d("hbLibComp.hbTableAct.secendConfirm"),content:d("hbLibComp.hbTableAct.confirmContent")});return m({ADropdown:L.Dropdown,AMenu:L.Menu,AMenuItem:L.MenuItem,APopconfirm:L.Popconfirm,AModal:L.Modal,DownOutlined:Y.DownOutlined}),(B,l)=>{const u=e.resolveComponent("a-divider"),S=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",Je,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(k,M)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:M},[k.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[k.confirmType==="modal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:f=>F(k),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(k.label),1)],8,Ge)),[[S,k.permissionsTag||null]]),t.value&&t.value.length>0||M!==p.value.length-1?(e.openBlock(),e.createBlock(u,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(L.Popconfirm),{title:k.confirmTitle,onConfirm:f=>b(k)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Qe,[e.createTextVNode(e.toDisplayString(k.label),1)])),[[S,k.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]),t.value&&t.value.length>0||M!==p.value.length-1?(e.openBlock(),e.createBlock(u,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:f=>b(k),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(k.label),1)],8,Ze)),[[S,k.permissionsTag||null]]),t.value&&t.value.length>0||M!==p.value.length-1?(e.openBlock(),e.createBlock(u,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64))),128)),t.value&&t.value.length>0?(e.openBlock(),e.createBlock(e.unref(L.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(L.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,k=>(e.openBlock(),e.createBlock(e.unref(L.MenuItem),{key:k.key},{default:e.withCtx(()=>[k.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[k.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:M=>F(k)},[e.createTextVNode(e.toDisplayString(k.label),1)],8,ve)),[[S,k.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(L.Popconfirm),{key:1,title:k.confirmTitle,onConfirm:M=>b(k)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",et,[e.createTextVNode(e.toDisplayString(k.label),1)])),[[S,k.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:M=>b(k)},[e.createTextVNode(e.toDisplayString(k.label),1)],8,tt)),[[S,k.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",Xe,[e.createTextVNode(e.toDisplayString(B.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(Y.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(L.Modal),{visible:g.value,title:T.value.title,"confirm-loading":h.value,onOk:y,onCancel:V},{default:e.withCtx(()=>[e.createElementVNode("p",ot,e.toDisplayString(T.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-a96574fa"]])),at=o=>({tableWidth:e.computed(()=>{const r=Array.isArray(o)?o:o.value;return!r||r.length===0?0:r.map(d=>d.width&&Number(d.width.toString().replace("px",""))||0).reduce((d,g)=>d+g,0)})}),nt={key:0,class:"hb-lib-list-table-act"},rt={class:"empty-container"},it=R(U(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},rowHeight:{},defaultWidth:{default:()=>150},tooltipPlacement:{default:()=>"topLeft"}},setup(o){const{t:m}=K.useI18n(),r=o,d=e.ref([]),g=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:h}=at(e.computed(()=>r.columns));e.watch(()=>r.columns,t=>{const b=t.filter(F=>F!=null&&F.checked);d.value=b.map(F=>{let y={...F,title:F.title||F.label};if(y.ellipsis&&!y.needTooltip&&(y.needTooltip=!0),!y.width)y.width=r.defaultWidth;else if(typeof y.width=="string"){const V=parseInt(y.width,10);y.width=isNaN(V)?r.defaultWidth:V}return y.resizable===void 0&&(y.resizable=!0),y})},{immediate:!0,deep:!0});const a=(t,b)=>{if(b){const F=typeof t=="string"?parseInt(t,10):t;b.width=isNaN(F)?150:F}},i=(t,b="YYYY-MM-DD HH:mm:ss")=>t?Z(t).format(b):"",p=(t,b)=>t&&b.find(F=>F[t])?.[t]||"";return(t,b)=>{const F=e.resolveComponent("a-empty"),y=e.resolveComponent("a-tooltip"),V=e.resolveComponent("HbLibCopy"),T=e.resolveComponent("a-tag"),B=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":r.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":o.rowHeight&&o.rowHeight+"px"||""})},[t.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",nt,[e.renderSlot(t.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(t.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(B,e.mergeProps(t.$attrs,{bordered:"",columns:d.value,onResizeColumn:a,scroll:{x:e.unref(h),y:e.unref(g).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",rt,[e.createVNode(F,{description:e.unref(m)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[t.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:l})=>[e.renderSlot(t.$slots,"headerCell",{column:l},()=>[e.createTextVNode(e.toDisplayString(l.title),1)],!0)]),key:"0"}:void 0,t.$slots.bodyCell?{name:"bodyCell",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"bodyCell",{column:l,record:u,index:S,text:k},void 0,!0),l&&l.needTooltip?(e.openBlock(),e.createBlock(y,{key:0,placement:o.tooltipPlacement},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u[l.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(u[l.dataIndex]),1)]),_:2},1032,["placement"])):e.createCommentVNode("",!0),l&&l.needCopy?(e.openBlock(),e.createBlock(V,{key:1,"cp-text":u[l.dataIndex],style:{position:"relative"}},null,8,["cp-text"])):e.createCommentVNode("",!0),l&&l.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(i(u[l.dataIndex],l.format)),1)],64)):e.createCommentVNode("",!0),l&&l.tags?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[p(u[l.dataIndex],l.tags)?(e.openBlock(),e.createBlock(T,{key:0,color:p(u[l.dataIndex],l.tags)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u[l.dataIndex]),1)]),_:2},1032,["color"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),key:"1"}:void 0,t.$slots.expandedRowRender?{name:"expandedRowRender",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"expandedRowRender",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"2"}:void 0,t.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"customFilterDropdown",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"3"}:void 0,t.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"customFilterIcon",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"4"}:void 0,t.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"expandIcon",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"5"}:void 0,t.$slots.footer?{name:"footer",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"footer",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"6"}:void 0,t.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"headerCell",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"7"}:void 0,t.$slots.summary?{name:"summary",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"summary",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"8"}:void 0,t.$slots.title?{name:"title",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"title",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"9"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-7a67c561"]])),st={class:"hb-lib-table-setting-box"},ct={key:0,class:"hb-lib-table-drag-item"},dt={key:0,class:"hb-lib-table-drag-item-act"},mt=["onClick"],pt=["onClick"],ft={class:"hb-lib-table-set-btn-group"},ht={class:"select-all-container",style:{"margin-right":"10px"}},bt=R(U(e.defineComponent({name:"HbLibTableColumnSet",__name:"HbTableColumnSet",props:{hasClean:{type:Boolean,default:!0},index:{type:Number,default:0},selectedRowKeysLength:{type:Number,default:0},change:{type:Function,default:()=>{}},tableColumns:{type:Array,default:[]},localColumns:{type:Array,default:[]}},emits:["on-get-columns"],setup(o,{emit:m}){const r=m,{t:d}=K.useI18n(),g=o,h=e.ref([]),a=e.computed(()=>p.value.filter(f=>f.checked));e.ref([]);const i=e.ref(!1),p=e.ref([]),t=e.ref(null),b=e.computed(()=>a.value.length>0&&a.value.length===h.value.length),F=e.computed(()=>a.value.length>0&&a.value.length<h.value.length),y=f=>{t.value=f.oldIndex},V=f=>{const s=f.newIndex;if(h.value.some(n=>n.fixed==="left"||n.fixed==="right"||n.fixed===!0)){const n=h.value.filter($=>$.fixed==="left").length,w=h.value.length-h.value.filter($=>$.fixed==="right").length;if((n>0&&s<n||w<h.value.length&&s>=w)&&(L.message.warning(d("hbLibComp.hbLibListTableColumsSet.errorTip")),t.value!==null)){const $=p.value.splice(s,1)[0];p.value.splice(t.value,0,$)}}t.value=null},T=f=>{f.target.checked?p.value.forEach(c=>c.checked=!0):p.value.forEach(c=>c.checked=!1)},B=(f,s)=>{s?f.checked=!0:f.checked=!1},l=()=>{h.value=[...p.value],r("on-get-columns",h.value),i.value=!1},u=()=>{h.value=g.tableColumns.map(s=>({...s,label:s.title&&s.title.tag?S(s.title):s.title||s.title2,value:s.dataIndex,checked:s.checked||s.checked===void 0})),p.value=[...h.value];let f=[];g.tableColumns.forEach(function(s){f.push(s.dataIndex)})},S=f=>f.children[0].text,k=f=>{delete f.fixed;const s=p.value.findIndex(c=>c.value===f.value);if(s!==-1){let c=-1;for(let n=0;n<p.value.length;n++)p.value[n].fixed==="left"&&(c=n);if(c!==-1&&s!==c+1){const n=[...p.value],[w]=n.splice(s,1);n.splice(c+1,0,w),p.value=n}}},M=f=>{const s=p.value.findIndex(c=>c.value===f.value);if(s!==-1){let c=-1;for(let A=0;A<p.value.length;A++)p.value[A].fixed==="left"&&(c=A);const n=[...p.value],[w]=n.splice(s,1);w.fixed="left";const $=c===-1?0:c+1;n.splice($,0,w),p.value=n}};return e.watch(()=>g.tableColumns,()=>{u()},{immediate:!0,deep:!0}),(f,s)=>{const c=e.resolveComponent("a-tooltip"),n=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",st,[e.createVNode(e.unref(L.Popover),{title:e.unref(d)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"alertInfoContent",visible:i.value,"onUpdate:visible":s[1]||(s[1]=w=>i.value=w)},{content:e.withCtx(()=>[e.createVNode(e.unref(Q),{modelValue:p.value,"onUpdate:modelValue":s[0]||(s[0]=w=>p.value=w),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:y,onEnd:V},{item:e.withCtx(({element:w})=>[w.fixed!=="right"?(e.openBlock(),e.createElementBlock("div",ct,[e.createVNode(e.unref(L.Checkbox),{checked:w.checked,onChange:$=>B(w,$.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.label),1)]),_:2},1032,["checked","onChange"]),w.checked?(e.openBlock(),e.createElementBlock("section",dt,[e.createElementVNode("span",{class:e.normalizeClass(w.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),w.fixed?(e.openBlock(),e.createBlock(c,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:$=>k(w)},[...s[2]||(s[2]=[e.createElementVNode("svg",{t:"1759048615600",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7283",width:"200",height:"200"},[e.createElementVNode("path",{d:"M771.798516 586.270988c-6.897306 8.296759-17.293245 12.894963-27.989067 12.894963h-0.299882l-175.931277-1.199532-55.178446 422.834831-0.399844 3.19875-0.399844-3.19875-55.178446-422.834831-175.931277 1.199532h-0.299882c-10.795783 0-21.191722-4.598204-27.989067-12.894963-6.897306-8.39672-8.796564-18.292854-8.596642-27.28934 0.399844-13.094885 5.697774-25.590004 14.394377-35.386177l61.87583-69.872706c15.393987-17.393206 24.790316-39.284654 26.589613-62.475596l20.292074-250.402187c0.599766-7.796954-2.199141-15.593909-7.796955-21.091761l-38.584927-38.584927c-19.692308-16.693479-21.891449-33.58688-17.79305-47.581414 5.897696-20.092152 24.690355-33.58688 45.582194-33.58688h0.199922l163.236236 0.499805h0.799688l163.236236-0.499805h0.199922c20.891839 0 39.684498 13.494729 45.582194 33.58688 4.098399 13.994533 1.899258 30.887934-17.79305 47.581414L664.940258 119.753221c-5.597813 5.597813-8.39672 13.294807-7.796955 21.091761L677.435377 391.247169c1.899258 23.190941 11.195627 45.08239 26.589613 62.475596l61.87583 69.872706c8.696603 9.796173 13.894572 22.291292 14.394377 35.386177 0.299883 8.996486-1.599375 18.89262-8.496681 27.28934z","p-id":"7284",fill:"#ff5000"})],-1)])],8,mt)]),_:2},1024)):e.createCommentVNode("",!0),w.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(c,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:$=>M(w)},[...s[3]||(s[3]=[e.createElementVNode("svg",{t:"1759048735643",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7481",width:"200",height:"200"},[e.createElementVNode("path",{d:"M381.298 418.828h-157.703l-37.575 38.272 155.61 158.377-278.212 345.128 356.040-265.838 154.71 157.41 38.813-39.51 2.407-157.972 238.838-313.29 71.685 73.013 34.695-35.28-310.185-315.743-34.672 35.257 77.287 79.402-311.737 240.773z","p-id":"7482",fill:"#ff5000"})],-1)])],8,pt)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ft,[e.createElementVNode("div",ht,[e.createVNode(e.unref(L.Checkbox),{checked:b.value,indeterminate:F.value,onChange:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),e.createVNode(n,{onClick:l,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(c,{title:e.unref(d)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...s[4]||(s[4]=[e.createElementVNode("span",{class:"hb-lib-table-col-set"},[e.createElementVNode("svg",{t:"1759041858618",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5219",width:"200",height:"200"},[e.createElementVNode("path",{d:"M460.8 49.216a102.4 102.4 0 0 1 102.4 0l323.968 187.072c31.68 18.304 51.2 52.096 51.2 88.64V576h-76.8V324.928a25.6 25.6 0 0 0-12.8-22.144L524.8 115.712a25.6 25.6 0 0 0-25.6 0L175.232 302.784a25.6 25.6 0 0 0-12.8 22.144v374.144a25.6 25.6 0 0 0 12.8 22.144L499.2 908.288a25.6 25.6 0 0 0 25.6 0l51.2-29.568v88.64l-12.8 7.424a102.4 102.4 0 0 1-102.4 0l-323.968-187.072a102.4 102.4 0 0 1-51.2-88.64V324.928c0-36.544 19.52-70.4 51.2-88.64L460.8 49.216z","p-id":"5220",fill:"#ff5000"}),e.createElementVNode("path",{d:"M345.6 512a166.4 166.4 0 1 1 332.8 0 166.4 166.4 0 0 1-332.8 0zM512 422.4a89.6 89.6 0 1 0 0 179.2 89.6 89.6 0 0 0 0-179.2zM670.208 736a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4zM670.208 896a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4z","p-id":"5221",fill:"#ff5000"})])],-1)])]),_:1},8,["title"])]),_:1},8,["title","visible"])])}}}),[["__scopeId","data-v-9b0f04da"]])),gt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:be,HbLibListBtnsAct:Be,HbLibListForm:Ce,HbLibListMultiSelect:qe,HbLibListPageAct:Le,HbLibListPageContainer:Fe,HbLibListTable:it,HbLibMutilpleSelectModal:We,HbLibTableAct:lt,HbLibTableColumnSet:bt},Symbol.toStringTag,{value:"Module"})),Ct=R(U(e.defineComponent({name:"HbLibFormTooltipSelect",inheritAttrs:!1,__name:"HbTooltipSelect",props:e.mergeModels({options:{default:()=>[]},tooltipPlacement:{default:"right"},tooltipMaxWidth:{default:280},enableTooltip:{type:Boolean,default:!0},enableEllipsis:{type:Boolean,default:!0}},{value:{default:void 0},valueModifiers:{}}),emits:["update:value"],setup(o,{expose:m}){const r=o,d=e.useAttrs(),g=e.computed(()=>{const T=d,B=T.dropdownClassName;return{...T,dropdownClassName:B??"hb_lib_form_tooltip_select__dropdown"}}),h=e.ref(),a=e.useModel(o,"value"),i=e.computed(()=>r.options??[]),p=e.computed(()=>({maxWidth:typeof r.tooltipMaxWidth=="number"?`${r.tooltipMaxWidth}px`:r.tooltipMaxWidth})),t=T=>T.tooltip??T.label,b=T=>T.key??T.label,F=T=>!!(r.enableTooltip&&t(T));return m({focus:()=>{h.value?.focus?.()},blur:()=>{h.value?.blur?.()},selectRef:h}),(T,B)=>(e.openBlock(),e.createBlock(e.unref(L.Select),e.mergeProps({ref_key:"selectRef",ref:h,class:"hb_lib_form_tooltip_select"},g.value,{value:a.value,"onUpdate:value":B[0]||(B[0]=l=>a.value=l)}),{default:e.withCtx(()=>[T.$slots.default?e.renderSlot(T.$slots,"default",{key:0},void 0,!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(i.value,l=>(e.openBlock(),e.createBlock(e.unref(L.SelectOption),e.mergeProps({key:b(l),value:l.value,disabled:l.disabled},{ref_for:!0},l.optionProps),{default:e.withCtx(()=>[F(l)?(e.openBlock(),e.createBlock(e.unref(L.Tooltip),{key:0,title:t(l),placement:r.tooltipPlacement,overlayStyle:p.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":r.enableEllipsis}])},e.toDisplayString(l.label),3)]),_:2},1032,["title","placement","overlayStyle"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":r.enableEllipsis}])},e.toDisplayString(l.label),3))]),_:2},1040,["value","disabled"]))),128))]),_:3},16,["value"]))}}),[["__scopeId","data-v-b04f5675"]])),kt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormTooltipSelect:Ct},Symbol.toStringTag,{value:"Module"})),yt={class:"ant-upload-drag-icon"},ut={class:"ant-upload-text"},St={style:{color:"#ff5000"}},_t={class:"ant-upload-hint"},Lt={key:0,class:"hb_import_btn"},wt=["href"],xt=R(U(e.defineComponent({name:"HbLibImportFile",__name:"HbImportFile",props:{title:{default:()=>"文件导入"},modalWidth:{default:600},acceptFile:{default:".xlsx, .xls, .csv,.txt,.docx,.doc,.ppt,.pptx,.png,.jpg,.jpeg,.gif"},isRequired:{type:Boolean,default:!0},templateUrl:{},maxCount:{default:1},multiple:{type:Boolean,default:!1},btnText:{default:()=>"文件上传"},beforeUpload:{},beforeSubmit:{}},setup(o,{expose:m}){const{t:r}=K.useI18n(),d=e.ref(),g=o,h=e.ref(!1),a=e.reactive({fileList:[],visible:!1}),i=y=>{if(y==null)return;const V=a.fileList.indexOf(y);if(V!==-1){const T=a.fileList.slice();T.splice(V,1),a.fileList=T}},p=()=>{a.visible=!1,a.fileList=[],h.value=!1},t=y=>(a.fileList=[y],g.beforeUpload?g.beforeUpload(y):!1),b=()=>{d.value.validateFields().then(()=>{g.beforeSubmit&&(h.value=!0,g.beforeSubmit(a.fileList).then(y=>{}).finally(()=>{h.value=!1}))})},F=()=>{a.visible=!0};return m({handleCancel:p,openModal:F,confirmLoading:h}),(y,V)=>{const T=e.resolveComponent("a-upload-dragger"),B=e.resolveComponent("a-form-item"),l=e.resolveComponent("a-form"),u=e.resolveComponent("a-modal"),S=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(u,e.mergeProps({title:g.title,visible:a.visible,"onUpdate:visible":V[0]||(V[0]=k=>a.visible=k),"confirm-loading":h.value},y.$attrs,{onCancel:p,onOk:b,width:g.modalWidth}),{default:e.withCtx(()=>[e.createVNode(l,{ref_key:"modalFormRef",ref:d,model:a},{default:e.withCtx(()=>[e.createVNode(B,{name:"fileList",label:e.unref(r)("hbLibComp.HbImportFile.fileLabel"),rules:[{required:g.isRequired,message:e.unref(r)("hbLibComp.HbImportFile.clickUp")}]},{default:e.withCtx(()=>[e.createVNode(T,{maxCount:g.maxCount,multiple:g.multiple,accept:g.acceptFile,name:"file",fileList:a.fileList,onRemove:i,beforeUpload:t},{default:e.withCtx(()=>[e.createElementVNode("p",yt,[e.createVNode(e.unref(Y.PlusCircleOutlined),{style:{"font-size":"37px"}})]),e.createElementVNode("p",ut,[e.createTextVNode(e.toDisplayString(e.unref(r)("hbLibComp.HbImportFile.uploadText")),1),e.createElementVNode("span",St,e.toDisplayString(e.unref(r)("hbLibComp.HbImportFile.clickUp")),1)]),e.createElementVNode("p",_t,e.toDisplayString(e.unref(r)("hbLibComp.HbFileUploadModal.format"))+": "+e.toDisplayString(g.acceptFile),1)]),_:1},8,["maxCount","multiple","accept","fileList"])]),_:1},8,["label","rules"])]),_:1},8,["model"]),g.templateUrl?(e.openBlock(),e.createElementBlock("p",Lt,[e.createElementVNode("a",{download:"Import_number-template.xlsx",href:g.templateUrl},e.toDisplayString(e.unref(r)("hbLibComp.HbImportFile.downloadTemplate")),9,wt)])):e.createCommentVNode("",!0)]),_:1},16,["title","visible","confirm-loading","width"]),e.renderSlot(y.$slots,"default",{},()=>[e.createVNode(S,{onClick:F,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.btnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-47fe70d9"]])),Nt=Object.freeze(Object.defineProperty({__proto__:null,HbLibImportFile:xt},Symbol.toStringTag,{value:"Module"})),Bt={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"}},Tt=R(U(e.defineComponent({name:"HbLibCopy",__name:"copy",props:Bt,setup(o){const m=o,r=e.ref();e.watchEffect(()=>{r.value=m.data});const d=e.computed(()=>{if(m.cpText)return m.cpText;let h="";if(m.data)if(Array.isArray(m.data)){if(m.K&&m.V&&m.L){const a=m.data.find(i=>i?.[m.K]===m.V);h=a?a[m.L]:""}}else m.K&&(h=m.data[m.K]);return h}),g=()=>{navigator.clipboard.writeText(d.value).then(()=>{L.message.success(m.copySuccessTip)}).catch(()=>{L.message.error("复制失败")})};return(h,a)=>{const i=e.resolveComponent("a-tooltip");return d.value?(e.openBlock(),e.createBlock(i,{key:0,title:h.tooltipTitle},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["hb-lib-copy-text-eyevue icon strongQ strong-copy",h.classType=="ab"?"ab":"normal"]),style:e.normalizeStyle({...h.cpStyle}),onClick:e.withModifiers(g,["stop","prevent"])},null,6)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d5ca4420"]])),Ft={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:""}},Vt=R(U(e.defineComponent({name:"HbDrag",__name:"index",props:Ft,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(o,{emit:m}){const r=o,d=e.shallowRef([]);e.watch(()=>r.dragList,b=>{d.value=b},{deep:!0,immediate:!0});const g=te("drag"),h=m,a=b=>{console.log("drag start",b),h("handleDragStart",b)},i=b=>{console.log("drag end",b),h("handleDragEnd",b)},p=b=>{console.log("drag add",b),h("handleDragAdd",b)},t=b=>{console.log("drag remove",b),h("handleDragRemove",b)};return(b,F)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(g).b())},[b.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(Q),e.mergeProps({key:0,modelValue:d.value,"onUpdate:modelValue":F[0]||(F[0]=y=>d.value=y),"item-key":"key",class:{[b.dragClass]:b.dragClass}},b.$attrs,{"ghost-class":b.ghostClass,onStart:a,onEnd:i,onAdd:p,onRemove:t}),{item:e.withCtx(({element:y})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.component)))]),_:1},16,["modelValue","class","ghost-class"])):(e.openBlock(),e.createBlock(e.unref(Q),e.mergeProps({key:1,modelValue:d.value,"onUpdate:modelValue":F[1]||(F[1]=y=>d.value=y),"item-key":"id",class:{[b.dragClass]:b.dragClass}},b.$attrs,{"ghost-class":b.ghostClass,onStart:a,onEnd:i,onAdd:p,onRemove:t}),{item:e.withCtx(({element:y})=>[e.createElementVNode("div",null,[e.renderSlot(b.$slots,"default",{item:y},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]])),$t=Object.freeze(Object.defineProperty({__proto__:null,HbLibFuncCompCopy:Tt,HbLibFuncCompDrag:Vt},Symbol.toStringTag,{value:"Module"})),Et={class:"log_remark"},Mt=R(U(e.defineComponent({name:"HbLibLogModal",__name:"HbLogModal",props:{visible:{type:Boolean,default:!1},title:{default:""},width:{default:"45%"},scrollY:{default:500},params:{default:()=>({})},url:{},columns:{default:void 0},logBtnText:{default:"查看日志"},pagination:{},getLogData:{}},emits:["update:visible"],setup(o,{expose:m,emit:r}){const{t:d}=K.useI18n(),g=o,h=[{title:d("hbLibComp.HbLogModal.operator"),dataIndex:"userName",width:"15%"},{title:d("hbLibComp.HbLogModal.operateTime"),dataIndex:"operateTime",width:"25%"},{title:d("hbLibComp.HbLogModal.operateContent"),dataIndex:"remark"}],a=e.computed(()=>g.columns||h),i=e.computed(()=>g.title||d("hbLibComp.HbLogModal.operateLogs")),p=e.ref(!1),t=e.reactive({list:[],pagination:{current:1,pageSize:20,pageSizeOptions:["10","20","50","100"],showQuickJumper:!0,showSizeChanger:!0,showTotal:(l,u)=>u[0]+"-"+u[1]+" 总共"+l+"页",total:0}});e.watch(()=>g.pagination,l=>{l&&(t.pagination={...t.pagination,...l})},{deep:!0,immediate:!0});const b=(l=1)=>{const u={pageIndex:l,pageSize:t.pagination.pageSize,query:g.params};g.getLogData&&(p.value=!0,g.getLogData(u).then(S=>{Number(S.code)==200&&(t.pagination.current=l,t.pagination.total=Number(S.data.total),t.list=S.data.records||[])}).finally(()=>{p.value=!1}))},F=l=>{t.pagination.current=l.current,t.pagination.pageSize=l.pageSize,b()},y=()=>{t.list=[],B("update:visible",!1)},V=()=>{B("update:visible",!0)},T=(l,u="YYYY-MM-DD HH:mm:ss")=>l?Z(l).format(u):"",B=r;return e.watch(()=>g.visible,l=>{l&&b()}),m({close:y,loading:p}),(l,u)=>{const S=e.resolveComponent("a-tooltip"),k=e.resolveComponent("HbLibCopy"),M=e.resolveComponent("a-table"),f=e.resolveComponent("a-button"),s=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(s,{visible:o.visible,title:i.value,width:o.width,onCancel:y},{footer:e.withCtx(()=>[e.createVNode(f,{onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.HbLogModal.close")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(M,{bordered:"",rowKey:"id",columns:a.value,dataSource:t.list,pagination:t.pagination,loading:p.value,onChange:F},{bodyCell:e.withCtx(({column:c,record:n})=>[c&&c.needTooltip?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c.needTooltip?(e.openBlock(),e.createBlock(S,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n[c.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(n[c.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),c&&c.needCopy?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Et,e.toDisplayString(n[c.dataIndex]),1),e.createVNode(k,{"cp-text":n[c.dataIndex],style:{position:"relative"}},null,8,["cp-text"])],64)):e.createCommentVNode("",!0),c&&c.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(T(n[c.dataIndex],c.operateTime)),1)],64)):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","pagination","loading"])]),_:1},8,["visible","title","width"]),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(f,{onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.logBtnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-cee51270"]]));let ie={...gt,...kt,...Nt,...Object.freeze(Object.defineProperty({__proto__:null,HbLibLogModal:Mt},Symbol.toStringTag,{value:"Module"})),...$t};const It={hbLibComp:{HbFileUploadModal:{cancel:"Cancel",clickUpload:"Click to upload",confirmImport:"Confirm import",dataImport:"Import data",downloadTemplate:"Import template download",dragFile:"Drag files here or",file:"document",fileUpload:"File import",maxSupport:"Most supported",onlySupport:"Only supports",placeSelect:"Please select",selectFile:"Please select the file to upload",format:"Supported formats"},HbLogModal:{close:"closure",operateContent:"Operation content",operateLogs:"Operation log",operateTime:"Operating time",operator:"operator"},hbFormItemFilterModal:{add:"Add to",cancel:"Cancel",confirm:"Sure",moreConditionSearch:"Multiple searches",mostMore:"Optional at most",mostMoreTip:"conditions, drag and drop to adjust the sorting",noData:"No data yet",notShowTip:"No conditions shown",titleTip:"Conditions shown"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query plan",addScheme:"Add scenario",editScheme:"Edit plan"},hbLibListTableColumsSet:{allSelect:"Select all",cancelFix:"Unpin",confirm:"Sure",errorTip:"Cannot move column to fixed column position",fix:"fixed",popoverTitle:"Custom columns",title:"Table field settings"},hbListBtnsAct:{close:"Close query conditions",open:"Expand query conditions",reload:"Refresh data"},hbListPageAct:{close:"close",exitFullScreen:"Exit full screen",fullScreen:"full screen",open:"Expand",query:"Query",reset:"reset",selfDefine:"Filter query conditions"},hbListTable:{noData:"No data yet"},hbMultiSelectModal:{pleaseSelect:"Please select"},hbTableAct:{confirmContent:"Confirm content",more:"More",secendConfirm:"Second confirmation"},HbImportFile:{clickUp:"Click to upload",downloadTemplate:"Click to download template",pleaseUploadFiles:"Please upload files",uploadText:"Drag files here or",fileLabel:"document",importBtn:"File upload"}}},Ht={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください",format:"サポートされている形式"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン",addScheme:"シナリオの追加",editScheme:"計画の編集"},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回目の確認"},HbImportFile:{clickUp:"クリックしてアップロード",downloadTemplate:"クリックしてテンプレートをダウンロード",pleaseUploadFiles:"ファイルをアップロードしてください",uploadText:"ファイルをここにドラッグするか、",fileLabel:"書類",importBtn:"ファイルのアップロード"}}},Dt={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:"查询方案",addScheme:"添加方案",editScheme:"编辑方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载",format:"支持格式"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"},HbImportFile:{uploadText:"将文件拖到此处或",clickUp:"请上传文件",downloadTemplate:"点击下载模板",pleaseUploadFiles:"请上传文件",fileLabel:"文件",importBtn:"文件上传"}}},At={hbLibComp:{HbFileUploadModal:{cancel:"Stornieren",clickUpload:"Klicken Sie zum Hochladen",confirmImport:"Bestätigen Sie den Import",dataImport:"Daten importieren",downloadTemplate:"Importvorlage herunterladen",dragFile:"Ziehen Sie Dateien hierher oder",file:"dokumentieren",fileUpload:"Dateiimport",maxSupport:"Am meisten unterstützt",onlySupport:"Unterstützt nur",placeSelect:"Bitte auswählen",selectFile:"Bitte wählen Sie die hochzuladende Datei aus",format:"Unterstützte Formate"},HbLogModal:{close:"Schließung",operateContent:"Inhalt der Operation",operateLogs:"Betriebsprotokoll",operateTime:"Betriebszeit",operator:"Operator"},hbFormItemFilterModal:{add:"Hinzufügen zu",cancel:"Stornieren",confirm:"Sicher",moreConditionSearch:"Mehrere Suchanfragen",mostMore:"Höchstens optional",mostMoreTip:"Bedingungen anpassen, per Drag-and-Drop die Sortierung anpassen",noData:"Noch keine Daten",notShowTip:"Keine Bedingungen angezeigt",titleTip:"Bedingungen angezeigt"},hbFormSelectFilter:{allSelect:"Alles auswählen",close:"Schließung"},hbLibListForm:{queryCase:"Abfrageplan",addScheme:"Szenario hinzufügen",editScheme:"Plan bearbeiten"},hbLibListTableColumsSet:{allSelect:"Alles auswählen",cancelFix:"Lösen",confirm:"Sicher",errorTip:"Die Spalte kann nicht in eine feste Spaltenposition verschoben werden",fix:"behoben",popoverTitle:"Benutzerdefinierte Spalten",title:"Tabellenfeldeinstellungen"},hbListBtnsAct:{close:"Abfragebedingungen schließen",open:"Abfragebedingungen erweitern",reload:"Daten aktualisieren"},hbListPageAct:{close:"schließen",exitFullScreen:"Verlassen Sie den Vollbildmodus",fullScreen:"Vollbild",open:"Expandieren",query:"Abfrage",reset:"zurücksetzen",selfDefine:"Abfragebedingungen filtern"},hbListTable:{noData:"Noch keine Daten"},hbMultiSelectModal:{pleaseSelect:"Bitte auswählen"},hbTableAct:{confirmContent:"Inhalt bestätigen",more:"Mehr",secendConfirm:"Zweite Bestätigung"},HbImportFile:{clickUp:"Klicken Sie zum Hochladen",downloadTemplate:"Klicken Sie hier, um die Vorlage herunterzuladen",pleaseUploadFiles:"Bitte laden Sie Dateien hoch",uploadText:"Ziehen Sie Dateien hierher oder",fileLabel:"dokumentieren",importBtn:"Datei-Upload"}}};var X={exports:{}},zt=X.exports,se;function Pt(){return se||(se=1,(function(o,m){(function(r,d){o.exports=d(Z)})(zt,(function(r){function d(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var g=d(r),h={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(a,i){return i==="W"?a+"周":a+"日"},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(a,i){var p=100*a+i;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};return g.default.locale(h,null,!0),h}))})(X)),X.exports}Pt(),Z.locale("zh-cn");const Ot={en_US:It,ja_JP:Ht,zh_CN:Dt,de_DE:At},Rt=function(o){Object.keys(ie).forEach(r=>{o.use(ie[r])})};z.install=Rt,z.locales=Ot,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-vue"),require("vue-router"),require("vue-i18n"),require("lodash"),require("@ant-design/icons-vue"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","ant-design-vue","vue-router","vue-i18n","lodash","@ant-design/icons-vue","@vueuse/core","dayjs"],e):(z=typeof globalThis<"u"?globalThis:z||self,e(z.HbComponentLib={},z.Vue,z.draggable,z.antDesignVue,z.vueRouter,z.vueI18n,z.lodash,z.iconsVue,z.core,z.dayjs))})(this,(function(z,e,Q,L,ne,K,ee,Y,re,Z){"use strict";const te=(o="")=>{const m=`hb-${o}`;return de(m)},J=(o,m,r,d)=>(m&&(o+=`-${m}`),r&&(o+=`__${r}`),d&&(o+=`--${d}`),o),de=o=>({b:m=>m?J(o,m,"",""):J(o,"","",""),e:m=>m?J(o,"",m,""):"",m:m=>J(o,"","",m),be:(m,r)=>J(o,m,r,""),em:(m,r)=>J(o,"",m,r),bem:(m,r,d)=>J(o,m,r,d),is:(m,r)=>r?`is-${m}`:""}),me=["onMouseenter","onMouseleave"],pe=["onClick"],fe=e.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:{list:{default:()=>[]},afterChange:{type:Function,default:()=>()=>{}},title:{default:"自定义查询条件"},showNumber:{default:40},saveKey:{default:""}},emits:["confirm"],setup(o,{expose:m,emit:r}){const d=K.useI18n().t,g=K.useI18n().messages.value.en_US,h=K.useI18n().messages.value.ja_JP,a=K.useI18n().messages.value.zh_CN,i=o,p=r,t=te("sfcm"),b=ne.useRoute(),F=e.reactive({lan:window.localStorage.getItem("lan")}),y=e.ref(!1),V=e.ref(600);let T=[];const B=e.ref([]),l=e.ref([]),u=e.computed(()=>B.value.every(_=>_.isLinked||_.isFixed)),S=_=>({..._,label:s(_)||`${_.subLabel||""}${d("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:_.key,isFixed:_?.isFixed||!1,isLinked:_?.isLinked||!1,labelLanguage:_?.labelLanguage||void 0}),k=_=>{const C=_.draggedContext.element,N=_.relatedContext.index;if(C.isLinked||C.isFixed)return!1;const D=B.value.map((P,W)=>({item:P,index:W})).filter(({item:P})=>P.isLinked).map(({index:P})=>P);if(D.length===0)return!0;for(let P=0;P<D.length-1;P++){const W=D[P],G=D[P+1];if(N>W&&N<G)return!1}return!0},M=e.computed(()=>f()+"_"+i.saveKey),f=()=>{const _=localStorage.getItem("pro__Login_Userinfo");let C="anonymous";if(_)try{C=JSON.parse(_).value.jobNumber||"anonymous"}catch(D){console.warn("解析用户信息失败:",D)}let N=b?.path;return`searchFormConfig_${C}_${N}`},s=_=>({ja_JP:()=>ee.get(h,_.labelLanguage||""),en_US:()=>ee.get(g,_.labelLanguage||""),zh_CN:()=>ee.get(a,_.labelLanguage||"")})[F.lan]?.()||_.label,c=_=>{try{const C=localStorage.getItem(M.value);if(C){const N=JSON.parse(C);if(N.originalList&&Array.isArray(N.originalList)){T=JSON.parse(JSON.stringify(N.originalList));const D=T.filter(I=>I?.isFixed),P=T.filter(I=>I?.isLinked),W=N.showList.filter(I=>!I.isFixed&&!I.isLinked),G=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-D.length-P.length):W.length,v=D.map(I=>({...S(I)})),oe=P.map(I=>({...S(I)})),le=W.slice(0,G).map(I=>({...S(I)}));console.log("我进来了这里2233"),B.value=[...v,...oe,...le];const ae=B.value.map(I=>I.key),O=T.map(I=>I.key).filter(I=>!ae.includes(I));return l.value=T.filter(I=>O.includes(I.key)).map(I=>({...S(I),active:!1})),!0}}}catch(C){console.warn("加载保存的搜索配置失败:",C)}return!1},n=()=>{try{const _={originalList:T,showList:B.value.map(C=>({...C,key:C.key,label:C.label,isFixed:C.isFixed,isLinked:C.isLinked,labelLanguage:C?.labelLanguage||void 0}))};localStorage.setItem(M.value,JSON.stringify(_))}catch(_){console.warn("保存搜索配置失败:",_)}},w=e.computed(()=>{const _=B.value.filter(N=>!N.isFixed&&!N.isLinked).length,C=B.value.filter(N=>N.isFixed||N.isLinked).length;return _>=i.showNumber-C});e.watch(()=>i.list,_=>{let C=JSON.stringify(B.value)!==JSON.stringify(_);if(!C)return;const N=localStorage.getItem(M.value),D=JSON.parse(N||"{}");if(D&&D?.originalList&&Array.isArray(D.originalList))c(),p("confirm",B.value);else if(C){T=JSON.parse(JSON.stringify(_));const P=_.filter(O=>O?.isFixed),W=_.filter(O=>O?.isLinked),G=_.filter(O=>!O?.isFixed&&!O?.isLinked),v=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-P.length-W.length):G.length,oe=P.map(O=>S(O)),le=W.map(O=>S(O)),ae=G.slice(0,v).map(O=>S(O));B.value=[...oe,...le,...ae];const ce=G.slice(v).map(O=>({...S(O),active:!1}));l.value=ce}},{immediate:!0});const $=_=>{const C=B.value.findIndex(N=>N.key===_.key);C!==-1&&(B.value.splice(C,1),l.value.push({..._,active:!1}))},A=_=>{if(w.value)return;const C=l.value.findIndex(N=>N.key===_.key);if(C!==-1){const[N]=l.value.splice(C,1);B.value.push({...N,active:!1})}},j=()=>{y.value=!1},H=()=>{y.value=!0},E=()=>{n(),p("confirm",B.value),j()},q=_=>{const C=l.value.findIndex(N=>N.key===_.key);C!==-1&&(l.value[C].active=!0)},x=_=>{const C=l.value.findIndex(N=>N.key===_.key);C!==-1&&(l.value[C].active=!1)};return m({toOpenModal:H}),e.onMounted(()=>{console.log("我是保存的搜索条件")}),(_,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t).b())},[e.createVNode(e.unref(L.Modal),{visible:y.value,"onUpdate:visible":C[1]||(C[1]=N=>y.value=N),width:V.value,onCancel:j,onOk:E},{title:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("title"))},e.toDisplayString(o.title),3)]),footer:e.withCtx(()=>[e.createVNode(e.unref(L.Button),{onClick:j},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(L.Button),{type:"primary",onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("section",{class:e.normalizeClass(e.unref(t).e("show"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(t).e("title__tip"))},e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(o.showNumber)+e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("show__tag"))},[e.createVNode(e.unref(Q),{modelValue:B.value,"onUpdate:modelValue":C[0]||(C[0]=N=>B.value=N),"item-key":"key",tag:"div",disabled:u.value,move:k},{item:e.withCtx(({element:N})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(t).e("show__tag__item"),e.unref(t).is("fixed",N.isFixed),e.unref(t).is("linked",N.isLinked)])},[e.createTextVNode(e.toDisplayString(N.label)+" ",1),!N.isFixed&&!N.isLinked&&o.list.length>1?(e.openBlock(),e.createBlock(e.unref(Y.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(t).e("show__tag__item-close")),onClick:D=>$(N)},null,8,["class","onClick"])):e.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),e.createElementVNode("section",{class:e.normalizeClass(e.unref(t).e("unshow"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(t).e("title__tip"))},e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("unshow__tag"))},[l.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.value,N=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(t).e("unshow__tag__item"),e.unref(t).is("fixed",N.isFixed||""),e.unref(t).is("linked",N.isLinked||"")]),key:N.key,onMouseenter:D=>q(N),onMouseleave:D=>x(N)},[e.createTextVNode(e.toDisplayString(N.label)+" ",1),N.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(t).e("unshow__tag__item-add")),onClick:D=>A(N)},e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.add")),11,pe)):e.createCommentVNode("",!0)],42,me))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(t).e("unshow__tag__empty"))},e.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),U=(o,m)=>{const r=o.__vccOpts||o;for(const[d,g]of m)r[d]=g;return r},he=U(fe,[["__scopeId","data-v-a8bc8c3a"]]),R=o=>(o.install=m=>{m.component(o.name||"AnonymousComponent",o)},o),be=R(he),ge={class:"form-footer"},Ce=R(U(e.defineComponent({name:"HbLibListForm",__name:"HbListForm",props:{items:{default:()=>[]},formData:{},layoutConfig:{default:()=>({row:{gutter:20},col:{xs:24,sm:12,md:8,lg:6,xl:6}})},saveKey:{},needFooter:{type:Boolean,default:!1},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},needSearchCase:{type:Boolean,default:!1},searchList:{},calTableHeight:{type:Function,default:()=>()=>{}}},emits:["handleSearch","handleReset","handleSfcmConfirm","handleMenuClick"],setup(o,{expose:m,emit:r}){const d=r,g=e.inject("HB_LIST_PAGE_CONTAINER"),h=e.computed(()=>i.searchList||[]),a=te("form"),i=o,p=e.ref("show"),t=e.computed(()=>[...i.items]),b=e.computed(()=>[...i.items].map(n=>({...n,label:n.label?.includes("多项搜索")?"":n.label}))),F=e.computed(()=>i.saveKey),y=e.ref(),V=()=>{d("handleSearch")},T=()=>{d("handleReset")},B=e.ref(),l=()=>{B.value&&B.value.toOpenModal()},u=n=>{d("handleMenuClick",n)},S=n=>{d("handleSfcmConfirm",n)},k=()=>{p.value=p.value==="show"?"hide":"show"};e.watch(()=>i.isFormExpanded,n=>{if(n){console.log(n);const w=document.querySelector("#subpackage_container");w instanceof HTMLElement&&(w.style.overflow="hidden",setTimeout(()=>{w.style.overflow="auto"},500))}});const M=n=>{const w=n;w.style.height="",w.offsetHeight},f=n=>{const w=n;w.style.height="",w.style.overflow="",e.nextTick(()=>{g.calTableHeight&&g.calTableHeight()})},s=n=>{const w=n,$=w.querySelector(".hb-lib-form--container");if($){const A=$.offsetHeight;w.style.height=A+"px",w.style.overflow="hidden",w.offsetHeight,requestAnimationFrame(()=>{w.style.height="0"})}},c=()=>{e.nextTick(()=>{g.calTableHeight&&g.calTableHeight()})};return m({formRef:y,SelectOption:L.SelectOption,Form:L.Form,FormItem:L.FormItem,Row:L.Row,Col:L.Col,Input:L.Input,Select:L.Select,CheckboxGroup:L.CheckboxGroup,Checkbox:L.Checkbox,DatePicker:L.DatePicker,InputNumber:L.InputNumber,RadioGroup:L.RadioGroup,Radio:L.Radio,Switch:L.Switch,Button:L.Button,Tooltip:L.Tooltip}),(n,w)=>{const $=e.resolveComponent("a-button"),A=e.resolveComponent("a-tooltip"),j=e.resolveComponent("a-menu-item"),H=e.resolveComponent("a-menu"),E=e.resolveComponent("a-dropdown"),q=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:M,onAfterEnter:f,onLeave:s,onAfterLeave:c},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(a).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[e.createVNode(e.unref(L.Form),e.mergeProps(n.$attrs,{model:o.formData,ref_key:"formRef",ref:y,class:["hb-lib-form--container",p.value=="show"?"":"hide"]}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(x,_)=>(e.openBlock(),e.createBlock(e.unref(L.FormItem),e.mergeProps({key:_,ref_for:!0},x,{name:x.key,class:x.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),e.createSlots({default:e.withCtx(()=>[x.type==="slot"?e.renderSlot(n.$slots,x.key,{key:0,formData:o.formData,item:x},void 0,!0):e.createCommentVNode("",!0),x.type==="mixin"?e.renderSlot(n.$slots,x.key,{key:1,formData:o.formData,item:x},void 0,!0):e.createCommentVNode("",!0),x.type==="input"?(e.openBlock(),e.createBlock(e.unref(L.Input),e.mergeProps({key:2,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="select"?(e.openBlock(),e.createBlock(e.unref(L.Select),e.mergeProps({key:3,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.options,(C,N)=>(e.openBlock(),e.createBlock(e.unref(L.SelectOption),{key:N,value:C.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(L.CheckboxGroup),e.mergeProps({key:4,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.options,(C,N)=>(e.openBlock(),e.createBlock(e.unref(L.Checkbox),{key:N,value:C.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(L.DatePicker),e.mergeProps({key:5,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(L.InputNumber),e.mergeProps({key:6,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="radio"?(e.openBlock(),e.createBlock(e.unref(L.RadioGroup),e.mergeProps({key:7,value:o.formData[x.key],"onUpdate:value":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.options,(C,N)=>(e.openBlock(),e.createBlock(e.unref(L.Radio),{key:N,value:C.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),x.type==="switch"?(e.openBlock(),e.createBlock(e.unref(L.Switch),e.mergeProps({key:8,checked:o.formData[x.key],"onUpdate:checked":C=>o.formData[x.key]=C},{ref_for:!0},x.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[x.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label)+" ",1),e.createVNode(e.unref(L.Tooltip),{title:x.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(Y.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),e.createElementVNode("section",ge,[e.createVNode($,{type:"primary",onClick:V,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(Y.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(n.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode($,{type:"link",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),o.needFilter?(e.openBlock(),e.createBlock(A,{key:0,title:n.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:l},[...w[0]||(w[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(n.$slots,"formBtns",{},()=>[o.needSearchCase?(e.openBlock(),e.createBlock(E,{key:0},{overlay:e.withCtx(()=>[e.createVNode(H,{onClick:u},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,x=>(e.openBlock(),e.createBlock(j,{key:x.id},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.title),1)]),_:2},1024))),128)),e.createVNode(j,{key:"add"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbLibListForm.addScheme")),1)]),_:1}),e.createVNode(j,{key:"edit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbLibListForm.editScheme")),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(A,{title:n.$t("hbLibComp.hbLibListForm.queryCase")},{default:e.withCtx(()=>[...w[1]||(w[1]=[e.createElementVNode("span",{style:{width:"18px",height:"18px",cursor:"pointer"}},[e.createElementVNode("svg",{t:"1765936014161",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4751"},[e.createElementVNode("path",{d:"M729.6 1020.16H353.28a32 32 0 0 1-32-32v-295.68H52.48a32 32 0 0 1-32-32V155.52a32 32 0 0 1 32-32h215.68a32 32 0 0 1 0 64H84.48v440.96h268.8a32 32 0 0 1 32 32v295.68h312.32V609.28a32 32 0 1 1 64 0v378.88a32 32 0 0 1-32 32z",fill:"#ff5000","p-id":"4752"}),e.createElementVNode("path",{d:"M353.28 1020.16a32 32 0 0 1-23.68-10.24L42.24 695.04a32 32 0 1 1 47.36-43.52l288 314.88a32 32 0 0 1-23.68 53.76zM353.28 494.72H171.52a32 32 0 0 1 0-64h181.76a32 32 0 0 1 0 64zM625.92 522.24a259.2 259.2 0 0 1-183.04-442.88A259.2 259.2 0 1 1 809.6 448a256 256 0 0 1-183.68 74.24z m0-455.04a195.2 195.2 0 0 0-138.24 334.08 200.32 200.32 0 0 0 276.48 0 195.2 195.2 0 0 0-138.24-334.08z",fill:"#ff5000","p-id":"4753"}),e.createElementVNode("path",{d:"M880.64 549.76a32 32 0 0 1-22.4-9.6L771.84 454.4a32 32 0 0 1 45.44-45.44l85.76 85.76a32 32 0 0 1-22.4 54.4z",fill:"#ff5000","p-id":"4754"})])],-1)])]),_:1},8,["title"])]),_:1})):e.createCommentVNode("",!0)],!0)])]),_:3},16,["model","class"]),o.needFooter?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("footer__left"))},[e.renderSlot(n.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("footer__right"))},[p.value=="show"?e.renderSlot(n.$slots,"form-footer-right",{key:0,formRef:y.value},()=>[e.createVNode(e.unref(L.Button),{type:"primary",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(e.unref(L.Button),{type:"primary",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):e.createCommentVNode("",!0),e.createVNode(e.unref(L.Button),{type:"primary",onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value=="show"?`${n.$t("hbLibComp.hbListPageAct.close")}`:`${n.$t("hbLibComp.hbListPageAct.open")}`),1)]),_:1})],2)],2)):e.createCommentVNode("",!0)],2),[[e.vShow,o.isFormExpanded]])]),_:3}),e.createVNode(q,{list:t.value,ref_key:"HbSfCmRef",ref:B,onConfirm:S,saveKey:F.value},null,8,["list","saveKey"])],64)}}}),[["__scopeId","data-v-04ccb514"]])),ke={class:"hb-lib-list-page-act-box"},ye={class:"hb-lib-list-page-breadcrumb"},ue={class:"hb-lib-list-page-act"},Se={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"},_e={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"},Le=R(U(e.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:{isShowFullScreen:{type:Boolean,default:!0}},setup(o){const m=e.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:r,toggle:d}=re.useFullscreen(m.PageContainerRef),g=e.ref(""),h=()=>{const a=ne.useRoute();let i=localStorage.getItem("BreadCrumb")||"[]",p=a?.path;if(i!=="[]"){let t=JSON.parse(i).find(b=>b.value===p);t&&(g.value=t.label.replace(/-/g," / "))}};return e.onMounted(()=>{h()}),(a,i)=>{const p=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ke,[e.createElementVNode("aside",ye,e.toDisplayString(g.value),1),e.createElementVNode("aside",ue,[e.createVNode(p,{title:e.unref(r)?`${a.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${a.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:i[0]||(i[0]=(...t)=>e.unref(d)&&e.unref(d)(...t))},[e.unref(r)?(e.openBlock(),e.createElementBlock("svg",_e,[...i[2]||(i[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",Se,[...i[1]||(i[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(a.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-a7ddfc50"]])),we={class:"hb-lib-list-btns-box"},xe={class:"hb-lib-list-btns-left"},Ne={class:"hb-lib-list-btns-right"},Be=R(U(e.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:{needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},emits:["handleOpenOrClose","handleReload"],setup(o,{emit:m}){const r=m,d=e.ref(!0),g=()=>{d.value=!d.value,r("handleOpenOrClose",d.value)},h=()=>{r("handleReload")};return e.onMounted(()=>{}),(a,i)=>{const p=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",we,[e.createElementVNode("aside",xe,[e.renderSlot(a.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Ne,[o.needReload?(e.openBlock(),e.createBlock(p,{key:0,title:a.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:h},[...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),o.needOpenOrClose?(e.openBlock(),e.createBlock(p,{key:1,title:d.value?`${a.$t("hbLibComp.hbListBtnsAct.close")}`:`${a.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:g},[d.value?(e.openBlock(),e.createBlock(e.unref(Y.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(Y.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-da13672b"]])),Te=(o={})=>{const{formRef:m,offsetBottom:r=50,minHeight:d=300}=o,g=e.ref(0);let h=null,a=null,i=null,p=null,t=null;const b=()=>{t&&clearTimeout(t),t=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const u=document.querySelector(".ant-table"),S=document.querySelector(".ant-pagination");if(u){const k=u.getBoundingClientRect().top,M=window.innerHeight,s=(S?S.offsetHeight+20:40)+r;let c=M-k-s;c<d&&(c=d),g.value=c}})})},100)},F=()=>{const u=document.querySelector(".ant-pagination");if(u){const S=new MutationObserver(()=>{b()});return S.observe(u,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),S}return null},y=()=>{const u=document.querySelector(".hb-lib-list-page-form-box");u&&(h=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(k=>{k.style.display="none"}),b()}),h.observe(u))},V=()=>{const u=document.querySelector(".hb-lib-list-page-form-box");u&&(i=new MutationObserver(()=>{setTimeout(()=>{b()},100)}),i.observe(u,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},T=()=>{p&&clearTimeout(p),p=setTimeout(()=>{b()},100)},B=()=>{window.addEventListener("resize",T),e.nextTick(()=>{y(),V(),a=F()})},l=()=>{window.removeEventListener("resize",T),h&&h.disconnect(),i&&i.disconnect(),a&&a.disconnect(),p&&clearTimeout(p),t&&clearTimeout(t)};return m&&e.watch(()=>m,()=>{setTimeout(()=>{b()},200)},{deep:!0}),e.onMounted(()=>{b(),B()}),e.onUnmounted(()=>{l()}),{tableHeight:g,calTableHeight:b}},Fe=R(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{default:400},tabelData:{default:()=>[]},offsetBottom:{default:20},minHeight:{}},setup(o){const m=o,r=e.useTemplateRef("PageContainerRef"),{calTableHeight:d,tableHeight:g}=Te({offsetBottom:m.offsetBottom||20,minHeight:m.minHeight||300}),h=e.computed(()=>g.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:r,tableHeight:g,calTableHeight:d}),(a,i)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:r},[e.renderSlot(a.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle({"--hb-list-table-height":h.value-m.offsetBottom+"px","--hb-list-ttable-height":o.tabelData.length?"":h.value-m.offsetBottom+"px"})},[e.renderSlot(a.$slots,"default")],4)],512))}})),Ve={style:{"font-weight":"500"}},$e={key:0,class:"hb-lib-search-tag__description"},Ee={class:"hb-lib-selector-dropdown"},Me={class:"hb-lib-selector-search"},Ie={class:"hb-lib-selector-list"},He=["onClick"],De={class:"hb-lib-option-content"},Ae={class:"hb-lib-option-label"},ze={key:0,class:"hb-lib-selector-empty"},Pe={key:1,class:"hb-lib-selector-footer"},Oe={class:"hb-lib-footer-buttons"},Re={key:2,class:"hb-lib-selector-footer"},Ue={class:"hb-lib-footer-buttons"},qe=R(U(e.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:e.mergeModels({placeholder:{default:"点击选择"},searchPlaceholder:{default:"搜索选项"},width:{default:600},options:{default:()=>[]},multiple:{type:Boolean,default:!0},prefix:{default:""},value:{},remoteSearch:{type:Boolean,default:!1},searchValue:{default:""},maxTagCount:{default:2},tagTextLength:{default:30}},{value:{},valueModifiers:{}}),emits:e.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(o,{emit:m}){const r=o,d=m,g=e.useModel(o,"value"),h=e.ref(!1),a=e.ref(""),i=e.ref([]),p=e.ref(),t=e.computed(()=>{if(r.remoteSearch||!a.value)return r.options;const f=a.value.toLowerCase();return r.options.filter(s=>s.label.toLowerCase().includes(f)||s.description?.toLowerCase().includes(f))}),b=e.computed(()=>r.prefix?`${r.prefix.length*14+8}px`:"0px"),F=e.computed(()=>t.value.length===0?!1:t.value.every(f=>i.value.includes(f.value))),y=e.computed(()=>{if(t.value.length===0)return!1;const f=t.value.filter(s=>i.value.includes(s.value)).length;return f>0&&f<t.value.length});e.watch(()=>g.value,f=>{f?i.value=Array.isArray(f)?[...f]:[f]:i.value=[]},{immediate:!0}),e.watch(()=>r.searchValue,f=>{r.remoteSearch&&f!==void 0&&(a.value=f)},{immediate:!0});const V=f=>{f&&(h.value=f,T.value=[...i.value],a.value="",setTimeout(()=>{if(p.value){const s=p.value.input||p.value.$el?.querySelector("input");s&&s.focus()}},100))},T=e.ref([]),B=()=>{i.value=[...T.value],h.value=!1,d("cancel")},l=e.ref([]),u=()=>{const f=r.multiple?i.value:i.value[0]||"",s=r.options.filter(c=>i.value.includes(c.value));l.value=s,console.log(f,s),T.value=[...i.value],g.value=f,d("update:value",f),d("change",f,s),d("confirm",f,s),h.value=!1},S=re.useDebounceFn(f=>{const s=f!==void 0?f:a.value;r.remoteSearch&&(d("search",s),d("update:searchValue",s))},300),k=f=>{if(r.multiple){const s=new Set(i.value);s.has(f.value)?s.delete(f.value):s.add(f.value),i.value=Array.from(s)}else i.value=[f.value],u()},M=f=>{if(f.target.checked){const c=new Set(i.value);t.value.forEach(n=>{c.add(n.value)}),i.value=Array.from(c)}else{const c=new Set(t.value.map(n=>n.value));i.value=i.value.filter(n=>!c.has(n))}};return(f,s)=>{const c=e.resolveComponent("a-tag"),n=e.resolveComponent("a-input"),w=e.resolveComponent("a-checkbox"),$=e.resolveComponent("a-radio"),A=e.resolveComponent("a-button"),j=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":b.value}},f.$attrs),[e.createVNode(j,{value:g.value,"onUpdate:value":s[5]||(s[5]=H=>g.value=H),mode:o.multiple?"multiple":void 0,placeholder:o.placeholder,"show-search":!0,"filter-option":!1,open:h.value,allowClear:"",maxTagCount:o.maxTagCount,options:t.value,onDropdownVisibleChange:V,onSearch:e.unref(S),"max-tag-text-length":o.tagTextLength,class:e.normalizeClass({"has-prefix":o.prefix}),"data-prefix":o.prefix,style:{width:"100%"}},{tagRender:e.withCtx(({value:H,label:E,closable:q,option:x})=>[e.createVNode(c,{class:"hb-lib-search-tag",onClick:s[0]||(s[0]=()=>V(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Ve,e.toDisplayString(E),1),x?.description?(e.openBlock(),e.createElementBlock("span",$e," ("+e.toDisplayString(x.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:H})=>[e.createElementVNode("div",Ee,[e.createElementVNode("div",Me,[e.createVNode(n,{ref_key:"searchInputRef",ref:p,class:"hb-lib-selector-search-input",value:a.value,"onUpdate:value":s[1]||(s[1]=E=>a.value=E),placeholder:"请输入关键词搜索","allow-clear":"",onInput:s[2]||(s[2]=E=>e.unref(S)(E.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(Y.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",Ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,E=>(e.openBlock(),e.createElementBlock("div",{key:E.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:i.value.includes(E.value)}]),onClick:()=>k(E)},[o.multiple?(e.openBlock(),e.createBlock(w,{key:0,checked:i.value.includes(E.value),onChange:()=>k(E),onClick:s[3]||(s[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock($,{key:1,checked:i.value.includes(E.value),onChange:()=>k(E),onClick:s[4]||(s[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",De,[e.createElementVNode("div",Ae,e.toDisplayString(E.label),1)])],10,He))),128))]),t.value.length===0?(e.openBlock(),e.createElementBlock("div",ze,e.toDisplayString(f.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),o.multiple?(e.openBlock(),e.createElementBlock("div",Pe,[e.createVNode(w,{checked:F.value,indeterminate:y.value,onChange:M},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",Oe,[e.createVNode(A,{size:"small",onClick:B},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(A,{type:"primary",size:"small",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",Re,[s[6]||(s[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",Ue,[e.createVNode(A,{size:"small",onClick:B},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.$t("hbLibComp.hbFormSelectFilter.close")),1)]),_:1})])]))])]),_:1},8,["value","mode","placeholder","open","maxTagCount","options","onSearch","max-tag-text-length","class","data-prefix"])],16)}}}),[["__scopeId","data-v-87177371"]])),Ye={class:"hb-lib-form-item-filter-modal-search"},je={class:"hb-lib-form-item-filter-modal-buttons"},Ke={key:0},We=R(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(o,{expose:m,emit:r}){const d=o,g=r,h=e.ref(!1),a=e.ref(""),i=e.ref(),p=e.ref(),t=e.ref([]),b=e.ref([]),F=e.ref(),y=e.reactive({searchText:"",searchedColumn:""}),V=e.computed(()=>d.tableData.map(c=>(c.id=c.id||Math.random(),c))),T=e.computed(()=>d.tableColumn.map(c=>(c.customFilterDropdown&&(c.onFilter=(n,w)=>w[c.dataIndex].toString().toLowerCase().includes(n.toLowerCase()),c.onFilterDropdownVisibleChange=n=>{n&&setTimeout(()=>{i.value?.focus()},100)}),{...c}))),B=()=>{let c="";b.value.forEach(n=>{c=c+n[d.labelKey]+","}),a.value=c.substring(0,c.length-1),h.value=!1,g("handleConfirm",b.value)},l=()=>{h.value=!1},u=()=>{h.value=!0,e.nextTick(()=>{const c=F.value?.$el?.querySelector(".ant-table-body");c&&(c.scrollTop=0)})},S=()=>{t.value=[],b.value=[]},k=()=>{a.value="",S()},M=(c,n,w)=>{n(),y.searchText=c[0],y.searchedColumn=w},f=(c,n)=>{c({confirm:!0}),y.searchText="",n()},s=(c,n)=>{t.value=c,b.value=n};return m({resetInputVal:k}),(c,n)=>{const w=e.resolveComponent("a-input"),$=e.resolveComponent("a-button"),A=e.resolveComponent("a-table"),j=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:p},[e.createVNode(w,{readonly:"",onClick:u,value:a.value,"onUpdate:value":n[0]||(n[0]=H=>a.value=H),placeholder:c.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(Y.UnorderedListOutlined),{onClick:u})]),_:1},8,["value","placeholder"]),e.createVNode(j,{visible:h.value,"onUpdate:visible":n[1]||(n[1]=H=>h.value=H),title:o.modelTitle,width:o.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode($,{onClick:S},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode($,{onClick:l},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode($,{type:"primary",onClick:B},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(A,{ref_key:"tableRef",ref:F,columns:T.value,dataSource:V.value,rowSelection:{selectedRowKeys:t.value,onChange:s},rowKey:H=>H[o.tableKey],scroll:{y:o.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:H,selectedKeys:E,confirm:q,clearFilters:x,column:_})=>[e.createElementVNode("div",Ye,[e.createVNode(w,{ref_key:"searchInput",ref:i,placeholder:`请输入${_.title}`,value:E[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:C=>H(C.target.value?[C.target.value]:[]),onPressEnter:C=>M(E,q,_.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",je,[e.createVNode($,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:C=>f(x,q)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode($,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:C=>M(E,q,_.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:H})=>[e.createVNode(e.unref(Y.SearchOutlined),{style:e.normalizeStyle({color:H?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:H,column:E})=>[y.searchText&&y.searchedColumn===E.dataIndex?(e.openBlock(),e.createElementBlock("span",Ke,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.toString().split(new RegExp(`(?<=${y.searchText})|(?=${y.searchText})`,"i")),(q,x)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[q.toLowerCase()===y.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:x,class:"highlight"},e.toDisplayString(q),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(q),1)],64))],64))),256))])):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),Je={class:"hb-lib-table-act-box"},Ge=["onClick"],Qe={href:"javascript:;",class:"hb-lib-table-main-action"},Ze=["onClick"],Xe={href:"javascript:;",class:"hb-lib-table-more-action"},ve=["onClick"],et={href:"javascript:;"},tt=["onClick"],ot={class:"hb-lib-table-confirm-modal-content"},lt=R(U(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(o,{expose:m}){const r=o,{t:d}=K.useI18n(),g=e.ref(!1),h=e.ref(!1),a=e.ref(null),i=e.computed(()=>r.actions.filter(B=>B.condition!==void 0?B.condition:!0)),p=e.computed(()=>i.value.slice(0,r.buttonDisplaysQuantity)),t=e.computed(()=>i.value.slice(r.buttonDisplaysQuantity)),b=B=>{B.handler&&B.handler(r.record)},F=B=>{a.value=B,g.value=!0},y=()=>{if(a.value){h.value=!0;try{b(a.value),h.value=!1,g.value=!1}catch{h.value=!1}}},V=()=>{g.value=!1,a.value=null},T=e.computed(()=>a.value?{title:a.value.confirmTitle,content:a.value.confirmContent||a.value.confirmTitle}:{title:d("hbLibComp.hbTableAct.secendConfirm"),content:d("hbLibComp.hbTableAct.confirmContent")});return m({ADropdown:L.Dropdown,AMenu:L.Menu,AMenuItem:L.MenuItem,APopconfirm:L.Popconfirm,AModal:L.Modal,DownOutlined:Y.DownOutlined}),(B,l)=>{const u=e.resolveComponent("a-divider"),S=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",Je,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(k,M)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:M},[k.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[k.confirmType==="modal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:f=>F(k),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(k.label),1)],8,Ge)),[[S,k.permissionsTag||null]]),t.value&&t.value.length>0||M!==p.value.length-1?(e.openBlock(),e.createBlock(u,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(L.Popconfirm),{title:k.confirmTitle,onConfirm:f=>b(k)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Qe,[e.createTextVNode(e.toDisplayString(k.label),1)])),[[S,k.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]),t.value&&t.value.length>0||M!==p.value.length-1?(e.openBlock(),e.createBlock(u,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:f=>b(k),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(k.label),1)],8,Ze)),[[S,k.permissionsTag||null]]),t.value&&t.value.length>0||M!==p.value.length-1?(e.openBlock(),e.createBlock(u,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64))),128)),t.value&&t.value.length>0?(e.openBlock(),e.createBlock(e.unref(L.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(L.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,k=>(e.openBlock(),e.createBlock(e.unref(L.MenuItem),{key:k.key},{default:e.withCtx(()=>[k.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[k.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:M=>F(k)},[e.createTextVNode(e.toDisplayString(k.label),1)],8,ve)),[[S,k.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(L.Popconfirm),{key:1,title:k.confirmTitle,onConfirm:M=>b(k)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",et,[e.createTextVNode(e.toDisplayString(k.label),1)])),[[S,k.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:M=>b(k)},[e.createTextVNode(e.toDisplayString(k.label),1)],8,tt)),[[S,k.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",Xe,[e.createTextVNode(e.toDisplayString(B.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(Y.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(L.Modal),{visible:g.value,title:T.value.title,"confirm-loading":h.value,onOk:y,onCancel:V},{default:e.withCtx(()=>[e.createElementVNode("p",ot,e.toDisplayString(T.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-a96574fa"]])),at=o=>({tableWidth:e.computed(()=>{const r=Array.isArray(o)?o:o.value;return!r||r.length===0?0:r.map(d=>d.width&&Number(d.width.toString().replace("px",""))||0).reduce((d,g)=>d+g,0)})}),nt={key:0,class:"hb-lib-list-table-act"},rt={class:"empty-container"},it=R(U(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},rowHeight:{},defaultWidth:{default:()=>150},tooltipPlacement:{default:()=>"topLeft"}},setup(o){const{t:m}=K.useI18n(),r=o,d=e.ref([]),g=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:h}=at(e.computed(()=>r.columns));e.watch(()=>r.columns,t=>{const b=t.filter(F=>F!=null&&F.checked);d.value=b.map(F=>{let y={...F,title:F.title||F.label};if(y.ellipsis&&!y.needTooltip&&(y.needTooltip=!0),!y.width)y.width=r.defaultWidth;else if(typeof y.width=="string"){const V=parseInt(y.width,10);y.width=isNaN(V)?r.defaultWidth:V}return y.resizable===void 0&&(y.resizable=!0),y})},{immediate:!0,deep:!0});const a=(t,b)=>{if(b){const F=typeof t=="string"?parseInt(t,10):t;b.width=isNaN(F)?150:F}},i=(t,b="YYYY-MM-DD HH:mm:ss")=>t?Z(t).format(b):"",p=(t,b)=>t&&b[t]||"";return(t,b)=>{const F=e.resolveComponent("a-empty"),y=e.resolveComponent("a-tooltip"),V=e.resolveComponent("HbLibCopy"),T=e.resolveComponent("a-tag"),B=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":r.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":o.rowHeight&&o.rowHeight+"px"||""})},[t.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",nt,[e.renderSlot(t.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(t.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(B,e.mergeProps(t.$attrs,{bordered:"",columns:d.value,onResizeColumn:a,scroll:{x:e.unref(h),y:e.unref(g).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",rt,[e.createVNode(F,{description:e.unref(m)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[t.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:l})=>[e.renderSlot(t.$slots,"headerCell",{column:l},()=>[e.createTextVNode(e.toDisplayString(l.title),1)],!0)]),key:"0"}:void 0,t.$slots.bodyCell?{name:"bodyCell",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"bodyCell",{column:l,record:u,index:S,text:k},void 0,!0),l&&l.needTooltip?(e.openBlock(),e.createBlock(y,{key:0,placement:o.tooltipPlacement},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u[l.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(u[l.dataIndex]),1)]),_:2},1032,["placement"])):e.createCommentVNode("",!0),l&&l.needCopy?(e.openBlock(),e.createBlock(V,{key:1,"cp-text":u[l.dataIndex],style:{position:"relative"}},null,8,["cp-text"])):e.createCommentVNode("",!0),l&&l.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(i(u[l.dataIndex],l.format)),1)],64)):e.createCommentVNode("",!0),l&&l.tags?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[p(u[l.dataIndex],l.tags)?(e.openBlock(),e.createBlock(T,{key:0,color:p(u[l.dataIndex],l.tags)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u[l.dataIndex]),1)]),_:2},1032,["color"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),key:"1"}:void 0,t.$slots.expandedRowRender?{name:"expandedRowRender",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"expandedRowRender",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"2"}:void 0,t.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"customFilterDropdown",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"3"}:void 0,t.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"customFilterIcon",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"4"}:void 0,t.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"expandIcon",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"5"}:void 0,t.$slots.footer?{name:"footer",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"footer",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"6"}:void 0,t.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"headerCell",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"7"}:void 0,t.$slots.summary?{name:"summary",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"summary",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"8"}:void 0,t.$slots.title?{name:"title",fn:e.withCtx(({column:l,record:u,index:S,text:k})=>[e.renderSlot(t.$slots,"title",{record:u,column:l,index:S,text:k},void 0,!0)]),key:"9"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-f3061eae"]])),st={class:"hb-lib-table-setting-box"},ct={key:0,class:"hb-lib-table-drag-item"},dt={key:0,class:"hb-lib-table-drag-item-act"},mt=["onClick"],pt=["onClick"],ft={class:"hb-lib-table-set-btn-group"},ht={class:"select-all-container",style:{"margin-right":"10px"}},bt=R(U(e.defineComponent({name:"HbLibTableColumnSet",__name:"HbTableColumnSet",props:{hasClean:{type:Boolean,default:!0},index:{type:Number,default:0},selectedRowKeysLength:{type:Number,default:0},change:{type:Function,default:()=>{}},tableColumns:{type:Array,default:[]},localColumns:{type:Array,default:[]}},emits:["on-get-columns"],setup(o,{emit:m}){const r=m,{t:d}=K.useI18n(),g=o,h=e.ref([]),a=e.computed(()=>p.value.filter(f=>f.checked));e.ref([]);const i=e.ref(!1),p=e.ref([]),t=e.ref(null),b=e.computed(()=>a.value.length>0&&a.value.length===h.value.length),F=e.computed(()=>a.value.length>0&&a.value.length<h.value.length),y=f=>{t.value=f.oldIndex},V=f=>{const s=f.newIndex;if(h.value.some(n=>n.fixed==="left"||n.fixed==="right"||n.fixed===!0)){const n=h.value.filter($=>$.fixed==="left").length,w=h.value.length-h.value.filter($=>$.fixed==="right").length;if((n>0&&s<n||w<h.value.length&&s>=w)&&(L.message.warning(d("hbLibComp.hbLibListTableColumsSet.errorTip")),t.value!==null)){const $=p.value.splice(s,1)[0];p.value.splice(t.value,0,$)}}t.value=null},T=f=>{f.target.checked?p.value.forEach(c=>c.checked=!0):p.value.forEach(c=>c.checked=!1)},B=(f,s)=>{s?f.checked=!0:f.checked=!1},l=()=>{h.value=[...p.value],r("on-get-columns",h.value),i.value=!1},u=()=>{h.value=g.tableColumns.map(s=>({...s,label:s.title&&s.title.tag?S(s.title):s.title||s.title2,value:s.dataIndex,checked:s.checked||s.checked===void 0})),p.value=[...h.value];let f=[];g.tableColumns.forEach(function(s){f.push(s.dataIndex)})},S=f=>f.children[0].text,k=f=>{delete f.fixed;const s=p.value.findIndex(c=>c.value===f.value);if(s!==-1){let c=-1;for(let n=0;n<p.value.length;n++)p.value[n].fixed==="left"&&(c=n);if(c!==-1&&s!==c+1){const n=[...p.value],[w]=n.splice(s,1);n.splice(c+1,0,w),p.value=n}}},M=f=>{const s=p.value.findIndex(c=>c.value===f.value);if(s!==-1){let c=-1;for(let A=0;A<p.value.length;A++)p.value[A].fixed==="left"&&(c=A);const n=[...p.value],[w]=n.splice(s,1);w.fixed="left";const $=c===-1?0:c+1;n.splice($,0,w),p.value=n}};return e.watch(()=>g.tableColumns,()=>{u()},{immediate:!0,deep:!0}),(f,s)=>{const c=e.resolveComponent("a-tooltip"),n=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",st,[e.createVNode(e.unref(L.Popover),{title:e.unref(d)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"alertInfoContent",visible:i.value,"onUpdate:visible":s[1]||(s[1]=w=>i.value=w)},{content:e.withCtx(()=>[e.createVNode(e.unref(Q),{modelValue:p.value,"onUpdate:modelValue":s[0]||(s[0]=w=>p.value=w),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:y,onEnd:V},{item:e.withCtx(({element:w})=>[w.fixed!=="right"?(e.openBlock(),e.createElementBlock("div",ct,[e.createVNode(e.unref(L.Checkbox),{checked:w.checked,onChange:$=>B(w,$.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.label),1)]),_:2},1032,["checked","onChange"]),w.checked?(e.openBlock(),e.createElementBlock("section",dt,[e.createElementVNode("span",{class:e.normalizeClass(w.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),w.fixed?(e.openBlock(),e.createBlock(c,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:$=>k(w)},[...s[2]||(s[2]=[e.createElementVNode("svg",{t:"1759048615600",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7283",width:"200",height:"200"},[e.createElementVNode("path",{d:"M771.798516 586.270988c-6.897306 8.296759-17.293245 12.894963-27.989067 12.894963h-0.299882l-175.931277-1.199532-55.178446 422.834831-0.399844 3.19875-0.399844-3.19875-55.178446-422.834831-175.931277 1.199532h-0.299882c-10.795783 0-21.191722-4.598204-27.989067-12.894963-6.897306-8.39672-8.796564-18.292854-8.596642-27.28934 0.399844-13.094885 5.697774-25.590004 14.394377-35.386177l61.87583-69.872706c15.393987-17.393206 24.790316-39.284654 26.589613-62.475596l20.292074-250.402187c0.599766-7.796954-2.199141-15.593909-7.796955-21.091761l-38.584927-38.584927c-19.692308-16.693479-21.891449-33.58688-17.79305-47.581414 5.897696-20.092152 24.690355-33.58688 45.582194-33.58688h0.199922l163.236236 0.499805h0.799688l163.236236-0.499805h0.199922c20.891839 0 39.684498 13.494729 45.582194 33.58688 4.098399 13.994533 1.899258 30.887934-17.79305 47.581414L664.940258 119.753221c-5.597813 5.597813-8.39672 13.294807-7.796955 21.091761L677.435377 391.247169c1.899258 23.190941 11.195627 45.08239 26.589613 62.475596l61.87583 69.872706c8.696603 9.796173 13.894572 22.291292 14.394377 35.386177 0.299883 8.996486-1.599375 18.89262-8.496681 27.28934z","p-id":"7284",fill:"#ff5000"})],-1)])],8,mt)]),_:2},1024)):e.createCommentVNode("",!0),w.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(c,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:$=>M(w)},[...s[3]||(s[3]=[e.createElementVNode("svg",{t:"1759048735643",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7481",width:"200",height:"200"},[e.createElementVNode("path",{d:"M381.298 418.828h-157.703l-37.575 38.272 155.61 158.377-278.212 345.128 356.040-265.838 154.71 157.41 38.813-39.51 2.407-157.972 238.838-313.29 71.685 73.013 34.695-35.28-310.185-315.743-34.672 35.257 77.287 79.402-311.737 240.773z","p-id":"7482",fill:"#ff5000"})],-1)])],8,pt)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ft,[e.createElementVNode("div",ht,[e.createVNode(e.unref(L.Checkbox),{checked:b.value,indeterminate:F.value,onChange:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),e.createVNode(n,{onClick:l,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(c,{title:e.unref(d)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...s[4]||(s[4]=[e.createElementVNode("span",{class:"hb-lib-table-col-set"},[e.createElementVNode("svg",{t:"1759041858618",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5219",width:"200",height:"200"},[e.createElementVNode("path",{d:"M460.8 49.216a102.4 102.4 0 0 1 102.4 0l323.968 187.072c31.68 18.304 51.2 52.096 51.2 88.64V576h-76.8V324.928a25.6 25.6 0 0 0-12.8-22.144L524.8 115.712a25.6 25.6 0 0 0-25.6 0L175.232 302.784a25.6 25.6 0 0 0-12.8 22.144v374.144a25.6 25.6 0 0 0 12.8 22.144L499.2 908.288a25.6 25.6 0 0 0 25.6 0l51.2-29.568v88.64l-12.8 7.424a102.4 102.4 0 0 1-102.4 0l-323.968-187.072a102.4 102.4 0 0 1-51.2-88.64V324.928c0-36.544 19.52-70.4 51.2-88.64L460.8 49.216z","p-id":"5220",fill:"#ff5000"}),e.createElementVNode("path",{d:"M345.6 512a166.4 166.4 0 1 1 332.8 0 166.4 166.4 0 0 1-332.8 0zM512 422.4a89.6 89.6 0 1 0 0 179.2 89.6 89.6 0 0 0 0-179.2zM670.208 736a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4zM670.208 896a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4z","p-id":"5221",fill:"#ff5000"})])],-1)])]),_:1},8,["title"])]),_:1},8,["title","visible"])])}}}),[["__scopeId","data-v-9b0f04da"]])),gt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:be,HbLibListBtnsAct:Be,HbLibListForm:Ce,HbLibListMultiSelect:qe,HbLibListPageAct:Le,HbLibListPageContainer:Fe,HbLibListTable:it,HbLibMutilpleSelectModal:We,HbLibTableAct:lt,HbLibTableColumnSet:bt},Symbol.toStringTag,{value:"Module"})),Ct=R(U(e.defineComponent({name:"HbLibFormTooltipSelect",inheritAttrs:!1,__name:"HbTooltipSelect",props:e.mergeModels({options:{default:()=>[]},tooltipPlacement:{default:"right"},tooltipMaxWidth:{default:280},enableTooltip:{type:Boolean,default:!0},enableEllipsis:{type:Boolean,default:!0}},{value:{default:void 0},valueModifiers:{}}),emits:["update:value"],setup(o,{expose:m}){const r=o,d=e.useAttrs(),g=e.computed(()=>{const T=d,B=T.dropdownClassName;return{...T,dropdownClassName:B??"hb_lib_form_tooltip_select__dropdown"}}),h=e.ref(),a=e.useModel(o,"value"),i=e.computed(()=>r.options??[]),p=e.computed(()=>({maxWidth:typeof r.tooltipMaxWidth=="number"?`${r.tooltipMaxWidth}px`:r.tooltipMaxWidth})),t=T=>T.tooltip??T.label,b=T=>T.key??T.label,F=T=>!!(r.enableTooltip&&t(T));return m({focus:()=>{h.value?.focus?.()},blur:()=>{h.value?.blur?.()},selectRef:h}),(T,B)=>(e.openBlock(),e.createBlock(e.unref(L.Select),e.mergeProps({ref_key:"selectRef",ref:h,class:"hb_lib_form_tooltip_select"},g.value,{value:a.value,"onUpdate:value":B[0]||(B[0]=l=>a.value=l)}),{default:e.withCtx(()=>[T.$slots.default?e.renderSlot(T.$slots,"default",{key:0},void 0,!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(i.value,l=>(e.openBlock(),e.createBlock(e.unref(L.SelectOption),e.mergeProps({key:b(l),value:l.value,disabled:l.disabled},{ref_for:!0},l.optionProps),{default:e.withCtx(()=>[F(l)?(e.openBlock(),e.createBlock(e.unref(L.Tooltip),{key:0,title:t(l),placement:r.tooltipPlacement,overlayStyle:p.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":r.enableEllipsis}])},e.toDisplayString(l.label),3)]),_:2},1032,["title","placement","overlayStyle"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":r.enableEllipsis}])},e.toDisplayString(l.label),3))]),_:2},1040,["value","disabled"]))),128))]),_:3},16,["value"]))}}),[["__scopeId","data-v-b04f5675"]])),kt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormTooltipSelect:Ct},Symbol.toStringTag,{value:"Module"})),yt={class:"ant-upload-drag-icon"},ut={class:"ant-upload-text"},St={style:{color:"#ff5000"}},_t={class:"ant-upload-hint"},Lt={key:0,class:"hb_import_btn"},wt=["href"],xt=R(U(e.defineComponent({name:"HbLibImportFile",__name:"HbImportFile",props:{title:{default:()=>"文件导入"},modalWidth:{default:600},acceptFile:{default:".xlsx, .xls, .csv,.txt,.docx,.doc,.ppt,.pptx,.png,.jpg,.jpeg,.gif"},isRequired:{type:Boolean,default:!0},templateUrl:{},maxCount:{default:1},multiple:{type:Boolean,default:!1},btnText:{default:()=>"文件上传"},beforeUpload:{},beforeSubmit:{}},setup(o,{expose:m}){const{t:r}=K.useI18n(),d=e.ref(),g=o,h=e.ref(!1),a=e.reactive({fileList:[],visible:!1}),i=y=>{if(y==null)return;const V=a.fileList.indexOf(y);if(V!==-1){const T=a.fileList.slice();T.splice(V,1),a.fileList=T}},p=()=>{a.visible=!1,a.fileList=[],h.value=!1},t=y=>(a.fileList=[y],g.beforeUpload?g.beforeUpload(y):!1),b=()=>{d.value.validateFields().then(()=>{g.beforeSubmit&&(h.value=!0,g.beforeSubmit(a.fileList).then(y=>{}).finally(()=>{h.value=!1}))})},F=()=>{a.visible=!0};return m({handleCancel:p,openModal:F,confirmLoading:h}),(y,V)=>{const T=e.resolveComponent("a-upload-dragger"),B=e.resolveComponent("a-form-item"),l=e.resolveComponent("a-form"),u=e.resolveComponent("a-modal"),S=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(u,e.mergeProps({title:g.title,visible:a.visible,"onUpdate:visible":V[0]||(V[0]=k=>a.visible=k),"confirm-loading":h.value},y.$attrs,{onCancel:p,onOk:b,width:g.modalWidth}),{default:e.withCtx(()=>[e.createVNode(l,{ref_key:"modalFormRef",ref:d,model:a},{default:e.withCtx(()=>[e.createVNode(B,{name:"fileList",label:e.unref(r)("hbLibComp.HbImportFile.fileLabel"),rules:[{required:g.isRequired,message:e.unref(r)("hbLibComp.HbImportFile.clickUp")}]},{default:e.withCtx(()=>[e.createVNode(T,{maxCount:g.maxCount,multiple:g.multiple,accept:g.acceptFile,name:"file",fileList:a.fileList,onRemove:i,beforeUpload:t},{default:e.withCtx(()=>[e.createElementVNode("p",yt,[e.createVNode(e.unref(Y.PlusCircleOutlined),{style:{"font-size":"37px"}})]),e.createElementVNode("p",ut,[e.createTextVNode(e.toDisplayString(e.unref(r)("hbLibComp.HbImportFile.uploadText")),1),e.createElementVNode("span",St,e.toDisplayString(e.unref(r)("hbLibComp.HbImportFile.clickUp")),1)]),e.createElementVNode("p",_t,e.toDisplayString(e.unref(r)("hbLibComp.HbFileUploadModal.format"))+": "+e.toDisplayString(g.acceptFile),1)]),_:1},8,["maxCount","multiple","accept","fileList"])]),_:1},8,["label","rules"])]),_:1},8,["model"]),g.templateUrl?(e.openBlock(),e.createElementBlock("p",Lt,[e.createElementVNode("a",{download:"Import_number-template.xlsx",href:g.templateUrl},e.toDisplayString(e.unref(r)("hbLibComp.HbImportFile.downloadTemplate")),9,wt)])):e.createCommentVNode("",!0)]),_:1},16,["title","visible","confirm-loading","width"]),e.renderSlot(y.$slots,"default",{},()=>[e.createVNode(S,{onClick:F,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.btnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-47fe70d9"]])),Nt=Object.freeze(Object.defineProperty({__proto__:null,HbLibImportFile:xt},Symbol.toStringTag,{value:"Module"})),Bt={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"}},Tt=R(U(e.defineComponent({name:"HbLibCopy",__name:"copy",props:Bt,setup(o){const m=o,r=e.ref();e.watchEffect(()=>{r.value=m.data});const d=e.computed(()=>{if(m.cpText)return m.cpText;let h="";if(m.data)if(Array.isArray(m.data)){if(m.K&&m.V&&m.L){const a=m.data.find(i=>i?.[m.K]===m.V);h=a?a[m.L]:""}}else m.K&&(h=m.data[m.K]);return h}),g=()=>{navigator.clipboard.writeText(d.value).then(()=>{L.message.success(m.copySuccessTip)}).catch(()=>{L.message.error("复制失败")})};return(h,a)=>{const i=e.resolveComponent("a-tooltip");return d.value?(e.openBlock(),e.createBlock(i,{key:0,title:h.tooltipTitle},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["hb-lib-copy-text-eyevue icon strongQ strong-copy",h.classType=="ab"?"ab":"normal"]),style:e.normalizeStyle({...h.cpStyle}),onClick:e.withModifiers(g,["stop","prevent"])},null,6)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d5ca4420"]])),Ft={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:""}},Vt=R(U(e.defineComponent({name:"HbDrag",__name:"index",props:Ft,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(o,{emit:m}){const r=o,d=e.shallowRef([]);e.watch(()=>r.dragList,b=>{d.value=b},{deep:!0,immediate:!0});const g=te("drag"),h=m,a=b=>{console.log("drag start",b),h("handleDragStart",b)},i=b=>{console.log("drag end",b),h("handleDragEnd",b)},p=b=>{console.log("drag add",b),h("handleDragAdd",b)},t=b=>{console.log("drag remove",b),h("handleDragRemove",b)};return(b,F)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(g).b())},[b.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(Q),e.mergeProps({key:0,modelValue:d.value,"onUpdate:modelValue":F[0]||(F[0]=y=>d.value=y),"item-key":"key",class:{[b.dragClass]:b.dragClass}},b.$attrs,{"ghost-class":b.ghostClass,onStart:a,onEnd:i,onAdd:p,onRemove:t}),{item:e.withCtx(({element:y})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.component)))]),_:1},16,["modelValue","class","ghost-class"])):(e.openBlock(),e.createBlock(e.unref(Q),e.mergeProps({key:1,modelValue:d.value,"onUpdate:modelValue":F[1]||(F[1]=y=>d.value=y),"item-key":"id",class:{[b.dragClass]:b.dragClass}},b.$attrs,{"ghost-class":b.ghostClass,onStart:a,onEnd:i,onAdd:p,onRemove:t}),{item:e.withCtx(({element:y})=>[e.createElementVNode("div",null,[e.renderSlot(b.$slots,"default",{item:y},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]])),$t=Object.freeze(Object.defineProperty({__proto__:null,HbLibFuncCompCopy:Tt,HbLibFuncCompDrag:Vt},Symbol.toStringTag,{value:"Module"})),Et={class:"log_remark"},Mt=R(U(e.defineComponent({name:"HbLibLogModal",__name:"HbLogModal",props:{visible:{type:Boolean,default:!1},title:{default:""},width:{default:"45%"},scrollY:{default:500},params:{default:()=>({})},url:{},columns:{default:void 0},logBtnText:{default:"查看日志"},pagination:{},getLogData:{}},emits:["update:visible"],setup(o,{expose:m,emit:r}){const{t:d}=K.useI18n(),g=o,h=[{title:d("hbLibComp.HbLogModal.operator"),dataIndex:"userName",width:"15%"},{title:d("hbLibComp.HbLogModal.operateTime"),dataIndex:"operateTime",width:"25%"},{title:d("hbLibComp.HbLogModal.operateContent"),dataIndex:"remark"}],a=e.computed(()=>g.columns||h),i=e.computed(()=>g.title||d("hbLibComp.HbLogModal.operateLogs")),p=e.ref(!1),t=e.reactive({list:[],pagination:{current:1,pageSize:20,pageSizeOptions:["10","20","50","100"],showQuickJumper:!0,showSizeChanger:!0,showTotal:(l,u)=>u[0]+"-"+u[1]+" 总共"+l+"页",total:0}});e.watch(()=>g.pagination,l=>{l&&(t.pagination={...t.pagination,...l})},{deep:!0,immediate:!0});const b=(l=1)=>{const u={pageIndex:l,pageSize:t.pagination.pageSize,query:g.params};g.getLogData&&(p.value=!0,g.getLogData(u).then(S=>{Number(S.code)==200&&(t.pagination.current=l,t.pagination.total=Number(S.data.total),t.list=S.data.records||[])}).finally(()=>{p.value=!1}))},F=l=>{t.pagination.current=l.current,t.pagination.pageSize=l.pageSize,b()},y=()=>{t.list=[],B("update:visible",!1)},V=()=>{B("update:visible",!0)},T=(l,u="YYYY-MM-DD HH:mm:ss")=>l?Z(l).format(u):"",B=r;return e.watch(()=>g.visible,l=>{l&&b()}),m({close:y,loading:p}),(l,u)=>{const S=e.resolveComponent("a-tooltip"),k=e.resolveComponent("HbLibCopy"),M=e.resolveComponent("a-table"),f=e.resolveComponent("a-button"),s=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(s,{visible:o.visible,title:i.value,width:o.width,onCancel:y},{footer:e.withCtx(()=>[e.createVNode(f,{onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("hbLibComp.HbLogModal.close")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(M,{bordered:"",rowKey:"id",columns:a.value,dataSource:t.list,pagination:t.pagination,loading:p.value,onChange:F},{bodyCell:e.withCtx(({column:c,record:n})=>[c&&c.needTooltip?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c.needTooltip?(e.openBlock(),e.createBlock(S,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n[c.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(n[c.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),c&&c.needCopy?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Et,e.toDisplayString(n[c.dataIndex]),1),e.createVNode(k,{"cp-text":n[c.dataIndex],style:{position:"relative"}},null,8,["cp-text"])],64)):e.createCommentVNode("",!0),c&&c.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(T(n[c.dataIndex],c.operateTime)),1)],64)):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","pagination","loading"])]),_:1},8,["visible","title","width"]),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(f,{onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.logBtnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-cee51270"]]));let ie={...gt,...kt,...Nt,...Object.freeze(Object.defineProperty({__proto__:null,HbLibLogModal:Mt},Symbol.toStringTag,{value:"Module"})),...$t};const It={hbLibComp:{HbFileUploadModal:{cancel:"Cancel",clickUpload:"Click to upload",confirmImport:"Confirm import",dataImport:"Import data",downloadTemplate:"Import template download",dragFile:"Drag files here or",file:"document",fileUpload:"File import",maxSupport:"Most supported",onlySupport:"Only supports",placeSelect:"Please select",selectFile:"Please select the file to upload",format:"Supported formats"},HbLogModal:{close:"closure",operateContent:"Operation content",operateLogs:"Operation log",operateTime:"Operating time",operator:"operator"},hbFormItemFilterModal:{add:"Add to",cancel:"Cancel",confirm:"Sure",moreConditionSearch:"Multiple searches",mostMore:"Optional at most",mostMoreTip:"conditions, drag and drop to adjust the sorting",noData:"No data yet",notShowTip:"No conditions shown",titleTip:"Conditions shown"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query plan",addScheme:"Add scenario",editScheme:"Edit plan"},hbLibListTableColumsSet:{allSelect:"Select all",cancelFix:"Unpin",confirm:"Sure",errorTip:"Cannot move column to fixed column position",fix:"fixed",popoverTitle:"Custom columns",title:"Table field settings"},hbListBtnsAct:{close:"Close query conditions",open:"Expand query conditions",reload:"Refresh data"},hbListPageAct:{close:"close",exitFullScreen:"Exit full screen",fullScreen:"full screen",open:"Expand",query:"Query",reset:"reset",selfDefine:"Filter query conditions"},hbListTable:{noData:"No data yet"},hbMultiSelectModal:{pleaseSelect:"Please select"},hbTableAct:{confirmContent:"Confirm content",more:"More",secendConfirm:"Second confirmation"},HbImportFile:{clickUp:"Click to upload",downloadTemplate:"Click to download template",pleaseUploadFiles:"Please upload files",uploadText:"Drag files here or",fileLabel:"document",importBtn:"File upload"}}},Ht={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください",format:"サポートされている形式"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン",addScheme:"シナリオの追加",editScheme:"計画の編集"},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回目の確認"},HbImportFile:{clickUp:"クリックしてアップロード",downloadTemplate:"クリックしてテンプレートをダウンロード",pleaseUploadFiles:"ファイルをアップロードしてください",uploadText:"ファイルをここにドラッグするか、",fileLabel:"書類",importBtn:"ファイルのアップロード"}}},Dt={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:"查询方案",addScheme:"添加方案",editScheme:"编辑方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载",format:"支持格式"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"},HbImportFile:{uploadText:"将文件拖到此处或",clickUp:"请上传文件",downloadTemplate:"点击下载模板",pleaseUploadFiles:"请上传文件",fileLabel:"文件",importBtn:"文件上传"}}},At={hbLibComp:{HbFileUploadModal:{cancel:"Stornieren",clickUpload:"Klicken Sie zum Hochladen",confirmImport:"Bestätigen Sie den Import",dataImport:"Daten importieren",downloadTemplate:"Importvorlage herunterladen",dragFile:"Ziehen Sie Dateien hierher oder",file:"dokumentieren",fileUpload:"Dateiimport",maxSupport:"Am meisten unterstützt",onlySupport:"Unterstützt nur",placeSelect:"Bitte auswählen",selectFile:"Bitte wählen Sie die hochzuladende Datei aus",format:"Unterstützte Formate"},HbLogModal:{close:"Schließung",operateContent:"Inhalt der Operation",operateLogs:"Betriebsprotokoll",operateTime:"Betriebszeit",operator:"Operator"},hbFormItemFilterModal:{add:"Hinzufügen zu",cancel:"Stornieren",confirm:"Sicher",moreConditionSearch:"Mehrere Suchanfragen",mostMore:"Höchstens optional",mostMoreTip:"Bedingungen anpassen, per Drag-and-Drop die Sortierung anpassen",noData:"Noch keine Daten",notShowTip:"Keine Bedingungen angezeigt",titleTip:"Bedingungen angezeigt"},hbFormSelectFilter:{allSelect:"Alles auswählen",close:"Schließung"},hbLibListForm:{queryCase:"Abfrageplan",addScheme:"Szenario hinzufügen",editScheme:"Plan bearbeiten"},hbLibListTableColumsSet:{allSelect:"Alles auswählen",cancelFix:"Lösen",confirm:"Sicher",errorTip:"Die Spalte kann nicht in eine feste Spaltenposition verschoben werden",fix:"behoben",popoverTitle:"Benutzerdefinierte Spalten",title:"Tabellenfeldeinstellungen"},hbListBtnsAct:{close:"Abfragebedingungen schließen",open:"Abfragebedingungen erweitern",reload:"Daten aktualisieren"},hbListPageAct:{close:"schließen",exitFullScreen:"Verlassen Sie den Vollbildmodus",fullScreen:"Vollbild",open:"Expandieren",query:"Abfrage",reset:"zurücksetzen",selfDefine:"Abfragebedingungen filtern"},hbListTable:{noData:"Noch keine Daten"},hbMultiSelectModal:{pleaseSelect:"Bitte auswählen"},hbTableAct:{confirmContent:"Inhalt bestätigen",more:"Mehr",secendConfirm:"Zweite Bestätigung"},HbImportFile:{clickUp:"Klicken Sie zum Hochladen",downloadTemplate:"Klicken Sie hier, um die Vorlage herunterzuladen",pleaseUploadFiles:"Bitte laden Sie Dateien hoch",uploadText:"Ziehen Sie Dateien hierher oder",fileLabel:"dokumentieren",importBtn:"Datei-Upload"}}};var X={exports:{}},zt=X.exports,se;function Pt(){return se||(se=1,(function(o,m){(function(r,d){o.exports=d(Z)})(zt,(function(r){function d(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var g=d(r),h={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(a,i){return i==="W"?a+"周":a+"日"},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(a,i){var p=100*a+i;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};return g.default.locale(h,null,!0),h}))})(X)),X.exports}Pt(),Z.locale("zh-cn");const Ot={en_US:It,ja_JP:Ht,zh_CN:Dt,de_DE:At},Rt=function(o){Object.keys(ie).forEach(r=>{o.use(ie[r])})};z.install=Rt,z.locales=Ot,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})}));
|